:root {
  color-scheme: light;
  --ink: #281734;
  --muted: #60516b;
  --paper: #faf7ff;
  --violet: #7638c5;
  --line: #e5dcee;
  --lime: #e5f45f;
  --heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--violet); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: var(--heading); }
h1, h2, h3 { line-height: 1.02; }
img { display: block; width: 100%; height: auto; }
section[id] { scroll-margin-top: 24px; }
.shell { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; padding: .6rem 1rem; background: white; transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }

.header { min-height: 90px; border-bottom: 1px solid var(--line); }
.header, .footer, nav { display: flex; align-items: center; justify-content: space-between; }
nav { gap: 30px; }
nav > a, .brand { text-decoration: none; }
.nav-studio:hover, .footer > a:last-child:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.24rem; font-weight: 700; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.berry-mark { position: relative; display: inline-block; width: 28px; height: 29px; flex: none; }
.berry-mark i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--violet); }
.berry-mark i:nth-child(1) { left: 2px; top: 9px; }
.berry-mark i:nth-child(2) { left: 12px; top: 9px; }
.berry-mark i:nth-child(3) { left: 7px; top: 16px; }
.berry-mark::after { content: ""; position: absolute; left: 13px; top: 2px; width: 10px; height: 7px; border-radius: 80% 0 80% 0; background: #667419; transform: rotate(-14deg); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: .6rem 1.2rem; border: 1px solid transparent; border-radius: 999px; font-weight: 700; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; }
.button-outline { border-color: #d7c9e5; }
.button-outline:hover { background: #eee5f9; border-color: #eee5f9; }
.button-primary { padding-inline: 1.5rem; background: var(--ink); color: white; }
.button-primary:hover { background: #502469; }

.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 36px; padding: 53px 0 66px; }
.hero-copy { padding: 14px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #594268; font-size: .875rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; flex: none; background: var(--violet); border-radius: 50%; }
h1 { margin-top: 22px; font-size: clamp(3.05rem, 6.05vw, 5.95rem); font-weight: 700; letter-spacing: -.085em; }
h1 em { color: var(--violet); font-style: normal; }
.hero-description { max-width: 31ch; margin: 24px 0 26px; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.24rem); }
.hero-art { overflow: hidden; aspect-ratio: 1.06; min-width: 0; border-radius: 32px; background: var(--lime); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.studio { border-top: 1px solid var(--line); padding: 56px 0 64px; }
.section-intro { display: grid; grid-template-columns: 1.05fr .85fr; column-gap: 60px; row-gap: 13px; align-items: center; }
.section-intro .eyebrow { grid-column: 1 / -1; }
h2 { font-size: clamp(2.5rem, 5.1vw, 4.7rem); letter-spacing: -.075em; }
.section-intro > p:last-child { max-width: 43ch; color: var(--muted); font-size: 1.125rem; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 35px; }
.principles article { min-height: 195px; padding: 24px; border: 1px solid #e9def4; border-radius: 22px; background: #f3ecfa; }
.principles article:nth-child(2) { background: #f2f5d8; border-color: #e8ecc8; }
.principles article:nth-child(3) { background: #fbebf3; border-color: #f1dfeb; }
.principles h3 { margin-top: 15px; font-size: 1.31rem; letter-spacing: -.04em; }
.principles p { margin-top: 8px; color: var(--muted); }
.symbol { position: relative; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #e5d7f4; color: #512a82; }
.symbol-stack::before, .symbol-stack::after { content: ""; position: absolute; width: 15px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; background: #e5d7f4; }
.symbol-stack::before { transform: translate(2px, 2px); }
.symbol-stack::after { transform: translate(-2px, -2px); }
.symbol-spark { background: #e6edab; color: #485300; font-size: 1.65rem; line-height: 1; }
.symbol-lock { background: #f5d7e7; color: #7d315c; }
.symbol-lock::before { content: ""; width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 6px 6px 0 0; transform: translateY(-3px); }
.symbol-lock::after { content: ""; position: absolute; top: 17px; width: 15px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; background: #f5d7e7; }

.contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(27px, 5vw, 64px); background: var(--ink); color: white; border-radius: 30px; }
.contact p { margin-top: 13px; color: #e5d8ef; font-size: 1.0625rem; }
.button-contact { background: var(--lime); color: #282413; overflow-wrap: anywhere; }
.button-contact:hover { background: #f5ff9f; }
.button-contact:focus-visible { outline-color: white; }
.footer { min-height: 115px; gap: 20px; }
.footer p, .footer > a:last-child { color: var(--muted); font-size: .9rem; }
.footer > a:last-child { text-decoration: none; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 22px; }
  .section-intro { column-gap: 32px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header { min-height: 70px; }
  nav { gap: 14px; }
  .nav-studio { display: none; }
  nav .button { min-height: 42px; padding-inline: .85rem; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 38px; }
  .hero-copy { padding: 8px 0 0; }
  h1 { font-size: clamp(2.66rem, 9.6vw, 4.75rem); margin-top: 16px; }
  .hero-description { margin: 18px 0 20px; }
  .hero-art { border-radius: 24px; aspect-ratio: 1.15; }
  .studio { padding: 40px 0; }
  .section-intro { grid-template-columns: 1fr; row-gap: 12px; }
  .principles { grid-template-columns: 1fr; margin-top: 24px; gap: 10px; }
  .principles article { min-height: 0; padding: 18px; }
  .contact { align-items: flex-start; flex-direction: column; gap: 18px; border-radius: 24px; }
  .footer { flex-wrap: wrap; justify-content: space-between; padding: 22px 0; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
