/* ============================================================
   NEXTMARS — 2_SITE
   Layout & components. Colours/sizes come from 1_tokens.css only.
   ============================================================ */

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip; /* never let a wide child resize the layout viewport */
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- base ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-synthesis-weight: none;
}

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

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

/* film grain — keeps large flat fields from looking like dead pixels */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.rule {
  height: var(--border-w);
  background: var(--line);
  width: 100%;
}

.sec {
  padding-block: var(--section-y);
  position: relative;
  scroll-margin-top: 92px;
}
section[id],
[id="top"] {
  scroll-margin-top: 92px;
}

.sec--tight {
  padding-block: clamp(40px, 3.6vw, 60px);
}

/* Contact is now a tinted chapter in the middle of the page rather than the
   final block, so it needs a closing edge as well as the opening one. */
.contact--mid {
  border-bottom: var(--border-w) solid var(--line);
}

/* ---------- type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::after {
  content: "";
  height: var(--border-w);
  flex: 1;
  background: var(--line);
}
.eyebrow--plain::after {
  display: none;
}
.eyebrow b {
  color: var(--accent);
  font-weight: 500;
}

.display {
  font-size: var(--t-h1);
  font-weight: 500;
  letter-spacing: var(--tracking-head);
  line-height: var(--lh-snug);
  text-wrap: balance;
}
.display em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.h2 {
  font-size: var(--t-h2);
  font-weight: 500;
  letter-spacing: var(--tracking-head);
  line-height: 1.06;
  text-wrap: balance;
}
.h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: var(--measure);
  font-weight: 300;
  text-wrap: pretty;
}

.muted {
  color: var(--ink-2);
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* ---------- buttons ---------- */
.head__cta .btn {
  padding: 12px 18px;
  font-size: var(--t-xs);
}

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--ink-invert);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 15px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform var(--dur-1) var(--ease), background var(--dur-1),
    color var(--dur-1);
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: var(--border-w) solid var(--line-2);
}
.btn--ghost:hover {
  background: var(--card-bg-hover);
  border-color: var(--ink-3);
}
.btn__arrow {
  display: inline-block;
  transition: transform var(--dur-1) var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.link-u {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  border-bottom: var(--border-w) solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color var(--dur-1), color var(--dur-1);
}
.link-u:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   HEADER
   ============================================================ */
.head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-head);
  transition: background var(--dur-2), border-color var(--dur-2),
    backdrop-filter var(--dur-2);
  border-bottom: var(--border-w) solid transparent;
}
.head.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
  margin-right: -6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav a {
  font-size: var(--t-sm);
  color: var(--ink-2);
  transition: color var(--dur-1);
  position: relative;
}
.nav a:hover {
  color: var(--ink);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.nav a:hover::after {
  transform: scaleX(1);
}

.head__cta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: var(--border-w) solid var(--line-2);
  border-radius: var(--radius);
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

/* mobile sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform var(--dur-2) var(--ease);
  visibility: hidden;
  /* seven items at phone size are taller than a landscape viewport, and a
     fixed overlay with overflow visible cannot be scrolled — the last links
     simply fall off the screen */
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sheet.is-open {
  transform: none;
  visibility: visible;
}
.sheet__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  margin-bottom: var(--s-7);
  /* the close cross has to stay reachable while the list scrolls */
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
}
/* the same button, drawn as a close cross — an open menu showing a hamburger
   reads like it would open a second one */
.sheet__top .burger span {
  background: transparent;
}
.sheet__top .burger span::before {
  top: 0;
  transform: rotate(45deg);
}
.sheet__top .burger span::after {
  top: 0;
  transform: rotate(-45deg);
}
.sheet nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.sheet nav a {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  padding-block: var(--s-3);
  border-bottom: var(--border-w) solid var(--line);
}
.sheet__foot {
  margin-top: auto;
  padding-top: var(--s-6);
  display: grid;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.sheet__foot a {
  padding-block: 6px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(24px, 4vw, 56px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  width: 100%;
}
.hero__copy {
  padding-bottom: clamp(8px, 2vw, 32px);
}
.hero__title {
  font-size: var(--t-hero);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: var(--lh-tight);
  margin-block: var(--s-6) var(--s-6);
  text-wrap: balance;
}
.hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.hero__lede {
  max-width: 46ch;
  color: var(--ink-2);
  font-size: var(--t-lead);
  font-weight: 300;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  margin-top: var(--s-8);
  padding-top: var(--s-4);
  border-top: var(--border-w) solid var(--line);
  font-size: var(--t-xs);
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.hero__meta b {
  color: var(--ink);
  font-weight: 500;
}

/* vertical marquee of artwork on the right */
.hero__stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: min(66vh, 660px);
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  position: relative;
}
.vcol {
  overflow: hidden;
  position: relative;
}
.vcol__track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: vscroll linear infinite;
  will-change: transform;
}
.vcol:nth-child(1) .vcol__track {
  animation-duration: 78s;
}
.vcol:nth-child(2) .vcol__track {
  animation-duration: 96s;
  animation-direction: reverse;
}
.vcol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  filter: saturate(var(--img-tint));
}
.vcol__ph {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-3);
  flex: 0 0 auto;
}
@keyframes vscroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--t-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-4);
  display: none;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border-w) solid var(--line);
  border-bottom: var(--border-w) solid var(--line);
}
.stats__cell {
  padding: clamp(20px, 2.6vw, 34px) clamp(12px, 2vw, 28px);
  border-right: var(--border-w) solid var(--line);
}
.stats__cell:first-child {
  padding-left: 0;
}
.stats__cell:last-child {
  border-right: 0;
}
.stats__n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stats__n sup {
  font-size: 0.42em;
  vertical-align: super;
  color: var(--accent);
  margin-left: 2px;
}
.stats__l {
  margin-top: var(--s-2);
  font-size: var(--t-xs);
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
/* the industries hang under the client count rather than in the label —
   it keeps the three cells on one line of type each */
.stats__l2 {
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

/* ============================================================
   WORK / JUSTIFIED WALL
   ============================================================ */
.work__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: var(--s-8);
}
.work__note {
  /* Archive metadata, not a lead — at body size it competed with the H2 beside
     it. 14px reads as a note; ink-2 (not ink-3) keeps it above 4.5:1 on all
     three themes at this size. */
  font-size: var(--t-sm);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 46ch;
  justify-self: end;
  border-left: var(--border-w) solid var(--line);
  padding-left: var(--s-5);
  text-wrap: pretty;
}

.wall {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wall__row {
  display: flex;
  gap: 8px;
}
.wall__item {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  cursor: zoom-in;
  flex: 0 0 auto;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 55%, transparent);
}
.wall__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter var(--dur-2);
  filter: saturate(0.94) contrast(1.02);
}
.wall__item:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.02);
}
.wall__hd {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 12px;
  opacity: 0;
  transition: opacity var(--dur-2);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 55%);
  color: #fff;
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.wall__item:hover .wall__hd {
  opacity: 1;
}

.wall__more {
  display: grid;
  place-items: center;
  margin-top: var(--s-7);
  gap: var(--s-4);
  text-align: center;
}
.wall__more .btn small {
  color: var(--ink-3);
  font-size: var(--t-xs);
}
.wall__hint {
  font-size: var(--t-xs);
  color: var(--ink-3);
  font-weight: 300;
}
.wall__more .btn {
  padding: 16px 26px;
}
.wall__more.is-done .wall__hint {
  display: none;
}
.wall__more.is-done #wallStatus::before {
  display: none;
}
#wallStatus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#wallStatus::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-4);
  animation: livePulse 2.2s var(--ease) infinite;
}

/* ---------- standalone archive page ---------- */
.page-top {
  padding-top: clamp(112px, 13vw, 164px);
  padding-bottom: var(--s-6);
  border-bottom: var(--border-w) solid var(--line);
}
.page-top .work__head {
  margin-bottom: 0;
}
.page-top .h2 {
  max-width: 18ch;
}
.page-top__aside {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
}
/* buttons in the aside must keep their own ink — the muted link colour used
   here made the 404 CTA orange-on-orange */
.page-top__aside a:not(.btn) {
  color: var(--ink-3);
  font-size: var(--t-sm);
}
.page-top__aside a:not(.btn):hover {
  color: var(--accent);
}

/* ============================================================
   SERVICES — editorial rows, preview strip on hover
   ============================================================ */
.svc {
  margin-top: var(--s-8);
  border-top: var(--border-w) solid var(--line);
}
.svc__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.8fr) minmax(0, 1.55fr);
  gap: 0 clamp(16px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(20px, 2.4vw, 32px);
  border-bottom: var(--border-w) solid var(--line);
  position: relative;
  transition: background var(--dur-2);
  cursor: default;
}
.svc__row:hover {
  background: var(--card-bg);
}
.svc__idx {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-4);
  padding-top: 6px;
}
.svc__name {
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.svc__desc {
  color: var(--ink-2);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  transition: color var(--dur-2);
}
.svc__row:hover .svc__desc {
  color: var(--ink);
}

/* Three samples per service, opening beside the paragraph on hover. The copy
   keeps its full contrast — nothing is laid over it and nothing fades it; the
   paragraph reflows into a narrower column for the duration, which is why the
   tiles never sit on top of a word. The first row is opened by script on load
   so the section never starts as eight bare lines of text. */
@keyframes svcFlash {
  0% {
    opacity: 0.35;
    transform: scale(0.94);
    filter: brightness(1.5);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.svc__body {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}
.svc__desc {
  flex: 1 1 auto;
  min-width: 0;
}
.svc__thumbs {
  --svc-th: clamp(84px, 7vw, 110px);
  --svc-w: calc(var(--svc-th) * 3 + 14px);
  flex: 0 0 0;
  width: 0;
  display: grid;
  grid-template-columns: repeat(3, var(--svc-th));
  gap: 7px;
  align-self: flex-start;
  overflow: hidden;
  opacity: 0;
  transition: flex-basis var(--dur-3) var(--ease), width var(--dur-3) var(--ease),
    opacity var(--dur-2) var(--ease);
}
.svc__thumbs > div {
  width: var(--svc-th);
  height: var(--svc-th);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-3);
  transform: translateX(14px) scale(0.95);
  transition: transform var(--dur-3) var(--ease);
}
.svc__thumbs img,
.svc__thumbs video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc__thumbs > div.is-flash {
  animation: svcFlash 0.32s var(--ease);
}

/* One row open at a time, switched by a class rather than :hover — the
   outgoing strip collapses at the rate the incoming one expands, so the rows
   below barely move and the pointer can't end up over a different service. */
@media (min-width: 1181px) {
  .svc__row.is-open .svc__body,
  .svc__row:focus-within .svc__body {
    gap: clamp(12px, 2vw, 26px);
  }
  .svc__row.is-open .svc__thumbs,
  .svc__row:focus-within .svc__thumbs {
    flex: 0 0 var(--svc-w);
    width: var(--svc-w);
    opacity: 1;
  }
  .svc__row.is-open .svc__thumbs > div,
  .svc__row:focus-within .svc__thumbs > div {
    transform: none;
  }
  .svc__row.is-open .svc__thumbs > :nth-child(2) {
    transition-delay: 50ms;
  }
  .svc__row.is-open .svc__thumbs > :nth-child(3) {
    transition-delay: 100ms;
  }
}

/* Below ~1180 there is no room to open a strip beside the copy, so it drops
   under the paragraph and stays put — same on every touch screen. */
@media (max-width: 1180px) {
  .svc__body {
    flex-direction: column;
    gap: var(--s-3);
  }
  .svc__thumbs {
    flex: 0 0 auto;
    width: 100%;
    max-width: 340px;
    margin-left: auto; /* keep the strip on the row's right edge, as above */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    opacity: 1;
  }
  .svc__thumbs > div {
    width: auto;
    height: auto;
    aspect-ratio: 1;
    transform: none;
  }
}

/* A wide touch screen (iPad Pro landscape) is past the 1180 breakpoint but has
   nothing to hover with, so the strip has to be part of the row there too. */
@media (hover: none) {
  .svc__body {
    flex-direction: column;
    gap: var(--s-3);
  }
  .svc__thumbs {
    flex: 0 0 auto;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    opacity: 1;
  }
  .svc__thumbs > div {
    width: auto;
    height: auto;
    aspect-ratio: 1;
    transform: none;
  }
}

/* ============================================================
   FAQ — visible Q&A (also the source for the FAQPage schema)
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 4.5vw, 72px);
  border-top: var(--border-w) solid var(--line);
}
.faq__item {
  padding-block: clamp(20px, 2.4vw, 32px);
  border-bottom: var(--border-w) solid var(--line);
}
.faq__q {
  font-size: var(--t-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
}
.faq__q::before {
  content: "—  ";
  color: var(--accent);
  font-weight: 400;
}
.faq__a {
  font-size: var(--t-sm);
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 46ch;
}

/* ============================================================
   PROCESS
   ============================================================ */
.proc {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-8);
}
.proc__step {
  padding-top: var(--s-4);
  border-top: var(--border-w) solid var(--line-2);
  position: relative;
  display: flex;
  flex-direction: column;
}
.proc__step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--dur-3) var(--ease);
}
.proc__step:hover::before {
  width: 100%;
}
.proc__n {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--accent);
  letter-spacing: 0.1em;
}
/* Each step now carries its own plate, so the five drawings read as five
   stages instead of a separate strip at the bottom. The plates have a purple
   frame baked into the artwork — no radius, no border of ours. */
.proc__fig {
  margin: var(--s-4) 0 var(--s-4);
}
.proc__fig img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.94) brightness(0.96);
  transition: filter var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.proc__step:hover .proc__fig img {
  filter: none;
  transform: translateY(-2px);
}
.proc__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.proc__t {
  margin-top: var(--s-3);
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.proc__d {
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.6;
  font-weight: 300;
}
.proc__out {
  margin-top: auto;
  padding-top: var(--s-3);
  font-size: var(--t-xs);
  color: var(--ink-3);
  padding-top: var(--s-3);
  border-top: var(--border-w) solid var(--line);
}
.proc__out b {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================================
   REVIEWS
   ============================================================ */
/* The proof band now sits directly under the stats, so it is kept tight:
   the voices should land in the first scroll, not three pages down. */
.proof .rev__feature {
  margin-block: var(--s-7) var(--s-7);
}
.rev__feature {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  margin-block: var(--s-8) var(--s-9);
}
.rev__big q {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.9vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  quotes: none;
  display: block;
  text-wrap: balance;
}
.rev__big q::before {
  content: "“";
  color: var(--accent);
}
.rev__big q::after {
  content: "”";
  color: var(--accent);
}
.rev__by {
  margin-top: var(--s-5);
  font-size: var(--t-xs);
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rev__side {
  font-size: var(--t-sm);
  color: var(--ink-2);
  font-weight: 300;
}
.rev__side p + p {
  margin-top: var(--s-4);
}
.rev__side hr {
  border: 0;
  height: var(--border-w);
  background: var(--line);
  margin-block: var(--s-5);
}

/* Four things clients name first. The old site ran these as a bare inline
   sentence with pasted Wix 3D renders; here they get a grid and icons drawn on
   the same 24px grid as the rest of the UI, so they inherit the accent colour
   and survive all three themes instead of fighting them. */
.creed {
  margin-block: var(--s-7) var(--s-6);
  padding-top: var(--s-5);
  border-top: var(--border-w) solid var(--line);
}
.creed__lead {
  font-size: var(--t-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-3);
}
.creed__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3.2vw, 44px);
  margin-top: var(--s-5);
}
/* 60 px: at 92 the illustrations were 6.6× the cap height of the heading they
   sit above and took a third of the 298 px column — the eye landed on the
   purple object first and on "Timely Delivery" second, which is the wrong
   order for a proof point. 60 px is ~4× the heading, still large enough to
   read as stopwatch / trophy / crown / spearhead, and the four of them now
   behave as markers above the copy rather than as artwork beside it.
   The shadow is scaled with them: the old 8/18 px bloom was sized for 92 px
   and left a violet smear under a 60 px object. */
.creed__ic {
  display: block;
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 5px 11px rgba(120, 40, 160, 0.22));
}
.creed__t {
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.creed__d {
  margin-top: 6px;
  font-size: var(--t-xs);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* No-JS fallback for the two galleries. Shown only when scripting is off, so
   it costs nothing on the normal path — but it means a crawler that cannot run
   JS still sees real artwork, with real alt text, instead of an empty div. */
.nojs__lead {
  margin-bottom: var(--s-5);
  font-size: var(--t-sm);
  color: var(--ink-2);
  max-width: 62ch;
}
.nojs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}
.nojs__grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
/* press.html — a fact sheet reads as a document: label/value rows on hairlines,
   then prose at a comfortable measure. No cards, no decoration. */
.facts {
  border-top: var(--border-w) solid var(--line);
}
.fact {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: var(--s-4) clamp(24px, 5vw, 72px);
  padding-block: clamp(14px, 1.8vw, 20px);
  border-bottom: var(--border-w) solid var(--line);
}
.fact__k {
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.fact__v {
  font-size: var(--t-body);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 68ch;
}
.doc {
  max-width: 74ch;
}
.doc h2 {
  margin-top: var(--s-7);
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: var(--tracking-head);
}
.doc h2:first-child {
  margin-top: 0;
}
.doc p {
  margin-top: var(--s-3);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}
.doc a {
  color: var(--ink-1, inherit);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}

/* --- fact sheet: comparison table + Q&A (both are highly extractable for
       answer engines; the table is allowed to breathe wider than the prose) --- */
.doc:has(.doc__table) {
  max-width: min(1000px, 100%);
}
.doc__table {
  margin-top: var(--s-5);
  max-width: 100%;
  overflow-x: auto;
  border-top: var(--border-w) solid var(--line-2);
}
.doc__table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.doc__table caption {
  text-align: left;
  padding: var(--s-3) 0;
  font-size: var(--t-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-3);
}
.doc__table th,
.doc__table td {
  text-align: left;
  vertical-align: top;
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  border-bottom: var(--border-w) solid var(--line);
  line-height: 1.5;
}
.doc__table thead th {
  font-size: var(--t-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  white-space: nowrap;
}
.doc__table tbody th,
.doc__table tbody td:first-child {
  color: var(--ink);
}
.doc__table tbody td {
  color: var(--ink-2);
}
.doc__qa {
  margin-top: var(--s-4);
}
.doc__qa dt {
  font-weight: 500;
  color: var(--ink);
  font-size: var(--t-body);
  margin-top: var(--s-5);
}
.doc__qa dt:first-child {
  margin-top: 0;
}
.doc__qa dd {
  margin: var(--s-2) 0 0;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* --- legal pages: privacy and terms are long reads, so the list rhythm has
       to carry them rather than one grey wall of paragraphs --- */
.prose {
  max-width: 68ch;
}
.prose__meta {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding-bottom: var(--s-3);
  border-bottom: var(--border-w) solid var(--line);
}
.prose h2 {
  margin-top: var(--s-7);
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: var(--tracking-head);
  color: var(--ink);
}
.prose .prose__meta + p,
.prose__meta + p {
  margin-top: var(--s-5);
}
.prose ol {
  margin-top: var(--s-3);
  list-style: decimal outside;
  padding-left: 1.35em;
  display: grid;
  gap: 9px;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
}
.prose h2 + p {
  margin-top: var(--s-3);
}
.prose ul {
  margin-top: var(--s-3);
  list-style: disc outside;
  padding-left: 1.15em;
  display: grid;
  gap: 9px;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}
.prose li::marker {
  color: var(--ink-4);
}
.prose strong {
  color: var(--ink);
  font-weight: 500;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--ink-3);
}
.prose .doc__table {
  margin-top: var(--s-5);
}

/* Accessible-only heading: keeps a logical H1>H2 outline for crawlers
   without adding visual noise to the gallery. */
.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;
}

@media (max-width: 620px) {
  .nojs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fact {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  /* A 620px three-column table inside a 350px phone becomes a sideways
     scroll with no visible hint that more exists — which on a phone most
     people never discover. Each row turns into a labelled card instead. */
  .doc__table {
    overflow-x: visible;
    border-top: 0;
  }
  .doc__table table,
  .doc__table tbody,
  .doc__table tr,
  .doc__table td {
    display: block;
    width: auto;
    min-width: 0;
  }
  .doc__table thead {
    display: none;
  }
  .doc__table caption {
    padding-bottom: var(--s-3);
    display: block;
    width: 100%;
  }
  .doc__table tr {
    padding-block: var(--s-4);
    border-bottom: var(--border-w) solid var(--line);
  }
  .doc__table td {
    padding: 0;
    border: 0;
  }
  .doc__table tbody td:first-child {
    font-size: var(--t-body);
    color: var(--ink);
  }
  .doc__table td + td {
    margin-top: 4px;
  }
  .doc__table td[data-label]::before {
    content: attr(data-label) " — ";
    font-size: var(--t-label);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--ink-3);
  }
}

.marq {
  position: relative;
  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);
  padding-block: var(--s-2);
}
.marq__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: hscroll var(--dur-marquee) linear infinite;
}
.marq:hover .marq__track {
  animation-play-state: paused;
}
@keyframes hscroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.rev {
  flex: 0 0 auto;
  width: clamp(280px, 27vw, 380px);
  padding: var(--s-5);
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  transition: border-color var(--dur-2), background var(--dur-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  justify-content: center;
  min-height: 210px;
}
.rev:hover {
  border-color: var(--line-2);
  background: var(--card-bg-hover);
}
.rev p {
  font-size: var(--t-sm);
  line-height: 1.62;
  color: var(--ink-2);
  font-weight: 300;
}
.rev__meta {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 0.4;
  color: var(--accent);
  opacity: 0.85;
}

/* ============================================================
   ENGAGEMENT MODELS
   ============================================================ */
.models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: var(--border-w) solid var(--line);
  margin-top: var(--s-8);
}
.model {
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: background var(--dur-2);
}
.model:hover {
  background: var(--bg-2);
}
.model__tag {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--accent);
  letter-spacing: 0.08em;
}
.model__t {
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.model__d {
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.62;
  font-weight: 300;
}
.model ul {
  display: grid;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: var(--border-w) solid var(--line);
}
.model li {
  font-size: var(--t-xs);
  color: var(--ink-2);
  display: flex;
  gap: var(--s-2);
  align-items: baseline;
}
.model li::before {
  content: "—";
  color: var(--ink-4);
  flex-shrink: 0;
}

/* ============================================================
   STUDIO / TEAM
   ============================================================ */
/* Studio used to be a 1.02fr / 0.98fr split with a 2×2 portrait grid on the
   right, sized so the faces matched the text column in height. The faces are
   now half that (120 px), so the split no longer balances: the header spans
   the full width, the four portraits become one roster row, and the contact
   block and the reply window share a row below it. */
.studio__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.studio__head .lead {
  max-width: 52ch;
}

/* Portraits are 600×750 source files shown at 120 CSS px — 240 device px on a
   2× display, still under the source width, so faces stay crisp. At this size
   they read as people you can write to rather than as a gallery competing
   with the work wall above. No hover zoom: scaling a raster up is the other
   half of the same blur. */
.roster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(28px, 4vw, 56px);
  list-style: none;
}
/* Each person opens on a short rule the width of their cell — with the faces
   this small, the rules are what hold the row together and stop four pairs
   from floating in the middle of 300 px columns. */
.member {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  align-items: center;
  padding-top: var(--s-4);
  border-top: var(--border-w) solid var(--line);
}
.member__ph {
  position: relative;
  width: 120px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: var(--radius);
  transition: box-shadow var(--dur-2) var(--ease);
}
/* Muted pastel by default, not greyscale: full monochrome read as memorial
   portraiture. 0.5 saturation keeps the shirt/background colour legible as
   colour while still sitting back from the work wall behind it. Hover only
   nudges it to 0.85 — jumping back to 100% looked cheap next to the pastel. */
.member__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.45) contrast(1.03) brightness(0.99);
  transition: filter var(--dur-3) var(--ease);
}
.member:hover .member__ph {
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.member:hover .member__ph img {
  filter: saturate(0.72) contrast(1.04) brightness(1.01);
}
.member__n {
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.member__r {
  margin-top: 2px;
  font-size: var(--t-xs);
  color: var(--ink-3);
}

/* Contact details became a four-up strip echoing the roster: label above,
   value below, one rule per cell. As a stacked list they were half the height
   of the reply block beside them and left a hole under the shorter column. */
.studio__body {
  margin-top: clamp(40px, 6vw, 80px);
}
.studio__body .addr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: 0;
}
.studio__body .addr__row {
  display: block;
  padding-block: var(--s-4) 0;
}
.studio__body .addr__row dd {
  margin-top: 8px;
}

/* The reply block runs full width and splits in two: the promise on the left,
   the mechanics on the right. */
.studio__body .hours {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: var(--s-5);
}
.studio__body .hours__detail .hours__list {
  margin-top: 0;
}

.addr {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.addr__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--s-4);
  padding-block: var(--s-3);
  border-top: var(--border-w) solid var(--line);
  font-size: var(--t-sm);
}
.addr__row dt {
  color: var(--ink-3);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}
.addr__row dd a:hover {
  color: var(--accent);
}
.addr__row dd .addr__im {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.addr__row dd .addr__im:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}

/* ---------- live desk hours ---------- */
.hours {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: var(--border-w) solid var(--line);
}
.hours__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}
/* The promise, not the presence. A grey "offline" dot was the one thing on
   this page that told a client in another time zone to come back later; this
   reads the same at 3am in Berlin as it does at 11am in Guangzhou. */
.hours__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 9px;
  border: var(--border-w) solid var(--line);
  border-radius: 999px;
  font-size: var(--t-xs);
  letter-spacing: 0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}
.hours__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  flex: none;
}
.hours__pitch {
  margin-top: var(--s-5);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.hours__base {
  margin-top: var(--s-4);
  font-size: var(--t-sm);
  color: var(--ink-2);
  max-width: 42ch;
}
.hours__pitch + .hours__base {
  margin-top: var(--s-3);
}
.hours__base b {
  color: var(--ink);
  font-weight: 500;
}
.hours__list {
  margin-top: var(--s-4);
}
.hours__list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: baseline;
  padding-block: 14px;
  border-top: var(--border-w) solid var(--line);
}
.hours__reg {
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hours__cell {
  display: grid;
  gap: 4px;
}
.hours__time {
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hours__zone {
  font-size: var(--t-xs);
  color: var(--ink-3);
  font-weight: 300;
}
.hours__note {
  margin-top: var(--s-5);
  font-size: var(--t-xs);
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--bg-2);
  border-top: var(--border-w) solid var(--line);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact__title {
  font-size: var(--t-h1);
  font-weight: 400;
  letter-spacing: var(--tracking-head);
  line-height: 1.02;
  margin-block: var(--s-5) var(--s-5);
  text-wrap: balance;
}
.contact__title em {
  font-family: var(--font-display);
  font-style: italic;
}

.form {
  display: grid;
  gap: var(--s-5);
}
.field {
  display: grid;
  gap: var(--s-2);
}
.field label {
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field select {
  padding-right: 24px;
  cursor: pointer;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: var(--border-w) solid var(--line-2);
  padding: 10px 0;
  font-size: var(--t-body);
  border-radius: 0;
  transition: border-color var(--dur-1);
  appearance: none;
}

/* select paints after the reset above (which clears background), otherwise the
   chevron disappears. `option` needs explicit colours too — without them the
   native list opens as a white system panel over the dark layout. */
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% + 1px),
    calc(100% - 7px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-color: transparent;
}
.field select option,
.field select optgroup {
  background-color: var(--bg-3);
  color: var(--ink);
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-4);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: var(--s-2);
}
.form__note {
  font-size: var(--t-xs);
  color: var(--ink-3);
  max-width: 34ch;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.form__msg {
  font-size: var(--t-sm);
  padding: var(--s-3) var(--s-4);
  border: var(--border-w) solid var(--line-2);
  border-radius: var(--radius);
  display: none;
}
.form__msg.is-ok {
  display: block;
  border-color: var(--ok);
  background: var(--ok-soft);
  color: var(--ink);
}
.form__msg.is-err {
  display: block;
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.btn[aria-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: var(--border-w) solid var(--line);
  padding-block: var(--s-8) var(--s-6);
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr));
  gap: var(--s-6);
  padding-bottom: var(--s-8);
}
.foot__mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.foot__logo {
  width: clamp(38px, 3.6vw, 52px);
  height: auto;
  flex: none;
  display: block;
}
.foot__mark span {
  color: var(--accent);
}
.foot__blurb {
  margin-top: var(--s-4);
  font-size: var(--t-sm);
  color: var(--ink-3);
  max-width: 34ch;
  line-height: 1.6;
}
.foot__col h4 {
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.foot__col ul {
  display: grid;
  gap: var(--s-2);
}
.foot__col a {
  font-size: var(--t-sm);
  color: var(--ink-2);
  transition: color var(--dur-1);
}
.foot__col a:hover {
  color: var(--ink);
}
.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding-top: var(--s-5);
  border-top: var(--border-w) solid var(--line);
  font-size: var(--t-xs);
  color: var(--ink-4);
}

.foot__legal {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.foot__legal a {
  color: var(--ink-3);
  transition: color var(--dur-1);
}
.foot__legal a:hover {
  color: var(--ink);
}

.themer {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius-pill);
}
.themer button {
  font-size: var(--t-label);
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: var(--ink-3);
  transition: background var(--dur-1), color var(--dur-1);
}
.themer button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--ink-invert);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.lb.is-open {
  opacity: 1;
  visibility: visible;
}
.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--gutter);
  font-size: var(--t-xs);
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.lb__stage {
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
  min-height: 0;
}
.lb__stage img {
  max-width: 100%;
  max-height: calc(100svh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.98);
  transition: transform var(--dur-3) var(--ease);
  cursor: zoom-out;
}
.lb.is-open .lb__stage img {
  transform: scale(1);
}
.lb__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  padding: var(--s-5) var(--gutter) var(--s-6);
}
.lb__nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: var(--border-w) solid var(--line-2);
  border-radius: var(--radius-pill);
  transition: background var(--dur-1), border-color var(--dur-1);
}
.lb__nav:hover {
  background: var(--card-bg-hover);
  border-color: var(--ink-3);
}
.lb__close {
  position: absolute;
  top: var(--s-4);
  right: var(--gutter);
}

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] {
  transition-delay: 90ms;
}
[data-reveal][data-delay="2"] {
  transition-delay: 180ms;
}
[data-reveal][data-delay="3"] {
  transition-delay: 270ms;
}
[data-reveal][data-delay="4"] {
  transition-delay: 360ms;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }
  .hero__stack {
    height: 38vh;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .hero__stack .vcol:nth-child(3) {
    display: block;
  }
  .hero {
    padding-top: 140px;
  }
  .work__head {
    grid-template-columns: 1fr;
  }
  .work__note {
    justify-self: start;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .rev__feature {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  /* one column: lead with the quote, keep the supporting note underneath */
  .rev__big {
    order: -1;
  }
  .foot__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
  }
  /* five plates across stops working below desktop width — and five never
     divides into four or two columns without an orphan — so each step turns
     into a row with its plate on the left instead */
  .proc {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .proc__step {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    column-gap: var(--s-6);
    padding: var(--s-5) 0;
  }
  .proc__fig {
    margin: 0;
  }
}

/* 7 nav items need more room before the CTA — hand over to the sheet earlier */
@media (max-width: 1040px) {
  .nav,
  .head__cta .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
}

@media (max-width: 900px) {
  .nav,
  .head__cta .btn {
    display: none;
  }
  .creed__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5) var(--s-4);
  }
  /* index in the gutter, name and copy in one column, strip below the copy */
  .svc__body {
    grid-column: 2;
  }
  .svc__thumbs {
    max-width: none;
    margin-left: 0;
  }
  .burger {
    display: flex;
  }
  .head__cta {
    gap: var(--s-2);
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats__cell {
    padding-inline: var(--s-4);
    border-bottom: var(--border-w) solid var(--line);
  }
  .stats__cell:nth-child(2n) {
    border-right: 0;
  }
  .stats__cell:nth-child(n + 3) {
    border-bottom: 0;
  }
  /* three cells into two columns: the last one takes the full width so it
     doesn't sit alone in a half-empty row */
  .stats__cell:nth-child(3) {
    grid-column: 1 / -1;
  }
  .stats__cell:first-child {
    padding-left: var(--s-4);
  }
  .models {
    grid-template-columns: 1fr;
  }
  .svc__row {
    grid-template-columns: 34px 1fr;
    gap: var(--s-3) var(--s-4);
  }
  .studio__head {
    grid-template-columns: 1fr;
  }
  .studio__head .lead {
    max-width: none;
  }
  .studio__body .addr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* three fields into two columns: the last one takes the full width so it
     doesn't sit alone in a half-empty row with a short rule beside it */
  .studio__body .addr__row:last-child {
    grid-column: 1 / -1;
  }
  .studio__body .hours {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5) var(--s-4);
  }
  .form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: 116px;
  }
  .hero__stack {
    height: 30vh;
    grid-template-columns: 1fr 1fr;
  }
  .hero__stack .vcol:nth-child(3) {
    display: none;
  }
  .hero__meta {
    gap: var(--s-3) var(--s-4);
    margin-top: var(--s-6);
  }
  .faq {
    grid-template-columns: 1fr;
  }
  .foot__top {
    grid-template-columns: 1fr;
  }
  .rev {
    width: 82vw;
  }
  /* keep the trust line, drop the rest — the numbers are already in the stats row */
  .rev__side p:first-of-type,
  .rev__side hr {
    display: none;
  }
  .lb__stage img {
    max-height: calc(100svh - 200px);
  }

  /* thumb-sized links in the footer and the studio contact block; 16px of
     text with no padding is a 44px-wide, 16px-tall target */
  .foot__col a,
  .addr a,
  .page-top__aside a,
  .doc a {
    display: inline-block;
    padding-block: 9px;
  }
  .brand {
    padding-block: 7px;
  }
  /* seven links plus the contact block were 23px taller than a 844px phone,
     which left "London" cut off at the fold */
  .sheet nav a {
    padding-block: 11px;
  }
  .sheet__top {
    margin-bottom: var(--s-5);
  }
  .contact__grid .mono a {
    display: inline-block;
    padding-block: 8px;
  }
  .themer button {
    min-height: 36px;
    padding-block: 6px;
  }
  .foot__col li + li {
    margin-top: 0;
  }
  /* the review strip is a tap target on the wall, not on the text */
  .rev__by {
    font-size: var(--t-xs);
  }
}

/* A phone held sideways is 360–430px tall: the hero's 100svh + its 140px
   padding pushes everything below the fold and leaves a 700px hero on a
   390px-tall screen. */
@media (max-height: 560px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 20px;
  }
  /* in landscape the stack eats the whole first screen; the headline and the
     two buttons are what has to be visible without scrolling */
  .hero__stack {
    display: none;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: clamp(28px, 6vw, 40px);
    margin-block: var(--s-3);
  }
  .hero__lede {
    max-width: 62ch;
  }
  .hero__actions {
    margin-top: var(--s-4);
  }
  .hero__meta {
    margin-top: var(--s-5);
  }
  .sheet {
    padding-block: var(--s-4);
  }
  .sheet__top {
    height: 56px;
    margin-bottom: var(--s-4);
  }
  .sheet nav {
    gap: 0;
    /* seven rows at full size do not fit a 360px-tall screen; two columns
       show the whole map without a scroll */
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s-6);
  }
  .sheet nav a {
    font-size: 1.25rem;
    padding-block: 11px;
  }
}

/* below this the two-column step would squeeze the copy to ~24 characters a
   line, so the plate moves above it — and it runs the full column width, so
   it lines up with the copy under it instead of stopping short of it */
@media (max-width: 560px) {
  .proc__step {
    grid-template-columns: 1fr;
    row-gap: var(--s-3);
  }
  .proc__fig {
    width: 100%;
    margin-bottom: var(--s-1);
  }
  /* one roster row per person: two 120 px portraits side by side would leave
     ~30 px for the name and role */
  .roster {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .member {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .member__ph {
    width: 96px;
  }
  .studio__body .addr {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .vcol__track,
  .marq__track {
    animation: none !important;
  }
}

/* Touch devices zoom the page when a focused field is under 16px — iPhones at
   any width and iPads at 768/1024 as well. Last block on purpose: the base
   `.field` rule sits further up and would otherwise win. */
@media (hover: none) {
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}
