/* =========================================================
   madebyzoosh — shared styles
   Layout idea: a bright white gallery wall with a couple of
   black "cinema" bands. Big confident type, and the colour
   comes from the photos and videos.
   Change the brand colours and fonts here and every page follows.
   ========================================================= */

:root {
  /* Base */
  --white: #ffffff;
  --paper: #fafaf7;          /* soft off-white panels */
  --ink: #111111;            /* main text */
  --ink-soft: #6b6b6b;       /* secondary text */
  --line: #e9e8e2;           /* hairlines and borders */

  /* Dark bands */
  --night: #0b0b0b;
  --night-2: #161616;
  --night-text: #f4f4f1;
  --night-soft: #a3a3a3;     /* secondary text on black (7:1+) */
  --night-line: #2a2a2a;

  /* Brand accent. Three options taken from the photos, switched with
     data-brand on <html>. "stage" is the default.
       --brand       buttons and strong details
       --on-brand    text on top of --brand
       --brand-soft  highlighter, tags, hover tints (never body text)
       --brand-ink   readable text colour on --brand-soft */
  --brand: #c63a23;          /* stage red, from the theatre lights */
  --on-brand: #ffffff;
  --brand-hover: #a92f1b;
  --brand-soft: #f7d9d1;
  --brand-ink: #7a2213;

  /* Per-page / per-project accent. Each gallery overrides this
     with a colour picked from its own photos. */
  --accent: var(--brand);

  /* Type */
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-tall: "Anton", "Impact", "Arial Narrow", sans-serif;   /* giant section words */

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --step-3: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  --step-tall: clamp(3.6rem, 1rem + 11vw, 12rem);
  --step-wordmark: clamp(3.4rem, 14.2vw, 15rem);

  /* Space and shape */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --radius: 18px;
  --radius-sm: 10px;

  /* Motion: soft, unhurried */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-film: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
}

html[data-brand="lake"] {
  --brand: #256972; --on-brand: #ffffff; --brand-hover: #1b525a;
  --brand-soft: #d4ebe8; --brand-ink: #174a51;
}
html[data-brand="tungsten"] {
  --brand: #e3a63a; --on-brand: #111111; --brand-hover: #cf9227;
  --brand-soft: #f8e8c6; --brand-ink: #6b4708;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }
button { touch-action: manipulation; }

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.band :focus-visible, .hero-frame :focus-visible { outline-color: var(--white); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Labels and tags ---------- */

.label {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.band .label { color: var(--night-soft); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink);
}

.idx {
  font: 500 0.875rem/1 var(--font-body);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

/* Giant condensed words: THEATRE, ON SET ... */
.tall {
  margin: 0;
  font-family: var(--font-tall);
  font-weight: 400;
  font-size: var(--step-tall);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  --btn-hover: var(--brand-hover);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), box-shadow 0.5s var(--ease), color 0.4s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); background: var(--btn-hover); box-shadow: 0 10px 30px -12px rgba(17,17,17,0.45); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--soft { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-ink); --btn-hover: var(--brand-soft); }
.btn--soft:hover { box-shadow: inset 0 0 0 1.5px var(--brand-ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-hover: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-hover: var(--brand-soft); }
.band .btn--ghost { --btn-fg: var(--night-text); --btn-hover: var(--night-text); box-shadow: inset 0 0 0 1.5px var(--night-text); }
.band .btn--ghost:hover { color: var(--night); }
.btn--big { min-height: 64px; padding: 0 32px; font-size: 1.125rem; }
.btn--huge { min-height: 80px; padding: 0 40px; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); }

/* Highlighter-style text link */
.text-link {
  text-decoration: none;
  background-image: linear-gradient(var(--brand-soft), var(--brand-soft));
  background-size: 100% 0.32em;
  background-position: 0 88%;
  background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease);
}
.text-link:hover { background-size: 100% 88%; }

/* Bracket link, from the "[BROWSE GALLERY]" reference */
.bracket-link {
  font: 500 0.875rem/1 var(--font-body);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.bracket-link::before { content: "["; margin-right: 2px; }
.bracket-link::after { content: "]"; margin-left: 2px; }
.bracket-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.band .bracket-link { color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.04em;
  text-decoration: none;
}
.logo span { color: var(--ink-soft); font-weight: 500; }

.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a {
  font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  background-image: linear-gradient(var(--brand-soft), var(--brand-soft));
  background-size: 0% 0.4em; background-position: 0 90%; background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 0.4em; }

.menu-btn {
  display: none;
  border: 0; background: var(--paper); border-radius: 999px;
  min-height: 44px; padding: 0 18px; font: 600 0.9375rem var(--font-body); color: var(--ink);
  cursor: pointer; align-items: center;
}

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 60;
    background: var(--white);
    padding: calc(env(safe-area-inset-top, 0px) + 88px) var(--gutter) 40px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav a {
    display: inline-block;
    font-family: var(--font-tall); font-weight: 400; font-size: 3.2rem; line-height: 1.05;
    text-transform: uppercase;
    transform: translateY(18px); opacity: 0;
    transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), background-size 0.5s var(--ease);
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a { transform: none; opacity: 1; }
  .menu-open .nav li:nth-child(2) a { transition-delay: 0.05s; }
  .menu-open .nav li:nth-child(3) a { transition-delay: 0.1s; }
  .menu-open .nav li:nth-child(4) a { transition-delay: 0.15s; }
  .menu-open .nav li:nth-child(5) a { transition-delay: 0.2s; }
  .menu-open .menu-btn { position: relative; z-index: 70; }
  .menu-open .logo { position: relative; z-index: 70; }
}

/* ---------- Home hero ---------- */

.hero { padding-block: clamp(8px, 1.4vw, 20px) clamp(48px, 7vw, 96px); }

.hero-frame {
  position: relative;
  min-height: min(80vh, 860px);
  min-height: min(80dvh, 860px);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
  display: grid;
  align-items: start;   /* title sits at the top so the people in the clip stay visible */
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  animation: settle 2.4s var(--ease) both;
}
.hero-clip {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1s var(--ease-film), transform 4s linear;
}
.hero-clip.is-active { opacity: 1; transform: scale(1); }
@keyframes settle { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.14) 38%, rgba(0,0,0,0) 60%);
}

.hero-content {
  padding: clamp(16px, 2.6vw, 36px) clamp(14px, 2.2vw, 30px);
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-wordmark);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.065em;
  white-space: nowrap;
  display: flex;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero .wordmark {
  font-size: min(15vw, 16rem);
  justify-content: center;       /* centred in the frame */
  padding-bottom: 0.2em;         /* room for the tail of the "y" */
  margin-bottom: -0.07em;        /* keeps the tagline close, just clear of the tail */
}
/* size the wordmark from the frame's own width so it never runs past the edge */
.hero-content { container-type: inline-size; }
@supports (font-size: 1cqi) { .hero .wordmark { font-size: 17cqi; } }
.wordmark .ch {
  display: inline-block;
  animation: rise 1.25s var(--ease) both;
  animation-delay: calc(var(--i) * 45ms + 260ms);
}
.wordmark .ch--soft { opacity: 0.72; font-weight: 500; }

@keyframes rise {
  from { transform: translateY(105%); }
  to   { transform: none; }
}

.hero-tagline {
  margin: 10px 0 0;
  font: 500 0.9375rem/1.4 var(--font-body);
  letter-spacing: 0.02em;
}

/* Small crossfading card that sits on the video, like the reference */
.hero-card {
  position: absolute;
  top: clamp(14px, 2.2vw, 30px); right: clamp(14px, 2.2vw, 30px);
  width: clamp(150px, 17vw, 250px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
  isolation: isolate;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s var(--ease-film);
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide > img, .slide > video, .slide > .ph {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
  transition: transform 7s linear;
}
.slide.is-active > img, .slide.is-active > video, .slide.is-active > .ph { transform: scale(1); }
.hero-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0) 45%);
  pointer-events: none;
}

.now-showing {
  position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3;
  margin: 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
}
.now-showing .dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--slide-accent, var(--brand));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--slide-accent, var(--brand)) 35%, transparent);
  transition: background-color 1s var(--ease);
}
.now-showing .caption { transition: opacity 0.5s var(--ease); }

.slide-progress {
  position: absolute; left: 12px; right: 12px; top: 8px; z-index: 3;
  display: flex; gap: 4px;
}
.slide-progress button {
  flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.slide-progress button::before,
.slide-progress button::after {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 3px;
}
.slide-progress button::before { background: rgba(255,255,255,0.38); }
.slide-progress button::after {
  background: var(--white);
  transform: scaleX(0); transform-origin: left;
}
.slide-progress button.is-done::after { transform: scaleX(1); }
.slide-progress button.is-active::after { animation: fill var(--slide-ms, 5200ms) linear forwards; }
.is-paused .slide-progress button.is-active::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* Pause control for the moving hero (WCAG 2.2.2) */
.motion-toggle {
  position: absolute; bottom: clamp(12px, 2vw, 20px); right: clamp(12px, 2vw, 20px); z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px 0 12px; border: 0; border-radius: 999px;
  background: rgba(17,17,17,0.45); color: var(--white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 600 0.8125rem var(--font-body); cursor: pointer;
  transition: background-color 0.3s;
}
.motion-toggle:hover { background: rgba(17,17,17,0.7); }
.motion-toggle svg { width: 14px; height: 14px; }
.motion-toggle .i-play { display: none; }
.is-paused .motion-toggle .i-play { display: block; }
.is-paused .motion-toggle .i-pause { display: none; }

.hero-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 20px clamp(24px, 5vw, 80px);
  padding-top: clamp(20px, 3vw, 36px);
}
.hero-bar .intro {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 36ch;
  text-wrap: pretty;
}
.hero-bar .intro strong { font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 860px) {
  .hero-frame { min-height: 0; aspect-ratio: 4 / 5; }
  .hero-card { width: 36vw; max-width: 180px; }
  .hero-bar { grid-template-columns: 1fr; }
}

/* ---------- Placeholder media (delete once real media is in) ---------- */

.ph {
  position: relative;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: var(--ph, linear-gradient(135deg, #e7e6e0, #f4f3ee));
  color: rgba(255,255,255,0.92);
}
.ph::after {
  content: attr(data-label);
  font: 600 0.72rem/1.3 var(--font-body);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; padding: 8px 12px; max-width: 80%;
  border: 1px dashed rgba(255,255,255,0.7); border-radius: 8px;
}
.ph--light { color: var(--ink-soft); }
.ph--light::after { border-color: #cfcdc4; }
.ph--moving { background-size: 220% 220%; animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 48px);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-3); font-weight: 700;
  letter-spacing: -0.045em; line-height: 0.98;
  text-wrap: balance;
}

/* Black "cinema" band */
.band {
  background: var(--night);
  color: var(--night-text);
  --line: var(--night-line);
}
.band p { color: var(--night-soft); }

/* Approach statement */
.approach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 24px clamp(24px, 5vw, 80px);
  align-items: start;
}
.approach p.big {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: pretty;
  max-width: 34ch;
}
mark {
  background: linear-gradient(transparent 58%, var(--brand-soft) 58%);
  color: inherit; padding: 0 2px;
}

/* Word marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(14px, 2vw, 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-track span {
  font-family: var(--font-tall);
  font-size: clamp(2.2rem, 1.2rem + 4vw, 4.75rem);
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
  padding-inline: clamp(14px, 2vw, 28px);
  display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 28px);
}
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee-track span::after {
  content: ""; width: 0.28em; height: 0.28em; border-radius: 50%;
  background: var(--brand);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services list (black band, hover shows a photo) ---------- */

.services-head { text-align: center; margin-bottom: clamp(32px, 5vw, 64px); }
.services-head .tall { font-size: clamp(3rem, 1rem + 8vw, 9rem); }
.services-head p { margin: 14px auto 0; max-width: 46ch; }
.services-head .label { margin: 0 auto clamp(16px, 2vw, 28px); max-width: none; }

.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--night-line); }
.service { border-bottom: 1px solid var(--night-line); }
.service a {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 8px clamp(16px, 3vw, 40px);
  padding-block: clamp(18px, 2.4vw, 30px);
  text-decoration: none;
  color: var(--night-text);
}
.service:nth-child(even) a { padding-left: clamp(0px, 8vw, 140px); }
.service .idx { color: var(--night-soft); align-self: start; padding-top: 0.6em; }
.service h3 {
  margin: 0;
  font-family: var(--font-tall); font-weight: 400;
  font-size: clamp(2.4rem, 1rem + 5.4vw, 6.4rem);
  line-height: 0.95; text-transform: uppercase;
  transition: color 0.5s var(--ease), transform 0.7s var(--ease);
}
.service p { margin: 0; max-width: 34ch; font-size: 0.9375rem; line-height: 1.5; }
.service a:hover h3, .service a:focus-visible h3 { color: var(--s-accent, var(--brand)); transform: translateX(10px); }
.service .thumb { display: none; }

@media (max-width: 760px) {
  .service a { grid-template-columns: 2.2rem minmax(0, 1fr) 76px; }
  .service:nth-child(even) a { padding-left: 0; }
  .service p { grid-column: 2 / 3; }
  .service .thumb {
    display: block; grid-column: 3; grid-row: 1 / span 2;
    width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px;
  }
}

/* Floating preview that follows the pointer */
.service-preview {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: clamp(200px, 20vw, 300px); aspect-ratio: 4 / 5;
  border: 6px solid var(--white); border-radius: 6px;
  overflow: hidden; pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  background: var(--night-2);
}
.service-preview.is-on { opacity: 1; }
.service-preview img { width: 100%; height: 100%; object-fit: cover; }
.service-preview::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  background:
    linear-gradient(#fff, #fff) 0 0 / 9px 1.5px,
    linear-gradient(#fff, #fff) 0 0 / 1.5px 9px,
    linear-gradient(#fff, #fff) 100% 0 / 9px 1.5px,
    linear-gradient(#fff, #fff) 100% 0 / 1.5px 9px,
    linear-gradient(#fff, #fff) 0 100% / 9px 1.5px,
    linear-gradient(#fff, #fff) 0 100% / 1.5px 9px,
    linear-gradient(#fff, #fff) 100% 100% / 9px 1.5px,
    linear-gradient(#fff, #fff) 100% 100% / 1.5px 9px;
  background-repeat: no-repeat;
}

/* ---------- Featured work grid ---------- */

.work-grid {
  display: grid;
  gap: clamp(10px, 1.4vw, 18px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "theatre theatre reel"
    "music   wedding reel"
    "onset   onset   onset";
}
.card--theatre { grid-area: theatre; aspect-ratio: 16 / 9; }
.card--reel    { grid-area: reel; }
.card--music   { grid-area: music; aspect-ratio: 9 / 8; }
.card--wedding { grid-area: wedding; }
.card--onset   { grid-area: onset; aspect-ratio: 3.4 / 1; }

@media (max-width: 700px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "theatre theatre"
      "reel    music"
      "reel    wedding"
      "onset   onset";
  }
  .card--theatre { aspect-ratio: 4 / 3; }
  .card--onset { aspect-ratio: 16 / 10; }
}

.card {
  position: relative;
  display: block;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  background: var(--night-2);
  isolation: isolate;
}
.card .media {
  position: absolute; inset: 0;
  transition: opacity 1.1s var(--ease-film), transform 1.6s var(--ease);
}
.card .media > * { width: 100%; height: 100%; object-fit: cover; }
.card .media--b { opacity: 0; transform: scale(1.06); }
.card:hover .media--b,
.card:focus-visible .media--b,
.card.is-swapped .media--b { opacity: 1; transform: scale(1); }
.card:hover .media--a,
.card.is-swapped .media--a { transform: scale(1.04); }

.card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,10,0.6) 100%);
  pointer-events: none;
}

.card-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: end; justify-content: space-between; gap: 12px;
  padding: clamp(14px, 1.6vw, 22px);
}
.card-info h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.75rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.05;
  text-wrap: balance;
}
.card-info .kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.card-info .kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.card-arrow {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  transform: translateX(-6px) rotate(-45deg); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.card-arrow svg { width: 18px; height: 18px; }
.card:hover .card-arrow, .card:focus-visible .card-arrow { transform: none; opacity: 1; }
@media (hover: none) { .card-arrow { opacity: 1; transform: none; } }

.play-badge {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--ink);
  transition: transform 0.6s var(--ease);
}
.play-badge svg { width: 22px; height: 22px; margin-left: 3px; }
.card:hover .play-badge { transform: scale(1.1); }

.reel-badge {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.reel-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e5484d;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat { padding: clamp(20px, 3vw, 36px) clamp(0px, 2vw, 28px) 0 0; display: grid; gap: 10px; align-content: start; }
.stat + .stat { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat .num {
  font-family: var(--font-tall);
  font-size: clamp(3rem, 1.6rem + 5vw, 6.5rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.stat .num small { font-family: var(--font-display); font-size: 0.32em; letter-spacing: -0.02em; font-weight: 600; margin-left: 6px; }
.stat p { margin: 0; color: var(--ink-soft); max-width: 28ch; }

@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Gallery wall (black band, dimmed photo grid) ---------- */

.wall {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 48px) 0;
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 112%; margin-left: -6%;
  padding-bottom: 12%;
}
.wall-grid img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px;
  filter: brightness(0.36) saturate(0.85);
  transition: filter 1.2s var(--ease);
}
.wall-grid img:nth-child(6n+2), .wall-grid img:nth-child(6n+5) { transform: translateY(18%); }
.wall-grid img.is-lit { filter: brightness(1) saturate(1.05); }
.wall-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-bottom: clamp(28px, 5vw, 64px);
  background: linear-gradient(0deg, rgba(11,11,11,0.94) 18%, rgba(11,11,11,0) 100%);
  padding-top: 160px;
}
.wall-copy h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 3.6vw, 4.25rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 0.98;
  text-transform: uppercase; max-width: 14ch;
}
@media (max-width: 700px) {
  .wall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 120%; margin-left: -10%; }
  .wall-grid img:nth-child(n+10) { display: none; }
  .wall-grid img:nth-child(6n+2), .wall-grid img:nth-child(6n+5) { transform: none; }
  .wall-grid img:nth-child(3n+2) { transform: translateY(14%); }
}

/* ---------- Worked with ---------- */

.logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos-track {
  display: flex; width: max-content; gap: clamp(12px, 2vw, 24px);
  animation: marquee 35s linear infinite;
  padding-right: clamp(12px, 2vw, 24px);
}
.logo-slot {
  display: grid; place-items: center;
  width: clamp(140px, 16vw, 200px); height: 88px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px dashed #d8d6cd;
  color: var(--ink-soft);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
/* Real logos in full colour. Each tile takes the logo's own background
   colour (--tile), so the logo sits on it with no visible box edge. */
.logo-item {
  display: grid; place-items: center; flex: none;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: var(--tile, var(--white));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.5s var(--ease);
}
.logo-item img { height: clamp(52px, 4.8vw, 66px); width: auto; max-width: clamp(150px, 15vw, 210px); object-fit: contain; }
.logo-item:hover { transform: translateY(-3px); }

/* ---------- Contact CTA ---------- */

.cta {
  background: var(--paper);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(28px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px clamp(24px, 5vw, 72px);
  align-items: end;
}
.cta h2 {
  margin: 14px 0 0;
  font-family: var(--font-tall); font-weight: 400;
  font-size: clamp(3rem, 1.4rem + 6vw, 7.5rem);
  line-height: 0.9; text-transform: uppercase;
  text-wrap: balance;
}
.cta-body { display: grid; gap: 22px; }
.cta-body p { margin: 0; font-size: 1.0625rem; max-width: 40ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.email-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: 0.9375rem; color: var(--ink-soft);
}
.email-row .addr { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.copy-btn {
  border: 0; border-radius: 999px; min-height: 36px; padding: 0 14px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font: 600 0.8125rem var(--font-body); color: var(--ink); cursor: pointer;
  transition: background-color 0.3s;
}
.copy-btn:hover { background: var(--brand-soft); }

/* ---------- Page heroes (inner pages) ---------- */

.page-hero { padding-block: clamp(28px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.page-hero .tall { overflow: hidden; padding-bottom: 0.04em; }
.page-hero .tall .line { display: block; animation: rise 1.2s var(--ease) both; animation-delay: 120ms; }
.page-hero .tall .line + .line { animation-delay: 220ms; }
.page-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(24px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(20px, 3vw, 36px);
}
.page-hero-row .lede {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 500;
  line-height: 1.25; letter-spacing: -0.025em;
  max-width: 34ch; text-wrap: pretty;
}
@media (max-width: 760px) { .page-hero-row { grid-template-columns: 1fr; } }

/* Category pills (sticky on the Photography page) */
.cat-nav {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 20;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}
.cat-nav ul {
  display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 0;
  overflow-x: auto; scrollbar-width: none;
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; white-space: nowrap; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cat-nav a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); }
.cat-nav a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.cat-nav a.is-current { background: var(--ink); color: var(--white); box-shadow: none; }

/* ---------- Galleries ---------- */

.gallery { scroll-margin-top: 130px; }
.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 12px clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 48px);
}
.gallery-head .tall { font-size: clamp(3.4rem, 1rem + 9vw, 10rem); }
.gallery-head .tall .idx { font-family: var(--font-body); font-size: 0.875rem; vertical-align: top; margin-right: 8px; letter-spacing: 0; }
.gallery-head p { margin: 0; max-width: 42ch; color: var(--ink-soft); }
.band .gallery-head p { color: var(--night-soft); }
.gallery-head .count { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--ink); font-weight: 600; }
.band .gallery-head .count { color: var(--night-text); }
@media (max-width: 760px) { .gallery-head { grid-template-columns: 1fr; } }

.sub-head {
  display: flex; align-items: baseline; gap: 14px;
  margin: clamp(32px, 5vw, 56px) 0 16px;
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; letter-spacing: -0.035em;
}
.sub-head:first-of-type { margin-top: 0; }
.sub-head::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: translateY(-0.15em); }

/* Masonry-ish photo grid using CSS columns */
.photo-grid { columns: 3 300px; column-gap: clamp(8px, 1vw, 14px); }
.photo-grid > * { break-inside: avoid; margin-bottom: clamp(8px, 1vw, 14px); }
.photo-grid--four { columns: 4 220px; }

.shot {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; background: var(--paper); cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden;
  color: inherit; text-align: left;
}
.band .shot { background: var(--night-2); }
.shot img { width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 var(--accent);
  border-radius: inherit; transition: box-shadow 0.5s var(--ease);
  pointer-events: none;
}
.shot:hover::after, .shot:focus-visible::after { box-shadow: inset 0 0 0 4px var(--accent); }
.shot .cap {
  position: absolute; left: 10px; bottom: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--ink);
  font-size: 0.75rem; font-weight: 600;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.shot:hover .cap, .shot:focus-visible .cap { opacity: 1; transform: none; }
@media (hover: none) { .shot .cap { opacity: 1; transform: none; } }
.shot--studio { background: #f3f2ee; }
.shot--ph { aspect-ratio: 4 / 3; cursor: default; }
.shot--ph.is-tall { aspect-ratio: 4 / 5; }

.shot-video { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--night-2); }
.shot-video video { width: 100%; height: auto; }

.note {
  display: flex; gap: 12px; align-items: start;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink-soft); font-size: 0.9375rem;
  margin: 0 0 16px;
}
.band .note { background: var(--night-2); }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(8,8,8,0.97); color: var(--white);
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in 0.45s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-top, .lb-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px clamp(12px, 2vw, 24px);
}
.lb-count { font-size: 0.875rem; color: var(--night-soft); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 96px); min-height: 0; }
.lb-stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.35s var(--ease);
}
.lb-stage img.is-loading { opacity: 0; }
.lb-caption { margin: 0; font-size: 0.9375rem; color: var(--night-soft); max-width: 60ch; }
.lb-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.1); color: var(--white); cursor: pointer;
  transition: background-color 0.3s;
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-stage .lb-btn { position: absolute; top: 50%; margin-top: -24px; }
.lb-stage .lb-prev { left: clamp(8px, 1.6vw, 24px); }
.lb-stage .lb-next { right: clamp(8px, 1.6vw, 24px); }
.lb-nav-row { display: none; gap: 8px; }
@media (max-width: 700px) {
  .lb-stage .lb-btn { display: none; }
  .lb-nav-row { display: flex; }
  .lb-stage { padding: 0 8px; }
}

/* ---------- Video players (Drive / YouTube, loads on click) ---------- */

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
}
.player > img, .player > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0) 55%);
  pointer-events: none;
}
.player-btn {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; align-content: center; gap: 14px;
  border: 0; background: transparent; color: var(--white); cursor: pointer;
  font: 600 1rem var(--font-body);
}
.player-btn .disc {
  display: grid; place-items: center;
  width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,0.94); color: var(--ink);
  transition: transform 0.6s var(--ease), background-color 0.4s;
}
.player-btn .disc svg { width: 32%; height: 32%; margin-left: 6%; }
.player-btn:hover .disc { transform: scale(1.08); background: var(--white); }
.player-btn[aria-disabled="true"] { cursor: default; }
.player-btn[aria-disabled="true"] .disc { background: rgba(255,255,255,0.55); }
.player-btn[aria-disabled="true"]:hover .disc { transform: none; }
.player-btn .soon {
  padding: 6px 12px; border-radius: 999px; background: rgba(17,17,17,0.55);
  font-size: 0.8125rem;
}
.player-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  padding: clamp(14px, 2vw, 24px); color: var(--white);
}
.player-meta h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.player-meta .sub { margin: 6px 0 0; font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem); color: rgba(255,255,255,0.88); }
.player-meta .kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.player iframe, .player > video { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; border: 0; background: #000; }
.films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.films .player--feature { grid-column: 1 / -1; }
@media (max-width: 760px) { .films { grid-template-columns: 1fr; } }
.player.is-playing .player-meta, .player.is-playing::after { display: none; }

/* Vertical reels row */
.reels {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px);
  max-width: 1120px; margin-inline: auto;
}
/* tap-for-sound button on reels that kept their audio */
.sound-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(17,17,17,0.55); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}
.sound-btn:hover { background: rgba(17,17,17,0.8); transform: scale(1.06); }
.sound-btn svg { width: 20px; height: 20px; }
.sound-btn .i-on, .sound-btn[aria-pressed="true"] .i-off { display: none; }
.sound-btn[aria-pressed="true"] .i-on { display: block; }
@media (max-width: 900px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .reels > * { scroll-snap-align: start; }
}
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: var(--night-2); color: var(--white); margin: 0;
}
.reel video, .reel > .ph { width: 100%; height: 100%; object-fit: cover; }
.reel .reel-badge { top: 12px; left: 12px; }
.reel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 14px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0));
  font: 600 0.9375rem/1.3 var(--font-body);
}

.split {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px); align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.stills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); margin-top: clamp(10px, 1.4vw, 18px); }
@media (max-width: 700px) { .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the slight zoom hides the thin border some video stills have baked in */
.stills .shot img { aspect-ratio: 16 / 9; object-fit: cover; transform: scale(1.07); }
.stills .shot:hover img { transform: scale(1.11); }

.prose p { margin: 0 0 1em; max-width: 60ch; }
.prose p:last-child { margin-bottom: 0; }
.prose .big {
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 500;
  line-height: 1.3; letter-spacing: -0.025em; color: var(--ink);
}

/* ---------- On Set ---------- */

.set-hero {
  position: relative;
  min-height: min(88vh, 900px);
  min-height: min(88dvh, 900px);
  display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
  padding-bottom: clamp(28px, 5vw, 64px);
}
.set-hero > img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  animation: settle 2.4s var(--ease) both;
}
.set-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(11,11,11,0.97) 6%, rgba(11,11,11,0.35) 55%, rgba(11,11,11,0.1) 100%);
}
.set-hero .tall { font-size: clamp(4.4rem, 1rem + 16vw, 17rem); color: var(--white); }
.set-hero .page-hero-row .lede { color: var(--night-text); }

.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.role { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px) clamp(8px, 2vw, 16px) 0; }
.role + .role { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--night-line); }
.role h3 {
  margin: 12px 0 10px;
  font-family: var(--font-tall); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 1rem + 2.6vw, 3.4rem); line-height: 0.95; color: var(--night-text);
}
.role p { margin: 0; max-width: 34ch; }
@media (max-width: 860px) {
  .roles { grid-template-columns: 1fr; }
  .role, .role + .role { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--night-line); }
}

/* ---------- About ---------- */

.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 88px); align-items: start;
}
.about-photo { position: sticky; top: 96px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.about-photo img, .about-photo .ph { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; max-width: 480px; }
}
.facts { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li {
  display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.facts .k { color: var(--ink-soft); font-size: 0.9375rem; }
.facts .v { font-weight: 500; }

.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.cert {
  padding: 20px; border-radius: var(--radius-sm); background: var(--paper);
  border: 1px dashed #d8d6cd; color: var(--ink-soft); font-weight: 600; font-size: 0.875rem;
}

/* ---------- Contact page ---------- */

.contact-hero .tall { font-size: clamp(4.4rem, 1rem + 15vw, 16rem); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px); align-items: stretch;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-main {
  border-radius: calc(var(--radius) + 8px);
  background: var(--paper);
  padding: clamp(24px, 5vw, 64px);
  display: grid; gap: 24px; align-content: start;
}
.contact-main h2 { margin: 0; font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.contact-main p { margin: 0; max-width: 44ch; font-size: 1.0625rem; }
.contact-side { display: grid; gap: clamp(12px, 1.4vw, 18px); align-content: start; }
.contact-link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: clamp(18px, 2.4vw, 28px); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line); text-decoration: none;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-link:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.contact-link > svg { width: 26px; height: 26px; }
.contact-link .k { display: block; font-size: 0.8125rem; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.contact-link .v { display: block; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); font-weight: 700; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.contact-link .go { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.contact-link:hover .go { transform: translateX(4px); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; }
.checklist li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); transform: translateY(-0.1em); }

/* ---------- Footer ---------- */

.site-footer { padding-top: clamp(48px, 7vw, 88px); overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-name {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.04em;
}
.footer-grid p { margin: 0; color: var(--ink-soft); }
.footer-grid ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.footer-grid a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 24px; font-size: 0.875rem; color: var(--ink-soft);
}
.footer-mark {
  margin: clamp(8px, 2vw, 24px) 0 clamp(8px, 1.4vw, 20px);
  font-family: var(--font-tall); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.2rem, 15.2vw, 17rem); line-height: 1.1;
  letter-spacing: -0.005em; white-space: nowrap; text-align: center;
  color: var(--ink);
  user-select: none;
}
.footer-mark span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

/* ---------- Floating WhatsApp ---------- */

.float-wa {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 18px 0 16px; border-radius: 999px;
  background: var(--brand); color: var(--on-brand);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  box-shadow: 0 14px 34px -14px rgba(17,17,17,0.55);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), background-color 0.3s;
}
.float-wa svg { width: 22px; height: 22px; }
.float-wa.is-visible { transform: none; opacity: 1; }
.float-wa:hover { background: var(--brand-hover); }
@media (max-width: 520px) {
  .float-wa { width: 54px; padding: 0; justify-content: center; }
  .float-wa .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Accent picker (only shows with ?accents in the URL) ---------- */

.accent-picker {
  position: fixed; z-index: 90; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px 8px 14px; border-radius: 999px;
  background: var(--white); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35), inset 0 0 0 1px var(--line);
  font-size: 0.8125rem; font-weight: 600;
}
.accent-picker button {
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.9);
}
.accent-picker button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Scroll reveal ----------
   Only things that start below the screen get hidden, so the first
   view of the page is always complete. */

.reveal.is-pending { opacity: 0; transform: translateY(28px); }
.reveal {
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------- Responsive layout ---------- */

@media (max-width: 960px) {
  .approach { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark .ch, .page-hero .tall .line, .hero-bg, .set-hero > img { animation: none; }
  .hero-clip { transition: none; transform: none; }
  .slide > img, .slide > video, .slide > .ph { transform: none !important; transition: none; }
  .slide { transition-duration: 0.8s; }
  .marquee-track, .logos-track { animation: none; flex-wrap: wrap; width: auto; row-gap: 12px; }
  .marquee .dup, .logos .dup { display: none; }
  .ph--moving { animation: none; }
  .reveal, .reveal.is-pending { opacity: 1; transform: none; transition: none; }
  .card .media, .btn, .card-arrow, .service h3, .shot img { transition-duration: 0.01s; }
  .reel-badge::before { animation: none; }
  .service-preview { display: none; }
  .wall-grid img { transition: none; }
  .lightbox[open] { animation: none; }
}
