/* ==========================================================================
   YIELD & FRAME STUDIO — Design System
   Cinematic editorial. Restrained. Warm dark. Serif + sans.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0a0b0a;
  --bg-alt: #101211;
  --surface: #151715;
  --line: #26281f22;
  --line: rgba(242, 237, 228, 0.1);
  --line-strong: rgba(242, 237, 228, 0.18);

  /* Text */
  --ink: #f2ede2;
  --ink-dim: #cfc8ba;
  --muted: #9a9284;
  --muted-dim: #6f6a60;

  /* Accent — restrained warm sand/bronze. Used sparingly: never a fill. */
  --accent: #b3925f;
  --accent-bright: #cdae7c;
  --accent-dim: #7d6842;

  /* Type */
  --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1440px;
  --container-narrow: 900px;
  --gutter: 32px;
  --radius: 2px;
  --media-radius: 14px;

  /* Spacing scale */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 64px;
  --sp-6: 96px;
  --sp-7: 140px;

  /* Motion */
  --ease-cine: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.7s;
  --dur-slow: 1.3s;
  --motion-fast: 250ms;
  --motion-medium: 600ms;
  --motion-slow: 900ms;
  --motion-cinematic: 1200ms;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-serif); margin: 0; line-height: 1.08; font-weight: 500; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }

@media (max-width: 640px) {
  :root { --gutter: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Labels / eyebrows ---------- */
.label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}
.label::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.label-plain { color: var(--muted); }
.label-plain::before { background: var(--muted); }

.section-head { margin-bottom: var(--sp-5); max-width: 760px; }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 500;
}
.eyebrow { /* legacy alias retained for shared markup */
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  display: block;
}

.section { padding: var(--sp-6) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: var(--sp-5) 0; }

/* ---------- Light section: warm-paper contrast break from the dark palette ----------
   Redefines the surface/text tokens for everything inside it, so existing
   components (labels, body copy, lines, buttons) invert correctly without
   per-component overrides. Used sparingly, as a rhythm break between dark
   sections — never for image-heavy or video sections. */
.section-light {
  background: #f3ede1;
  color: var(--ink);
  --bg: #f3ede1;
  --bg-alt: #ece4d4;
  --surface: #e9e0cd;
  --line: rgba(23, 20, 14, 0.12);
  --line-strong: rgba(23, 20, 14, 0.24);
  --ink: #171408;
  --ink-dim: #3c3626;
  --muted: #6e6552;
  --muted-dim: #8d8368;
  --accent: #8a6a3f;
  --accent-bright: #6b4f2a;
  --accent-dim: #b89b6c;
}

@media (max-width: 780px) {
  .section { padding: var(--sp-5) 0; }
}

/* ---------- Buttons — thin border, architectural, no fill ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, background var(--dur-fast) ease, gap var(--dur-fast) ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--accent); color: var(--accent-bright); gap: 16px; }
.btn-primary { border-color: var(--ink-dim); }
.btn-primary:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-quiet { border-color: transparent; padding-left: 0; padding-right: 0; }
.btn-quiet:hover { border-color: transparent; }
.btn-small { padding: 12px 20px; font-size: 0.72rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 0;
  background: transparent;
  transition: background var(--dur-fast) ease, padding var(--dur-fast) ease, border-color var(--dur-fast) ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 15px 0;
  background: rgba(10, 11, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.logo small {
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 8px;
}
.main-nav {
  display: flex;
  gap: 40px;
  margin: 0 auto;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.main-nav a { position: relative; color: var(--ink-dim); transition: color var(--dur-fast); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a::before {
  content: '';
  position: absolute; left: 0; bottom: -8px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-medium) var(--ease-soft);
}
.main-nav a:hover::before { transform: scaleX(1); }
.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--accent);
}
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
}
.nav-toggle span { display: block; height: 1px; width: 24px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: #000; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,11,10,1) 0%, rgba(10,11,10,0.55) 42%, rgba(10,11,10,0.32) 70%),
    linear-gradient(to right, rgba(10,11,10,0.4) 0%, rgba(10,11,10,0) 55%),
    rgba(10,11,10,0.25);
}
.hero-inner { position: relative; z-index: 1; padding-bottom: 100px; max-width: 900px; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent-bright);
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--ink-dim);
  max-width: 480px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-meta {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  right: var(--gutter); bottom: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.scroll-cue-line {
  width: 1px; height: 52px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: cue-drop 2.4s ease-in-out infinite;
}
@keyframes cue-drop { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
.scroll-cue-text {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}

@media (max-width: 640px) {
  .hero { align-items: flex-end; }
  .hero-inner { padding-bottom: 56px; padding-top: 88px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 20px; }
  .hero-kicker { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 28px; }
  .hero-meta { margin-bottom: 24px; }
  .scroll-cue { display: none; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); animation: reveal-in 1s var(--ease-cine) forwards; }
.hero-sub.reveal { animation-delay: 0.35s; }
.hero-actions.reveal { animation-delay: 0.8s; }
.hero-meta.reveal { animation-delay: 0.65s; }
.hero-kicker.reveal { animation-delay: 0.2s; }
@keyframes reveal-in { to { opacity: 1; transform: translateY(0); } }

/* Headline mask reveal — a thin clip-path wipe rather than a fade, so the
   title feels like it's being revealed by the frame rather than fading in. */
.hero-title.reveal {
  animation: none;
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  animation: hero-mask-reveal var(--motion-cinematic) var(--ease-soft) forwards;
  animation-delay: 0.35s;
}
@keyframes hero-mask-reveal { to { clip-path: inset(0 0% 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-title.reveal { animation: none; clip-path: none; }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-cine), transform var(--dur-slow) var(--ease-cine);
}
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

.media-mask { overflow: hidden; border-radius: var(--media-radius); }
.media-mask img, .media-mask video {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease-cine);
}
.media-mask.revealed img, .media-mask.revealed video { transform: scale(1); }
.media-mask:hover img, .media-mask:hover video { transform: scale(1.035); }
.media-mask.revealed:hover img, .media-mask.revealed:hover video { transform: scale(1.035); }

/* ---------- Philosophy (asymmetric editorial) ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--sp-5);
}
.philosophy-lede {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.22;
  margin: 0;
}
.philosophy-lede em { font-style: italic; color: var(--accent-bright); }
.philosophy-body {
  padding-top: 12px;
}
.philosophy-body p { color: var(--ink-dim); font-size: 1.05rem; max-width: 520px; }
.philosophy-body .label { margin-top: 4px; }

@media (max-width: 900px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
}

/* ---------- Selected Work: poster-style project cards ---------- */
.work-index { display: flex; flex-direction: column; }
.work-poster {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
  align-items: stretch;
}
.work-index .work-poster:last-child { border-bottom: 1px solid var(--line); }
.work-poster-index {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted-dim);
  padding-top: 6px;
}
.work-poster-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  align-items: center;
}
.work-poster-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface);
  position: relative;
  border-radius: var(--media-radius);
}
.work-poster-media img, .work-poster-media video { width: 100%; height: 100%; object-fit: cover; }
.work-poster-text { display: flex; flex-direction: column; justify-content: center; }
.work-poster-cat {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.work-poster-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 12px;
  transition: color var(--dur-fast) ease;
}
.work-poster:hover .work-poster-title { color: var(--accent-bright); }
.work-poster-desc { color: var(--muted); font-size: 0.95rem; max-width: 440px; margin-bottom: 20px; }
.work-poster-link {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap var(--dur-fast) ease, color var(--dur-fast) ease;
}
.work-poster:hover .work-poster-link { gap: 12px; color: var(--ink); }

@media (max-width: 900px) {
  .work-poster { grid-template-columns: 1fr; gap: var(--sp-2); }
  .work-poster-body { grid-template-columns: 1fr; }
}

/* ---------- Services: WHAT WE CREATE ---------- */
.service-set { border-top: 1px solid var(--line); }
.service-item {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1.1fr 1fr;
  gap: var(--sp-4);
}
.service-index {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--muted-dim);
}
.service-title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 14px; }
.service-desc { color: var(--muted); font-size: 0.96rem; max-width: 480px; }
.service-focus { display: flex; flex-wrap: wrap; gap: 8px 10px; align-content: flex-start; }
.chip {
  font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 7px 13px;
}

@media (max-width: 900px) {
  .service-item { grid-template-columns: 1fr; gap: var(--sp-2); }
}

/* ---------- One Story, Many Frames: aspect-ratio cards ---------- */
.frame-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.frame-card {
  background: var(--bg);
  padding: var(--sp-3) var(--sp-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: background var(--dur-fast) ease;
}
.frame-card:hover { background: var(--surface); }
.frame-ratio-box {
  width: 100%;
  border: 1px solid var(--line-strong);
  position: relative;
  margin-bottom: var(--sp-3);
  border-radius: var(--media-radius);
  overflow: hidden;
}
.frame-ratio-16-9 { aspect-ratio: 16/9; }
.frame-ratio-9-16 { aspect-ratio: 9/16; max-width: 60px; margin-left: auto; margin-right: auto; }
.frame-ratio-4-5 { aspect-ratio: 4/5; max-width: 84px; margin-left: auto; margin-right: auto; }
.frame-ratio-21-9 { aspect-ratio: 21/9; }
.frame-ratio-3-2 { aspect-ratio: 3/2; }
.frame-ratio-1-1 { aspect-ratio: 1/1; max-width: 92px; margin-left: auto; margin-right: auto; }
.frame-ratio-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic;
  color: var(--accent-dim);
  font-size: 0.95rem;
}
.frame-name { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; color: var(--ink-dim); }

@media (max-width: 980px) { .frame-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .frame-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Behind the Frame / profile ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--sp-5);
  align-items: start;
}
.profile-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--surface); max-width: 560px; border-radius: var(--media-radius); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy p { color: var(--ink-dim); font-size: 1.02rem; max-width: 560px; }
.profile-copy .label { margin-top: 0; }

.profile-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.profile-strip-item { aspect-ratio: 4/5; overflow: hidden; background: var(--surface); border-radius: var(--media-radius); }
.profile-strip-item img, .profile-strip-item video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .profile-photo { aspect-ratio: 16/10; }
  .profile-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Approach questions ---------- */
.approach-block {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-4) 0;
  margin: var(--sp-4) 0;
}
.approach-block p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 640px;
}
.approach-block p:last-child { margin-bottom: 0; }

/* ---------- Background: SOUND RHYTHM FRAME STORY ---------- */
.word-stack { display: flex; flex-direction: column; gap: 0; }
.word-stack .word {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 9vw, 7rem);
  font-weight: 500;
  line-height: 1.02;
  color: var(--ink-dim);
  border-top: 1px solid var(--line);
  padding: 14px 0;
  transition: color var(--dur-fast) ease;
}
.word-stack .word:last-child { border-bottom: 1px solid var(--line); }
.word-stack .word:hover { color: var(--accent-bright); }
.word-stack .word em { font-style: italic; }

.background-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.background-copy p { color: var(--ink-dim); font-size: 1.02rem; max-width: 520px; }

@media (max-width: 900px) {
  .background-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
}

/* ---------- How We Work: process ---------- */
.process-set { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
}
.process-set .process-item:last-child { border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--font-serif); font-size: 1.4rem; color: var(--accent-dim); }
.process-title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 14px; }
.process-list { color: var(--muted); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 6px 0; }
.process-list span:not(:last-child)::after { content: '\00b7'; margin: 0 10px; color: var(--muted-dim); }
.process-note { color: var(--ink-dim); font-size: 0.98rem; max-width: 620px; }

@media (max-width: 780px) {
  .process-item { grid-template-columns: 1fr; gap: var(--sp-1); }
}

/* ---------- Director-led ---------- */
.director-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.director-media { aspect-ratio: 4/5; overflow: hidden; background: var(--surface); max-width: 480px; justify-self: start; border-radius: var(--media-radius); }
.director-media img, .director-media video { width: 100%; height: 100%; object-fit: cover; }
.director-copy p { color: var(--ink-dim); font-size: 1.02rem; max-width: 520px; }

@media (max-width: 900px) {
  .director-band { grid-template-columns: 1fr; gap: var(--sp-3); }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: var(--sp-7) 0;
  overflow: hidden;
  text-align: center;
}
.cta-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,11,10,0.98), rgba(10,11,10,0.7));
}
.cta-band-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-band-inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 10px 0 24px; }
.cta-band-inner p { color: var(--ink-dim); margin-bottom: var(--sp-3); font-size: 1.05rem; }
.cta-band-inner .hero-actions { justify-content: center; }

@media (max-width: 780px) { .cta-band { padding: var(--sp-6) 0; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--sp-6) 0 var(--sp-3); }
.footer-lede {
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  max-width: 760px;
  margin-bottom: var(--sp-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.footer-col-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
.footer-nav a:hover, .footer-social a:hover { color: var(--accent-bright); }
.footer-social { display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
.footer-location p { color: var(--ink-dim); margin: 0 0 6px; }
.footer-location .muted { color: var(--muted); font-size: 0.88rem; }
.footer-bottom {
  padding-top: var(--sp-3);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: var(--muted-dim); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-2); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 100%;
    height: 100svh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding: 40px var(--gutter);
    transition: right var(--dur-med) var(--ease-cine);
    font-size: 1.6rem;
    font-family: var(--font-serif);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
  }
  .main-nav.open { right: 0; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; z-index: 101; }
}

/* ---------- Gallery / lightbox (shared) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--surface);
  border-radius: var(--media-radius);
}
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-item.span-2 { grid-column: span 1; }
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(6,7,6,0.96);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Page header (interior pages) ---------- */
.page-header { padding: 168px 0 var(--sp-4); }
.page-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 900px;
}
.page-header p.lede {
  color: var(--ink-dim);
  max-width: 560px;
  margin-top: 22px;
  font-size: 1.06rem;
}

/* ---------- Work archive ---------- */
.work-filters {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: var(--sp-3) 0 var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}
.work-filter {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur-fast) ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.work-filter:hover { color: var(--ink); }
.work-filter.active { color: var(--ink); border-bottom-color: var(--accent); }

.work-row {
  display: none;
}
.work-row.is-visible { display: grid; }

/* ---------- Project detail ---------- */
.project-hero { position: relative; min-height: 84vh; display: flex; align-items: flex-end; overflow: hidden; }
.project-hero-bg { position: absolute; inset: 0; background: #000; }
.project-hero-bg img, .project-hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.project-hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,11,10,1) 0%, rgba(10,11,10,0.5) 55%, rgba(10,11,10,0.28) 100%),
    rgba(10,11,10,0.2);
}
.project-hero-inner { position: relative; z-index: 1; padding-bottom: 80px; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.project-hero-inner h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: 900px; margin-bottom: 18px; }

@media (max-width: 640px) {
  .project-hero-inner { padding-bottom: 48px; padding-top: 88px; }
  .project-hero-inner h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
}
.project-meta-row {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim);
}

.project-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-5);
}
.project-notes { color: var(--muted); font-size: 0.95rem; position: sticky; top: 140px; align-self: start; }
.project-notes dt { color: var(--muted-dim); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 20px; }
.project-notes dt:first-child { margin-top: 0; }
.project-notes dd { margin: 6px 0 0; color: var(--ink-dim); }
.project-copy p { color: var(--ink-dim); font-size: 1.05rem; max-width: 620px; }

@media (max-width: 900px) {
  .project-body-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .project-notes { position: static; }
}

.project-stills { display: flex; flex-direction: column; gap: 2px; margin: var(--sp-5) 0; }
.project-still { aspect-ratio: 16/9; overflow: hidden; background: var(--surface); border-radius: var(--media-radius); }
.project-still img, .project-still video { width: 100%; height: 100%; object-fit: cover; }
.project-still-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.project-still-pair .project-still { aspect-ratio: 4/5; }

@media (max-width: 640px) {
  .project-still-pair { grid-template-columns: 1fr; }
}

.project-credits { border-top: 1px solid var(--line); padding-top: var(--sp-3); }
.project-credits dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.project-credits dt { color: var(--muted); font-size: 0.85rem; }
.project-credits dd { margin: 0; color: var(--ink-dim); }

.next-project {
  border-top: 1px solid var(--line);
  padding: var(--sp-5) 0;
  display: block;
}
.next-project-label { color: var(--muted); }
.next-project-title { font-size: clamp(2rem, 6vw, 4rem); margin-top: 14px; transition: color var(--dur-fast) ease; }
.next-project:hover .next-project-title { color: var(--accent-bright); }

/* ---------- Placeholder / coming soon ---------- */
.placeholder-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  border-left: 2px solid var(--accent-dim);
  padding: 10px 18px;
  margin: 0 0 var(--sp-3);
  max-width: 640px;
}
.coming-soon-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 12px;
  border-radius: var(--radius);
}

/* ---------- Contact ---------- */
.contact-hero { position: relative; padding: 200px 0 var(--sp-6); overflow: hidden; }
.contact-hero-bg { position: absolute; inset: 0; z-index: -1; }
.contact-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.contact-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,11,10,0.4), var(--bg) 92%);
}
.contact-hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); max-width: 760px; }
.contact-hero p.lede { max-width: 520px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--sp-5); }
.contact-details { display: flex; flex-direction: column; gap: 28px; margin-top: var(--sp-4); }
.contact-details li { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-details a:hover { color: var(--accent-bright); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row { display: flex; flex-direction: column; gap: 10px; }
.form-row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-row label {
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.form-row .optional { color: var(--muted-dim); text-transform: none; letter-spacing: 0; font-size: 0.78rem; }
.form-row input, .form-row select, .form-row textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 12px 2px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  resize: vertical;
}
.form-row select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9284' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 18px; }
.form-row select option { background: var(--surface); color: var(--ink); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted-dim); }
.form-submit { justify-content: flex-start; margin-top: 8px; align-self: flex-start; }
.form-note { font-size: 0.85rem; color: var(--accent-bright); min-height: 1.2em; margin: 12px 0 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
}
@media (max-width: 560px) {
  .form-row-pair { grid-template-columns: 1fr; }
}

/* ---------- Scroll progress (project pages) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent);
  z-index: 150;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---------- Services page: split & full-bleed treatments ---------- */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: center; }
.split-reverse { grid-template-columns: 1fr 1fr; }
.split-reverse .split-media { order: -1; }
.split-media { aspect-ratio: 3/2; overflow: hidden; background: var(--surface); max-width: 360px; justify-self: start; border-radius: var(--media-radius); }
.split-media.wide { aspect-ratio: 16/10; }
.split-reverse .split-media { justify-self: end; }
.split-media img, .split-media video { width: 100%; height: 100%; object-fit: cover; }
.split-copy .label { margin-top: 0; }
.split-copy h3 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.split-copy p { color: var(--ink-dim); max-width: 480px; }

@media (max-width: 900px) {
  .split-block, .split-reverse { grid-template-columns: 1fr; gap: var(--sp-3); }
  .split-reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 16/10; }
}

.full-bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.full-bleed-media { aspect-ratio: 21/9; overflow: hidden; background: var(--surface); border-radius: var(--media-radius); }
.full-bleed-media img, .full-bleed-media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .full-bleed-media { aspect-ratio: 4/5; } }

.image-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.image-grid-3 .grid-item { aspect-ratio: 3/4; overflow: hidden; background: var(--surface); border-radius: var(--media-radius); }
.image-grid-3 .grid-item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .image-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .image-grid-3 { grid-template-columns: 1fr; } }

/* ---------- Process page ---------- */
.process-detail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--line);
}
.process-detail:last-child { border-bottom: 1px solid var(--line); }
.process-detail-num { font-family: var(--font-serif); font-size: 3rem; color: var(--accent-dim); line-height: 1; }
.process-detail-stage { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.process-detail-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.process-detail-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--sp-4); }
.process-detail-copy p { color: var(--ink-dim); max-width: 480px; }
.process-detail-media { aspect-ratio: 4/3; overflow: hidden; background: var(--surface); max-width: 360px; justify-self: start; border-radius: var(--media-radius); }
.process-detail-media img, .process-detail-media video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .process-detail { grid-template-columns: 1fr; gap: var(--sp-2); }
  .process-detail-body { grid-template-columns: 1fr; }
}

/* ---------- Services: quick nav + connecting throughline ---------- */
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: var(--sp-3) 0 var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.quick-nav a {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur-fast) ease;
}
.quick-nav a:hover { color: var(--accent-bright); }

.timeline-wrap { position: relative; }
.timeline-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.timeline-path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; opacity: 0.5; }
.timeline-wrap .container { position: relative; z-index: 1; }

.numbered-marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--accent);
  margin-bottom: 24px;
  transform: scale(0.7);
  opacity: 0;
  transition: transform var(--dur-med) var(--ease-cine), opacity var(--dur-med) ease;
}
.numbered-marker.revealed { transform: scale(1); opacity: 1; }

/* ---------- Services: objective grid ---------- */
.objective-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.obj-card {
  background: var(--bg);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--dur-fast) ease;
}
.obj-card h3 { font-size: 1.15rem; }
.obj-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.obj-link {
  margin-top: auto; padding-top: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap var(--dur-fast) ease;
}
.obj-card:hover .obj-link { gap: 12px; }

@media (max-width: 780px) { .objective-grid { grid-template-columns: 1fr; } }

/* ---------- Services: filled aspect-ratio deliverable grid ---------- */
.frame-grid-media {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.frame-media-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--media-radius);
}
.frame-media-card img { width: 100%; height: 100%; object-fit: cover; }
.frame-media-badge {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--font-serif); font-style: italic; font-size: 0.82rem;
  color: var(--ink);
  background: rgba(10,11,10,0.55);
  padding: 4px 10px;
  border: 1px solid rgba(242,237,228,0.25);
}
.frame-media-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 980px) { .frame-grid-media { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .frame-grid-media { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Services: distribution chip row ---------- */
.distribution-row { display: flex; flex-wrap: wrap; gap: 10px; }
.distribution-row .chip { padding: 10px 18px; }

/* ==========================================================================
   Homepage refinement pass — hero hierarchy, film modal, service media,
   filled multi-format grid. Scoped to homepage-only classes where noted.
   ========================================================================== */

/* Philosophy -> Selected Work: tightened gap (was 2x --sp-6, now ~20% less) */
#philosophy { padding-bottom: 48px; }

/* ---------- Selected Work: media/text balance + button-based triggers ---------- */
.work-poster-body { grid-template-columns: 1.15fr 1fr; }

.work-poster-media.film-trigger {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.work-poster-link.film-trigger { border: none; background: none; padding: 0; font: inherit; cursor: pointer; }

.work-poster-title a { color: inherit; transition: color var(--dur-fast) ease; }
.work-poster-title { transition: transform var(--dur-fast) ease; }
.work-poster:hover .work-poster-title,
.work-poster:focus-within .work-poster-title { transform: translateX(2px); }
.work-poster:hover .work-poster-title a,
.work-poster:focus-within .work-poster-title a { color: var(--accent-bright); }

/* Quiet, non-CTA status label for in-production work (replaces "Notify Me") */
.work-poster-status {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}

/* ---------- Film modal: screening-room playback for YouTube / local preview ---------- */
.film-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 7, 6, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.film-modal.open { display: flex; }
.film-modal-frame {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16/9;
  background: #000;
}
.film-modal-frame iframe,
.film-modal-frame video {
  width: 100%; height: 100%;
  display: block;
  border: none;
}
.film-modal-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid rgba(242, 237, 228, 0.3);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 11, 10, 0.4);
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.film-modal-close:hover { border-color: var(--accent); color: var(--accent-bright); }

@media (max-width: 780px) {
  .film-modal { padding: 20px; }
  .film-modal-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* ---------- Services (homepage): one image per item + editorial tag line ---------- */
.service-item { grid-template-columns: 90px 1fr 360px; align-items: center; }

.service-focus-inline {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 10px 0 0;
}
.service-focus-inline .dot { color: var(--accent); margin: 0 10px; }

.service-item-media {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--media-radius);
}
.service-item-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .service-item { grid-template-columns: 1fr; gap: var(--sp-3); }
  .service-item-media { max-width: 100%; order: 3; }
}

/* ---------- One Story, Many Frames: filled ratio cards (same production) ---------- */
.frame-card { padding: 0; min-height: 0; background: none; }
.frame-card:hover { background: none; }
.frame-ratio-box { overflow: hidden; position: relative; margin-bottom: 0; }
.frame-ratio-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame-ratio-9-16, .frame-ratio-4-5, .frame-ratio-1-1 { max-width: none; margin-left: 0; margin-right: 0; }

/* ---------- Profile portrait: future-ready reframing hook ---------- */
.profile-photo img { object-position: var(--profile-pos, center); }

/* ==========================================================================
   Editorial media — large single-image "film frame" treatment.
   One strong image at scale, no border/shadow/rounding, cover-fit, optional
   caption. Used for sequential large-image storytelling (About page, and
   anywhere a thumbnail grid would otherwise compete for attention).
   ========================================================================== */
.media-solo {
  max-width: 400px;
  margin: 0 auto;
}
.media-solo.size-hero { max-width: 1040px; }
.media-solo.size-large { max-width: 60vw; }
.media-solo.align-left { margin-left: 0; }
.media-solo.align-right { margin-right: 0; }

.editorial-media {
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--media-radius);
}
.editorial-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ratio-3-2 { aspect-ratio: 3/2; }
.ratio-16-10 { aspect-ratio: 16/10; }
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-4-5 { aspect-ratio: 4/5; }
.ratio-21-9 { aspect-ratio: 21/9; }

.media-caption {
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.media-caption.center { text-align: center; }

@media (max-width: 900px) {
  .media-solo, .media-solo.size-hero, .media-solo.size-large { max-width: 100%; }
}

/* ---------- Service card grid: small uniform thumbnail + title + copy ---------- */
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3) var(--sp-3);
}
.service-card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--surface); margin-bottom: 16px; border-radius: var(--media-radius); }
.service-card-media img, .service-card-media video { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }

@media (max-width: 900px) { .service-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-card-grid { grid-template-columns: 1fr; } }

/* ---------- Dominant + supporting image pair (replaces 3-up thumbnail grids) ---------- */
.media-duo {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--sp-3);
  align-items: end;
}
.media-duo .editorial-media.supporting { align-self: end; }
@media (max-width: 780px) {
  .media-duo { grid-template-columns: 1fr; }
}

/* ---------- About page: sequential sections, generous rhythm ---------- */
.about-copy-block { max-width: 640px; }
.about-copy-block.center { margin: 0 auto; text-align: center; }
.about-copy-block p { color: var(--ink-dim); font-size: 1.02rem; }

/* ---------- Legacy: Journal / blog pages ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--media-radius);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.post-card-img { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--media-radius); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.post-card h3 { font-size: 1.25rem; line-height: 1.25; }
.post-excerpt { color: var(--muted); font-size: 0.92rem; margin: 0; }
.post-meta { font-size: 0.8rem; color: var(--muted); margin-top: auto; padding-top: 14px; }

@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.article-header { padding: 168px 0 0; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.9rem; margin-bottom: 28px;
  transition: color var(--dur-fast) ease;
}
.back-link:hover { color: var(--accent-bright); }
.article-header .post-tag { display: block; margin-bottom: 14px; }
.article-header h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); max-width: 800px; }
.article-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.9rem;
  margin-top: 20px; margin-bottom: 40px;
}
.article-cover { width: 100%; aspect-ratio: 16/8; overflow: hidden; margin-bottom: var(--sp-5); border-radius: var(--media-radius); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; margin: 0 auto; padding-bottom: var(--sp-6); font-size: 1.08rem; line-height: 1.85; }
.article-body p { margin: 0 0 1.4em; color: var(--ink-dim); }
.article-body h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 1.8em 0 0.7em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em 1.3em; color: var(--ink-dim); }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: var(--accent-bright); }
.article-footer { max-width: 720px; margin: 0 auto; padding-bottom: var(--sp-6); }

/* ==========================================================================
   Motion system — signature graphic language.
   Camera-like motion only: reveals, masks, line growth. No bounce, no 3D,
   no scroll-hijacking. Everything here respects prefers-reduced-motion via
   the global rule at the top of this file plus JS-added "revealed"/"in-view"
   classes (main.js) that fire once per element on IntersectionObserver.
   ========================================================================== */

/* ---------- RevealLine: thin line that grows in, used as a section seam ---------- */
.reveal-line {
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-cinematic) var(--ease-soft);
}
.reveal-line.vertical {
  width: 1px; height: 64px;
  background: var(--accent-dim);
  transform: scaleY(0);
  transform-origin: top;
  margin: var(--sp-3) auto;
}
.reveal-line.revealed { transform: none; }

/* ---------- Scroll progress: 1px edge indicator for long narrative pages ---------- */
.scroll-progress-edge {
  position: fixed;
  top: 0; right: 0;
  width: 2px; height: 100vh;
  z-index: 150;
  pointer-events: none;
}
.scroll-progress-edge::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: var(--progress, 0%);
  background: var(--accent);
  opacity: 0.6;
}
@media (max-width: 780px) { .scroll-progress-edge { display: none; } }

/* ---------- Word reveal: sequential editorial words (OBSERVE section) ---------- */
.word-reveal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--ink-dim);
}
.word-reveal-row .word-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--motion-slow) var(--ease-soft), transform var(--motion-slow) var(--ease-soft);
}
.word-reveal-row .word-item::after {
  content: '\00b7';
  margin: 0 16px;
  color: var(--accent-dim);
  font-style: normal;
}
.word-reveal-row .word-item:last-child::after { content: ''; margin: 0; }
.word-reveal-row.revealed .word-item { opacity: 1; transform: translateY(0); }
.word-reveal-row.revealed .word-item:nth-child(1) { transition-delay: 0ms; }
.word-reveal-row.revealed .word-item:nth-child(2) { transition-delay: 120ms; }
.word-reveal-row.revealed .word-item:nth-child(3) { transition-delay: 240ms; }
.word-reveal-row.revealed .word-item:nth-child(4) { transition-delay: 360ms; }
.word-reveal-row.revealed .word-item:nth-child(5) { transition-delay: 480ms; }

/* ---------- Two-phase quote reveal (Philosophy section) ---------- */
.quote-phase {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--motion-slow) var(--ease-soft), transform var(--motion-slow) var(--ease-soft);
}
.quote-phase.revealed { opacity: 1; transform: translateY(0); }
.quote-phase.phase-2 { transition-delay: 450ms; }

/* ---------- FrameReveal: the Yield & Frame signature animation ----------
   Four corner marks move inward and fade in; once formed, the media inside
   fades in; metadata follows last. Triggered once via IntersectionObserver
   (see initFrameReveal in main.js). Reduced motion: everything appears
   immediately, no corner travel. */
.frame-reveal {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.frame-reveal-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--media-radius);
  opacity: 0;
  transition: opacity var(--motion-cinematic) var(--ease-soft);
  transition-delay: 500ms;
}
.frame-reveal.revealed .frame-reveal-media { opacity: 1; }
.frame-reveal-media img, .frame-reveal-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.frame-corner {
  position: absolute;
  width: 32px; height: 32px;
  z-index: 2;
  opacity: 0;
  transition: transform var(--motion-slow) var(--ease-soft), opacity var(--motion-medium) var(--ease-soft);
}
.frame-corner::before, .frame-corner::after { content: ''; position: absolute; background: var(--accent); }
.frame-corner::before { width: 100%; height: 1px; }
.frame-corner::after { width: 1px; height: 100%; }

.frame-corner.tl { top: -1px; left: -1px; transform: translate(-22px, -22px); }
.frame-corner.tl::before, .frame-corner.tl::after { top: 0; left: 0; }
.frame-corner.tr { top: -1px; right: -1px; transform: translate(22px, -22px); }
.frame-corner.tr::before { top: 0; right: 0; }
.frame-corner.tr::after { top: 0; right: 0; }
.frame-corner.bl { bottom: -1px; left: -1px; transform: translate(-22px, 22px); }
.frame-corner.bl::before { bottom: 0; left: 0; }
.frame-corner.bl::after { bottom: 0; left: 0; }
.frame-corner.br { bottom: -1px; right: -1px; transform: translate(22px, 22px); }
.frame-corner.br::before { bottom: 0; right: 0; }
.frame-corner.br::after { bottom: 0; right: 0; }

.frame-reveal.revealed .frame-corner { transform: translate(0, 0); opacity: 1; }
.frame-reveal.revealed .frame-corner.tr { transition-delay: 90ms; }
.frame-reveal.revealed .frame-corner.bl { transition-delay: 180ms; }
.frame-reveal.revealed .frame-corner.br { transition-delay: 270ms; }

.frame-reveal-meta {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--motion-medium) var(--ease-soft), transform var(--motion-medium) var(--ease-soft);
  transition-delay: 750ms;
}
.frame-reveal.revealed .frame-reveal-meta { opacity: 1; transform: translateY(0); }
.frame-reveal-meta .label-main { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.frame-reveal-meta .label-sub { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Crew layers (Shoot section): sequential label reveal ---------- */
.crew-layers { display: flex; flex-direction: column; gap: 14px; margin-top: var(--sp-3); }
.crew-layer {
  display: flex; align-items: baseline; gap: 14px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity var(--motion-medium) var(--ease-soft), transform var(--motion-medium) var(--ease-soft);
}
.crew-layers.revealed .crew-layer { opacity: 1; transform: translateX(0); }
.crew-layers.revealed .crew-layer:nth-child(1) { transition-delay: 0ms; }
.crew-layers.revealed .crew-layer:nth-child(2) { transition-delay: 150ms; }
.crew-layers.revealed .crew-layer:nth-child(3) { transition-delay: 300ms; }
.crew-layers.revealed .crew-layer:nth-child(4) { transition-delay: 450ms; }
.crew-layer-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); width: 70px; flex-shrink: 0; }
.crew-layer-role { font-size: 0.92rem; color: var(--ink-dim); }
.crew-layer.optional .crew-layer-tag { color: var(--muted-dim); }

/* ---------- Crew Scale: animated capacity bars (director-led, production scales) ---------- */
.crew-scale { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-4); max-width: 420px; }
.crew-scale-row:not(:last-child) { padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line); }
.crew-scale-bar { display: flex; gap: 4px; margin-bottom: 12px; }
.crew-scale-bar .segment {
  --i: 0;
  flex: 1;
  height: 5px;
  background: var(--line-strong);
  opacity: 0;
  transition: opacity var(--motion-medium) var(--ease-soft), background var(--motion-medium) var(--ease-soft);
  transition-delay: calc((var(--row, 0) * 6 + var(--i)) * 55ms);
}
.crew-scale.revealed .segment { opacity: 1; }
.crew-scale.revealed .segment.filled { background: var(--accent); }
.crew-scale-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.crew-scale-desc { color: var(--muted); font-size: 0.86rem; margin: 0; }

/* ---------- Format expansion (One Story, Many Frames / Build) ---------- */
.format-expand {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2);
}
.format-expand .frame-card {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity var(--motion-slow) var(--ease-soft), transform var(--motion-slow) var(--ease-soft);
}
.format-expand.revealed .frame-card { opacity: 1; transform: scale(1); }
.format-expand .frame-card { flex: 0 1 200px; }
.format-expand .frame-card.primary { order: -1; flex-basis: 100%; max-width: 560px; margin: 0 auto var(--sp-3); }
.format-expand.revealed .frame-card:nth-child(2) { transition-delay: 80ms; }
.format-expand.revealed .frame-card:nth-child(3) { transition-delay: 160ms; }
.format-expand.revealed .frame-card:nth-child(4) { transition-delay: 240ms; }
.format-expand.revealed .frame-card:nth-child(5) { transition-delay: 320ms; }
.format-expand.revealed .frame-card:nth-child(6) { transition-delay: 400ms; }

/* ---------- Project number reveal rule (Selected Work) ---------- */
.work-poster-index { position: relative; display: inline-block; padding-bottom: 10px; }
.work-poster-index::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 18px; height: 1px;
  background: var(--accent-dim);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-medium) var(--ease-soft);
  transition-delay: 200ms;
}
.work-poster.revealed .work-poster-index::after { transform: scaleX(1); }

/* ---------- Oversized background word (used once or twice per page) ---------- */
.ghost-word {
  position: absolute;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 22vw, 16rem);
  color: var(--ink);
  opacity: 0.035;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: transform var(--motion-cinematic) linear;
}
.ghost-word.shift { transform: translateX(4%); }

@media (prefers-reduced-motion: reduce) {
  .frame-corner, .frame-reveal-media, .frame-reveal-meta,
  .word-reveal-row .word-item, .quote-phase, .crew-layer,
  .format-expand .frame-card, .reveal-line, .work-poster-index::after,
  .ghost-word, .crew-scale .segment {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .ghost-word { opacity: 0.035 !important; }
}

/* Silent YouTube preview inside a poster (scaled up to crop YouTube's title bar) */
.yt-preview-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.7);
  transition: opacity 0.8s ease;
}
.yt-preview-frame.ready { opacity: 1; }

/* Footer legal block: copyright with a Privacy link beneath */
.footer-legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.footer-legal span { color: var(--muted-dim); font-size: 0.8rem; }
.footer-legal a { font-size: 0.8rem; color: var(--muted-dim); transition: color var(--dur-fast) ease; }
.footer-legal a:hover { color: var(--accent-bright); }

/* Contact form: honeypot, privacy line, and success state */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.form-note.is-error { color: #d98b7a; }
.form-privacy { font-size: 0.78rem; color: var(--muted-dim); margin: 14px 0 0; max-width: 460px; }
.form-privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-privacy a:hover { color: var(--accent-bright); }
.form-success { padding-top: var(--sp-3); }
.form-success h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.form-success p { color: var(--ink-dim); margin-bottom: var(--sp-3); }
