/* Founder-film presentation deck. Stacked, responsive slides by default; one-slide "present" mode on wide screens. */
:root {
  --ink: #101820; --bg: #0a1017; --panel: #13202b; --line: #24384a; --soft: #f4f1ea; --muted: #b9c2c9;
  --accent: #f26419; --gold: #d4af37; --blue: #1c3f60; --cyan: #22d3ee; --green: #34d399;
  --font: "Aptos", "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--soft); font: 16px/1.5 var(--font); padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.dtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 14px 16px; }
.lockup { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lockup .x { color: var(--gold); margin: 0 4px; }
.chip { margin-inline-start: 10px; padding: 3px 10px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-size: 11px; }
.dnav { display: flex; gap: 8px; flex: none; }
.dnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; font-weight: 700; font-size: 14px; }
.dlang select { appearance: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--soft); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.dlang select option { color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s-film { background: #05080c; }
.s-film .inner { width: 100%; }
.filmhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.filmhead .kicker { margin: 0; }
.subpick { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.subpick select { appearance: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--gold); background: var(--panel); color: var(--soft); font: inherit; cursor: pointer; }
.subpick select option { color: var(--ink); }
.dvideo { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; }
.dvideo::cue { background: rgba(8, 12, 16, .82); color: #fff; font-family: var(--font); }
.tagline-local { color: var(--soft); margin: 0 0 6px; }
.tagline-local:empty { display: none; }
.dnav .watch { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Slides: stacked cards (default, phones, no JS, print) */
.deck { max-width: 1240px; margin: 0 auto; padding: 0 16px 40px; display: grid; gap: 18px; }
.slide { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, #13202b, #0b1219); padding: 34px 26px; display: flex; gap: 26px; align-items: center; min-height: 420px; }
.slide .inner { position: relative; z-index: 1; flex: 1; min-width: 0; }
.slide .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.slide .bg + .inner::before { content: none; }
.s-cover, .s-quote, .s-close { background: #05080c; }
.s-cover .bg, .s-quote .bg, .s-close .bg { opacity: .42; mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 70%); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 70%); }
.kicker { margin: 0 0 10px; color: var(--gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0 0 12px; font-size: clamp(2rem, 1.2rem + 4vw, 4.4rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; }
h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.8rem); line-height: 1.15; }
.sub, .lead, .role { font-size: clamp(1rem, .9rem + .5vw, 1.35rem); color: var(--muted); margin: 0 0 16px; max-width: 44ch; }
.role { color: var(--gold); font-weight: 700; }
blockquote { margin: 0 0 18px; font-size: clamp(1.6rem, 1rem + 3vw, 3.4rem); line-height: 1.15; font-weight: 800; max-width: 22ch; }
.quote { margin: 18px 0 0; font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem); font-style: italic; color: var(--soft); }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-inline-start: 28px; position: relative; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242,100,25,.18); }
.chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(34,211,238,.5); color: var(--cyan); font-weight: 700; letter-spacing: .04em; font-size: 14px; }
.side { width: 38%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); flex: none; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.pillar { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 18px; }
.pillar h3 { margin: 0 0 6px; color: var(--gold); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); }
.pillar p { margin: 0; color: var(--muted); }
.logo { height: 84px; width: auto; display: block; margin-bottom: 12px; }
.card { width: 30%; max-width: 330px; height: auto; flex: none; filter: drop-shadow(0 18px 40px rgba(0,0,0,.5)); }
.s-je { background: linear-gradient(160deg, #2a1d12, #0e0d10); border-color: #5b3b1c; }
.s-wwl { background: linear-gradient(160deg, #141b3a, #0a1220); border-color: #1d4a5c; }
.auds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aud { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.aud:hover { border-color: var(--gold); transform: translateY(-2px); }
.aud-l { color: var(--muted); font-size: 14px; }
.aud strong { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.25; }
.aud-c { margin-top: auto; color: var(--accent); font-weight: 800; }
.s-close .inner { text-align: center; }
.s-close .sub { margin-inline: auto; }
.cards { display: flex; justify-content: center; gap: 18px; margin: 10px 0 12px; }
.cards img { width: min(240px, 40vw); height: auto; }
.tagline { color: var(--gold); font-weight: 700; margin: 0 0 6px; }
.mail a { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid var(--line); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #d9550f; }

/* Controls (present mode only) */
.dctl { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(16,24,32,.92); border: 1px solid var(--line); z-index: 10; }
.dctl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--soft); font-size: 22px; cursor: pointer; }
.dctl button:hover { background: rgba(255,255,255,.08); }
#count { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.bar { position: absolute; left: 18px; right: 18px; bottom: 2px; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }

/* Present mode: one 16:9 slide at a time, scaled to the screen */
body.present { overflow: hidden; height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
body.present .deck { flex: 1; width: 100%; margin: 0; display: grid; place-items: center; padding: 0 16px 76px; max-width: none; min-height: 0; }
body.present .slide { grid-area: 1 / 1; width: min(100%, calc((100dvh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; min-height: 0; padding: 4% 5%; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; container-type: inline-size; }
body.present .slide.on { opacity: 1; visibility: visible; }
body.present h1 { font-size: 6.2cqw; }
body.present h2 { font-size: 3.6cqw; }
body.present blockquote { font-size: 4.6cqw; }
body.present .sub, body.present .lead, body.present .role { font-size: 1.7cqw; }
body.present .ticks li, body.present .pillar p, body.present .aud-l, body.present .chips li { font-size: 1.4cqw; }
body.present .kicker { font-size: 1.15cqw; }
body.present .quote, body.present .pillar h3, body.present .aud strong { font-size: 1.9cqw; }
body.present .logo { height: 7cqw; }
body.present .cards img { width: 15cqw; }
body.present .s-film { padding: 2.5% 6%; }
body.present .dvideo { width: min(100%, 76cqw); height: auto; aspect-ratio: 16 / 9; margin: 0 auto; }
body.present .subpick, body.present .subpick select { font-size: 1.3cqw; }
body.present .btn { min-height: 3.6cqw; font-size: 1.35cqw; padding: .6cqw 1.8cqw; }
body.present:fullscreen .dtop { display: none; }

@media (max-width: 820px) {
  .slide { flex-direction: column; align-items: stretch; padding: 26px 20px; min-height: 0; }
  .side, .card { width: 100%; max-width: 340px; align-self: center; }
  .pillars { grid-template-columns: 1fr; }
  .auds { grid-template-columns: 1fr 1fr; }
  .lockup { font-size: 10.5px; }
  .chip { display: none; }
}
@media (max-width: 480px) { .auds { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Print / Save as PDF: one landscape page per slide */
@page { size: 16in 9in; margin: 0; }
@media print {
  body { background: #0a1017; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .dtop, .dctl, .btn { display: none !important; }
  .deck { padding: 0; gap: 0; max-width: none; }
  .slide { break-after: page; border-radius: 0; border: 0; width: 16in; height: 9in; padding: .7in .9in; }
}
.ainote { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.ainote span { color: var(--gold); }
body.present .ainote { font-size: 1.15cqw; margin-top: .6cqw; }
