/* ═══════════════════════════════════════════════════════════════
   NOMADS — EXPERIENCE CENTER · Design System
   Two themes: nomads (silver/cinematic) & wayfare (gold/editorial)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-block: 'Michroma', sans-serif;

  --bg: #08080a;
  --bg-soft: #0d0d11;
  --bg-raised: #121218;
  --ink: #f4efe6;
  --ink-dim: rgba(244, 239, 230, 0.62);
  --ink-faint: rgba(244, 239, 230, 0.34);
  --line: rgba(244, 239, 230, 0.1);
  --grain-opacity: 0.07;

  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
  --header-h: 76px;
  --maxw: 1240px;
}

/* Theme: Nomads Productions — silver, cinematic, letterboxed */
body[data-theme="nomads"] {
  --accent: #c9ccd4;
  --accent-strong: #ffffff;
  --accent-dim: rgba(201, 204, 212, 0.16);
  --accent-line: rgba(201, 204, 212, 0.34);
  --accent-text: #a9adb8;
  --gold: #FEBE10; /* keeps small warm echoes */
  --theme-tint: rgba(180, 186, 200, 0.05);
}

/* Theme: Wayfare Nomads — signature gold (#FEBE10), editorial, warm.
   The brand yellow-gold with a lighter champagne highlight for
   hovers/pressed states. */
body[data-theme="wayfare"] {
  --accent: #FEBE10;
  --accent-strong: #FFD75E;
  --accent-dim: rgba(254, 190, 16, 0.14);
  --accent-line: rgba(254, 190, 16, 0.4);
  --accent-text: #FEBE10;
  --gold: #FEBE10;
  --theme-tint: rgba(254, 190, 16, 0.04);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  transition: background 0.8s var(--ease), color 0.8s var(--ease);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: monospace; font-size: 0.85em; background: var(--theme-tint); padding: 0.1em 0.4em; border-radius: 3px; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--accent); color: #000; padding: 10px 16px; font-size: 14px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ── Film grain overlay ───────────────────────────────────────── */
.film-grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-3%, -6%); }
  30% { transform: translate(4%, -2%); }
  50% { transform: translate(-4%, 5%); }
  70% { transform: translate(3%, 3%); }
  90% { transform: translate(-2%, 6%); }
}

/* ── Cursor glow (desktop only) ───────────────────────────────── */
.cursor-glow {
  position: fixed; width: 420px; height: 420px; z-index: 5;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, var(--theme-tint) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s var(--ease);
  opacity: 0;
}
@media (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

/* ── Header ───────────────────────────────────────────────────── */
/* The bar is always a solid dark strip — no transparent/partial
   state, so it never reads as a "half" header on any device. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), transform 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 100%;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark {
  font-family: var(--font-block); font-size: 16px; letter-spacing: 0.18em;
  color: var(--accent-strong);
  transition: color 0.6s var(--ease);
}
.brand-sub { font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-faint); }

.site-nav { display: flex; gap: 34px; }
.nav-link {
  position: relative; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); padding: 6px 0; transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--accent-strong); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-right { display: flex; align-items: center; gap: 18px; }
.brand-switch {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
}
.switch-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); padding: 0 8px; }
.switch-btn {
  font-family: var(--font-block); font-size: 10.5px; letter-spacing: 0.1em;
  padding: 6px 12px; border-radius: 999px; color: var(--ink-faint);
  border: 1px solid transparent; transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.switch-btn:hover { color: var(--ink); border-color: var(--line); }
.switch-btn[aria-pressed="true"] {
  background: var(--accent); color: #000; border-color: var(--accent);
}

/* Header responsiveness — keeps the bar aligned on small screens
   (nav wraps under, switch tucks right, nothing clips). */
@media (max-width: 1080px) {
  .site-nav { gap: 22px; }
  .nav-link { font-size: 11px; letter-spacing: 0.12em; }
}
@media (max-width: 860px) {
  /* two-row header — bump the spacing var so hero/anchors clear it */
  :root { --header-h: 118px; }
  .header-inner { flex-wrap: wrap; gap: 10px 16px; padding: 12px 0; }
  .site-header { height: auto; }
  .brand-sub { font-size: 8px; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; }
  .nav-link { font-size: 10.5px; letter-spacing: 0.1em; white-space: nowrap; }
  .header-right { order: 2; margin-left: auto; }
  .brand { order: 1; }
}
@media (max-width: 560px) {
  .header-inner { gap: 8px 10px; }
  .brand-mark { font-size: 14px; letter-spacing: 0.14em; }
  .brand-sub { font-size: 7.5px; letter-spacing: 0.26em; }
  .nav-link { font-size: 9.5px; letter-spacing: 0.08em; }
  .switch-label { display: none; }
  .switch-btn { padding: 5px 10px; font-size: 9.5px; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 75% -10%, var(--theme-tint), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, var(--theme-tint), transparent 55%),
    var(--bg);
  transition: background 0.8s var(--ease);
}

.hero-inner { position: relative; z-index: 3; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--accent-line); }

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300; line-height: 0.98;
  margin-bottom: 28px;
}
.t-ghost {
  display: block;
  font-family: var(--font-block);
  font-size: clamp(80px, 16vw, 200px);
  letter-spacing: 0.06em; line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-faint);
  opacity: 0.5;
  user-select: none;
}
.t-main {
  display: block;
  font-size: clamp(38px, 7vw, 84px);
  font-style: italic;
  font-weight: 400;
  margin-top: 6px;
}
.t-main em { font-style: italic; color: var(--accent); }

.hero-lede {
  max-width: 560px; font-size: 17px; font-weight: 300;
  color: var(--ink-dim); margin-bottom: 40px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-size: 12.5px; letter-spacing: 0.18em;
  text-transform: uppercase; border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.35s var(--ease); position: relative; overflow: hidden;
}
.btn--primary {
  background: var(--accent); color: #0a0a0a; font-weight: 500;
}
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 14px 40px -12px var(--accent-line); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent-line); color: var(--accent-strong); transform: translateY(-2px); }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--ink-faint); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(var(--accent-line), transparent);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero media for brands */
.film-logo, .wayfare-logo { margin-bottom: 34px; }
.film-logo img { width: clamp(150px, 22vw, 240px); filter: drop-shadow(0 18px 60px rgba(0,0,0,0.5)); }

.wayfare-logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 0.9; }
.wf-name {
  font-family: var(--font-serif); font-size: clamp(64px, 11vw, 128px);
  font-weight: 400; font-style: italic; letter-spacing: -0.01em; color: var(--ink);
}
.wf-sub {
  font-family: var(--font-serif); font-size: clamp(30px, 5vw, 56px);
  font-weight: 400; letter-spacing: 0.12em; color: var(--accent);
  align-self: flex-end; margin-top: -6px; transform: translateX(12px);
}
.hero-title--wayfare .t-main { margin-top: 26px; }

/* ── Studios (gateway) ────────────────────────────────────────── */
.studios { padding: 130px 0 60px; }
.section-head { margin-bottom: 56px; }
.section-title {
  font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.02; font-style: italic;
}
.section-title em { color: var(--accent); }

.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.studio-card {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg-raised);
  min-height: 560px;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.studio-card:hover { border-color: var(--accent-line); transform: translateY(-6px); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8); }

.studio-card-media {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(700px 500px at 50% 30%, var(--theme-tint), transparent 65%),
    var(--bg-raised);
  transition: transform 1.2s var(--ease);
}
.studio-card:hover .studio-card-media { transform: scale(1.04); }
.studio-card-media img { width: min(300px, 52%); filter: drop-shadow(0 24px 70px rgba(0,0,0,0.6)); }

.studio-card-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 34px 34px 30px;
  background: linear-gradient(to top, rgba(5,5,7,0.95) 40%, transparent);
}
.studio-type { font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.studio-name { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; line-height: 0.95; margin-bottom: 12px; }
.studio-card--wayfare .studio-name em { font-style: italic; color: var(--accent); }
.studio-desc { font-size: 14px; color: var(--ink-dim); margin-bottom: 18px; }
.studio-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.studio-cta i { font-style: normal; transition: transform 0.3s var(--ease); }
.studio-card:hover .studio-cta i { transform: translateX(6px); }

@media (max-width: 860px) { .studio-grid { grid-template-columns: 1fr; } .studio-card { min-height: 460px; } }

/* ── Manifesto ────────────────────────────────────────────────── */
.manifesto { padding: 120px 0; }
.manifesto-quote {
  font-family: var(--font-serif); font-size: clamp(30px, 5.4vw, 64px);
  font-weight: 300; font-style: italic; line-height: 1.12;
  max-width: 900px; margin-bottom: 34px;
}
.manifesto-text { max-width: 620px; color: var(--ink-dim); font-size: 16px; margin-bottom: 60px; }
.manifesto-stats { display: flex; gap: 70px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-serif); font-size: 64px; font-weight: 300; color: var(--accent); line-height: 1; }
.stat-label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); }

/* ── Marquee ──────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; background: var(--bg-soft);
}
.marquee-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span {
  font-family: var(--font-block); font-size: 15px; letter-spacing: 0.22em; color: var(--ink-dim);
}
.marquee-track i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections shared ──────────────────────────────────────────── */
section { position: relative; }
.film-feature, .showcase, .services, .cta-band, .locations { padding: 120px 0; }

/* Skip paint work for below-the-fold sections until they're near
   the viewport — big paint/scroll win on long pages. */
.studios, .manifesto, .marquee, .film-feature, .filmography,
.services, .showcase, .locations, .cta-band, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ── Film player ──────────────────────────────────────────────── */
.player-wrap { margin-top: 10px; }
.player {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #000; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line);
}
.player-poster {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(700px 400px at 60% 20%, var(--theme-tint), transparent 60%),
    linear-gradient(160deg, #0c0c10, #050507 70%);
}
.player-poster-inner { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; }
.player-play {
  width: 92px; height: 92px; border-radius: 50%;
  border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0;
  transition: all 0.4s var(--ease);
  background: var(--accent-dim);
}
.player-play:hover { background: var(--accent); color: #000; transform: scale(1.08); box-shadow: 0 0 60px -8px var(--accent-line); }
.player-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; padding: 20px 26px;
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint);
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.player.is-loading .player-frame::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, var(--theme-tint), transparent 70%);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.player-blocked {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(160deg, #0c0c10, #050507 70%);
  text-align: center; padding: 30px;
}
.player-blocked-mark {
  font-family: var(--font-block); font-size: 12px; letter-spacing: 0.4em; color: #ff4d4d;
}
.player-blocked-text { font-size: 14px; color: var(--ink-dim); }
.player-blocked-text a { color: var(--accent); border-bottom: 1px solid var(--accent-line); padding-bottom: 2px; }

.player--pending .player-pending-mark {
  font-family: var(--font-block); font-size: 13px; letter-spacing: 0.4em; color: #ff4d4d;
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.15; } }
.player-pending-text { text-align: center; font-size: 14px; color: var(--ink-dim); }
.player-pending-text small { color: var(--ink-faint); }

.film-logline { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.film-logline p { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 3vw, 30px); color: var(--ink-dim); max-width: 760px; }
.film-year { font-family: var(--font-block); font-size: 12px; letter-spacing: 0.3em; color: var(--accent); }

.player-fallback {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
}
.player-fallback-note { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.player-fallback .btn { padding: 10px 22px; font-size: 11px; }

/* ── Film grid ────────────────────────────────────────────────── */
.film-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1020px) { .film-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .film-grid { grid-template-columns: 1fr; } }

.film-card { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg-raised); transition: border-color 0.4s var(--ease), transform 0.5s var(--ease); display: block; }
.film-card--link { text-decoration: none; color: inherit; }
.film-card:hover { border-color: var(--accent-line); transform: translateY(-5px); }
.film-card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.film-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.film-card:hover .film-card-media img { transform: scale(1.06); }
.film-card-status {
  position: absolute; top: 14px; left: 14px;
  font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase;
  background: rgba(0,0,0,0.72); border: 1px solid var(--accent-line);
  color: var(--accent-strong); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.film-card-body { padding: 20px 22px 24px; }
.film-card-title { font-family: var(--font-serif); font-size: 24px; font-weight: 400; margin-bottom: 4px; }
.film-card-role { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }

/* ── Locations ────────────────────────────────────────────────── */
.locations { padding-top: 70px; padding-bottom: 0; }
.location-row { display: flex; flex-wrap: wrap; gap: 14px 8px; align-items: center; }
.location-chip {
  font-family: var(--font-serif); font-size: clamp(26px, 4.4vw, 48px); font-weight: 300;
  color: var(--ink-dim); display: inline-flex; align-items: center; gap: 18px;
}
.location-chip i { font-style: normal; color: var(--accent); font-size: 18px; }

/* ── Work grid (Wayfare) ──────────────────────────────────────── */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 1020px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

.work-card { margin: 0; display: block; }
.work-card--link { text-decoration: none; color: inherit; }
.work-card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.work-card:hover .work-card-media img { transform: scale(1.07); }
.work-card-caption {
  position: absolute; inset: auto 0 0 0; padding: 26px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  opacity: 0; transform: translateY(14px);
  transition: all 0.5s var(--ease);
}
.work-card:hover .work-card-caption { opacity: 1; transform: translateY(0); }
/* On touch devices there is no hover — keep captions readable. */
@media (hover: none) {
  .work-card-caption { opacity: 1; transform: none; }
}
.work-card-cat { display: block; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.work-card-title { font-family: var(--font-serif); font-size: 26px; font-weight: 400; }

/* ── Services ─────────────────────────────────────────────────── */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 24px; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.service-row:hover { background: var(--theme-tint); padding-left: 18px; padding-right: 18px; }
.service-index { font-family: var(--font-block); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); }
.service-name { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 400; }
.service-desc { color: var(--ink-dim); font-size: 15px; }
@media (max-width: 820px) { .service-row { grid-template-columns: 60px 1fr; } .service-desc { grid-column: 2; } }

/* ── CTA band ─────────────────────────────────────────────────── */
.cta-band { background: var(--theme-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-inner { text-align: center; padding: 40px 0 10px; }
.cta-title {
  font-family: var(--font-serif); font-size: clamp(34px, 6vw, 72px);
  font-weight: 300; font-style: italic; margin-bottom: 18px;
}
.cta-text { max-width: 560px; margin: 0 auto 40px; color: var(--ink-dim); }
.cta-band .hero-cta { justify-content: center; }

/* ── Contact section ──────────────────────────────────────────── */
.contact { padding: 130px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }

.contact-title {
  font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05; font-style: italic; margin-bottom: 20px;
}
.contact-title em { color: var(--accent); }
.contact-lede { color: var(--ink-dim); font-size: 16px; max-width: 460px; margin-bottom: 36px; }

.contact-channels { display: flex; flex-direction: column; gap: 4px; margin-bottom: 30px; }
.contact-channel {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), padding 0.4s var(--ease);
}
.contact-channel:hover { border-color: var(--accent-line); padding-left: 10px; padding-right: 10px; }
.cc-name { font-family: var(--font-serif); font-size: 24px; font-weight: 400; }
.cc-link { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.contact-areas { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); line-height: 1.9; }

.contact-form-wrap {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 6px;
  padding: 36px 34px;
}
.contact-flash {
  padding: 13px 18px; border-radius: 6px; font-size: 14px; margin-bottom: 22px;
  border: 1px solid;
}
.contact-flash.is-ok  { background: rgba(80, 200, 120, 0.1);  border-color: rgba(80, 200, 120, 0.4);  color: #7fd9a3; }
.contact-flash.is-err { background: rgba(255, 77, 77, 0.1);   border-color: rgba(255, 77, 77, 0.4);   color: #ff9d9d; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-field label { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }
.cf-opt { color: var(--ink-faint); text-transform: none; letter-spacing: 0.04em; }
.cf-field input,
.cf-field textarea,
.cf-field select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  padding: 13px 14px; border-radius: 4px; font-size: 15px; font-family: inherit;
  transition: border-color 0.3s var(--ease); outline: none; resize: vertical;
}
.cf-field input:focus,
.cf-field textarea:focus,
.cf-field select:focus { border-color: var(--accent-line); }
.cf-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%), linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.cf-field input[type="file"] { padding: 10px 14px; cursor: pointer; }
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--ink-faint); }

.cf-brand { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-brand-opt { position: relative; cursor: pointer; }
.cf-brand-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cf-brand-opt span {
  display: inline-block; padding: 9px 16px; font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-dim); transition: all 0.3s var(--ease);
}
.cf-brand-opt input:checked + span { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }
.cf-brand-opt:hover span { border-color: var(--accent-line); color: var(--ink); }
.cf-brand-opt:focus-within span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* honeypot: visually hidden, bots fill it, humans never see it */
.hp-field {
  position: absolute !important; left: -9999px !important; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.contact-form .btn i { font-style: normal; transition: transform 0.3s var(--ease); }
.contact-form .btn:hover i { transform: translateX(6px); }

/* client-side validation: inline field errors + toast */
.cf-field.has-error input,
.cf-field.has-error textarea,
.cf-field.has-error select { border-color: rgba(255, 99, 99, 0.7); }
.cf-error {
  font-size: 12.5px; line-height: 1.5; color: #ff9d9d;
  letter-spacing: 0.02em;
}
.cf-toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 300;
  max-width: min(380px, calc(100vw - 48px));
  background: #15151b; border: 1px solid rgba(255, 99, 99, 0.55);
  color: #ffb4b4; padding: 14px 18px; border-radius: 6px;
  font-size: 14px; line-height: 1.5;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  transform: translateY(14px); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.cf-toast.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer { position: relative; padding: 90px 0 40px; background: var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
.footer-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(800px 300px at 20% 0%, var(--theme-tint), transparent 60%);
}
.footer-inner { position: relative; z-index: 2; }
.footer-brand { margin-bottom: 56px; }
.footer-wordmark {
  font-family: var(--font-block); font-size: clamp(40px, 7vw, 84px);
  letter-spacing: 0.08em; color: transparent; -webkit-text-stroke: 1px var(--accent-line);
  transition: -webkit-text-stroke-color 0.6s var(--ease);
}
.footer-tag { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--ink-dim); margin-top: 8px; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-bottom: 64px; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-h { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer-text { font-size: 14px; color: var(--ink-dim); margin-bottom: 12px; max-width: 300px; }
.footer-link {
  font-size: 13px; color: var(--ink); letter-spacing: 0.04em;
  border-bottom: 1px solid var(--accent-line); padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-link:hover { color: var(--accent-strong); border-color: var(--accent); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.06em; color: var(--ink-faint);
}
.footer-nowrap { color: var(--accent-text); letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.footer-admin {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
  border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-admin:hover { color: var(--accent); border-color: var(--accent-line); }

/* ── Reveal animations ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--rd, 0) * 120ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* theme accent transitions */
.eyebrow, .section-title em, .studio-type, .studio-cta, .stat-num,
.film-year, .work-card-cat, .service-index, .footer-h,
.switch-btn[aria-pressed="true"], .location-chip i, .wf-sub, .t-main em {
  transition: color 0.8s var(--ease), background-color 0.8s var(--ease), border-color 0.8s var(--ease);
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .film-grain { animation: none; }
}
