/* ==========================================================================
   Off Kenny Digital Realm
   Direction: Frame & Call Sheet, in the agency's own colours — see DESIGN.md
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  /* Ground — the three surfaces the brand already uses */
  --ink:          #0E0D0F;   /* the black their feed sits on */
  --ink-raised:   #1A181B;
  --ink-line:     #2E2A2E;
  --blush:        #F9DCE3;   /* the soft pink behind most of their posts */
  --blush-sunk:   #F3C9D3;
  --blush-line:   #E0AFBC;
  --cream:        #F5F1E9;   /* the hero ground, from the supplied design */
  --cream-ink:    #111114;
  --cream-dim:    #6E6A62;   /* warm, tinted from the cream; AA on cream */
  --cream-line:   #DCD5C7;
  --paper:        #F6F0F1;   /* from the company profile */
  --paper-sunk:   #E8DEE0;   /* from the company profile */
  --paper-line:   #D6C9CC;

  /* Signature — the logo colour, sampled from the profile and the mark */
  --brand:        #E9204F;
  --brand-lift:   #FF6E8C;   /* small pink text on black: 6.9:1 */
  --brand-deep:   #B01038;   /* small pink text on pink/white: 6.2:1 */
  --brand-solid:  #C9143F;   /* filled button under white text: 5.7:1 */

  /* Secondary text — tinted from its own ground, never gray */
  --dim-on-ink:   #A9A0A4;
  --dim-on-paper: #5C5C5C;   /* the profile's own secondary ink */

  /* Per-field, reassigned by the field modifiers */
  --ground:  var(--ink);
  --raised:  var(--ink-raised);
  --rule:    var(--ink-line);
  --fg:      var(--paper);
  --fg-dim:  var(--dim-on-ink);
  --mark:    var(--brand-lift);

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --geo:     "Jost", "Century Gothic", "Futura", sans-serif;  /* the logo's voice */
  --didone:  "Playfair Display", "Didot", Georgia, serif;     /* the hero lockup */
  --script:  "Caveat", "Segoe Script", cursive;               /* the handwritten aside */
  --serif:   "Instrument Serif", Georgia, serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Motion */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --t-micro:   140ms;
  --t-std:     280ms;
  --t-enter:   520ms;

  /* Measure */
  --gutter: clamp(1.125rem, 4vw, 4.5rem);
  --max:    96rem;
}

.field--paper {
  --ground: var(--paper);
  --raised: var(--paper-sunk);
  --rule:   var(--paper-line);
  --fg:     var(--ink);
  --fg-dim: var(--dim-on-paper);
  --mark:   var(--brand-deep);
}

.field--blush {
  --ground: var(--blush);
  --raised: var(--blush-sunk);
  --rule:   var(--blush-line);
  --fg:     var(--ink);
  --fg-dim: #6E545C;          /* tinted from the blush hue, not gray */
  --mark:   var(--brand-deep);
}

/* --- Reset -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--ink-line) var(--ink);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--raised); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-color: currentColor; }

/* --- Browser surfaces --------------------------------------------------- */

::selection { background: var(--brand); color: #FFFFFF; }
:root { caret-color: var(--brand); accent-color: var(--brand); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-line); border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #3C3C48; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--brand-solid); color: #FFFFFF;
  padding: 0.75rem 1.25rem; font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: top var(--t-std) var(--ease);
}
.skip:focus { top: 1rem; }

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Type scale --------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 82%;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-wrap: balance;
  margin: 0;
}

.t-hero    { font-size: clamp(3rem, 12.5vw, 8.5rem); }
.t-section { font-size: clamp(2.125rem, 6vw, 4.25rem); }
.t-sub     { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.jina {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
}

.meta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--fg-dim);
}

.prose {
  max-width: 68ch;
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.65;
  color: var(--fg-dim);
}
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--fg); font-weight: 600; }

/* --- Field / layout ----------------------------------------------------- */

.field {
  background: var(--ground);
  color: var(--fg);
  position: relative;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Oversized ghost word behind a section heading. */
.ghosted { position: relative; }
.ghosted::before {
  content: attr(data-ghost);
  position: absolute;
  left: -0.06em;
  bottom: 0.4em;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(4.5rem, 15vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--fg) 5%, transparent);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  /* The word is wider than a phone; let it run to the edge and clip rather
     than push the document wider than the viewport. */
  max-width: 100%;
  overflow: hidden;
  z-index: 0;
}
.ghosted > * { position: relative; z-index: 1; }

.field__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(1.75rem, 3vw, 2.75rem);
  border-bottom: 1px solid var(--rule);
}

/* The one intentionally pill-shaped control in the system. */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: max-content;
  min-height: 3.25rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  background: var(--brand-solid);
  color: #fff;
  box-shadow: 0 0.75rem 1.75rem rgba(201, 20, 63, 0.2);
  font-family: var(--geo);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--t-micro) var(--ease),
              background var(--t-micro) var(--ease),
              box-shadow var(--t-micro) var(--ease);
}
.cta:hover {
  background: var(--brand-solid);
  color: #fff;
  box-shadow: 0 1rem 2rem rgba(201, 20, 63, 0.28);
  text-decoration: none;
  transform: translateY(-2px);
}
.cta:active { transform: translateY(0); }
.cta svg { flex: none; }

/* --- Header ------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  color: var(--cream-ink);
  transition: background var(--t-std) var(--ease),
              color var(--t-std) var(--ease),
              border-color var(--t-std) var(--ease);
}
/* Past the hero the bar sits over dark sections, so it inverts. */
.masthead[data-stuck="true"] {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  border-bottom-color: var(--ink-line);
  color: var(--paper);
}

.masthead__bar {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(1.15rem, 1.7vw, 1.55rem) var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

.wordmark { display: block; flex: none; text-decoration: none; }
.wordmark img {
  width: auto;
  height: clamp(34px, 3.25vw, 47px);
  background: transparent;
  transition: transform var(--t-std) var(--ease);
}
.wordmark:hover img { transform: scale(1.03); }

.nav {
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3.4vw, 3.25rem);
}
.nav__link {
  font-family: var(--geo);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: inherit;
  padding-block: 0.4rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--t-micro) var(--ease);
}
.nav__link sup {
  font-size: 0.6em;
  margin-left: 0.3em;
  vertical-align: super;
  letter-spacing: 0.06em;
  opacity: 0.55;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.05rem;
  height: 1px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-std) var(--ease);
}
.nav__link:hover, .nav__link:focus-visible, .nav__link[aria-current="true"] { color: var(--brand-deep); }
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }

@media (max-width: 62rem) {
  .nav { display: none; }
  /* The nav's auto margins were doing the pushing; without it the pill needs
     its own, so it stays hard right opposite the logo. */
  .talk { margin-left: auto; }
}

/* The black pill, top right */
.talk {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  background: var(--cream-ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.75rem 1.375rem;
  font-family: var(--geo);
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t-micro) var(--ease),
              color var(--t-micro) var(--ease),
              transform var(--t-micro) var(--ease);
}
.talk svg { width: 16px; height: 16px; flex: none; }
.talk:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.masthead[data-stuck="true"] .talk { background: var(--brand-solid); color: #fff; }
.masthead[data-stuck="true"] .talk:hover { background: var(--brand); }

/* --- Hero --------------------------------------------------------------- */

.hero {
  --ground: var(--cream);
  --fg: var(--cream-ink);
  --fg-dim: var(--cream-dim);
  --rule: var(--cream-line);
  --mark: var(--brand);
  min-height: calc(100svh - 6rem);
  padding-block: clamp(2rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 1.75rem);
  overflow: clip;
}

.hero__grid {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto minmax(13rem, 1fr) auto auto auto;
  column-gap: clamp(0.75rem, 1.6vw, 1.5rem);
  min-height: calc(100svh - 10.75rem);
}

/* Row 1 — tagline and establishment date */
.hero__kicker {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: clamp(0.5rem, 1.4vw, 1rem);
}
.hero__tagline, .hero__est {
  font-family: var(--geo);
  font-size: clamp(0.625rem, 0.78vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.hero__est { display: flex; align-items: center; gap: 1rem; white-space: nowrap; }
.hero__estrule { width: clamp(3rem, 18vw, 19rem); height: 1px; background: var(--cream-line); }

/* Row 2 — the display lockup */
.hero__display {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: var(--didone);
  font-weight: 900;
  font-size: clamp(3.75rem, 17.2vw, 15.5rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  margin: 0;
  position: relative;
  z-index: 1;
}
.hero__off { color: var(--cream-ink); }
.hero__kenny { color: var(--brand); position: relative; }
.hero__tm {
  font-family: var(--geo);
  font-size: 0.075em;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0.04em;
  margin-left: 0.06em;
}
@media (max-width: 44rem) {
  .hero__display { font-size: clamp(3rem, 16vw, 7rem); line-height: 0.84; }
  .hero__off, .hero__kenny { display: inline; }
}

/* The cut-out sits over the lockup, the way the type runs behind him. */
.hero__portrait {
  grid-column: 4 / 11;
  grid-row: 2 / span 3;
  justify-self: center;
  align-self: end;
  width: clamp(20rem, 50vw, 45rem);
  margin-top: clamp(2.5rem, 3.3vw, 3rem);
  position: absolute;
  top: 0;
  left: 50%;
  /* `translate`, not `transform`, so the pointer parallax can set `transform`
     on this element without knocking it off centre. */
  translate: -50% 0;
  z-index: 2;
  pointer-events: none;
}
.hero__portrait img { width: 100%; height: auto; background: transparent; }

/* Warm light behind him, and the thin drawn curve */
.hero__figure {
  position: absolute;
  inset: 7.5rem -2rem 8rem 30%;
  z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  inset: -12% -8% 10% -20%;
  background:
    radial-gradient(58% 52% at 62% 42%, rgba(255, 196, 74, 0.72), rgba(255, 196, 74, 0) 70%),
    radial-gradient(44% 40% at 42% 66%, rgba(255, 150, 60, 0.38), rgba(255, 150, 60, 0) 72%);
  filter: blur(6px);
}
.hero__swoosh {
  position: absolute;
  left: -14%; bottom: -4%;
  width: 78%;
  height: auto;
  color: rgba(17, 17, 20, 0.16);
}


/* The WhatsApp mark ships in its own colours — a green bubble, white handset —
   so it reads as WhatsApp rather than as another monochrome glyph. */
.wa-mark { flex: none; }
.cta .wa-mark { width: 21px; height: 21px; }
.cta--lg .wa-mark { width: 23px; height: 23px; }
.social .wa-mark { width: 19px; height: 19px; }

/* --- Hero kinetics: drifting traces, particles and type ------------------ */

.hero__kinetics {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__kinetics svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Long hairlines that draw themselves across the frame, endlessly. */
.hero__trace {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  color: rgba(233, 32, 79, 0.30);
  stroke-dasharray: 240 1500;
  animation: trace-run 15s linear infinite;
}
.hero__trace--two {
  color: rgba(17, 17, 20, 0.16);
  stroke-dasharray: 170 1500;
  animation-duration: 21s;
  animation-delay: -7s;
}
.hero__trace--three {
  color: rgba(240, 160, 50, 0.55);
  stroke-dasharray: 110 1300;
  animation-duration: 26s;
  animation-delay: -14s;
}
@keyframes trace-run {
  from { stroke-dashoffset: 1740; }
  to   { stroke-dashoffset: 0; }
}

/* Slow motes of light */
.hero__particle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  animation: particle-drift 13s var(--ease-soft) infinite;
}
.hero__particle--one   { left: 14%; top: 28%; }
.hero__particle--two   { left: 70%; top: 13%; width: 5px; height: 5px; background: #F0A93C; animation-duration: 17s; animation-delay: -5s; }
.hero__particle--three { left: 50%; top: 70%; width: 9px; height: 9px; background: rgba(17, 17, 20, 0.4); animation-duration: 22s; animation-delay: -11s; }
@keyframes particle-drift {
  0%, 100% { translate: 0 0; opacity: 0.16; }
  50%      { translate: 24px -38px; opacity: 0.6; }
}

/* Words that belong to the work, floating behind him */
.hero__float-type {
  position: absolute;
  font-family: var(--geo);
  font-size: clamp(0.625rem, 0.85vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(17, 17, 20, 0.3);
  animation: type-float 15s var(--ease-soft) infinite;
}
.hero__float-type--one   { left: 3%;  top: 20%; }
.hero__float-type--two   { right: 24%; top: 6%; color: rgba(233, 32, 79, 0.42); animation-duration: 19s; animation-delay: -6s; }
.hero__float-type--three { left: 28%; bottom: 10%; animation-duration: 23s; animation-delay: -13s; }
@keyframes type-float {
  0%, 100% { translate: 0 0;     opacity: 0.35; }
  50%      { translate: 0 -20px; opacity: 0.9; }
}

/* The composition breathes. `translate` is its own property here so the
   pointer parallax can set `transform` on the same elements without clashing. */
@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -11px; }
}
.hero__portrait img { animation: hero-float 12s var(--ease-soft) infinite; }
.hero__display      { animation: hero-float 17s var(--ease-soft) infinite; }
.hero__glow         { animation: hero-float 15s var(--ease-soft) infinite reverse; }

.hero__display, .hero__figure, .hero__portrait, .hero__script { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero__trace, .hero__particle, .hero__float-type,
  .hero__portrait img, .hero__display, .hero__glow { animation: none; }
  .hero__trace { stroke-dasharray: none; }
  .hero__particle { opacity: 0.4; }
  .hero__float-type { opacity: 0.6; }
}

/* Left column — the pitch */
.hero__mobile-row { display: contents; }
.hero__pitch {
  grid-column: 1 / 5;
  grid-row: 3;
  align-self: start;
  padding-top: clamp(2.75rem, 5.2vw, 4.75rem);
  position: relative;
  z-index: 3;
  transform: translateY(clamp(1rem, 1.6vw, 1.5rem));
}
.hero__lede {
  font-family: var(--geo);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.9vw, 2.625rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--cream-ink);
  margin: 0;
}
.hero__blurb {
  margin-top: 0.875rem;
  max-width: 24ch;
  font-family: var(--geo);
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.5;
  color: var(--cream-dim);
}
.hero__pitch .cta { margin-top: clamp(1.25rem, 2.4vw, 2rem); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.hero__pitch .cta svg { width: 17px; height: 17px; }

/* The handwritten aside */
.hero__script {
  grid-column: 4 / 6;
  grid-row: 3;
  align-self: start;
  justify-self: start;
  margin-top: clamp(1.5rem, 4vw, 4rem);
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  line-height: 1.05;
  color: var(--brand);
  rotate: -7deg;
  position: relative;
  z-index: 3;
  pointer-events: none;
}
/* The phrase itself swaps every few seconds; the slab and the rule stay put. */
.hero__phrase {
  display: block;
  transition: opacity 300ms var(--ease), translate 300ms var(--ease);
}
.hero__phrase.is-swapping { opacity: 0; translate: 0 -12px; }
@media (prefers-reduced-motion: reduce) {
  .hero__phrase { transition: none; }
  .hero__phrase.is-swapping { opacity: 1; translate: 0 0; }
}

.hero__script::after {
  content: "";
  display: block;
  width: 3.5em;
  height: 2px;
  margin-top: 0.3em;
  background: var(--brand);
  border-radius: 2px;
}

/* Right column — social pills */
.hero__socials {
  grid-column: 11 / -1;
  grid-row: 3;
  align-self: start;
  padding-top: clamp(2.75rem, 5.2vw, 4.75rem);
  display: grid;
  gap: 0.5rem;
  width: min(100%, 8.25rem);
  justify-self: end;
  position: relative;
  z-index: 3;
  transform: translateY(clamp(1rem, 1.6vw, 1.5rem));
}
.social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #fff;
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  padding: 0.625rem 1rem;
  font-family: var(--geo);
  font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
  font-weight: 400;
  color: var(--cream-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-micro) var(--ease),
              border-color var(--t-micro) var(--ease),
              color var(--t-micro) var(--ease);
}
.social svg { width: 17px; height: 17px; flex: none; }
.social:hover { transform: translateX(-3px); border-color: var(--brand-deep); color: var(--brand-deep); }

/* Statement block, right of centre */
.hero__statement {
  grid-column: 10 / -1;
  grid-row: 4;
  align-self: end;
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  align-items: flex-start;
  padding-top: clamp(0.75rem, 1vw, 1rem);
  position: relative;
  z-index: 3;
}
.hero__claim {
  flex: 1;
  max-width: 22ch;
  font-family: var(--geo);
  font-size: clamp(0.6875rem, 0.82vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 2;
  color: var(--cream-ink);
}
.hero__count {
  display: flex;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  border-left: 1px solid var(--cream-line);
  padding-left: clamp(0.875rem, 1.6vw, 1.5rem);
}
.hero__countno {
  font-family: var(--geo);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: 400;
  color: var(--cream-ink);
  line-height: 1;
}
.hero__count ul {
  font-family: var(--geo);
  font-size: clamp(0.625rem, 0.75vw, 0.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--cream-dim);
}

/* Small stacked caps, used twice */
.hero__dash {
  display: block;
  width: 1.75rem;
  height: 1px;
  background: var(--cream-ink);
  margin-bottom: 0.875rem;
}
.hero__claim .hero__dash { margin-bottom: 0.625rem; }

.hero__values {
  grid-column: 1 / 4;
  grid-row: 5;
  align-self: end;
  padding-top: clamp(1rem, 1.5vw, 1.5rem);
  position: relative;
  z-index: 3;
  transform: translateY(-4rem);
}
.hero__values ul, .hero__more {
  font-family: var(--geo);
  font-size: clamp(0.625rem, 0.78vw, 0.78125rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 2;
  color: var(--cream-ink);
}

/* Three frames, bottom right */
.hero__thumbs {
  grid-column: 8 / -1;
  grid-row: 5;
  align-self: end;
  display: flex;
  align-items: flex-end;
  gap: clamp(0.5rem, 1.2vw, 1rem);
  margin-left: clamp(2rem, 4.5vw, 4rem);
  padding-top: clamp(1rem, 1.5vw, 1.5rem);
  position: relative;
  z-index: 3;
}
.hero__thumbs ul { display: flex; gap: 2px; }
.hero__thumbs img {
  width: clamp(4.5rem, 8.2vw, 7.75rem);
  height: auto;
  aspect-ratio: 36 / 46;
  object-fit: cover;
  transition: transform var(--t-std) var(--ease);
}
.hero__thumbs li:hover img { transform: translateY(-4px); }
.hero__more { color: var(--cream-dim); }

.hero__foot {
  grid-column: 1 / -1;
  grid-row: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--geo);
  font-size: clamp(0.6875rem, 0.8vw, 0.8125rem);
  color: var(--cream-dim);
  position: relative;
  z-index: 3;
}
.hero__foot p:last-child { text-align: right; letter-spacing: 0.16em; text-transform: uppercase; }
.hero__foot .hero__dash { margin: 0 0 0.375rem auto; }

/* Narrow screens: one column, portrait leads, the decorative asides step back */
@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: 1.5rem 2.25rem; }
  .hero__grid { display: block; min-height: 0; }
  .hero__portrait {
    position: relative;
    inset: auto;
    transform: none;
    /* The desktop rule centres with `translate`; here `margin: auto` does it,
       so the -50% shift has to be cleared or the cut-out slides off-canvas. */
    translate: none;
    width: min(92vw, 34rem);
    margin: clamp(-3.5rem, -7vw, -1.5rem) auto 0;
    display: block;
  }
  .hero__figure { position: absolute; inset: 9rem -20% auto 12%; height: 34rem; }
  .hero__swoosh { display: none; }
  .hero__pitch { padding-top: 1.75rem; }
  .hero__pitch { transform: none; }
  .hero__mobile-row {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(7rem, 0.7fr);
    align-items: start;
    gap: clamp(1rem, 6vw, 2rem);
  }
  .hero__mobile-row > * {
    grid-column: auto;
    grid-row: auto;
  }
  .hero__script {
    justify-self: end;
    margin: 2.15rem 0 0;
    rotate: -5deg;
    font-size: clamp(1.25rem, 6vw, 1.6rem);
  }
  .hero__socials {
    padding-top: 1.75rem;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    width: 100%;
    justify-self: stretch;
    transform: none;
  }
  .hero__socials::-webkit-scrollbar { display: none; }
  .hero__statement,
  .hero__values,
  .hero__thumbs { display: none; }
  .hero__foot p:last-child { text-align: left; }
  .hero__foot .hero__dash { margin-inline: 0; }
}

/* --- The Index — signature moment --------------------------------------- */

.index { position: relative; }

.index__list { border-top: 1px solid var(--rule); }

.index__row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.875rem, 2.5vw, 2rem);
  padding-block: clamp(1.125rem, 2.4vw, 1.75rem);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background var(--t-std) var(--ease);
}
/* The indent is a transform on the contents, not padding on the row: padding
   would re-lay-out twelve rows on every hover. */
.index__row > * { transition: transform var(--t-std) var(--ease); }
.index__row:hover > *,
.index__row:focus-visible > *,
.index__row.is-active > * { transform: translateX(clamp(0.5rem, 1.4vw, 1.125rem)); }
.index__row::before {
  content: "";
  position: absolute; left: 0; top: -1px; bottom: -1px;
  width: 2px; background: var(--brand);
  transform: scaleY(0); transform-origin: center;
  transition: transform var(--t-std) var(--ease);
}
/* The active row flips to the brand's pink surface with crimson type — the
   same move the reference site makes, translated into a square field. */
.index__row:hover, .index__row:focus-visible, .index__row.is-active {
  background: var(--blush);
  color: var(--brand-deep);
}
.index__row:hover .index__tag,
.index__row:focus-visible .index__tag,
.index__row.is-active .index__tag { color: #7C4150; }
.index__row:hover .index__year,
.index__row:focus-visible .index__year,
.index__row.is-active .index__year { color: var(--brand-deep); }
.index__row:hover::before, .index__row:focus-visible::before, .index__row.is-active::before { transform: scaleY(1); }

.index__no {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  transition: color var(--t-micro) var(--ease);
}
.index__row:hover .index__no, .index__row.is-active .index__no { color: var(--brand-deep); }

.index__name {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 86%;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(1.375rem, 4.2vw, 2.875rem);
  text-wrap: balance;
}

.index__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.75rem;
  margin-top: 0.5rem;
}
.index__tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.index__tag + .index__tag::before { content: "·"; margin-right: 0.75rem; color: var(--rule); }

.index__year {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.index__arrow {
  width: 18px; height: 18px; flex: none;
  transform: translateX(-4px);
  opacity: 0;
  transition: transform var(--t-std) var(--ease), opacity var(--t-std) var(--ease);
}
.index__row:hover .index__arrow, .index__row:focus-visible .index__arrow, .index__row.is-active .index__arrow {
  transform: translateX(0); opacity: 1;
}
@media (max-width: 48rem) { .index__year span { display: none; } }

/* Once each row carries its own thumbnail the row is tall, so the number and
   arrow must sit with the title rather than float at the vertical centre. */
@media (max-width: 64rem), (pointer: coarse) {
  .index__row { align-items: start; }
  .index__no, .index__year { padding-top: 0.35rem; }
  .index__arrow { opacity: 1; transform: none; }
}

/* The gate — one authored moment */
.gate {
  position: fixed;
  /* Without these the box keeps its static position and the translate below
     offsets from there, dropping the gate hundreds of pixels down the page. */
  top: 0;
  left: 0;
  z-index: 5;
  width: clamp(16rem, 22vw, 23rem);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 480ms var(--ease),
              opacity 200ms var(--ease),
              transform 600ms var(--ease-soft);
  will-change: clip-path, transform;
  border: 1px solid var(--brand);
}
.gate.is-open { opacity: 1; clip-path: inset(0 0 0 0); }

.gate img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: blur(6px);
  transition: transform 900ms var(--ease-soft), filter 560ms var(--ease);
}
.gate.is-open img { transform: scale(1); filter: blur(0); }

@media (max-width: 64rem), (pointer: coarse) { .gate { display: none; } }

/* Mobile: each row carries its own thumbnail instead of the gate */
.index__thumb {
  display: none;
  grid-column: 1 / -1;
  margin-top: 0.875rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.index__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 64rem), (pointer: coarse) { .index__thumb { display: block; } }

/* Work with results worth stating but no gallery of its own. */
.also__title { margin-top: clamp(3rem, 6vw, 4.5rem); }
.also {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.also__item {
  background: var(--ground);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  transition: background var(--t-std) var(--ease);
}
.also__item:hover { background: var(--raised); }
.also__item h4 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.also__item .meta { margin-bottom: 0.75rem; }
.also__item p:last-child { font-size: 0.9375rem; line-height: 1.55; color: var(--fg-dim); }
.also__item strong { color: var(--mark); font-weight: 600; }

.lightbox__inner { max-width: var(--max); margin-inline: auto; }
.lightbox__result {
  max-width: 68ch;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  padding-left: 1rem;
  border-left: 1px solid var(--brand);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dim-on-ink);
}

/* --- Frames strip ------------------------------------------------------- */

.frames {
  padding-block: clamp(3rem, 7vw, 6rem);
  overflow: clip;
  position: relative;
}

.frames__viewport { overflow: clip; }

.frames__track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: slide 64s linear infinite;
}
.frames:hover .frames__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Once main.js drives the strip it owns the transform outright, so the CSS
   animation steps aside. Without JS the keyframes above still carry it. */
.frames__track.is-driven { animation: none; }

.frames__item {
  position: relative;
  width: clamp(13rem, 21vw, 21rem);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--ink-line);
}
.frames__item:nth-child(3n)   { aspect-ratio: 4 / 5; align-self: flex-start; }
.frames__item:nth-child(4n+1) { aspect-ratio: 5 / 6; align-self: flex-end; }

.frames__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-soft), filter var(--t-std) var(--ease);
  filter: saturate(0.92);
}
.frames__item:hover img { transform: scale(1.04); filter: saturate(1.05); }

.frames__cap {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  border-right: 1px solid var(--ink-line);
  padding: 0.3125rem 0.625rem;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim-on-ink);
}

/* Manual speed controls — pointer devices only, where a hover-paused strip
   already invites you to take hold of it. */
.frames__controls {
  display: none;
  gap: 0.5rem;
  justify-content: flex-end;
  max-width: var(--max);
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  padding-inline: var(--gutter);
}
@media (hover: hover) and (pointer: fine) and (min-width: 48rem) {
  .frames__controls { display: flex; }
}

.frames__control {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--paper);
  background: transparent;
  transition: background var(--t-micro) var(--ease),
              border-color var(--t-micro) var(--ease),
              color var(--t-micro) var(--ease),
              transform var(--t-micro) var(--ease);
}
.frames__control svg { width: 18px; height: 18px; }
.frames__control:hover {
  background: var(--brand-solid);
  border-color: var(--brand-solid);
  color: #fff;
}
.frames__control:active { transform: scale(0.94); }
.frames__control[data-frames-shift="-1"]:hover { transform: translateX(-2px); }
.frames__control[data-frames-shift="1"]:hover  { transform: translateX(2px); }

@media (prefers-reduced-motion: reduce) {
  .frames__controls { display: none; }
}

/* --- Services — ledger, not cards --------------------------------------- */

.ledger { border-top: 1px solid var(--rule); }

.ledger__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 52rem) {
  .ledger__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
}

.ledger__title {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.ledger__icon {
  width: 30px; height: 30px; flex: none;
  color: var(--mark);
  margin-top: 0.15rem;
}
.ledger__title h3 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 88%;
  letter-spacing: -0.02em;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.1;
}

.ledger__items {
  display: grid;
  gap: 0.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.ledger__items li {
  display: flex;
  gap: 0.625rem;
  align-items: baseline;
  font-size: 0.9375rem;
  color: var(--fg-dim);
}
.ledger__items li::before {
  content: "";
  width: 10px; height: 1px; flex: none;
  background: var(--mark);
  transform: translateY(-0.3em);
}


/* --- Services geometry: a slow weave moving under the pink -------------- */

.services { position: relative; overflow: clip; }
.services > .wrap { position: relative; z-index: 1; }

.services__geometry {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Two dot fields at different scales, drifting in opposite directions. Each
   shifts by exactly one tile, so the loop is seamless and nothing ever jumps.
   No crossing rulings — those read as an X over the whole section. */
.services__geometry::before,
.services__geometry::after {
  content: "";
  position: absolute;
  inset: -20%;
}
.services__geometry::before {
  background-image: radial-gradient(circle, rgba(176, 16, 56, 0.20) 1.5px, transparent 1.6px);
  background-size: 34px 34px;
  animation: dots-near 26s linear infinite;
}
.services__geometry::after {
  background-image: radial-gradient(circle, rgba(17, 17, 20, 0.10) 1.1px, transparent 1.2px);
  background-size: 73px 73px;
  background-position: 18px 11px;
  animation: dots-far 44s linear infinite;
}
@keyframes dots-near { to { translate: 0 34px; } }
@keyframes dots-far  { to { translate: 0 -73px; } }

.services__geometry svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.services__route {
  fill: none;
  stroke: rgba(176, 16, 56, 0.20);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 300 2200;
  animation: route-run 26s linear infinite;
}
.services__route--two   { stroke: rgba(17, 17, 20, 0.13); animation-duration: 34s; animation-delay: -11s; }
.services__route--three { stroke: rgba(176, 16, 56, 0.13); animation-duration: 42s; animation-delay: -21s; }
@keyframes route-run {
  from { stroke-dashoffset: 2500; }
  to   { stroke-dashoffset: 0; }
}

.services__orbit {
  fill: none;
  stroke: rgba(176, 16, 56, 0.16);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: orbit-pulse 18s var(--ease-soft) infinite;
}
.services__orbit--two {
  stroke: rgba(17, 17, 20, 0.09);
  animation-duration: 25s;
  animation-delay: -9s;
}
@keyframes orbit-pulse {
  0%, 100% { scale: 1;    opacity: 0.45; }
  50%      { scale: 1.08; opacity: 1; }
}

.services__coordinate {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(176, 16, 56, 0.42);
  animation: coord-drift 20s var(--ease-soft) infinite;
}
.services__coordinate--one {
  left: 0.6%;
  top: 38%;
  rotate: -90deg;
  transform-origin: left center;
}
.services__coordinate--two {
  right: 0.6%;
  bottom: 26%;
  rotate: 90deg;
  transform-origin: right center;
  animation-duration: 27s;
  animation-delay: -10s;
}
@media (max-width: 64rem) { .services__coordinate { display: none; } }
@keyframes coord-drift {
  0%, 100% { translate: 0 0;     opacity: 0.45; }
  50%      { translate: 0 -18px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .services__geometry::before,
  .services__geometry::after,
  .services__route,
  .services__orbit,
  .services__coordinate { animation: none; }
  .services__route { stroke-dasharray: none; }
}

/* --- Process — call sheet strip ----------------------------------------- */

/* Flex, not grid: seven steps is an odd number, and flex lets the final row
   stretch to fill instead of leaving an orphan against empty cells. */
.process {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--rule);
  border-bottom: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.process__step {
  flex: 1 1 9.5rem;
  min-width: 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: clamp(1.125rem, 2vw, 1.75rem);
  position: relative;
  transition: background var(--t-std) var(--ease);
}
.process__step:hover { background: var(--raised); }
.process__step::after {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px;
  height: 2px; background: var(--mark);
  transform: scaleX(0); transform-origin: left;
  transition: transform 420ms var(--ease);
}
.process__step:hover::after { transform: scaleX(1); }
.process__no {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--mark);
}
.process__step h3 {
  margin-top: 0.625rem;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 90%;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

/* --- About -------------------------------------------------------------- */

.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 64rem) {
  .about__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}

.portrait {
  position: relative;
  border: 1px solid var(--paper-line);
  padding: 10px;
  background: var(--paper-sunk);
  align-self: start;
}
.portrait::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid color-mix(in srgb, var(--brand-deep) 30%, transparent);
  pointer-events: none;
}
.portrait__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-sunk);
  position: relative;
}
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }

.portrait__plate {
  border-top: 1px solid var(--paper-line);
  margin-top: 10px;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1rem;
}
@media (max-width: 34rem) { .portrait__plate { display: block; } }
.portrait__plate strong {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.375rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--fg);
  max-width: 22ch;
  margin-block: clamp(1.75rem, 3vw, 2.5rem);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid var(--mark);
}

/* --- Team & kit --------------------------------------------------------- */

.kit {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--rule);
}
@media (min-width: 40rem) { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.kit__col h3 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mark);
  margin-bottom: 0.875rem;
}
.kit__col ul { display: grid; gap: 0.4375rem; }
.kit__col li {
  display: flex;
  gap: 0.625rem;
  align-items: baseline;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--fg-dim);
}
.kit__col li::before {
  content: "";
  width: 8px; height: 1px; flex: none;
  background: var(--rule);
  transform: translateY(-0.3em);
}
.kit__col > p {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--fg-dim);
  font-style: italic;
}

/* --- Studio — one full-page, typography-led editorial composition ------- */

.studio {
  min-height: calc(100svh - 5.75rem);
  scroll-margin-top: 5.75rem;
  overflow: clip;
}
.studio__canvas {
  min-height: inherit;
  padding-block: clamp(2.5rem, 5vw, 4.75rem);
}
.studio__mast {
  display: grid;
  gap: 1.25rem clamp(2rem, 7vw, 7rem);
  align-items: end;
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
@media (min-width: 60rem) {
  .studio__mast { grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.5fr); }
}
.studio__title {
  font-family: var(--display);
  font-size: clamp(3.75rem, 8.3vw, 7.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.75;
  text-transform: uppercase;
}
.studio__title span, .studio__title em { display: block; }
.studio__title em {
  color: var(--brand);
  font-family: var(--didone);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.studio__intro {
  max-width: 37ch;
  padding-bottom: 0.25rem;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--dim-on-paper);
}

.studio__stage {
  display: grid;
  border: 1px solid var(--paper-line);
}
@media (min-width: 64rem) {
  .studio__stage { grid-template-columns: minmax(0, 0.82fr) minmax(30rem, 1.18fr); }
}
.studio__statement {
  min-height: clamp(26rem, 40vw, 38rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--ink);
  color: var(--paper);
}
.studio__statement::after {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 1px solid var(--ink-line);
  pointer-events: none;
}
.studio__poster-word {
  position: absolute;
  left: -0.04em;
  bottom: 0.03em;
  z-index: 0;
  font-family: var(--didone);
  font-size: clamp(6rem, 12.5vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.72;
  white-space: nowrap;
  color: color-mix(in srgb, var(--brand) 24%, transparent);
  pointer-events: none;
  user-select: none;
}
.studio__stamp,
.studio__credit {
  position: relative;
  z-index: 1;
}
.studio__stamp {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: clamp(0.7rem, 0.8vw, 0.8125rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-on-ink);
}
.studio__manifesto {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4.25vw, 4.8rem);
  font-style: italic;
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.studio__credit {
  display: grid;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.9rem 1rem;
  background: var(--paper);
  color: var(--ink);
}
.studio__credit strong { font-size: clamp(1.05rem, 1.2vw, 1.25rem); line-height: 1.1; }
.studio__credit span {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim-on-paper);
}

.studio__story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 4.5rem);
  background: var(--blush);
  color: var(--ink);
}
.studio__copy {
  max-width: 68ch;
  font-size: clamp(1.075rem, 1.25vw, 1.25rem);
  line-height: 1.62;
  color: #5f424a;
}
.studio__copy p + p { margin-top: 1.15em; }
.studio__copy strong { color: var(--ink); font-weight: 650; }
.studio__facts {
  display: grid;
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  background: var(--blush-line);
  border: 1px solid var(--blush-line);
}
@media (min-width: 34rem) { .studio__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.studio__facts div { padding: clamp(1rem, 2vw, 1.5rem); background: var(--blush); }
.studio__facts dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #76555e;
}
.studio__facts dd {
  margin-top: 0.5rem;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 650;
  line-height: 1.25;
}

.studio .record {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  border-top: 0;
  background: var(--paper-line);
  border-color: var(--paper-line);
}
@media (min-width: 64rem) { .studio .record { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.studio .record__cell {
  min-height: clamp(9.5rem, 12vw, 12rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  background: var(--paper);
}
.studio .record__fig {
  font-family: var(--didone);
  font-size: clamp(4rem, 7.5vw, 7.5rem);
  font-weight: 900;
  line-height: 0.72;
  color: var(--brand-deep);
}
.studio .record__cell > p:last-child {
  margin-top: 1.25rem;
  font-size: clamp(0.95rem, 1vw, 1.0625rem);
  color: var(--dim-on-paper);
}
.studio__details {
  display: grid;
  border-inline: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
@media (min-width: 48rem) {
  .studio__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio__details > div + div { border-left: 1px solid var(--paper-line); }
}
.studio__details > div { padding: clamp(1.75rem, 3vw, 3rem); }
.studio__details h3 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
}
.studio__details p {
  max-width: 58ch;
  margin-top: 1rem;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  color: var(--dim-on-paper);
}
.studio__details small {
  display: block;
  margin-top: 0.75rem;
  color: var(--brand-deep);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.studio__note {
  max-width: none;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(0rem, 1vw, 1rem) 0;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
}
.studio__note strong {
  font-family: var(--didone);
  font-size: 1.35em;
  font-weight: 800;
  color: var(--brand-deep);
}

@media (max-width: 47.99rem) {
  .studio__title { font-size: clamp(3.25rem, 17vw, 5.5rem); }
  .studio__statement { min-height: 30rem; }
  .studio .record { grid-template-columns: 1fr; }
  .studio__details > div + div { border-top: 1px solid var(--paper-line); }
}

/* --- Sectors ------------------------------------------------------------ */

/* Twelve sectors: 1, 2, 3 and 4 columns all divide evenly, so pinning the
   count per breakpoint means the grid never ends on a short row. */
.sectors {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 34rem) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 52rem) { .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sector {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(1.125rem, 2vw, 1.5rem);
  transition: background var(--t-std) var(--ease);
}
.sector:hover { background: var(--raised); }
.sector h3 {
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 90%;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.sector p { margin-top: 0.4375rem; font-size: 0.875rem; line-height: 1.5; color: var(--fg-dim); }

/* --- Clients marquee ---------------------------------------------------- */

.clients { overflow: clip; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.clients__track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: max-content;
  animation: slide 48s linear infinite;
}
.clients:hover .clients__track { animation-play-state: paused; }
.clients__name {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 78%;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--fg-dim);
  transition: color var(--t-micro) var(--ease);
}
.clients__name:hover { color: var(--fg); }
.clients__sep { width: 5px; height: 5px; flex: none; background: var(--mark); transform: rotate(45deg); }

/* --- Track record — ledger line, not metric boxes ----------------------- */

/* Flex so a wrapped row stretches to fill rather than leaving a bare cell of
   the hairline colour showing through. */
/* Four figures: 2×2, or a single row once there is room. Never 3 + 1. */
.record {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 88rem) { .record { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.record__cell {
  background: var(--ground);
  padding: clamp(1.25rem, 2.5vw, 1.875rem);
}
.record__fig {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--fg);
}
.record__fig sup { font-size: 0.42em; vertical-align: super; color: var(--mark); letter-spacing: 0; }
.record__cell p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--fg-dim); line-height: 1.4; }

.record__note {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--fg-dim);
  max-width: 62ch;
}
.record__note strong { color: var(--fg); font-weight: 600; }

/* --- Contact ------------------------------------------------------------ */

.contact { padding-block: clamp(4rem, 9vw, 8rem); }
.contact__title { color: var(--fg); }
.contact__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 60rem) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.contact__list { border-top: 1px solid var(--rule); }
.contact__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.125rem;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background var(--t-std) var(--ease);
}
.contact__item > * { transition: transform var(--t-std) var(--ease); }
a.contact__item:hover, a.contact__item:focus-visible { background: var(--raised); }
a.contact__item:hover > *,
a.contact__item:focus-visible > * { transform: translateX(0.625rem); }
a.contact__item:hover > .contact__value,
a.contact__item:focus-visible > .contact__value { transform: translateX(-0.625rem); }
.contact__label { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); flex: none; }
.contact__value {
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 88%;
  font-size: clamp(1rem, 2vw, 1.375rem);
  letter-spacing: -0.015em;
  text-align: right;
  overflow-wrap: anywhere;
}

/* --- Footer ------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--ink-line);
  padding-block: 2rem;
}
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --- Reveal: content rises up from under the page ----------------------- */

/* Reveals move, they do not fade. Text that animates its opacity spends half a
   second at a contrast ratio it never actually ships at, and any hiccup in the
   observer leaves it invisible. A transform cannot do either. */
.js [data-reveal] {
  transform: translateY(46px) scale(0.988);
  transition: transform 720ms var(--ease);
}
.js [data-reveal].is-in { transform: none; }

.js [data-reveal-stagger] > * {
  transform: translateY(38px) scale(0.99);
  transition: transform 720ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal-stagger].is-in > * { transform: none; }

/* Headings climb out from behind a clipped edge, which is the "from under the
   page" gesture proper. clip-path cannot strand text the way opacity can. */
.js [data-rise] {
  clip-path: inset(0 0 108% 0);
  transform: translateY(52px);
  transition: clip-path 860ms var(--ease), transform 860ms var(--ease);
}
.js [data-rise].is-in {
  clip-path: inset(0 0 -30% 0);
  transform: none;
}

/* The hero photograph is the one block that fades, because it has no text. */
.js [data-reveal="frame"] { opacity: 0; transition: opacity var(--t-enter) var(--ease), transform 720ms var(--ease); }
.js [data-reveal="frame"].is-in { opacity: 1; }

/* --- Lightbox ----------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: color-mix(in srgb, #06060A 94%, transparent);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-std) var(--ease);
}
/* Closed state uses `inert` (set in JS) rather than visibility: a transitioned
   visibility is still `hidden` on the frame the class lands, which silently
   swallows the .focus() call that should move focus into the dialog. */
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox[inert] { opacity: 0; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem var(--gutter);
  border-bottom: 1px solid var(--ink-line);
}
.lightbox__title {
  font-size: clamp(1.125rem, 2.4vw, 1.625rem);
  line-height: 1.1;          /* display leading of 0.88 crops ascenders here */
  margin-bottom: 0.25rem;
}
.lightbox__hint {
  padding: 0.875rem var(--gutter);
  border-top: 1px solid var(--ink-line);
}
.lightbox__close {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--ink-line);
  color: var(--paper);
  transition: background var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease);
}
.lightbox__close:hover { background: var(--ink-raised); border-color: var(--dim-on-ink); }

.lightbox__body {
  overflow-y: auto;
  padding: clamp(1rem, 3vw, 2.5rem) var(--gutter);
}
.lightbox__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 10px;
}
.lightbox__grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--ink-line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.lightbox.is-open .lightbox__grid img { opacity: 1; transform: none; }

body.is-locked { overflow: hidden; }

/* --- Reduced motion ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .js [data-rise],
  .js [data-reveal="frame"],
  .js [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .gate { clip-path: inset(0 0 0 0); }
  .gate img { filter: none; transform: none; }
  .frames__track, .clients__track { animation: none; }
  .frames__track { flex-wrap: wrap; width: 100%; justify-content: center; }
  .clients__track { flex-wrap: wrap; width: 100%; }
  .hero__stage img.is-live { transform: none; }
}

/* --- Print -------------------------------------------------------------- */

@media print {
  .masthead, .gate, .frames, .clients, .cta { display: none !important; }
  body { background: #fff; color: #000; }
  .field { background: #fff !important; color: #000 !important; }
}
