/* =====================================================================
   Studio Merlin, Direction 1: "Daylight Spell"
   ---------------------------------------------------------------------
   THEME: light only, on purpose. This direction is a gallery-white page
   and is intentionally locked to light. No dark mode is defined, and
   color-scheme is set to "light" so form controls and scrollbars match.

   RADIUS SYSTEM: everything is sharp (border-radius: 0). The ONE
   exception is the pill CTA (.cta), which uses var(--radius-pill).
   Do not introduce other radii.

   ACCENT: ultramarine (#2D3BFF) is rationed: the CTA pill, at most one
   highlighted word per section (.hl), link underlines, focus rings and
   text selection. Nothing else.

   Z-INDEX SCALE: 1 content layers, 10 header, 20 skip link.
   ===================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-italic-latin-ext.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-italic-latin.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light; /* light theme locked, see header comment */

  --paper: #F4F4F1;
  --paper-2: #EAEAE5;       /* same neutral family, one step down */
  --ink: #111214;
  --ink-2: #55575C;         /* secondary text, 6.5:1 on paper */
  --ink-3: #6E7075;         /* dim text (legal link), 4.6:1 on paper */
  --line: rgba(17, 18, 20, 0.14);
  --accent: #2D3BFF;        /* 6.0:1 on paper; paper on accent 6.0:1 */
  --accent-ink: #1E29D6;    /* pressed/hover state of the accent */

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1440px;
  --header-h: 68px;

  --radius: 0;              /* all-sharp system */
  --radius-pill: 999px;     /* the single exception: CTA pill */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; border-radius: var(--radius); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { html:not(.lenis) { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  caret-color: var(--accent);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--paper); }

html { scrollbar-color: var(--ink) var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--paper); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: var(--gutter); top: 12px; z-index: 20;
  background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none;
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip:focus-visible { transform: none; }

.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }

/* Text links: ultramarine underline is one of the accent's few jobs */
.link {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--accent); } }

/* Highlighted word: max one per section */
.hl { color: var(--accent); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Display type. Bricolage's width (wdth) and optical size (opsz) axes are
   used on purpose: condensed for stacked giants, wide for calm statements. */
.display {
  font-family: var(--display);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
.h2 { font-size: clamp(2.75rem, 1.4rem + 6vw, 6rem); font-stretch: 82%; }
.h2--wide { font-stretch: 100%; font-weight: 700; }

/* ---------- CTA pill (the only rounded shape) ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.35em 0 1.5em;
  background: var(--accent); color: var(--paper);
  border-radius: var(--radius-pill);
  font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out);
}
.cta .icon { width: 1.15em; height: 1.15em; transition: transform 200ms var(--ease-out); }
.cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .cta:hover { background: var(--accent-ink); }
  .cta:hover .icon { transform: translateX(3px); }
}
.cta--lg { min-height: 60px; font-size: 1.125rem; padding: 0 1.6em 0 1.8em; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: var(--header-h);
  background: rgba(244, 244, 241, 0.94);
  border-bottom: 1px solid transparent;
  transition: transform 300ms var(--ease-out), border-color 200ms var(--ease-out);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.header__logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.header__logo svg { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0.85rem calc(100% - 10px);
  background-size: 0 2px;
  transition: background-size 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { background-size: calc(100% - 1.7rem) 2px; }
}
.header .cta { min-height: 44px; font-size: 0.95rem; }
@media (max-width: 760px) {
  .nav { display: none; }
  .header .cta { margin-left: auto; }
  .header__logo svg { height: 30px; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + clamp(12px, 3vh, 40px));
  padding-bottom: clamp(28px, 5vh, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero {
  --hero-fs: min(calc((100vw - 2 * var(--gutter)) / 2.86), 38svh, 24rem);
}
.hero__stage { display: flex; flex-direction: column; }
.hero__row {
  display: flex; flex-direction: row-reverse; flex-wrap: wrap; align-items: flex-end;
  column-gap: clamp(24px, 4vw, 64px); row-gap: clamp(20px, 4vh, 36px);
}
.hero__word {
  display: grid;
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--hero-fs);
  /* tall line box so background-clip has room for ascenders and dots,
     pulled back with negative margins to a 0.9 visual leading */
  line-height: 1.4;
  margin-block: -0.25em;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
  user-select: none;
  -webkit-user-select: none;
  font-kerning: none; /* split (ink) and unsplit (image) layers must match glyph for glyph */
}
.hero__word > span { grid-area: 1 / 1; display: block; white-space: nowrap; }
.hero__word--a { align-self: flex-start; font-stretch: 75%; }
.hero__word--b { flex: none; font-stretch: 100%; margin-top: -0.31em; }

.hero__ink { color: var(--ink); }
.js .hero__ink { opacity: 0; } /* JS writes it in */
.js .hero__aside > * { opacity: 0; }
.hero__fill {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-color: var(--ink);
  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
}
/* a light ink veil keeps every image dark enough to read as letters */
.f1 { background-image: linear-gradient(rgba(17,18,20,.12), rgba(17,18,20,.12)), url("../assets/work/halon.webp"); background-position: center 40%; }
.f2 { background-image: linear-gradient(rgba(17,18,20,.10), rgba(17,18,20,.10)), url("../assets/work/socialtides.webp"); background-position: center 55%; }
.f3 { background-image: linear-gradient(rgba(17,18,20,.12), rgba(17,18,20,.12)), url("../assets/work/dogsy.webp"); background-position: 70% center; }
.f4 { background-image: linear-gradient(rgba(17,18,20,.10), rgba(17,18,20,.10)), url("../assets/work/cash.webp"); background-position: center 60%; }

/* Default (no JS, reduced motion): first image visible, still. */
.hero__fill.f1 { opacity: 1; }

/* JS-driven intro: ink writes in, then images bloom. Then the cycle. */
.js .hero__fill.f1 { opacity: 0; }
.hero.is-cycling .hero__fill { animation: heroCycle 18s linear infinite both; }
.hero.is-cycling .f1 { animation-delay: -2s; }
.hero.is-cycling .f2 { animation-delay: 2.5s; }
.hero.is-cycling .f3 { animation-delay: 7s; }
.hero.is-cycling .f4 { animation-delay: 11.5s; }
@keyframes heroCycle {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  25%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero__aside {
  flex: 1 1 18rem;
  max-width: 30rem;
  margin-right: auto;
  padding-bottom: calc(var(--hero-fs) * 0.12); /* margin boxes align; this lifts the CTA to sit near the baseline of "Merlin" */
}
.hero__promise {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 92%;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
@media (max-width: 760px) {
  /* on phones "Studio" (condensed) grows to the full measure, like a masthead */
  .hero__word--a { font-size: calc((100vw - 2 * var(--gutter)) / 2.2); }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__fill { display: none !important; }
}
/* ---------- Clients marquee (the one marquee on the page) ---------- */
.clients { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 9vw, 120px); }
.clients__label { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee__group { display: flex; align-items: baseline; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); }
.marquee__group li {
  font-family: var(--display); font-weight: 650; white-space: nowrap;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.1;
}
.marquee__group li:nth-child(3n+1) { font-stretch: 75%; font-weight: 760; }
.marquee__group li:nth-child(3n+2) { font-stretch: 100%; font-weight: 400; }
.marquee__group li:nth-child(3n)   { font-stretch: 88%;  font-weight: 560; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services: sticky heading + list ---------- */
.services { padding-block: clamp(64px, 10vw, 160px); }
.services__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
}
.services__head { grid-column: 1 / span 5; }
.services__head .h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.services__list { grid-column: 7 / -1; }
.service {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem;
  padding-block: clamp(28px, 3.5vw, 48px);
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service .icon { width: 30px; height: 30px; margin-top: 0.35rem; }
.service h3 {
  font-family: var(--display); font-weight: 700; font-stretch: 90%;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.service p { color: var(--ink-2); max-width: 42ch; }
@media (max-width: 900px) {
  .services__head, .services__list { grid-column: 1 / -1; }
  .services__head { margin-bottom: 2.5rem; }
  .services__head .h2 { position: static; }
}

/* ---------- Work: pinned horizontal pan ---------- */
.work { position: relative; }
.work__pin {
  min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden;
}
.work__track {
  display: flex; align-items: flex-start; gap: clamp(24px, 3vw, 48px);
  padding-inline: var(--gutter);
  padding-top: var(--header-h);
  will-change: transform;
}
.work__intro {
  flex: none; width: min(34rem, 38vw);
  align-self: center;
  padding-right: clamp(16px, 4vw, 80px);
}
.work__intro p { margin-top: 1.5rem; color: var(--ink-2); max-width: 30ch; font-size: 1.125rem; }
.project { flex: none; --h: min(58svh, 560px); }
.project__media {
  display: block; overflow: hidden; height: var(--h); background: var(--paper-2);
}
.project--wide .project__media { width: calc(var(--h) * 1.6); }
.project--square .project__media { width: var(--h); }
.project__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); /* headroom for the scroll drift; no CSS transition, GSAP scrubs it */
}
.project__meta {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding-top: 1rem;
}
.project__name {
  font-family: var(--display); font-weight: 700; font-stretch: 85%;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.05; letter-spacing: -0.025em;
}
.project__tags { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.3rem; }
.project__go {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  color: var(--ink);
  transition: color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.project__go .icon { width: 26px; height: 26px; }
.project a.project__media { cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .project:has(a:hover) .project__go { color: var(--accent); transform: translate(2px, -2px); }
}
.work__end { flex: none; width: 1px; }

/* Mobile + reduced motion: a vertical stack, no pin */
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .work__pin { min-height: 0; display: block; overflow: visible; padding-block: clamp(64px, 10vw, 120px); }
  .work__track { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 7vw, 64px); padding-top: 0; transform: none !important; }
  .work__intro { width: auto; padding-right: 0; }
  .project { --h: auto; }
  .project--wide .project__media, .project--square .project__media { width: 100%; height: auto; }
  .project--wide .project__media { aspect-ratio: 16 / 10; }
  .project--square .project__media { aspect-ratio: 1 / 1; }
  .project__media img { transform: none; }
  .work__end { display: none; }
}
@media (min-width: 600px) and (max-width: 899px), (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .work__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__intro { grid-column: 1 / -1; }
  .project--wide .project__media, .project--square .project__media { aspect-ratio: 4 / 3.4; }
}

/* ---------- Proof: one giant sentence with numbers ---------- */
.proof { padding-block: clamp(80px, 12vw, 200px); }
.proof__nums {
  display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(12px, 3vw, 48px);
  font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.proof__from { font-size: clamp(3.5rem, 1rem + 10vw, 10rem); font-stretch: 75%; color: var(--ink-2); }
.proof__arrow { width: clamp(40px, 7vw, 120px); height: auto; aspect-ratio: 1; color: var(--ink); }
.proof__to { font-size: clamp(5rem, 1rem + 17vw, 17rem); font-stretch: 100%; }
.proof__to small { font-size: 0.5em; letter-spacing: -0.02em; }
.proof__text {
  margin-top: clamp(24px, 3vw, 48px);
  max-width: 34ch;
  font-family: var(--display); font-weight: 500; font-stretch: 95%;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); line-height: 1.2; letter-spacing: -0.015em;
}

/* ---------- Testimonials: name index + featured quote ---------- */
.voices { padding-block: clamp(64px, 10vw, 160px); background: var(--paper-2); }
.voices__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(40px, 6vw, 88px);
}
.voices__names { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.voices__names button {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  min-height: 44px; padding: 0.7rem 0 0.7rem 1rem;
  background: none; border: 0; cursor: pointer;
  border-left: 1px solid var(--line);
  color: var(--ink-2);
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.voices__names button b { font-weight: 600; color: inherit; }
.voices__names button span { font-size: 0.875rem; }
.voices__names button[aria-selected="true"] { color: var(--ink); border-left-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .voices__names button:hover { color: var(--ink); } }
.voices__stage { grid-column: 6 / -1; display: grid; align-content: start; }
.quote { grid-area: 1 / 1; }
.quote[hidden] { display: block; visibility: hidden; opacity: 0; }
.quote blockquote {
  font-family: var(--display); font-weight: 600; font-stretch: 92%;
  font-size: clamp(1.75rem, 1rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em;
  text-wrap: balance;
}
.quote figcaption { margin-top: 1.75rem; font-size: 1rem; }
.quote figcaption b { font-weight: 600; }
.quote figcaption span { color: var(--ink-2); }
.quote.is-in { animation: quoteIn 420ms var(--ease-out) both; }
@keyframes quoteIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .voices__grid { grid-template-columns: minmax(0, 1fr); }
  .voices__stage { grid-column: 1; grid-row: 1; margin-bottom: 2rem; }
  .voices__names {
    grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; gap: 0.5rem;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .voices__names::-webkit-scrollbar { display: none; }
  .voices__names button { flex: none; scroll-snap-align: start; border-left: 0; border-top: 2px solid var(--line); padding: 0.7rem 0.25rem 0.5rem 0; margin-right: 1rem; }
  .voices__names button[aria-selected="true"] { border-top-color: var(--ink); }
}

/* ---------- Founder: offset split ---------- */
.founder { padding-block: clamp(80px, 12vw, 200px); }
.founder__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.founder__media { grid-column: 1 / span 5; margin-top: clamp(0px, 8vw, 140px); }
.founder__frame { overflow: hidden; aspect-ratio: 815 / 1024; background: var(--paper-2); }
.founder__frame img { width: 100%; height: 100%; object-fit: cover; }
.founder__media figcaption { margin-top: 0.85rem; font-size: 0.95rem; color: var(--ink-2); }
.founder__text { grid-column: 7 / -1; }
.founder__story { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 1.25rem; max-width: 52ch; font-size: 1.125rem; }
.founder__story p:first-child {
  font-family: var(--display); font-weight: 600; font-stretch: 95%;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em;
}
.founder__story em { font-style: italic; }
.founder__sign {
  margin-top: 2rem; font-family: var(--display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); letter-spacing: -0.03em; line-height: 1;
}
.founder__sign span { display: block; margin-top: 0.4rem; font-family: var(--body); font-weight: 500; font-stretch: 100%; font-size: 0.95rem; letter-spacing: 0; color: var(--ink-2); }
@media (max-width: 900px) {
  .founder__media { grid-column: 1 / -1; margin-top: 0; max-width: 420px; }
  .founder__text { grid-column: 1 / -1; margin-top: 3rem; }
}

/* ---------- Process: three verbs as a staircase ---------- */
.process { padding-block: clamp(64px, 10vw, 160px); border-top: 1px solid var(--line); }
.process .h2 { margin-bottom: clamp(40px, 6vw, 96px); }
.steps { display: grid; gap: clamp(36px, 5vw, 72px); }
.step {
  display: grid; grid-template-columns: auto minmax(0, 22rem); align-items: end; justify-content: start;
  column-gap: clamp(20px, 3vw, 48px);
}
.step:nth-child(1) { margin-left: 0; }
.step:nth-child(2) { margin-left: 16%; }
.step:nth-child(3) { margin-left: 32%; }
.step h3 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3.5rem, 1rem + 11vw, 11rem); line-height: 0.85; letter-spacing: -0.045em;
}
/* the width axis widens step by step: the idea gets room as it grows */
.step:nth-child(1) h3 { font-stretch: 75%; }
.step:nth-child(2) h3 { font-stretch: 87%; }
.step:nth-child(3) h3 { font-stretch: 100%; }
.step p { color: var(--ink-2); padding-bottom: 0.6em; }
@media (max-width: 900px) {
  .step { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(n) { margin-left: 0; }
  .step:nth-child(2) { padding-left: 8%; }
  .step:nth-child(3) { padding-left: 16%; }
  .step p { margin-top: 0.85rem; padding-bottom: 0; max-width: 40ch; }
}

/* ---------- FAQ: accordion ---------- */
.faq { padding-block: clamp(64px, 10vw, 160px); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.faq .h2 { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 44px; padding-block: 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 650; font-stretch: 92%;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); line-height: 1.2; letter-spacing: -0.02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 24px; height: 24px; transition: transform 250ms var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p { color: var(--ink-2); max-width: 58ch; padding-bottom: 1.6rem; }
.faq__item[open] p { animation: faqIn 260ms var(--ease-out) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .faq .h2, .faq__list { grid-column: 1 / -1; }
  .faq .h2 { margin-bottom: 2.5rem; }
}

/* ---------- Final CTA ---------- */
.final { padding-block: clamp(96px, 14vw, 220px); text-align: center; }
.final .display {
  font-size: clamp(3rem, 1rem + 9vw, 9.5rem); font-stretch: 80%; line-height: 0.92;
  max-width: 14ch; margin-inline: auto;
}
.final__sub { margin: 1.75rem auto 2.25rem; max-width: 38ch; color: var(--ink-2); font-size: 1.125rem; }
.final__mail { margin-top: 1.5rem; }
.final__mail a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 40px 28px; font-size: 0.95rem; }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.footer__motto {
  font-family: var(--display); font-weight: 700; font-stretch: 80%;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.05;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; } }
.footer__bottom { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; color: var(--ink-2); }
.footer__legal { color: var(--ink-3); font-size: 0.8rem; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer__legal:hover { text-decoration: underline; }

/* ---------- Split-text helpers (JS) ---------- */
.js [data-spell] { visibility: hidden; }
.js [data-spell].is-ready { visibility: visible; }
.spell-char { display: inline-block; will-change: transform, opacity; }

/* ---------- Reduced motion: everything readable, nothing travels ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .marquee__track { animation: none; width: auto; }
  .marquee__group { flex-wrap: wrap; row-gap: 0.75rem; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .hero.is-cycling .hero__fill { animation: none; }
  .js .hero__fill.f1 { opacity: 1; }
  .js .hero__ink { opacity: 1; }
  .js .hero__aside > * { opacity: 1; }
  .js [data-spell] { visibility: visible; }
  .quote.is-in { animation: quoteFade 200ms ease both; }
  .faq__item[open] p { animation: none; }
  .cta, .cta .icon, .header { transition: none; }
}
@keyframes quoteFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Legal page ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 96px)); padding-bottom: clamp(64px, 8vw, 120px); }
.legal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.legal__menu { grid-column: 1 / span 3; }
.legal__menu ul { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 0.15rem; }
.legal__menu a { display: inline-flex; min-height: 44px; align-items: center; }
.legal__body { grid-column: 5 / -1; max-width: 68ch; }
.legal__body h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); font-stretch: 82%; margin-bottom: 1rem; }
.legal__body h2 {
  font-family: var(--display); font-weight: 700; font-stretch: 90%;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.025em; line-height: 1.1;
  margin: 3.5rem 0 1rem; scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal__body h3 { font-size: 1.05rem; font-weight: 600; margin: 1.75rem 0 0.5rem; }
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body p + p { margin-top: 0.75rem; }
.legal__body ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.legal__body dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; color: var(--ink-2); }
.legal__body dt { color: var(--ink); font-weight: 500; }
.legal__meta { color: var(--ink-2); }
@media (max-width: 900px) {
  .legal__menu, .legal__body { grid-column: 1 / -1; }
  .legal__menu { margin-bottom: 2rem; }
  .legal__menu ul { position: static; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
  .legal__body dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .legal__body dd { margin-bottom: 0.6rem; }
}
