/* =========================================================
   SILVER SAIL ENTERTAINMENT
   Vanilla CSS — one stylesheet for all pages.
   Aesthetic: A24 / Neon / Bosque Ranch — dark, cinematic,
   metallic silver identity + a single warm Texas gold.
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Core palette */
  --ink:        #0a0a0b;   /* deepest black (page) */
  --ink-2:      #0e0e10;   /* section alt */
  --surface:    #141417;   /* cards */
  --surface-2:  #1b1b1f;   /* raised cards */
  --line:       #26262b;   /* hairlines */
  --line-soft:  #1d1d21;

  /* Type */
  --bone:       #f4f4f3;   /* primary text */
  --ash:        #cbccd0;   /* muted text — brightened for readability */
  --ash-dim:    #6a6a72;   /* faint labels */

  /* Accents */
  --silver:     #cfd3d8;   /* metallic silver */
  --silver-hi:  #ffffff;
  --silver-lo:  #8a8e95;
  --gold:       #c4a05a;   /* single warm gold */
  --gold-hi:    #e2c585;
  --gold-deep:  #9a7a3e;

  /* Metallic gradients */
  --grad-silver: linear-gradient(180deg, #ffffff 0%, #fafbfc 58%, #ecedf0 100%);
  --grad-gold:   linear-gradient(180deg, #f0d79d 0%, #c4a05a 55%, #8f6f33 100%);

  /* Layout */
  --maxw: 1320px;
  --gut: clamp(1.25rem, 4vw, 4rem);
  --radius: 4px;

  /* Type families
     CURRENT: Bebas Neue + Archivo (tall all-caps theatrical title-card headlines + clean
     grotesk body; chosen 2026-06-26). Headlines = --serif (Bebas Neue is caps-only display),
     body/UI = --sans (Archivo). Prior options: Cinzel+Cormorant, Rye+Archivo, Fraunces+Inter.
     To switch fonts, change the two lines below AND the Google Fonts <link> on every page. */
  --serif: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --sans:  "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

/* Fine grain texture overlay (cinematic) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.0; letter-spacing: 0.015em; }
.display {
  font-size: clamp(2.8rem, 8.5vw, 7.5rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.silver-text {
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--bone); line-height: 1.65; max-width: 60ch; }

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(4.5rem, 11vw, 9rem); }
.section.tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section.alt { background: var(--ink-2); }
.divider { height: 1px; background: var(--line-soft); border: 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--bone); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hi); }
.btn-gold { background: var(--grad-gold); color: var(--ink); }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--silver); background: rgba(255,255,255,0.04); }

/* ---------- UTILITY BAR ---------- */
.utility {
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dim);
}
.utility-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.55rem var(--gut);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.utility a:hover { color: var(--silver); }
.utility .dot { color: var(--gold); }
@media (max-width: 720px) { .utility-inner .u-hide { display: none; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}
/* Clear over the hero, then fades into a frosted dark gradient bar once scrolled
   (matches silversailstudios.com). Scroll state toggled in script.js (>12px). */
.nav.scrolled {
  background: linear-gradient(180deg, rgba(10,10,11,0.94) 0%, rgba(10,10,11,0.66) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; line-height: 1; margin-left: -0.85rem; }
.brand .mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand .sub {
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ash-dim);
  display: block;
  margin-top: 0.3rem;
}
.brand-logo { display: block; height: 114px; width: auto; }
@media (max-width: 920px) { .brand-logo { height: 80px; } }
.nav-links { display: flex; align-items: center; gap: 2.1rem; }
/* Desktop: center the nav tabs in the bar (logo stays left, Inquire right) */
@media (min-width: 921px) {
  .nav-inner { position: relative; }
  .nav-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}
.nav-links a {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  position: relative;
  padding: 0.3rem 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--bone); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
/* Inquire CTA — filled gold so it stands out against the transparent nav */
.nav-cta { padding: 0.82rem 1.7rem; font-size: 0.84rem; background: var(--grad-gold); color: var(--ink); border-color: transparent; box-shadow: 0 6px 22px -8px rgba(196,160,90,0.55); text-shadow: none; }
.nav-cta:hover { background: var(--grad-gold); border-color: transparent; color: var(--ink); filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(196,160,90,0.7); }

.nav-toggle { display: none; background: none; border: 0; color: var(--bone); width: 34px; height: 34px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--bone); margin: 5px auto; transition: 0.35s var(--ease); }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; width: min(80vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 4rem 2.4rem;
    background: var(--ink-2);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 999;
  }
  .nav-links a { font-size: 1.15rem; }
  .nav.open .nav-links { transform: translateX(0); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
/* Cinematic fallback when no media present */
.hero-bg.placeholder {
  background:
    radial-gradient(120% 90% at 75% 15%, rgba(196,160,90,0.16), transparent 55%),
    radial-gradient(90% 80% at 12% 85%, rgba(207,211,216,0.07), transparent 50%),
    linear-gradient(160deg, #16161a 0%, #0a0a0b 70%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  /* Text sits as a lower-third — scrim only across the bottom so it reads,
     while the top ~half of the video stays clean and uncovered. */
  background:
    linear-gradient(0deg, rgba(10,10,11,0.97) 0%, rgba(10,10,11,0.82) 12%, rgba(10,10,11,0.45) 27%, rgba(10,10,11,0.12) 42%, transparent 58%),
    linear-gradient(90deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0.12) 42%, transparent 72%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) clamp(2.8rem, 6vw, 4.5rem); }
/* Compact lower-third: smaller headline/lede so the copy sits low and the
   top of the video stays uncovered. */
.hero h1 { font-size: clamp(1.85rem, 4.3vw, 3.4rem); margin: 0.9rem 0 0; max-width: 20ch; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.hero .eyebrow { text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.hero .hero-tag { font-size: clamp(0.95rem, 1.3vw, 1.12rem); margin-top: 1.1rem; max-width: 52ch; text-shadow: 0 1px 14px rgba(0,0,0,0.6); }
.hero-cta { margin-top: 1.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ash-dim);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* Cinematic full-bleed image band */
.media-band { margin: clamp(3.5rem, 8vw, 6rem) 0; }
.media-band figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.media-band img {
  display: block; width: 100%;
  height: clamp(280px, 46vw, 600px); object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.media-band figure:hover img { transform: scale(1.04); }
/* Positioning-section feature image (B&W BTS still) */
.positioning-media { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg,#1a1a20,#0b0b0d); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.positioning-media img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.positioning-media:hover img { transform: scale(1.035); }
.positioning-media figcaption { padding: 0.7rem 1.1rem; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-lo); }
@media (max-width: 720px) { .positioning-media { max-width: 460px; margin: 0 auto; } }
.media-band figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,11,0.6), transparent 55%);
}
.media-band figcaption {
  position: absolute; left: clamp(1.1rem, 3vw, 2.2rem); bottom: clamp(1.1rem, 3vw, 2rem);
  z-index: 2; font-size: 0.62rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--silver);
}

/* Page hero (interior pages) */
.page-hero { position: relative; padding: clamp(10rem, 16vw, 12rem) 0 clamp(3rem, 7vw, 5rem); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 120% at 80% 0%, rgba(196,160,90,0.12), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-top: 1.2rem; max-width: 18ch; }
.page-hero .lede { margin-top: 1.6rem; }
.studio-mark { width: clamp(120px, 16vw, 168px); height: auto; display: block; margin-bottom: 1.4rem; filter: drop-shadow(0 14px 30px rgba(0,0,0,0.55)); }
/* Studio tab is now a single hero that funnels to silversailstudios.com — fill the viewport */
.studio-hero-solo { min-height: calc(100vh - 96px); display: flex; align-items: center; border-bottom: none; }
.studio-hero-solo .wrap { width: 100%; }

/* ---------- STAT ROW ---------- */
.stats { display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 5rem); margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.stat span { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ash-dim); margin-top: 0.6rem; display: block; }

/* ---------- REEL ---------- */
.reel { position: relative; }
.reel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 50% 40%, rgba(196,160,90,0.10), transparent 60%),
    linear-gradient(160deg, #17171b, #0b0b0d);
  cursor: pointer;
}
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
  transition: opacity 0.4s var(--ease);
}
.reel-play .disc {
  width: 86px; height: 86px; border-radius: 50%;
  border: 1px solid var(--silver);
  display: grid; place-items: center;
  background: rgba(10,10,11,0.4);
  backdrop-filter: blur(4px);
  transition: 0.4s var(--ease);
}
.reel-frame:hover .disc { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }
.reel-frame:hover .disc svg { fill: var(--ink); }
.reel-play .disc svg { width: 26px; height: 26px; fill: var(--silver); margin-left: 4px; transition: fill 0.4s; }
.reel-play .label { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ash); }

/* ---------- FOUNDER (photo + bio) ---------- */
.founder { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 2.2rem; } }
.founder-photo {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: linear-gradient(150deg, #22222b, #0c0c0e);
}
@media (min-width: 861px) { .founder-photo { position: sticky; top: 100px; } }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; transition: transform 1.2s var(--ease); }
.founder-photo:hover img { transform: scale(1.04); }
.founder .section-head { margin-bottom: 1.6rem; }

/* ---------- POSITIONING / SPLIT ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.1fr; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 2.5rem; } }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-top: 1.1rem; }

/* ---------- PILLARS ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--ink); padding: clamp(2rem, 4vw, 3rem); transition: background 0.4s var(--ease); }
.pillar:hover { background: var(--surface); }
.pillar .num { font-family: var(--serif); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.1em; }
.pillar h3 { font-size: 1.5rem; margin: 1rem 0 0.8rem; }
.pillar p { color: var(--ash); font-size: 0.96rem; }

/* ---------- WORK / SLATE GRID ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.8rem; }
.filter {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.6rem 1.2rem; border: 1px solid var(--line); border-radius: 100px;
  color: var(--ash); background: transparent; transition: 0.3s var(--ease);
}
.filter:hover { color: var(--bone); border-color: var(--silver-lo); }
.filter.active { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* Featured project — poster beside text (no text overlaid on the poster) */
.project-feature {
  display: grid;
  grid-template-columns: clamp(150px, 24%, 280px) 1fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  background: var(--surface);
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.project-feature:hover { border-color: var(--silver-lo); box-shadow: 0 30px 60px -28px rgba(0,0,0,0.75); }
.project-feature img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 2 / 3; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.8s var(--ease);
}
.project-feature:hover img { transform: scale(1.03); }
.project-feature .feature-overlay {
  position: static; display: flex; flex-direction: column; align-items: flex-start;
  padding: 0; background: none;
}
.project-feature .cat {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border: 1px solid var(--line);
  border-radius: 100px; color: var(--silver); background: var(--surface-2);
  margin-bottom: 1rem;
}
.project-feature h3 { font-family: var(--serif); font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 0 0 0.4rem; line-height: 1.02; }
.project-feature .role { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); }
.project-feature .yr { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--ash); margin-right: 0.6rem; }
.project-feature p { margin: 0.5rem 0 0; max-width: 56ch; color: var(--ash); }
@media (max-width: 640px) {
  .project-feature { grid-template-columns: 1fr; gap: 1.3rem; justify-items: start; }
  .project-feature img { max-width: 220px; }
}

.slate { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
@media (max-width: 900px) { .slate { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .slate { grid-template-columns: 1fr; } }
.project {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.project.hide { display: none; }
.project:hover { transform: translateY(-6px); border-color: var(--silver-lo); box-shadow: 0 26px 50px -24px rgba(0,0,0,0.7); }
.project-poster {
  aspect-ratio: 2 / 3;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 1.4rem;
  background-size: cover; background-position: center;
  /* placeholder gradient if no poster image */
  background-image: linear-gradient(180deg, rgba(10,10,11,0) 35%, rgba(10,10,11,0.92) 100%), linear-gradient(150deg, #20202a, #0c0c0e);
}
.project-poster .cat {
  position: absolute; top: 1.1rem; left: 1.1rem;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px; color: var(--silver); background: rgba(10,10,11,0.45); backdrop-filter: blur(4px);
}
.project-poster .glyph {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%);
  font-family: var(--serif); font-size: 3.4rem; color: rgba(255,255,255,0.06); letter-spacing: 0.05em;
}
.project-meta { position: relative; z-index: 2; }
.project-meta .yr { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); }
.project-meta h3 { font-size: 1.45rem; margin: 0.35rem 0 0.2rem; line-height: 1.05; }
.project-meta .role { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.project-body { padding: 1.3rem 1.4rem 1.5rem; }
.project-body p { font-size: 0.9rem; color: var(--ash); }

/* ---------- STUDIOS FEATURES ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 740px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--ink); padding: clamp(1.8rem, 3.5vw, 2.6rem); }
.feature .ico { width: 30px; height: 30px; color: var(--gold); margin-bottom: 1rem; }
.feature h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.feature p { color: var(--ash); font-size: 0.94rem; }

.callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(196,160,90,0.14), transparent 55%),
    var(--surface);
  text-align: center;
}
.callout h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
.callout p { color: var(--ash); max-width: 52ch; margin: 0 auto 2rem; }
.callout .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- ABOUT / TEAM ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } }
.member { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.member-photo { aspect-ratio: 4 / 5; background: linear-gradient(150deg, #22222b, #0c0c0e); display: grid; place-items: center; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.member-photo .initial { font-family: var(--serif); font-size: 4rem; color: rgba(255,255,255,0.08); }
.member-body { padding: 1.6rem 1.8rem 2rem; }
.member-body .role { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.member-body h3 { font-size: 1.7rem; margin: 0.5rem 0 0.8rem; }
.member-body p { color: var(--ash); font-size: 0.95rem; }

.bio-body p { margin-bottom: 1.3rem; color: var(--ash-rich, #b9b9c0); font-size: 1.08rem; line-height: 1.8; max-width: 68ch; }
.bio-body p strong, .bio-body em { color: var(--bone); }
.bio-body em { font-style: italic; }
.pull-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.6rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--bone); margin: 2.5rem 0; padding-left: 1.6rem; border-left: 2px solid var(--gold); }

/* ---------- PRESS ---------- */
.press-list { border-top: 1px solid var(--line); }
.press-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 1.5rem;
  padding: 1.8rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.press-item:hover { padding-left: 0.8rem; }
.press-item .outlet { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem); }
.press-item .headline { color: var(--ash); font-size: 0.95rem; }
.press-item .go { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 680px) { .press-item { grid-template-columns: 1fr; gap: 0.5rem; } .press-item .go { justify-self: start; } }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); margin-bottom: 0.6rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--bone); font-family: inherit; font-size: 1rem; padding: 0.95rem 1.1rem; transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 140px; }
.contact-detail { margin-bottom: 2rem; }
.contact-detail .k { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ash-dim); margin-bottom: 0.4rem; }
.contact-detail .v { font-size: 1.15rem; }
.contact-detail .v a:hover { color: var(--gold); }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; margin-top: 1.5rem; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.9) contrast(0.85); }
.form-note { font-size: 0.8rem; color: var(--ash-dim); margin-top: 0.5rem; }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(5rem, 12vw, 9rem) var(--gut); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(196,160,90,0.1), transparent 60%); }
.cta-band .inner { position: relative; z-index: 1; max-width: 60ch; margin: 0 auto; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4.5rem); margin-bottom: 1.4rem; }
.cta-band p { color: var(--ash); margin-bottom: 2.2rem; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-top { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .mark { font-family: var(--serif); font-size: 1.7rem; }
.footer-brand .sub { font-size: 0.58rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ash-dim); margin-top: 0.4rem; }
.footer-logo { display: block; height: 150px; width: auto; margin: -0.6rem 0 0.2rem -0.4rem; }
.footer-brand p { color: var(--ash); font-size: 0.92rem; margin-top: 1.2rem; max-width: 36ch; }
.social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ash); transition: all 0.3s var(--ease); }
.social a:hover { color: var(--ink); background: var(--silver); border-color: var(--silver); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer-col h6 { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ash-dim); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.92rem; color: var(--ash); transition: color 0.3s; }
.footer-col a:hover { color: var(--silver); }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 0;
  max-width: var(--maxw); margin-inline: auto; padding: 1.6rem var(--gut);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash-dim);
}
.footer-bottom .footer-email { text-transform: none; letter-spacing: 0.02em; color: var(--ash); }
.footer-bottom .footer-email:hover { color: var(--gold); }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- MISC ---------- */
.big-watermark { font-family: var(--serif); font-size: clamp(7rem, 26vw, 22rem); line-height: 0.8; color: rgba(255,255,255,0.022); letter-spacing: -0.04em; pointer-events: none; user-select: none; }
.center { text-align: center; }
.center .eyebrow, .center .section-head { margin-inline: auto; }
.mt-sm { margin-top: 1.5rem; } .mt-md { margin-top: 2.5rem; }

/* =====================================================================
   TOOLEY-STRUCTURE SECTIONS (2026 — homepage rebuild, Silver Sail skin)
   ===================================================================== */
.mt-xs { margin-top: 0.5rem; }
.gold-eyebrow { color: var(--gold); }

/* Featured film band */
.featured-band { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.featured-media { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg,#1a1a20,#0b0b0d); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.featured-media img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.featured-media:hover img { transform: scale(1.035); }
.featured-media figcaption { padding: 0.7rem 1.1rem; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-lo); }
.featured-head { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.98; margin-top: 1rem; }
.pull-logline { margin: 1.6rem 0; padding-left: 1.1rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--bone); }

/* Slate teaser */
.teaser-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.teaser-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
.teaser-all { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; transition: color 0.3s var(--ease); }
.teaser-all:hover { color: var(--gold-hi); }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2.25rem); }
@media (max-width: 880px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .teaser-grid { grid-template-columns: 1fr; } }
.work-card { display: block; }
.work-card-art { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.work-card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.work-card:hover .work-card-art img { transform: scale(1.05); }
.work-card-meta { padding-top: 1rem; }
.work-card-title { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.05; transition: color 0.3s var(--ease); }
.work-card:hover .work-card-title { color: var(--gold-hi); }
.work-card-sub { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-lo); margin-top: 0.4rem; }

/* Ethos */
.ethos-grid { max-width: 64ch; }
.ethos-quote { font-family: var(--serif); font-size: clamp(1.7rem, 4.2vw, 3.2rem); line-height: 1.12; letter-spacing: 0.01em; color: var(--bone); margin: 1.2rem 0 1.8rem; border: 0; }
.ethos-attr { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ash); line-height: 1.6; }
.ethos-attr span { display: block; margin-top: 0.7rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-lo); }

/* By the numbers */
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); }
@media (max-width: 720px) { .numbers-grid { grid-template-columns: 1fr 1fr; } }
.number { display: flex; flex-direction: column; gap: 0.5rem; border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.number-n { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1; color: var(--bone); }
.number-l { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-lo); }

/* News strip */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-row { border-top: 1px solid var(--line); }
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row a { display: grid; grid-template-columns: 200px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; transition: background 0.3s var(--ease), padding-inline 0.3s var(--ease); }
.news-row a:hover { background: rgba(196,160,90,0.07); padding-inline: 1rem; }
.news-outlet { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.news-headline { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--bone); }
.news-date { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--silver-lo); white-space: nowrap; }
@media (max-width: 720px) {
  .news-row a { grid-template-columns: 1fr; gap: 0.4rem; }
  .news-date { order: -1; }
}

/* =====================================================================
   PROJECT DETAIL PAGES (cast & crew, stills, clickable slate posters)
   ===================================================================== */
.poster-frame { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.poster-frame img { display: block; width: 100%; height: auto; }

/* Key facts list (Director / Writers / Starring / Production) */
.proj-meta { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.proj-meta li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.proj-meta li:last-child { border-bottom: 1px solid var(--line); }
.proj-meta .k { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-lo); padding-top: 0.2rem; }
.proj-meta .v { color: var(--bone); }

/* Full cast & crew */
.credits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 760px) { .credits-grid { grid-template-columns: 1fr; } }
.credit-col h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: 0.6rem; }
.credit-list { list-style: none; padding: 0; margin: 0; }
.credit-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.credit-list .name { color: var(--bone); }
.credit-list .role { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver-lo); text-align: right; white-space: nowrap; }

/* Stills gallery */
.stills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.6vw, 1.2rem); }
@media (max-width: 760px) { .stills-grid { grid-template-columns: 1fr 1fr; } }
.still { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.still:hover img { transform: scale(1.05); }
.still.placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #15151a, #0b0b0d); }
.still.placeholder span { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-lo); }

/* Clickable slate posters (work.html) */
a.project, a.project-feature { cursor: pointer; color: inherit; }
a.project .project-poster, a.project-feature { transition: transform 0.5s var(--ease); }
a.project:hover .project-poster { transform: translateY(-3px); }

/* Grouped credits (Tooley-style: separated by Directed By / Written By / Cast / Produced By …) */
.credits { max-width: 980px; }
.credit-group { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1rem, 3vw, 2.5rem); padding: 1.5rem 0; border-top: 1px solid var(--line); }
.credit-group:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 680px) { .credit-group { grid-template-columns: 1fr; gap: 0.6rem; } }
.credit-label { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-top: 0.35rem; }
.credit-value { color: var(--bone); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.55; }
.credit-cast { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.credit-cast li { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; }
.credit-cast .c-name { color: var(--bone); font-size: clamp(1rem, 1.5vw, 1.12rem); }
.credit-cast .c-char { color: var(--silver-lo); font-size: 0.92rem; text-align: right; }

/* Placeholder slate cards — centered Silver Sail logo until real key art exists */
.project-poster.logo-ph {
  background-image:
    linear-gradient(180deg, rgba(10,10,11,0) 44%, rgba(10,10,11,0.92) 100%),
    url('assets/logo.png'),
    linear-gradient(150deg, #1b1b22, #0c0c0e);
  background-size: cover, 58% auto, cover;
  background-position: center, center 34%, center;
  background-repeat: no-repeat;
}

.project-feature.hide { display: none; }

/* Page-hero with a full-bleed background image (Work + Contact headers) */
.page-hero.has-bg { min-height: 58vh; display: flex; align-items: flex-end; padding-top: clamp(11rem, 17vw, 13rem); padding-bottom: clamp(2.6rem, 5vw, 4rem); }
.page-hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.6) 0%, rgba(10,10,11,0.32) 42%, rgba(10,10,11,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.1) 55%, transparent 85%);
}
.page-hero.has-bg .wrap { position: relative; z-index: 2; }
.page-hero.has-bg h1, .page-hero.has-bg .lede { text-shadow: 0 2px 18px rgba(0,0,0,0.55); }

/* Always show the pointer (hand) cursor on anything clickable */
a[href], button, .btn, .filter, .project, .project-feature, .work-card,
.teaser-all, .news-row, .news-row a, .nav-links a, .nav-cta, .nav-toggle,
.social a, .footer a, label[for], summary, [role="button"], [onclick] {
  cursor: pointer;
}
