/* Nonsensical Media — site styles. Tokens mirror the NSM design system (tokens.json).
   Ink is the default theme; Paper is the light theme (toggle in the footer). */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-arrows.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+2190-2193;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martian-mono-var.woff2") format("woff2");
  font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
}

/* ---------- tokens ---------- */
:root, .force-ink {
  --ground: #0c0c0b;
  --ground-raised: #161614;
  --ink: #f1eee6;
  --ink-muted: rgba(241, 238, 230, 0.64);
  --ink-faint: rgba(241, 238, 230, 0.5);
  --line: rgba(241, 238, 230, 0.16);
  --line-control: rgba(241, 238, 230, 0.42);
  --sodium: #ff9a1a;
  --sodium-text: #ff9a1a;
  --on-sodium: #0c0c0b;
  --danger: #ff6b5b;
  --focus: var(--sodium-text);
  --video-black: #000;
  color-scheme: dark;
}
:root[data-theme="paper"] {
  --ground: #f1eee6;
  --ground-raised: #e6e2d6;
  --ink: #0c0c0b;
  --ink-muted: rgba(12, 12, 11, 0.68);
  --ink-faint: rgba(12, 12, 11, 0.6);
  --line: rgba(12, 12, 11, 0.14);
  --line-control: rgba(12, 12, 11, 0.5);
  --sodium-text: #9a4f00;
  --danger: #b3261e;
  color-scheme: light;
}
:root {
  --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-display); font-size: 16px; line-height: 1.5; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--sodium); color: var(--on-sodium); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--sodium); color: var(--on-sodium); padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; top: 8px; }
.ext { display: inline-block; transform: rotate(-45deg); } /* → pointing out of the site: the fonts have no ↗ */
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- type ---------- */
.eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; font-stretch: 118%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.h-hero, .h-head { margin: 0; font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.h-hero { font-size: clamp(3rem, 9vw, 9rem); line-height: .88; }
.h-head { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: .95; }
.h-head .tilt, .h-hero .tilt { display: inline-block; transform: rotate(-4deg); color: var(--sodium-text); font-stretch: 125%; }
.h-title { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; font-weight: 800; font-stretch: 118%; letter-spacing: .02em; text-transform: uppercase; }
.lede { margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.35; font-stretch: 92%; color: var(--ink-muted); max-width: 40ch; }
.body { max-width: 65ch; color: var(--ink-muted); font-size: 17px; }
.body p { margin: 0 0 1em; }
.body strong { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 13px/1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
  background: var(--sodium); color: var(--on-sodium);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn:hover { transform: rotate(-2deg) scale(1.03); box-shadow: 0 0 0 6px rgba(255, 154, 26, 0.22); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-control); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: rotate(-2deg) scale(1.03); }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-control); }
.link:hover { text-decoration-color: var(--sodium-text); }

/* ---------- bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 30; height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); background: var(--ground); border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.bar.is-over { position: fixed; inset: 0 0 auto 0; background: transparent; }
.bar.is-over.is-solid { background: var(--ground); border-bottom-color: var(--line); }
.bar.is-over:not(.is-solid) { --ink: #f1eee6; --ink-muted: rgba(241, 238, 230, 0.64); --line-control: rgba(241, 238, 230, 0.42); } /* over the (always dark) hero, even in Paper */
.bar__mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.bar__mark svg { width: 28px; height: 28px; display: block; }
.bar__mark span { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.bar__nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.bar__nav a:not(.btn) { text-decoration: none; color: var(--ink-muted); transition: color .2s; }
.bar__nav a:not(.btn):hover, .bar__nav a[aria-current="page"] { color: var(--ink); }
.bar__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sodium-text); }
.bar__nav .btn { padding: 9px 14px; font-size: 12px; }
.bar__cta-short { display: none; }
@media (max-width: 640px) {
  .bar__mark span { display: none; }
  .bar__nav { gap: 14px; font-size: 12px; }
  /* phones keep the way in, as one short word */
  .bar__nav .btn { padding: 8px 12px; font-size: 11px; }
  .bar__cta-long { display: none; }
  .bar__cta-short { display: inline; }
}
@media (max-width: 340px) { .bar__nav { gap: 10px; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100vh; display: grid; grid-template-rows: 1fr auto; isolation: isolate; overflow: hidden; background: var(--ground); color: var(--ink); }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.reel { position: absolute; inset: 0; z-index: -2; background: var(--video-black); }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.reel .is-on { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,12,11,.55) 0%, rgba(12,12,11,.08) 30%, rgba(12,12,11,.25) 60%, rgba(12,12,11,.92) 100%),
    radial-gradient(120% 80% at 20% 60%, rgba(12,12,11,.45), transparent 70%);
}
.hero__main { align-self: center; padding: calc(var(--bar-h) + 56px) var(--gutter) 40px; }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.hero__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 20px 32px; align-items: start; padding: 0 var(--gutter) 28px; }
.svc { border-top: 1px solid var(--line); padding-top: 12px; }
.svc__name { display: block; font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.svc__what { display: block; color: var(--ink-muted); font-size: 14px; line-height: 1.35; margin-top: 2px; }
.now { justify-self: end; align-self: end; margin: 0; text-align: right; font-size: 12px; color: var(--ink-muted); min-width: 180px; }
.now__label { display: block; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-size: 12px; }
.now a { text-decoration: none; color: var(--ink); }
.now__watch { color: var(--ink-muted); transition: color .2s; }
.now a:hover .now__watch { color: var(--sodium-text); }

/* the wordmark */
.wordmark { margin: 0; line-height: .86; font-weight: 800; font-size: clamp(2rem, 10.4vw, 11.5rem); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; cursor: default; user-select: none; -webkit-user-select: none; }
.wordmark__word { display: inline-block; }
.wordmark .l {
  display: inline-block; font-weight: var(--w, 800); font-stretch: var(--s, 100%);
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg));
  transition: font-weight 1.1s var(--ease), font-stretch 1.1s var(--ease), transform .6s var(--ease), color .3s;
}
.wordmark .l.is-flip { --r: 180deg; color: var(--sodium); }
.wordmark__sub { display: block; margin-top: .5em; font-size: clamp(.8rem, 1.5vw, 1.25rem); font-weight: 500; font-stretch: 125%; letter-spacing: .62em; line-height: 1; }
.tagline { margin: clamp(20px, 3vw, 36px) 0 0; max-width: 34ch; font-size: clamp(1.05rem, 1.9vw, 1.6rem); font-stretch: 92%; line-height: 1.3; }
.tagline { color: var(--ink-muted); }
.tagline em { font-style: normal; color: var(--ink); } /* the hero's one Sodium element is the button (plus the flipping letter) */

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.section--first { border-top: 0; padding-top: clamp(48px, 7vw, 96px); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head .lede { max-width: 46ch; }
.page-head { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(32px, 4vw, 48px); }
.page-head .h-hero { margin-top: 14px; }
.page-head .lede { margin-top: 24px; }

/* ---------- work grid ---------- */
.filters { display: grid; gap: 10px; margin-bottom: 28px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__label { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); width: 5ch; }
@media (max-width: 560px) {  /* one swipeable line per filter row instead of four stacked rows of chips */
  .filters__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .filters__row::-webkit-scrollbar { display: none; }
  .filters__row .chip-btn { flex-shrink: 0; }
  .filters__label { flex-shrink: 0; }
}
.chip-btn { font: 400 14px/1 var(--font-display); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-control); background: var(--ground-raised); color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); font-weight: 700; } /* two rows of filters: ink, so Sodium stays one-per-view */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px) clamp(14px, 1.6vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid, .grid--2 { grid-template-columns: 1fr; } }
.tile { display: block; text-decoration: none; color: inherit; min-width: 0; }
.tile[hidden] { display: none; }
.tile__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--video-black); }
.tile__frame img, .tile__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform .9s var(--ease), opacity .4s var(--ease); }
.tile--web .tile__frame img { object-position: top; }
.tile:hover .tile__frame img, .tile:focus-visible .tile__frame img, .tile:hover .tile__loop { transform: scale(1.04); }
.tile__loop { opacity: 0; pointer-events: none; }
.frame-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ground-raised); color: var(--line-control); }
.frame-ph svg { width: 18%; height: auto; }
.tile__loop.is-on { opacity: 1; }
.tile__badge { z-index: 1; position: absolute; left: 12px; bottom: 10px; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #f1eee6; background: rgba(0,0,0,.55); padding: 6px 8px; }
.tile__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.tile__title { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }
.tile__artist { margin: 2px 0 0; color: var(--ink-muted); font-size: 14px; }
.tile__year { font: 500 12px/1 var(--font-mono); color: var(--ink-faint); white-space: nowrap; }
.more { margin: 36px 0 0; text-align: center; }
.note { margin-top: 28px; font: 500 12px/1.5 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- project page ---------- */
.crumbs { font: 500 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.crumbs a { text-decoration: none; color: var(--ink-muted); }
.crumbs a:hover { color: var(--ink); }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--video-black); overflow: hidden; margin-top: 28px; }
.player img, .player iframe, .player__loop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player__loop { opacity: 0; transition: opacity .8s var(--ease); }
.player__loop.is-on { opacity: 1; }
.player__btn { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45)); border: 0; cursor: pointer; padding: 0; }
.player__btn span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--sodium); color: var(--on-sodium); font: 700 14px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; transition: transform .25s var(--ease); }
.player__btn:hover span { transform: rotate(-2deg) scale(1.05); }
.slate { margin-top: 14px; font: 500 12px/1.6 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.slate .dim { color: var(--ink-muted); }
.project-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 860px) { .project-body { grid-template-columns: 1fr; } }
.credits { display: grid; gap: 10px; margin: 0; font: 400 13px/1.5 var(--font-mono); }
.credits div { display: grid; grid-template-columns: 17ch 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.credits dt { color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; }
.credits dd { margin: 0; }
/* project blocks (Behance-style process) */
.block { margin-top: clamp(56px, 8vw, 112px); }
.block__title { margin: 0 0 18px; }
.block__cap { margin-top: 10px; font: 500 12px/1.5 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.block--text .body { margin-left: auto; margin-right: auto; }
.block figure { margin: 0; }
.frames { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.2vw, 16px); }
@media (max-width: 560px) { .frames { grid-template-columns: 1fr; } }
.frame { display: block; width: 100%; padding: 0; border: 0; background: var(--video-black); cursor: zoom-in; overflow: hidden; }
.frame img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.frame:hover img { transform: scale(1.02); }
.frame--wide { grid-column: 1 / -1; }
.loop video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--video-black); }
.browser { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--ground-raised); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; font-size: 12px; color: var(--ink-faint); border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: .02em; }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-control); }
.browser__bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; height: auto; }
.browser--hero { margin-top: 28px; }
.browser .frame { border-radius: 0; }
.screens { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
@media (max-width: 760px) { .screens { grid-template-columns: 1fr; } }
.phones { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(12px, 1.6vw, 24px); }
.phone { margin: 0; width: min(300px, calc(50% - 12px)); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.phone img { width: 100%; height: auto; }
.compare { position: relative; overflow: hidden; background: var(--video-black); touch-action: pan-y; }
.compare__layer img { width: 100%; height: auto; display: block; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #f1eee6; pointer-events: none; }
.compare__handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f1eee6; color: #0c0c0b; font-size: 18px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible + .compare__handle, .compare:focus-within .compare__handle { outline: 2px solid var(--focus); }
.compare__label { position: absolute; top: 12px; left: 12px; font-size: 12px; color: #f1eee6; background: rgba(0,0,0,.55); padding: 6px 8px; pointer-events: none; }
.compare__label--r { left: auto; right: 12px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); color: #f1eee6; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox__fig { margin: 0; position: absolute; inset: 64px var(--gutter) 56px; display: grid; place-items: center; pointer-events: none; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; pointer-events: auto; }
.lightbox__cap { position: absolute; left: 0; bottom: -40px; font-size: 12px; color: rgba(241,238,230,.64); }
.lightbox__close { position: absolute; top: 16px; right: 16px; --ink: #f1eee6; --line-control: rgba(241,238,230,.42); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(241,238,230,.42); background: rgba(0,0,0,.4); color: #f1eee6; font: 400 20px/1 var(--font-display); cursor: pointer; }
.lightbox__nav:hover { border-color: #f1eee6; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 8vw, 96px); padding-top: 20px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; display: grid; gap: 4px; max-width: 48%; }
.pager a:last-child { text-align: right; justify-items: end; }
.pager small { font: 500 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.pager strong { font-weight: 800; font-stretch: 112%; text-transform: uppercase; }

/* ---------- services / about ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; } }
.card { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; align-content: start; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-muted); }
.card li::before { content: "→ "; color: var(--ink-faint); }
.card__more { margin: 6px 0 0; font-size: 15px; }
.card__frame { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--video-black); margin-bottom: 6px; }
.card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a.card__frame:hover img { transform: scale(1.04); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--line); padding: 16px 20px 16px 0; display: grid; gap: 8px; align-content: start; }
.step__n { font: 500 12px/1 var(--font-mono); color: var(--ink-faint); }
.package { border: 1px solid var(--line-control); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); }
@media (max-width: 860px) { .package { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.clients { font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.3; font-weight: 800; font-stretch: 92%; text-transform: uppercase; margin: 14px 0 0; }
.clients .sep { color: var(--ink-faint); font-weight: 400; }
.name-link { text-decoration: none; background: linear-gradient(var(--sodium-text), var(--sodium-text)) 0 100% / 0 3px no-repeat; transition: background-size .4s var(--ease); }
.name-link:hover, .name-link:focus-visible { background-size: 100% 3px; }
.handle { margin: 10px 0 0; font-size: 12px; text-transform: none; } /* a handle keeps its case */
.handle a { text-decoration: none; color: var(--ink-muted); }
.handle a:hover { color: var(--ink); }

/* client ticker (home): logos as one-colour masks, names in the display face */
.clients-band { border-top: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) 0; overflow: hidden; }
.clients-band__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.clients-band__note { color: var(--ink-faint); }
@media (max-width: 560px) { .clients-band__note { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; font-stretch: 100%; } }
.ticker-wrap { --h: clamp(26px, 2.6vw, 36px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker { display: flex; width: max-content; }
.ticker__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-shrink: 0; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px); animation: tick 60s linear infinite; }
.ticker:hover .ticker__track, .is-still .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }
.tick { flex-shrink: 0; color: var(--ink); opacity: .82; transition: opacity .2s; }
.tick:hover { opacity: 1; }
.tick--text { font-weight: 800; font-size: calc(var(--h) * .78); line-height: 1; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; font-stretch: 112%; }
.tick--text:nth-child(4n+1) { font-stretch: 72%; }
.tick--text:nth-child(4n+3) { font-stretch: 125%; font-weight: 600; }
.logo { display: block; height: calc(var(--h) * var(--k, 1)); width: calc(var(--h) * var(--k, 1) * var(--r)); background: currentColor;
  mask-mode: luminance; -webkit-mask-mode: luminance; mask-size: contain; -webkit-mask-size: contain; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-position: center; -webkit-mask-position: center; }
@media (prefers-reduced-motion: reduce) {
  .ticker-wrap { mask-image: none; -webkit-mask-image: none; }
  .ticker { width: auto; flex-wrap: wrap; padding: 0 var(--gutter); }
  .ticker__track { animation: none; flex-wrap: wrap; row-gap: 20px; }
  .ticker__track[aria-hidden="true"] { display: none; }
}

/* wordmark playground (About) */
.play { border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px) var(--gutter); overflow: hidden; position: relative; touch-action: none; }
.play .wordmark { font-size: clamp(2rem, 8.6vw, 8rem); }
.play .wordmark .l { cursor: grab; touch-action: none; }
.play .wordmark .l.is-drag { cursor: grabbing; transition: font-weight 1.1s var(--ease), font-stretch 1.1s var(--ease), color .3s; }
.play__bar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 24px; }
.play__hint { font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }

/* ---------- CTA band ---------- */
.band { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }

/* ---------- form (start) ---------- */
.brief__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .brief__inner { grid-template-columns: 1fr; } }
.brief__direct { margin-top: 28px; font-size: 15px; color: var(--ink-muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); padding: 0; font-weight: 600; }
.field .req { color: var(--sodium-text); }
.field input:not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-display); color: var(--ink);
  background: var(--ground-raised); border: 1px solid var(--line-control); border-radius: 10px; padding: 13px 14px; transition: border-color .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 13px; }
.field__err:empty { display: none; }
.field__hint { color: var(--ink-faint); font-size: 13px; margin: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-control); font-size: 14px; color: var(--ink); background: var(--ground-raised); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chip input:checked + span { background: var(--sodium); color: var(--on-sodium); border-color: var(--sodium); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__fine { color: var(--ink-faint); font-size: 13px; max-width: 44ch; margin: 0; }
.ts { grid-column: 1 / -1; }
.form__status { grid-column: 1 / -1; font-size: 15px; min-height: 1.5em; margin: 0; }
.form__status.is-err { color: var(--danger); }
.sent { display: none; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.sent h2 { margin: 0 0 8px; font-size: 28px; font-stretch: 112%; text-transform: uppercase; }
.sent p { margin: 0 0 12px; color: var(--ink-muted); }
.is-sent .form { display: none; }
.is-sent .sent { display: block; }

/* ---------- long text (privacy) ---------- */
.doc { max-width: 720px; }
.doc h2 { font-size: 18px; text-transform: uppercase; letter-spacing: .04em; font-stretch: 115%; margin: 40px 0 8px; }
.doc p, .doc li { color: var(--ink-muted); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc td, .doc th { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-muted); }
.doc th { color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 13px; color: var(--ink-muted); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.theme-toggle { font: 500 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); background: none; border: 1px solid var(--line-control); border-radius: 999px; padding: 7px 10px; cursor: pointer; }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.now .theme-toggle { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { [data-motion-toggle] { display: none; } } /* nothing moves on its own there */

/* ---------- the N cursor (over work) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--sodium); color: var(--on-sodium); display: grid; place-items: center;
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0); transition: transform .25s var(--ease); }
.cursor svg { width: 34px; height: 34px; display: block; transform: rotate(-180deg); transition: transform .5s var(--ease); }
.cursor.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
.cursor.is-on svg { transform: rotate(0); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.has-cursor [data-cursor], .has-cursor [data-cursor] * { cursor: none; }

/* ---------- reel overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; background: #000; display: none; }
.overlay.is-open { display: block; }
.overlay video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.overlay__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.overlay__cap { position: absolute; left: var(--gutter); bottom: 24px; z-index: 2; color: #f1eee6; font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.overlay__cap .dim { color: rgba(241,238,230,.64); }

/* ---------- responsive hero ---------- */
@media (max-width: 900px) {
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .now { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 560px) {
  /* on a phone the tagline sits mid-frame, over the brightest part of most loops: darken that band */
  .hero::after { background: linear-gradient(180deg, rgba(12,12,11,.55) 0%, rgba(12,12,11,.2) 22%, rgba(12,12,11,.62) 42%, rgba(12,12,11,.62) 62%, rgba(12,12,11,.94) 100%); }
  .hero__foot { grid-template-columns: 1fr; gap: 12px; }
  .wordmark__sub { letter-spacing: .48em; }
}

/* touch screens: every control at least 44px tall (links inside running text are exempt) */
@media (pointer: coarse) {
  .btn, .chip-btn { min-height: 44px; }
  .chip span { min-height: 44px; display: inline-flex; align-items: center; }
  .bar__mark, .bar__nav a:not(.btn), .foot a, .theme-toggle, .handle a, .pager a, .section__head .link { min-height: 44px; display: inline-flex; align-items: center; }
  .pager a { display: grid; align-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
