/* GreyMatter — ink, paper, orange. Loud where it counts. */
:root {
  --ink: #0B0B0B;
  --ink-2: #161616;
  --paper: #ECEBE6;
  --paper-2: #DEDDD7;
  --grey: #8A8A85;
  --orange: #FF5A1F;
  --orange-2: #FF7A45;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --g: clamp(16px, 3vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 clamp(16px, .5vw + 13px, 19px)/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--orange); color: var(--ink); padding: 10px 14px; z-index: 300; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Loader ---------- */
/* the logo sits exactly where the hero draws it, so the hand-off is seamless */
.loader { --lw: 86vw; --lh: calc(var(--lw) / 12.359); --ly: 45svh; --lx: 7vw;
  position: fixed; inset: 0; z-index: 200; background: var(--ink); overflow: hidden;
  clip-path: inset(0 0 0 0); transition: clip-path 1.05s cubic-bezier(.75,0,.15,1) .15s; }
@media (max-aspect-ratio: 9/10) { .loader { --lw: 90vw; --lx: 5vw; --ly: 42svh; } }
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__frame { position: absolute; inset: 0; }
.loader__rule { position: absolute; left: 0; right: 0; height: 1px; background: #3A3A37; transform: scaleX(0); animation: rule .9s cubic-bezier(.6,0,.2,1) forwards; }
.loader__rule--top { top: calc(var(--ly) - var(--lh) / 2 - 1px); }
.loader__rule--base { top: calc(var(--ly) + var(--lh) / 2); animation-delay: .12s; }
@keyframes rule { to { transform: scaleX(1); } }
.loader__tick { position: absolute; width: 1px; background: #3A3A37; top: calc(var(--ly) - var(--lh) / 2 - 28px); height: calc(var(--lh) + 56px); transform: scaleY(0); animation: tick .6s cubic-bezier(.6,0,.2,1) .5s forwards; }
.loader__tick--l { left: var(--lx); } .loader__tick--r { right: var(--lx); }
@keyframes tick { to { transform: scaleY(1); } }
.loader__lab { position: absolute; font: 400 11px/1 var(--mono); color: #6A6A65; opacity: 0; animation: fade .4s ease .7s forwards; white-space: nowrap; }
.loader__lab--tl, .loader__lab--tr { top: calc(var(--ly) - var(--lh) / 2 - 24px); }
.loader__lab--bl, .loader__lab--br { top: calc(var(--ly) + var(--lh) / 2 + 14px); }
.loader__lab--tl, .loader__lab--bl { left: calc(var(--lx) + 10px); }
.loader__lab--tr, .loader__lab--br { right: calc(var(--lx) + 10px); }
@keyframes fade { to { opacity: 1; } }
.loader__logo { position: absolute; left: var(--lx); width: var(--lw); top: calc(var(--ly) - var(--lh) / 2); height: var(--lh); }
.loader__logo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.loader__logo path { fill: #EDEAE4; fill-opacity: 0; stroke: #EDEAE4; stroke-width: 1.1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1.7s cubic-bezier(.55,.05,.25,1) .55s forwards, fillin .55s ease 2.05s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; stroke-opacity: 0; } }
.loader__foot { position: absolute; left: var(--g); right: var(--g); bottom: calc(var(--g) + 10px); display: flex; justify-content: space-between; align-items: end; gap: 16px; font-family: var(--mono); font-size: .8rem; color: #8A8A85; }
.loader__status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 10px; vertical-align: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.loader__n { color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #1C1C1B; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.loader.is-leaving .loader__frame > :not(.loader__logo), .loader.is-leaving .loader__foot, .loader.is-leaving .loader__bar { opacity: 0; transition: opacity .3s ease; }

/* ---------- Nav (progressive blur, Spartan) ---------- */
.nav { position: fixed; z-index: 100; top: 14px; left: var(--g); right: var(--g); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(20,20,20,.55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(255,255,255,.08); }
.nav.is-solid { background: rgba(11,11,11,.92); }
.nav.is-light { background: rgba(236,235,230,.72); color: var(--ink); border-color: rgba(0,0,0,.08); }
.nav__mark { display: block; width: clamp(120px, 11vw, 150px); aspect-ratio: 1341 / 108.5; background: currentColor; -webkit-mask: url(../assets/wordmark.svg) center / contain no-repeat; mask: url(../assets/wordmark.svg) center / contain no-repeat; }
.nav nav { display: flex; gap: clamp(12px, 2.2vw, 30px); font-size: .92rem; }
.nav nav a { text-decoration: none; opacity: .75; }
.nav nav a:hover { opacity: 1; }
.nav__cta { background: var(--orange); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; padding: .62em 1.1em; border-radius: 999px; white-space: nowrap; }
@media (max-width: 420px) { .nav { gap: 8px; padding-left: 14px; } .nav__mark { width: 104px; } .nav__cta { font-size: .8rem; padding: .62em .9em; } }
@media (max-width: 760px) { .nav nav { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__ui { position: absolute; left: var(--g); right: var(--g); bottom: clamp(24px, 5vh, 56px); display: grid; grid-template-columns: auto minmax(0, 34ch) 1fr; gap: 20px 48px; align-items: end; pointer-events: none; }
.hero__tag { font: 600 clamp(2rem, 4.2vw, 4.4rem)/.92 var(--sans); letter-spacing: -.05em; }
.hero__copy { color: #BDBDB7; font-size: .98rem; }
.hero__meta { justify-self: end; display: flex; gap: 18px; font-family: var(--mono); font-size: .78rem; color: var(--grey); }
.hero__meta span:last-child { color: var(--orange); }
.hero__scroll { position: absolute; left: 50%; top: calc(100% - 28px); transform: translateX(-50%); font-family: var(--mono); font-size: .72rem; color: var(--grey); }
@media (max-width: 860px) { .hero__ui { grid-template-columns: 1fr; } .hero__meta { justify-self: start; } .hero__scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--paper); color: var(--ink); padding: clamp(10px, 2vw, 22px) 0; border-block: 1px solid var(--ink); }
.marquee--ink { background: var(--ink); color: var(--paper); border-color: #222; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: .35em; font: 600 clamp(3rem, 11vw, 11rem)/1 var(--sans); letter-spacing: -.055em; will-change: transform; }
.marquee__track span { white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--orange); display: inline-block; font-size: .6em; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Client logos ---------- */
.clients { background: var(--ink); border-top: 1px solid #1E1E1D; border-bottom: 1px solid #1E1E1D; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 clamp(20px, 3vw, 48px); padding: clamp(22px, 3vw, 36px) 0 clamp(22px, 3vw, 36px) var(--g); }
.clients__label { font: 400 .78rem/1.3 var(--mono); color: var(--grey); max-width: 12ch; }
.clients__view { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients__track { display: flex; align-items: center; width: max-content; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); will-change: transform; }
.clients__track li { flex: none; display: grid; place-items: center; height: 60px; }
.clients__track img { height: var(--h); width: auto; opacity: var(--o, .5); transition: opacity .3s; }
.clients__track li:hover img { opacity: .85; }
@media (max-width: 700px) {
  .clients { grid-template-columns: 1fr; gap: 14px; padding-right: 0; }
  .clients__label { max-width: none; }
  .clients__track img { height: calc(var(--h) * .82); }
  .clients__track { gap: 44px; padding-right: 44px; }
  .clients__track li { height: 54px; }
}

/* ---------- Diagnosis (orbit) ---------- */
.diag { background: var(--paper); color: var(--ink); position: relative; }
.diag__pin { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 24px clamp(24px, 5vw, 80px); align-items: center; padding: 110px var(--g) 48px; overflow: hidden; }
.diag__head h2 { font: 600 clamp(2.2rem, 4.6vw, 4.8rem)/.95 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.diag__head > p { margin-top: 18px; max-width: 46ch; color: #45453F; }
.diag__head h2 + p { margin-top: 24px; }
.diag__count { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 5vh, 56px) !important; padding-top: 20px; border-top: 1px solid #CFCEC8; max-width: 42ch; }
.diag__count b { font: 700 clamp(3rem, 5vw, 4.6rem)/.8 var(--sans); letter-spacing: -.06em; color: var(--orange); }
.diag__count span { font-weight: 500; line-height: 1.3; color: var(--ink); }
.diag__end { grid-column: 1 / -1; max-width: 60ch; font: 600 clamp(1.15rem, 1.8vw, 1.6rem)/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink); opacity: 0; }
.orbit { --o: 1; --c: 34%; container-type: inline-size; position: relative; width: min(100%, 68svh, 580px); aspect-ratio: 1; justify-self: center; }
.orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #BDBCB5; stroke-dasharray: 3 6; opacity: var(--o); }
/* one group turns, so labels never cross; each label turns back to stay upright */
.orbit__spin { position: absolute; inset: 0; animation: orbit 70s linear infinite; }
@keyframes orbit { to { rotate: 360deg; } }
.sym { --p: 0; --s: 0; position: absolute; left: calc(50% + var(--R) * (1 - var(--p)) * sin(var(--a))); top: calc(50% - var(--R) * (1 - var(--p)) * cos(var(--a)));
  translate: -50% -50%; animation: counter 70s linear infinite; white-space: nowrap;
  font-size: clamp(.76rem, 2.5cqw, .95rem); font-weight: 500; padding: .45em .95em; border-radius: 999px;
  background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sym::after { content: ""; position: absolute; left: .8em; right: .8em; top: 50%; height: 1.5px; background: var(--orange); transform: scaleX(var(--s)); transform-origin: left; }
@keyframes counter { to { rotate: -360deg; } }
.orbit__core { position: absolute; inset: var(--c); border-radius: 50%; background: var(--orange); color: var(--ink); text-align: center; box-shadow: 0 0 0 10px rgba(255,90,31,.15), 0 0 0 22px rgba(255,90,31,.07); }
.orbit__q { font-weight: 600; font-size: max(11px, 2.5cqw); line-height: 1.1; letter-spacing: -.02em; width: 24cqw; text-wrap: balance; }
.orbit__a { width: 70cqw; opacity: 0; }
.orbit__kick { font: 500 max(10px, 2cqw) var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4cqw; }
.orbit__a ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4.5cqw 4cqw; }
.orbit__a li { display: grid; gap: 1.2cqw; align-content: start; }
.orbit__a li b { font-weight: 600; font-size: 5.4cqw; line-height: 1; letter-spacing: -.045em; }
.orbit__a li span { font-size: max(10.5px, 2.15cqw); line-height: 1.3; text-wrap: balance; }
.orbit__a li { opacity: 0; }
.orbit__q, .orbit__a { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
@media (max-width: 860px) {
  .diag__pin { grid-template-columns: 1fr; padding-top: 92px; gap: 14px; }
  .diag__head h2 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .diag__head > p { font-size: .95rem; line-height: 1.45; }
  .diag__more { display: none; }
  .orbit { width: min(100%, 46svh); }
  .sym { font-size: .66rem; padding: .4em .8em; }
  .diag__count { display: none; }
}

/* ---------- Expo stacked cards ---------- */
.expo { position: relative; height: 460svh; background: #0B0B0B; color: var(--paper); }
.expo__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.expo__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.expo__ui { position: absolute; inset: 0; pointer-events: none; padding: clamp(84px, 9vh, 110px) var(--g) clamp(28px, 5vh, 56px); }
.expo__title { position: absolute; top: clamp(84px, 9vh, 110px); left: var(--g); font: 600 clamp(1.1rem, 1.6vw, 1.5rem)/1.1 var(--sans); letter-spacing: -.02em; }
.expo__title span { display: block; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.expo__ticks { position: absolute; right: var(--g); top: clamp(88px, 9.6vh, 114px); list-style: none; display: grid; gap: 14px; font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; counter-reset: t; }
.expo__ticks li { counter-increment: t; display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: rgba(236,235,230,.32); transition: color .4s; }
.expo__ticks li::before { content: "0" counter(t); order: 2; }
.expo__ticks li::after { content: ""; order: 3; width: 18px; height: 1px; background: currentColor; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.expo__ticks li.is-on { color: var(--paper); }
.expo__ticks li.is-on::after { width: 42px; background: var(--orange); }
.expo__info { position: absolute; left: var(--g); bottom: clamp(28px, 6vh, 64px); max-width: min(640px, 60vw); }
.expo__meta { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(236,235,230,.6); display: flex; gap: 14px; align-items: center; }
.expo__meta i { font-style: normal; color: rgba(236,235,230,.4); }
.expo__tag { display: inline-block; margin: 16px 0 14px; padding: 6px 10px 5px; background: var(--orange); color: var(--ink); font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border-radius: 3px; }
.expo__h { font: 600 clamp(1.9rem, 3.1vw, 3.1rem)/.98 var(--sans); letter-spacing: -.045em; text-wrap: balance; max-width: 16ch; }
.expo__sub2 { display: block; margin-top: .7em; }
.expo__tag[hidden] { display: none; }
.expo__tag[hidden] + .expo__h { margin-top: 18px; }
.expo__sub { margin-top: 14px; max-width: 48ch; color: rgba(236,235,230,.66); font-size: clamp(.92rem, 1.05vw, 1.02rem); line-height: 1.5; }
.expo__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.expo__tags li { border: 1px solid rgba(236,235,230,.28); border-radius: 999px; padding: 6px 12px 5px; font: 500 .7rem/1 var(--mono); letter-spacing: .06em; color: rgba(236,235,230,.78); }
.expo__info > * { transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1), filter .6s; }
.expo__info:not(.is-in) > * { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: none; }
.expo__info.is-in > :nth-child(2) { transition-delay: .05s; } .expo__info.is-in > :nth-child(3) { transition-delay: .1s; }
.expo__info.is-in > :nth-child(4) { transition-delay: .16s; } .expo__info.is-in > :nth-child(5) { transition-delay: .22s; }
.expo__cta { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: .8em 1.3em; border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 .92rem/1 var(--sans); text-decoration: none; transition: background .25s, color .25s; }
.expo__cta:hover, .expo__cta:focus-visible { background: var(--orange); }
.expo__cta i { font-style: normal; transition: transform .3s var(--ease); }
.expo__cta:hover i { transform: translate(2px, -2px); }
.expo__info.is-in > :nth-child(6) { transition-delay: .28s; }
.expo__fallback { list-style: none; }
.expo__fallback a { color: inherit; text-decoration: none; }
.expo__hint { position: absolute; right: var(--g); bottom: clamp(28px, 6vh, 64px); font: 500 .7rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(236,235,230,.5); text-align: right; }
.expo__hint span { display: block; color: rgba(236,235,230,.3); }
.expo__fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* without WebGL: the original stacked cards */
.expo.no-gl { height: auto; padding: clamp(60px, 8vw, 120px) var(--g); background: var(--paper); color: var(--ink); }
.expo.no-gl .expo__pin { display: none; }
.expo.no-gl .expo__fallback { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.stack { display: grid; gap: 16px; }
.card { min-height: min(60svh, 560px); border-radius: 28px; padding: clamp(28px, 4vw, 56px); display: grid; align-content: space-between; gap: 24px; }
.card h3 { font: 600 clamp(2rem, 5.4vw, 5.6rem)/.95 var(--sans); letter-spacing: -.05em; max-width: 16ch; text-wrap: balance; }
.card p { max-width: 52ch; }
.card__k { font-family: var(--mono); font-size: .8rem; opacity: .7; }
.card--paper { background: #F7F6F2; }
.card--ink { background: var(--ink); color: var(--paper); }
.card--ink s { text-decoration-thickness: .08em; text-decoration-color: var(--orange); }
.card--photo { background: var(--ink-2); color: var(--paper); grid-template-columns: 1.2fr 1fr; align-content: stretch; padding: 14px; }
.card--photo .card__body { padding: clamp(16px, 3vw, 40px); display: grid; align-content: space-between; gap: 24px; }
.card__media { border-radius: 18px; overflow: hidden; min-height: 320px; background-size: cover; background-position: center; }
.card--orange { background: var(--orange); color: var(--ink); }
.card__big { font: 700 clamp(6rem, 22vw, 22rem)/.8 var(--sans); letter-spacing: -.07em; }
@media (max-width: 860px) {
  .card--photo { grid-template-columns: 1fr; }
  .expo { height: 420svh; }
  .expo__ticks { gap: 8px; }
  .expo__ticks li { font-size: 0; gap: 0; } .expo__ticks li::before { content: none; }
  .expo__ticks li::after { width: 12px; } .expo__ticks li.is-on::after { width: 28px; }
  .expo__info { max-width: none; right: var(--g); bottom: 26px; }
  .expo__h { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .expo__meta { white-space: nowrap; overflow: hidden; } .expo__meta i { overflow: hidden; text-overflow: ellipsis; }
  .expo__sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .expo__sub2, .expo__tags { display: none; }
  .expo__h { max-width: none; }
  .expo__sub { font-size: .88rem; }
  .expo__hint { display: none; }
}

/* ---------- Work (book) ---------- */
.work { position: relative; height: 100svh; min-height: 600px; background: #0E0C0A; overflow: hidden; }
.work__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.work__ui { position: absolute; top: 96px; left: var(--g); right: var(--g); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; pointer-events: none; }
.work__ui h2 { font: 600 clamp(2rem, 4vw, 3.6rem)/1 var(--sans); letter-spacing: -.05em; }
.work__hint { font-family: var(--mono); font-size: .8rem; color: #A9A49B; }
.work__nav { position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .88rem; }
.work__nav button { border: 0; background: var(--paper); color: var(--ink); border-radius: 999px; padding: .55em 1.1em; cursor: pointer; font-weight: 500; }
.work__nav button:disabled { opacity: .35; cursor: default; }
.work__nav span { font-family: var(--mono); font-size: .78rem; color: #CFCAC0; min-width: 9ch; text-align: center; }

.work__props { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6F6A62; }
.work__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 151; pointer-events: none; display: block; }
.desk__tip { position: absolute; z-index: 2; width: 236px; box-sizing: border-box; padding: 14px 16px; border-radius: 12px; background: rgba(14,12,10,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.08); font-size: .9rem; line-height: 1.35; opacity: 0; transform: translate(-100%, -50%) translateY(8px); transition: opacity .4s, transform .4s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.desk__tip.is-on { opacity: 1; transform: translate(-100%, -50%); pointer-events: auto; }
.desk__tip button { white-space: nowrap; margin-top: 10px; border: 0; background: var(--orange); color: var(--ink); font: 600 .82rem/1 var(--sans); padding: .6em 1em; border-radius: 999px; cursor: pointer; }

/* ---------- Contact card form ---------- */
.cform { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; }
.cform[hidden] { display: none; }
.cform__scrim { position: absolute; inset: 0; background: rgba(10,8,6,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.cform.is-open .cform__scrim { opacity: 1; }
.cform__card { position: relative; box-sizing: border-box; width: min(660px, 88vw, 80svh / .58); aspect-ratio: 1 / .58; background: #EDEBE5; color: var(--ink); border-radius: 5px; padding: clamp(16px, 3.4%, 26px) clamp(18px, 4.4%, 32px); display: grid; grid-template-rows: auto 1fr auto; gap: 8px; visibility: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.55); text-align: left; }
.cform.is-card .cform__card { visibility: visible; }
.cform.is-plain .cform__card { transition: opacity .32s, transform .45s cubic-bezier(.2,.7,.2,1); opacity: 0; transform: translateY(16px) scale(.97); }
.cform.is-plain.is-card .cform__card { opacity: 1; transform: none; }
.cform__x { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; background: none; font: 400 1.5rem/1 var(--sans); color: rgba(11,11,11,.5); cursor: pointer; border-radius: 50%; }
.cform__x:hover { color: var(--ink); background: rgba(0,0,0,.06); }
.cform__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-right: 30px; }
.cform__logo { width: 120px; aspect-ratio: 1341 / 108.5; background: var(--ink); -webkit-mask: url(../assets/wordmark.svg) no-repeat center / contain; mask: url(../assets/wordmark.svg) no-repeat center / contain; }
.cform__k { font: 500 .66rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; align-content: center; }
.f { position: relative; display: grid; gap: 3px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f > span, .f legend { font: 500 .6rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(11,11,11,.5); padding: 0; transition: color .2s; }
.f:focus-within > span, .f:focus-within legend { color: var(--orange); }
.f.is-bad > span { color: #C2361A; }
.f input[type="text"] { width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px dashed rgba(11,11,11,.3); border-radius: 0; background: transparent; font: 500 1rem/1.3 var(--sans); padding: 4px 0 5px; color: var(--ink); outline: none; caret-color: var(--orange); }
.f input::placeholder { color: rgba(11,11,11,.3); }
.f.is-bad input[type="text"] { border-bottom-color: #C2361A; }
.f__ink { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #22304F; border-radius: 2px; transition: width .18s; pointer-events: none; }
.f--wide { grid-column: 1 / -1; }
.f legend { margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: block; border: 1px solid rgba(11,11,11,.25); border-radius: 999px; padding: 5px 10px 4px; font: 500 .74rem/1.2 var(--sans); transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.f__other { display: block; position: relative; margin-top: 10px; }
.f__other[hidden] { display: none; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cform__msg { font-size: .8rem; color: #C2361A; min-height: 1em; }
.cform__send { border: 0; background: var(--orange); color: var(--ink); font: 600 .92rem/1 var(--sans); padding: .75em 1.6em; border-radius: 999px; cursor: pointer; white-space: nowrap; flex: none; }
.cform__send:disabled { opacity: .7; cursor: default; }
.cform__send:focus-visible, .cform__x:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cform__stamp { position: absolute; left: 30%; bottom: 9%; margin: 0; padding: 6px 14px 5px; border: 3px solid var(--orange); border-radius: 6px; color: var(--orange); font: 700 1.5rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-11deg) scale(1.6); opacity: 0; pointer-events: none; mix-blend-mode: multiply; }
.cform.is-sent .cform__stamp { animation: stamp .42s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stamp { to { opacity: .92; transform: rotate(-11deg) scale(1); } }
@media (max-aspect-ratio: 9/10) {
  .cform__card { width: min(360px, 86vw, 84svh * .58); aspect-ratio: .58 / 1; padding: 22px 22px 20px; }
  .cform__grid { grid-template-columns: 1fr; gap: 14px; }
  .cform__stamp { left: 12%; bottom: 13%; }
}
@media (prefers-reduced-motion: reduce) { .cform.is-plain .cform__card, .cform__scrim { transition: none; } }

/* ---------- Services (box) ---------- */
.services { position: relative; height: 420vh; background: #070707; }
.services__pin::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 42%; background: linear-gradient(#070707 30%, rgba(7,7,7,0)); pointer-events: none; }
.services__ui { z-index: 1; }
.services__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.services__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.services__ui { position: absolute; inset: 96px var(--g) clamp(24px, 6vh, 64px); display: grid; grid-template-rows: auto 1fr; pointer-events: none; }
.services__ui h2 { font: 600 clamp(1.8rem, 3.6vw, 3.4rem)/1 var(--sans); letter-spacing: -.05em; max-width: 14ch; }
.services__card { align-self: end; max-width: 34ch; }
.services__n { font-family: var(--mono); font-size: .8rem; color: var(--orange); }
.services__card h3 { margin-top: 8px; font: 600 clamp(1.8rem, 3.4vw, 3.2rem)/1 var(--sans); letter-spacing: -.045em; }
.services__card [data-svc-d] { margin-top: 10px; color: #B9B9B3; }

/* ---------- Process: giant rolling counter on orange ---------- */
.proc { background: var(--orange); color: var(--ink); }
.proc__pin { position: relative; height: 100svh; min-height: 560px; overflow: hidden; padding: 104px var(--g) clamp(24px, 5vh, 48px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; column-gap: clamp(24px, 4vw, 72px); }
.proc__title { grid-column: 1 / -1; font: 500 .82rem var(--mono); letter-spacing: 0; text-transform: none; }
.proc__num { grid-column: 1; grid-row: 2; align-self: center; display: flex; font: 700 min(44vh, 30vw)/.8 var(--sans); letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.proc__zero { opacity: .18; }
.proc__roll { display: block; height: .8em; overflow: hidden; letter-spacing: 0; padding: 0 .04em; margin-left: -.1em; }
/* the window clips, so the digit keeps its full width inside it (tight spacing comes from the margin) */
.proc__col { display: flex; flex-direction: column; will-change: transform; }
.proc__col i { font-style: normal; display: block; height: .8em; line-height: .8; }
.proc__steps { grid-column: 2; grid-row: 2; align-self: center; position: relative; min-height: 14em; }
.proc__steps li { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .6s var(--ease); pointer-events: none; }
.proc__steps li.is-on { opacity: 1; transform: none; }
.proc__steps li.is-past { transform: translateY(-24px); }
.proc__steps h3 { font: 600 clamp(2.6rem, 6vw, 6.4rem)/.9 var(--sans); letter-spacing: -.055em; }
.proc__steps p { margin-top: clamp(16px, 2.4vh, 28px); font: 500 clamp(1.15rem, 1.8vw, 1.7rem)/1.25 var(--sans); letter-spacing: -.02em; max-width: 22ch; }
.proc__line { grid-column: 1 / -1; grid-row: 3; position: relative; height: 2px; background: rgba(0,0,0,.18); margin-top: 24px; }
.proc__line i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.proc__line b { position: absolute; top: -5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 2px var(--ink); }
.proc__line b.is-on { background: var(--ink); }
.proc__foot { grid-column: 1 / -1; grid-row: 4; margin-top: 16px; font: 400 .82rem var(--mono); }
@media (max-width: 860px) {
  .proc__pin { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto auto; }
  .proc__num { grid-row: 2; font-size: min(34vh, 52vw); }
  .proc__steps { grid-column: 1; grid-row: 3; align-self: start; margin-top: 24px; }
  .proc__line { grid-row: 4; } .proc__foot { grid-row: 5; }
}

/* ---------- People ---------- */
.people h2 { font: 600 clamp(2.4rem, 6vw, 6rem)/.95 var(--sans); letter-spacing: -.055em; margin-bottom: clamp(32px, 5vw, 64px); }
.people { background: var(--paper); color: var(--ink); padding: clamp(80px, 10vw, 150px) var(--g); }
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.faces li { display: grid; gap: 4px; align-content: start; }
.face { aspect-ratio: 4 / 5; border-radius: 16px; margin-bottom: 10px; background-size: cover; transition: transform .5s var(--ease); }
.faces li:hover .face { transform: rotate(-2deg) scale(1.02); }
.face--photo { background-color: #D9D8D3; background-position: 50% 20%; background-size: cover; filter: grayscale(1) contrast(1.04); }
.faces h3 { font-weight: 600; letter-spacing: -.02em; }
.faces p { color: #55554F; font-size: .92rem; }
.tbc { font-style: italic; color: #8A8A84 !important; }
@media (max-width: 560px) { .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Footer (Spartan) ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 150px) var(--g) 0; overflow: hidden; }
.foot__top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.foot__top h2 { font: 600 clamp(2.4rem, 5.6vw, 6rem)/.94 var(--sans); letter-spacing: -.055em; max-width: 15ch; text-wrap: balance; }
.foot__top h2 span { display: block; color: var(--orange); }
.foot__ways { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; padding: 1em 1.5em; border-radius: 999px; text-decoration: none; font-weight: 600; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-2); }
.btn--line { box-shadow: inset 0 0 0 1px currentColor; }
.btn--line:hover { background: var(--paper); color: var(--ink); }
.foot__info { margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 22px; border-top: 1px solid #262626; font-size: .95rem; color: #CFCFC9; }
.foot__more { margin-top: 14px; }
.foot__more a { color: var(--paper); text-decoration: none; border-bottom: 1px solid #3A3A37; padding-bottom: 2px; transition: border-color .2s, color .2s; }
.foot__more a:hover { color: var(--orange); border-color: var(--orange); }
.foot__more span { margin-left: 8px; font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--orange); padding: 3px 6px 2px; border-radius: 3px; vertical-align: 2px; }

/* ---------- Careers page ---------- */
.careers { padding: clamp(140px, 18vh, 200px) var(--g) clamp(80px, 10vw, 140px); background: var(--ink); }
.careers__k { font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.careers__k span { color: var(--grey); margin-left: 8px; }
.careers__head h1 { margin-top: 22px; font: 600 clamp(3rem, 9.5vw, 10rem)/.88 var(--sans); letter-spacing: -.06em; }
.careers__lede { margin-top: clamp(24px, 4vw, 40px); max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.45; color: #CFCFC9; }
.roles { margin-top: clamp(80px, 12vw, 160px); }
.roles ul { list-style: none; margin-top: 18px; border-top: 1px solid #262626; }
.role { display: grid; grid-template-columns: 4ch 1fr auto auto; align-items: center; gap: clamp(14px, 3vw, 40px); padding: clamp(22px, 3.4vw, 40px) clamp(0px, 1.2vw, 16px); border-bottom: 1px solid #262626; color: var(--paper); text-decoration: none; position: relative; isolation: isolate; transition: color .35s; }
.role::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.role:hover, .role:focus-visible { color: var(--ink); }
.role:hover::before, .role:focus-visible::before { transform: none; }
.role__n { font: 500 .8rem/1 var(--mono); color: var(--grey); transition: color .35s; }
.role:hover .role__n { color: var(--ink); }
.role__t { font: 600 clamp(1.8rem, 4.6vw, 4.4rem)/.95 var(--sans); letter-spacing: -.045em; }
.role__m { display: flex; gap: 6px; flex-wrap: wrap; }
.role__m span { border: 1px solid currentColor; border-radius: 999px; padding: 6px 12px 5px; font: 500 .74rem/1 var(--mono); opacity: .8; }
.role__go { font: 600 1rem/1 var(--sans); white-space: nowrap; }
.role__go i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.role:hover .role__go i { transform: translate(3px, -3px); }
.careers__how { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.careers__how p { max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; color: #CFCFC9; }
.careers__how a { color: var(--paper); }
@media (max-width: 760px) {
  .role { grid-template-columns: 1fr auto; grid-template-areas: "n go" "t t" "m m"; row-gap: 14px; }
  .role__n { grid-area: n; } .role__t { grid-area: t; } .role__m { grid-area: m; } .role__go { grid-area: go; }
  .careers__how { grid-template-columns: 1fr; }
}
.foot__k { font-family: var(--mono); font-size: .76rem; color: var(--grey); margin-bottom: 6px; }
.foot__clock { font: 500 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--paper); }
[data-status] { color: var(--orange); }
.foot__word {
  margin: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); width: 100%; aspect-ratio: 1341 / 108.5;
  background: radial-gradient(circle at var(--fx, 30%) 50%, var(--orange) 0%, #FF8A55 12%, #3A3A37 34%, #222220 70%);
  -webkit-mask: url(../assets/wordmark.svg) center / contain no-repeat; mask: url(../assets/wordmark.svg) center / contain no-repeat;
}
@media (max-width: 760px) { .foot__info { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader__logo path { stroke-dashoffset: 0; fill-opacity: 1; } .loader__rule, .loader__tick { transform: none; } .loader__lab { opacity: 1; }
  .orbit__a, .orbit__a li { opacity: 1; } .orbit__q { opacity: 0; } .diag__end { opacity: 1; } .orbit { --c: 3%; } .sym { opacity: 0; }
}

/* ---------- Case study pages (work/*.html) ---------- */
.cs { background: var(--ink); color: var(--paper); }
.cs-hero { padding: clamp(140px, 18vh, 200px) var(--g) clamp(40px, 6vw, 72px); }
.cs-k { font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); display: flex; gap: 14px; }
.cs-k a { color: inherit; text-decoration: none; }
.cs-k a:hover { text-decoration: underline; }
.cs-k span { color: var(--grey); }
.cs-logo { display: block; height: clamp(40px, 5vw, 72px); width: auto; max-width: min(320px, 60vw); object-fit: contain; object-position: left; margin-top: clamp(28px, 4vw, 44px); opacity: .9; }
.cs-hero h1 { margin-top: clamp(20px, 3vw, 32px); font: 600 clamp(2.6rem, 7.2vw, 7.6rem)/.9 var(--sans); letter-spacing: -.055em; max-width: 15ch; text-wrap: balance; }
.cs-gap-h { display: block; margin-top: 18px; font: 500 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.cs-lede--more { margin-top: 14px !important; }
.cs-lede { margin-top: clamp(22px, 3vw, 34px); max-width: 48ch; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.45; color: #CFCFC9; }
.cs-facts { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 20px; border-top: 1px solid #262626; }
.cs-facts dt { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.cs-facts dd { margin: 0; font-size: 1rem; color: var(--paper); }
.cs-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.cs-links a { display: inline-flex; gap: 8px; align-items: center; padding: .7em 1.15em; border-radius: 999px; border: 1px solid rgba(236,235,230,.3); color: var(--paper); text-decoration: none; font: 500 .9rem/1 var(--sans); transition: background .25s, color .25s, border-color .25s; }
.cs-links a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.cs-links i { font-style: normal; }
.cs-gap { font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--orange); border: 1px dashed rgba(255,90,31,.6); border-radius: 4px; padding: 4px 7px 3px; }
.cs-visual { margin: 0 var(--g); position: relative; aspect-ratio: 21 / 9; border-radius: 22px; overflow: hidden; background: #161514; }
.cs-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.cs-visual.is-color img, .cs-gallery .is-color img { filter: none; }
.cs-visual figcaption { position: absolute; left: 20px; bottom: 16px; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(236,235,230,.8); }
.cs-visual--ph { display: grid; place-items: center; gap: 22px; align-content: center; background: radial-gradient(120% 140% at 30% 20%, #1E1C1A, #0E0D0C 70%); }
.cs-visual--ph span { font: 500 .78rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); text-align: center; padding: 0 20px; }
.cs-visual__logo { width: auto !important; height: clamp(48px, 8vw, 110px) !important; object-fit: contain !important; filter: none !important; opacity: .85; }
.cs-stats { margin: clamp(28px, 4vw, 48px) var(--g) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; border-radius: 22px; overflow: hidden; background: var(--orange); color: var(--ink); }
.cs-stats div { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 10px; align-content: end; min-height: clamp(150px, 16vw, 220px); box-shadow: 1px 0 0 rgba(0,0,0,.12); }
.cs-stats b { font: 700 clamp(2.6rem, 6vw, 5.6rem)/.85 var(--sans); letter-spacing: -.06em; }
.cs-stats span { font-size: .95rem; max-width: 24ch; }
.cs-stats b.is-word { font-size: clamp(1.8rem, 3.4vw, 3.2rem); letter-spacing: -.04em; }
.cs-body { padding: clamp(64px, 9vw, 130px) var(--g) 0; display: grid; gap: clamp(44px, 6vw, 80px); }
.cs-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding-top: 22px; border-top: 1px solid #262626; }
.cs-sec h2 { font: 600 clamp(1.5rem, 2.6vw, 2.4rem)/1 var(--sans); letter-spacing: -.035em; display: flex; gap: 16px; align-items: baseline; }
.cs-sec h2 span { font: 500 .78rem/1 var(--mono); color: var(--orange); letter-spacing: .1em; }
.cs-sec p { max-width: 56ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: #D6D6D0; }
.cs-sec p + p { margin-top: 1em; }
.cs-todo { max-width: 56ch; border: 1px dashed rgba(255,90,31,.55); border-radius: 12px; padding: 16px 18px; color: #A9A49B; font-size: 1rem; line-height: 1.45; }
.cs-todo span { display: block; margin-bottom: 6px; font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.cs-gallery { padding: clamp(64px, 9vw, 120px) var(--g) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cs-gallery figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #161514; position: relative; }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.cs-gallery figcaption { position: absolute; left: 16px; bottom: 14px; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(236,235,230,.8); }
.cs-ph { display: grid; align-content: center; justify-items: center; gap: 10px; border: 1px dashed rgba(236,235,230,.16); color: #8A8A85; text-align: center; padding: 20px; font-size: .95rem; }
.cs-ph span { font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.cs-next { margin: clamp(80px, 11vw, 160px) var(--g) 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 24px; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 80px); border-top: 1px solid #262626; color: var(--paper); text-decoration: none; }
.cs-next span { grid-column: 1 / -1; font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.cs-next b { font: 600 clamp(3rem, 10vw, 10rem)/.85 var(--sans); letter-spacing: -.06em; transition: color .3s; }
.cs-next i { font-style: normal; font-size: clamp(2.4rem, 6vw, 6rem); line-height: .85; transition: transform .45s var(--ease), color .3s; }
.cs-next:hover b, .cs-next:hover i { color: var(--orange); }
.cs-next:hover i { transform: translateX(12px); }
@media (max-width: 760px) {
  .cs-facts { grid-template-columns: 1fr 1fr; }
  .cs-visual { aspect-ratio: 4 / 3; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-sec { grid-template-columns: 1fr; }
  .cs-gallery { grid-template-columns: 1fr; }
}

/* 404: the nine-dot puzzle, solved by leaving the box */
.nf { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: clamp(120px, 16vh, 160px) var(--g) clamp(48px, 8vh, 96px); background: var(--ink); color: var(--paper); }
.nf__dots { width: min(100%, 460px); justify-self: center; overflow: visible; }
.nf__box { fill: none; stroke: rgba(236,235,230,.22); stroke-width: 2; stroke-dasharray: 6 8; }
.nf__d circle { fill: var(--paper); }
.nf__line { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: nf-draw 2.4s .4s var(--ease) forwards; }
@keyframes nf-draw { to { stroke-dashoffset: 0; } }
.nf__k { font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.nf h1 { margin-top: 18px; font: 600 clamp(2.4rem, 5.6vw, 5.4rem)/.96 var(--sans); letter-spacing: -.05em; text-wrap: balance; max-width: 12ch; }
.nf__sub { margin-top: 22px; max-width: 44ch; color: rgba(236,235,230,.66); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.5; }
.nf__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 760px) { .nf { grid-template-columns: 1fr; align-content: center; } .nf__dots { width: min(64vw, 280px); } }
@media (prefers-reduced-motion: reduce) { .nf__line { animation: none; stroke-dashoffset: 0; } }

/* ---------- content pages (services, locations, about, contact, FAQ, privacy) ---------- */
.foot__nav { margin-top: 28px; padding-top: 20px; border-top: 1px solid #262626; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot__nav a { color: #CFCFC9; text-decoration: none; font-size: .95rem; transition: color .2s; }
.foot__nav a:hover { color: var(--orange); }
.pg-list { list-style: none; display: grid; gap: 14px; max-width: 60ch; }
.pg-list li { position: relative; padding-left: 28px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.5; color: #D6D6D0; }
.pg-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--orange); }
.pg-steps { list-style: none; display: grid; gap: 2px; max-width: 64ch; }
.pg-steps li { display: grid; grid-template-columns: minmax(0, 13ch) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid #262626; }
.pg-steps b { font: 500 .8rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
.pg-steps span { color: #CFCFC9; line-height: 1.5; }
.pg-faq { display: grid; max-width: 68ch; border-top: 1px solid #262626; }
.pg-faq details { border-bottom: 1px solid #262626; }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 600 clamp(1.05rem, 1.4vw, 1.25rem)/1.3 var(--sans); letter-spacing: -.015em; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; flex: none; color: var(--orange); font-weight: 500; transition: transform .3s var(--ease); }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq details p { padding: 0 0 20px; max-width: 60ch; color: #CFCFC9; font-size: 1.02rem; line-height: 1.55; }
.pg-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.pg-case { display: grid; gap: 10px; align-content: start; color: var(--paper); text-decoration: none; }
.pg-case__img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #161514; }
.pg-case__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .6s var(--ease), filter .4s; }
.pg-case__img.is-color img { filter: none; }
.pg-case:hover .pg-case__img img { transform: scale(1.04); filter: none; }
.pg-case__k { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.pg-case b { font: 600 1.2rem/1.2 var(--sans); letter-spacing: -.02em; }
.pg-case i { font-style: normal; font-size: .9rem; color: var(--grey); transition: color .2s; }
.pg-case:hover i { color: var(--orange); }
.pg-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pg-chips a { display: inline-block; padding: .65em 1.1em; border-radius: 999px; border: 1px solid rgba(236,235,230,.3); color: var(--paper); text-decoration: none; font-size: .95rem; transition: background .2s, border-color .2s, color .2s; }
.pg-chips a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.pg-svc { margin-top: 0; padding: 0 var(--g); }
.pg-svc .role { grid-template-columns: 4ch minmax(0, 1fr) minmax(0, 1fr) auto; }
.pg-svc .role__t { font-size: clamp(1.6rem, 3.6vw, 3.4rem); }
.pg-svc__d { color: inherit; opacity: .75; font-size: 1rem; line-height: 1.4; max-width: 40ch; }
.pg-team { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 16px; }
.pg-team li { display: grid; gap: 4px; }
.pg-team__ph { aspect-ratio: 4 / 5; border-radius: 14px; margin-bottom: 8px; background-color: #222; background-size: cover; filter: grayscale(1) contrast(1.04); }
.pg-team b { font-weight: 600; letter-spacing: -.02em; }
.pg-team span:last-child { color: var(--grey); font-size: .92rem; }
.pg-contact { margin: 0 var(--g); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 22px; border-top: 1px solid #262626; }
.pg-contact a, .pg-contact p { color: var(--paper); font-size: 1.05rem; line-height: 1.45; text-decoration: none; }
.pg-contact a:hover { color: var(--orange); }
.pg-contact i { font-style: normal; }
.cs-facts-k { font: 500 .72rem/1 var(--mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--grey) !important; margin-bottom: 12px; }
.pg-contact__now { margin-top: 10px; font: 500 .78rem/1.4 var(--mono) !important; color: var(--grey) !important; }
.pg-cta__ways { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pg-cta__ways .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
@media (max-width: 760px) {
  .pg-contact { grid-template-columns: 1fr 1fr; }
  .pg-svc .role { grid-template-columns: 1fr auto; grid-template-areas: "n go" "t t" "d d"; row-gap: 10px; }
  .pg-svc__d { grid-area: d; }
  .pg-svc .role__go-t { display: none; }
  .pg-steps li { grid-template-columns: 1fr; gap: 6px; }
}
.pg-case__img:has(.pg-case__logo) { display: grid; place-items: center; background: radial-gradient(120% 140% at 30% 20%, #1E1C1A, #0E0D0C 70%); }
.pg-case__img img.pg-case__logo { width: 46%; height: auto; object-fit: contain; filter: none; opacity: .85; }

/* ---------- mobile menu ---------- */
.nav__burger { display: none; position: relative; width: 44px; height: 40px; border: 0; border-radius: 999px; background: rgba(236,235,230,.1); color: inherit; cursor: pointer; flex: none; }
.nav__burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger i:nth-of-type(1) { top: 15px; }
.nav__burger i:nth-of-type(2) { top: 23px; }
.nav.is-menu .nav__burger i:nth-of-type(1) { top: 19px; transform: rotate(45deg); }
.nav.is-menu .nav__burger i:nth-of-type(2) { top: 19px; transform: rotate(-45deg); }
.nav.is-light .nav__burger { background: rgba(11,11,11,.08); }
.nav.is-menu, .nav.is-menu.is-light { background: rgba(22,22,22,.96); color: var(--paper); border-color: #262626; }
.menu { position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 104px var(--g) max(28px, env(safe-area-inset-bottom)); overflow-y: auto; opacity: 0; transition: opacity .35s var(--ease); }
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu ol { list-style: none; }
.menu__main li, .menu__foot { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 40ms + 60ms); }
.menu.is-open .menu__main li, .menu.is-open .menu__foot { opacity: 1; transform: none; }
.menu__main a { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid #1f1f1f; color: var(--paper); text-decoration: none; font: 600 clamp(1.9rem, 9vw, 2.6rem)/1 var(--sans); letter-spacing: -.045em; }
.menu__main a span { font: 500 .72rem/1 var(--mono); letter-spacing: .1em; color: var(--grey); }
.menu__main a[aria-current="page"], .menu__main a:active { color: var(--orange); }
.menu__more { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.menu__more a { color: #CFCFC9; text-decoration: none; font-size: 1rem; }
.menu__cta { margin-top: 22px; width: 100%; justify-content: center; }
.menu__reach { margin-top: 18px; display: grid; gap: 6px; font-size: .9rem; }
.menu__reach a { color: var(--paper); }
.menu__reach span { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 760px) { .nav__burger { display: block; } .nav__cta { margin-left: auto; } }
@media (min-width: 761px) { .menu { display: none; } }
@media (prefers-reduced-motion: reduce) { .menu, .menu__main li, .menu__foot, .nav__burger i { transition: none; } }

/* reels on a case page: three phone-shaped loops; a sideways swipe on phones */
.cs-reels { margin: 0 auto; width: calc(100% - 2 * var(--g)); max-width: min(1080px, 112svh); box-sizing: border-box; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); padding: clamp(20px, 3vw, 40px); border-radius: 22px; background: #141413; }
.cs-reels figure { margin: 0; display: grid; gap: 12px; }
.cs-reels video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: #1E1D1B; display: block; }
.cs-reels figcaption { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(236,235,230,.7); }
@media (max-width: 760px) {
  .cs-reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px; gap: 12px; margin: 0; width: 100%; max-width: none; border-radius: 0; scrollbar-width: none; }
  .cs-reels::-webkit-scrollbar { display: none; }
  .cs-reels figure { flex: 0 0 68vw; scroll-snap-align: center; }
}

/* an Instagram feed on a case page: films and posts in one masonry, each at its own shape */
.cs-feed { margin: clamp(64px, 9vw, 120px) auto 0; width: calc(100% - 2 * var(--g)); max-width: 1120px; }
.cs-feed__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 22px; border-top: 1px solid #262626; margin-bottom: 20px; }
.cs-feed__head p { font: 600 clamp(1.5rem, 2.6vw, 2.4rem)/1 var(--sans); letter-spacing: -.035em; }
.cs-feed__head p span { display: block; margin-bottom: 10px; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.cs-feed__head a { color: var(--paper); text-decoration: none; font-weight: 500; white-space: nowrap; }
.cs-feed__head a:hover { color: var(--orange); }
.cs-feed__links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.cs-feed__grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.cs-feed__col { min-width: 0; display: grid; gap: 10px; align-content: start; }
.cs-feed__grid--2 { display: none !important; }
.cs-feed__grid figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #161514; }
.cs-feed__grid img, .cs-feed__grid video { width: 100%; height: auto; display: block; }
.cs-feed__film figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; align-items: center; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(11,11,11,.7)); font: 500 .68rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(236,235,230,.9); }
.cs-feed__film figcaption i { font-style: normal; font-size: .7rem; color: var(--orange); }
.cs-feed__group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cs-feed__row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; align-items: start; }
.cs-feed__row .cs-feed__col { align-content: start; }
.cs-feed__fill { flex: 1 1 auto; min-height: 56px; border-radius: 12px; background: #141312; border: 1px solid #1E1D1B; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; overflow: hidden; container-type: size; }
.cs-feed__fill p { padding: 16px; display: grid; gap: 6px; }
.cs-feed__fill span { font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.cs-feed__fill a { color: var(--paper); text-decoration: none; font-weight: 500; font-size: .92rem; }
.cs-feed__fill a:hover { color: var(--orange); }
.cs-feed__fill a i { font-style: normal; }
.cs-feed__fill > img { align-self: center; margin-right: 20px; width: min(28%, 180px); max-height: 50%; object-fit: contain; filter: brightness(0) invert(1); opacity: .16; }
@container (max-height: 118px) { .cs-feed__fill p { padding: 10px 12px; gap: 3px; } .cs-feed__fill span { display: none; } .cs-feed__fill a { font-size: .8rem; } }
@container (max-width: 260px) { .cs-feed__fill > img { display: none; } }
@media (max-width: 760px) { .cs-feed__fill { border-radius: 8px; } .cs-feed__fill p { padding: 10px; } .cs-feed__fill a { font-size: .8rem; } .cs-feed__group, .cs-feed__row { gap: 6px; } }
@media (max-width: 760px) {
  .cs-feed__grid--3 { display: none !important; } .cs-feed__grid--2 { display: grid !important; }
  .cs-feed__grid, .cs-feed__col { gap: 6px; }
  .cs-feed { width: auto; margin-left: var(--g); margin-right: var(--g); }
  .cs-feed__grid figure { border-radius: 8px; }
}

/* a website we built: browser window for desktop, phone for mobile, shown whole */
.cs-showcase { margin: 0 var(--g); position: relative; border-radius: 22px; background: radial-gradient(120% 140% at 25% 15%, #1F1D1B, #0E0D0C 70%); padding: clamp(20px, 4.5vw, 72px) clamp(20px, 15vw, 240px) clamp(44px, 6vw, 88px) clamp(20px, 4.5vw, 72px); }
.cs-showcase > figcaption { position: absolute; left: clamp(20px, 4.5vw, 72px); bottom: clamp(16px, 2.2vw, 32px); font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(236,235,230,.6); }
.cs-browser { border-radius: 12px; overflow: hidden; background: #1D1C1B; box-shadow: 0 30px 80px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.06); }
.cs-browser__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #24231F; }
.cs-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3935; flex: none; }
.cs-browser__bar i:nth-child(1) { background: #FF5F57; } .cs-browser__bar i:nth-child(2) { background: #FEBC2E; } .cs-browser__bar i:nth-child(3) { background: #28C840; }
.cs-browser__bar span { flex: 1; margin: 0 8% 0 4%; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); text-align: center; font: 500 .7rem/1.2 var(--mono); color: rgba(236,235,230,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-browser img { display: block; width: 100%; height: auto; }
.cs-phone { position: absolute; right: clamp(16px, 5vw, 90px); bottom: clamp(28px, 4vw, 64px); width: clamp(96px, 17%, 250px); aspect-ratio: 9 / 19.5; padding: 6px; border-radius: 30px; background: #0B0B0B; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.cs-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; display: block; }
.cs-gallery figure.cs-gallery__site { aspect-ratio: auto; background: transparent; overflow: visible; display: grid; gap: 12px; align-content: start; }
.cs-gallery__site figcaption { position: static !important; }
.cs-gallery .cs-gallery__site img { filter: none; }
.cs-gallery > figure:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 760px) { .cs-showcase { padding: 16px 70px 40px 16px; } .cs-phone { width: 92px; padding: 4px; border-radius: 18px; } .cs-phone img { border-radius: 14px; } }

/* end of a case page: the other case studies as cards */
.cs-more { margin: clamp(80px, 11vw, 160px) var(--g) 0; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); border-top: 1px solid #262626; }
.cs-more__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(20px, 3vw, 32px); }
.cs-more__head p { font: 600 clamp(1.6rem, 3.2vw, 3rem)/1 var(--sans); letter-spacing: -.045em; }
.cs-more__head a { color: var(--paper); text-decoration: none; font-weight: 500; white-space: nowrap; }
.cs-more__head a:hover { color: var(--orange); }
.cs-more__head a i { font-style: normal; }
.cs-more .pg-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cs-more .pg-cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cs-more .pg-cases { grid-template-columns: 1fr; } }
