/* WookLands: night-at-the-festival palette. Dark by design (it's a light show). */
@font-face {
  font-family: "Bungee";
  src: url("/fonts/bungee.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #0b0f24;
  --bg-2: #121838;
  --bg-3: #1a2150;
  --text: #eef0ff;
  --muted: #a9afd6;
  --pink: #ff4fa3;
  --yellow: #ffd23f;
  --green: #3ddc84;
  --cyan: #38d6ff;
  --warn: #ff7a1a;
  --danger: #ff4d5e;
  --amber: #ffb547;   /* golden hour (Docs/Marketing.md) */
  --pine: #1f5d3a;
  --steam: #1b9df0;
  --radius: 14px;
  --display: "Bungee", "Arial Black", Impact, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:hover { color: var(--yellow); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.4rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.05rem; color: var(--yellow); }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.u { font-family: var(--body); font-weight: 800; }
.small { font-size: .85rem; }
.center { justify-content: center; }
.skip { position: absolute; left: -999px; top: 8px; min-height: 44px; background: var(--yellow); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.eyebrow { font: 700 .8rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--pink); margin-bottom: 1rem; }
.eyebrow-warn { color: var(--warn); }
.hl { color: var(--yellow); }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #d9dcf7; max-width: 46rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: .85em 1.4em; border-radius: 999px; font: 700 1rem/1 var(--body);
  text-decoration: none; border: 2px solid transparent; transition: transform .12s, box-shadow .12s, background .12s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-steam { background: linear-gradient(135deg, #1b9df0, #2a5bd7); color: #fff; box-shadow: 0 6px 24px rgba(27,157,240,.35); }
.btn-steam:hover { color: #fff; box-shadow: 0 8px 32px rgba(27,157,240,.55); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-sm { padding: .55em 1em; font-size: .9rem; min-height: 44px; }
.btn-lg { padding: 1em 1.8em; font-size: 1.15rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,15,36,.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; min-height: 44px; flex-shrink: 1; min-width: 0; }
.header-row .btn-sm { flex-shrink: 0; gap: 0; }
.brand img { width: 170px; height: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; display: flex; align-items: center; min-height: 44px; padding: 0 10px; }
.nav a:hover { color: var(--yellow); }
.menu-toggle { display: none; }
.hide-xs { display: inline; }
@media (max-width: 760px) {
  .header-row { gap: 8px; min-height: 60px; }
  .brand img { width: 136px; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s;
  }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid rgba(255,255,255,.08); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.4);
  }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; padding: 0 4px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1.05rem; }
}
@media (max-width: 374px) {
  .hide-xs { display: none; }
  .brand img { width: 124px; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero-bg, .hero-bg img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-video { opacity: 0; transition: opacity .8s; }
.hero-video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,15,36,.95) 0%, rgba(11,15,36,.75) 45%, rgba(11,15,36,.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11,15,36,0) 40%);
}
.hero-inner { padding: 120px 0 72px; }
.hero h1 { max-width: 14ch; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(11,15,36,.82) 55%, rgba(11,15,36,.45) 100%); }
  .hero-inner { padding: 40px 0 36px; }
  .hero .eyebrow { margin-bottom: .7rem; }
  .hero .lede { font-size: 1rem; }
  .hero .cta-row { margin-top: 1.1rem; }
  .hero .cta-row .btn { flex: 1 1 auto; }
}

/* Stats */
.stats { border-block: 1px solid rgba(255,255,255,.08); background: linear-gradient(90deg, var(--bg-2), #14203a 60%, rgba(31,93,58,.35)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0; }
.stats-grid div { display: flex; flex-direction: column; }
.stats-grid b { font: 400 clamp(1.4rem, 3vw, 2rem)/1.1 var(--display); color: var(--yellow); }
.stats-grid span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* Sections */
section { scroll-margin-top: 72px; }
.pitch { padding: 80px 0 40px; max-width: 900px; }
.pitch p { font-size: 1.1rem; color: #d9dcf7; }
.pitch .eyebrow { color: var(--amber); }
.section-title { margin-bottom: .8em; }
.features { padding: 48px 0 80px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 22px 22px 8px;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--pink), var(--yellow), var(--green), var(--cyan)); opacity: .8; }
.card p { color: #cfd3f2; font-size: .98rem; }

/* Safety */
.safety { background: #0f1430; border-block: 1px solid rgba(255,122,26,.25); padding: 80px 0; }
.safety-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .safety-grid { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checks li { position: relative; padding-left: 1.8em; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .8em; height: .8em; border-radius: 3px; background: var(--green); transform: rotate(-8deg); }
.density { display: grid; gap: 8px; }
.d-row { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 10px; font-weight: 700; color: #0b0f24; }
.d-row > span:first-child { font-family: var(--display); font-weight: 400; }
.d1 { background: var(--green); }
.d2 { background: var(--yellow); }
.d3 { background: var(--warn); }
.d4 { background: var(--danger); color: #fff; }

/* Gallery */
.shots { padding: 80px 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 1.2rem; }
.shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: var(--bg-2); aspect-ratio: 16 / 9; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shot:hover img { transform: scale(1.04); }
.shot-wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot-wide { grid-column: span 2; grid-row: auto; }
}
.gallery-even .shot-wide { grid-column: auto; grid-row: auto; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5,7,18,.92); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; }
.lightbox figcaption { color: var(--text); text-align: center; padding-top: 10px; }
.lightbox button { position: fixed; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.lightbox button:hover { background: var(--pink); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }

/* Quotes */
.overheard { padding: 40px 0 80px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.quotes blockquote { margin: 0; padding: 18px 20px; border-left: 4px solid var(--pink); background: var(--bg-2); border-radius: 0 12px 12px 0; color: #dfe2ff; font-style: italic; }
.quotes blockquote:nth-child(3n+2) { border-color: var(--yellow); }
.quotes blockquote:nth-child(3n) { border-color: var(--green); }

/* Final CTA */
.final-cta { text-align: center; padding: 88px 0 96px; background: radial-gradient(ellipse at 50% 30%, rgba(255,181,71,.16), transparent 45%), radial-gradient(ellipse at center, rgba(255,79,163,.18), transparent 60%); }
.final-cta p { color: var(--muted); max-width: 36rem; margin: 0 auto 1.6rem; }
.totem-big { margin: 0 auto 1.2rem; animation: sway 4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 50% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .totem-big { animation: none; } }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.08); padding: 40px 0 24px; background: #080b1b; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer-grid nav a { color: var(--text); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.footer-grid nav a:hover { color: var(--yellow); }
.fineprint { margin-top: 24px; color: #7f86b3; font-size: .82rem; }
.fineprint a { color: #9aa2d6; }

/* Press */
.page-head { padding: 72px 0 40px; }
.press-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; padding-bottom: 40px; }
@media (max-width: 860px) { .press-grid { grid-template-columns: 1fr; } }
.factsheet { background: var(--bg-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 24px; position: sticky; top: 84px; }
@media (max-width: 860px) { .factsheet { position: static; } }
.factsheet h2 { font-size: 1.2rem; }
.factsheet dl { margin: 0; }
.factsheet dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 12px; }
.factsheet dd { margin: 2px 0 0; font-weight: 600; }
.press-body section { margin-bottom: 2.4rem; }
.press-body h2, .press > section > h2 { font-size: 1.4rem; }
.press > section.wrap { padding-bottom: 48px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.logo-tile { margin: 0; border-radius: var(--radius); padding: 32px 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.1); }
.logo-tile img { max-height: 96px; width: auto; }
.logo-tile-dark { background: var(--bg-2); }
.logo-tile-light { background: #f4f5ff; color: #0b0f24; }
.logo-tile-light a { color: #2a5bd7; }
.logo-tile figcaption { font-size: .9rem; }

/* 404 */
.lost { text-align: center; padding: 96px 0 120px; }
.lost .lede { margin-inline: auto; }

/* Trailer */
.trailer { padding: 24px 0 64px; }
.trailer-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.08); }
.trailer-frame iframe, .trailer-frame video, .trailer-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-facade { background: #000 center / cover no-repeat; cursor: pointer; padding: 0; }
.trailer-facade .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--pink); box-shadow: 0 8px 30px rgba(255,79,163,.5); }
.trailer-facade .play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.trailer-facade:hover .play { background: var(--yellow); }

/* Phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .pitch { padding: 48px 0 24px; }
  .features, .shots, .safety { padding: 48px 0; }
  .overheard { padding: 24px 0 48px; }
  .final-cta { padding: 56px 0 64px; }
  .d-row { padding: 14px 16px; font-size: .95rem; }
  .lightbox button { width: 44px; height: 44px; }
}

/* Secondary and tertiary CTAs */
.cta-secondary { margin: .9rem 0 0; color: var(--muted); font-size: .95rem; }
.cta-secondary a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--text); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 4px; }
.cta-secondary a:hover { color: var(--yellow); }
.final-cta .cta-secondary { text-align: center; }
.mid-cta { background: linear-gradient(90deg, rgba(255,79,163,.12), rgba(56,214,255,.08)); border-block: 1px solid rgba(255,255,255,.06); padding: 36px 0; }
.mid-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.mid-cta-line { font: 400 clamp(1.1rem, 2.6vw, 1.6rem)/1.2 var(--display); margin: 0; max-width: 22ch; }
.mid-cta .cta-secondary { margin-top: .4rem; }
.email-box { margin: 2rem auto 0; max-width: 30rem; text-align: left; }
.email-box label { display: block; color: var(--muted); font-size: .9rem; margin-bottom: .4rem; }
.email-row { display: flex; gap: 8px; }
.email-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: var(--bg-2); color: var(--text); font: inherit; }
.email-row input:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
