/* Portal 9 VFX pitch. Visual system mirrors portal9.io styles.css */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/InstrumentSerif-italic-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/InstrumentSerif-normal-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../assets/fonts/Inter-var.woff2') format('woff2');
}

/* ---------- Tokens (from portal9.io) ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #faf9fc;
  --bg-elevated: #f5f3f8;
  --bg-card: #ffffff;
  --border: rgba(59, 45, 92, 0.12);
  --border-strong: rgba(59, 45, 92, 0.22);
  --text: #1a1528;
  --text-muted: #5c5470;
  --text-dim: #8a849c;
  --purple: #3b2d5c;
  --purple-dark: #2a2042;
  --purple-soft: rgba(59, 45, 92, 0.08);
  --purple-glow: rgba(74, 53, 104, 0.15);
  --accent: #4a3568;
  --gold: #c6a15b;
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --header-h: 88px;
  --header-bg: #000000;
  --header-border: rgba(255, 255, 255, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 48px);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #111111;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --purple-soft: rgba(255, 255, 255, 0.08);
  --purple-glow: rgba(255, 255, 255, 0.12);
  --purple: #d4c8e8;
  --purple-dark: #e8e0f4;
  --accent: #c4b5dc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; }
em { font-style: italic; }

.wrap { max-width: 1300px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.page-main { padding-top: var(--header-h); }

/* Purple hover glow on clickables (site-wide pattern) */
a, button, .btn, .reel-card, .product-card {
  transition: box-shadow 0.2s var(--ease), color 0.2s, background 0.2s, transform 0.2s var(--ease), border-color 0.3s;
}
a:hover, a:focus-visible, button:hover, button:focus-visible { box-shadow: 0 0 18px rgba(74, 53, 104, 0.45); }
.footer-col a:hover, .nav-links a:hover, .logo:hover, .theme-toggle-btn:hover { box-shadow: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  min-height: var(--header-h);
  display: flex; align-items: center;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}
.nav-main {
  width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.logo { display: inline-flex; flex-shrink: 0; line-height: 0; border-radius: 8px; }
.logo-img--nav { height: 55px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-links a {
  display: block; font-size: 13px; padding: 8px 12px; border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; font-size: 13px; font-weight: 500;
  border-radius: 999px; border: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; }
[data-theme="dark"] .btn-primary { color: #000; }
.btn-primary:hover { background: var(--purple-dark); transform: scale(1.02); }
.btn-outline { background: transparent; color: var(--purple); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: var(--purple-soft); }
.btn-white, .site-header .btn-primary { background: #fff; color: #000; }
.btn-white:hover, .site-header .btn-primary:hover { background: rgba(255, 255, 255, 0.9); color: #000; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-hero { padding: 12px 24px; font-size: 13px; }
.btn .play-glyph { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative; max-width: 1300px;
  margin: 24px auto 0;
  border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 78% 18%, rgba(196, 178, 228, 0.22) 0%, rgba(150, 132, 190, 0.08) 40%, transparent 70%),
    radial-gradient(ellipse 120% 90% at 90% 0%, rgba(59, 45, 92, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 90% 80% at 0% 100%, rgba(42, 32, 66, 0.6) 0%, transparent 60%),
    #08060f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 2.1 / 1; max-height: calc(100vh - var(--header-h) - 48px); min-height: 520px;
  width: calc(100% - 2 * var(--gutter));
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 25%, transparent 45%, rgba(0,0,0,0.7) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, transparent 55%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; z-index: 1; pointer-events: none; }
.hero-orb-1 { width: 50vw; max-width: 500px; aspect-ratio: 1; top: -10%; right: -5%; background: radial-gradient(circle, rgba(74, 53, 104, 0.7), transparent 70%); }
.hero-orb-2 { width: 35vw; max-width: 380px; aspect-ratio: 1; bottom: -10%; left: -5%; background: radial-gradient(circle, rgba(107, 78, 150, 0.5), transparent 70%); animation-delay: -7s; }

.hero-content {
  position: absolute; z-index: 3;
  left: clamp(28px, 5vw, 64px); bottom: clamp(32px, 5vw, 56px);
  max-width: min(640px, 70%); color: #fff;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 20px;
}
.hero-kicker .x { color: var(--gold); font-weight: 400; }
.hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em;
}
.hero-title .line { display: block; }
.hero-title .line-accent { font-style: italic; }
.hero-sub { margin-top: 16px; font-size: clamp(0.95rem, 1.4vw, 1.1rem); line-height: 1.5; color: rgba(255,255,255,0.88); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-meta {
  position: absolute; z-index: 3; right: clamp(28px, 5vw, 56px); top: clamp(24px, 4vw, 40px);
  text-align: right; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.75);
}
.hero-meta strong { color: #fff; font-weight: 500; }

.hero-animate { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.is-loaded .hero-animate { opacity: 1; transform: none; }
.is-loaded .hero-animate--2 { transition-delay: 120ms; }
.is-loaded .hero-animate--3 { transition-delay: 240ms; }
.is-loaded .hero-animate--4 { transition-delay: 360ms; }
.is-loaded .hero-animate--5 { transition-delay: 480ms; }

/* ---------- Sections ---------- */
.section { padding-top: clamp(72px, 9vw, 120px); padding-bottom: 8px; }
.hero + .section { padding-top: clamp(64px, 7vw, 96px); }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-dim); margin-bottom: 20px;
}
.section-label .num { font-variant-numeric: tabular-nums; color: var(--gold); }
.section-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 18px; max-width: 22ch;
}
.section-title em { color: var(--accent); }
.section-intro { color: var(--text-muted); max-width: 60ch; margin-bottom: 44px; font-size: 16px; }
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.split-head .section-intro { margin-bottom: 0; }

/* Opportunity */
.opportunity-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.opportunity-story {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-soft); padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
}
.opportunity-story .eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.opportunity-story h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.opportunity-story p { color: var(--text-muted); }
.scripture {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border);
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--text);
}
.scripture span { display: block; font-family: var(--font-sans); font-style: normal; font-size: 12px; color: var(--text-dim); margin-top: 6px; letter-spacing: 0.04em; }
.deliverable-stack { display: grid; gap: 20px; }

/* Mesh-gradient cards (portal9.io feature-card / cta-inner) */
@property --mesh-lx { syntax: "<percentage>"; inherits: true; initial-value: 55%; }
@property --mesh-ly { syntax: "<percentage>"; inherits: true; initial-value: 35%; }
.mesh {
  --mesh-dur-a: 16s; --mesh-dur-b: 20s; --mesh-dur-c: 23s;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 52% 44% at var(--mesh-lx) var(--mesh-ly), rgba(196, 178, 228, 0.5) 0%, rgba(150, 132, 190, 0.24) 36%, transparent 66%),
    radial-gradient(ellipse 130% 90% at 85% 15%, rgba(59, 45, 92, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 10% 90%, rgba(42, 32, 66, 0.35) 0%, transparent 50%),
    #08060f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5f3f8;
  animation: mesh-light var(--mesh-dur-c) ease-in-out infinite alternate;
}
.mesh::before, .mesh::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.9; z-index: 0; pointer-events: none;
}
.mesh::before { width: 75%; height: 75%; top: -18%; left: -12%; background: radial-gradient(circle, rgba(74, 53, 104, 0.95) 0%, rgba(59, 45, 92, 0.45) 42%, transparent 72%); animation: mesh-a var(--mesh-dur-a) ease-in-out infinite alternate; }
.mesh::after { width: 70%; height: 70%; bottom: -22%; right: -18%; background: radial-gradient(circle, rgba(42, 32, 66, 0.92) 0%, rgba(20, 14, 32, 0.5) 48%, transparent 74%); animation: mesh-b var(--mesh-dur-b) ease-in-out infinite alternate; }
.mesh > * { position: relative; z-index: 1; }
.mesh:nth-child(2n) { --mesh-dur-a: 19s; --mesh-dur-b: 24s; --mesh-dur-c: 21s; animation-delay: -8s; }
.mesh:nth-child(2n)::before { animation-delay: -6s; }
.mesh:nth-child(3n) { --mesh-dur-a: 22s; --mesh-dur-b: 17s; --mesh-dur-c: 27s; animation-delay: -14s; animation-direction: alternate-reverse; }
@keyframes mesh-a { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(28%, 22%) scale(1.18); } 100% { transform: translate(12%, 38%) scale(0.92); } }
@keyframes mesh-b { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-32%, -28%) scale(1.22); } 100% { transform: translate(-18%, -12%) scale(0.88); } }
@keyframes mesh-light { 0% { --mesh-lx: 78%; --mesh-ly: 22%; } 33% { --mesh-lx: 24%; --mesh-ly: 68%; } 66% { --mesh-lx: 62%; --mesh-ly: 84%; } 100% { --mesh-lx: 38%; --mesh-ly: 42%; } }

.deliverable { border-radius: var(--radius-lg); padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: baseline; }
.deliverable .tag { grid-row: span 2; font-family: var(--font-serif); font-style: italic; font-size: 2.1rem; line-height: 1; color: #fff; min-width: 2.2ch; }
.deliverable h4 { font-size: 1.05rem; font-weight: 600; color: #fff; }
.deliverable p { font-size: 14px; color: rgba(255, 255, 255, 0.72); }

/* Build grid */
.build-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 100%;
}
.product-card:hover { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(74, 53, 104, 0.35); }
.product-card .card-kicker { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.product-card h3 { font-size: 1.15rem; font-weight: 600; color: #fff; }
.product-card p { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.product-card ul { margin-top: 4px; display: grid; gap: 6px; }
.product-card li { font-size: 13.5px; color: rgba(255, 255, 255, 0.82); padding-left: 18px; position: relative; }
.product-card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1px; background: var(--gold); }
.product-card .card-media { margin: -28px -28px 10px; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.08); background: #000; }
.product-card .card-media video, .product-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.product-card:hover .card-media video { transform: scale(1.03); }
.product-card .card-source { margin-top: auto; padding-top: 12px; font-size: 12px; color: rgba(255,255,255,0.5); }
.build-grid .product-card--wide { grid-column: span 2; }
.product-card .card-media--scope { position: relative; aspect-ratio: 1920 / 804; }
.media-caption { position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.55); padding: 3px 9px; border-radius: 999px; }

/* DATS */
.dats-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.dats-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1; background: #000; border: 1px solid var(--border); }
.dats-media video { width: 100%; height: 100%; object-fit: cover; }
.dats-media .dats-badge {
  position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: 12px; line-height: 1.3;
}
.dats-badge img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.dats-badge strong { display: block; font-size: 13px; font-weight: 600; }
.dats-points { display: grid; gap: 0; margin: 8px 0 28px; border-top: 1px solid var(--border); }
.dats-points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.dats-points .n { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; line-height: 1.1; color: var(--gold); }
.dats-points h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.dats-points p { font-size: 14px; color: var(--text-muted); }
.quote-line { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--text); }

/* Showreel */
.reel-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.reel-grid > .reel-card { grid-column: span 4; }
.reel-grid > .reel-card--feature { grid-column: span 6; }
.reel-card {
  display: flex; flex-direction: column; width: 100%; padding: 0; text-align: left;
  background: #101012; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; overflow: hidden;
  color: #fff; cursor: pointer;
}
.reel-card:hover, .reel-card:focus-visible { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(74, 53, 104, 0.45); }
.reel-thumb { position: relative; aspect-ratio: 16 / 9; background: #161618; overflow: hidden; }
.reel-thumb img, .reel-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.4s; }
.reel-thumb video { opacity: 0; }
.reel-card.is-previewing .reel-thumb video { opacity: 1; }
.reel-card:hover .reel-thumb img, .reel-card:hover .reel-thumb video { transform: scale(1.04); }
.reel-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55)); pointer-events: none; }
.reel-play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s var(--ease); background: rgba(26, 21, 40, 0.25); }
.reel-play::before { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); box-shadow: 0 8px 24px rgba(59, 45, 92, 0.35); }
.reel-play::after { content: ""; position: relative; margin-left: 4px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #3b2d5c; }
.reel-card:hover .reel-play, .reel-card:focus-visible .reel-play { opacity: 1; }
.reel-dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,0.6); color: rgba(255,255,255,0.9); font-variant-numeric: tabular-nums; }
.reel-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.reel-cat { color: var(--gold); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.reel-body h3 { font-size: 16px; font-weight: 500; line-height: 1.35; }
.reel-body .desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.45; }
.reel-why { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.85); }
.reel-why b { color: #fff; font-weight: 600; }
.reel-note { margin-top: 20px; font-size: 12px; color: var(--text-dim); }
.motion-row {
  display: flex; justify-content: center; align-items: stretch; gap: 28px;
  width: min(1520px, calc(100vw - 40px)); max-width: none;
  position: relative; left: 50%; transform: translateX(-50%);
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.motion-row .reel-card { flex: 1 1 0; min-width: 0; }
.motion-row .reel-body { padding: 10px 14px 12px; gap: 2px; }
.motion-row .reel-body h3 { font-size: 16px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.86); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.25s var(--ease); }
.modal.is-open { opacity: 1; }
.modal[hidden] { display: none; }
.modal-panel { width: min(1080px, 100%); background: #101012; border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 16px 16px 20px; color: #fff; transform: translateY(12px) scale(0.98); transition: transform 0.35s var(--ease); max-height: calc(100vh - 48px); overflow: auto; }
.modal.is-open .modal-panel { transform: none; }
.modal-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 12px; padding: 0 4px; }
.modal-top .reel-cat { display: block; margin-bottom: 4px; }
.modal-top h2 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 400; line-height: 1.15; }
.modal-close { background: transparent; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.modal-frame video, .modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.modal-frame [hidden] { display: none; }
.modal-panel > p { margin: 12px 4px 0; color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.5; }
.modal-nav { display: flex; gap: 8px; margin: 14px 4px 0; }
.modal-nav button { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 12px; cursor: pointer; }

/* Process */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); counter-reset: step; }
.step { padding: 26px 22px 28px; border-right: 1px solid var(--border); position: relative; display: flex; flex-direction: column; gap: 10px; transition: background 0.3s; }
.step:last-child { border-right: 0; }
.step:hover { background: var(--purple-soft); }
.step .phase { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.step .num { font-family: var(--font-serif); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--gold); }
.step h3 { font-size: 15px; font-weight: 600; }
.step p { font-size: 13.5px; color: var(--text-muted); }
.step .tool { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--accent); }
.process-bar { height: 3px; background: var(--border); position: relative; margin: 0 0 -1px; }
.phase-row { display: grid; grid-template-columns: 2fr 2fr 2fr; gap: 12px; margin-bottom: 12px; }
.phase-chip { font-size: 12px; color: var(--text-muted); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.phase-chip b { color: var(--text); font-weight: 600; }
.phase-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; font-style: normal; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.principle { padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.principle h4 { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 6px; }
.principle p { font-size: 14px; color: var(--text-muted); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-grid .product-card { min-height: 230px; }
.why-grid .product-card img.logo-chip { height: 44px; width: 140px; max-width: 100%; object-fit: contain; object-position: left; margin-bottom: 8px; opacity: 0.95; }

/* CTA */
.cta { padding-top: clamp(72px, 9vw, 120px); padding-bottom: 80px; }
.cta-inner { border-radius: 28px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta-quote { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.cta-quote em { font-style: italic; }
.cta-sub { color: rgba(255,255,255,0.72); margin-top: 14px; max-width: 46ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.next-steps { display: grid; gap: 10px; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.next-steps li::before { content: "0" counter(ns); font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--gold); }
.next-steps h4 { font-size: 14.5px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.next-steps p { font-size: 13.5px; color: rgba(255,255,255,0.7); }

/* Footer */
.site-footer { border-top: 1px solid var(--header-border); padding: 56px var(--gutter) 32px; background: #000; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin: 0 auto 48px; max-width: 1400px; }
.footer-brand img { height: 46px; width: auto; }
.footer-tagline { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-tagline strong { color: rgba(255,255,255,0.92); font-weight: 500; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 16px; text-transform: uppercase; }
.footer-col a, .footer-col p { font-size: 13px; color: rgba(255,255,255,0.82); display: block; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: rgba(255,255,255,0.55); max-width: 1400px; margin: 0 auto; }
.theme-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.theme-toggle-btn { font-size: 12px; font-weight: 500; line-height: 1; padding: 8px 14px; border: none; border-radius: 999px; cursor: pointer; color: rgba(255,255,255,0.65); background: transparent; }
.theme-toggle-btn:hover { color: #fff; }
.theme-toggle-btn.is-active { color: #000; background: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal, .no-js .hero-animate { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3) { border-right: 0; }
  .step:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
  .phase-row { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links a { padding: 8px 9px; font-size: 12.5px; }
  .build-grid, .reel-grid { grid-template-columns: repeat(2, 1fr); }
  .reel-grid > .reel-card, .reel-grid > .reel-card--feature { grid-column: auto; }
  .build-grid .product-card--wide { grid-column: span 2; }
  .opportunity-grid, .dats-band, .split-head, .cta-inner { grid-template-columns: 1fr; }
  .split-head { gap: 0; }
  .split-head .section-intro { margin-top: 0; }
  .dats-media { max-width: 520px; }
  .hero-meta { left: clamp(22px, 5vw, 64px); right: auto; text-align: left; top: 24px; font-size: 11.5px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    padding: 16px var(--gutter) 24px; background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.is-open a { font-size: 16px; padding: 12px; }
  .menu-toggle { display: flex; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .logo-img--nav { height: 45px; }
  .nav-actions .btn { display: none; }
  .hero { aspect-ratio: auto; min-height: 520px; max-height: none; margin-top: 16px; border-radius: 22px; width: calc(100% - 32px); }
  .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.85) 100%); }
  .hero-content { left: 22px; right: 22px; bottom: 26px; max-width: none; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-kicker { font-size: 10.5px; letter-spacing: 0.06em; }
  .build-grid, .reel-grid, .why-grid, .principles { grid-template-columns: 1fr; }
  .build-grid .product-card--wide { grid-column: auto; }
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; }
  .step:last-child { border-bottom: 0; }
  .step .num { grid-row: span 4; font-size: 2rem; }
  .step .tool { padding-top: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .deliverable { padding: 22px; }
  .modal { padding: 12px; }
  .modal-panel { padding: 12px 12px 16px; }
  .modal-top h2 { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-animate { opacity: 1; transform: none; }
}

