/* =========================================================
   Broadcast Media & Entertainment — Cinematic Luxury
   ========================================================= */
:root {
  --bg: #07060a;
  --bg-2: #0e0c12;
  --ink: #f3eee4;
  --muted: #b9b0a1;
  --gold: #d6b169;
  --gold-2: #f0d79a;
  --gold-ink: #1a1408;
  --line: rgba(243, 238, 228, .14);
  --glass: rgba(14, 12, 18, .55);
  --danger: #ff8a7a;

  --f-display: "Cormorant", "Times New Roman", serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 144px;
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h2 {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h2 em, h1 em { font-style: italic; color: var(--gold-2); }
h3 { font-family: var(--f-display); font-size: 1.9rem; line-height: 1.1; }
p { margin: 0 0 var(--s-2); }
.muted { color: var(--muted); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin-top: var(--s-3); }
.container { width: min(1240px, 100% - 2 * clamp(16px, 5vw, 64px)); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--s-3);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 .82rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 30px -10px rgba(214, 177, 105, .6); }
.btn--gold:hover { box-shadow: 0 14px 40px -8px rgba(240, 215, 154, .75); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(243, 238, 228, .35); color: var(--ink); background: rgba(7, 6, 10, .25); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--block { width: 100%; }
.link-arrow { color: var(--gold-2); text-decoration: none; font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* =========================================================
   VIDEO STAGE
   ========================================================= */
.stage {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: var(--bg);
  perspective: 900px;
}
.stage__camera {
  position: absolute; inset: -4%;
  transform-style: preserve-3d;
  will-change: transform;
}
.scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  /* scale > 1 crops the generator watermark in the bottom-right corner */
  transform: scale(1.14);
  transform-origin: 46% 46%;
}
.scene.is-active { opacity: 1; }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 30%, rgba(7, 6, 10, .75) 100%),
    linear-gradient(180deg, rgba(7, 6, 10, .55) 0%, rgba(7, 6, 10, .15) 35%, rgba(7, 6, 10, .55) 100%);
  transition: background-color .8s;
}
.stage.is-dim .stage__shade { background-color: rgba(7, 6, 10, .6); }
.stage__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .footer { position: relative; z-index: 1; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: var(--s-4);
  padding: 0 clamp(16px, 4vw, 48px);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7, 6, 10, .72); backdrop-filter: blur(14px); border-color: var(--line); }
.nav__brand { text-decoration: none; margin-right: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark b { font: 600 1.9rem/1 var(--f-display); letter-spacing: .04em; color: var(--gold-2); }
.wordmark small { font-size: .62rem; line-height: 1.35; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; }
.nav__links { display: flex; gap: var(--s-4); }
.nav__links a {
  text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .08em; color: var(--muted);
  padding: 12px 0; position: relative; transition: color .25s;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; padding: 0 20px; }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49; background: rgba(7, 6, 10, .96); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 4px; padding: var(--s-4) clamp(16px, 5vw, 48px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font: 500 2.2rem/1.2 var(--f-display); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: var(--s-4); }

/* progress rail */
.rail {
  position: fixed; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 40;
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px;
}
.rail li {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 238, 228, .35);
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; transition: color .3s;
}
.rail li::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.rail li.is-active { color: var(--gold-2); }
.rail li.is-active::after { width: 36px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + var(--s-5)) clamp(16px, 6vw, 96px) var(--s-7);
  perspective: 1000px;
}
.hero__inner { max-width: 980px; transform-style: preserve-3d; }
.hero__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(3.2rem, 10vw, 8.8rem); line-height: .92; letter-spacing: -.02em;
  margin-bottom: var(--s-4);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > * { display: inline-block; }
.hero__title .line--gold em { background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%, #a88440); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 52ch; color: #ddd5c6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-4); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero { position: relative; }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { min-height: 120vh; display: flex; align-items: center; padding: var(--s-8) 0; }
.manifesto__text {
  font-family: var(--f-display); font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12;
  max-width: 24ch; text-wrap: pretty;
}
.manifesto__text em { color: var(--gold-2); }
.manifesto__text .w { display: inline-block; }
.facts { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-5); }
.facts li { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: var(--s-2); min-width: 160px; }
.facts b { font: 500 3.6rem/1 var(--f-display); color: var(--gold-2); }
.facts span { color: var(--muted); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 8px; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { margin-bottom: var(--s-5); }
.section-head--center { text-align: center; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }

/* =========================================================
   SERVICES — default = grid (no JS / reduced motion)
   ========================================================= */
.services { padding: var(--s-8) 0; }
.services__pin { width: min(1240px, 100% - 2 * clamp(16px, 5vw, 64px)); margin-inline: auto; }
.ring { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-2); }
.ring__card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-4) var(--s-3); backdrop-filter: blur(14px);
}
.ring__card p { color: var(--muted); font-size: .95rem; margin: var(--s-1) 0 0; }
.num { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .25em; color: var(--gold); margin-bottom: var(--s-3); }
.ring__core { display: none; }

/* 3D ring mode (enabled by JS) */
.is-3d .services { padding: 0; }
.is-3d .services__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 8px) 0 16px; }
.is-3d .services .section-head { margin-bottom: 0; position: relative; z-index: 2; }
.is-3d .ring-wrap { position: relative; flex: 1; min-height: 0; perspective: 1600px; perspective-origin: 50% 50%; }
.is-3d .services h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.is-3d .ring {
  display: block; position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2;
  transform-style: preserve-3d;
  --radius: 430px;
}
.is-3d .ring__card {
  position: absolute; width: 280px; left: -140px; top: -130px; min-height: 260px;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(var(--radius));
  backface-visibility: hidden;
  transition: border-color .4s, background-color .4s, box-shadow .4s;
}
.is-3d .ring__card.is-front { border-color: rgba(240, 215, 154, .7); background: rgba(26, 20, 10, .7); box-shadow: 0 0 60px -10px rgba(214, 177, 105, .45); }
.is-3d .ring__core {
  display: grid; place-items: center; position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px;
  border-radius: 50%; border: 1px solid rgba(240, 215, 154, .35);
  background: radial-gradient(circle, rgba(214, 177, 105, .28), transparent 70%);
  font: italic 500 2.6rem/1 var(--f-display); color: var(--gold-2);
  pointer-events: none; z-index: 1; scale: var(--fit, 1); translate: 0 var(--ty, 0px);
}

/* =========================================================
   APPROACH — default = list
   ========================================================= */
.approach { padding: var(--s-8) 0; }
.approach__pin { width: min(1240px, 100% - 2 * clamp(16px, 5vw, 64px)); margin-inline: auto; }
.tunnel { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-2); }
.tunnel__step { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-4) var(--s-3); backdrop-filter: blur(14px); }
.tunnel__step p { color: var(--muted); margin: var(--s-1) 0 0; }

.is-3d .approach { padding: 0; }
.is-3d .approach__pin { height: 100vh; position: relative; padding-top: calc(var(--nav-h) + var(--s-3)); perspective: 900px; perspective-origin: 50% 55%; }
.is-3d .tunnel { display: block; position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.is-3d .tunnel__step {
  position: absolute; left: 50%; top: 56%; width: min(560px, 86vw); margin: 0; transform: translate(-50%, -50%);
  text-align: center; padding: var(--s-5) var(--s-4); opacity: 0;
}
.is-3d .tunnel__step h3 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.is-3d .tunnel__step .num { margin-bottom: var(--s-2); }

/* =========================================================
   STUDIO + WHY
   ========================================================= */
.studio { padding: var(--s-8) 0; min-height: 100vh; display: flex; align-items: center; }
.studio__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: center; }
.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-4) var(--s-3); backdrop-filter: blur(16px); }
.why h3 { font-size: 1.6rem; margin-bottom: var(--s-1); }
.why p { color: var(--muted); font-size: .92rem; margin: 0; }
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .3s; will-change: transform; }
.tilt:hover { border-color: rgba(240, 215, 154, .45); }

/* =========================================================
   INVESTORS / INSIGHTS — solid panels for readability
   ========================================================= */
.investors, .insights { padding: var(--s-8) 0; background: rgba(7, 6, 10, .86); backdrop-filter: blur(6px); }
.investors { border-top: 1px solid var(--line); }
.investors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.ticks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 8px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.investors .muted { margin-bottom: var(--s-4); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.card {
  position: relative; background: linear-gradient(160deg, rgba(240, 215, 154, .07), rgba(14, 12, 18, .9) 50%);
  border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5) var(--s-4) var(--s-4); min-height: 300px;
  display: flex; flex-direction: column;
}
.card .tag { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: auto; }
.card h3 { font-size: 1.75rem; margin: var(--s-5) 0 var(--s-2); }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p:last-child { color: var(--muted); font-size: .92rem; margin: 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: var(--s-8) 0; min-height: 100vh; display: flex; align-items: center; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
.quick { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-1); }
.quick__item {
  display: flex; align-items: center; gap: var(--s-2); text-decoration: none; min-height: 64px;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 6, 10, .45); backdrop-filter: blur(10px);
  transition: border-color .25s, transform .25s var(--ease);
}
.quick__item:hover { border-color: var(--gold); transform: translateX(4px); }
.quick__item svg { width: 26px; height: 26px; fill: var(--gold-2); flex: none; }
.quick__item span { display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.quick__item b { color: var(--ink); font-weight: 600; letter-spacing: .06em; }

.form { display: grid; gap: var(--s-2); padding: var(--s-5) var(--s-4); background: rgba(10, 9, 14, .78); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ddd5c6; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: rgba(243, 238, 228, .05); border: 1px solid rgba(243, 238, 228, .22); color: var(--ink);
  font: 400 1rem/1.4 var(--f-body); transition: border-color .2s, background-color .2s;
}
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); background: rgba(243, 238, 228, .08); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .82rem; margin: 0; min-height: 0; }
.form__status { margin: 0; font-size: .9rem; color: var(--gold-2); }
.hp { position: absolute; left: -9999px; }

/* =========================================================
   FOOTER + FAB
   ========================================================= */
.footer { background: #050407; border-top: 1px solid var(--line); padding: var(--s-5) 0; }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.footer p { margin: 0; font-size: .85rem; }
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 30px -8px rgba(214, 177, 105, .7); transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; fill: var(--gold-ink); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .rail { display: none; }
}
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .studio__grid, .investors__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav__cta { display: none; }
  .wordmark small { display: none; }
  .why, .cards, .field-row { grid-template-columns: 1fr; }
  .facts { gap: var(--s-3); }
  .facts li { min-width: 120px; }
  .facts b { font-size: 2.8rem; }
  .is-3d .ring { --radius: 250px; }
  .is-3d .ring__card { width: 200px; left: -100px; min-height: 230px; top: -115px; padding: var(--s-3) var(--s-2); }
  .is-3d .ring__card h3 { font-size: 1.5rem; }
  .is-3d .ring__card p { font-size: .85rem; }
  .is-3d .ring__core { width: 120px; height: 120px; margin: -60px 0 0 -60px; font-size: 1.8rem; }
  .form { padding: var(--s-4) var(--s-3); }
  .fab { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
