/* ArkVerge Creative Studio — site styles. Palette C, Clash Grotesk / Satoshi / JetBrains Mono, one curve. */
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/clash-grotesk.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --paper: #FAF8F3; --carbon: #141312; --mist: #BDB6AC; --ash: #6E6A64;
  --dreef: #0B2A2C; --reef: #0F9A96; --coral: #EE7B63;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ui: 200ms; --move: 520ms; --hero: 900ms;
  /* update 72: tints made from the palette, so nothing off-palette is hand-typed */
  --line-dark: rgba(250, 248, 243, 0.16);   /* Paper at 16% over Carbon: rules and borders on dark */
  --carbon-lift: #262524;                   /* Carbon + 8% Paper: media placeholders on dark */
  --paper-sink: #EEEBE5;                    /* Paper + 20% Mist: media placeholders on light */
  --ring: var(--carbon);                    /* keyboard focus; Paper on dark fields (below) */
  --m: clamp(24px, 6.67vw, 96px);      /* page margin: 96 px on desktop */
  --g: 24px;                            /* gutter */
  --head: 88px;
  --verge: 0.4452;                      /* tan(24°): horizontal run of a 66° line per unit of height */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--carbon); font: 400 18px/28px "Satoshi", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--carbon); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 300; background: var(--carbon); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font: 300 clamp(52px, 6.67vw, 96px)/0.958 "Clash Grotesk", sans-serif; letter-spacing: -0.02em; margin: 0; }
.h1 { font: 300 clamp(40px, 4.17vw, 60px)/1.067 "Clash Grotesk", sans-serif; letter-spacing: -0.015em; margin: 0; }
.h2 { font: 400 clamp(26px, 2.36vw, 34px)/1.18 "Clash Grotesk", sans-serif; letter-spacing: -0.01em; margin: 0; }
.label { font: 400 12px/18px "JetBrains Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.lede { font-size: 22px; line-height: 32px; max-width: 34em; }
.body { max-width: 36em; }
.muted { color: var(--ash); }
.on-dark .muted, .dark .muted, .deep .muted { color: var(--mist); }
p { margin: 0 0 1em; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.section { padding-block: clamp(96px, 12vw, 192px); }
.dark { background: var(--carbon); color: var(--paper); }
.deep { background: var(--dreef); color: var(--paper); }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--m); transition: background var(--ui) var(--ease), color var(--ui) var(--ease); }
.site-head.scrolled { background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); }
.site-head .logo { width: 150px; }
.site-head .logo img { width: 150px; height: auto; }
.site-head .logo .lt { display: none; }
body.head-dark .site-head:not(.scrolled) .logo .dk { display: none; }
body.head-dark .site-head:not(.scrolled) .logo .lt { display: block; }
body.head-dark .site-head:not(.scrolled) { color: var(--paper); }
.nav { display: flex; gap: 40px; }
.nav a { position: relative; padding-block: 8px; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--reef); }
.nav a .u { position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--ui) var(--ease); }
.nav a:hover .u { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; padding: 10px 0; }
}
.menu { position: fixed; inset: 0; z-index: 60; background: var(--carbon); color: var(--paper); padding: calc(var(--head) + 24px) var(--m) var(--m); display: flex; flex-direction: column; justify-content: space-between; clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); transition: clip-path var(--move) var(--ease); visibility: hidden; }
.menu.open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; }
.menu a.big { display: block; font: 300 52px/1.1 "Clash Grotesk", sans-serif; letter-spacing: -0.02em; padding-block: 6px; }
.menu-close { position: absolute; top: 28px; right: var(--m); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding-inline: 28px; border-radius: 28px; background: var(--reef); color: var(--carbon); overflow: hidden; isolation: isolate; transition: color var(--move) var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--paper); }   /* update 72: the Deep Reef fill needs a Paper label */
.panel.film .btn, .panel.motion .btn { background: var(--carbon); color: var(--paper); }   /* on Coral and Reef fields the button turns Carbon */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--dreef); clip-path: polygon(0 0, 0 0, calc(-1 * var(--verge) * 56px) 100%, calc(-1 * var(--verge) * 56px) 100%); transition: clip-path var(--move) var(--ease); }
.btn:hover::before { clip-path: polygon(0 0, calc(100% + var(--verge) * 56px) 0, 100% 100%, calc(-1 * var(--verge) * 56px) 100%); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--ash); }
.dark .link:hover, .deep .link:hover { color: var(--mist); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--head) + clamp(48px, 9vh, 120px)); overflow: hidden; display: flex; flex-direction: column; }
.hero .display { max-width: 9.5em; }
.hero-copy { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.hero-copy .lede { margin: 0; max-width: 30em; }
.ground { position: relative; margin-top: auto; height: clamp(300px, 46vh, 460px); }
.ground::after { content: ""; position: absolute; left: var(--m); right: var(--m); bottom: 40px; height: 1px; background: var(--mist); }
.ground .crew { position: absolute; right: var(--m); bottom: 40px; }
.ground .hint { position: absolute; left: var(--m); bottom: 60px; color: var(--ash); }
@media (max-width: 820px) {
  .ground .crew { --bh: clamp(84px, 21vw, 150px); gap: 0; }
  .ground .crew .member + .member { margin-left: calc(var(--bh) * -0.3); }
  .ground { height: 300px; }
  .ground .crew { left: 50%; right: auto; transform: translateX(-50%); }
  .ground .hint { display: none; }
}

/* ---------- the living crew ---------- */
.crew { display: flex; align-items: flex-end; gap: clamp(4px, 1.4vw, 24px); --bh: clamp(150px, 19vh, 230px); }
.member { position: relative; flex: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.member .rig { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }
.member img { position: absolute; max-width: none; opacity: 0; transition: opacity var(--ui) var(--ease); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.member img.on { opacity: 1; }
.member .shadow { position: absolute; left: 50%; bottom: -10px; width: 66%; height: 20px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(20,19,18,0.16), rgba(20,19,18,0)); }

.member .say { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 6px); white-space: nowrap; background: var(--carbon); color: var(--paper); padding: 8px 12px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity var(--ui) var(--ease), transform var(--ui) var(--ease); }
.member.saying .say { opacity: 1; transform: translate(-50%, 0); }

/* ---------- practices (home) ---------- */
.practices-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.tile { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 28px; border-radius: 6px; overflow: hidden; }
.tile .h2 { margin-top: 8px; }
.tile ul { list-style: none; margin: 20px 0 0; padding: 0; font-size: 16px; line-height: 26px; }
.tile .stage { position: relative; margin-top: auto; height: 210px; }
.tile .member { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.tile .go { position: absolute; top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background var(--ui) var(--ease), color var(--ui) var(--ease); }
.tile:hover .go { background: currentColor; }
.tile:hover .go svg { color: var(--tile-bg); }
.tile.film { --tile-bg: var(--coral); background: var(--coral); color: var(--carbon); }
.tile.motion { --tile-bg: var(--reef); background: var(--reef); color: var(--carbon); }
.tile.design { --tile-bg: var(--carbon); background: var(--carbon); color: var(--paper); }
.tile.immersive { --tile-bg: var(--dreef); background: var(--dreef); color: var(--paper); }
.partner-line { margin-top: 32px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 440px; } }

/* ---------- work list ---------- */
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.work-list li { border-bottom: 1px solid var(--mist); }
.dark .work-list, .dark .work-list li { border-color: var(--line-dark); }
.work-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding-block: 34px; transition: padding var(--move) var(--ease); }
.work-list a:hover { padding-left: 24px; }
.work-list .h1 { font-size: clamp(34px, 3.6vw, 56px); }
.work-list .meta { text-align: right; color: var(--ash); }
.dark .work-list .meta { color: var(--mist); }
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; border-radius: 4px; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path var(--move) var(--ease); }
.peek.show { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .peek { display: none; } }
@media (max-width: 620px) { .work-list a { grid-template-columns: 1fr; gap: 6px; } .work-list .meta { text-align: left; } }

/* ---------- statement / audiences ---------- */
.statement .h1 { grid-column: 1 / span 8; }
.statement .body { grid-column: 1 / span 6; margin-top: 32px; }
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); margin-top: 96px; }
.aud div { border-top: 1px solid var(--carbon); padding-top: 20px; }
.aud .h2 { margin: 12px 0 10px; }
@media (max-width: 900px) { .statement .h1, .statement .body { grid-column: 1 / -1; } .aud { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- call to action band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .display { max-width: 9em; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; margin-top: 48px; }
.cta-band::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 38%; background: var(--dreef); clip-path: polygon(calc(var(--verge) * 100%) 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 820px) { .cta-band::before { display: none; } }
.cta-band > * { position: relative; }

/* ---------- footer ---------- */
.site-foot { background: var(--carbon); color: var(--paper); padding: 96px var(--m) 40px; }
.site-foot .top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.site-foot .brand { grid-column: 1 / span 5; }
.site-foot .brand img { width: 220px; }
.site-foot .brand p { margin-top: 24px; color: var(--mist); max-width: 26em; font-size: 16px; line-height: 26px; }
.site-foot .col { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; }
.site-foot .col .label { color: var(--mist); margin-bottom: 8px; }
.site-foot .col a:hover { color: var(--mist); }
.site-foot .base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--mist); }
@media (max-width: 900px) { .site-foot .brand { grid-column: 1 / -1; margin-bottom: 40px; } .site-foot .col { grid-column: span 6; margin-bottom: 32px; } }

/* ---------- page heads ---------- */
.page-head { padding-top: calc(var(--head) + clamp(64px, 12vh, 160px)); padding-bottom: clamp(64px, 8vw, 128px); }
.page-head .display { max-width: 11em; }
.page-head .lede { margin-top: 32px; }
.crumb { display: inline-flex; gap: 10px; color: var(--ash); margin-bottom: 28px; }
.crumb a:hover { color: var(--carbon); }
.deep .crumb, .dark .crumb { color: var(--mist); }

/* ---------- practice pages ---------- */
.pr-hero { position: relative; min-height: 100svh; padding-top: calc(var(--head) + 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding-inline: var(--m); align-items: center; overflow: hidden; }
.pr-hero .copy { grid-column: 1 / span 6; padding-bottom: 64px; }
.pr-hero .mark-stage { grid-column: 8 / span 4; position: relative; height: min(52vh, 460px); }
.pr-hero .mark-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pr-hero .replay { position: absolute; right: -72px; bottom: -40px; z-index: 2; }
@media (max-width: 900px) { .pr-hero .replay { right: 0; bottom: -64px; } }
.pr-hero.film { background: var(--paper); }
.pr-hero.motion { background: var(--paper); }
.pr-hero.design { background: var(--paper); }
.pr-hero.immersive { background: var(--dreef); color: var(--paper); }
@media (max-width: 900px) { .pr-hero .copy, .pr-hero .mark-stage { grid-column: 1 / -1; } .pr-hero .mark-stage { height: 46vh; } }
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.services .intro { grid-column: 1 / span 4; }
.services ol { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--carbon); }
.services li { display: grid; grid-template-columns: 1fr; gap: 6px; padding-block: 26px; border-bottom: 1px solid var(--mist); }
.services li .h2 { font-size: 30px; }
@media (max-width: 900px) { .services .intro, .services ol { grid-column: 1 / -1; } .services ol { margin-top: 40px; } }
.meet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: end; }
.meet .who { grid-column: 1 / span 5; }
.meet .stage { grid-column: 7 / span 6; position: relative; height: 440px; }
.meet .stage .member { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
@media (max-width: 900px) { .meet .who, .meet .stage { grid-column: 1 / -1; } .meet .stage { margin-top: 40px; height: 360px; } }
.pr-index { list-style: none; margin: 0; padding: 0; }
.pr-index li { border-top: 1px solid var(--mist); }
.pr-index li:last-child { border-bottom: 1px solid var(--mist); }
.pr-index a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: center; padding-block: 36px; }
.pr-index .name { grid-column: 1 / span 5; }
.pr-index .scope { grid-column: 6 / span 5; color: var(--ash); }
.pr-index .sw { grid-column: 12; justify-self: end; width: 40px; height: 40px; border-radius: 50%; }
@media (max-width: 820px) { .pr-index .name, .pr-index .scope { grid-column: 1 / -1; } .pr-index .sw { display: none; } }

/* ---------- case studies ---------- */
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--carbon); }
.case-meta div span { display: block; color: var(--ash); margin-bottom: 6px; }
@media (max-width: 820px) { .case-meta { grid-template-columns: 1fr 1fr; row-gap: 24px; } }
.media-wide { margin-block: var(--g); }
.media-wide img, .media-pair img { width: 100%; height: auto; border-radius: 4px; background: var(--paper-sink); }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); margin-block: var(--g); }
@media (max-width: 820px) { .media-pair { grid-template-columns: 1fr; } }
.caption { margin-top: 12px; color: var(--ash); }
.text-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding-block: clamp(64px, 8vw, 128px); }
.text-block .h2 { grid-column: 1 / span 4; }
.text-block .body { grid-column: 6 / span 6; }
@media (max-width: 900px) { .text-block .h2, .text-block .body { grid-column: 1 / -1; } .text-block .body { margin-top: 20px; } }
.next-case { display: block; padding-block: clamp(96px, 10vw, 160px); }
.next-case .label { color: var(--mist); }
.next-case .display { margin-top: 16px; transition: transform var(--move) var(--ease); }
.next-case:hover .display { transform: translateX(24px); }

/* teaser players */
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.reel { position: relative; }
.reel .frame { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--carbon); }
.reel video, .reel .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .poster { transition: opacity var(--ui) var(--ease); }
.reel.playing .poster { opacity: 0; }
.reel .play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding-inline: 18px; border-radius: 22px; background: var(--paper); color: var(--carbon); }
.reel.playing .play .t-play, .reel:not(.playing) .play .t-pause { display: none; }
.reel h3 { margin: 16px 0 4px; }
@media (max-width: 1100px) { .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .reels { grid-template-columns: 1fr; } }

/* the knock: scrubbable beats */
.knock-player { position: relative; border-radius: 4px; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 9; }
.knock-player video { width: 100%; height: 100%; object-fit: cover; }
.beats { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--mist); }
.beats button { display: block; width: 100%; text-align: left; padding: 16px 12px 0 0; position: relative; }
.beats button::before { content: ""; position: absolute; left: 0; right: 12px; top: -1px; height: 3px; background: var(--carbon); transform: scaleX(0); transform-origin: left; transition: transform var(--ui) var(--ease); }
.beats button.on::before { transform: scaleX(1); }
.beats .t { color: var(--ash); display: block; }
.beats strong { display: block; font: 400 22px/1.2 "Clash Grotesk", sans-serif; margin-top: 4px; }
.beats p { font-size: 15px; line-height: 22px; color: var(--ash); margin-top: 6px; }
@media (max-width: 900px) { .beats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; } }
.sound-note { margin-top: 16px; color: var(--ash); }

/* expression switcher (Shape Crew case) */
.switcher { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: center; }
.switcher .stage { grid-column: 1 / span 6; position: relative; height: 520px; background: var(--paper-sink); border-radius: 4px; }
.switcher .stage .member { position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%); }
.switcher .controls { grid-column: 8 / span 5; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 32px; }
.chip { height: 40px; padding-inline: 16px; border-radius: 20px; border: 1px solid var(--mist); transition: background var(--ui) var(--ease), color var(--ui) var(--ease), border-color var(--ui) var(--ease); }
.chip:hover { border-color: var(--carbon); }
.chip[aria-pressed="true"] { background: var(--carbon); color: var(--paper); border-color: var(--carbon); }
@media (max-width: 900px) { .switcher .stage, .switcher .controls { grid-column: 1 / -1; } .switcher .stage { height: 420px; } }

/* out in the world: drag rail */
.rail-wrap { position: relative; }
.rail { display: flex; gap: var(--g); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--m); padding-bottom: 24px; cursor: grab; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail figure { flex: none; width: min(72vw, 880px); margin: 0; scroll-snap-align: start; }
.rail img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; pointer-events: none; }
.rail figcaption { margin-top: 12px; color: var(--ash); }
.rail-nav { display: flex; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--carbon); display: grid; place-items: center; transition: background var(--ui) var(--ease), color var(--ui) var(--ease); }
.round:hover { background: var(--carbon); color: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- studio ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.values div { border-top: 1px solid var(--carbon); padding-top: 20px; }
.values .h2 { margin: 0 0 12px; }
.values p { color: var(--ash); font-size: 16px; line-height: 26px; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.steps li { counter-increment: s; border-top: 1px solid var(--line-dark); padding-top: 20px; }
.steps li::before { content: "0" counter(s); display: block; font: 400 12px/18px "JetBrains Mono", monospace; letter-spacing: 0.14em; color: var(--mist); margin-bottom: 40px; }
.steps .h2 { margin-bottom: 12px; }
.steps p { color: var(--mist); font-size: 16px; line-height: 26px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.founder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.founder .h1 { grid-column: 1 / span 7; }
.founder .who { grid-column: 9 / span 4; align-self: end; }
@media (max-width: 900px) { .founder .h1, .founder .who { grid-column: 1 / -1; } .founder .who { margin-top: 32px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding-bottom: clamp(96px, 10vw, 160px); }
.contact form { grid-column: 1 / span 7; }
.contact aside { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 40px; }
.contact aside .h2 a:hover { color: var(--ash); }
@media (max-width: 900px) { .contact form, .contact aside { grid-column: 1 / -1; } .contact aside { margin-top: 64px; } }
.field { display: block; margin-bottom: 28px; }
.field .label { display: block; margin-bottom: 10px; color: var(--ash); }
.field input, .field textarea, .field select { width: 100%; font: 400 20px/30px "Satoshi", sans-serif; color: var(--carbon); background: transparent; border: 0; border-bottom: 1px solid var(--mist); padding: 8px 0 12px; border-radius: 0; transition: border-color var(--ui) var(--ease); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--carbon); }
.field .err { display: none; margin-top: 8px; font-size: 15px; }
.field .err::before { content: "✕"; color: var(--coral); margin-right: 8px; }
.field.bad .err { display: block; }
.field.bad input, .field.bad textarea { border-bottom-color: var(--carbon); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
@media (max-width: 620px) { .two { grid-template-columns: 1fr; } }
.sent { display: none; }
.contact.done form { display: none; }
.contact.done .sent { display: block; grid-column: 1 / span 7; }

/* ---------- loader, veil, 404 ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: grid; place-items: center; }
.loader svg { width: 120px; height: auto; overflow: visible; }
.loader.out { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); animation: veil-out var(--move) var(--ease) forwards; }
.veil { position: fixed; inset: 0; z-index: 150; background: var(--carbon); pointer-events: none; visibility: hidden; clip-path: polygon(100% 0, calc(100% + 100vh * var(--verge)) 0, 100% 100%, calc(100% - 100vh * var(--verge)) 100%); }
.veil.cover { visibility: visible; animation: veil-in var(--move) var(--ease) forwards; pointer-events: auto; }
.veil.reveal { visibility: visible; animation: veil-out var(--move) var(--ease) forwards; }
@keyframes veil-in { from { clip-path: polygon(calc(100% + 100vh * var(--verge)) 0, calc(100% + 100vh * var(--verge)) 0, 100% 100%, 100% 100%); } to { clip-path: polygon(0 0, calc(100% + 100vh * var(--verge)) 0, 100% 100%, calc(-100vh * var(--verge)) 100%); } }
@keyframes veil-out { from { clip-path: polygon(0 0, calc(100% + 100vh * var(--verge)) 0, 100% 100%, calc(-100vh * var(--verge)) 100%); } to { clip-path: polygon(0 0, 0 0, calc(-100vh * var(--verge)) 100%, calc(-100vh * var(--verge)) 100%); } }
.lost { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--head) var(--m) var(--m); }
.lost svg { width: 140px; height: auto; overflow: visible; margin-bottom: 48px; }
.lost .row { display: flex; gap: 24px 40px; flex-wrap: wrap; align-items: center; margin-top: 40px; }

/* ---------- reveal on scroll (used once per screen, for headlines) ---------- */
.rise { overflow: hidden; }
.rise > span { display: inline-block; transform: translateY(105%); transition: transform var(--hero) var(--ease); }
.rise.in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .rise > span { transform: none; }
}

/* review screenshots only (?shot): final states, no transitions */
.shot *, .shot *::before, .shot *::after { transition: none !important; animation: none !important; }
.shot .rise > span { transform: none !important; }
.shot .veil { visibility: hidden !important; }

/* ---------- hero: the crew roll in on skateboards ---------- */
.hero-skate { min-height: 100svh; padding-top: var(--head); display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 3vh, 40px); }
.skate { position: relative; width: min(100%, 124svh, 1500px); aspect-ratio: 2 / 1; margin-inline: auto; }
.skate video, .skate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.skate .skate-still, .skate .skate-idle { opacity: 0; }
.skate.static .skate-still { opacity: 1; }
.skate.static video { display: none; }
.skate.idle .skate-idle { opacity: 1; }
.skate.idle .skate-intro { opacity: 0; }
.hero-skate .hero-copy { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.hero-skate .lede { margin: 0; max-width: 32em; }
.hero-cta { display: flex; align-items: center; gap: 32px; }
@media (max-width: 820px) { .hero-skate { justify-content: flex-start; padding-top: calc(var(--head) + 24px); } .skate { width: 100%; } }

/* ---------- hero v2: layered riders ---------- */
.skate { aspect-ratio: 1600 / 920; width: min(100%, 118svh, 1500px); }
.skate video { transition: opacity var(--ui) var(--ease); }
.skate .sk-intro { opacity: 1; }
.skate .sk-idle, .skate .sk-trick { opacity: 0; }
.skate.idle .sk-intro { opacity: 0; }
.skate.idle .sk-idle { opacity: 1; }
.skate.idle .sk-idle.off { opacity: 0; }
.skate .sk-trick.on { opacity: 1; }
.skate.static .skate-still { opacity: 1; }
.skate.static video, .skate.static .sk-hit, .skate.static .sk-hint { display: none; }
.sk-hit { position: absolute; bottom: 4%; height: 62%; width: 21%; border-radius: 40% 40% 12% 12%; cursor: pointer; z-index: 3; }
.sk-hit:focus-visible { outline: 2px solid var(--ring); outline-offset: -6px; }
.sk-hint { position: absolute; right: 0; bottom: -6px; color: var(--ash); opacity: 0; transition: opacity var(--move) var(--ease); }
.skate.idle .sk-hint { opacity: 1; }
.h-touch { display: none; } @media (hover: none) { .h-fine { display: none; } .h-touch { display: inline; } }

/* ---------- the reel ---------- */
.reel-band { position: relative; height: 190vh; background: var(--paper); }
.reel-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.reel-frame { --p: 0; position: relative; width: calc((62 + 38 * var(--p)) * 1vw); aspect-ratio: 16 / 9; max-height: calc(100vh - (1 - var(--p)) * 18vh); border-radius: calc((1 - var(--p)) * 10px); overflow: hidden; background: var(--carbon); cursor: none; }
.reel-v { width: 100%; height: 100%; object-fit: cover; }
.reel-sound { position: absolute; left: 24px; bottom: 24px; height: 44px; padding-inline: 18px; border-radius: 22px; background: var(--paper); color: var(--carbon); cursor: pointer; z-index: 2; }
.reel-cursor { position: absolute; left: 0; top: 0; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; background: var(--paper); color: var(--carbon); display: grid; place-items: center; text-align: center; padding: 18px; pointer-events: none; transform: scale(0); transition: transform var(--ui) var(--ease); }
.reel-frame:hover .reel-cursor { transform: scale(1); }
.reel-cap { margin-top: 20px; color: var(--ash); opacity: calc(1 - var(--p, 0)); }
@media (hover: none) { .reel-cursor { display: none; } .reel-frame { cursor: auto; } }
@media (max-width: 700px) { .reel-frame { width: calc((80 + 20 * var(--p)) * 1vw); aspect-ratio: 9 / 16; max-height: 86vh; } }

/* ---------- practices: pinned scroll story ---------- */
.story { position: relative; height: 460vh; }
.story-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.panel { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: center; padding: var(--head) var(--m) 64px;
  clip-path: polygon(calc(100% + 100vh * var(--verge)) 0, calc(100% + 100vh * var(--verge)) 0, 100% 100%, 100% 100%); transition: clip-path var(--move) var(--ease); }
.panel[data-i="0"], .panel.on { clip-path: polygon(0 0, calc(100% + 100vh * var(--verge)) 0, 100% 100%, calc(-100vh * var(--verge)) 100%); }
.panel.film { background: var(--coral); color: var(--carbon); }
.panel.motion { background: var(--reef); color: var(--carbon); }
.panel.design { background: var(--carbon); color: var(--paper); }
.panel.immersive { background: var(--dreef); color: var(--paper); }
.pcopy { grid-column: 1 / span 5; }
.pname { font: 300 clamp(72px, 11vw, 168px)/0.9 "Clash Grotesk", sans-serif; letter-spacing: -0.03em; margin: 12px 0 0; }
.pline { font: 400 clamp(22px, 2vw, 30px)/1.25 "Clash Grotesk", sans-serif; margin: 18px 0 0; }
.pcopy ul { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.pcopy li { font: 400 12px/18px "JetBrains Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 16px; padding: 6px 12px; }
.pstage { grid-column: 6 / span 5; height: min(78vh, 720px); display: grid; place-items: end center; }
.dance { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.panel .pcopy > * { transform: translateY(24px); opacity: 0; transition: transform var(--move) var(--ease), opacity 400ms var(--ease); }
.panel.live .pcopy > * { transform: none; opacity: 1; }
.panel.live .pcopy > *:nth-child(2) { transition-delay: 60ms; } .panel.live .pcopy > *:nth-child(3) { transition-delay: 120ms; } .panel.live .pcopy > *:nth-child(4) { transition-delay: 180ms; } .panel.live .pcopy > *:nth-child(5) { transition-delay: 240ms; }
.story-index { position: absolute; right: var(--m); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; z-index: 5; mix-blend-mode: difference; color: var(--paper); }
.story-index li { display: flex; gap: 12px; opacity: 0.45; transition: opacity var(--ui) var(--ease); }
.story-index li.on { opacity: 1; }
@media (max-width: 900px) {
  .panel { grid-template-rows: 46vh auto; align-items: start; padding-top: calc(var(--head) + 8px); }
  .pstage { grid-column: 1 / -1; grid-row: 1; height: 44vh; } .pcopy { grid-column: 1 / -1; grid-row: 2; }
  .pname { font-size: 64px; } .pcopy ul { margin: 16px 0 20px; } .story-index { display: none; }
}
.story.static { height: auto; } .story.static .story-sticky { position: static; height: auto; }
.story.static .panel { position: relative; min-height: 100vh; clip-path: none; } .story.static .panel .pcopy > * { transform: none; opacity: 1; }
.partner-wrap { padding-block: 48px 0; }

/* ---------- reel: fits below the header at full size ---------- */
.reel-sticky { padding-top: var(--head); box-sizing: border-box; }
.reel-frame { width: calc(62vw + (min(100vw, (100vh - var(--head)) * 1.7778) - 62vw) * var(--p)); max-height: none; cursor: none; }
.reel-v { object-fit: contain; }
@media (max-width: 700px) { .reel-frame { width: calc(80vw + (min(100vw, (100vh - var(--head)) * 0.5625) - 80vw) * var(--p)); max-height: none; } }

/* ---------- the ArkVerge cursor ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; }
.has-cur .cur { display: block; }
.has-cur, .has-cur * { cursor: none !important; }
.has-cur input, .has-cur textarea, .has-cur select { cursor: text !important; }
.cur svg { position: absolute; left: -11px; top: -3px; width: 22px; height: auto; transform-origin: 11px 3px; transition: transform var(--ui) var(--ease); }
.cur.press svg { transform: scale(0.82); }
.cur.link svg { transform: scale(1.3); }
.cur-label { position: absolute; left: 18px; top: 14px; white-space: nowrap; background: var(--carbon); color: var(--paper); padding: 8px 12px; border-radius: 16px; transform: scale(0.6); transform-origin: 0 0; opacity: 0; transition: transform var(--ui) var(--ease), opacity var(--ui) var(--ease); }
.cur.lab .cur-label { transform: scale(1); opacity: 1; }
.cur.on-dark .cur-label { background: var(--paper); color: var(--carbon); }

/* ---------- practices story v2: the word behind, the crew in front ---------- */
.panel { display: block; padding: 0; }
.pword { position: absolute; left: 0; top: 50%; transform: translateY(-58%); display: flex; width: max-content; white-space: nowrap; font: 300 clamp(160px, 26vh, 300px)/1 "Clash Grotesk", sans-serif; letter-spacing: -0.03em; opacity: 0.13; animation: pword 60s linear infinite; pointer-events: none; }
.panel.film .pword, .panel.motion .pword { color: var(--carbon); } .panel.design .pword, .panel.immersive .pword { color: var(--paper); }
@keyframes pword { to { transform: translate(-50%, -58%); } }
.pscene { position: absolute; left: 60%; bottom: 0; height: min(92vh, 960px); aspect-ratio: 1000 / 1100; transform: translateX(-50%); }
.pscene .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: opacity 500ms var(--ease); }
.pscene .scene.b { opacity: 0; }
.panel.design .pscene { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.panel .pscene { opacity: 0; translate: 0 8vh; transition: opacity 600ms var(--ease), translate 900ms var(--ease); }
.panel.live .pscene { opacity: 1; translate: 0 0; }
.pcopy { position: absolute; left: var(--m); top: 50%; transform: translateY(-50%); width: min(40vw, 520px); z-index: 2; }
.pname { font-size: clamp(64px, 7vw, 112px); }
@media (max-width: 900px) {
  .pword { top: 30%; font-size: 120px; }
  .pscene { left: 50%; bottom: auto; top: calc(var(--head) + 4px); height: 46vh; }
  .pcopy { top: auto; bottom: 32px; transform: none; width: auto; right: var(--m); }
  .pname { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) { .pword { animation: none; } }

.media-tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); margin-block: var(--g); }
.media-tri img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
@media (max-width: 820px) { .media-tri { grid-template-columns: 1fr; } }

/* story v2 refinements: the word runs as a low band behind the legs; copy and index clear of the character */
.pword { top: auto; bottom: 3vh; transform: none; animation-name: pword2; }
@keyframes pword2 { to { transform: translateX(-50%); } }
.pcopy { top: 44%; }
.story-index { top: auto; bottom: 40px; transform: none; }
@media (max-width: 900px) { .pword { bottom: auto; top: 34%; } }

/* reel v3: grows to the whole viewport, never cropped */
.reel-sticky { padding-top: calc(var(--head) * (1 - var(--p, 0))); transition: none; }
.reel-frame { aspect-ratio: auto; width: calc(62vw + 38vw * var(--p)); height: calc(62vw * 0.5625 + (100vh - 62vw * 0.5625) * var(--p)); border-radius: calc((1 - var(--p)) * 10px); }
.reel-v { object-fit: contain; background: var(--carbon); }
.site-head { transition: background var(--ui) var(--ease), color var(--ui) var(--ease), transform var(--move) var(--ease); }
body.reel-full .site-head { transform: translateY(-100%); }
@media (hover: hover) and (pointer: fine) { .reel-sound { display: none; } }
@media (max-width: 700px) { .reel-frame { width: calc(80vw + 20vw * var(--p)); height: calc(80vw * 1.7778 + (100vh - 80vw * 1.7778) * var(--p)); } }

/* Design: the waves run edge to edge */
.panel.design .pscene { left: 0; right: 0; width: 100%; height: auto; aspect-ratio: 2 / 1; transform: none; -webkit-mask-image: none; mask-image: none; }
.panel.design .pscene .scene { object-fit: cover; object-position: 50% 100%; }
@media (max-width: 900px) { .panel.design .pscene { top: auto; bottom: 0; height: 52vh; width: 100%; aspect-ratio: auto; } }

/* ================= site-wide v2 ================= */
html.lenis, html.lenis body { height: auto; } .lenis.lenis-smooth { scroll-behavior: auto !important; } .lenis.lenis-stopped { overflow: hidden; }
/* media reveal: a 66° cut opens, the picture settles */
.rv { clip-path: polygon(0 0, 0 0, calc(-100% * var(--verge)) 100%, calc(-100% * var(--verge)) 100%); transition: clip-path 1100ms var(--ease); }
.rv.seen { clip-path: polygon(0 0, calc(100% + 100% * var(--verge)) 0, 100% 100%, calc(-100% * var(--verge)) 100%); }
.rv > img, .rv > video, img.rv { transition: transform 1600ms var(--ease); }
.rv:not(.seen) > img, .rv:not(.seen) > video { transform: scale(1.08); }
.shot .rv { clip-path: none; } .shot .rv > img, .shot .rv > video { transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { clip-path: none; } }
/* the closing call on every page */
.foot-cta { position: relative; padding: clamp(96px, 12vw, 180px) var(--m) clamp(64px, 8vw, 120px); background: var(--carbon); color: var(--paper); border-bottom: 1px solid var(--line-dark); }
.foot-cta .display { font-size: clamp(64px, 10vw, 160px); max-width: 8em; }
.foot-cta .row { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; margin-top: 48px; }
.foot-crew { position: absolute; right: var(--m); top: 0; transform: translateY(-100%); display: flex; align-items: flex-end; gap: 0; --bh: 96px; }
.foot-crew .member + .member { margin-left: -26px; }
.site-foot { padding-top: 64px; }
@media (max-width: 700px) { .foot-crew { --bh: 64px; } }

/* ================= Work: image-led grid ================= */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.wgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: clamp(64px, 7vw, 120px); padding-block: 48px clamp(96px, 10vw, 160px); }
.wcard { grid-column: span 6; display: block; }
.wcard.big { grid-column: 1 / -1; }
.wcard:nth-child(2n + 3) { margin-top: clamp(0px, 9vw, 160px); }
.wcard[hidden] { display: none; }
.wmedia { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper-sink); }
.wcard.big .wmedia { aspect-ratio: 21 / 9; }
.wmedia img, .wmedia video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), opacity var(--ui) var(--ease); }
.wmedia video { opacity: 0; }
.wcard.playing .wmedia video { opacity: 1; }
.wcard:hover .wmedia img, .wcard:hover .wmedia video { transform: scale(1.035); }
.wmeta { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 20px; }
.wmeta .h1 { font-size: clamp(32px, 3.4vw, 52px); }
.wmeta .label { color: var(--ash); text-align: right; }
@media (max-width: 820px) { .wcard { grid-column: 1 / -1; } .wcard:nth-child(2n + 3) { margin-top: 0; } .wcard.big .wmedia { aspect-ratio: 4 / 3; } .wmeta { flex-direction: column; gap: 6px; } .wmeta .label { text-align: left; } }

/* ================= case studies v2 ================= */
.case-hero { position: relative; margin: 0 var(--m); aspect-ratio: 16 / 9; max-height: 86vh; width: auto; overflow: hidden; border-radius: 6px; background: var(--carbon); }
.case-hero img, .case-hero video { width: 100%; height: 100%; object-fit: cover; }
.text-block { align-items: start; }
.text-block .h2 { position: sticky; top: calc(var(--head) + 32px); font-size: clamp(30px, 3vw, 44px); }
.text-block .body p { font-size: 20px; line-height: 32px; }
.next-big { position: relative; display: block; height: 86vh; overflow: hidden; color: var(--paper); background: var(--carbon); }
.next-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 1400ms var(--ease), opacity 600ms var(--ease); }
.next-big:hover img { transform: scale(1.04); opacity: 0.75; }
.next-big .in { position: absolute; left: var(--m); right: var(--m); bottom: clamp(48px, 6vw, 96px); }
.next-big .display { display: block; margin-top: 16px; font-size: clamp(64px, 9vw, 150px); }

/* ================= practice pages v2 ================= */
.pr-stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; clip-path: none !important; }
.pr-stage.film { background: var(--coral); color: var(--carbon); } .pr-stage.motion { background: var(--reef); color: var(--carbon); }
.pr-stage.design { background: var(--carbon); color: var(--paper); } .pr-stage.immersive { background: var(--dreef); color: var(--paper); }
.pr-stage .pcopy { top: 50%; }
.pr-stage .pscene { opacity: 1; translate: 0 0; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.svc li { display: grid; grid-template-columns: 80px 1fr 1fr; gap: var(--g); align-items: baseline; padding-block: 28px; border-bottom: 1px solid var(--mist); transition: padding var(--move) var(--ease); }
.svc li:hover { padding-left: 20px; }
.svc .n { color: var(--ash); } .svc .h2 { font-size: clamp(28px, 3vw, 44px); } .svc .muted { font-size: 18px; }
@media (max-width: 820px) { .svc li { grid-template-columns: 1fr; gap: 6px; } }
.svc-peek { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; border-radius: 6px; overflow: hidden; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path var(--move) var(--ease); }
.svc-peek.show { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } .svc-peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .svc-peek { display: none; } }
.related { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 48px; }
.related .wcard:nth-child(2n + 3) { margin-top: 0; }
.mark-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: center; }
.mark-band .mark-stage { grid-column: 7 / span 5; position: relative; height: min(60vh, 520px); }
.mark-band .mark-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mark-band .copy { grid-column: 1 / span 5; }
.mark-band .replay { position: absolute; right: -24px; bottom: -24px; z-index: 2; }
@media (max-width: 900px) { .mark-band .mark-stage, .mark-band .copy { grid-column: 1 / -1; } .mark-band .mark-stage { height: 44vh; margin-top: 40px; } }

/* ================= studio v2 ================= */
.crew-hero { position: relative; min-height: 100svh; padding-top: calc(var(--head) + 6vh); display: flex; flex-direction: column; overflow: hidden; }
.crew-hero .display { font-size: clamp(64px, 9vw, 150px); max-width: 9em; }
.crew-line { margin-top: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; height: 52vh; }
.crew-line video { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.stack { position: relative; }
.stack .card { position: sticky; top: calc(var(--head) + 24px); min-height: 62vh; margin-bottom: 4vh; border-radius: 10px; padding: clamp(32px, 4vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; box-shadow: 0 -1px 0 rgba(20, 19, 18,0.04); }
.stack .card:nth-child(1) { background: var(--paper); border: 1px solid var(--mist); } .stack .card:nth-child(2) { background: var(--coral); }
.stack .card:nth-child(3) { background: var(--carbon); color: var(--paper); } .stack .card:nth-child(4) { background: var(--dreef); color: var(--paper); }
.stack .card .n { grid-column: 1 / -1; align-self: start; } .stack .card h3 { grid-column: 1 / span 7; margin: 0; font: 300 clamp(56px, 7vw, 120px)/0.95 "Clash Grotesk", sans-serif; letter-spacing: -0.03em; }
.stack .card p { grid-column: 9 / span 4; font-size: 20px; line-height: 30px; margin: 0; }
@media (max-width: 820px) { .stack .card h3, .stack .card p { grid-column: 1 / -1; } .stack .card p { margin-top: 20px; } }
.hscroll { position: relative; height: 340vh; }
.hscroll .pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll .track { display: flex; gap: var(--g); padding-inline: var(--m); will-change: transform; }
.hscroll .step { flex: none; width: min(70vw, 760px); height: 62vh; border-radius: 10px; background: var(--carbon-lift); color: var(--paper); padding: clamp(28px, 3vw, 48px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hscroll .step .h1 { margin-top: 16px; } .hscroll .step p { color: var(--mist); max-width: 26em; margin-top: 16px; font-size: 19px; line-height: 29px; }
.hscroll .step .member { position: absolute; right: 24px; bottom: 0; }
.hscroll .head { padding: 0 var(--m) 40px; }
.founder2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; }
.founder2 .quote { grid-column: 1 / span 8; font: 300 clamp(36px, 4vw, 60px)/1.1 "Clash Grotesk", sans-serif; letter-spacing: -0.015em; margin: 0; }
.founder2 .who { grid-column: 10 / span 3; } .founder2 .who img { width: 220px; margin-bottom: 12px; }
@media (max-width: 900px) { .founder2 .quote, .founder2 .who { grid-column: 1 / -1; } .founder2 .who { margin-top: 32px; } }

/* ================= contact v2 ================= */
.contact2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding-top: calc(var(--head) + 6vh); min-height: 100svh; }
.contact2 .left { grid-column: 1 / span 7; padding-bottom: 96px; }
.contact2 .right { grid-column: 9 / span 4; }
.contact2 .stage { position: sticky; top: calc(var(--head) + 24px); height: 70vh; border-radius: 10px; background: var(--coral); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.contact2 .stage .member { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.copy-mail { display: inline-flex; align-items: center; gap: 12px; font: 300 clamp(28px, 2.6vw, 40px)/1.2 "Clash Grotesk", sans-serif; letter-spacing: -0.01em; }
.copy-mail .tag { font: 400 12px/18px "JetBrains Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; background: var(--carbon); color: var(--paper); padding: 6px 10px; border-radius: 12px; opacity: 0; transition: opacity var(--ui) var(--ease); }
.copy-mail.copied .tag { opacity: 1; }
@media (max-width: 900px) { .contact2 .left, .contact2 .right { grid-column: 1 / -1; } .contact2 .stage { position: relative; height: 52vh; margin-bottom: 64px; } }

.next-big[href="film"] { background: var(--coral); color: var(--carbon); } .next-big[href="motion"] { background: var(--reef); color: var(--carbon); }
.next-big[href="design"] { background: var(--carbon); } .next-big[href="immersive"] { background: var(--dreef); }

.contact2.done form { display: none; } .contact2.done .sent { display: block; } .contact2 form, .contact2 .sent { grid-column: auto; }

/* practice stages: copy and scene keep their distance; crumbs readable on colour */
.pr-stage .pscene { left: 68%; }
.pr-stage .pcopy { width: min(34vw, 480px); }
.pr-stage .crumb { color: inherit; opacity: 0.7; }
.pr-stage .pname { font-size: clamp(56px, 6vw, 96px); }
@media (max-width: 900px) { .pr-stage .pscene { left: 50%; } .pr-stage .pcopy { width: auto; } }
/* studio: the crew line is never clipped */
.crew-hero { overflow: visible; min-height: auto; padding-bottom: 0; }
.crew-line { height: 44vh; margin-top: 6vh; }

/* fixes: the cursor symbol is never squeezed; the loader's docked mark sits dead centre */
.cur svg { max-width: none; }
.loader canvas { transform: translate(-27.8%, 2.1%); }

/* ================= contact v3: the film slate ================= */
.contact3 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding-top: calc(var(--head) + 6vh); padding-bottom: 96px; align-items: start; }
.contact3 .intro { grid-column: 1 / span 8; margin-bottom: 56px; }
.slate-wrap { grid-column: 1 / span 8; position: relative; padding-top: 64px; }
.clap { position: absolute; left: 0; right: 0; top: 0; height: 64px; border-radius: 12px 12px 0 0; background: repeating-linear-gradient(-66deg, var(--paper) 0 34px, var(--carbon) 34px 68px); border: 3px solid var(--carbon); transform-origin: 18px 100%; transform: rotate(-9deg); transition: transform var(--ui) var(--ease); }
.clap.snap { transform: rotate(0deg); }
.slate { background: var(--carbon); color: var(--paper); border-radius: 0 0 12px 12px; padding: clamp(28px, 3.4vw, 52px); }
.slate-head { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line-dark); color: var(--mist); }
.slate-head b { color: var(--paper); font-weight: 400; }
.slate-head .dock { width: 30px; height: auto; margin-left: auto; overflow: visible; max-width: none; }
.slate-head .dock .sp { transform-box: view-box; transition: transform 900ms var(--ease); transform: translate(-120px, 160px) rotate(-40deg); }
.slate.docked .dock .sp { transform: none; }
.slate .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.slate .field .label { color: var(--mist); }
.slate .field input, .slate .field textarea, .slate .field select { color: var(--paper); border-bottom-color: var(--line-dark); font-size: 22px; }
.slate .field input::placeholder, .slate .field textarea::placeholder { color: rgba(189, 182, 172, 0.7); }   /* Mist 70%: 5.1:1 on Carbon */
.slate .field select option { color: var(--carbon); }
.slate .field input:focus, .slate .field textarea:focus, .slate .field select:focus { border-bottom-color: var(--paper); }
.slate .chip { border-color: var(--line-dark); color: var(--paper); } .slate .chip[aria-pressed="true"] { background: var(--paper); color: var(--carbon); border-color: var(--paper); }
.slate .err { color: var(--paper); }
.slate-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 12px; } .slate-foot .muted { color: var(--mist); }
.contact3 .side { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 32px; position: sticky; top: calc(var(--head) + 24px); }
.contact3 .stage { position: relative; height: 52vh; border-radius: 12px; background: var(--coral); padding: 22px; overflow: hidden; }
.contact3 .stage .member { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.contact3.done .slate { display: none; } .contact3 .sent { display: none; background: var(--carbon); color: var(--paper); border-radius: 0 0 12px 12px; padding: 52px; } .contact3.done .sent { display: block; }
.contact3 .sent .muted { color: var(--mist); }
@media (max-width: 1000px) { .contact3 .intro, .slate-wrap, .contact3 .side { grid-column: 1 / -1; } .contact3 .side { position: static; margin-top: 56px; } .slate .row2 { grid-template-columns: 1fr; } }

/* ================= practices overview: four crew scenes ================= */
.pcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); padding-bottom: clamp(64px, 8vw, 128px); }
.pcol { position: relative; height: 76vh; min-height: 520px; border-radius: 10px; overflow: hidden; padding: 28px; display: flex; flex-direction: column; transition: flex 600ms var(--ease), transform var(--move) var(--ease); }
.pcol.film { background: var(--coral); color: var(--carbon); } .pcol.motion { background: var(--reef); color: var(--carbon); } .pcol.design { background: var(--carbon); color: var(--paper); } .pcol.immersive { background: var(--dreef); color: var(--paper); }
.pc-name { font: 300 clamp(40px, 4vw, 64px)/1 "Clash Grotesk", sans-serif; letter-spacing: -0.02em; margin-top: 14px; }
.pc-scope { margin-top: 12px; font-size: 16px; line-height: 24px; max-width: 18em; opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--ease), transform var(--move) var(--ease); }
.pcol:hover .pc-scope, .pcol:focus-visible .pc-scope { opacity: 0.85; transform: none; }
.pc-stage { position: absolute; left: 0; right: 0; bottom: 0; height: 66%; }
.pc-stage img, .pc-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform var(--move) var(--ease), opacity var(--ui) var(--ease); }
.pcol.design .pc-stage img, .pcol.design .pc-stage video { object-fit: cover; }
.pc-stage video { opacity: 0; } .pcol.playing .pc-stage video { opacity: 1; } .pcol.playing .pc-stage img { opacity: 0; }
.pcol:hover .pc-stage img, .pcol:hover .pc-stage video { transform: scale(1.06); }
@media (max-width: 1000px) { .pcols { grid-template-columns: 1fr 1fr; } .pcol { height: 60vh; } .pc-scope { opacity: .85; transform: none; } }
@media (max-width: 560px) { .pcols { grid-template-columns: 1fr; } }

.panel.design .pscene { aspect-ratio: 1600 / 1100; }
.pr-stage.design .pscene { left: 0; right: 0; width: 100%; height: auto; transform: none; aspect-ratio: 1600 / 1100; } .pr-stage.design .pscene .scene { object-fit: cover; object-position: 50% 100%; }

.contact3 .copy-mail { font-size: clamp(18px, 1.55vw, 26px); flex-wrap: wrap; word-break: break-all; }

/* every practice scene spans the full width; the crew travel edge to edge behind the copy */
.panel .pscene, .pr-stage .pscene { left: 0; right: 0; width: 100%; height: auto; bottom: 0; transform: none; aspect-ratio: 1600 / 1100; -webkit-mask-image: none; mask-image: none; }
.panel .pscene .scene, .pr-stage .pscene .scene { object-fit: cover; object-position: 50% 100%; }
@media (max-width: 900px) { .panel .pscene, .pr-stage .pscene { top: auto; height: 56vh; aspect-ratio: auto; } }

/* Frame, Loop and Arch: the scene fits the panel's height, centred, so nothing is cropped */
.panel:not(.design) .pscene, .pr-stage:not(.design) .pscene { left: 50%; right: auto; width: auto; height: calc(100% - var(--head) - 8px); aspect-ratio: 1600 / 1100; transform: translateX(-50%); }
.panel:not(.design) .pscene .scene, .pr-stage:not(.design) .pscene .scene { object-fit: contain; object-position: 50% 100%; }
@media (max-width: 900px) { .panel:not(.design) .pscene, .pr-stage:not(.design) .pscene { top: auto; bottom: 0; height: 56vh; } }

/* the cursor: the symbol tilted like a classic pointer, its tip on the hotspot */
.cur svg { transform: rotate(-28deg); }
.cur.press svg { transform: rotate(-28deg) scale(0.82); } .cur.link svg { transform: rotate(-28deg) scale(1.3); }
/* Design: the drifting word sits above the waterline */
.panel.design .pword, .pr-stage.design .pword { bottom: 44vh; }

/* the cursor: a thin Paper outline and a soft shadow, like a system pointer, so it never gets lost on Reef or Deep Reef */
.cur svg { overflow: visible; filter: drop-shadow(0 1.5px 1.5px rgba(20, 19, 18, 0.35)) drop-shadow(0 0 0.5px rgba(20, 19, 18, 0.25)); }
.cur svg polygon { stroke: var(--paper); stroke-width: 1.6px; vector-effect: non-scaling-stroke; stroke-linejoin: round; paint-order: stroke fill; }

/* the crew perform live on the practice panels */
canvas.crew-stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.panel .pcopy, .pr-stage .pcopy { z-index: 3; }
.panel .pword, .pr-stage .pword { z-index: 0; }

.panel.design .pword, .pr-stage.design .pword { bottom: 24vh; }

/* the hero: the live crew skate in */
.skate-live { position: relative; flex: 1 1 auto; min-height: 56vh; margin: 0 calc(var(--m) * -1); }
.skate-live canvas.crew-hero { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.skate-live .sk-hint { position: absolute; right: var(--m); top: 8px; }

.hero-skate { overflow-x: clip; }
.skate { will-change: transform; }

.skate-live .sk-hint { top: auto; bottom: 0; right: calc(var(--m) + 8%); color: var(--ash); }

.skate-live { min-height: 0; flex: 0 0 auto; height: min(62vh, 46vw); }
.hero-skate { justify-content: center; }

.skate-live { height: min(66vh, 50vw); }

.skate-live { height: max(420px, calc(100svh - var(--head) - 230px)); }

.hero-skate { justify-content: flex-end; }
.skate-live { flex: 1 1 auto; height: auto; min-height: 460px; }

/* the hero canvas reaches up into the empty space above the crew, so the flag is never cut off (even mid-ollie) */
.skate-live canvas.crew-hero { top: -40vh; height: calc(100% + 40vh); }
.site-head { z-index: 50; }

/* spacing under the hero copy and buttons, as in the reference */
.hero-skate { padding-bottom: 6.2vh; gap: 0; }
.hero-skate .hero-copy { margin-top: 3.4vh; }

.skate-live .sk-hint { display: block; opacity: 1; position: absolute; top: auto; bottom: -4px; right: 16%; z-index: 2; color: var(--ash); }

/* the work list: a premium preview card that plays the project */
.work-list:hover a { opacity: 0.32; }
.work-list a { transition: padding var(--move) var(--ease), opacity 400ms var(--ease); }
.work-list a:hover { opacity: 1; padding-left: 32px; }
.peek2 { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(320px, 27vw, 480px); pointer-events: none; will-change: transform;
  clip-path: polygon(0 0, 0 0, calc(-100% * var(--verge)) 100%, calc(-100% * var(--verge)) 100%); transition: clip-path var(--move) var(--ease); }
.peek2.show { clip-path: polygon(0 0, calc(100% + 100% * var(--verge)) 0, 100% 100%, calc(-100% * var(--verge)) 100%); }
.peek2 .pk-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px 10px 0 0; background: var(--carbon-lift); }
.peek2 .pk-media img, .peek2 .pk-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 1200ms var(--ease), opacity var(--ui) var(--ease); }
.peek2.show .pk-media img, .peek2.show .pk-media video { transform: scale(1); }
.peek2 .pk-media video { opacity: 0; } .peek2.playing .pk-media video { opacity: 1; }
.peek2 .pk-cap { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--paper); color: var(--carbon); border-radius: 0 0 10px 10px; }
.peek2 .pk-n { color: var(--reef); } .peek2 .pk-t { flex: 1; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek2 .pk-v { display: inline-flex; align-items: center; gap: 6px; }
.peek2 .pk-inner { }
.peek2::after { content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 16px; background: rgba(20, 19, 18, 0.55); filter: blur(28px); }
@media (hover: none) { .peek2 { display: none; } .work-list:hover a { opacity: 1; } }

/* the footer crew, live */
.foot-crew { width: min(760px, 58vw); height: clamp(150px, 15vw, 230px); display: block; }
.foot-crew canvas.crew-foot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* the footer crew never blocks clicks on the content above it */
.foot-crew, .foot-crew canvas.crew-foot { pointer-events: none; }
.foot-crew { height: clamp(130px, 12.5vw, 200px); }

/* the footer crew at their original size (about 100 px tall), in a compact row */
.foot-crew { width: min(440px, 46vw); height: 118px; }
@media (max-width: 700px) { .foot-crew { height: 84px; } }

/* ================= home: one grid, one rhythm ================= */
:root { --sec: clamp(96px, 8.5vw, 160px); }
.section { padding-block: var(--sec); }
.foot-cta { padding-top: calc(var(--sec) * 1.1); padding-bottom: calc(var(--sec) * 0.8); }
/* One idea. Every medium. */
.statement .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; }
.statement .grid .h1 { grid-column: 1 / span 7; margin: 0; }
.statement .grid .body { grid-column: 9 / span 4; margin: 0; font-size: 20px; line-height: 30px; }
.statement .aud { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 48px; margin-top: calc(var(--sec) * 0.7); }
.statement .aud > div { grid-column: span 4; border-top: 1px solid var(--carbon); padding-top: 24px; }
.statement .aud .h2 { margin: 14px 0 0; max-width: 14em; } .statement .aud .muted { margin: 12px 0 0; max-width: 24em; }
/* ArkVerge Partner: a band, on the grid */
.partner-wrap { padding-block: 36px; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.partner-line { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: baseline; margin: 0; }
.partner-line > .label:first-child { grid-column: 1 / span 3; }
.partner-line > span:nth-child(2) { grid-column: 4 / span 6; font-size: clamp(20px, 1.6vw, 26px); }
.partner-line > .link { grid-column: 10 / span 3; justify-self: end; }
/* the footer on the same grid; its right edge lines up with everything above */
.site-foot .top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; }
.site-foot .brand { grid-column: 1 / span 4; }
.site-foot .col:nth-child(2) { grid-column: 7 / span 2; } .site-foot .col:nth-child(3) { grid-column: 9 / span 2; } .site-foot .col:nth-child(4) { grid-column: 11 / span 2; }
.site-foot .col a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .statement .grid .h1, .statement .grid .body { grid-column: 1 / -1; } .statement .grid .body { margin-top: 28px; }
  .statement .aud > div { grid-column: 1 / -1; }
  .partner-line > .label:first-child, .partner-line > span:nth-child(2), .partner-line > .link { grid-column: 1 / -1; justify-self: start; } .partner-line { row-gap: 12px; }
  .site-foot .brand { grid-column: 1 / -1; } .site-foot .col:nth-child(n) { grid-column: span 6; }
}

/* the hero show's bold lines: a tile drops in, each line slaps in (big, overshoot small, settle), as in the teaser */
.hero-say { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; pointer-events: none; z-index: 2; opacity: 0; }
.hero-say.in, .hero-say.out { opacity: 1; }
.say-tile { padding: clamp(28px, 3vw, 48px) clamp(36px, 4vw, 72px); border-radius: 18px; display: flex; flex-direction: column; transform: translateY(-120vh); }
.hero-say.carbon .say-tile { background: var(--carbon); color: var(--paper); } .hero-say.coral .say-tile { background: var(--coral); color: var(--carbon); }
.say-l { display: block; font: 500 clamp(64px, 9vw, 160px)/0.95 "Clash Grotesk", sans-serif; letter-spacing: -0.03em; transform: scale(1.6); opacity: 0; }
.hero-say.in .say-tile { animation: sayDrop var(--move) var(--ease) forwards; }
.hero-say.in .say-l { animation: saySlap var(--ui) var(--ease) forwards; }
.hero-say.in .say-l:nth-child(1) { animation-delay: 340ms; } .hero-say.in .say-l:nth-child(2) { animation-delay: 470ms; }
.hero-say.out .say-tile { transform: translateY(0); animation: sayOut var(--move) var(--ease) forwards; } .hero-say.out .say-l { opacity: 1; transform: none; }
@keyframes sayDrop { from { transform: translateY(-120vh) rotate(-3deg); } to { transform: translateY(0) rotate(-1.5deg); } }
@keyframes saySlap { 0% { opacity: 0; transform: scale(1.6); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sayOut { to { transform: translateY(120vh) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .hero-say { display: none; } }

/* the hero sticker scenes (as in the teaser) */
.skate-live .hero-say { position: absolute; inset: 0; top: 0; transform: none; display: block; opacity: 1; pointer-events: none; z-index: 2; overflow: visible; }
.hero-say .stk { position: absolute; will-change: transform; }
.hero-say .say-head { position: absolute; left: calc(var(--m) * 2); top: 50%; transform: translateY(-58%); display: flex; flex-direction: column; color: var(--carbon); }
.hero-say .say-head .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-say .say-head .ln > span { display: block; font: 500 clamp(72px, 9.5vw, 172px)/0.92 "Clash Grotesk", sans-serif; letter-spacing: -0.035em; }
.hero-say .say-tag { align-self: flex-start; margin-top: 24px; background: var(--carbon); color: var(--paper); padding: 10px 18px; border-radius: 26px; }
.hero-say .say-blk { position: absolute; right: 16%; top: 8%; width: clamp(110px, 11vw, 220px); height: 78%; background: var(--reef); clip-path: polygon(44% 0, 100% 0, 56% 100%, 0 100%); }
.hero-say .say-stk { position: absolute; right: 8%; bottom: 6%; width: clamp(160px, 16vw, 300px); }

/* the teaser's line-by-line headline on Carbon, which becomes a die-cut sticker and peels away */
.hero-say .say-bg { position: absolute; left: calc(var(--m) * -1 + var(--m)); right: 0; top: 0; bottom: 0; background: var(--carbon); clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.hero-say .say-bg.in { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path var(--ui) var(--ease); }
.hero-say .say-bg.out { clip-path: polygon(calc(100% + 100% * var(--verge)) 0, 100% 0, 100% 100%, 100% 100%); transition: clip-path 500ms var(--ease); }
.hero-say .say-lines { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--paper); }
.hero-say .sl { display: block; font: 300 clamp(64px, 8.5vw, 150px)/1.05 "Clash Grotesk", sans-serif; letter-spacing: -0.02em; }
.hero-say .sl1 { font-size: clamp(40px, 5.2vw, 92px); }
.hero-say .sl.acc { color: var(--acc); }
/* the sticker state: heavy letters with a thin Carbon outline inside a thick Paper die-cut border; each line at its own angle */
.hero-say .say-lines.sticker .sl { font-weight: 600; letter-spacing: -0.03em; -webkit-text-stroke: 0.05em #141312; paint-order: stroke fill;
  text-shadow: 0 0 0 var(--paper), 0.09em 0 0 var(--paper), -0.09em 0 0 var(--paper), 0 0.09em 0 var(--paper), 0 -0.09em 0 var(--paper), 0.065em 0.065em 0 var(--paper), -0.065em 0.065em 0 var(--paper), 0.065em -0.065em 0 var(--paper), -0.065em -0.065em 0 var(--paper), 0.045em 0.08em 0 var(--paper), -0.045em 0.08em 0 var(--paper), 0.045em -0.08em 0 var(--paper), -0.045em -0.08em 0 var(--paper), 0.08em 0.045em 0 var(--paper), -0.08em 0.045em 0 var(--paper), 0.08em -0.045em 0 var(--paper), -0.08em -0.045em 0 var(--paper), 0 0.14em 0.16em rgba(20, 19, 18,.35); }
.hero-say .say-lines.sticker .sl0 { transform: rotate(-3deg); } .hero-say .say-lines.sticker .sl1 { transform: rotate(2deg); } .hero-say .say-lines.sticker .sl2 { transform: rotate(-2deg); }
.hero-say .say-lines.sticker .sl.acc { -webkit-text-stroke: 0.05em #141312; }

/* die-cut sticker letters: a thick Paper border at the back, a Carbon outline in the middle, the letters on top */
.hero-say .say-lines.sticker .sl { -webkit-text-stroke: 0; text-shadow: none; display: grid; }
.hero-say .say-lines.sticker .sl > span { grid-area: 1 / 1; }
.hero-say .say-lines.sticker .sl .d1 { color: var(--paper); -webkit-text-stroke: 0.24em var(--paper); filter: drop-shadow(0 0.06em 0.08em rgba(20, 19, 18,.45)); }
.hero-say .say-lines.sticker .sl .d2 { color: #141312; -webkit-text-stroke: 0.1em #141312; }
.hero-say .say-lines.sticker .sl .d3 { color: var(--paper); }
.hero-say .say-lines.sticker .sl.acc .d3 { color: var(--acc); }

.hero-say .say-lines.sticker .sl > span { position: relative; }
.hero-say .say-lines.sticker .sl .d1 { z-index: 0; } .hero-say .say-lines.sticker .sl .d2 { z-index: 1; } .hero-say .say-lines.sticker .sl .d3 { z-index: 2; }

/* the type under the stickers: a composition, behind the crew */
.skate-live .hero-say { z-index: 0; } .skate-live canvas.crew-hero { z-index: 1; } .skate-live .sk-hint { z-index: 2; }
.hero-say .say-type { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 0.4em; transition: opacity var(--ui) var(--ease); }
.hero-say .say-type .w1 { grid-column: 1 / span 2; font: 600 clamp(110px, 15vw, 270px)/0.82 "Clash Grotesk", sans-serif; letter-spacing: -0.05em; color: var(--carbon); }
.hero-say .say-type .w2 { justify-self: end; align-self: start; margin-top: 0.9em; background: var(--carbon); color: var(--paper); padding: 0.55em 1.1em; border-radius: 2em; font-size: clamp(14px, 1.2vw, 20px); transform: rotate(-8deg); }
.hero-say .say-type .w3 { font: 300 clamp(80px, 10.5vw, 190px)/0.9 "Clash Grotesk", sans-serif; letter-spacing: -0.035em; color: var(--acc, var(--reef)); }
.hero-say canvas.say-fx { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-say .say-type { grid-template-columns: auto auto; }
.hero-say .say-type .w1 { grid-column: 1 / span 2; grid-row: 1; }
.hero-say .say-type .w2 { grid-column: 1; grid-row: 2; } .hero-say .say-type .w3 { grid-column: 2; grid-row: 2; }

.hero-say canvas.say-live { position: absolute; inset: 0; width: 100%; height: 100%; }

/* the fabric behind the crew at the loop point */
.skate-live canvas.ghost-sheet { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* the crew ask for a click themselves; the old caption is retired */
.skate-live .sk-hint { display: none; }
.crew-psst { position: absolute; z-index: 3; transform: translate(-50%, -100%) scale(.6); opacity: 0; pointer-events: none; transition: opacity var(--ui) var(--ease), transform var(--ui) var(--ease);
  font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--carbon); background: var(--paper); border: 2px solid var(--carbon); border-radius: 18px; padding: 10px 14px; white-space: nowrap; }
.crew-psst::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; background: var(--paper); border-right: 2px solid var(--carbon); border-bottom: 2px solid var(--carbon); transform: translateX(-50%) rotate(45deg); }
.crew-psst.on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
/* Spark's home: the Ark, docked in the lower corner of every page */
.ark-dock { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); width: 34px; height: 48px; padding: 0; border: 0; background: none; z-index: 60; cursor: pointer; }
.ark-dock svg, .spark-fly svg { width: 100%; height: 100%; display: block; overflow: visible; }
.spark-fly { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); width: 34px; height: 48px; z-index: 61; pointer-events: none; will-change: transform; }

.spark-fly.ghost { z-index: 60; }
.ark-dock svg { transform-origin: 50% 85%; }

/* the studio crew line, live */
.crew-line canvas.crew-line-live { grid-column: 1 / -1; width: 100%; height: 100%; display: block; }
/* practice panels: the live character fills the stage, whole */
.pc-stage canvas.pc-live { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the featured work card: the frame matches its 16:9 media, so nothing is cropped */
.wgrid .wcard:first-child .wmedia { aspect-ratio: 16 / 9; }
.member .member-live { pointer-events: auto; }

@media (min-width: 900px) { .pcols .pcol { height: var(--pch, 76vh); min-height: 0; } }

/* Spark in flight: a thin Paper outline and a soft shadow, so it reads on Reef, Carbon and photos alike (docked, it is part of the mark again) */
.spark-fly:not(.ghost) polygon { stroke: #FAF8F3; stroke-width: 7; stroke-linejoin: round; paint-order: stroke fill; }
.spark-fly:not(.ghost) svg { filter: drop-shadow(0 2px 2.5px rgba(20, 19, 18, 0.28)) drop-shadow(0 0 1px rgba(20, 19, 18, 0.18)); }

/* the cursor is Carbon (Reef belongs to the Spark); on dark sections it flips to Paper */
.cur svg polygon { fill: var(--carbon); transition: fill var(--ui) var(--ease), stroke var(--ui) var(--ease); }
.cur.on-dark svg polygon { fill: var(--paper); stroke: var(--carbon); }

/* Spark is drawn at its flight size (3× the dock) so it stays sharp; it is scaled down only near the Ark. Same centre as the dock */
.spark-fly { width: 102px; height: 144px; right: calc(clamp(16px, 2vw, 28px) - 34px); bottom: calc(clamp(16px, 2vw, 28px) - 48px); }

/* studio crew line: a definite box, the live canvas pinned inside it, so the crew fit whole and never spill into the next section */
.crew-line { display: block; position: relative; height: clamp(260px, 46vh, 460px); }
.crew-line canvas.crew-line-live { position: absolute; inset: 0; width: 100%; height: 100%; }

/* contact details: one style for email and social, and tighter spacing */
.contact3 .side { gap: 28px; }
.contact3 .side > div > .label.muted { margin: 0 0 8px; }
.contact3 .side a.h2 { font: 300 clamp(18px, 1.55vw, 26px)/1.2 "Clash Grotesk", sans-serif; letter-spacing: -0.01em; }
/* the slate's mark: the Spark sits docked in the Ark's notch; sending the brief gives it a knock */
.slate-head .dock .sp { transform: none; }
/* update 72: the Ark never wobbles; the Spark gliding home is the moment */
@keyframes slate-knock { 0% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 55% { transform: rotate(7deg); } 80% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
/* studio: the crew stand right under the intro, the box hugging them */
.crew-line { height: clamp(230px, 34vh, 380px); margin-top: clamp(24px, 4vh, 48px); }

/* ================= type scale: one set of sizes, every component draws from it (values at 1440 wide) ================= */
:root {
  --t-display: clamp(56px, 6.67vw, 120px);   /* 96: every page title */
  --t-section: clamp(40px, 4.17vw, 72px);    /* 60: section titles */
  --t-card:    clamp(32px, 3.33vw, 56px);    /* 48: card and list titles */
  --t-h2:      clamp(28px, 2.78vw, 44px);    /* 40: case-study chapter heads */
  --t-h3:      clamp(24px, 2.22vw, 34px);    /* 32: sub-headings */
  --t-h4:      clamp(20px, 1.67vw, 26px);    /* 24: small headings */
}
/* page titles, all one size */
.crew-hero .display, .pcopy .pname, .pcopy h3.pname, h1.pname, .stack .card h3 { font-size: var(--t-display); line-height: 0.96; }
/* section titles */
.founder2 .quote { font-size: var(--t-section); }
/* card and list titles */
.work-list a .h1, .wmeta .h1 { font-size: var(--t-card); line-height: 1.04; }
/* case-study chapter heads */
.text-block .h2 { font-size: var(--t-h2); line-height: 1.15; }
/* sub-headings: stats, switcher heads, practice service lists, practice lines */
p.h2, .switcher .controls .h2, .wrap > h2.h2, .pr-services .h2, li > span.h2, .pline { font-size: var(--t-h3); line-height: 1.2; }
/* small headings */
.reel h3.h2, .beats strong { font-size: var(--t-h4); line-height: 1.2; }
/* body: prose 20, interface 18, small print 15 */
.step p { font-size: 20px; line-height: 1.55; }

main li span.h2 { font-size: var(--t-h3); line-height: 1.2; }
main .hscroll .step p, main .step p { font-size: 20px; line-height: 1.55; }

.services li .h2 { font-size: var(--t-h3); line-height: 1.2; }

/* practice heads: a wider headline column, the paragraph kept to a comfortable measure */
.pr-stage .pcopy { width: min(46vw, 640px); }
.pr-stage .pcopy p { max-width: 480px; }
/* justified media rows: each image as wide as its own shape asks, so a row ends level and nothing is cropped */
@media (min-width: 700px) {
  .media-pair.just, .media-tri.just { display: flex; align-items: flex-start; gap: var(--g); }
  .media-pair.just img, .media-tri.just img { width: 0; min-width: 0; height: auto; aspect-ratio: auto; object-fit: contain; }
}
/* galleries: the same breath above and below on every case study */
section.rail-wrap { padding-top: clamp(48px, 6vw, 96px) !important; padding-bottom: clamp(64px, 8vw, 128px) !important; }

/* phones: a smaller Ark, tucked into the corner (Spark keeps the same centre) */
@media (max-width: 700px) {
  .ark-dock { width: 24px; height: 34px; right: 12px; bottom: 12px; }
  .spark-fly { width: 72px; height: 102px; right: calc(12px - 24px); bottom: calc(12px - 34px); }
}

/* ================= navigation ================= */
/* the header steps away on the way down and returns on the way up; long pages show a progress line */
.site-head.hide { transform: translateY(-101%); }
.site-head .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; opacity: 0; transform-origin: 0 50%; transform: scaleX(0); transition: opacity var(--ui) var(--ease); }
.site-head.long.scrolled .prog { opacity: 0.55; }
/* the menu: numbered links rise in one after another, the current page is marked, a crew member keeps you company */
.menu a.big { display: flex; align-items: baseline; gap: 18px; font-size: clamp(44px, 9vw, 96px); line-height: 1.02; }
.menu a.big .mn { font-size: 12px; opacity: 0.55; transform: translateY(-0.9em); }
.menu a.big[aria-current="page"] { color: var(--mist); }
.menu a.big[aria-current="page"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--reef); align-self: center; }
.menu.open nav a.big { animation: menu-rise var(--move) var(--ease) both; }
.menu.open nav a.big:nth-child(2) { animation-delay: 60ms; } .menu.open nav a.big:nth-child(3) { animation-delay: 120ms; } .menu.open nav a.big:nth-child(4) { animation-delay: 180ms; }
@keyframes menu-rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu .menu-crew { position: absolute; right: var(--m); bottom: calc(var(--m) + 48px); width: min(42vw, 260px); height: min(42vw, 280px); pointer-events: none; }
.menu .menu-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; color: var(--mist); }
.menu .menu-foot a { color: var(--paper); }
/* the veil names where you're going */
.veil .veil-to { position: absolute; left: var(--m); bottom: calc(var(--m) * 0.8); font: 300 var(--t-display)/0.96 "Clash Grotesk", sans-serif; letter-spacing: -0.03em; color: var(--paper); opacity: 0; transform: translateY(24px); transition: opacity var(--ui) var(--ease), transform 520ms var(--ease); }
.veil.cover .veil-to { opacity: 1; transform: none; transition-delay: 160ms; }
.veil.reveal .veil-to { opacity: 1; transform: none; }

/* menu: the crew stands in the flow, right-aligned between the links and the contact line; focus shown only to keyboards */
.menu > nav { order: 1; } .menu .menu-crew { order: 2; position: relative; right: auto; bottom: auto; align-self: flex-end; width: min(40vw, 200px); height: min(42vw, 210px); margin-block: -12px 4px; }
.menu > div:not(.menu-foot) { order: 3; } .menu .menu-foot { order: 4; }
.menu a:focus { outline: none; } .menu a:focus-visible { outline: 1px solid var(--mist); outline-offset: 6px; border-radius: 4px; }

/* ===== case-study chapter bar, pull lines, end card ===== */
/* the chapter bar: below the header, sliding up when the header steps away */
.chapters { position: fixed; left: 0; right: 0; top: var(--head); z-index: 45; display: flex; gap: 28px; padding: 14px var(--m); overflow-x: auto; scrollbar-width: none; white-space: nowrap;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--carbon) 10%, transparent);
  transform: translateY(-120%); opacity: 0; transition: transform var(--move) var(--ease), opacity var(--ui) var(--ease), top var(--move) var(--ease); pointer-events: none; }
.chapters::-webkit-scrollbar { display: none; }
.chapters.on { transform: none; opacity: 1; pointer-events: auto; }
.chapters.high { top: 0; }
.chapters a { color: var(--ash); transition: color var(--ui) var(--ease); position: relative; padding-block: 2px; }
.chapters a .n { margin-right: 10px; opacity: 0.6; }
.chapters a.cur { color: var(--carbon); }
.chapters a.cur::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px; background: var(--carbon); }
.chapters a:hover { color: var(--carbon); }
/* pull lines: one line from the page, set large, with room around it */
.pull { padding-block: clamp(96px, 11vw, 176px); margin: 0; }
.pull blockquote { margin: 0; max-width: 15em; font: 300 var(--t-section)/1.05 "Clash Grotesk", sans-serif; letter-spacing: -0.02em; }
/* the end card: where it was made, and what to do next */
.endcard { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: clamp(64px, 8vw, 128px); border-top: 1px solid color-mix(in srgb, var(--carbon) 12%, transparent); margin-top: clamp(48px, 6vw, 96px); }
.endcard .ec-line { margin: 0; font: 300 var(--t-h2)/1.15 "Clash Grotesk", sans-serif; }
.endcard .ec-cta { display: flex; align-items: center; gap: 32px; }

.endcard { margin-top: 0; }

/* ===== editorial work page ===== */
.wgrid .wcard .wmedia { aspect-ratio: 16 / 9; }   /* the media's own shape everywhere: nothing cropped */
@media (min-width: 900px) {
  .wgrid:not(.filtered) .wcard { margin-top: 0; }
  .wgrid:not(.filtered) .wcard:nth-child(1) { grid-column: 1 / -1; }
  .wgrid:not(.filtered) .wcard:nth-child(2) { grid-column: 1 / span 7; }
  .wgrid:not(.filtered) .wcard:nth-child(3) { grid-column: 9 / span 4; margin-top: clamp(96px, 13vw, 240px); }
  .wgrid:not(.filtered) .wcard:nth-child(4) { grid-column: 3 / span 10; }
  .wgrid:not(.filtered) .wcard:nth-child(5) { grid-column: 1 / span 8; }
  .wgrid.filtered .wcard { grid-column: span 6; margin-top: 0; }
}
/* hover: the preview opens over the still through a 66° cut; the title draws its underline */
.wcard .wmedia video { opacity: 1 !important; clip-path: polygon(0 0, 0 0, calc(-100% * var(--verge)) 100%, calc(-100% * var(--verge)) 100%); transition: clip-path var(--move) var(--ease), transform 900ms var(--ease); }
.wcard.playing .wmedia video { clip-path: polygon(0 0, calc(100% + 100% * var(--verge)) 0, 100% 100%, calc(-100% * var(--verge)) 100%); }
.wcard .wmeta .h1 { display: inline; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px; transition: background-size var(--move) var(--ease); }
.wcard:hover .wmeta .h1, .wcard:focus-visible .wmeta .h1 { background-size: 100% 1px; }
/* links: the underline retracts to the right and redraws from the left */
.link { border-bottom: 0; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 100% 100% / 100% 1px no-repeat; }
.link:hover, .link:focus-visible { animation: line-redraw var(--move) var(--ease); }
@keyframes line-redraw { 0% { background-size: 100% 1px; background-position: 100% 100%; } 45% { background-size: 0 1px; background-position: 100% 100%; } 46% { background-size: 0 1px; background-position: 0 100%; } 100% { background-size: 100% 1px; background-position: 0 100%; } }
@media (prefers-reduced-motion: reduce) { .link:hover { animation: none; } .wcard .wmedia video { clip-path: none; } }

/* the footer sign-off: the wordmark edge to edge; Lagos time and back-to-top in the base line */
.site-foot { overflow: hidden; }
.site-foot .base .fb-right { display: inline-flex; gap: 32px; align-items: center; }
.site-foot .base .totop { color: var(--paper); }
.site-foot .base .totop:hover { color: var(--mist); }
.foot-word { font: 300 100px/0.8 "Clash Grotesk", sans-serif; letter-spacing: -0.045em; color: var(--paper); white-space: nowrap; margin-top: clamp(40px, 5vw, 80px); margin-bottom: -0.12em; user-select: none; }

/* footer: the wordmark measured as text; the link columns shifted so the email never breaks */
.foot-word { display: inline-block; }
@media (min-width: 900px) {
  .site-foot .col:nth-child(2) { grid-column: 6 / span 2; }
  .site-foot .col:nth-child(3) { grid-column: 8 / span 2; }
  .site-foot .col:nth-child(4) { grid-column: 10 / span 3; }
}
.site-foot .col a[href^="mailto:"] { overflow-wrap: normal; word-break: keep-all; white-space: nowrap; }

.foot-word { margin-bottom: 0.06em; }   /* the whole wordmark shows, the g's tail included */

/* colour with intent: one Coral moment per case study (its pull line), one Deep Reef pause on the home page */
.pull { background: var(--coral); color: var(--carbon); }
.statement.deep .aud > div { border-top-color: color-mix(in srgb, var(--paper) 28%, transparent); }
.statement.deep .muted, .statement.deep .label.muted { color: var(--mist); }

/* the hero's play button: bottom left over the loop; gone once the film plays */
.case-hero .play-film { position: absolute; left: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 32px); z-index: 2; }
.case-hero.film-on .play-film { display: none; }

/* vertical (9:16) films: two side by side, never cropped */
.reels.tall { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; margin-top: clamp(40px, 5vw, 72px); }
.reels.tall .reel .frame { aspect-ratio: 9 / 16; }
.reels.tall .reel video { object-fit: contain; }

/* related work: an odd count leads with one full-width card */
.related .wcard:first-child:nth-last-child(odd) { grid-column: 1 / -1; }

/* the Ark: no focus ring after a mouse click; keyboard users still get one */
.ark-dock:focus:not(:focus-visible) { outline: none; }
.ark-dock:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }

/* sound switch: off by default; four dots that tap along with the four knocks */
.site-head .nav { margin-left: auto; }
.sound-btn { margin-left: 40px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; background: none; border: 0; color: inherit; cursor: pointer; white-space: nowrap; }
.sound-btn .sd { display: inline-flex; align-items: center; gap: 3px; height: 12px; }
.sound-btn .sd i { width: 4px; height: 4px; border-radius: 2px; background: currentColor; opacity: 0.35; transition: opacity var(--ui) var(--ease), height var(--ui) var(--ease); }
.sound-btn[aria-pressed="true"] .sd i { opacity: 1; }
.sound-btn .sd i.tap { height: 12px; opacity: 1; transition-duration: 60ms; }
.sound-btn .sd i.hold { transition-duration: 800ms; }
.sound-btn .sd i.hold.tap { transition-duration: 140ms; }
.sound-btn:focus:not(:focus-visible) { outline: none; }
.sound-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
@media (max-width: 820px) { .sound-btn { margin-left: auto; margin-right: 24px; } }
@media (max-width: 380px) { .sound-btn .sd { display: none; } }
@media (prefers-reduced-motion: reduce) { .sound-btn .sd i.tap { height: 4px; } }

/* phone number under the big email in the menu */
.menu .menu-tel { display: block; margin-top: 16px; color: var(--mist); }

/* copied tag floats under the address, so it never takes up room */
.copy-mail { position: relative; }
.copy-mail .tag { position: absolute; left: 0; top: calc(100% + 6px); pointer-events: none; }

/* room above the waving crew on the contact page */
.contact3 .side { padding-bottom: 72px; }
@media (max-width: 900px) { .contact3 .side { padding-bottom: 56px; } }

/* ================= phones: the hero fits the screen ================= */
@media (max-width: 700px) {
  .hero-skate { min-height: 0; justify-content: flex-start; padding-top: var(--head); padding-bottom: 48px; }
  .skate-live { flex: 0 0 auto; min-height: 0; height: clamp(290px, 84vw, 460px); }
  .hero-cta { gap: 24px; } .hero-cta .btn, .hero-cta .link { white-space: nowrap; }
  .hero-skate .hero-copy { margin-top: 24px; }
}

/* ================= phones: practice pages ================= */
@media (max-width: 700px) {
  .pr-stage .pcopy { grid-column: 1 / -1; width: calc(100vw - 2 * var(--m)) !important; }
  .pr-stage .pcopy p { max-width: none; }
  .pr-stage .pname { font-size: clamp(52px, 15vw, 72px); }
  /* "Next practice": the scene sits in the top of the banner, the words keep the bottom clear */
  .next-big .in { bottom: 112px; }   /* the waving crew of the section below stand in the space under the words */
  .next-big img[style*="contain"] { inset: 0 0 auto 0 !important; height: 50% !important; object-position: 50% 100% !important; }
}

/* ================= phones: studio process ================= */
@media (max-width: 700px) {
  .hscroll .step { width: 84vw; height: auto; min-height: 60vh; }
  .hscroll .step .member { position: relative; right: auto; bottom: auto; align-self: flex-end; margin-top: auto; padding-top: 16px; }
}

/* ================= touch screens: the work list shows every still; the one in the middle plays ================= */
@media (hover: none) {
  .work-list:hover a, .work-list a:hover { opacity: 1; padding-left: 0; }
  .work-list a { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  .work-list .meta { text-align: left; }
  .wl-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--carbon-lift); margin-bottom: 14px; }
  .wl-media img, .wl-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .wl-media video { opacity: 0; transition: opacity var(--ui) var(--ease); }
  .work-list li.on .wl-media.playing video { opacity: 1; }
}

/* ================= phones: the app-style tab bar ================= */
.tabbar { display: none; }
a, button { -webkit-tap-highlight-color: transparent; }
@media (max-width: 700px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(20, 19, 18, 0.08);
    transition: transform 320ms var(--ease); }
  .tabbar.away { transform: translateY(110%); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 54px; color: var(--ash);
    font: 500 10px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.12em; text-transform: uppercase; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; transition: transform 160ms var(--ease); }
  .tabbar a:active svg { transform: scale(0.88); }
  .tabbar a.tb-on { color: var(--carbon); }
  .tabbar a.tb-on::before { content: ""; position: absolute; top: 2px; width: 4px; height: 4px; border-radius: 2px; background: var(--reef); }
  .menu-btn { display: none; }
  .site-head .sound-btn { margin-right: 0; }
  body.has-tabbar { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body.has-tabbar .ark-dock { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
  .btn:active, .link:active { transform: scale(0.97); }
}

/* ================= phones: the headline that rides with the crew ================= */
.hero-tag { display: none; }
@media (max-width: 700px) {
  .hero-tag { display: flex; flex-direction: column; align-items: center; position: absolute; left: var(--m); right: var(--m); top: 11%; margin: 0; z-index: 2; pointer-events: none; text-align: center;
    font-family: "Clash Grotesk", sans-serif; font-size: clamp(30px, 8.6vw, 40px); line-height: 1.02; opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform var(--move) var(--ease); }
  .hero-tag span:first-child { font-weight: 400; letter-spacing: -0.02em; color: var(--carbon); }   /* the show draws its words in dots, which reads heavier; 400 matches it by eye */
  .hero-tag span:last-child { font-weight: 600; letter-spacing: -0.03em; color: var(--reef); }
  .hero-tag.on { opacity: 1; transform: none; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { .hero-tag { transition: none; } }

/* ================= phones: "Stick with the idea." stays on the lines it is drawn on, so the particles match ================= */
.hero-say .say-type span { white-space: nowrap; }
@media (max-width: 700px) {
  .hero-say .say-type .w1 { font-size: 24vw; }
  .hero-say .say-type .w3 { font-size: 15vw; }
  .hero-say .say-type .w2 { font-size: 12px; padding: 0.5em 1em; }
}

/* ================= phones: one type scale and rhythm, tuned for the hand ================= */
@media (max-width: 700px) {
  main h1.display, main .page-head .display, .foot-cta .display, .next-big .display { font-size: 52px; line-height: 1; letter-spacing: -0.03em; }
  main .h1:not(.work-list .h1) { font-size: 36px; line-height: 1.08; }
  main .h2 { font-size: 24px; line-height: 1.22; }
  main blockquote, .pull blockquote, main p.quote { font-size: 32px; line-height: 1.12; }
  main .lede { font-size: 20px; line-height: 1.5; }
  main p:not([class]), main .body p, main .text-block p, main p.muted, main li:not(.svc li):not(.work-list li) { font-size: 17px; line-height: 1.6; }
  main .step p, main .hscroll .step p { font-size: 17px; line-height: 1.55; }
  .page-head { padding-top: calc(var(--head) + 52px); padding-bottom: 40px; }
  main .section { padding-block: 64px; }
  .foot-cta { padding-top: 72px; padding-bottom: 64px; }
}

/* ================= the installed app: clear of the notch and the home bar ================= */
@supports (padding: max(0px)) { :root { --m: max(clamp(24px, 6.67vw, 96px), env(safe-area-inset-left), env(safe-area-inset-right)); } }
@media (display-mode: standalone) {
  :root { --head: calc(88px + env(safe-area-inset-top)); }
  .site-head { padding-top: env(safe-area-inset-top); }
  body { overscroll-behavior-y: none; }
}

/* ================= kind words and the team (shown only when the admin has some) ================= */
.kind-words .practices-head { margin-bottom: clamp(32px, 4vw, 56px); }
.kw-row { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 64px); }
.kw-row.many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kw { margin: 0; padding-top: 24px; border-top: 1px solid var(--mist); }
.kw blockquote { margin: 0; font: 300 clamp(26px, 2.4vw, 38px)/1.18 "Clash Grotesk", sans-serif; letter-spacing: -0.015em; }
.kw blockquote::before { content: "\201C"; } .kw blockquote::after { content: "\201D"; }
.kw figcaption { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; }
.kw .kw-n { font: 500 17px/1.3 Satoshi, sans-serif; } .kw .label { color: var(--ash); }
.kw-case { padding-block: clamp(48px, 6vw, 96px); } .kw-case .kw { max-width: 52rem; border-bottom: 1px solid var(--mist); padding-bottom: 28px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 24px; margin-top: clamp(32px, 4vw, 56px); }
.tm-ph { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--paper-sink); display: grid; place-items: center; margin-bottom: 16px; }
.tm-ph img { width: 100%; height: 100%; object-fit: cover; } .tm-ph span { font: 300 clamp(64px, 7vw, 96px)/1 "Clash Grotesk", sans-serif; color: var(--ash); }
.tm .h2 { margin: 0; } .tm .label { margin: 8px 0 0; color: var(--ash); } .tm .muted { margin: 10px 0 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 700px) {
  .kw-row.many { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); gap: 20px; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scrollbar-width: none; }
  .kw-row.many::-webkit-scrollbar { display: none; }
  .kw-row.many .kw { flex: 0 0 84%; scroll-snap-align: start; }
  .kw blockquote { font-size: 26px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

/* the hero's crew canvas shares a class name with the Studio page's opening section; keep that section's padding and height off the canvas,
   or the drawing is squeezed into the padded box (the crew were drawn short, and anything high, like the globe, landed in the wrong place) */
.skate-live canvas.crew-hero { padding: 0; min-height: 0; overflow: visible; }

/* ---------- the Playground: its own place in the menu, and a section on the home page ---------- */
.menu .menu-play { display: inline-flex; align-self: flex-start; align-items: center; gap: 16px; margin-top: 28px; padding: 12px 24px 12px 14px; border: 1px solid rgba(250,248,243,0.24); border-radius: 44px; color: var(--paper);
  transition: border-color var(--ui) var(--ease), background var(--ui) var(--ease); }
.menu .menu-play:hover, .menu .menu-play:focus-visible { border-color: var(--paper); background: rgba(250,248,243,0.06); }
.menu .menu-play svg { width: 26px; height: 36px; overflow: visible; }
.menu .menu-play .pl-name { font: 400 28px/1 "Clash Grotesk", sans-serif; letter-spacing: -0.01em; }
.menu .menu-play .pl-note { color: var(--mist); }
.menu .menu-play[aria-current="page"] .pl-name { color: var(--mist); }
.menu.open .menu-play { animation: menu-rise var(--move) var(--ease) 260ms both; }
.home-play { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 56px; padding-block: clamp(96px, 11vw, 176px); align-items: center; }
.home-play .hp-copy { grid-column: 1 / span 5; }
.home-play .hp-copy > .label { color: var(--ash); }
.home-play .display { margin-top: 18px; max-width: 8em; }
.home-play .lede { margin-top: 28px; }
.home-play .hp-wink { margin-top: 14px; color: var(--ash); }
.home-play .hp-row { display: flex; gap: 18px 28px; align-items: center; flex-wrap: wrap; margin-top: 36px; }
.home-play .hp-stack { grid-column: 7 / -1; position: relative; padding-bottom: 14%; }
.home-play .hp-stack a { display: block; overflow: hidden; }
.home-play .hp-stack img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--hero) var(--ease); }
.home-play .hp-stack a:hover img { transform: scale(1.03); }
.home-play .hp-a { width: 84%; margin-left: auto; aspect-ratio: 4 / 3; }
.home-play .hp-b { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; box-shadow: 0 0 0 10px var(--paper); }
.home-play .hp-tag { position: absolute; right: 0; bottom: 4%; background: var(--carbon); color: var(--paper); padding: 8px 14px; border-radius: 20px; transform: rotate(-4deg); }
@media (max-width: 900px) { .home-play { grid-template-columns: minmax(0, 1fr); column-gap: 0; } .home-play .hp-copy, .home-play .hp-stack { grid-column: 1 / -1; min-width: 0; } }
.menu .menu-tools { margin-left: 10px; }
.menu .menu-tools svg { width: 26px; height: 26px; }
@media (max-width: 700px) { .menu .menu-tools { margin-left: 0; margin-top: 10px; } }

/* ---------- the header: Playground and Tools, set apart after the main links (desktop only) ---------- */
.head-x { display: flex; align-items: center; gap: 8px; margin-left: 22px; padding-left: 22px; border-left: 1px solid; border-left-color: color-mix(in srgb, currentColor 22%, transparent); }
.head-x .hx { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 11px; border: 1px solid; border-color: color-mix(in srgb, currentColor 26%, transparent); border-radius: 40px; color: inherit; transition: border-color var(--ui) var(--ease), background var(--ui) var(--ease); }
.head-x .hx:hover, .head-x .hx:focus-visible, .head-x .hx[aria-current="page"] { border-color: currentColor; background: color-mix(in srgb, currentColor 7%, transparent); }
.head-x svg { width: 15px; height: 17px; fill: var(--reef); stroke: var(--reef); flex: none; }
.head-x .hx:last-child svg { fill: none; }
@media (max-width: 1180px) { .head-x .hx span { display: none; } .head-x .hx { padding: 0 10px; } }
@media (max-width: 900px) { .head-x { display: none; } }
/* ---------- the practices story: a cue to keep scrolling ---------- */
.story-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 5; display: grid; justify-items: center; gap: 10px; color: var(--paper); mix-blend-mode: difference; pointer-events: none; transition: opacity var(--ui) var(--ease); }
.story-cue i { position: relative; width: 1px; height: 38px; background: rgba(250,248,243,0.35); overflow: hidden; }
.story-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper); animation: sc-drop 1.6s var(--ease) infinite; }
@keyframes sc-drop { to { top: 100%; } }
.story-cue.gone { opacity: 0; }
.story-index li:hover { opacity: 0.85; }
@media (prefers-reduced-motion: reduce) { .story-cue i::after { animation: none; top: 30%; } }
@media (max-width: 900px) { .story-cue { bottom: 20px; } }
/* ---------- the Tools, on the home page: a Carbon band ---------- */
.home-tools { background: var(--carbon); color: var(--paper); padding-block: clamp(96px, 11vw, 176px); }
.home-tools .ht-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 56px; align-items: center; }
.home-tools .ht-copy { grid-column: 1 / span 5; }
.home-tools .ht-copy > .label { color: var(--mist); }
.home-tools .display { margin-top: 18px; max-width: 8em; }
.home-tools .lede { margin-top: 28px; color: color-mix(in srgb, var(--paper) 86%, transparent); }
.home-tools .ht-note { margin-top: 16px; color: var(--reef); }
.home-tools .hp-row { display: flex; gap: 18px 28px; align-items: center; flex-wrap: wrap; margin-top: 36px; }
.home-tools .link { color: var(--paper); }
.home-tools .ht-grid { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-tools .ht-t { display: grid; gap: 4px; padding-bottom: 16px; border: 1px solid rgba(250,248,243,0.14); border-radius: 16px; overflow: hidden; color: var(--paper); transition: border-color var(--ui) var(--ease); }
.home-tools .ht-t img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; display: block; margin-bottom: 10px; transition: transform var(--hero) var(--ease); }
.home-tools .ht-t:hover, .home-tools .ht-t:focus-visible { border-color: var(--paper); }
.home-tools .ht-t:hover img { transform: scale(1.03); }
.home-tools .nm { padding: 0 16px; font: 400 20px/1.1 "Clash Grotesk", sans-serif; letter-spacing: -0.01em; }
.home-tools .ds { padding: 0 16px; color: var(--mist); font-size: 14px; line-height: 1.4; }
@media (max-width: 900px) { .home-tools .ht-in { grid-template-columns: minmax(0, 1fr); } .home-tools .ht-copy, .home-tools .ht-grid { grid-column: 1 / -1; } }
@media (max-width: 520px) { .home-tools .ht-grid { gap: 10px; } .home-tools .ds { display: none; } }

/* the story's cue and index: in the live panel's own ink, not a blend that clashes with Coral and Reef */
.story-cue, .story-index { mix-blend-mode: normal; color: var(--ink-now, var(--carbon)); transition: color var(--ui) var(--ease), opacity var(--ui) var(--ease); }
.story-cue i { background: color-mix(in srgb, currentColor 30%, transparent); }
.story-cue i::after { background: currentColor; }

/* ================= update 59: phones ================= */
/* stills never leave an empty frame: a quiet tone sits behind every poster while it loads */
.home-play .hp-stack a { background: var(--paper-sink); }
.home-tools .ht-t img, .wl-media img, .wcard .wmedia img { background: var(--carbon-lift); }

@media (max-width: 700px) {
  /* the practices story fits the screen you can see; the words sit clear of the tab bar, the cue moves to the top */
  .story-sticky { height: 100vh; height: 100svh; }
  .story .panel .pcopy { top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); transform: none; left: var(--m); right: var(--m); width: auto; }
  .story .pcopy .pname { font-size: 56px; margin-top: 6px; }
  .story .pcopy .pline { margin-top: 8px; }
  .story .pcopy ul { gap: 6px; margin: 14px 0 18px; }
  .story .panel .pcopy li { font-size: 11px !important; line-height: 16px !important; padding: 4px 10px !important; letter-spacing: 0.12em; }
  .story-cue { top: calc(var(--head) + 12px); bottom: auto; left: auto; right: var(--m); transform: none; }
  .story-cue i { display: none; }

  /* Practices: the cards stack as you scroll, each one sliding up over the last (as on the Studio page) */
  .pcols { display: block; padding-bottom: 56px; }
  .pcols .pcol { position: sticky; top: calc(var(--head) + 16px); height: 64vh; height: 64svh; min-height: 400px; margin-bottom: 20px; box-shadow: 0 -10px 30px rgba(20, 19, 18, 0.12); }
  .pcols .pcol:last-child { margin-bottom: 0; }

  /* the contact slate, made compact */
  .contact3 { padding-top: calc(var(--head) + 20px); padding-bottom: 40px; }
  .contact3 .intro { margin-bottom: 20px; }
  .contact3 .intro .lede { margin-top: 12px !important; }
  .slate-wrap { padding-top: 42px; }
  .clap { height: 42px; transform-origin: 14px 100%; }
  .slate { padding: 18px 18px 22px; }
  .slate-head { gap: 4px 14px; padding-bottom: 12px; margin-bottom: 16px; }
  .slate-head .dock { width: 22px; }
  .slate .field { margin-bottom: 14px; }
  .slate .field .label { margin-bottom: 2px; }
  .slate .field input, .slate .field textarea, .slate .field select { font-size: 17px; line-height: 24px; padding: 6px 0 8px; }
  .slate .field textarea { min-height: 84px; }
  .slate .row2:has(select) { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .slate .row2 { row-gap: 0; }
  .slate .chips { gap: 8px; margin: 8px 0 18px; }
  .slate .chip { height: 34px; padding-inline: 13px; }
  .slate-foot { gap: 10px 16px; margin-top: 4px; }
  .contact3 .side { margin-top: 28px; gap: 16px; padding-bottom: 24px; }
  .contact3 .stage { height: 230px; padding: 14px; }
  .contact3 .side > div > .label.muted { margin-bottom: 4px; }

  /* a shorter footer */
  .site-foot { padding-top: 44px; padding-bottom: 20px; }
  .site-foot .brand { display: none; }
  .site-foot .top { row-gap: 26px; }
  .site-foot .col { gap: 4px; margin-bottom: 0; }
  .site-foot .col .label { margin-bottom: 4px; }
  .site-foot .col a { font-size: 17px; line-height: 26px; }
  .site-foot .col:nth-child(4) { grid-column: 1 / -1; }
  .site-foot .base { margin-top: 28px; padding-top: 16px; gap: 6px 16px; }
  .foot-word { margin-top: 18px; }
}

/* update 60: on phones and iPads the flying Spark has no drop shadow. Safari repaints a shadowed shape that moves every frame
   badly and leaves a pale copy of the last frame stuck to the Spark. The Paper outline still separates it from the page. */
@media (hover: none) { .spark-fly:not(.ghost) svg { filter: none; } .spark-fly svg { transform: translateZ(0); } }
@supports (-webkit-touch-callout: none) { .spark-fly:not(.ghost) svg { filter: none; } }

/* ---------- update 66: where the work lives. A Reef button under the project's details and first in the end card (projects made for others only) ---------- */
.case-live { margin-top: 32px; }
/* update 70 (brand guide v4): Carbon label on Reef (5.4:1); Paper once the Deep Reef fill arrives on hover */
.btn.live-link { background: var(--reef); color: var(--carbon); transition: color var(--move) var(--ease); }
.btn.live-link::before { background: var(--dreef); }
.btn.live-link:hover, .btn.live-link:focus-visible { color: var(--paper); }
.btn.live-link svg { flex: none; transition: transform var(--ui) var(--ease); }
.btn.live-link:hover svg { transform: translate(2px, -2px); }
.btn.alt { background: transparent; color: var(--carbon); box-shadow: inset 0 0 0 1.5px var(--carbon); transition: color var(--move) var(--ease); }
.btn.alt::before { background: var(--carbon); }
.btn.alt:hover { color: var(--paper); }
.endcard .ec-cta { flex-wrap: wrap; row-gap: 16px; }
@media (max-width: 700px) { .case-live { margin-top: 24px; } .endcard .ec-cta { gap: 16px 24px; } }

/* update 72 (brand guide v4): on dark fields the focus ring is Paper so it can be seen */
.dark, .deep, .on-dark, .site-foot, .foot-cta, .slate, .menu, .panel.design, .panel.immersive, .pr-stage.design, .pr-stage.immersive, .tile.design, .tile.immersive, .hscroll, .peek2, .reel-band, .home-tools, .ex-stage, .case-hero, .frame > .play { --ring: var(--paper); }

/* update 72 (brand guide v4, Language support): a word with Yoruba, Igbo or Hausa letters (subdots, hooks, the Naira sign) is set whole in Inter,
   at the same size: Inter Light beside Clash Grotesk, Inter Regular beside Satoshi and JetBrains Mono. site.js wraps the words; the font loads only where they appear. */
@font-face { font-family: "Inter NG"; src: url("../fonts/inter-ng.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }
.ng { font-family: "Inter NG", "Inter", system-ui, sans-serif; font-weight: 400; font-optical-sizing: auto; }
.ng.ng-l { font-weight: 300; }

/* ================= update 73: the work as a gallery, the practices with their work, a tighter ending ================= */
/* who we work with: the statement and the Partner line in one light band, straight after the practices */
.who-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 48px; padding-block: clamp(80px, 9vw, 144px); background: var(--paper); color: var(--carbon); }
.who-band .wb-head { grid-column: 1 / span 5; }
.who-band .wb-head .body { margin-top: 24px; color: var(--ash); max-width: 30em; }
.who-band .aud { grid-column: 7 / -1; display: block; margin: 0; }
.who-band .aud > div { display: grid; grid-template-columns: 10em 1fr; column-gap: 24px; row-gap: 6px; padding-block: 26px; border-top: 1px solid var(--mist); margin: 0; }
.who-band .aud > div:last-child { border-bottom: 1px solid var(--mist); }
.who-band .aud .label { grid-row: span 3; color: var(--ash); padding-top: 8px; }
.who-band .aud .h2 { font-size: clamp(22px, 2vw, 30px); line-height: 1.15; margin: 0; }
.who-band .aud p.muted { color: var(--ash); margin: 0; }
.who-band .aud .link { justify-self: start; margin-top: 8px; }

/* the work, as a gallery: pinned and moved by the scroll on desktop, swiped on phones */
.work-gallery { padding-block: clamp(80px, 9vw, 144px) clamp(48px, 5vw, 80px); overflow: clip; }
.work-gallery.wg-on .wg-list { display: none; }
.wg-pin { position: relative; display: none; }
.wg-on .wg-pin { display: block; height: var(--wg-h, 300vh); }
.wg-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.wg-track { display: flex; align-items: flex-start; gap: clamp(20px, 2.4vw, 40px); padding-inline: var(--m); will-change: transform; }
.wg-frame { flex: none; width: min(50vw, 860px); display: block; color: var(--paper); }
.wg-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--carbon-lift); }
.wg-media img, .wg-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wg-media img { filter: saturate(0.7) brightness(0.62); transform: scale(1.04); transition: filter var(--move) var(--ease), transform var(--hero) var(--ease); }
.wg-frame.live .wg-media img { filter: none; transform: none; }
.wg-media video { clip-path: polygon(0 0, 0 0, -25% 100%, -25% 100%); transition: clip-path var(--hero) var(--ease); }
.wg-frame.live.playing .wg-media video { clip-path: polygon(0 0, 125% 0, 100% 100%, -25% 100%); }
.wg-cap { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 6px; align-items: baseline; margin-top: 20px; opacity: 0.45; transition: opacity var(--move) var(--ease); }
.wg-frame.live .wg-cap { opacity: 1; }
.wg-cap .wg-n { color: var(--mist); }
.wg-cap .h2 { font-size: clamp(28px, 2.6vw, 44px); line-height: 1.05; }
.wg-cap .wg-meta { grid-column: 2; color: var(--mist); }
.wg-frame:hover .h2, .wg-frame:focus-visible .h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.wg-end { flex: none; width: min(30vw, 460px); aspect-ratio: 4 / 5; display: grid; align-content: end; gap: 14px; padding: 36px; border-radius: 10px; border: 1px solid var(--line-dark); color: var(--paper); align-self: flex-start; }
.wg-end .h1 { font-size: clamp(34px, 3vw, 52px); line-height: 1.02; }
.wg-end .label { color: var(--mist); }
.wg-end:hover { border-color: var(--paper); }
.wg-rail { position: relative; height: 2px; margin: clamp(28px, 3vw, 48px) var(--m) 0; background: var(--line-dark); }
.wg-rail i { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(var(--wg-p, 0)); }
/* the crew member for the project's practice points at it (character layer: an overshoot is allowed) */
.wg-crew { position: absolute; right: calc(var(--m) * 0.6); bottom: -8px; width: clamp(130px, 12vw, 210px); height: clamp(170px, 16vw, 270px); pointer-events: none; }
.wg-crew img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translate(-50%, 115%); transition: transform 560ms cubic-bezier(0.34, 1.45, 0.5, 1); }
.wg-crew img.on { transform: translate(-50%, 4%); }
@media (hover: none), (max-width: 900px) {
  .wg-on .wg-pin { height: auto; }
  .wg-stick { position: relative; height: auto; display: block; }
  .wg-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; padding-bottom: 6px; }
  .wg-track::-webkit-scrollbar { display: none; }
  .wg-frame { width: 84vw; scroll-snap-align: center; }
  .wg-end { width: 64vw; scroll-snap-align: center; }
  .wg-crew { display: none; }
  .wg-rail { margin-top: 24px; }
}



/* Playground and Tools: one split row, Paper and Carbon */
.home-duo { display: grid; grid-template-columns: 1fr 1fr; }
.home-duo .hd-half { display: block; padding: clamp(72px, 8vw, 128px) var(--m); }
.home-duo .home-play { background: var(--paper); color: var(--carbon); }
.home-duo .home-tools { background: var(--carbon); color: var(--paper); --ring: var(--paper); }
.home-duo .home-tools .ht-in { display: block; padding: 0; }
.home-duo .hp-copy, .home-duo .ht-copy { max-width: 34em; }
.home-duo .display { font-size: clamp(40px, 3.8vw, 66px); line-height: 1; max-width: 9em; }
.home-duo .hp-stack { margin-top: 48px; }
.home-duo .ht-grid { margin-top: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .who-band .wb-head, .who-band .aud { grid-column: 1 / -1; }
  .who-band .aud > div { grid-template-columns: 1fr; } .who-band .aud .label { grid-row: auto; padding-top: 0; }
  .home-duo { grid-template-columns: 1fr; }
}

/* the practice panels show their own work */
.p-work { margin-top: 28px; }
.p-work > .label { opacity: 0.8; }
.pw-row { display: flex; gap: 12px; margin-top: 12px; }
.pw { display: block; width: clamp(104px, 9vw, 150px); color: inherit; }
.pw-m { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: rgba(20, 19, 18, 0.18); }
.pw-m img, .pw-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pw-m video { opacity: 0; transition: opacity var(--ui) var(--ease); }
.pw.playing .pw-m video { opacity: 1; }
.pw-t { display: block; margin-top: 8px; font: 400 14px/1.3 "Satoshi", sans-serif; }
.pw:hover .pw-t, .pw:focus-visible .pw-t { text-decoration: underline; text-underline-offset: 3px; }
.panel .pcopy .p-work + .btn { margin-top: 28px; }

/* ================= update 73: chapters and facts, for case studies of bigger worlds ================= */
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 28px; align-items: center; padding-block: clamp(48px, 6vw, 96px); }
.chapter .ch-media { grid-column: 1 / span 7; margin: 0; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--paper-sink); }
.chapter .ch-media video, .chapter .ch-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chapter .ch-copy { grid-column: 9 / -1; }
.chapter.flip .ch-media { grid-column: 6 / -1; grid-row: 1; }
.chapter.flip .ch-copy { grid-column: 1 / span 4; grid-row: 1; }
.chapter .ch-k { color: var(--ash); }
.chapter .h1 { margin-top: 14px; font-size: clamp(34px, 3.4vw, 56px); line-height: 1.02; }
.chapter .body { margin-top: 20px; }
.chapter .body p + p { margin-top: 14px; }
.ch-facts { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--mist); }
.ch-facts li { padding: 10px 0; border-bottom: 1px solid var(--mist); font: 400 12px/1.6 "JetBrains Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; }
.ch-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); padding-block: clamp(40px, 5vw, 80px); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.facts > div { display: grid; gap: 8px; }
.facts .f-n { font: 300 clamp(48px, 5vw, 88px)/0.95 "Clash Grotesk", sans-serif; letter-spacing: -0.02em; }
.facts .label { color: var(--ash); }
@media (max-width: 900px) {
  .chapter .ch-media, .chapter .ch-copy, .chapter.flip .ch-media, .chapter.flip .ch-copy { grid-column: 1 / -1; grid-row: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

/* ================= update 73: the immersive case study (a world you can walk into): a night page, a full-screen hero,
   the world as a scroll story, a game-select grid, a gallery wall, a bento of places and a film ================= */
body.case-night { background: var(--carbon); }
main.case-x { background: var(--carbon); color: var(--paper); }
body.case-night .site-head.scrolled { background: rgba(20, 19, 18, 0.9); color: var(--paper); box-shadow: 0 1px 0 var(--line-dark); }
body.case-night .site-head.scrolled .logo .dk { display: none; }
body.case-night .site-head.scrolled .logo .lt { display: block; }
.case-x .label { letter-spacing: 0.14em; }
/* the hero: the city fills the screen; the title sits low over it */
.x-hero.case-hero { margin: 0; height: 100vh; height: 100svh; max-height: none; aspect-ratio: auto; border-radius: 0; background: var(--carbon); }
.x-hero.case-hero > video, .x-hero.case-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 19, 18, 0.6) 0%, rgba(20, 19, 18, 0) 26%, rgba(20, 19, 18, 0) 40%, rgba(20, 19, 18, 0.9) 100%); }
.x-head { position: absolute; left: 0; right: 0; bottom: clamp(36px, 7vh, 88px); z-index: 2; color: var(--paper); }
.x-head .crumb { color: var(--mist); } .x-head .crumb a { color: inherit; }
.x-title { margin: 18px 0 0; font: 300 clamp(56px, 8.6vw, 164px)/0.9 "Clash Grotesk", sans-serif; letter-spacing: -0.035em; }
.x-title span { display: block; }
.x-title .x-t2 { color: var(--mist); }
.x-head .lede { margin-top: 24px; max-width: 32em; color: var(--paper); }
.x-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 30px; }
.x-hero.film-on .x-head, .x-hero.film-on .x-shade { display: none; }
.x-meta { padding-block: clamp(40px, 5vw, 72px) 0; }
.case-x .case-meta { margin-top: 0; border-top-color: var(--line-dark); }
.case-x .case-meta div span { color: var(--mist); }
/* the statement and the numbers */
.x-statement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding-block: clamp(88px, 11vw, 176px) clamp(48px, 6vw, 96px); }
.x-statement > .label { grid-column: 1 / -1; color: var(--mist); }
.xs-big { grid-column: 1 / span 10; margin-top: 22px; font: 300 clamp(32px, 3.8vw, 64px)/1.06 "Clash Grotesk", sans-serif; letter-spacing: -0.02em; }
.xs-body { grid-column: 7 / -1; margin-top: clamp(28px, 3vw, 48px); color: var(--mist); }
.case-x .facts { border-color: var(--line-dark); }
.case-x .facts .label { color: var(--mist); }
.case-x .facts .f-n { color: var(--paper); }
/* the world: the scene fills the screen and stays; the story scrolls over it; each new scene wipes in at 66° */
.x-world { position: relative; margin-top: clamp(88px, 10vw, 160px); }
.xw-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--carbon); }
.xw-m { position: absolute; inset: 0; margin: 0; clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); transition: clip-path 900ms var(--ease); }
.xw-m.on { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }
.xw-m:first-child { clip-path: none; }
.xw-m video, .xw-m img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xw-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20, 19, 18, 0.7) 0%, rgba(20, 19, 18, 0.2) 46%, rgba(20, 19, 18, 0) 70%), linear-gradient(0deg, rgba(20, 19, 18, 0.55) 0%, rgba(20, 19, 18, 0) 30%); }
.xw-index { position: absolute; right: var(--m); bottom: clamp(28px, 5vh, 56px); z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xw-index li { display: flex; gap: 14px; color: var(--paper); opacity: 0.5; transition: opacity var(--move) var(--ease); }
.xw-index li.on { opacity: 1; }
.xw-index li.on span:first-child { color: var(--reef); }
.xw-steps { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.xw-step { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-inline: var(--m); pointer-events: none; }
.xw-card { pointer-events: auto; width: min(480px, 100%); padding: clamp(24px, 2.4vw, 40px); border-radius: 10px; border: 1px solid var(--line-dark); background: rgba(20, 19, 18, 0.74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.xw-card .xw-k { color: var(--mist); }
.xw-card .h1 { margin-top: 12px; font-size: clamp(36px, 3.6vw, 60px); line-height: 1; }
.xw-card .body { margin-top: 16px; }
.case-x .ch-facts { border-top-color: var(--line-dark); }
.case-x .ch-facts li { border-bottom-color: var(--line-dark); color: var(--mist); }
/* section heads */
.x-sec-head { max-width: 48em; margin-bottom: clamp(40px, 5vw, 72px); }
.x-sec-head > .label { color: var(--mist); }
.x-sec-head .display { margin-top: 14px; font-size: clamp(44px, 5.4vw, 96px); line-height: 0.95; }
.x-sec-head .body { margin-top: 22px; max-width: 38em; color: var(--mist); }
/* six ways to play: a game-select screen */
.x-games { padding-block: clamp(104px, 12vw, 192px) clamp(48px, 6vw, 96px); }
.xg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 44px) clamp(20px, 2vw, 32px); }
.xg-card { display: flex; flex-direction: column; min-width: 0; }
.xg-card.big { grid-column: span 2; grid-row: span 2; }
.xg-m { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--carbon-lift); }
.xg-card.big .xg-m { aspect-ratio: auto; flex: 1 1 auto; min-height: 440px; }
.xg-m img, .xg-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xg-m img { transition: transform var(--hero) var(--ease); }
.xg-m video { opacity: 0; transition: opacity var(--ui) var(--ease); }
.xg-card.playing .xg-m video { opacity: 1; }
.xg-card:hover .xg-m img { transform: scale(1.03); }
.xg-genre { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 7px 12px; border-radius: 999px; background: rgba(20, 19, 18, 0.78); color: var(--paper); }
.xg-c { padding-top: 18px; }
.xg-c .h2 { font-size: clamp(26px, 2.2vw, 38px); line-height: 1.05; }
.xg-card.big .xg-c .h2 { font-size: clamp(40px, 3.8vw, 64px); }
.xg-line { margin-top: 10px; max-width: 34em; color: var(--mist); }
.xg-facts { margin-top: 12px; color: var(--mist); }
.xg-c .ch-links { margin-top: 18px; }
/* the Art Studio chapter on the night page */
.case-x .chapter { padding-block: clamp(96px, 11vw, 176px) clamp(40px, 5vw, 72px); }
.case-x .chapter .ch-media { background: var(--carbon-lift); }
.case-x .chapter .ch-k { color: var(--mist); }
/* the works, hung on a wall: Paper mats, a soft shadow; open one full size */
.x-wall { padding-block: clamp(48px, 6vw, 96px); }
.xwall-grid { columns: 4 220px; column-gap: clamp(20px, 2.2vw, 36px); }
.xwall-f { break-inside: avoid; margin: 0 0 clamp(24px, 2.4vw, 40px); }
.xwall-b { display: block; width: 100%; padding: 10px; border: 0; border-radius: 2px; background: var(--paper); cursor: zoom-in; box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform var(--move) var(--ease), box-shadow var(--move) var(--ease); }
.xwall-b img { display: block; width: 100%; height: auto; }
.xwall-b:hover, .xwall-b:focus-visible { transform: translateY(-6px); box-shadow: 0 28px 52px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3); }
.xwall-f figcaption { margin-top: 12px; color: var(--mist); }
.xlb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 64px 88px; background: rgba(20, 19, 18, 0.95); opacity: 0; pointer-events: none; transition: opacity var(--ui) var(--ease); }
.xlb.on { opacity: 1; pointer-events: auto; }
.xlb figure { margin: 0; display: grid; justify-items: center; gap: 16px; }
.xlb img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; padding: 10px; background: var(--paper); }
.xlb figcaption { color: var(--paper); }
.xlb button { position: absolute; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: none; color: var(--paper); cursor: pointer; }
.xlb button:hover { border-color: var(--paper); }
.xlb .x-close { top: 20px; right: 20px; } .xlb .x-prev { left: 20px; top: 50%; } .xlb .x-next { right: 20px; top: 50%; }
/* everywhere else: living tiles */
.x-bento { padding-block: clamp(104px, 12vw, 192px) clamp(48px, 6vw, 96px); }
.xb-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(16px, 1.6vw, 24px); }
.xb-tile { position: relative; display: block; min-height: 300px; border-radius: 10px; overflow: hidden; background: var(--carbon-lift); color: var(--paper); }
.xb-tile.t0 { grid-row: span 2; min-height: 640px; }
.xb-tile.t3 { grid-column: span 2; }
.xb-m, .xb-m img, .xb-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xb-m img { transition: transform var(--hero) var(--ease); }
.xb-m video { opacity: 0; transition: opacity var(--ui) var(--ease); }
.xb-tile.playing .xb-m video { opacity: 1; }
.xb-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 19, 18, 0) 30%, rgba(20, 19, 18, 0.9) 100%); }
.xb-c { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 8px; padding: clamp(20px, 2vw, 32px); }
.xb-c .label { color: var(--mist); }
.xb-c .h2 { font-size: clamp(24px, 2.2vw, 40px); line-height: 1.05; }
.xb-tile.t0 .xb-c .h2 { font-size: clamp(34px, 3.2vw, 56px); }
.xb-b { max-width: 30em; color: var(--mist); }
.xb-c .xb-go { margin-top: 6px; color: var(--paper); }
a.xb-tile:hover .xb-m img { transform: scale(1.03); }
a.xb-tile:hover .xb-go, a.xb-tile:focus-visible .xb-go { text-decoration: underline; text-underline-offset: 4px; }
/* the film */
.x-film { padding-block: clamp(104px, 12vw, 192px) clamp(72px, 8vw, 128px); }
.xf-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.xf-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.xf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.xf-frame.on .xf-play { display: none; }
.case-x .endcard { border-top: 1px solid var(--line-dark); }
@media (max-width: 900px) {
  .xs-big, .xs-body { grid-column: 1 / -1; }
  .xw-step { align-items: flex-end; padding-bottom: 10vh; }
  .xw-card { width: 100%; }
  .xw-index { display: none; }
  .xw-shade { background: linear-gradient(180deg, rgba(20, 19, 18, 0) 30%, rgba(20, 19, 18, 0.7) 100%); }
  .xg-grid { grid-template-columns: 1fr; }
  .xg-card.big { grid-column: auto; grid-row: auto; }
  .xg-card.big .xg-m { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .xwall-grid { columns: 2 140px; }
  .xb-grid { grid-template-columns: 1fr; }
  .xb-tile.t0, .xb-tile.t3 { grid-row: auto; grid-column: auto; min-height: 360px; }
  .xb-tile { min-height: 320px; }
  .xlb { padding: 64px 16px; }
}
@media (prefers-reduced-motion: reduce) { .xw-m { transition: none; } }

/* ---------- update 73: immersive layout, second pass ---------- */
/* the hero's film button sits in line with the title and the text */
.x-hero .play-film { position: static; left: auto; bottom: auto; }
.x-title { font-size: clamp(52px, 7.4vw, 144px); }
.x-head .lede { max-width: 30em; }
/* every way to play: a game-select screen */
.x-select { padding-block: clamp(104px, 12vw, 192px) clamp(48px, 6vw, 96px); }
.xs-stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 28px; align-items: center; }
.xs-screen { grid-column: 1 / span 8; position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--carbon-lift); }
.xs-shot { position: absolute; inset: 0; margin: 0; opacity: 0; clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); }
.xs-shot.on { opacity: 1; z-index: 2; clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); transition: clip-path 800ms var(--ease); }
.xs-shot.was { opacity: 1; z-index: 1; clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }
.xs-shot img, .xs-shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xs-shot.art { background: var(--carbon-lift); }
.xs-shot.art img { object-fit: contain; padding: 7%; }
.xs-shot video { opacity: 0; transition: opacity var(--ui) var(--ease); }
.xs-shot.playing video { opacity: 1; }
.xs-info { grid-column: 9 / -1; }
.xs-panel .xs-g { color: var(--mist); }
.xs-panel .h1 { margin-top: 12px; font-size: clamp(40px, 4vw, 72px); line-height: 0.98; }
.xs-who { margin-top: 16px; color: var(--paper); }
.xs-line { margin-top: 18px; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.5; }
.xs-fr { margin-top: 14px; color: var(--mist); }
.xs-panel .ch-links { margin-top: 26px; }
.xs-panel:not([hidden]) { animation: xsIn 500ms var(--ease) both; }
@keyframes xsIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.xs-picker { display: flex; gap: clamp(24px, 2.6vw, 44px); margin-top: clamp(32px, 3.6vw, 56px); overflow-x: auto; scrollbar-width: none; padding: 6px 4px 10px; }
.xs-picker::-webkit-scrollbar { display: none; }
.xs-group { flex: none; }
.xs-group > .label { margin-bottom: 12px; color: var(--mist); }
.xs-row { display: flex; gap: 10px; }
.xs-tab { flex: none; display: grid; gap: 8px; width: clamp(84px, 6.4vw, 116px); padding: 0; border: 0; background: none; color: var(--mist); text-align: left; cursor: pointer; font: 400 14px/1.25 "Satoshi", sans-serif; }
.xs-tab img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; outline: 2px solid transparent; outline-offset: 3px; opacity: 0.55; transition: opacity var(--ui) var(--ease), outline-color var(--ui) var(--ease); }
.xs-tab:hover img { opacity: 0.9; }
.xs-tab[aria-selected="true"] { color: var(--paper); }
.xs-tab[aria-selected="true"] img { opacity: 1; outline-color: var(--paper); }
.xs-tab:focus-visible { outline: none; }
.xs-tab:focus-visible img { outline-color: var(--reef); }
.xs-friends { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); margin-top: clamp(56px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.xs-friends .label { color: var(--paper); }
.xs-friends p + p { margin-top: 10px; color: var(--mist); }
/* places: five living tiles, clean pictures that drift slowly */
.x-bento.n5 .xb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x-bento.n5 .xb-tile.t0 { grid-column: 1 / span 2; grid-row: 1 / span 2; min-height: 640px; }
.x-bento.n5 .xb-tile.t3 { grid-column: auto; }
.x-bento.n5 .xb-tile.t4 { grid-column: 2 / span 2; }
.xb-m img { animation: xbDrift 26s ease-in-out infinite alternate; }
@keyframes xbDrift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
a.xb-tile:hover .xb-m img { transform: none; }
/* on this page: a dock that follows you once the hero is behind you */
.x-dock { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: flex; gap: 4px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(20, 19, 18, 0.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: translate(-50%, 160%); opacity: 0; transition: transform var(--move) var(--ease), opacity var(--move) var(--ease); }
.x-dock.on { transform: translate(-50%, 0); opacity: 1; }
.x-dock a { padding: 10px 16px; border-radius: 999px; color: var(--mist); font: 400 12px/1 "JetBrains Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; transition: background var(--ui) var(--ease), color var(--ui) var(--ease); }
.x-dock a:hover { color: var(--paper); }
.x-dock a.on { background: var(--paper); color: var(--carbon); }
@media (max-width: 900px) {
  .xs-screen, .xs-info { grid-column: 1 / -1; }
  .xs-friends { grid-template-columns: 1fr; }
  .xs-tab { width: 96px; }
  .x-bento.n5 .xb-tile.t0, .x-bento.n5 .xb-tile.t4 { grid-column: auto; grid-row: auto; min-height: 360px; }
  .x-dock { display: none; }
}
@media (prefers-reduced-motion: reduce) { .xb-m img { animation: none; } .xs-shot.on { transition: none; } .xs-panel:not([hidden]) { animation: none; } }

/* places, third pass: the map is a wide banner with its words over it (the map has none of its own); the other places are cards
   with the picture above and the words below, so nothing is ever written over a picture that has words in it */
.x-bento.n5 .xb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px) clamp(16px, 1.6vw, 24px); }
.x-bento.n5 .xb-tile.t0 { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 21 / 9; }
.x-bento.n5 .xb-tile:not(.t0) { grid-column: auto; grid-row: auto; min-height: 0; display: flex; flex-direction: column; background: none; overflow: visible; border-radius: 0; }
.x-bento.n5 .xb-tile:not(.t0)::after { display: none; }
.x-bento.n5 .xb-tile:not(.t0) .xb-m { position: relative; inset: auto; display: block; aspect-ratio: 16 / 10; height: auto; border-radius: 10px; overflow: hidden; background: var(--carbon-lift); }
.x-bento.n5 .xb-tile:not(.t0) .xb-c { position: static; padding: 18px 2px 0; }
.x-bento.n5 .xb-tile:not(.t0) .xb-c .h2 { font-size: clamp(22px, 1.8vw, 30px); }
.xb-tile.contain .xb-m img, .xb-tile.contain .xb-m video { object-fit: contain; animation: none; }
@media (max-width: 900px) {
  .x-bento.n5 .xb-grid { grid-template-columns: 1fr; }
  .x-bento.n5 .xb-tile.t0 { aspect-ratio: 4 / 3; }
}

/* practice pages on phones: the section headings sit in place; no rise as they scroll in */
@media (hover: none), (max-width: 900px) { .pr-stage ~ section .rise > span { transform: none; transition: none; } }


/* ================= phones first (update 77): every page sized for thumbs and eyes on a phone.
   All of it sits inside phone and tablet widths, so the desktop site is untouched. ================= */
@media (max-width: 900px) {
  /* fields at 16 px: an iPhone never zooms in when you tap one */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea { font-size: max(16px, 1em); }
  /* the tab bar's labels, readable */
  .tabbar a { font-size: 12px; letter-spacing: 0.04em; }
  /* every tap target at least 44 px (Apple's minimum); where the look must not change, an invisible area round the link takes the tap */
  .site-head .logo { min-height: 44px; display: inline-flex; align-items: center; }
  .sound-btn { min-height: 44px; }
  .link, .totop, .copy-mail, a.h2[href^="mailto:"], a.h2[href^="tel:"] { position: relative; }
  .link::after, .totop::after, .copy-mail::after, a.h2[href^="mailto:"]::after, a.h2[href^="tel:"]::after { content: ""; position: absolute; inset: -12px -6px; }
  .ark-dock::before { content: ""; position: absolute; inset: -8px -10px; }
  .chip { height: 44px; min-height: 44px; }
  .slate input, .slate select { min-height: 48px; }
  .site-foot .col a { padding-block: 9px; }
  /* the services under each practice, readable */
  .pcopy li { font-size: 13px; }
}
/* a lighter header on phones: more of the page in view (the tab bar already carries the links) */
@media (max-width: 700px) { :root { --head: 64px; } }
@media (max-width: 700px) and (display-mode: standalone) { :root { --head: calc(64px + env(safe-area-inset-top)); } }

@media (max-width: 900px) {
  /* breadcrumbs and the playground's top-bar links: an invisible area round them takes the tap */
  .crumb a, .c3d-bar a, .k3-bar a, .ch-bar a { position: relative; }
  .crumb a::after, .c3d-bar a::after, .k3-bar a::after, .ch-bar a::after { content: ""; position: absolute; inset: -13px -6px; }
  /* the services under each practice: 12 px, still fitting their chips */
  .pcopy li { font-size: 12px !important; line-height: 17px !important; }
}

@media (max-width: 900px) {
  .story .panel .pcopy li { font-size: 12px !important; line-height: 17px !important; }   /* the home services chips: 12 px */
  .meet, .switcher { overflow-x: clip; }   /* the live crew's canvas margin never widens the page */
  .k3-row button { min-height: 44px; }
}
