/* Manrope, self-hosted (variable: one file per script covers weights 400–700) */
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  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: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}

/* Chroma — Swiss calm around a living gradient. */
:root {
  --page: #f1f1ef;
  --sheet: #ffffff;
  --ink: #111111;
  --ink-2: #5f5f5c;
  --ink-3: #a6a6a2;
  --ink-4: #c9c9c5;
  --line: #ebebe8;
  --soft: #f2f2f0;
  --soft-2: #e8e8e5;
  --green: #1fb85b;
  --gutter: 12px;
  --pad: clamp(20px, 6.2vw, 112px);
  --r-sheet: 28px;
  --r-panel: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: var(--sans);
  /* static fallback of the shader palette */
  --chroma: radial-gradient(120% 70% at 18% 108%, #fb2e8f 0%, rgba(251,46,143,0) 55%),
            radial-gradient(90% 60% at 92% 104%, #ff3d86 0%, rgba(255,61,134,0) 60%),
            linear-gradient(180deg, #ccb8a0 0%, #c8bba9 28%, #b7bfcc 40%, #5b8fda 52%, #ff4c1d 70%, #ff3a6a 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.is-locked, html.is-locked body { overflow: hidden; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.menu[hidden], .psheet[hidden], .scrim[hidden], .pill[hidden] { display: none; }
.mono { font-family: var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0; }

html { -webkit-tap-highlight-color: transparent; }
* { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
.pill:focus-visible, .tab:focus-visible { border-radius: 999px; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 999px;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ------------------------------------------------------------------ sheet */
.sheet {
  margin: var(--gutter);
  margin-top: max(var(--gutter), env(safe-area-inset-top));
  background: var(--sheet);
  border-radius: var(--r-sheet);
  min-height: calc(100vh - 2 * var(--gutter));
  position: relative;
}
.wrap { padding-left: var(--pad); padding-right: var(--pad); }

/* ------------------------------------------------------------------ pills */
.pill {
  --bg: var(--soft); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.pill::after { /* hover sweep */
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sweep, #2a2a2a); transform: translateY(101%); transition: transform .5s var(--ease);
}
.pill--dark { --bg: var(--ink); --fg: #fff; }
.pill--soft { --sweep: var(--soft-2); }
@media (hover: hover) {
  .pill:hover::after { transform: translateY(0); }
  .pill:hover { transform: translateY(-1px); }
}
.pill:active { transform: scale(.97); }

.label {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 13px; color: var(--ink-2); letter-spacing: -.005em;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.label .mono { font-size: 11px; color: var(--ink-3); }
.label::after { content: ''; flex: 1; height: 1px; background: var(--line); align-self: center; margin-left: 8px; }

.h2 {
  font-weight: 400; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.04; letter-spacing: -.035em;
  text-wrap: balance;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; z-index: 40; left: 0; right: 0;
  top: calc(var(--gutter) + 14px + env(safe-area-inset-top));
  display: flex; justify-content: center; pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 5px 5px 18px;
  background: #f4f4f2;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 6px 20px -12px rgba(0,0,0,.18);
  transition: box-shadow .6s var(--ease);
}
.nav__logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; letter-spacing: -.03em; min-height: 44px; }
.nav__logo sup { font-size: 9px; font-weight: 400; color: var(--ink-3); top: -.6em; position: relative; margin-left: -4px; }
.nav__mark {
  width: 14px; height: 14px; border-radius: 4px;
  background: conic-gradient(from 200deg, #ff4b1f, #ff2d8a, #5b8fda, #cdbba2, #ff4b1f);
}
.nav__links { display: flex; gap: 2px; margin: 0 clamp(16px, 4vw, 64px); }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 13.5px; color: var(--ink-2); border-radius: 999px; transition: color .25s, background-color .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active { background: rgba(0,0,0,.045); }
.nav__cta { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.nav__menu { display: none; }
.nav.is-condensed .nav__pill {
  background: #f4f4f2;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 14px 34px -14px rgba(0,0,0,.24);
}

/* ------------------------------------------------------------------ hero */
.hero { padding-top: clamp(150px, 20vh, 210px); }
.hero__top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 40px; align-items: end;
  padding-bottom: clamp(28px, 3vw, 40px);
}
.eyebrow { font-size: 13px; color: var(--ink-2); margin-bottom: 22px; letter-spacing: -.005em; }
.eyebrow [data-name] { color: var(--ink); font-weight: 500; }
.eyebrow__sep { color: var(--ink-4); }
.hero__title {
  font-weight: 400; font-size: clamp(44px, 6vw, 92px); line-height: .98; letter-spacing: -.04em;
  margin-left: -.04em;
}
.hero__title .line { padding-bottom: .06em; margin-bottom: -.06em; }
.hero__right { padding-bottom: 6px; }
.avail { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.avail__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.avail__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.hero__lede { font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; margin-bottom: 22px; }
.hero__ctas { display: flex; gap: 8px; flex-wrap: wrap; }

.hero__panel {
  position: relative; margin: 0 var(--gutter);
  height: clamp(420px, 64vh, 720px);
  border-radius: var(--r-panel); overflow: hidden;
  background: var(--chroma);
  touch-action: pan-y;
  cursor: crosshair;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-gl .hero__canvas, .no-gl .view { visibility: hidden; }
.panel__meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; font-size: 11px; letter-spacing: .02em;
  pointer-events: none;
}

/* ------------------------------------------------------------------ about */
.about { padding-top: clamp(80px, 11vw, 150px); }
.statement {
  font-weight: 500; font-size: clamp(27px, 3.45vw, 52px); line-height: 1.1; letter-spacing: -.035em;
  max-width: 21.5em; color: var(--ink);
}
.statement .w { color: var(--ink); }
.about__cols {
  display: grid; grid-template-columns: 1fr 1fr minmax(260px, 1fr); gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(56px, 7vw, 96px); align-items: start;
}
.about__col p { font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 36ch; }
.trust { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; }
.trust__stack { display: flex; }
.trust__stack span {
  width: 42px; height: 42px; border-radius: 50%; margin-right: -8px;
  background: #fff; box-shadow: 0 0 0 2.5px #fff, inset 0 0 0 1px var(--line);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.trust__logo img { width: 54%; height: 40%; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .45; }
.trust__logo + .trust__logo img { transform: translateX(3px); }
.trust__txt { font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.trust__txt strong { color: var(--ink); font-weight: 500; }

.mini-card {
  position: relative; display: block; aspect-ratio: 16 / 10.5; border-radius: var(--r-panel); overflow: hidden;
  background: var(--chroma); isolation: isolate;
}
.mini-card .view, .svc-card .view, .band .view, .psheet__media .view, .thumb .view {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.mini-card__cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff; font-size: 12.5px; font-weight: 500;
}
.mini-card__cap .mono { font-size: 11px; font-weight: 400; opacity: .9; }
.mini-card::after {
  content: '↗'; position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.22); color: #fff; font-size: 14px;
  transition: transform .5s var(--ease), background-color .3s;
}
.mini-card:hover::after { transform: rotate(45deg); background: rgba(255,255,255,.35); }

/* ------------------------------------------------------------------ numbers */
.numbers { padding-top: clamp(96px, 11vw, 160px); }
.numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.numbers__grid li {
  padding: 28px 24px 34px 0; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; min-height: 172px; justify-content: space-between;
}
.numbers__grid li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.num__v { font-size: clamp(52px, 5.6vw, 84px); font-weight: 400; letter-spacing: -.055em; line-height: .9; font-variant-numeric: tabular-nums; }
.num__v .clip { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.num__v .clip > span { display: inline-block; }
.num__v--long { font-size: clamp(44px, 4.6vw, 70px); }
.num__l { font-size: 13px; color: var(--ink-2); max-width: 30ch; }

/* ------------------------------------------------------------------ services */
.services { padding-top: clamp(110px, 12vw, 180px); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 110px); align-items: stretch; }
.services__stage { display: flex; flex-direction: column; }
.services__stage .svc-card { flex: 1; min-height: 360px; aspect-ratio: auto; }
.services__intro .h2 { max-width: 12em; margin-bottom: 36px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.tab {
  position: relative; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--soft); color: var(--ink-2); font-size: 14px; font-weight: 500;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .4s var(--ease);
}
@media (hover: hover) { .tab:hover { color: var(--ink); background: var(--soft-2); } }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab:active { transform: scale(.97); }
.svc-card {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--chroma);
}
.svc-card__badge, .svc-card__idx {
  position: absolute; top: 14px; font-size: 11px; letter-spacing: .02em;
}
.svc-card__badge { left: 14px; }
.svc-card__idx { right: 14px; }
.svc-panels { position: relative; margin-top: 44px; min-height: 150px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 520px; }
.svc-panel { position: absolute; inset: 24px 0 auto 0; }
.svc-panel h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.svc-panel p { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; letter-spacing: -.01em; }
.svc-panel[hidden] { display: block; visibility: hidden; opacity: 0; }
.js-off .svc-panel { position: static; margin-bottom: 20px; }

/* ------------------------------------------------------------------ work */
.work { padding-top: clamp(120px, 13vw, 190px); }
.work__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.work__head .h2 { max-width: 15em; }
.work__meta { font-size: 11px; color: var(--ink-3); white-space: nowrap; padding-bottom: 6px; }
.row + .row { border-top: 1px solid var(--line); }
.row__btn {
  width: 100%; text-align: left;
  display: grid; align-items: center;
  grid-template-columns: 40px 120px minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, .8fr) 96px 40px;
  gap: 24px; padding: 14px 0; position: relative;
}
.row__btn::before { /* hover wash */
  content: ''; position: absolute; inset: 0 calc(-1 * min(24px, var(--pad) * .5)); z-index: -1;
  background: #f6f6f4; border-radius: 14px; opacity: 0; transform: scaleY(.85);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.row { position: relative; isolation: isolate; }
.row__no { font-size: 11px; color: var(--ink-3); }
.thumb { position: relative; width: 120px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--chroma); transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.row__title { font-size: 20px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; display: block; }
.row__client { font-size: 13px; color: var(--ink-3); display: block; margin-top: 3px; }
.row__brief.only-m { display: none; }
.row__brief { font-size: 14px; color: var(--ink-2); line-height: 1.45; text-wrap: pretty; }
.row__tag { font-size: 13px; color: var(--ink-2); }
.row__year { font-size: 11px; color: var(--ink-3); text-align: right; }
.row__go {
  width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center;
  transition: background-color .35s var(--ease), color .35s, transform .5s var(--ease);
}
.row__go svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; }
@media (hover: hover) {
  .row__btn:hover::before { opacity: 1; transform: none; }
  .row__btn:hover .row__go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
  .row__btn:hover .thumb { transform: scale(1.04); }
}
.row__btn:focus-visible { outline-offset: 6px; border-radius: 12px; }

/* ------------------------------------------------------------------ clients */
.clients { padding-top: clamp(110px, 12vw, 170px); }
.logos { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); align-items: center; gap: 12px 36px; }
.logos li { display: flex; align-items: center; justify-content: center; height: 64px; }
.logos img {
  max-height: 26px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(0); opacity: .42;
}
.logos img[data-tall] { max-height: 38px; }
.logos img[data-wide] { max-height: 18px; }

/* ------------------------------------------------------------------ contact */
.contact { padding-top: clamp(120px, 13vw, 190px); }
.contact__title {
  font-weight: 400; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.06; letter-spacing: -.035em; max-width: 15em;
}
.contact__title span { color: var(--ink-3); }
.contact__mail {
  display: inline-flex; align-items: baseline; gap: .18em; margin-top: clamp(28px, 4vw, 52px);
  font-size: clamp(34px, 6.1vw, 108px); font-weight: 400; letter-spacing: -.045em; line-height: 1; max-width: 100%; white-space: nowrap;
  position: relative; padding-bottom: .1em;
}
.contact__mail-txt { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .7s var(--ease); }
.contact__mail:hover .contact__mail-txt, .contact__mail:focus-visible .contact__mail-txt { background-size: 100% 2px; }
.contact__arrow { font-size: .5em; color: var(--ink-3); transition: transform .6s var(--ease), color .3s; }
.contact__mail:hover .contact__arrow { transform: translate(.12em, -.12em); color: var(--ink); }
.contact__row { display: flex; align-items: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.avail--inline { margin: 0 0 0 16px; color: var(--ink-2); font-weight: 400; }
.band {
  position: relative; margin: clamp(64px, 8vw, 110px) var(--gutter) 0;
  height: clamp(320px, 46vh, 520px); border-radius: var(--r-panel); overflow: hidden; background: var(--chroma);
  touch-action: pan-y;
}
.band__meta {
  position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between;
  font-size: 11px;
}

/* ------------------------------------------------------------------ footer */
.foot {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px 32px; padding-top: 28px;
  /* flush with the gradient band's edges, not the text column */
  padding-left: calc(var(--gutter) + 4px); padding-right: calc(var(--gutter) + 4px);
  padding-bottom: calc(28px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--ink-2);
}
.foot a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; transition: color .25s; }
.foot a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ icon button */
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--soft); display: grid; place-items: center;
  transition: background-color .3s, transform .5s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; }
@media (hover: hover) { .icon-btn:hover { background: var(--soft-2); transform: rotate(90deg); } }

/* ------------------------------------------------------------------ project sheet */
.scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(17, 17, 17, .34);
}
.psheet {
  will-change: transform;
  position: fixed; z-index: 61; top: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  width: min(600px, calc(100vw - 2 * var(--gutter))); background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.35);
  display: flex; flex-direction: column;
}
.psheet__grab { display: none; }
.psheet__scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; -webkit-overflow-scrolling: touch; }
.psheet__media { position: relative; margin: 10px 10px 0; aspect-ratio: 16 / 6; border-radius: 16px; overflow: hidden; background: var(--chroma); }
.psheet__no { display: none; }
.psheet__body { padding: 26px clamp(22px, 4vw, 40px) 36px; }
.psheet__tag { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.psheet__year { color: var(--ink-3); margin-left: 8px; }
.psheet__nav { display: flex; gap: 6px; flex: none; }
.step-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; cursor: pointer; transition: background .3s var(--ease); }
.step-btn svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .step-btn:hover { background: var(--soft-2); } }
.step-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.psheet__title { font-size: clamp(34px, 4vw, 48px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.psheet__client { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.psheet__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.psheet__stats li { padding: 18px 14px 18px 0; display: flex; flex-direction: column; gap: 6px; }
.psheet__stats li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.psheet__stats b { font-size: clamp(22px, 2.3vw, 30px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; overflow-wrap: anywhere; }
.psheet__stats span { font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.psheet__text p { font-size: 15.5px; line-height: 1.6; color: #3a3a38; margin-bottom: 1em; letter-spacing: -.005em; }
.psheet__actions { display: flex; align-items: center; gap: 8px; margin-top: 26px; }
.psheet__actions:has(> a[hidden]:only-child) { display: none; }
.psheet__close { position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.9); }

/* ------------------------------------------------------------------ mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 39; background: #fff;
  display: flex; flex-direction: column;
  padding: calc(96px + env(safe-area-inset-top)) var(--menu-x, 32px) calc(24px + env(safe-area-inset-bottom));
}
.menu__top { display: none; }
.menu__links { margin-top: auto; display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0; font-size: 44px; letter-spacing: -.045em; line-height: 1.05;
  border-bottom: 1px solid var(--line);
}
.menu__links .mono { font-size: 11px; color: var(--ink-3); letter-spacing: 0; transform: translateY(-1.4em); }
.menu__foot { display: flex; gap: 8px; margin-top: 28px; }
.menu__foot .pill { flex: 1; }

/* ================================================================== tablet */
@media (max-width: 1180px) {
  .row__btn { grid-template-columns: 34px 104px minmax(0, 1fr) minmax(0, 1.3fr) 84px 40px; }
  .row__tag { display: none; }
  .thumb { width: 104px; }
  .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 961px) and (max-width: 1240px) {
  .hero__title { font-size: 5.1vw; }
}
@media (max-width: 960px) {
  .hero__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero__title { font-size: clamp(44px, 7.2vw, 72px); }
  .about__cols { grid-template-columns: 1fr 1fr; }
  .mini-card { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .services__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================== mobile */
@media (max-width: 720px) {
  :root { --pad: 20px; --r-sheet: 22px; --r-panel: 16px; }
  body { font-size: 15px; }
  .nav { top: calc(var(--gutter) + 10px + env(safe-area-inset-top)); padding: 0 calc(var(--gutter) + 10px); }
  .nav__pill { width: 100%; justify-content: space-between; padding: 0 0 0 16px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__menu {
    position: relative; display: grid; place-content: center; gap: 4px; width: 44px; height: 44px; border-radius: 50%; isolation: isolate;
  }
  .nav__menu::before { content: ''; position: absolute; inset: 4px; z-index: -1; border-radius: 50%; background: var(--ink); transition: transform .4s var(--ease); }
  .nav__menu:active::before { transform: scale(.92); }
  .nav__menu span { display: block; width: 14px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease); }
  .nav__menu[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

  .hero { padding-top: 112px; }
  .hero__top { gap: 22px; padding-bottom: 22px; }
  .eyebrow { margin-bottom: 16px; font-size: 13px; }
  .hero__title { font-size: clamp(34px, 9.4vw, 42px); line-height: 1.02; letter-spacing: -.04em; }
  .hero__right { display: flex; flex-direction: column; }
  .avail { order: -1; margin-bottom: 12px; }
  .hero__lede { font-size: 15px; max-width: none; margin-bottom: 20px; }
  .hero__ctas .pill { flex: 1; min-height: 48px; }
  .hero__panel { height: auto; aspect-ratio: 4 / 5; margin: 0 var(--gutter); }
  .panel__meta { padding: 14px 16px; }
  .panel__mid { display: none; }

  .about { padding-top: 76px; }
  .statement { font-size: 28px; line-height: 1.12; letter-spacing: -.035em; }
  .about__cols { grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
  .about__col p { font-size: 15px; max-width: none; }
  .trust { margin-top: 28px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .mini-card { aspect-ratio: 4 / 3; margin-top: 12px; }

  .numbers { padding-top: 96px; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .numbers__grid li { min-height: 132px; padding: 20px 14px 22px 0; }
  .numbers__grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .numbers__grid li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .num__v { font-size: 48px; }
  .num__v--long { font-size: 36px; }
  .num__l { font-size: 12.5px; }

  .services { padding-top: 100px; }
  .services__intro .h2 { margin-bottom: 26px; }
  .tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; }
  .services__stage .svc-card { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .svc-panel p { font-size: 16px; }
  .svc-panels { min-height: 176px; margin-top: 26px; padding-top: 20px; }
  .svc-panel { inset: 20px 0 auto 0; }

  .work { padding-top: 100px; }
  .work__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .row__btn {
    grid-template-columns: 84px minmax(0, 1fr) 24px; grid-template-areas: 'thumb main go';
    gap: 16px; padding: 14px 0; align-items: center;
  }
  .row__btn::before { display: none; }
  .row__no, .row__tag, .row__year { display: none; }
  .thumb { grid-area: thumb; width: 84px; aspect-ratio: 1; border-radius: 12px; }
  .row__main { grid-area: main; }
  .row__title { font-size: 19px; }
  .row__client { font-size: 12.5px; margin-top: 2px; }
  .row__brief.only-d { display: none; }
  .row__brief.only-m { display: block; font-size: 13.5px; margin-top: 5px; line-height: 1.4; }
  .row__go { grid-area: go; width: 24px; height: 24px; background: none; justify-self: end; }

  .clients { padding-top: 96px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
  .logos li { height: 78px; border-bottom: 1px solid var(--line); padding: 0 10px; }
  .logos li:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
  .logos img { max-height: 20px; opacity: .42; }
  .logos img[data-tall] { max-height: 30px; }
  .logos img[data-wide] { max-height: 13px; }

  .contact { padding-top: 104px; }
  .contact__title { font-size: 30px; }
  .contact__mail { font-size: clamp(20px, 6.3vw, 36px); letter-spacing: -.045em; white-space: nowrap; min-height: 44px; align-items: center; }
  .contact__mail-txt { overflow-wrap: normal; }
  .contact__mail-txt { background-size: 100% 1.5px; }
  .contact__row .pill { flex: 1; }
  /* mobile contact rhythm: status sits under the email as its caption, then clear air before the buttons */
  .contact__row { margin-top: 14px; row-gap: 0; }
  .avail--inline { margin: 0 0 28px; width: 100%; }
  .band { height: auto; aspect-ratio: 4 / 5; margin-top: 56px; }
  .band__meta { left: 16px; right: 16px; bottom: 14px; }
  .band__meta span:nth-child(2) { display: none; }

  /* mobile: one line, name left and back-to-top right */
  .foot { grid-template-columns: 1fr auto; gap: 16px; font-size: 12.5px; padding-top: 22px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); align-items: center; }
  .foot p:nth-child(2), .foot p:nth-child(3) { display: none; }
  .foot a { margin: 0; min-height: 44px; }

  .psheet {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: calc(100% - 44px - env(safe-area-inset-top));
    height: 92%; border-radius: 24px 24px 0 0;
  }
  .psheet__grab { display: flex; justify-content: center; align-items: center; height: 26px; flex: none; touch-action: none; cursor: grab; }
  .psheet__grab span { width: 40px; height: 4px; border-radius: 4px; background: var(--ink-4); }
  .psheet__media { margin: 0 10px; aspect-ratio: 16 / 7; }
  .psheet__close { top: 36px; right: 20px; }
  .psheet__body { padding: 24px 20px calc(30px + env(safe-area-inset-bottom)); }
  .psheet__title { font-size: 36px; }
  .psheet__stats li { padding: 16px 10px 16px 0; }
  .psheet__stats li + li { padding-left: 10px; }
  .psheet__stats b { font-size: 21px; }
  .psheet__actions .pill--dark { flex: 1 1 100%; }
  .psheet__body { padding-top: 20px; }
}

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