/* ===================================================================
   TOM MAYO PHOTOGRAPHY — styles.css
   Order: tokens → root scaling → reset → typography utilities → buttons
   → header → hero → sections → grids/cards → CTA → footer → forms →
   reveal → lightbox → nav toggle → HOME page blocks → portrait block (LAST).
   Monochrome UI on purpose: the photographs supply all the colour.
   =================================================================== */

:root {
  --bg: #0a0a0a;            /* page background */
  --bg-soft: #101010;       /* slightly lifted background */
  --card: #141414;          /* card surfaces */
  --border: #242424;        /* hairlines */
  --fg: #f2f2f0;            /* text */
  --muted: #8b8b87;         /* secondary text */
  --primary: #f2f2f0;       /* accent = white; photos are the colour */
  --primary-hover: #ffffff;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 80rem;             /* content column (wider than default — it is a portfolio) */
}

/* ===================================================================
   "SCALE LIKE A PICTURE" — everything is in rem and the root font-size
   follows viewport WIDTH. Only ORIENTATION rearranges the layout (see
   the portrait block at the very bottom). 1rem ≈ 12.2px at ~1360px wide.
   =================================================================== */
html {
  font-size: clamp(6.3px, 0.9vw, 14.4px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--fg); color: var(--bg); }

/* Typography utilities */
.eyebrow { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.6875rem; color: var(--fg); }
.kicker  { font-family: var(--font-display); font-stretch: 125%; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.625rem; color: var(--muted); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 2.5rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.75rem; padding: 1rem 1.75rem; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.btn-primary:hover { background: var(--bg); color: var(--fg); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .arrow, a:hover .arrow { transform: translateX(4px); }

/* Header — fixed, 3-column grid: brand | nav | CTA.
   main.js adds .at-top while the page is at the very top so it sits
   transparent over the hero; without JS it stays in the blurred state. */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s, border-color 0.3s;
}
header.at-top { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-wrap {
  max-width: var(--max); margin: 0 auto; padding: 0 2.5rem; height: 5rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.brand { justify-self: start; display: flex; align-items: center; gap: 0.875rem; }
.brand img { height: 2.25rem; width: 2.25rem; object-fit: contain; }
.brand-text .name { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; letter-spacing: 0.12em; font-size: 0.9375rem; text-transform: uppercase; line-height: 1.1; }
.brand-text .sub  { font-family: var(--font-display); font-stretch: 125%; letter-spacing: 0.3em; font-size: 0.5625rem; color: var(--muted); text-transform: uppercase; }
nav.main { justify-self: center; display: flex; gap: 2.5rem; }
nav.main a { font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.6875rem; color: rgba(242, 242, 240, 0.75); transition: color 0.2s; }
nav.main a:hover { color: var(--fg); }
.header-cta { justify-self: end; }

/* Hero — full viewport, background image + gradient overlays */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hero::before { background: linear-gradient(to bottom, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.32) 35%, rgba(10, 10, 10, 0.45) 60%, rgba(10, 10, 10, 0.96)); }
.hero::after  { background: rgba(10, 10, 10, 0.3); }
.hero-inner { position: relative; z-index: 2; max-width: 61.25rem; padding: 6.25rem 1.5rem 2.5rem; }
.hero h1 { font-size: 6.8rem; line-height: 0.95; margin-top: 1.75rem; }
.hero h1 .accent { display: block; color: var(--primary); margin-top: 0.5rem; }
.divider { width: 5rem; height: 1px; background: rgba(255, 255, 255, 0.4); margin: 2.5rem auto; }
.hero .sub { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.25em; font-size: 1rem; }
.hero p.lead { max-width: 35rem; margin: 1.5rem auto 0; color: var(--muted); }
.hero .kicker { color: rgba(242, 242, 240, 0.78); }   /* hero kickers sit on photos — keep them legible */
.hero .actions { margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero.page-hero { min-height: min(80vh, 48.75rem); }   /* inner pages: shorter hero */
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }

/* Sections */
section.block { padding: 10rem 0; }
section.block.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 45rem; margin-bottom: 5.5rem; }
.section-head .row { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.125rem; }
.section-head .row .bar { width: 2.5rem; height: 1px; background: var(--fg); }
.section-head h2 { font-size: 3.875rem; line-height: 1.02; }
.section-head p { margin-top: 1.375rem; color: var(--muted); font-size: 1.125rem; max-width: 38.75rem; }

/* Grids + cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.split  { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.card { background: var(--card); border: 1px solid var(--border); padding: 2rem; transition: border-color 0.25s; }
.card:hover { border-color: rgba(255, 255, 255, 0.4); }
.photo-ph { background: var(--card); border: 1px dashed var(--border); aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* Final CTA band */
.cta { position: relative; overflow: hidden; padding: 11rem 0; text-align: center; }
.cta img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; z-index: 0; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(10, 10, 10, 0.6), var(--bg)); z-index: 1; }
.cta-inner { position: relative; z-index: 2; max-width: 60rem; margin: 0 auto; padding: 0 1.5rem; }
.cta h2 { font-size: 4.5rem; line-height: 0.98; }
.cta h2 .accent { color: var(--muted); }
.cta p.lead { margin: 1.375rem auto 0; max-width: 38.75rem; color: var(--muted); font-size: 1.125rem; }

/* Contact cards */
.contacts { margin: 3.5rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 52rem; text-align: left; }
.contact-card { border: 1px solid var(--border); background: rgba(20, 20, 20, 0.7); padding: 1.375rem; }
.contact-card .label { margin-top: 1rem; font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.625rem; color: var(--muted); }
.contact-card .value { margin-top: 0.25rem; font-size: 0.875rem; }
.contact-card svg { width: 1.25rem; height: 1.25rem; color: var(--fg); }

/* Footer — 4 columns: brand+blurb | Quick Links | Get in Touch | Shooting */
footer { border-top: 1px solid var(--border); padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1fr; gap: 3rem; padding-bottom: 2.75rem; border-bottom: 1px solid var(--border); }
.footer-about .brand { margin-bottom: 1.25rem; }
.footer-blurb { color: var(--muted); font-size: 0.875rem; line-height: 1.7; max-width: 21.25rem; margin-bottom: 1.5rem; }
.footer-heading { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.6875rem; color: var(--fg); margin-bottom: 1.25rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.6875rem; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--fg); }
.footer-contact, .footer-hours { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.footer-contact li { display: flex; flex-direction: column; gap: 0.1875rem; color: var(--fg); font-size: 0.875rem; }
.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: var(--muted); }
.fc-label { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.5625rem; color: var(--muted); }
.footer-hours li { display: flex; justify-content: space-between; gap: 0.75rem; color: var(--muted); font-size: 0.8125rem; }
.footer-hours li span:first-child { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.6875rem; color: var(--fg); }
.footer-hours .fc-note { justify-content: flex-start; color: var(--fg); font-size: 0.75rem; }
.footer-social { display: flex; gap: 0.75rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.375rem; height: 2.375rem; border: 1px solid var(--border); transition: border-color 0.2s, color 0.2s; }
.icon-btn:hover { border-color: var(--fg); }
.icon-btn svg { width: 1rem; height: 1rem; }
.copyright { margin-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; color: var(--muted); font-size: 0.75rem; }
.copyright a { color: var(--muted); transition: color 0.2s; }
.copyright a:hover { color: var(--fg); }
.legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Forms */
.contact-form { max-width: 52rem; margin: 4rem auto 0; text-align: left; background: rgba(20, 20, 20, 0.7); border: 1px solid var(--border); padding: 2.5rem; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 1.75rem; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.field label { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.625rem; color: var(--muted); }
.field input, .field textarea, .field select {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: var(--fg);
  padding: 0.875rem 1rem; font-family: var(--font-body); font-size: 0.9375rem; border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
.field select option { background: var(--card); color: var(--fg); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--fg); background: rgba(255, 255, 255, 0.07); }
.field textarea { resize: vertical; min-height: 7.5rem; }
.form-status { margin-top: 1.25rem; font-size: 0.9375rem; text-align: center; }
.form-status.is-error { color: #ff6b5b; }
.form-consent { font-size: 0.75rem; color: var(--muted); margin-top: 1rem; }
.form-consent a { text-decoration: underline; }

/* Reveal-on-scroll */
@keyframes lb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Lightbox (injected by main.js) — with prev/next + caption for the portfolio */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(6, 6, 6, 0.94); padding: 1.5rem; }
.lightbox.is-open { display: flex; animation: lb-fade-in 0.25s ease; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 100%; }
.lightbox-img { max-width: 100%; max-height: 84vh; object-fit: contain; animation: lb-zoom-in 0.25s ease; }
.lightbox-caption { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.6875rem; color: var(--muted); text-align: center; min-height: 1rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; width: 2.75rem; height: 2.75rem; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 1.25rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.lightbox-close { top: 1.125rem; right: 1.375rem; font-size: 1.5rem; }
.lightbox-prev { left: 1.375rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.375rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Hamburger (injected by main.js; hidden in landscape) */
.nav-toggle { display: none; justify-self: end; width: 2.75rem; height: 2.75rem; padding: 0; background: transparent; border: 1px solid var(--border); flex-direction: column; align-items: center; justify-content: center; gap: 0.3125rem; }
.nav-toggle span { display: block; width: 1.25rem; height: 2px; background: var(--fg); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Legal page */
.legal-body { max-width: 50rem; }
.legal-body h2 { font-size: 2.25rem; margin: 5rem 0 1.5rem; scroll-margin-top: 6rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { letter-spacing: 0.05em; font-size: 1.125rem; margin: 2rem 0 0.75rem; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 1rem; }
.legal-body ul { padding-left: 1.25rem; }
.legal-body a { color: var(--fg); text-decoration: underline; }
.legal-body hr { border: 0; border-top: 1px solid var(--border); margin: 4rem 0; }
.legal-updated { color: var(--muted); font-size: 0.8125rem; }

/* ===================================================================
   HOME PAGE — portfolio "story" blocks
   =================================================================== */

/* Shared image tiles: every photo tile is a <figure class="gallery-item"> so the lightbox picks it up */
.gallery-item { position: relative; overflow: hidden; margin: 0; background: var(--card); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.25rem 1.25rem 1rem;
  font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.5625rem; color: var(--fg);
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0));
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item figcaption span { color: var(--muted); }

/* Home hero — name anchored bottom-left, meta bottom-right */
.hero.home-hero { align-items: flex-end; justify-content: flex-start; text-align: left; }
.home-hero .hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; padding: 8rem 2.5rem 4rem; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
.home-hero .hero-eyebrow { display: flex; align-items: center; gap: 0.875rem; }
.home-hero .hero-eyebrow .bar { width: 2.5rem; height: 1px; background: var(--fg); }
.home-hero h1 { font-size: 13.5rem; line-height: 0.82; letter-spacing: -0.03em; margin-top: 1.5rem; font-weight: 900; }
.home-hero h1 span { display: block; }
.home-hero h1 .accent { display: block; color: var(--primary); margin-top: 0; }
.home-hero .hero-meta { display: grid; gap: 1.25rem; padding-bottom: 0.75rem; max-width: 22rem; }
.home-hero .hero-meta p.lead { margin: 0; color: var(--fg); font-size: 1rem; line-height: 1.6; max-width: none; }
.home-hero .hero-meta .kicker { line-height: 1.9; }
.home-hero .actions { margin-top: 0.5rem; justify-content: flex-start; }

/* Marquee strip — pure CSS, decorative */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.25rem 0; white-space: nowrap; background: var(--bg); }
.marquee-track { display: inline-flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-set { display: inline-flex; }
.marquee-set span { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.875rem; color: var(--fg); padding-right: 3.5rem; }
.marquee-set span::after { content: "—"; margin-left: 3.5rem; color: var(--muted); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Prologue — statement + chapter index */
/* Prologue: the left column (00 + kicker + photo) is its own pinned layer at z-index 0.
   The copy block is a normal section pulled up over it by a negative margin, transparent so
   the column shows through, and it scrolls past normally. Because the column is a sibling
   layer rather than a sticky child, it can stay put while Chapter 01 covers it.
   Its height must fit one screen — the copy block's height sets how long it stays pinned. */
.prologue-pin {
  position: sticky; top: 0; z-index: 0; background: var(--bg);
  min-height: 100svh; display: flex; align-items: center; padding: 7rem 0 5rem;
}
.prologue-pin > .container { width: 100%; }
.prologue-side { display: grid; gap: 1rem; align-content: start; width: calc((100% - 6rem) / 2.6); }
.prologue-photo { margin-top: 1rem; aspect-ratio: 3 / 4; }
main > section.block.prologue-copy-block { background: transparent; margin-top: -100svh; padding: 12rem 0 26rem; }
.prologue-copy-block > .container { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; }
.prologue-copy-block .prologue-copy { grid-column: 2; }
.prologue-side .num { font-family: var(--font-display); font-stretch: 125%; font-size: 5rem; line-height: 1; font-weight: 900; color: var(--border); }
.statement { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 3.1rem; line-height: 1.06; letter-spacing: -0.01em; }
.statement em { font-style: normal; color: var(--muted); }
.prologue-copy p.body { margin-top: 2rem; color: var(--muted); font-size: 1.125rem; max-width: 40rem; }
.chapter-index { list-style: none; margin-top: 4rem; border-top: 1px solid var(--border); }
.chapter-index a { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.9375rem; transition: padding-left 0.25s, color 0.25s; }
.chapter-index a:hover { padding-left: 0.75rem; }
.chapter-index .num { color: var(--muted); font-size: 0.6875rem; letter-spacing: 0.3em; }
.chapter-index .what { color: var(--muted); font-weight: 500; font-size: 0.625rem; letter-spacing: 0.25em; }

/* Chapter heads — two-column: heading left, intro right */
.section-head.chapter { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: end; }
.section-head.chapter p { margin-top: 0; padding-bottom: 0.5rem; }

/* Feature image + caption row */
.feature { aspect-ratio: 21 / 9; overflow: hidden; margin: 0; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.caption-row { display: flex; justify-content: space-between; gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.5625rem; color: var(--muted); }
.caption-row strong { color: var(--fg); font-weight: 700; }

/* Mosaic — editorial grid with spans */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 17rem; gap: 1rem; margin-top: 1rem; }
.mosaic .span-2 { grid-column: span 2; }
.mosaic .tall { grid-row: span 2; }
.section-foot { margin-top: 4rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.section-foot p { color: var(--muted); font-size: 0.9375rem; max-width: 34rem; }

/* Full-bleed band with one bold line */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.25) 60%, rgba(10, 10, 10, 0.1)); }
.band-inner { position: relative; z-index: 2; width: 100%; padding: 6rem 0; }
.band .line { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; font-size: 5.5rem; line-height: 0.95; max-width: 56rem; margin-top: 1.25rem; font-weight: 900; }
.band .line em { font-style: normal; color: var(--muted); }

/* Filmstrip — horizontal snap scroller, first tile aligned with the container edge */
.strip-wrap { position: relative; margin-top: 1rem; }
.strip { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 2.5rem 1rem max(2.5rem, calc((100% - var(--max)) / 2 + 2.5rem)); scroll-padding-left: max(2.5rem, calc((100% - var(--max)) / 2 + 2.5rem)); }
.strip::-webkit-scrollbar { display: none; }
.strip.is-linked { scroll-snap-type: none; }          /* main.js drives it from page scroll; snapping would fight that */
.strip .gallery-item { flex: 0 0 44rem; aspect-ratio: 3 / 2; scroll-snap-align: start; }
.strip-controls { display: flex; gap: 0.5rem; }
.strip-btn { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); color: var(--fg); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.strip-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.strip-btn svg { width: 1rem; height: 1rem; }
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.5rem; }
.strip-head .kicker { padding-bottom: 0.75rem; }

/* Genres — four tall tiles */
.genres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.genre-card { aspect-ratio: 3 / 4; }
.genre-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.1) 45%, rgba(10, 10, 10, 0) 70%); }
.genre-card .label { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; z-index: 2; display: grid; gap: 0.5rem; }
.genre-card .label h3 { font-size: 1.625rem; line-height: 1; }
.genre-card .label .kicker { color: rgba(242, 242, 240, 0.7); }
.gallery-item.genre-card figcaption { display: none; }

/* About — portrait + copy */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6rem; align-items: center; }
.about-media { position: relative; padding-right: 4rem; padding-bottom: 4rem; }
.about-media .img-wrap { overflow: hidden; margin: 0; }
.about-media .img-wrap.main { aspect-ratio: 4 / 5; }
.about-media .img-wrap.main img, .about-media .img-wrap.small img { width: 100%; height: 100%; object-fit: cover; }
.about-media .img-wrap.small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 0.5rem solid var(--bg); }
.about-copy .section-head { margin-bottom: 2rem; }
.about-copy p.lead { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1.25; margin-bottom: 1.5rem; }
.about-copy p.body { color: var(--muted); font-size: 1rem; margin-bottom: 1.25rem; max-width: 36rem; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.about-facts dt { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.5625rem; color: var(--muted); margin-bottom: 0.5rem; }
.about-facts dd { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: 0.9375rem; line-height: 1.3; }

/* Services — hairline grid */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service-card { background: var(--bg); padding: 3.25rem 3rem; display: flex; flex-direction: column; gap: 1.25rem; min-height: 22rem; transition: background 0.3s; }
.service-card:hover { background: var(--card); }
.service-card .num { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 2.5rem; line-height: 1; color: var(--border); transition: color 0.3s; }
.service-card:hover .num { color: var(--muted); }
.service-card h3 { font-size: 1.75rem; line-height: 1.05; }
.service-card p { color: var(--muted); font-size: 0.9375rem; max-width: 30rem; }
.service-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 1rem; }
.service-card li { font-family: var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.5625rem; color: var(--fg); border: 1px solid var(--border); padding: 0.5rem 0.75rem; }

/* Process — three ghost-numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--border); }
.step .big { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 5rem; line-height: 0.9; color: var(--border); }
.step h3 { font-size: 1.25rem; margin: 1.25rem 0 0.75rem; }
.step p { color: var(--muted); font-size: 0.9375rem; max-width: 24rem; }

/* Contact band (home) */
.cta .eyebrow + h2 { margin-top: 1.25rem; }
.cta .form-row.three { grid-template-columns: 1fr 1fr 1fr; }

/* ===================================================================
   INNER PAGES — work / about / services / contact / legal / thankyou / 404
   =================================================================== */

/* Page heroes: left-aligned like the rest of the site, not centred */
.hero.page-hero { text-align: left; justify-content: flex-start; }
.hero.page-hero::before { background: linear-gradient(to right, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.6) 45%, rgba(10, 10, 10, 0.35)), linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.25) 40%, rgba(10, 10, 10, 0.9)); }
.hero.page-hero .hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; padding: 10rem 2.5rem 4rem; }
.hero.page-hero h1 { font-size: 7rem; line-height: 0.92; margin-top: 1.25rem; font-weight: 900; }
.hero.page-hero .divider { margin: 2rem 0; }
.hero.page-hero p.lead { margin: 0; max-width: 40rem; color: var(--fg); font-size: 1.0625rem; }
.hero.page-hero .actions { justify-content: flex-start; }
.hero.legal-hero { min-height: min(52vh, 34rem); background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.hero.legal-hero::before, .hero.legal-hero::after { display: none; }

/* WORK — filter bar + masonry gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.6875rem; padding: 0.75rem 1.25rem; background: transparent; color: var(--muted);
  border: 1px solid var(--border); transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.filter-btn:hover { color: var(--fg); border-color: var(--fg); }
.filter-btn[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.work-grid { columns: 3; column-gap: 1rem; }
.work-grid .gallery-item { break-inside: avoid; margin: 0 0 1rem; display: block; }
.work-grid .gallery-item img { height: auto; }
.gallery-empty { color: var(--muted); font-size: 0.9375rem; padding: 3rem 0; text-align: center; }

/* ABOUT — long-form copy, side image */
.body-copy { color: var(--muted); font-size: 1rem; margin-bottom: 1.25rem; max-width: 36rem; }
.split .about-side { aspect-ratio: 4 / 5; }
.split .about-side img { width: 100%; height: 100%; object-fit: cover; }
#on-the-day .about-facts { margin-top: 2.5rem; }

/* SERVICES — alternating image / copy rows */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 5rem 0; border-top: 1px solid var(--border); }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail.reverse .gallery-item { order: 2; }
.service-detail .gallery-item { aspect-ratio: 4 / 3; }
.service-body .num { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 2.5rem; line-height: 1; color: var(--border); display: block; margin-bottom: 0.75rem; }
.service-body h3 { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.25rem; }
.service-body .btn { margin-top: 0.5rem; }
.tick-list { list-style: none; margin: 0 0 1.75rem; display: grid; gap: 0.75rem; }
.tick-list li { position: relative; padding-left: 1.75rem; color: var(--muted); font-size: 0.9375rem; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.75rem; height: 1px; background: var(--fg); }
.pricing-note { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--border); max-width: 45rem; }
.pricing-note h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pricing-note p { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; }

/* FAQ — native details/summary */
.faq-list { border-top: 1px solid var(--border); max-width: 55rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 1rem; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--muted); }
.faq-item summary::after { content: ""; position: absolute; right: 0.75rem; top: 50%; width: 0.75rem; height: 1px; background: var(--fg); }
.faq-item summary::before { content: ""; position: absolute; right: 1.09rem; top: 50%; width: 1px; height: 0.75rem; background: var(--fg); transform: translateY(-50%); transition: opacity 0.2s; }
.faq-item[open] summary::before { opacity: 0; }
.faq-body { padding: 0 3rem 1.75rem 0; }
.faq-body p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 0.75rem; }

/* CONTACT */
.contacts.contacts-wide { margin: 0 0 3rem; max-width: none; grid-template-columns: repeat(3, 1fr); }
.contact-card .value a:hover { color: var(--muted); }
#contact .contact-form { margin-left: 0; margin-right: 0; max-width: none; }
.note-line { margin-top: 2.5rem; color: var(--muted); font-size: 0.875rem; }
#what-happens .card h3 { font-size: 1.125rem; margin-bottom: 0.875rem; }
#what-happens .card p { color: var(--muted); font-size: 0.9375rem; }

/* Shared CTA button row on inner pages */
.cta-actions { margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------------
   INNER-PAGE MOTION — the same vocabulary as the homepage so the site
   moves consistently. All decorative; disabled under reduced motion.
   ------------------------------------------------------------------- */

/* Pinned page heroes: the first section slides over them, photo zooms, content drifts */
.hero.page-hero.pin-layer img.bg { transform: scale(calc(1.02 + var(--p) * 0.1)); transform-origin: 50% 45%; will-change: transform; }
.hero.page-hero.pin-layer .hero-inner { transform: translate3d(0, calc(var(--p) * -4rem), 0); opacity: calc(1 - var(--p) * 1.3); will-change: transform, opacity; }

/* Page headline rises in on load; eyebrow, rule and lead follow it */
.hero.page-hero h1 { overflow: hidden; padding: 0.06em 0.06em 0.06em 0; margin: calc(1.25rem - 0.06em) 0 -0.06em; }
.hero.page-hero h1 > span, .hero.page-hero h1 { display: block; }
.hero.page-hero h1 { animation: rise-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero.page-hero .eyebrow { display: inline-block; animation: fade-up 0.8s ease 0.35s both; }
.hero.page-hero .divider { animation: fade-up 0.8s ease 0.5s both; }
.hero.page-hero p.lead, .hero.page-hero .legal-updated, .hero.page-hero .actions { animation: fade-up 0.8s ease 0.6s both; }

/* Photos drift inside their frames (the frame clips, so nothing shifts the layout) */
.work-grid .gallery-item img[data-parallax] { --depth: 1rem; transform: translate3d(0, calc(var(--pv) * var(--depth)), 0) scale(1.1); }
.service-detail .gallery-item img[data-parallax] { --depth: -2rem; transform: translate3d(0, calc(var(--pv) * var(--depth)), 0) scale(1.14); }
.about-side img[data-parallax] { --depth: -2rem; transform: translate3d(0, calc(var(--pv) * var(--depth)), 0) scale(1.12); }
/* Hover still wins, but keeps the drift */
.work-grid .gallery-item:hover img[data-parallax] { transform: translate3d(0, calc(var(--pv) * var(--depth)), 0) scale(1.15); }
.service-detail .gallery-item:hover img[data-parallax], .about-side:hover img[data-parallax] { transform: translate3d(0, calc(var(--pv) * var(--depth)), 0) scale(1.2); }

/* Staggered reveals for the card rows, FAQ and service bullet lists */
.contacts > .reveal:nth-child(2), .grid-3 > .reveal:nth-child(2), .faq-list > .reveal:nth-child(2) { transition-delay: 0.09s; }
.contacts > .reveal:nth-child(3), .grid-3 > .reveal:nth-child(3), .faq-list > .reveal:nth-child(3) { transition-delay: 0.18s; }
.faq-list > .reveal:nth-child(4) { transition-delay: 0.27s; }
.faq-list > .reveal:nth-child(5) { transition-delay: 0.36s; }
.service-detail.reveal .tick-list li { opacity: 0; transform: translateX(-0.75rem); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.service-detail.reveal.is-visible .tick-list li { opacity: 1; transform: none; }
.service-detail.reveal .tick-list li:nth-child(2) { transition-delay: 0.1s; }
.service-detail.reveal .tick-list li:nth-child(3) { transition-delay: 0.2s; }
.service-detail.reveal .tick-list li:nth-child(4) { transition-delay: 0.3s; }
/* The ghost number on a service row counts itself in as the row arrives */
.service-detail.reveal .service-body .num { opacity: 0; transform: translateY(0.75rem); transition: opacity 0.7s ease 0.1s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s; }
.service-detail.reveal.is-visible .service-body .num { opacity: 1; transform: none; }

/* -------------------------------------------------------------------
   SCROLL CHARACTER — pinned hero + interlude ("curtain" effect), parallax
   depths, staggered reveals, hero load-in. main.js feeds two custom
   properties: --p (hero scroll progress 0→1) and --pv (per-element
   position relative to viewport centre, −1…1) on [data-parallax] nodes.
   Everything here is decorative and disabled under prefers-reduced-motion.
   ------------------------------------------------------------------- */

/* Pinned layers: hero and interlude stick at the top; everything else slides over them */
.pin-layer { position: sticky; top: 0; z-index: 0; --p: 0; }
main > .marquee, main > section.block, main > .cta { position: relative; z-index: 1; background: var(--bg); }
.pin-layer.is-past { visibility: hidden; }              /* fully covered — stop compositing it */

/* Hero: photo zooms slowly, content drifts up and fades as the page covers it */
.band img.bg { transform-origin: 50% 50%; }
.band .band-inner { transform: translate3d(0, calc(var(--p) * -3rem), 0); opacity: calc(1 - var(--p) * 1.6); will-change: transform, opacity; }
.home-hero img.bg { transform: scale(calc(1.02 + var(--p) * 0.12)); transform-origin: 50% 40%; will-change: transform; }
.home-hero .hero-inner { transform: translate3d(0, calc(var(--p) * -6rem), 0); opacity: calc(1 - var(--p) * 1.4); will-change: transform, opacity; }

/* Hero load-in: name rises, then eyebrow + meta fade */
@keyframes rise-in { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
.home-hero h1 { overflow: hidden; padding: 0.06em 0.06em 0.06em 0; margin: calc(1.5rem - 0.06em) 0 -0.06em; }
.home-hero h1 span { animation: rise-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.home-hero h1 .accent { animation-delay: 0.12s; }
.home-hero .hero-eyebrow { animation: fade-up 0.9s ease 0.7s both; }
.home-hero .hero-meta { animation: fade-up 0.9s ease 0.9s both; }

/* Parallax depths (positive = moves down as it approaches the top, i.e. lags the scroll) */
[data-parallax] { --pv: 0; --depth: 0rem; transform: translate3d(0, calc(var(--pv) * var(--depth)), 0); will-change: transform; }
.band img.bg[data-parallax], .cta img.bg[data-parallax] { --depth: 5rem; inset: -12% 0; height: 124%; }
.feature img[data-parallax] { --depth: -3rem; transform: translate3d(0, calc(var(--pv) * var(--depth)), 0) scale(1.14); }
.feature:hover img[data-parallax] { transform: translate3d(0, calc(var(--pv) * var(--depth)), 0) scale(1.14); }
.prologue-side .num[data-parallax] { --depth: 4rem; }
.step .big[data-parallax] { --depth: 2.5rem; }
.about-media .img-wrap.small[data-parallax] { --depth: -3rem; }
.section-head.chapter h2[data-parallax] { --depth: 1.5rem; }

/* Reveal variations: chapter bar draws in; photo tiles settle from a slight zoom; grids stagger */
.section-head.reveal .row .bar { transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }
.section-head.reveal.is-visible .row .bar { transform: scaleX(1); }
.gallery-item.reveal:not(.feature) img { transform: scale(1.1); transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gallery-item.reveal.is-visible:not(.feature) img { transform: scale(1); }
.gallery-item.reveal.is-visible:not(.feature):hover img { transform: scale(1.04); transition-duration: 0.9s; }
.mosaic > .reveal:nth-child(2), .genres > .reveal:nth-child(2), .services > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .strip > .reveal:nth-child(2) { transition-delay: 0.08s; }
.mosaic > .reveal:nth-child(3), .genres > .reveal:nth-child(3), .services > .reveal:nth-child(3), .steps > .reveal:nth-child(3), .strip > .reveal:nth-child(3) { transition-delay: 0.16s; }
.mosaic > .reveal:nth-child(4), .genres > .reveal:nth-child(4), .services > .reveal:nth-child(4), .strip > .reveal:nth-child(4) { transition-delay: 0.24s; }
.mosaic > .reveal:nth-child(5), .strip > .reveal:nth-child(5) { transition-delay: 0.32s; }
.mosaic > .reveal:nth-child(6) { transition-delay: 0.4s; }
.mosaic > .reveal:nth-child(7) { transition-delay: 0.48s; }
.mosaic > .reveal:nth-child(8) { transition-delay: 0.56s; }
.chapter-index.reveal li { opacity: 0; transform: translateX(-1rem); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.chapter-index.reveal.is-visible li { opacity: 1; transform: none; }
.chapter-index.reveal li:nth-child(2) { transition-delay: 0.08s; }
.chapter-index.reveal li:nth-child(3) { transition-delay: 0.16s; }
.chapter-index.reveal li:nth-child(4) { transition-delay: 0.24s; }
.chapter-index.reveal li:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .pin-layer { position: relative; }
  .home-hero img.bg, .home-hero .hero-inner, .band .band-inner, [data-parallax], .feature img[data-parallax] { transform: none; opacity: 1; }
  .home-hero h1 span, .home-hero .hero-eyebrow, .home-hero .hero-meta { animation: none; }
  .hero.page-hero h1, .hero.page-hero .eyebrow, .hero.page-hero .divider, .hero.page-hero p.lead,
  .hero.page-hero .legal-updated, .hero.page-hero .actions { animation: none; }
  .hero.page-hero.pin-layer img.bg, .hero.page-hero.pin-layer .hero-inner { transform: none; opacity: 1; }
  .work-grid .gallery-item img[data-parallax], .service-detail .gallery-item img[data-parallax], .about-side img[data-parallax] { transform: none; }
  .service-detail.reveal .tick-list li, .service-detail.reveal .service-body .num { opacity: 1; transform: none; transition: none; }
  .section-head.reveal .row .bar, .gallery-item.reveal:not(.feature) img, .chapter-index.reveal li { transform: none; opacity: 1; transition: none; }
}

/* ===================================================================
   PORTRAIT LAYOUT — the ONE breakpoint. Everything above scales fluidly
   with width; this block only *rearranges* things for portrait screens
   and sets a portrait type scale. Keep it LAST in the file.
   =================================================================== */
@media (orientation: portrait) {
  html { font-size: clamp(9.9px, 3.195vw, 14.4px); }  /* portrait scaling dial */

  /* Type scale */
  .hero h1 { font-size: 2.9rem; }
  .section-head h2, .cta h2 { font-size: 2.125rem; }
  .legal-body h2 { font-size: 1.75rem; }
  .home-hero h1 { font-size: 5.25rem; letter-spacing: -0.03em; }
  .statement { font-size: 1.75rem; }
  .band .line { font-size: 2.5rem; }
  .prologue-side .num { font-size: 3rem; }
  .service-card h3 { font-size: 1.375rem; }
  .genre-card .label h3 { font-size: 1.125rem; }
  .step .big { font-size: 3.5rem; }

  /* Rhythm */
  section.block { padding: 6rem 0; }
  .cta { padding: 7rem 0; }
  .section-head { margin-bottom: 2.5rem; }
  .hero-inner { padding: 5.625rem 1.25rem 2.5rem; }
  .container { padding: 0 1.5rem; }
  .home-hero .hero-inner { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; gap: 2rem; }
  .home-hero .hero-meta { padding-bottom: 0; }

  /* Header → hamburger */
  .nav-wrap { grid-template-columns: 1fr auto; height: 4.25rem; padding: 0 1.5rem; }
  .brand-text .sub, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.main {
    display: none; position: absolute; top: 4.25rem; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); padding: 0.75rem 1.5rem 1.25rem; justify-self: stretch;
  }
  nav.main.is-open { display: flex; animation: lb-fade-in 0.25s ease; }
  nav.main a { padding: 0.875rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.875rem; }
  nav.main a:last-child { border-bottom: none; }

  /* Grids reflow by available width, not by a breakpoint: auto-fit + minmax gives one
     column on a phone (container ≈ 28rem) and two-to-four on a portrait tablet
     (container ≈ 50–68rem) with no extra media query. min() keeps the track from
     overflowing when the container is narrower than the minimum. */
  .grid-2, .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
  .grid-3 { gap: 1.75rem; }
  .grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); }
  .split { grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); gap: 2.5rem; }
  .contacts { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
  .form-row { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
  .footer-top { grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 2rem; }
  .copyright { flex-direction: column; align-items: flex-start; }
  .scroll-hint { display: none; }

  /* Comfortable touch targets */
  .btn { padding: 1.125rem 1.75rem; }
  .filter-btn { padding: 0.9375rem 1.125rem; }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 3.25rem; height: 3.25rem; }
  .strip-btn { width: 3.25rem; height: 3.25rem; }

  /* Home blocks */
  .prologue-pin { position: relative; min-height: 0; display: block; padding: 6rem 0 0; }
  .prologue-side { width: 100%; }
  .prologue-photo { aspect-ratio: 4 / 3; margin-top: 0.5rem; }
  main > section.block.prologue-copy-block { margin-top: 0; padding: 2.5rem 0 6rem; }
  .prologue-copy-block > .container { display: block; }
  .chapter-index a { grid-template-columns: 3rem 1fr; font-size: 0.8125rem; }
  .chapter-index .what { display: none; }
  .section-head.chapter { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1.25rem 2.5rem; }
  .feature { aspect-ratio: 4 / 3; }
  .mosaic { grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); grid-auto-rows: 10rem; gap: 0.5rem; grid-auto-flow: dense; }
  .gallery-item figcaption { opacity: 1; transform: none; padding: 0.875rem 0.875rem 0.75rem; }
  .band { min-height: 60vh; }
  .strip { padding: 0 1.5rem 1rem; gap: 0.5rem; scroll-padding-left: 1.5rem; }
  .strip .gallery-item { flex-basis: min(84%, 32rem); }
  .genres { grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); gap: 0.5rem; }
  .genre-card .label { left: 1rem; right: 1rem; bottom: 1rem; }
  .about-grid { grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); gap: 3rem; }
  .about-media { padding-right: 2.5rem; padding-bottom: 2.5rem; }
  .about-facts { grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); }
  .services { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
  .service-card { padding: 2rem 1.5rem; min-height: 0; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 2.25rem; margin-top: 3rem; padding-top: 2.5rem; }
  .section-foot { margin-top: 2.5rem; }
  .cta .form-row.three { grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
  .contact-form { padding: 1.5rem; }

  /* Inner pages */
  .hero.page-hero h1 { font-size: 3rem; }
  .hero.page-hero .hero-inner { padding: 7rem 1.5rem 3rem; }
  .hero.legal-hero { min-height: 0; padding: 2rem 0; }
  .work-grid { columns: 13rem; column-gap: 0.5rem; }   /* 2 up on a phone, 3 up on a portrait tablet */
  .work-grid .gallery-item { margin-bottom: 0.5rem; }
  .filter-bar { gap: 0.375rem; margin-bottom: 1.75rem; }
  .filter-btn { padding: 0.625rem 0.875rem; font-size: 0.625rem; letter-spacing: 0.15em; }
  .service-detail { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1.75rem; padding: 3rem 0; }
  .service-detail.reverse .gallery-item { order: 0; }
  .service-body h3 { font-size: 1.5rem; }
  .pricing-note { margin-top: 3rem; padding-top: 2rem; }
  .contacts.contacts-wide { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
  .split .about-side { aspect-ratio: 4 / 3; }
  .faq-item summary { font-size: 0.875rem; padding-right: 2.25rem; }
}
