/* ==========================================================================
   LYOH Studio, design system v2 (Oct 2026)
   Light-first. Sky blue leads, hill green supports. One ground per theme.
   Loaded by the redesigned pages only; the legacy style.css stays in place
   for pages that have not been moved over yet.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* palette, light (the primary experience) */
  --ground: #E4EDF7;          /* pale sky, below the cloud line */
  --surface: #F7FAFD;
  --surface-2: #D9E4F0;
  --ink: #121A22;             /* cool slate ink, not espresso */
  --ink-2: #2B3640;
  --muted: #56616B;
  --rule: rgba(18, 26, 34, .12);
  --rule-strong: rgba(18, 26, 34, .22);

  --sky: #2E6389;             /* the accent */
  --sky-ink: #24506F;         /* accent text on light, higher contrast */
  --sky-tint: #CCDDF1;
  --sky-wash: #BCD3EC;
  --hill: #3D6A54;            /* the quieter supporting tone */
  --hill-tint: #D6E7DD;

  /* the sky itself (backgrounds only; brand accent stays --sky) */
  --sky-top: #245DBF;
  --sky-mid: #3F7FD7;
  --sky-low: #86B6EC;
  --sky-haze: #C7DDF6;
  --cloud-dim: 1;

  --on-solid: #F8F8F5;        /* text on ink / sky buttons */
  --shadow: 0 24px 60px -32px rgba(22, 52, 74, .38), 0 2px 6px -2px rgba(22, 52, 74, .10);

  /* type */
  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(4.5rem, 3rem + 6vw, 8.5rem);   /* section rhythm */
  --nav-h: 68px;

  /* shape: soft system. Cards 16px, media 12px, every control is a full pill */
  --r-card: 16px;
  --r-media: 12px;
  --r-pill: 999px;

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  color-scheme: light;
}

:root[data-theme="dark"] {
  /* Night over the hills: deep navy ground, moonlit clouds, luminous sky-cyan.
     Its own design, not an inversion of the day. */
  --ground: #08101E;
  --surface: #0F1A2D;
  --surface-2: #16243B;
  --ink: #EAF1FA;
  --ink-2: #C4D1E3;
  --muted: #8E9FB8;
  --rule: rgba(160, 190, 235, .14);
  --rule-strong: rgba(160, 190, 235, .28);

  --sky: #8CCBFF;          /* moonlit sky-cyan accent */
  --sky-ink: #A9D8FF;
  --sky-tint: #13284A;
  --sky-wash: #1B3560;
  --hill: #7FD8AE;         /* aurora green, the supporting tone */
  --hill-tint: #0F2A26;

  --on-solid: #06101E;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(160, 190, 235, .06);
  --glow: 0 0 0 1px rgba(140, 203, 255, .25), 0 18px 60px -18px rgba(140, 203, 255, .35);

  --sky-top: #030713;
  --sky-mid: #0A1730;
  --sky-low: #17305A;
  --sky-haze: #1E3D6B;
  --cloud-dim: 1;

  color-scheme: dark;
}

/* ---------- 2. Base + mobile-native floor ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--ground);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }

/* controls: instant tap, no long-press text selection, no callout */
a, button, [role="button"], label, summary {
  touch-action: manipulation;
}
button, .btn, .chip, .nav__links a, .rail__btn, .says__dot {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* iOS zooms on focus below 16px */
input, textarea, select { font: inherit; font-size: 16px; }

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--ground);
  padding: .7rem 1.1rem; border-radius: var(--r-pill);
  transition: top .2s var(--ease);
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

::selection { background: var(--sky-wash); color: var(--ink); }

/* z-index scale: 1 content lift, 5 hero front weather, 40 nav, 50 menu, 100 skip */

/* ---------- 3. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}

.sec { padding-block: var(--sec); position: relative; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec--flush-top { padding-top: 0; }

/* ---------- 4. Type ---------- */
.h-display, .h-sec, .hero__title, .cta__title {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 108%;
  font-variation-settings: "wdth" 108;
  letter-spacing: -.035em;
  line-height: 1;
  text-wrap: balance;
  color: var(--ink);
}
.hero__title { text-wrap: pretty; }
.h-sec { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); line-height: 1.02; }
.h-sec em, .hero__title em, .cta__title em {
  font-style: italic;
  color: var(--sky);
  padding-right: .03em;   /* italic overhang */
}

.lede {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 54ch;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky-ink);
}

.head { display: grid; gap: 1.25rem; max-width: 60rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }

/* ---------- 5. Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--rule-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform .14s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn i { font-size: .85em; transition: transform .3s var(--ease); }
.btn--solid { --bg: var(--ink); --fg: var(--ground); --bd: var(--ink); }
.btn--sky { --bg: var(--sky); --fg: var(--on-solid); --bd: var(--sky); }
.btn--ghost { --bg: color-mix(in srgb, var(--surface) 70%, transparent); }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .95rem; }

/* press feedback lands on pointer-down, for touch and mouse alike */
.btn:active { transform: scale(.97); }

@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { --bg: var(--sky); --bd: var(--sky); --fg: var(--on-solid); }
  .btn--sky:hover { --bg: var(--ink); --bd: var(--ink); --fg: var(--ground); }
  .btn--ghost:hover { --bd: var(--ink); --bg: var(--surface); }
  .btn:hover i { transform: translateX(3px); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: .2rem;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link-arrow i { font-size: .8em; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--sky-ink); border-color: var(--sky); }
  .link-arrow:hover i { transform: translate(2px, -2px); }
}

/* ---------- 6. Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  color: var(--ink);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled { background: var(--ground); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.nav__bar {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.nav__mark {
  justify-self: start;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -.04em;
  text-transform: lowercase;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav__mark b { font-weight: 600; color: var(--sky); }
.nav__links { display: flex; gap: .25rem; }
.nav__links a {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 1rem;
  border-radius: var(--r-pill);
  font-size: .975rem;
  color: var(--ink-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__links a[aria-current="page"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
}
.nav__end { justify-self: end; display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  transition: transform .14s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.icon-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { background: var(--surface); border-color: var(--ink); }
}
.tog .fa-sun { display: none; }
:root[data-theme="dark"] .tog .fa-sun { display: inline-block; }
:root[data-theme="dark"] .tog .fa-moon { display: none; }

.burger { display: none; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__bar { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-grid; place-content: center; }
}

/* mobile menu sheet */
.menu {
  position: fixed; inset: 0; z-index: 50;
  background: var(--ground);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.5rem) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(1.5rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  overscroll-behavior: contain;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.menu[hidden] { display: none; }
.menu__links { display: grid; gap: .25rem; }
.menu__links a {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108;
  font-size: clamp(2.4rem, 10vw, 3.4rem); letter-spacing: -.035em; line-height: 1.1;
  padding: .35rem 0;
  transform: translateY(14px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s;
}
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .08s; }
.menu__links a:active { color: var(--sky); }
.menu__cta { margin-top: 2rem; align-self: flex-start; }
.menu__foot {
  margin-top: auto; padding-top: 2rem;
  display: grid; gap: .35rem;
  color: var(--muted); font-size: .95rem;
}
.menu__foot a { color: var(--ink); overflow-wrap: anywhere; }
body.menu-open { overflow: hidden; }
/* the bar sits above the sheet so the close button stays reachable */
body.menu-open .nav { z-index: 60; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- 7. The sky: grain + painted clouds ---------- */
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sky--front { z-index: 5; }
.sky__grain {
  position: absolute; inset: 0; z-index: 0; opacity: .22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* three layers per cloud: .cl places it and carries scroll parallax,
   .cl__in carries the entrance, the img carries the slow drift */
.cl { position: absolute; display: block; }
.cl__in { display: block; transition: translate 1.6s var(--ease), opacity 1.2s var(--ease), scale 1.6s var(--ease); }
.cl img { display: block; width: 100%; height: auto; opacity: var(--cloud-dim); }
/* clouds frame the copy, never sit behind it: a big one behind the window,
   one peeking out of the window's left edge, a small one up high */
.cl--b { width: clamp(300px, 40vw, 640px); right: clamp(-200px, -9vw, -40px); top: 7%; }
.cl--a { width: clamp(260px, 30vw, 520px); left: 47%; top: 34%; }
.cl--d { width: clamp(140px, 13vw, 230px); left: 40%; top: 9%; }
.cl--c { width: clamp(170px, 17vw, 300px); right: 3%; bottom: 15%; }
.cl--bank { left: -3%; right: -3%; bottom: -2px; }
.cl--bank img { width: 100%; min-width: 900px; }
@media (max-width: 900px) {
  /* stacked hero: the copy owns the top, the clouds gather round the window below it */
  .cl--d { display: none; }
  .cl--b { width: 78vw; right: -34vw; top: auto; bottom: 30%; }
  .cl--a { width: 70vw; left: -32vw; top: auto; bottom: 22%; }
  .cl--c { width: 40vw; right: 6%; bottom: 7%; }
}
.hero .sky--front::after {           /* the bank settles into the page colour */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9%;
  background: linear-gradient(to bottom, transparent, var(--ground));
}

@media (prefers-reduced-motion: no-preference) {
  .cl img { animation: cloud-drift var(--drift, 70s) ease-in-out infinite alternate; }
  .cl--a img { --drift: 64s; }
  .cl--b img { --drift: 82s; animation-delay: -20s; }
  .cl--c img { --drift: 48s; animation-delay: -12s; }
  .cl--d img { --drift: 56s; animation-delay: -30s; }
  .cl--bank img { --drift: 120s; --dx: 2%; }
  /* entrance: clouds part from the sides as the page loads */
  .js body:not(.is-ready) .cl--a .cl__in, .js body:not(.is-ready) .cl--d .cl__in { translate: -18% 4%; opacity: 0; }
  .js body:not(.is-ready) .cl--b .cl__in, .js body:not(.is-ready) .cl--c .cl__in { translate: 18% 4%; opacity: 0; }
  .js body:not(.is-ready) .cl--bank .cl__in { translate: 0 30%; opacity: 0; }
  .cl--b .cl__in, .cl--c .cl__in { transition-delay: .1s; }
  .cl--bank .cl__in { transition-delay: .2s; }
}
@keyframes cloud-drift { from { transform: translate3d(calc(var(--dx, 5%) * -1), 0, 0); } to { transform: translate3d(var(--dx, 5%), 0, 0); } }

/* parallax against scroll: far clouds lag, the bank and near cloud rush past */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero .cl--a, .hero .cl--b { animation: px-slow linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero .cl--d { animation: px-mid linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero .cl--c, .hero .cl--bank { animation: px-fast linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes px-slow { to { transform: translate3d(0, 22vh, 0); } }
@keyframes px-mid  { to { transform: translate3d(0, 10vh, 0); } }
@keyframes px-fast { to { transform: translate3d(0, -12vh, 0); } }

/* clouds drifting between sections; main clips them so the page never scrolls sideways */
main { overflow-x: clip; }
.drift { position: relative; height: 0; z-index: 0; pointer-events: none; }
.drift img { position: absolute; opacity: .9; width: clamp(180px, 22vw, 360px); height: auto; }
.drift--1 img { right: -4%; top: -120px; }
.drift--2 img { left: -3%; top: -90px; width: clamp(150px, 16vw, 260px); }
.drift--3 img { right: -6%; top: -170px; width: clamp(220px, 28vw, 460px); }
.drift--4 img { left: 6%; top: -100px; width: clamp(140px, 14vw, 240px); }
:root[data-theme="dark"] .drift img { opacity: .18; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift img { animation: drift-pass linear both; animation-timeline: view(); animation-range: cover; }
    .drift--2 img, .drift--4 img { animation-name: drift-pass-r; }
  }
}
@keyframes drift-pass   { from { transform: translate3d(14vw, 40px, 0); } to { transform: translate3d(-10vw, -60px, 0); } }
@keyframes drift-pass-r { from { transform: translate3d(-12vw, 30px, 0); } to { transform: translate3d(10vw, -50px, 0); } }
.sec, .facts, .brands { position: relative; z-index: 1; }
.sec > .wrap, .facts > .wrap, .brands > .wrap { position: relative; z-index: 1; }

/* white type on the sky (hero copy, CTA, nav at the top of the page) */
.on-sky, .nav:not(.is-scrolled) {
  --ink: #FFFFFF;
  --ink-2: rgba(255, 255, 255, .9);
  --muted: rgba(255, 255, 255, .78);
  --rule: rgba(255, 255, 255, .3);
  --rule-strong: rgba(255, 255, 255, .5);
  --sky: #FFFFFF;
  --sky-ink: #FFFFFF;
  --surface: rgba(255, 255, 255, .16);
}
.on-sky .btn--solid, .nav:not(.is-scrolled) .btn--solid { --bg: #FFFFFF; --fg: #163A75; --bd: #FFFFFF; }
.on-sky .btn--ghost {
  --bg: rgba(255, 255, 255, .14); --fg: #FFFFFF; --bd: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) {
  .on-sky .btn--solid:hover, .nav:not(.is-scrolled) .btn--solid:hover { --bg: #163A75; --fg: #FFFFFF; --bd: #163A75; }
  .on-sky .btn--ghost:hover { --bg: rgba(255, 255, 255, .26); --bd: #FFFFFF; }
  .nav:not(.is-scrolled) .nav__links a:hover { background: rgba(255, 255, 255, .14); }
}
.on-sky .hero__eyebrow { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__title, .cta__title { text-shadow: 0 2px 30px rgba(18, 52, 110, .18); }
:root[data-theme="dark"] .on-sky .btn--solid { --fg: #0E141A; }
/* the menu sheet is on the page colour, so the bar goes back to ink while it's open */
body.menu-open .nav {
  --ink: #121A22; --ink-2: #2B3640; --rule-strong: rgba(18, 26, 34, .22);
}
:root[data-theme="dark"] body.menu-open .nav { --ink: #E8ECEF; --ink-2: #C7D0D7; --rule-strong: rgba(232, 236, 239, .24); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(1.5rem, 3vw, 3.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 34%, var(--sky-low) 70%, var(--sky-haze) 92%, var(--ground) 100%);
  padding-bottom: clamp(7rem, 14vw, 13rem);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; position: relative; z-index: 6; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .9rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--rule);
  max-width: 100%;
}
.hero__title {
  font-size: clamp(2.4rem, 1.2rem + 4.3vw, 4.6rem);
  line-height: 1.04;           /* clears the descender in the italic "brighter" */
  padding-bottom: .06em;
  max-width: 16ch;
}
.hero__lede { max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* the floating project window */
.hero__stage { position: relative; z-index: 2; perspective: 1400px; }
.hero .sky { z-index: 0; }
.hero .sky--front { z-index: 4; }
.win {
  position: relative;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .5);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg) translateZ(0);
  transform-origin: 30% 50%;
  transition: transform .9s var(--ease);
  will-change: transform;
}
:root[data-theme="dark"] .win { box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06); }
.win__bar {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--rule);
}
.win__dots { display: flex; gap: 6px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-strong); flex-shrink: 0; }
.win__url {
  min-width: 0;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .02em; color: var(--muted);
  background: var(--ground);
  border-radius: var(--r-pill);
  padding: .4rem .9rem;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  text-align: center;
}
.win__count { font-family: var(--mono); font-size: .68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.win__view { position: relative; aspect-ratio: 4 / 3.15; background: var(--surface-2); }
.win__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease-in-out);
}
.win__slide.is-active { opacity: 1; z-index: 1; }
.win__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.win__slide.is-active img { transform: scale(1); }
.win__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(10, 16, 22, .72), rgba(10, 16, 22, 0));
  color: #F4F6F7;
}
.win__cap-t { min-width: 0; display: grid; gap: .15rem; }
.win__cap-t b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: anywhere; }
.win__cap-t span { font-size: .85rem; opacity: .85; }
.win__go {
  flex-shrink: 0;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(244, 246, 247, .16); border: 1px solid rgba(244, 246, 247, .3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease), transform .14s var(--ease);
}
.win__go:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .win__view a:hover .win__go { background: rgba(244, 246, 247, .32); }
}
.win__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3; background: rgba(244, 246, 247, .18); }
.win__progress i { display: block; height: 100%; width: 100%; background: #F4F6F7; transform-origin: left; transform: scaleX(0); }
.win.is-playing .win__progress i { animation: win-progress var(--slide-ms, 5200ms) linear forwards; }
@keyframes win-progress { to { transform: scaleX(1); } }

/* ---------- 9. Facts band (stats + disciplines) ---------- */
.facts { padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat b {
  display: block;
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108;
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat small { display: block; margin-top: .55rem; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.disciplines { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 0 .95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  font-size: .92rem; color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- 10. Capabilities (index list + hover preview) ---------- */
.caps { position: relative; }
.caps__list { border-top: 1px solid var(--rule); }
.cap a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.4rem, 1rem + 1.2vw, 2.2rem) 0;
  border-bottom: 1px solid var(--rule);
  transition: color .3s var(--ease);
}
.cap__media { display: none; }
.cap__name {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104;
  font-size: clamp(1.45rem, 1rem + 1.6vw, 2.5rem);
  letter-spacing: -.03em; line-height: 1.08;
  transition: transform .5s var(--ease), color .3s var(--ease);
}
.cap__desc { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.cap__arrow {
  width: 48px; height: 48px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--rule-strong);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.cap a:active .cap__arrow { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .caps__list:hover .cap a { color: var(--muted); }
  .caps__list:hover .cap a:hover { color: var(--ink); }
  .cap a:hover .cap__name { transform: translateX(.6rem); color: var(--sky-ink); }
  .cap a:hover .cap__arrow { background: var(--sky); border-color: var(--sky); color: var(--on-solid); transform: rotate(45deg); }
}
.caps__preview {
  position: fixed; left: 0; top: 0; z-index: 3;
  width: 280px; aspect-ratio: 4 / 5;
  border-radius: var(--r-media); overflow: hidden;
  pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.9);
  transition: opacity .3s var(--ease);
  box-shadow: var(--shadow);
  will-change: transform;
}
.caps__preview.is-on { opacity: 1; }
.caps__preview img { width: 100%; height: 100%; object-fit: cover; }
@media not ((hover: hover) and (pointer: fine)) { .caps__preview { display: none; } }

/* ---------- 11. Work rail ---------- */
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.work__head .head { margin-bottom: 0; }
.rail__btns { display: flex; gap: .5rem; }
.rail__btn:disabled { opacity: .35; cursor: default; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(272px, 34vw, 460px);
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding: clamp(2.25rem, 2rem + 1.5vw, 3.5rem) max(var(--gutter), calc((100vw - var(--max)) / 2)) 1.25rem;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; min-width: 0; }
.card__link { display: grid; gap: 1rem; }
.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-media);
  background: var(--surface-2);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.01);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}
.card.is-lit .card__media img { filter: none; }
@media (hover: hover) and (pointer: fine) {
  .card__link:hover .card__media img { filter: none; transform: scale(1.04); }
  .card__link:hover .card__title { color: var(--sky-ink); }
}
.card__link:active .card__media img { transform: scale(.99); }
.card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 1rem; font-size: .9rem; color: var(--muted); }
/* a long client takes the line and the discipline wraps under it, never a one-letter column */
.card__client { flex: 1 1 12ch; min-width: 0; color: var(--ink); font-weight: 500; overflow-wrap: break-word; }
.card__disc { flex: 0 1 auto; min-width: 0; text-align: right; margin-left: auto; }
.card__title {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104;
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); letter-spacing: -.025em; line-height: 1.15;
  text-wrap: balance;
  transition: color .3s var(--ease);
}
.work__foot { padding-top: 1.75rem; }

/* broken or missing images: keep the box, drop the browser's broken icon and alt text */
.is-missing img { visibility: hidden; }
[hidden] { display: none !important; }
.card__media.is-missing, .win__slide.is-missing { background: linear-gradient(150deg, var(--sky-tint), var(--hill-tint)); }

/* ---------- 12. Brands marquee (the page's one marquee) ---------- */
.brands { padding-block: var(--sec); overflow: hidden; }
.brands .head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.marquee {
  display: flex; 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);
}
.marquee__track { display: flex; flex-shrink: 0; min-width: max-content; animation: marquee var(--marquee-s, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; flex-shrink: 0; gap: clamp(2rem, 4vw, 4.5rem); padding-right: clamp(2rem, 4vw, 4.5rem); }
.marquee__set b {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 112;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); letter-spacing: -.035em; line-height: 1.1;
  white-space: nowrap;
  color: var(--ink);
}
.marquee__set i { color: var(--hill); font-size: clamp(.9rem, .7rem + .6vw, 1.3rem); }
.marquee__set img { height: clamp(32px, 4vw, 56px); width: auto; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; min-width: 0; }
  .marquee__set { flex-wrap: wrap; row-gap: 1rem; }
  .marquee__set[aria-hidden="true"] { display: none; }
}

/* ---------- 13. Sound familiar (sticky title + Q/A) ---------- */
.fam__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.fam__aside { position: sticky; top: calc(var(--nav-h) + 2.5rem); display: grid; gap: 1.25rem; }
.fam__aside .h-sec { max-width: 9ch; }
.fam__list { display: grid; gap: 0; }
.fam__row {
  display: grid; gap: .65rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) 0;
  border-top: 1px solid var(--rule);
}
.fam__row:last-child { border-bottom: 1px solid var(--rule); }
.fam__q {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104;
  font-size: clamp(1.3rem, 1.05rem + .9vw, 1.85rem); letter-spacing: -.025em; line-height: 1.18;
  text-wrap: balance;
}
.fam__a { color: var(--ink-2); max-width: 52ch; }
.fam__a mark { background: none; color: var(--hill); font-weight: 500; }

/* ---------- 14. Process (timeline) ---------- */
.proc__track { position: relative; }
.proc__line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  counter-reset: step;
}
.proc__track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--rule-strong);
}
.proc__fill {
  position: absolute; left: 0; right: 0; top: 6px; height: 3px; border-radius: 3px;
  background: var(--sky);
  transform-origin: left; transform: scaleX(1);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .proc__fill { transform: scaleX(0); animation: fill-line linear both; animation-timeline: view(); animation-range: entry 60% cover 55%; }
  }
}
@keyframes fill-line { to { transform: scaleX(1); } }
.pstep { position: relative; display: grid; gap: .6rem; align-content: start; padding-top: 2.4rem; }
.pstep::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--ground); border: 2px solid var(--sky);
}
.pstep__n { font-family: var(--mono); font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pstep__title {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104;
  font-size: clamp(1.2rem, 1rem + .5vw, 1.45rem); letter-spacing: -.02em; line-height: 1.15;
}
.pstep__body { color: var(--muted); font-size: .97rem; line-height: 1.55; }

/* ---------- 15. What's included (bento of clusters) ---------- */
.inc__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.75rem, 1.4vw, 1.25rem);
}
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  display: grid; align-content: start; gap: 1.1rem;
}
.tile h3 {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104;
  font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); letter-spacing: -.02em; line-height: 1.1;
}
.tile ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.tile li {
  display: inline-flex; align-items: center; min-height: 34px; padding: .35rem .85rem;
  border-radius: var(--r-pill); font-size: .9rem; line-height: 1.25;
  background: color-mix(in srgb, var(--ground) 70%, transparent);
  border: 1px solid var(--rule);
}
.tile--strategy { grid-column: span 5; background: var(--sky-tint); border-color: transparent; }
.tile--identity { grid-column: span 7; }
.tile--image {
  grid-column: span 4; grid-row: span 2;
  color: #F4F6F7; border-color: transparent; background: #1A242D;
  align-content: end; min-height: 420px;
}
.tile--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile--image::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(10, 16, 22, .86) 10%, rgba(10, 16, 22, .15) 70%); }
.tile--image > *:not(img) { position: relative; z-index: 1; }
.tile--image h3 { color: #F4F6F7; }
.tile--image li { background: rgba(244, 246, 247, .12); border-color: rgba(244, 246, 247, .22); color: #F4F6F7; }
.tile--build { grid-column: span 8; }
.tile--handover { grid-column: span 8; background: var(--hill-tint); border-color: transparent; }
.tile--handover li, .tile--strategy li { background: color-mix(in srgb, var(--surface) 72%, transparent); }

/* ---------- 16. Team teaser ---------- */
.team__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.team__copy { display: grid; gap: 1.4rem; justify-items: start; }
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.face { display: grid; gap: .6rem; min-width: 0; }
.face__img {
  aspect-ratio: 3 / 4; border-radius: var(--r-media); overflow: hidden;
  background: linear-gradient(160deg, var(--sky-tint), var(--hill-tint));
}
.face:nth-child(even) .face__img { margin-top: 2.25rem; }
.face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .7s var(--ease); }
.face__name { font-weight: 500; font-size: .95rem; line-height: 1.2; overflow-wrap: anywhere; }
.face__role { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; margin-top: .15rem; }
@media (hover: hover) and (pointer: fine) {
  .faces:hover .face img { transform: scale(1.04); }
}

/* ---------- 17. Testimonials ---------- */
.says__stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; }
.says__list { display: grid; }
.say {
  grid-area: 1 / 1;
  display: grid; gap: 1.75rem;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .5s;
}
.say.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .08s, transform .6s var(--ease) .08s; }
.say blockquote p {
  font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 100;
  font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.6rem);
  letter-spacing: -.025em; line-height: 1.18;
  max-width: 30ch;
  text-wrap: balance;
}
.say--long blockquote p { font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); max-width: 44ch; }
.say__by { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.say__mono {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky-tint); color: var(--sky-ink);
  font-family: var(--mono); font-size: .72rem;
}
.say__who { min-width: 0; display: grid; line-height: 1.35; }
.say__who strong { font-weight: 600; overflow-wrap: anywhere; }
.say__who span { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.says__ui { display: flex; align-items: center; gap: 1.25rem; }
.says__dots { display: flex; gap: .25rem; }
.says__dot { width: 28px; height: 44px; display: grid; place-items: center; }
.says__dot::before { content: ""; width: 100%; height: 3px; border-radius: 3px; background: var(--rule-strong); transition: background-color .3s var(--ease); }
.says__dot[aria-selected="true"]::before { background: var(--sky); }
.says__btns { display: flex; gap: .5rem; }

/* ---------- 18. Closing CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(6rem, 4rem + 8vw, 11rem);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.cta { background: linear-gradient(180deg, var(--ground) 0%, var(--sky-haze) 6%, var(--sky-low) 14%, var(--sky-mid) 28%, var(--sky-top) 72%, var(--sky-mid) 100%); border-top: 0; padding-bottom: clamp(9rem, 7rem + 10vw, 15rem); }
.cl--ca { width: clamp(300px, 38vw, 620px); left: clamp(-220px, -12vw, -60px); top: 26%; }
.cl--cb { width: clamp(200px, 22vw, 360px); right: clamp(-80px, -3vw, -20px); top: 14%; }
.cl--cbank { left: -4%; right: -4%; bottom: -2px; }
@media (max-width: 900px) {
  .cl--ca { display: none; }
  .cl--cb { width: 46vw; top: 2%; right: -14vw; }
}
.cl--cbank img { width: 100%; min-width: 1100px; }
.cta .sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10%; background: linear-gradient(to bottom, transparent, var(--ground)); }
@media (prefers-reduced-motion: no-preference) {
  .cl--ca img { --drift: 70s; } .cl--cb img { --drift: 52s; animation-delay: -18s; } .cl--cbank img { --drift: 120s; --dx: 2%; }
}
.cta__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.6rem; }
.cta__title { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 6.2rem); line-height: 1.02; padding-bottom: .06em; max-width: 14ch; }
.cta__lede { max-width: 44ch; color: var(--ink-2); text-shadow: 0 1px 16px rgba(18, 52, 110, .2); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .5rem; }

/* ---------- 19. Footer ---------- */
.footer { padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.3fr);
  gap: clamp(2rem, 3vw, 3rem);
}
.footer__brand { display: grid; gap: .9rem; align-content: start; justify-items: start; }
.footer__name { font-weight: 600; font-size: 2rem; letter-spacing: -.045em; text-transform: lowercase; line-height: 1; }
.footer__name b { font-weight: 600; color: var(--sky); }
.footer__tagline { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer__lede { color: var(--muted); font-size: .95rem; line-height: 1.55; max-width: 36ch; }
.footer__note { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.status { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--ink-2); padding: .4rem .85rem .4rem .7rem; border-radius: var(--r-pill); background: var(--hill-tint); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hill); flex-shrink: 0; }
.footer__social { display: flex; gap: .4rem; margin-top: .35rem; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule-strong); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .14s var(--ease); }
.footer__social a:active { transform: scale(.94); }
.footer__social i { font-size: 15px; line-height: 1; }
@media (hover: hover) and (pointer: fine) {
  .footer__social a:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }
  .footer__col a:hover { color: var(--sky-ink); }
}
.footer__col { display: grid; align-content: start; gap: .1rem; }
.footer__h { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.footer__col a { display: inline-flex; align-items: center; min-height: 36px; font-size: .97rem; color: var(--ink-2); transition: color .2s var(--ease); }
.newsletter { display: grid; gap: .8rem; margin-top: .6rem; }
.newsletter__label { font-size: .9rem; font-weight: 500; }
.newsletter__row { display: flex; gap: .4rem; padding: .3rem; border-radius: var(--r-pill); border: 1px solid var(--rule-strong); background: var(--surface); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.newsletter__row:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 22%, transparent); }
.newsletter__row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 0 .85rem; outline: none; }
.newsletter__row input::placeholder { color: var(--muted); opacity: 1; }
.newsletter__go { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--sky); color: var(--on-solid); display: grid; place-items: center; transition: transform .14s var(--ease), background-color .25s var(--ease); }
.newsletter__go:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .newsletter__go:hover { background: var(--ink); color: var(--ground); } }
.newsletter__consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: start; font-size: .88rem; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.newsletter__consent input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--sky); }
.newsletter__note { font-size: .85rem; color: var(--muted); min-height: 1.3em; }
.newsletter__note.is-error { color: #B3261E; }
:root[data-theme="dark"] .newsletter__note.is-error { color: #F2B8B5; }
.newsletter__note.is-ok { color: var(--hill); }
.footer__bottom {
  margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  font-size: .88rem; color: var(--muted);
}

/* ---------- 20. Motion: sections tilt up out of the sky ----------
   Every section's content arrives the same way: tipped back in perspective,
   blurred and low, then settling flat and sharp. Inside it, headlines rise
   word by word and cards pop in a stagger. Transform, opacity and filter only. */
:root { --tilt: 14deg; --rise: 72px; --blur: 12px; --e-out: cubic-bezier(.16, 1, .3, 1); }
@media (max-width: 700px) { :root { --tilt: 10deg; --rise: 44px; --blur: 6px; } }

@media (prefers-reduced-motion: no-preference) {
  /* section stage */
  .js [data-section] > .wrap,
  .js [data-section] > .rail {
    opacity: 0;
    transform: perspective(1600px) rotateX(var(--tilt)) translate3d(0, var(--rise), 0) scale(.965);
    transform-origin: 50% 0%;
    filter: blur(var(--blur));
    transition: opacity .9s var(--e-out), transform 1.4s var(--e-out), filter 1.1s var(--e-out);
    will-change: transform, opacity, filter;
  }
  .js [data-section] > .wrap + .wrap,
  .js [data-section] > .rail { transition-delay: .12s; }
  .js [data-section].is-in > .wrap,
  .js [data-section].is-in > .rail { opacity: 1; transform: none; filter: blur(0); }
  .js [data-section].is-settled > .wrap,
  .js [data-section].is-settled > .rail { will-change: auto; filter: none; transform: none; }

  /* headlines, word by word */
  .js [data-split] .w {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, .55em, 0) rotate(3deg);
    transform-origin: 0 100%;
    filter: blur(10px);
    transition: opacity .8s var(--e-out), transform 1s var(--e-out), filter .9s var(--e-out);
    transition-delay: calc(.12s + var(--wi, 0) * 55ms);
  }
  .js [data-split].is-in .w { opacity: 1; transform: none; filter: blur(0); }

  /* everything else that reveals: rise + sharpen, staggered */
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    filter: blur(8px);
    transition: opacity .8s var(--e-out), transform 1s var(--e-out), filter .9s var(--e-out);
    transition-delay: calc(.2s + var(--i, 0) * 75ms);
  }
  /* cards and tiles pop from slightly smaller */
  .js [data-reveal][data-pop], .js [data-pop] {
    transform: translate3d(0, 34px, 0) scale(.92);
  }
  .js [data-pop] { opacity: 0; filter: blur(8px); transition: opacity .8s var(--e-out), transform 1.1s var(--e-out), filter .9s var(--e-out); transition-delay: calc(.25s + var(--i, 0) * 80ms); }
  .js [data-reveal].is-in, .js [data-pop].is-in { opacity: 1; transform: none; filter: blur(0); }

  /* hero load sequence */
  .js [data-load] { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(8px); }
  .js body.is-ready [data-load] {
    opacity: 1; transform: none; filter: blur(0);
    transition: opacity .9s var(--e-out), transform 1.1s var(--e-out), filter 1s var(--e-out);
    transition-delay: calc(var(--d, 0) * 110ms + .1s);
  }
  /* the project window swings up out of the clouds, then keeps its float tilt */
  .js .hero__stage[data-load] { transform: perspective(1400px) rotateX(28deg) translate3d(0, 140px, 0) scale(.9); transform-origin: 50% 100%; }
  .js body.is-ready .hero__stage[data-load] { transform: none; transition-duration: 1.2s, 1.6s, 1.2s; }
}
/* no animation preference: everything simply present */
@media (prefers-reduced-motion: reduce) {
  .cl img, .drift img { animation: none !important; }
  .win { transform: none; transition: none; }
  .win__slide img { transition: none; transform: none; }
  .win.is-playing .win__progress i { animation: none; }
}

/* ---------- 20b. Day / night clouds, stars and the moon ---------- */
.cl img.night, .drift img.night { display: none; }
:root[data-theme="dark"] .cl img.day, :root[data-theme="dark"] .drift img.day { display: none; }
:root[data-theme="dark"] .cl img.night, :root[data-theme="dark"] .drift img.night { display: block; }
:root[data-theme="dark"] .drift img { opacity: .75; }
.sky__stars, .sky__moon { display: none; }
:root[data-theme="dark"] .sky__stars {
  display: block; position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 22px 34px, #fff 60%, transparent),
    radial-gradient(1px 1px at 120px 90px, rgba(255,255,255,.8) 60%, transparent),
    radial-gradient(1.4px 1.4px at 200px 20px, #DDEBFF 60%, transparent),
    radial-gradient(1px 1px at 64px 160px, rgba(255,255,255,.7) 60%, transparent),
    radial-gradient(1.6px 1.6px at 170px 190px, #fff 60%, transparent),
    radial-gradient(1px 1px at 260px 130px, rgba(220,235,255,.8) 60%, transparent),
    radial-gradient(1px 1px at 300px 250px, rgba(255,255,255,.6) 60%, transparent),
    radial-gradient(1.2px 1.2px at 30px 260px, #CFE3FF 60%, transparent);
  background-size: 320px 290px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 90px, #000 160px, #000 45%, transparent 85%);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 90px, #000 160px, #000 45%, transparent 85%);
}
:root[data-theme="dark"] .sky__stars::after {   /* a second, sparser field that twinkles */
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.8px 1.8px at 90px 60px, #fff 55%, transparent),
    radial-gradient(1.4px 1.4px at 330px 210px, #E6F1FF 55%, transparent),
    radial-gradient(2px 2px at 480px 120px, #fff 55%, transparent);
  background-size: 560px 380px;
}
@media (prefers-reduced-motion: no-preference) {
  :root[data-theme="dark"] .sky__stars::after { animation: twinkle 5.5s ease-in-out infinite alternate; }
}
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
:root[data-theme="dark"] .sky__moon {
  display: block; position: absolute; z-index: 0;
  width: clamp(54px, 6vw, 92px); aspect-ratio: 1; border-radius: 50%;
  right: 22%; top: 13%;
  background: radial-gradient(circle at 38% 36%, #FFFDF4 0%, #EEF2FF 48%, #CDD8F2 72%, #B4C3E6 100%);
  box-shadow: 0 0 40px 10px rgba(205, 222, 255, .35), 0 0 140px 60px rgba(120, 165, 255, .16), 0 0 320px 140px rgba(80, 130, 230, .10);
}
.hero--page .sky__moon, .hero--case .sky__moon { right: 30%; top: 16%; }
.cta .sky__moon { right: auto; left: 16%; top: 30%; }
@media (max-width: 900px) { :root[data-theme="dark"] .sky__moon { right: 10%; top: 9%; } }

/* night hero + CTA: the type keeps its white, the primary button goes moonlight */
:root[data-theme="dark"] .on-sky .btn--solid, :root[data-theme="dark"] .nav:not(.is-scrolled) .btn--solid { --bg: #EAF1FA; --fg: #06101E; --bd: #EAF1FA; }
:root[data-theme="dark"] .hero__title em, :root[data-theme="dark"] .cta__title em { color: #A9D8FF; text-shadow: 0 0 34px rgba(140, 203, 255, .55); }
:root[data-theme="dark"] .hero__title, :root[data-theme="dark"] .cta__title { text-shadow: 0 2px 40px rgba(0, 0, 0, .45); }
/* below the clouds at night, sections glow a little instead of casting shadows */
:root[data-theme="dark"] .h-sec em { color: var(--sky); text-shadow: 0 0 28px rgba(140, 203, 255, .35); }
:root[data-theme="dark"] .btn--solid { --bg: var(--sky); --fg: var(--on-solid); --bd: var(--sky); }
@media (hover: hover) and (pointer: fine) {
  :root[data-theme="dark"] .btn--solid:hover { --bg: #EAF1FA; --bd: #EAF1FA; --fg: #06101E; box-shadow: var(--glow); }
  :root[data-theme="dark"] .tile:hover, :root[data-theme="dark"] .cs-card:hover, :root[data-theme="dark"] .value:hover, :root[data-theme="dark"] .arm:hover { box-shadow: var(--glow); }
}
:root[data-theme="dark"] .tile, :root[data-theme="dark"] .cs-card, :root[data-theme="dark"] .value, :root[data-theme="dark"] .arm, :root[data-theme="dark"] .win {
  box-shadow: inset 0 1px 0 rgba(200, 220, 255, .06), var(--shadow);
}
:root[data-theme="dark"] .tile--strategy { background: linear-gradient(160deg, #142C52, #0F1A2D); }
:root[data-theme="dark"] .tile--handover { background: linear-gradient(160deg, #10302B, #0F1A2D); }
:root[data-theme="dark"] .fam__a mark, :root[data-theme="dark"] .status { color: var(--hill); }
:root[data-theme="dark"] .status { background: rgba(127, 216, 174, .1); }
:root[data-theme="dark"] .status::before { box-shadow: 0 0 10px 2px rgba(127, 216, 174, .6); }
:root[data-theme="dark"] .proc__fill { box-shadow: 0 0 14px rgba(140, 203, 255, .6); }
:root[data-theme="dark"] .pstep::before { box-shadow: 0 0 12px rgba(140, 203, 255, .45); }
:root[data-theme="dark"] .marquee__set i { color: var(--hill); text-shadow: 0 0 14px rgba(127, 216, 174, .6); }
:root[data-theme="dark"] .nav.is-scrolled { background: color-mix(in srgb, var(--ground) 78%, transparent); }
:root[data-theme="dark"] .card__media img { filter: grayscale(1) brightness(.8) contrast(1.05); }
:root[data-theme="dark"] .card.is-lit .card__media img { filter: none; }
@media (hover: hover) and (pointer: fine) { :root[data-theme="dark"] .card__link:hover .card__media img { filter: none; } }

/* at night the sky runs straight into the dark ground under the bank, no haze band */
:root[data-theme="dark"] .hero { background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 40%, var(--sky-low) 74%, var(--ground) 100%); }
:root[data-theme="dark"] .cta { background: linear-gradient(180deg, var(--ground) 0%, var(--sky-low) 20%, var(--sky-mid) 50%, var(--sky-top) 100%); }
:root[data-theme="dark"] .idea { background: linear-gradient(180deg, var(--ground) 0%, var(--sky-low) 22%, var(--sky-mid) 55%, var(--sky-top) 100%); }

/* ---------- 22. Inner page heroes ---------- */
.hero--page, .hero--case {
  min-height: 0; display: block;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(2.5rem, 6vw, 5.5rem));
  padding-bottom: clamp(11rem, 19vw, 17rem);
}
.hero__copy--page { max-width: 62rem; gap: 1.3rem; }
.hero--page .hero__title, .hero--case .hero__title { font-size: clamp(2.6rem, 1.3rem + 5vw, 5.6rem); max-width: 16ch; }
.hero--case .hero__title { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.6rem); max-width: 20ch; }
.ln { display: block; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__chips > * {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 .95rem; border-radius: var(--r-pill);
  border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); font-size: .92rem;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow-wrap: anywhere;
}
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-2); }
.crumb a { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.crumb i { font-style: normal; opacity: .55; }
.cs-hero__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 52ch; line-height: 1.5; text-shadow: 0 1px 16px rgba(18, 52, 110, .2); }
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; margin: .5rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--rule); width: 100%; }
.cs-facts dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.cs-facts dd { margin: 0; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.cl--pb { width: clamp(300px, 38vw, 600px); right: clamp(-200px, -8vw, -40px); top: 12%; }
.cl--pd { width: clamp(140px, 13vw, 220px); right: 30%; top: 8%; }
.cl--pc { width: clamp(180px, 18vw, 300px); right: 6%; bottom: 20%; }
@media (max-width: 900px) {
  .cl--pd, .cl--pc { display: none; }
  .cl--pb { width: 52vw; right: -24vw; top: auto; bottom: 6%; }
}

/* ---------- 23. Shared inner-page blocks ---------- */
.sec-head { display: grid; gap: 1.25rem; max-width: 60rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.sec-head > div { display: grid; gap: 1.1rem; }
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); letter-spacing: -.02em; line-height: 1.15; margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 1rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: .5rem; }
.prose a, .cs-prose a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose em { color: var(--muted); }

/* work index: one large card per case study */
.cs-list > .wrap { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.cs-card { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--rule); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.cs-card__link { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 420px; }
.cs-card:nth-child(even) .cs-card__link { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.cs-card:nth-child(even) .cs-card__media { order: 2; }
.cs-card__media { position: relative; overflow: hidden; background: var(--surface-2); }
.cs-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cs-card__body { display: grid; align-content: center; gap: 1rem; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.cs-card__tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-ink); }
.cs-card__title { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 106; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.8rem); letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; transition: color .3s var(--ease); }
.cs-card__desc { color: var(--muted); max-width: 46ch; }
.cs-card__go { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; margin-top: .4rem; }
.cs-card__go svg, .cs-card__go i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.cs-card:active { transform: scale(.995); }
@media (hover: hover) and (pointer: fine) {
  .cs-card:hover .cs-card__media img { transform: scale(1.045); }
  .cs-card:hover .cs-card__title { color: var(--sky-ink); }
  .cs-card:hover .cs-card__go svg { transform: translateX(4px); }
}

/* case study: hero shot rises out of the cloud bank */
.cs-shot { padding-top: 0; padding-bottom: clamp(2rem, 4vw, 3.5rem); z-index: 6; }
.cs-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-top: calc(-1 * clamp(5rem, 9vw, 8.5rem)); position: relative; box-shadow: var(--shadow); background: var(--surface-2); }
.cs-stats { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.cs-stats ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--rule); padding-top: 1.75rem; }
.cs-stat__n { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cs-stat__l { display: block; margin-top: .5rem; font-size: .92rem; color: var(--muted); }
.cs-body > .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.cs-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--rule); }
.cs-block__h { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -.025em; line-height: 1.1; display: grid; gap: .5rem; align-content: start; }
.cs-block__h span { font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .1em; color: var(--muted); }
.cs-prose { display: grid; gap: 1.1rem; max-width: 64ch; }
.cs-prose p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.65; }
.cs-steps { display: grid; gap: 1.1rem; counter-reset: s; max-width: 64ch; }
.cs-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2rem 1rem; counter-increment: s; padding: 1.1rem 1.25rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--rule); }
.cs-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: .75rem; color: var(--sky-ink); padding-top: .3rem; }
.cs-steps b { font-weight: 600; font-size: 1.06rem; }
.cs-steps span { color: var(--muted); line-height: 1.55; }
.cs-wins { display: grid; gap: .8rem; max-width: 64ch; }
.cs-wins li { position: relative; padding-left: 2rem; color: var(--ink-2); line-height: 1.5; }
.cs-wins li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .1rem; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; background: var(--hill-tint); color: var(--hill); }
.cs-gallery > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.cs-gallery figure { margin: 0; overflow: hidden; border-radius: var(--r-media); background: var(--surface-2); }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; }
.cs-gallery .g--wide { grid-column: span 7; aspect-ratio: 16 / 10; }
.cs-gallery .g--tall { grid-column: span 5; aspect-ratio: 16 / 10; }
.cs-gallery figure:nth-child(4n+3) { grid-column: span 5; }
.cs-gallery figure:nth-child(4n+4) { grid-column: span 7; }
.cs-next__h { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -.035em; margin-bottom: 2rem; }
.cs-next__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.cs-next__grid .card__media { aspect-ratio: 4 / 3; }
@media not ((hover: hover) and (pointer: fine)) { .cs-next__grid .card__media img { filter: none; } }

/* about */
.story > .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story__h { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); letter-spacing: -.035em; line-height: 1.02; position: sticky; top: calc(var(--nav-h) + 2rem); }
.story__body { display: grid; gap: 1.2rem; }
.story__body p { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); line-height: 1.6; color: var(--ink-2); }
.story__body p:first-child { color: var(--ink); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.45; }
.idea { overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(6rem, 4rem + 8vw, 11rem);
  background: linear-gradient(180deg, var(--ground) 0%, var(--sky-haze) 10%, var(--sky-low) 26%, var(--sky-mid) 55%, var(--sky-top) 100%); }
.idea > .wrap { display: grid; justify-items: center; gap: 1.4rem; }
.idea__title { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108; font-size: clamp(2.6rem, 1.3rem + 5vw, 5.8rem); letter-spacing: -.035em; line-height: 1.02; color: #fff; text-shadow: 0 2px 30px rgba(18, 52, 110, .2); }
.idea__body { max-width: 52ch; color: rgba(255, 255, 255, .92); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.6; }
.idea .eyebrow { color: #fff; }
.cl--ba { width: clamp(300px, 34vw, 560px); left: clamp(-200px, -9vw, -40px); bottom: 6%; }
.cl--bb { width: clamp(220px, 24vw, 400px); right: clamp(-120px, -5vw, -20px); top: 12%; }
.cl--bc { width: clamp(150px, 14vw, 240px); right: 18%; bottom: 10%; }
@media (max-width: 900px) { .cl--bc { display: none; } .cl--ba { width: 60vw; left: -30vw; } .cl--bb { width: 46vw; right: -20vw; top: 4%; } }
.values__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.value { grid-column: span 2; display: grid; align-content: start; gap: .8rem; padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--rule); transition: box-shadow .4s var(--ease); }
.value:nth-child(4), .value:nth-child(5) { grid-column: span 3; }
.value:nth-child(1) { background: var(--sky-tint); border-color: transparent; }
.value:nth-child(5) { background: var(--hill-tint); border-color: transparent; }
.value__n, .arm__n, .person__idx { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.value__h, .arm__h { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); letter-spacing: -.02em; line-height: 1.1; }
.value__p, .arm__p { color: var(--muted); line-height: 1.55; }
.trust__title, .umbrella__h { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.umbrella__lede { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 52ch; }
.umbrella__inner { display: grid; gap: 1.25rem; }
.umbrella__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.arm { display: grid; align-content: start; gap: .8rem; padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--rule); min-height: 220px; transition: box-shadow .4s var(--ease); }
.arm:nth-child(2) { background: var(--sky-tint); border-color: transparent; }
.arm:nth-child(6) { background: transparent; border-style: dashed; border-color: var(--rule-strong); }
ul.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.person { display: grid; gap: .7rem; min-width: 0; }
.person > a { display: grid; gap: .7rem; }
.person__media { aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: linear-gradient(160deg, var(--sky-tint), var(--hill-tint)); display: block; }
.person__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.person__media--join { display: grid; place-items: center; border: 1.5px dashed var(--rule-strong); background: transparent; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 110; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -.03em; line-height: 1; text-align: center; color: var(--sky-ink); transition: background-color .35s var(--ease); }
.person__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.person__name { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104; font-size: 1.2rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.person__role { color: var(--muted); font-size: .95rem; }
@media (hover: hover) and (pointer: fine) {
  .person:hover .person__media img { transform: scale(1.04); }
  .person--join:hover .person__media--join { background: var(--sky-tint); }
}
.trust > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.trust__copy { display: grid; gap: 1.25rem; justify-items: start; }
.trust .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.trust .stats li { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.stats__n { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats__l { display: block; margin-top: .5rem; color: var(--muted); font-size: .95rem; }

/* contact */
/* contact: "One studio. One team." uses the shared head; its three points are a row of cards */
.one__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.one__points li {
  display: grid; align-content: start; gap: 1.1rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--rule);
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); letter-spacing: -.02em; line-height: 1.2;
}
.one__points li:first-child { background: var(--sky-tint); border-color: transparent; }
.one__points li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%;
  font-size: .8rem; background: var(--hill-tint); color: var(--hill);
}
:root[data-theme="dark"] .one__points li:first-child { background: linear-gradient(160deg, #142C52, #0F1A2D); }
.cta--form .cta__inner { gap: 1.4rem; }
.form {
  width: 100%; max-width: 760px; margin-top: 1rem; text-align: left; display: grid; gap: 1.1rem;
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); border-radius: 22px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 30px 80px -40px rgba(10, 30, 70, .5);
}
@media (prefers-reduced-transparency: reduce) { .form { background: #1E4E9C; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .45rem; min-width: 0; }
.field__l { font-size: .92rem; font-weight: 500; color: #fff; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid transparent;
  background: #FFFFFF; color: #121A22; font-size: 16px; font-family: var(--body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #5D6874; opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: #0E3F8A; box-shadow: 0 0 0 4px rgba(255, 255, 255, .55); }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea { background: #0B1426; color: #EAF1FA; border-color: rgba(160, 190, 235, .3); }
:root[data-theme="dark"] .field ::placeholder { color: #8E9FB8; }
:root[data-theme="dark"] .form { background: rgba(8, 16, 30, .55); border-color: rgba(160, 190, 235, .22); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .3rem; }
.cta__mail { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .5); overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; }
.faqs > .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faqs .sec-head { position: sticky; top: calc(var(--nav-h) + 2rem); margin-bottom: 0; }
.acc { border-top: 1px solid var(--rule); }
.acc__i { border-bottom: 1px solid var(--rule); }
.acc__i summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; min-height: 44px; }
.acc__i summary::-webkit-details-marker { display: none; }
.acc__q { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); letter-spacing: -.015em; line-height: 1.25; }
.acc__ico { position: relative; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--rule-strong); transition: transform .35s var(--ease), background-color .3s var(--ease); }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; border-radius: 2px; }
.acc__ico::after { rotate: 90deg; transition: rotate .35s var(--ease); }
.acc__i[open] .acc__ico { background: var(--sky); border-color: var(--sky); color: var(--on-solid); }
.acc__i[open] .acc__ico::after { rotate: 0deg; }
.acc__b { overflow: hidden; }
.acc__b p { color: var(--ink-2); padding-bottom: 1.4rem; max-width: 60ch; }
@media (hover: hover) and (pointer: fine) { .acc__i summary:hover .acc__q { color: var(--sky-ink); } }

@media (max-width: 1000px) {
  .cs-card__link, .cs-card:nth-child(even) .cs-card__link { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cs-card:nth-child(even) .cs-card__media { order: 0; }
  .cs-card__media { aspect-ratio: 4 / 3; }
  .cs-next__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .umbrella__grid, ul.team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-block, .story > .wrap, .trust > .wrap, .faqs > .wrap { grid-template-columns: minmax(0, 1fr); }
  .one__points { grid-template-columns: minmax(0, 1fr); }
  .story__h, .faqs .sec-head { position: static; }
  .values__list { grid-template-columns: minmax(0, 1fr); }
  .value, .value:nth-child(4), .value:nth-child(5) { grid-column: auto; }
  .cs-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cs-gallery > .wrap { grid-template-columns: minmax(0, 1fr); }
  .cs-gallery figure, .cs-gallery figure:nth-child(n) { grid-column: auto; aspect-ratio: 4 / 3; }
  .cs-next__grid, .umbrella__grid { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { flex: 1 1 auto; }
  .cs-shot img { border-radius: 14px; aspect-ratio: 4 / 3; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__newsletter { grid-column: 1 / -1; max-width: 32rem; }
  .proc__line { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.75rem; }
  .proc__track::before, .proc__fill { display: none; }
  .tile--strategy, .tile--identity { grid-column: span 6; }
  .tile--image { grid-column: span 5; }
  .tile--build, .tile--handover { grid-column: span 7; }
}

@media (max-width: 900px) {
  .hero { min-height: 0; align-items: flex-start; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { max-width: 560px; width: 100%; justify-self: center; }
  .win { transform: none; }
  .facts__grid { grid-template-columns: minmax(0, 1fr); }
  .fam__grid, .team__grid { grid-template-columns: minmax(0, 1fr); }
  .fam__aside { position: static; }
  .fam__aside .h-sec { max-width: 14ch; }
  .cap a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name arrow" "desc arrow"; gap: .35rem 1rem; }
  .cap__name { grid-area: name; }
  .cap__desc { grid-area: desc; font-size: .95rem; }
  .cap__arrow { grid-area: arrow; width: 44px; height: 44px; }
  .says__stage { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .proc__line { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-left: 2rem; }
  .proc__track::before { display: block; left: 7px; right: auto; top: 6px; bottom: 2rem; width: 1px; height: auto; }
  .pstep { padding: 0 0 2rem; }
  .pstep::before { left: -2rem; top: 3px; }
  .inc__grid { grid-template-columns: minmax(0, 1fr); }
  .tile--strategy, .tile--identity, .tile--image, .tile--build, .tile--handover { grid-column: auto; grid-row: auto; }
  .tile--image { min-height: 360px; }
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.25rem; }
  .face:nth-child(even) .face__img { margin-top: 0; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--services { grid-column: 1 / -1; }
  .work__head { align-items: flex-start; }
  .rail__btns { display: none; }          /* swipe is the native control on touch */
  .rail { grid-auto-columns: 82%; }
}

@media (max-width: 520px) {
  .hero__eyebrow { letter-spacing: .08em; padding: 0; background: none; border: 0; border-radius: 0; }
}

@media (max-width: 380px) {
  .btn { padding: 0 1.15rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- sitemap page ---------- */
.smap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.smap__h { display: flex; gap: .7rem; align-items: baseline; font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104; font-size: 1.2rem; letter-spacing: -.02em; padding-bottom: .9rem; margin-bottom: .4rem; border-bottom: 1px solid var(--rule); }
.smap__n { font-family: var(--mono); font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: 0; }
.smap__list { display: grid; }
.smap__list a { display: grid; gap: .2rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); transition: color .3s var(--ease); }
.smap__t { font-weight: 500; }
.smap__d { color: var(--muted); font-size: .9rem; }
@media (hover: hover) and (pointer: fine) { .smap__list a:hover .smap__t { color: var(--sky-ink); } }
@media (max-width: 1000px) { .smap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .smap { grid-template-columns: minmax(0, 1fr); } }
