/* ==========================================================================
   Pikett · core stylesheet
   1. Fonts   2. Tokens   3. Reset + base   4. Layout   5. Type
   6. Header + menu   7. Buttons + links   8. Sections + floods
   9. Components   10. Footer   11. Overlays (grain, cursor, curtain)
   12. Scenes   13. Utilities + motion states
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo-VF.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo-Italic-VF.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("../assets/fonts/FragmentMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
/* registered so colour floods can transition text and lines with the background */
@property --fg { syntax: "<color>"; inherits: true; initial-value: #F3F2EE; }
@property --fg-2 { syntax: "<color>"; inherits: true; initial-value: #A6A6B0; }
@property --fg-3 { syntax: "<color>"; inherits: true; initial-value: #6E6E78; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(243, 242, 238, .10); }
@property --line-2 { syntax: "<color>"; inherits: true; initial-value: rgba(243, 242, 238, .18); }
:root {
  color-scheme: dark;
  --bg: #0A0A0C;
  --bg-2: #121216;
  --bg-3: #1A1A20;
  --fg: #F3F2EE;
  --fg-2: #A6A6B0;
  --fg-3: #6E6E78;
  --line: rgba(243, 242, 238, .10);
  --line-2: rgba(243, 242, 238, .18);

  --accent: #FF5A1F;
  --accent-2: #FF7442;
  --on-accent: #0A0A0C;

  --c-web: #3B5BFF;
  --c-apps: #FF5A1F;
  --c-motion: #FF4D9D;
  --c-ads: #FFD23F;
  --c-brand: #8C6CFF;
  --c-decks: #23D5A0;
  --c-spatial: #29C6FF;
  --c-care: #B8F53D;

  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(16px, 2.4vw, 36px);
  --max: 1720px;
  --header-h: 76px;

  --fs-mega: clamp(64px, 14.5vw, 280px);
  --fs-display: clamp(48px, 8.6vw, 164px);
  --fs-h2: clamp(38px, 5.8vw, 104px);
  --fs-h3: clamp(26px, 2.8vw, 44px);
  --fs-h4: clamp(20px, 1.7vw, 26px);
  --fs-lead: clamp(19px, 1.55vw, 25px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-mono: 12px;

  --radius: 18px;
  --radius-sm: 10px;

  /* section colour state, flipped by floods */
  --sec-bg: var(--bg);
  --sec-fg: var(--fg);
}

/* 3. Reset + base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); transition: --fg .7s var(--ease), --fg-2 .7s var(--ease), --fg-3 .7s var(--ease), --line .7s var(--ease), --line-2 .7s var(--ease); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .7s var(--ease), color .7s var(--ease);
}
img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 13px; transition: top .2s;
}
.skip:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 4. Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { position: relative; padding-block: clamp(96px, 14vw, 220px); }
.section--tight { padding-block: clamp(64px, 9vw, 140px); }
.section + .section { border-top: 0; }
.stack > * + * { margin-top: var(--stack, 1.25em); }
.span-12 { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .span-6 { grid-column: span 6; }
  .span-5 { grid-column: span 5; }
  .span-7 { grid-column: span 7; }
  .span-4 { grid-column: span 4; }
  .span-8 { grid-column: span 8; }
  .start-7 { grid-column-start: 7; }
  .start-5 { grid-column-start: 5; }
  .start-4 { grid-column-start: 4; }
}

/* 5. Type ----------------------------------------------------------------- */
.mega, .display, .h2, .h3 {
  font-family: var(--sans);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: .9;
  text-wrap: balance;
}
.mega { font-size: var(--fs-mega); letter-spacing: -0.045em; line-height: .84; }
.display { font-size: var(--fs-display); }
.h2 { font-size: var(--fs-h2); line-height: .92; }
.h3 { font-size: var(--fs-h3); line-height: 1; letter-spacing: -0.025em; font-weight: 750; }
.h4 { font-size: var(--fs-h4); font-stretch: 112%; font-weight: 650; letter-spacing: -0.01em; line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.38; color: var(--fg-2); max-width: 34ch; font-stretch: 100%; text-wrap: pretty; }
.lead strong, .body strong { color: var(--fg); font-weight: 600; }
.body { color: var(--fg-2); max-width: 60ch; text-wrap: pretty; }
.small { font-size: var(--fs-small); }
.mono, .eyebrow, .label {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: .02em;
  line-height: 1.4;
  font-weight: 400;
}
.eyebrow, .label { text-transform: uppercase; letter-spacing: .08em; color: var(--fg-2); }
.label { display: inline-flex; align-items: center; gap: .75em; }
.label__no { color: var(--accent); }
.accent { color: var(--accent); }
.outline-text { -webkit-text-fill-color: transparent; -webkit-text-stroke: max(1.5px, .012em) currentColor; }
.tnum { font-variant-numeric: tabular-nums; }
.italic { font-style: italic; font-weight: 300; font-stretch: 100%; }

/* SplitText line masks (SplitText names them "<linesClass>-mask" variants): give
   descenders and accents room inside the clip without changing the line spacing */
[data-reveal] > [class*="mask"] { padding-block: .06em .16em; margin-block: -.06em -.16em; }
.split-line { display: block; }

/* 6. Header + menu -------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  pointer-events: none;
  transition: transform .6s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.header__bar {
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.header__bar > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; color: var(--fg); height: 22px; }
.logo svg { height: 100%; width: auto; }
.header__nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center;
  height: 40px; padding-inline: 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; font-stretch: 105%; color: var(--fg);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.nav-link:hover { background: rgba(243, 242, 238, .08); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}
.header__right { display: flex; align-items: center; gap: 10px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(18, 18, 22, .62);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--fg); white-space: nowrap;
}
.status-pill b { font-weight: 400; color: var(--fg-2); }
.on-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 0 rgba(255, 90, 31, .5), 0 0 12px rgba(255, 90, 31, .9);
  animation: on-breathe 2.8s var(--ease-io) infinite;
}
@keyframes on-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .45), 0 0 10px rgba(255, 90, 31, .8); }
  50% { box-shadow: 0 0 0 6px rgba(255, 90, 31, 0), 0 0 16px rgba(255, 90, 31, 1); }
}
.menu-btn {
  display: none; align-items: center; gap: 10px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-size: 14px; font-weight: 600; font-stretch: 110%;
}
.menu-btn__icon { position: relative; width: 14px; height: 8px; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 6.4px; }
.menu-open .menu-btn__icon::before { top: 3.2px; transform: rotate(45deg); }
.menu-open .menu-btn__icon::after { top: 3.2px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 28px;
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease); }
.menu__links { display: flex; flex-direction: column; gap: 2px; }
.menu__link {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(44px, 11vw, 96px); font-stretch: 125%; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  padding-block: 4px;
}
.menu__link .mono { color: var(--accent); font-size: 12px; letter-spacing: .04em; transform: translateY(-1.6em); }
.menu__label { display: flex; flex-direction: column; }
.menu__label small { margin-top: 8px; font-family: var(--mono); font-size: 12px; font-weight: 400; font-stretch: 100%; letter-spacing: .02em; line-height: 1.3; color: var(--fg-2); }
.menu__link.accent .menu__label small { color: var(--fg-2); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--fg-2); }
.menu-open { overflow: hidden; }

@media (max-width: 1000px) {
  .header__nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header__right { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .status-pill .status-pill__long { display: none; }
  .logo { height: 19px; }
}

/* 7. Buttons + links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--fg); --btn-fg: var(--bg);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 58px; padding: 0 28px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 16px; font-weight: 600; font-stretch: 112%; letter-spacing: -0.005em;
  overflow: hidden; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s;
  will-change: transform;
}
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--dark { --btn-bg: var(--bg); --btn-fg: var(--fg); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-hover, var(--accent));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn--accent::before { --btn-hover: var(--fg); }
.btn--ghost::before { --btn-hover: var(--fg); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost:hover { color: var(--bg); }
.btn--accent:hover { color: var(--bg); }
.btn:not(.btn--accent):not(.btn--ghost):hover { color: var(--on-accent); }
/* rolling label */
.roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.2; height: 1.2em; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.roll > span + span { position: absolute; inset: 100% 0 auto 0; }
.btn:hover .roll > span, .roll-host:hover .roll > span { transform: translateY(-100%); }
.btn__arrow { width: 14px; height: 14px; transition: transform .55s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: .5em; font-weight: 550;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0% 1.5px; background-position: 100% 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: 110%; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.arrow-link:hover svg { transform: translate(3px, -3px); }

/* 8. Sections + floods ---------------------------------------------------- */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; align-items: end; margin-bottom: clamp(48px, 7vw, 110px); }
.sec-head__label { grid-column: 1 / -1; }
.sec-head__title { grid-column: 1 / -1; }
.sec-head__aside { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .sec-head__title { grid-column: 1 / span 8; }
  .sec-head__aside { grid-column: 9 / -1; justify-self: end; }
}
/* A flood swaps the colour TOKENS, so every component adapts by itself.
   Dark surfaces (cards, stages, pills) re-assert their own light tokens. */
html.is-flood {
  --fg: var(--flood-fg, #0A0A0C);
  --fg-2: color-mix(in srgb, var(--flood-fg, #0A0A0C) 76%, transparent);
  --fg-3: color-mix(in srgb, var(--flood-fg, #0A0A0C) 58%, transparent);
  --line: color-mix(in srgb, var(--flood-fg, #0A0A0C) 16%, transparent);
  --line-2: color-mix(in srgb, var(--flood-fg, #0A0A0C) 32%, transparent);
}
html.is-flood body { background: var(--flood, var(--accent)); color: var(--fg); }
:is(.tile, .lab-item, .contact-form, .form-success, .definition, .dhero__stage, .studio-name__stage, .status-pill, .menu, .playground__stage, .ring__stage, .deal__pin, .cursor) {
  --fg: #F3F2EE; --fg-2: #A6A6B0; --fg-3: #6E6E78; --line: rgba(243, 242, 238, .10); --line-2: rgba(243, 242, 238, .18);
  color: var(--fg);
}
html.is-flood :is(.label__no, .step__no, .rule__no, .faq-nav .mono) { color: currentColor; }
html.is-flood .header .nav-link:hover { background: color-mix(in srgb, var(--flood-fg, #0A0A0C) 10%, transparent); }
html.is-flood .status-pill { background: rgba(10, 10, 12, .92); border-color: transparent; }
html.is-flood .header__cta { --btn-bg: #0A0A0C; --btn-fg: #F3F2EE; }
html.is-flood .header__cta::before { --btn-hover: #F3F2EE; }
html.is-flood .header__cta:hover { color: #0A0A0C; }
html.is-flood .btn--ghost { --btn-fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
html.is-flood .on-flood-hide { opacity: 0; }

/* 9. Components ----------------------------------------------------------- */

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden; isolation: isolate;
}
.hero__scene { position: absolute; inset: 0; z-index: -1; }
.hero__inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; }
.hero__status { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--fg); }
.hero__title { grid-column: 1 / -1; max-width: 9.5ch; }
.hero__sub { grid-column: 1 / -1; }
.hero__ctas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  position: relative; margin-top: clamp(40px, 6vw, 80px);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid var(--line); padding-top: 18px;
  font-family: var(--mono); font-size: 12px; color: var(--fg-2); text-transform: uppercase; letter-spacing: .06em;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue__bar { position: relative; width: 1px; height: 28px; background: var(--line-2); overflow: hidden; }
.scroll-cue__bar::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--fg); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { top: -40%; } 60%, 100% { top: 100%; } }
@media (min-width: 900px) {
  .hero__title { grid-column: 1 / span 8; }
  .hero__sub { grid-column: 1 / span 5; }
}

/* Marquee-ish kinetic rows ------------------------------------------------ */
.kinetic { overflow: hidden; white-space: nowrap; padding-block: .04em .22em; }
.kinetic + .kinetic { margin-top: -.14em !important; }
.kinetic__row { display: inline-flex; align-items: center; gap: .3em; will-change: transform; }
.kinetic__row > span { display: inline-block; flex: none; }
.kinetic__row > .kinetic__dot { width: .14em; height: .14em; border-radius: 50%; background: currentColor; margin-inline: .08em; }

/* Promise pair ------------------------------------------------------------ */
.promises { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { border-top: 1.5px solid currentColor; padding-top: 22px; }
.promise__no { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.promise__title { margin-top: 18px; font-size: var(--fs-h3); font-stretch: 125%; font-weight: 800; letter-spacing: -.03em; line-height: .98; }
.promise__body { margin-top: 14px; max-width: 38ch; font-size: 18px; line-height: 1.45; }

/* Division list rows ----------------------------------------------------- */
.div-list { border-top: 1px solid var(--line); }
.div-row {
  --c: var(--accent);
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
  isolation: isolate; overflow: hidden;
  transition: color .45s var(--ease), padding .45s var(--ease);
}
.div-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease);
}
.div-row:hover, .div-row.is-hot { color: #0A0A0C; padding-inline: 18px 14px; }
.div-row:hover::before, .div-row.is-hot::before { transform: scaleY(1); }
.div-row__chip { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); transition: background .3s; }
.div-row:hover .div-row__chip, .div-row.is-hot .div-row__chip { background: #0A0A0C; box-shadow: none; }
.div-row__name { font-size: clamp(26px, 3.4vw, 52px); font-stretch: 125%; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.div-row__name small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; font-weight: 400; color: var(--fg-2); transition: color .3s; }
.div-row:hover .div-row__name small, .div-row.is-hot .div-row__name small { color: rgba(10, 10, 12, .72); }
.div-row__go { width: 22px; height: 22px; opacity: .45; transition: transform .5s var(--ease), opacity .3s; }
.div-row:hover .div-row__go { opacity: 1; transform: rotate(-45deg); }

/* Cards / tiles ---------------------------------------------------------- */
.tile {
  position: relative; border-radius: var(--radius); background: var(--bg-2);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .4s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-3); overflow: hidden; }
.tile__media canvas { width: 100%; height: 100%; }
.tile__body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.tile__title { font-size: 20px; font-stretch: 115%; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.tile__text { color: var(--fg-2); font-size: 15px; line-height: 1.45; }
.tile__tag { position: absolute; left: 14px; top: 14px; z-index: 2; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: rgba(10, 10, 12, .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg);
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--accent)); }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step__no { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 6px; }
.step__title { font-size: var(--fs-h4); font-stretch: 120%; font-weight: 750; letter-spacing: -.02em; }
.step__text { margin-top: 8px; color: var(--fg-2); max-width: 52ch; }
.step__time { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) {
  .step { grid-template-columns: 1fr 1.2fr 1.6fr 0.8fr; align-items: baseline; padding: 34px 0; }
  .step__text { margin-top: 0; }
  .step__time { margin-top: 0; text-align: right; }
}

/* Stat / promise tiles --------------------------------------------------- */
.stats { display: grid; gap: var(--gutter); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { border-top: 1.5px solid var(--line-2); padding-top: 20px; }
.stat__value { font-size: clamp(48px, 6.4vw, 108px); font-stretch: 125%; font-weight: 800; letter-spacing: -.045em; line-height: .9; }
.stat__value small { font-size: .38em; letter-spacing: -.02em; margin-left: .12em; }
.stat__label { margin-top: 14px; color: var(--fg-2); max-width: 30ch; }

/* FAQ -------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; gap: 20px; align-items: center;
  padding: 26px 0; font-size: clamp(19px, 1.7vw, 25px); font-stretch: 112%; font-weight: 650; letter-spacing: -.012em; line-height: 1.25;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .35s, border-color .35s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 54px 28px 0; color: var(--fg-2); max-width: 70ch; }
.faq__a p + p { margin-top: .8em; }

/* Definition block ------------------------------------------------------- */
.definition { border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 44px); background: var(--bg-2); }
.definition__word { font-size: clamp(54px, 9vw, 150px); font-stretch: 125%; font-weight: 800; letter-spacing: -.045em; line-height: .9; }
.definition__meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 13px; color: var(--fg-2); }
.definition__text { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.4; max-width: 36ch; }

/* Forms ------------------------------------------------------------------ */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 10px; }
.field__label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.input, .textarea, .select {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--line-2); background: transparent; color: var(--fg);
  padding: 12px 0 14px; font-size: 22px; font-stretch: 105%; font-weight: 450; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.4; }
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); }
.field.has-error .input, .field.has-error .textarea { border-color: #FF5A5A; }
.field__error { color: #FF8A7A; font-size: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line-2); font-size: 15px; font-weight: 550; font-stretch: 108%;
  transition: background .3s, border-color .3s, color .3s;
}
.choice span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.choice input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Tables ----------------------------------------------------------------- */
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); padding: 0 16px 14px 0; border-bottom: 1px solid var(--line-2); }
.table td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td:first-child { font-weight: 650; font-stretch: 110%; }
@media (max-width: 760px) {
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 4px 0; }
  .table td[data-th]::before { content: attr(data-th); display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); margin-bottom: 2px; }
}

/* Big CTA ---------------------------------------------------------------- */
.cta-block { position: relative; text-align: left; }
.cta-block__line { font-size: var(--fs-mega); font-stretch: 125%; font-weight: 800; letter-spacing: -.05em; line-height: .84; }
.cta-block__row { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Page hero (sub pages) -------------------------------------------------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(60px, 10vw, 150px)); padding-bottom: clamp(48px, 7vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero__scene { position: absolute; inset: 0; z-index: -1; }
.page-hero__crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); margin-bottom: 28px; }
.page-hero__crumbs a:hover { color: var(--fg); }
.page-hero__title { max-width: 12ch; }
.page-hero__lead { margin-top: 28px; }

/* 10. Footer -------------------------------------------------------------- */
.footer { position: relative; padding-top: clamp(80px, 10vw, 150px); padding-bottom: 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__tag { font-size: clamp(30px, 3.4vw, 54px); font-stretch: 125%; font-weight: 800; letter-spacing: -.035em; line-height: .95; max-width: 11ch; }
.footer__col h3 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { color: var(--fg-2); transition: color .25s; }
.footer__status { margin-top: 28px; display: flex; align-items: center; gap: 10px; color: var(--fg-2); }
.footer__k { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 2px; }
.footer__col li:has(.footer__k) + li { margin-top: 14px; }
.footer__col a:hover { color: var(--fg); }
.footer__mark { margin-top: clamp(64px, 9vw, 130px); color: var(--fg); }
.footer__mark svg { width: 100%; height: auto; }
.footer__bottom { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.footer__bottom a:hover { color: var(--fg); }

/* 11. Overlays ------------------------------------------------------------ */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 300; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; mix-blend-mode: difference; }
.cursor.is-label { mix-blend-mode: normal; }
.has-cursor .cursor { display: block; }
.cursor__dot {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #F3F2EE;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s;
}
.cursor.is-hover .cursor__dot { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.cursor.is-label .cursor__dot { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--accent); }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-accent); white-space: nowrap;
  transition: opacity .3s, transform .45s var(--ease);
}
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-down .cursor__dot { transform: scale(.82); }
.cursor__dot { transition-property: width, height, margin, background-color, transform; }

.curtain {
  position: fixed; inset: 0; z-index: 500; pointer-events: none;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  transform: translateY(100%);
}
.curtain__mark { width: clamp(56px, 7vw, 96px); opacity: 0; }
.curtain__label { position: absolute; left: var(--gutter); bottom: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; }
.is-entering .curtain { transform: translateY(0); }
.is-entering .curtain__mark { opacity: 1; }

/* 12. Scenes -------------------------------------------------------------- */
:where(.scene) { position: relative; width: 100%; height: 100%; }
.scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; }
.scene__fallback { position: absolute; inset: 0; display: none; }
.no-webgl .scene__fallback, .scene.is-fallback .scene__fallback { display: block; }
.scene-hint { position: absolute; z-index: 3; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); display: inline-flex; align-items: center; gap: 10px; }
.scene-hint svg { width: 16px; height: 16px; }

/* 13. Utilities + motion states ------------------------------------------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; } .mt-xl { margin-top: 120px; }
.center { text-align: center; }
.muted { color: var(--fg-2); }
.nowrap { white-space: nowrap; }
.hide-mobile { } @media (max-width: 760px) { .hide-mobile { display: none !important; } }
.show-mobile { display: none !important; } @media (max-width: 760px) { .show-mobile { display: initial !important; } }

/* Elements animated by JS start hidden only while the motion layer is expected
   (html.reveal is set in <head>, removed by app.js if GSAP failed to load) */
html.reveal [data-reveal]:not(.is-revealed) { visibility: hidden; }
html.reduced [data-reveal] { visibility: visible !important; }
html:not(.js) .js-only { display: none !important; }
.no-js-only { display: none; }
html:not(.js) .no-js-only { display: inline; }
[data-config-row]:has(a[data-config]:empty) { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
}
@media print {
  .header, .grain, .cursor, .curtain, .menu { display: none !important; }
  body { background: #fff; color: #000; }
}

/* home: process durations + CTA sub */
.durations { color: var(--fg-3); letter-spacing: .02em; }
.cta-block__sub { max-width: 40ch; color: currentColor; opacity: .8; }

/* while holding something under a label cursor, get out of the way: thin ring, no label */
.cursor.is-down.is-label .cursor__dot { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: transparent; box-shadow: 0 0 0 1.5px var(--accent); transform: none; }
.cursor.is-down.is-label .cursor__label { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
