/* Matcha Studios - site styles
   Two grounds (ink, paper) and one accent (matcha green), all from the brand tokens.
   Type: Cabinet Grotesk (display), Panchang (wide display), Bodoni Moda italic (accent words, close to Belgiano Serif), General Sans (text).
   Fonts are self-hosted: Fontshare faces (free commercial licence) and Bodoni Moda (SIL Open Font License). */

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: "Cabinet Grotesk"; src: url("/assets/fonts/CabinetGrotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("/assets/fonts/CabinetGrotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Panchang"; src: url("/assets/fonts/Panchang-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Panchang"; src: url("/assets/fonts/Panchang-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/BodoniModa-italic-var.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Sedgwick Ave"; src: url("/assets/fonts/SedgwickAve-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/assets/fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/assets/fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/assets/fonts/GeneralSans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
:root {
  --ink: #141314;
  --paper: #FBFAF6;
  --paper-2: #F1EFE8;
  --matcha: #3EAF75;
  --deep: #2C8A5A;
  --leaf: #1F6B45;
  --rec: #D23F52;
  --mute-on-ink: #B9B6AD;
  --mute-on-paper: #6B6862;
  --f-display: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-wide: "Panchang", "Arial Black", "Helvetica Neue", sans-serif;
  --f-serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-hand: "Sedgwick Ave", "Comic Sans MS", cursive;
  --f-sans: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 3.4vw, 56px);
  --max: 1720px;
  --head-h: 60px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark light;
}

/* section grounds: every colour inside a section reads from these */
.is-dark  { --bg: var(--ink);     --fg: var(--paper); --mute: var(--mute-on-ink);   --line: rgba(251, 250, 246, .14); --accent: var(--matcha); --card: rgba(251, 250, 246, .05); }
.is-light { --bg: var(--paper);   --fg: var(--ink);   --mute: var(--mute-on-paper); --line: rgba(20, 19, 20, .14);    --accent: var(--deep);   --card: var(--paper-2); }
.is-paper { --bg: var(--paper-2); --fg: var(--ink);   --mute: var(--mute-on-paper); --line: rgba(20, 19, 20, .16);    --accent: var(--deep);   --card: var(--paper); }
.is-green { --bg: var(--matcha);  --fg: var(--ink);   --mute: rgba(20, 19, 20, .8); --line: rgba(20, 19, 20, .22);    --accent: var(--ink); }
.is-dark, .is-light, .is-paper, .is-green { background: var(--bg); color: var(--fg); }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 17px; } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote, fieldset { margin: 0; }
ol, ul { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--matcha); color: var(--ink); }
:focus-visible { outline: 2px solid var(--matcha); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--matcha); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ------------------------------------------------------------------ type */
.d-xl, .d-l, .d-m { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; }
.d-xl { font-size: clamp(56px, 11.2vw, 210px); line-height: .86; }
.d-l  { font-size: clamp(44px, 7.6vw, 140px); line-height: .88; }
.d-m  { font-size: clamp(34px, 4.6vw, 80px); line-height: .92; letter-spacing: -.03em; }
.spread { font-family: var(--f-wide); font-weight: 500; text-transform: uppercase; font-size: clamp(30px, 6.6vw, 128px); line-height: .98; letter-spacing: -.03em; }
.it { font-family: var(--f-serif); font-style: italic; font-weight: 700; font-variation-settings: "opsz" 11; text-transform: none; letter-spacing: -.02em; color: var(--accent); }
.lbl { font-family: var(--f-sans); font-weight: 500; font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--mute); max-width: 40ch; }
.n { font-family: var(--f-sans); font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--matcha); margin-right: 10px; vertical-align: middle; transform: translateY(-1px); }
.center { justify-content: center; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* headline lines: each .ln masks its text so it can rise into place */
.ln { display: block; overflow: hidden; padding: .02em .08em .14em; margin: -.02em -.08em -.14em; }
.ln > span { display: inline-block; }
.ln-split { display: flex; justify-content: space-between; gap: .4em; }

/* ------------------------------------------------------------------ pills (letters roll on hover) */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.pill .t { display: inline-flex; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.pill .ch { display: inline-block; white-space: pre; text-shadow: 0 1.3em 0 currentColor; transition: transform .55s var(--ease); transition-delay: calc(var(--i, 0) * 14ms); }
.pill:hover .ch { transform: translateY(-1.3em); }
.pill .arr { display: inline-block; transition: transform .55s var(--ease); }
.pill:hover .arr { transform: rotate(45deg); }
.pill-green { background: var(--matcha); color: var(--ink); }
.pill-green:hover { background: var(--paper); }
.pill-line { border-color: color-mix(in srgb, var(--fg) 32%, transparent); color: var(--fg); }
.pill-line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: var(--matcha); color: var(--ink); }
.pill-lg { height: 60px; padding: 0 32px; font-size: 14px; }
/* Book a call: the mascot sits in an ink badge at the start of the pill */
.pill-book { padding-left: 6px; gap: 12px; }
.pill-lg.pill-book { padding-left: 7px; }
.book-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); transition: rotate .6s var(--ease); }
.pill-lg .book-ic { width: 46px; height: 46px; }
.book-ic .mascot { height: 21px; width: auto; }
.pill-lg .book-ic .mascot { height: 27px; }
.pill-book:hover .book-ic { rotate: -12deg; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------------ header (floating pill) */
.head { position: fixed; top: 14px; left: 0; right: 0; z-index: 200; padding-inline: var(--pad); pointer-events: none; transition: transform .8s var(--ease); }
.head.is-hidden { transform: translateY(-150%); }
.head-bar {
  pointer-events: auto; max-width: 1080px; margin-inline: auto; height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 6px 0 20px;
  border-radius: 999px; color: var(--paper);
  background: rgba(20, 19, 20, .5); border: 1px solid rgba(251, 250, 246, .12);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
}
/* Spotify-lyrics style: whatever scrolls under the top of the screen softens into a blur.
   Three stacked layers, each blurrier and shorter, so the blur grows towards the top edge. */
.top-blur { position: fixed; top: 0; left: 0; right: 0; height: 140px; z-index: 199; pointer-events: none; }
.top-blur i { position: absolute; inset: 0; }
.top-blur i:nth-child(1) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.top-blur i:nth-child(2) { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-mask-image: linear-gradient(#000 35%, transparent 75%); mask-image: linear-gradient(#000 35%, transparent 75%); }
.top-blur i:nth-child(3) { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(#000 15%, transparent 50%); mask-image: linear-gradient(#000 15%, transparent 50%); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .lockup { height: 38px; width: auto; color: var(--paper); }
.nav { display: none; }
.nav a { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; color: rgba(251, 250, 246, .7); transition: color .3s, background .3s; }
.nav a:hover { color: var(--paper); background: rgba(251, 250, 246, .08); }
.nav a[aria-current] { color: var(--paper); }
.nav a[aria-current]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--matcha); margin-right: 8px; vertical-align: middle; transform: translateY(-1px); }
.head-cta { display: none; }
.menu-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(251, 250, 246, .2); background: none; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 900px) {
  .head-bar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav { display: flex; gap: 2px; }
  .head-cta { display: inline-flex; justify-self: end; }
  .menu-btn { display: none; }
}
.menu { position: fixed; inset: 0; z-index: 190; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--pad) 32px; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a {
  display: flex; align-items: baseline; gap: 14px; padding: .14em 0; border-top: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 13vw, 96px); line-height: .95; letter-spacing: -.03em;
}
.menu-nav a[aria-current] { color: var(--matcha); }
.menu .lbl { margin-top: 28px; }

/* ------------------------------------------------------------------ sections */
.sec { padding-block: clamp(96px, 11vw, 180px); }
.sec-tight { padding-top: clamp(48px, 5vw, 80px); }
.sec-no { display: flex; gap: 14px; margin-bottom: clamp(32px, 4vw, 64px); }
.sec-no span { color: var(--fg); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: clamp(48px, 6vw, 96px); }
.view-all { display: inline-flex; align-items: baseline; gap: .25em; font-size: clamp(30px, 3.8vw, 68px); line-height: 1; border-bottom: 1px solid var(--line); padding-bottom: .12em; transition: border-color .4s; }
.view-all .it { color: var(--fg); }
.view-all .arr { font-size: .55em; transition: transform .55s var(--ease); }
.view-all:hover { border-color: var(--fg); }
.view-all:hover .arr { transform: rotate(45deg); }

/* ------------------------------------------------------------------ hero: full-screen reel, copy centred in the screen */
.hero {
  position: relative; overflow: hidden; min-height: max(100svh, 620px); display: flex;
  padding-top: calc(var(--head-h) + 48px); padding-bottom: clamp(28px, 3.4vw, 56px);
}
.hero-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.hero-foot { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: clamp(28px, 3vw, 44px); }
.spread .hl { color: var(--matcha); }
.it-ink { color: var(--fg); }
.hl-g { color: var(--accent); }
.hero-foot .lede { color: var(--fg); }
.hero-foot .actions { justify-content: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* keeps the copy readable over any footage */
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 19, 20, .88) 0%, rgba(20, 19, 20, .35) 55%, rgba(20, 19, 20, .55) 100%); }
.hero-poster { background: radial-gradient(80% 90% at 50% 105%, var(--deep) 0%, var(--leaf) 30%, var(--ink) 75%); }


/* ------------------------------------------------------------------ end bracket */
.end-q { color: var(--fg); font-size: clamp(20px, 2vw, 30px); }
.bracket { display: flex; align-items: center; gap: 1vw; width: 100%; padding-inline: var(--pad); color: var(--fg); }
.br { flex: none; font-family: var(--f-serif); font-style: italic; font-weight: 600; font-variation-settings: "opsz" 11; font-size: clamp(72px, 10vw, 190px); line-height: .8; color: var(--mute); }
.bracket-win { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bracket-track { display: flex; align-items: center; width: max-content; animation: marquee 16s linear infinite; }
.bracket-track span { padding: 0 .35em; white-space: nowrap; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 6vw, 112px); line-height: 1; letter-spacing: -.035em; transition: color .4s; }
.bracket-track i { flex: none; width: clamp(10px, 1vw, 18px); aspect-ratio: 1; border-radius: 50%; background: var(--matcha); }
.bracket:hover .bracket-track span { color: var(--matcha); }

/* ------------------------------------------------------------------ loader (first visit per session) */
.loader { display: none; position: fixed; inset: 0; z-index: 400; background: var(--ink); color: var(--paper); place-items: center; transition: transform .9s var(--ease); }
html.loading .loader { display: grid; }
html.loaded .loader { transform: translateY(-100%); }
.loader-mark { position: relative; width: clamp(90px, 9vw, 140px); }
.loader-mark .mascot { width: 100%; height: auto; }
.lm-base { opacity: .14; filter: grayscale(1); }
.lm-fill { position: absolute; inset: 0; clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0); }
.loader-l { position: absolute; left: var(--pad); bottom: 28px; color: var(--mute-on-ink); }
.loader-n { position: absolute; right: var(--pad); bottom: 8px; font-family: var(--f-display); font-weight: 800; font-size: clamp(80px, 13vw, 220px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.loader-n sup { font-size: .26em; color: var(--matcha); vertical-align: top; margin-left: .06em; }

@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ------------------------------------------------------------------ video tiles (YouTube thumbnails) */
.vgrid { display: grid; gap: clamp(40px, 5vw, 80px) clamp(24px, 3vw, 48px); }
.vt { display: grid; gap: 14px; align-content: start; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.vt-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--ink); transition: transform 1s var(--ease); }
.vt-media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
/* autoplay preview: full frame, a hair over size so no edge line shows */
.vt-prev { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; scale: 1.02; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.vt-prev.on { opacity: 1; }
.vt-play, .vt-go { position: absolute; left: 50%; top: 50%; translate: -50% -50%; opacity: 0; scale: .9; transition: opacity .5s var(--ease), scale .5s var(--ease); pointer-events: none; }
.vt-d { color: var(--mute); font-size: 15px; max-width: 46ch; margin-top: -6px; }
.card-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.card-cap b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.1; letter-spacing: -.01em; }
.card-cap span { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
@media (hover: hover) {
  .vt:hover .vt-media { transform: scale(.985); }
  .vt:hover .vt-media img { scale: 1.04; }
  .vt:hover .vt-play, .vt:hover .vt-go { opacity: 1; scale: 1; }
  .vt:hover .card-cap b { color: var(--accent); }
}
@media (min-width: 900px) {
  .vgrid { grid-template-columns: 1fr 1fr; align-items: start; }
  .vgrid > :nth-child(even) { margin-top: 10vw; }
}

/* ------------------------------------------------------------------ style pages */
.crumb { color: var(--fg); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.crumb:hover { border-color: var(--fg); }
.style-intro { display: grid; gap: 40px; margin-top: clamp(36px, 4vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.style-intro .lede { color: var(--fg); max-width: 46ch; }
.style-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.style-facts div { display: grid; gap: 6px; align-content: start; }
.style-facts dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.15; }
@media (min-width: 1000px) { .style-intro { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* back / next: two big panels, next is the loud one */
.style-nav { padding-block: clamp(48px, 6vw, 96px); }
.style-nav-in { display: grid; gap: 16px; }
.sn { display: grid; gap: clamp(28px, 4vw, 64px); align-content: space-between; min-height: clamp(180px, 20vw, 300px); padding: clamp(24px, 3vw, 44px); border-radius: 24px; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.sn-t { display: flex; align-items: center; gap: .4em; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 84px); line-height: .92; letter-spacing: -.03em; }
.sn-arr { flex: none; display: inline-block; transition: transform .6s var(--ease); }
.sn-back { border: 1px solid var(--line); color: var(--fg); }
.sn-back:hover { border-color: var(--fg); }
.sn-back:hover .sn-arr { transform: translateX(-10px); }
.sn-next { background: var(--matcha); color: var(--ink); }
.sn-next .lbl { color: rgba(20, 19, 20, .7); }
.sn-next .sn-t { justify-content: space-between; }
.sn-next:hover { background: var(--paper); }
.sn-next:hover .sn-arr { transform: translateX(12px); }
@media (min-width: 900px) { .style-nav-in { grid-template-columns: 1fr 2fr; } }

/* ------------------------------------------------------------------ testimonials */
.quotes { display: grid; gap: 16px; }
.quote { position: relative; display: flex; flex-direction: column; gap: 28px; margin: 0; padding: clamp(28px, 2.6vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.quote-mark { font-family: var(--f-serif); font-style: italic; font-weight: 700; font-variation-settings: "opsz" 11; font-size: 96px; line-height: .6; height: 40px; color: var(--accent); }
.quote blockquote { margin: 0; flex: 1; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-face { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--ink); color: var(--matcha); font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.quote-face img { width: 100%; height: 100%; object-fit: cover; }
.quote-who, .quote-who a { display: grid; gap: 2px; }
.quote-who b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 18px; letter-spacing: -.01em; }
.quote-who span { font-size: 13px; color: var(--mute); }
.quote-who a:hover b { color: var(--accent); }
@media (min-width: 1000px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------ manifesto + numbers */
.mani-t { max-width: 15em; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4.6vw, 82px); line-height: .95; letter-spacing: -.03em; }
.mani-t .w { color: color-mix(in srgb, var(--fg) 16%, transparent); transition: color .6s var(--ease); }
.mani-t .w.on { color: var(--fg); }
.mani-t .w.g.on { color: var(--accent); }
.stats { display: grid; margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.stats li { display: grid; gap: 6px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stats b { font-family: var(--f-wide); font-weight: 500; font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: -.04em; color: var(--accent); }
.stats span { color: var(--mute); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li { border-bottom: 0; border-left: 1px solid var(--line); padding: 32px 32px 8px; }
  .stats li:first-child { border-left: 0; padding-left: 0; }
}

/* ------------------------------------------------------------------ process */
.big-title { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .22em; margin-bottom: clamp(48px, 6vw, 96px); }
.steps4 { display: grid; border-top: 1px solid var(--line); }
.steps4 li { display: grid; gap: 12px; align-content: start; padding: 28px 24px 36px 0; border-bottom: 1px solid var(--line); }
.steps4 h3 { font-family: var(--f-wide); font-weight: 500; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 40px); line-height: 1; letter-spacing: -.03em; }
.steps4 p { color: var(--mute); max-width: 28ch; }
@media (min-width: 700px) { .steps4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps4 { grid-template-columns: repeat(4, 1fr); }
  .steps4 li { border-bottom: 0; border-left: 1px solid var(--line); padding: 28px 28px 8px; }
  .steps4 li:first-child { border-left: 0; padding-left: 0; }
}

/* ------------------------------------------------------------------ end CTA (centred) */
.end { position: relative; overflow: hidden; padding-block: clamp(120px, 14vw, 220px); text-align: center; }
.end-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(20px, 2.4vw, 36px); }
.end .lede { margin-inline: auto; }
.end .actions { justify-content: center; }

/* ------------------------------------------------------------------ page hero (inner pages) */
.hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-bottom: 32px; }
.contact-hero .wrap { text-align: center; }
p.hero-top { display: block; } /* a single label: keep the dot beside its text */
.phero { padding-top: calc(var(--head-h) + clamp(80px, 9vw, 140px)); padding-bottom: clamp(48px, 5vw, 80px); }

/* ------------------------------------------------------------------ contact */
.contact-grid { display: grid; gap: 64px; }
.brief { display: grid; gap: 8px 32px; }
.chips-field { display: grid; gap: 12px; padding-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--matcha); outline-offset: 3px; }
.chips-field[aria-invalid="true"] .chip span { border-color: var(--rec); }
.field { display: grid; gap: 6px; padding-top: 18px; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0 14px; appearance: none;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); color: var(--fg); transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--f-sans); font-weight: 400; font-size: 17px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--fg) 30%, transparent); font-weight: 500; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--fg); }
.field [aria-invalid="true"] { border-bottom-color: var(--rec); }
.brief-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.form-note { font-size: 14px; color: var(--mute); max-width: 44ch; }
.form-note.is-error { color: var(--rec); }
.contact-side { border-top: 1px solid var(--line); align-self: start; }
.contact-side div { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .brief { grid-template-columns: 1fr 1fr; } .chips-field, .field-wide, .brief-foot { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .brief { grid-column: 1 / 8; }
  .contact-side { grid-column: 9 / 13; }
}

/* ------------------------------------------------------------------ lightbox */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 19, 20, .94); display: grid; place-items: center; }
.lb:not([open]) { display: none; }
.lb::backdrop { background: transparent; }
.lb-stage { width: min(92vw, calc(85vh * 16 / 9)); aspect-ratio: 16 / 9; }
.lb-stage iframe, .lb-stage video { display: block; width: 100%; height: 100%; border: 0; border-radius: 8px; background: #000; }
.lb-x { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(251, 250, 246, .25); background: none; color: var(--paper); font-size: 22px; cursor: pointer; }
.lb-x:hover { background: var(--matcha); color: var(--ink); border-color: var(--matcha); }

/* ------------------------------------------------------------------ footer */
.foot { padding-top: clamp(64px, 7vw, 110px); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.foot-tag { grid-column: 1 / -1; font-size: clamp(36px, 4vw, 64px); line-height: 1; }
.foot-tag .it { color: var(--fg); }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.foot-col .lbl { margin-bottom: 8px; }
.foot-col a { color: var(--mute); transition: color .3s; }
.foot-col a:hover { color: var(--fg); }
.foot-mark { margin-top: clamp(64px, 8vw, 120px); color: var(--matcha); }
.foot-mark .wordmark { width: 100%; height: auto; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(24px, 3vw, 40px); padding-block: 24px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot-base a:hover { color: var(--fg); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 2fr 1fr 1fr; } .foot-tag { grid-column: auto; } }

/* ------------------------------------------------------------------ motion (only when JS runs and motion is allowed) */
html.motion [data-r="lines"] .ln > span { transform: translate3d(0, 112%, 0); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.motion [data-r="lines"].in .ln > span { transform: none; }
html.motion [data-r]:not([data-r="lines"]) { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 100ms); }
html.motion [data-r]:not([data-r="lines"]).in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .bracket-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
