:root {
  --ink: #111214;
  --paper: #f7f8f9;
  --white: #fff;
  --soft: #eef0f2;
  --line: #dfe3e7;
  --muted: #63676f;
  --purple: #7c3aed;
  --red: #d53236;
  --navy: #263f70;
  --green: #3f934e;
  --sky: #69a8dd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; }

.site-header { position: sticky; top: 0; z-index: 20; color: #fff; background: #121315; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; color: #fff; text-decoration: none; }
.brand strong { font: 700 1.8rem/1 Caveat, cursive; }
.brand small { margin-top: 4px; font: italic .56rem Playfair Display, serif; opacity: .72; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links > a { position: relative; color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 600; text-decoration: none; }
.nav-links > a:not(.quote-link)::after { position: absolute; right: 50%; bottom: -27px; left: 50%; height: 2px; background: var(--purple); content: ""; transition: left .2s, right .2s; }
.nav-links > a:hover, .nav-links > a:focus-visible, .nav-links > a.active { color: #fff; }
.nav-links > a:hover::after, .nav-links > a:focus-visible::after, .nav-links > a.active::after { right: 0; left: 0; }
.quote-link { display: inline-flex; min-height: 40px; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.menu-button { display: none; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: transparent; }

.about-hero { padding: 100px 0 74px; background: var(--paper); }
.section-heading { max-width: 760px; margin: 0 auto; text-align: center; }
.section-heading .eyebrow, .eyebrow { margin: 0 0 10px; color: var(--purple); font-size: .66rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-heading h1, .section-heading h2 { margin: 0 0 16px; font: 700 clamp(2.65rem, 6vw, 4.7rem)/.98 Playfair Display, Georgia, serif; letter-spacing: -.045em; }
.section-heading h1 em { color: var(--purple); font-weight: 600; }
.section-heading > p:last-child { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: .92rem; }
.section-heading.compact { margin-bottom: 50px; }
.section-heading.compact h2 { font-size: clamp(2.25rem, 4.7vw, 3.8rem); }

.story { padding: 88px 0 100px; background: #fff; }
.story-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.story-art { margin: 0; }
.story-art img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 55px rgba(23,26,31,.14); background: #17191c; }
.story-copy h2 { margin: 0 0 22px; font: 700 clamp(1.9rem, 3.4vw, 2.8rem)/1.06 Playfair Display, serif; letter-spacing: -.03em; }
.story-copy p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.story-copy a { color: var(--purple); font-weight: 600; }

.values { padding: 96px 0 110px; background: #eceeef; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { --accent: var(--purple); min-height: 240px; padding: 30px 26px; border-top: 5px solid var(--accent); border-radius: 12px; background: #fff; box-shadow: 0 14px 32px rgba(24,27,31,.06); }
.value-card.flow { --accent: var(--sky); }
.value-card.result { --accent: var(--green); }
.value-card.clarity { --accent: var(--navy); }
.value-card.play { --accent: var(--red); }
.card-icon { margin-bottom: 24px; color: var(--accent); font-size: 30px; }
.value-card h3 { margin: 0 0 12px; font: 700 1.5rem/1 Playfair Display, serif; }
.value-card p { margin: 0; color: var(--muted); font-size: .8rem; }

.closing { padding: 104px 0; background: var(--paper); }
.closing-card { position: relative; overflow: hidden; min-height: 360px; padding: 70px 30px; border-radius: 12px; color: #fff; background: #17191c; text-align: center; }
.closing-card h2 { position: relative; z-index: 1; margin: 0 0 16px; font: 700 clamp(2.4rem, 5vw, 4.25rem)/1 Playfair Display, serif; }
.closing-card p { position: relative; z-index: 1; max-width: 520px; margin: 0 auto 28px; color: rgba(255,255,255,.75); }
.closing-card a { position: relative; z-index: 1; display: inline-flex; min-height: 46px; align-items: center; gap: 12px; padding: 0 24px; border-radius: 999px; color: #fff; background: var(--purple); font-size: .76rem; font-weight: 800; text-decoration: none; }
.closing-cookie { position: absolute; right: -50px; bottom: -54px; color: #6b34c7; font-size: 190px; transform: rotate(-18deg); }

footer { padding: 78px 0; color: rgba(255,255,255,.7); background: #292c2d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .75fr); gap: 58px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p, .footer-grid a, .footer-grid small { display: block; margin: 0 0 9px; color: rgba(255,255,255,.66); font-size: .74rem; text-decoration: none; }
.footer-grid > div:first-child p { max-width: 260px; margin-bottom: 30px; }
.footer-grid h2 { margin: 9px 0 18px; color: #bfa9ff; font: 800 .62rem/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a:hover { color: #fff; }

a:focus-visible, button:focus-visible { outline: 3px solid #b995ff; outline-offset: 4px; }

@media (max-width: 920px) {
  .nav-links { gap: 17px; }
  .nav-links > a:not(.quote-link) { display: none; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-art { max-width: 520px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), 1120px); }
  .nav { min-height: 72px; }
  .nav-links { position: absolute; top: 72px; right: 14px; left: 14px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #181a1d; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.quote-link) { display: flex; min-height: 46px; align-items: center; padding: 0 12px; }
  .nav-links > a::after { display: none; }
  .quote-link { margin-top: 6px; justify-content: center; }
  .menu-button { display: grid; }
  .about-hero { padding: 72px 0 56px; }
  .section-heading h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .story { padding: 64px 0 72px; }
  .values { padding: 72px 0; }
  .values-grid { grid-template-columns: 1fr; }
  .closing { padding: 72px 0; }
  .closing-card { min-height: 330px; padding: 64px 20px; }
  .closing-cookie { right: -55px; font-size: 150px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
