/* haus video — demo section shared styles (static mocks, no app JS) */
:root {
  --bg: #071019;
  --bg-deep: #04080d;
  --panel: rgba(15, 25, 37, 0.82);
  --panel-strong: rgba(21, 32, 47, 0.94);
  --line: rgba(124, 152, 189, 0.28);
  --line-strong: rgba(124, 152, 189, 0.46);
  --text: #edf4ff;
  --muted: #9dafc9;
  --blue: #76a8ff;
  --blue-deep: #2a65d5;
  --gold: #f1c76d;
  --green: #88d9af;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(42, 101, 213, 0.26), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(241, 199, 109, 0.2), transparent 24%),
    linear-gradient(180deg, #09121c 0%, #05090e 54%, #08131e 100%);
  color: var(--text);
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(100% - 40px, var(--max)); margin: 0 auto; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6, 12, 20, 0.92), rgba(6, 12, 20, 0.55));
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: min(100% - 40px, var(--max)); margin: 0 auto;
  display: flex; align-items: center; gap: 22px; height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 96px; height: auto; display: block; }
.brand span { font: 600 13px/1 "Space Grotesk", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 12px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 13.5px; font-weight: 500; transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a.nav-cta { color: var(--bg-deep); background: var(--blue); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.nav a.nav-cta:hover { background: #93baff; }

/* ── Hero (landing) ─────────────────────────────────────── */
.video-hero {
  width: min(100% - 40px, var(--max)); margin: 34px auto 0;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: #000;
}
.video-hero__player { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

.hero-copy { text-align: center; padding: 46px 0 8px; }
.eyebrow {
  display: inline-block; font: 600 12px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
h1 { font: 700 clamp(30px, 4.6vw, 50px)/1.06 "Space Grotesk", sans-serif; margin: 0 auto 16px; max-width: 18ch; letter-spacing: -0.01em; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 62ch; margin: 0 auto; }

/* ── Sub-page hero (surface pages) ──────────────────────── */
.page-hero { padding: 48px 0 8px; text-align: center; }
.page-hero .lede { margin: 0 auto; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* ── Stage (large video/media frame) ────────────────────── */
.stage {
  margin: 34px auto 0; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  background: #05090e; position: relative;
}
.stage--wide { aspect-ratio: 16 / 9; }
.stage--tall { aspect-ratio: 9 / 16; max-width: 380px; }
.stage video, .stage img { width: 100%; height: 100%; object-fit: cover; }
.stage .ph {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 8px;
  color: var(--muted); font-size: 13px; letter-spacing: 0.04em; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(124,152,189,0.05) 0 12px, transparent 12px 24px);
}
.stage .ph strong { color: var(--text); font: 600 15px "Space Grotesk", sans-serif; letter-spacing: 0.02em; }
.stage-wrap { display: flex; justify-content: center; }

/* ── Sections + feature callouts ────────────────────────── */
.section { padding: 54px 0 20px; }
.section-title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; flex-wrap: wrap; }
.section-title h2 { font: 700 24px/1 "Space Grotesk", sans-serif; margin: 0; }
.section-title span { color: var(--muted); font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.feature .k { font: 600 11px/1 "Space Grotesk", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.feature h3 { margin: 0; font: 700 16px/1.25 "Space Grotesk", sans-serif; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ── Cards (landing + cast grid) ────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: #05090e; overflow: hidden; border-bottom: 1px solid var(--line); }
.card__media video, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; letter-spacing: 0.04em; background: repeating-linear-gradient(45deg, rgba(124,152,189,0.05) 0 10px, transparent 10px 20px); }
.card__tag { position: absolute; top: 12px; left: 12px; font: 600 11px/1 "Space Grotesk", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg-deep); background: var(--gold); padding: 5px 10px; border-radius: 999px; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { margin: 0; font: 700 19px/1.2 "Space Grotesk", sans-serif; }
.card__body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.card__cta { margin-top: 10px; font-weight: 600; font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; }
.card:hover .card__cta { color: #a9c9ff; }
.card__cta::after { content: "→"; transition: transform 0.18s ease; }
.card:hover .card__cta::after { transform: translateX(4px); }

/* ── Cast grid tiles ────────────────────────────────────── */
.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .cast-grid { grid-template-columns: repeat(2, 1fr); } }
.cast-tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.cast-tile__face { aspect-ratio: 3 / 4; background: linear-gradient(160deg, #12233a, #0a1420); position: relative; display: grid; place-items: center; color: var(--muted); }
.cast-tile__face img { width: 100%; height: 100%; object-fit: cover; }
.cast-tile__face .init { font: 700 34px "Space Grotesk", sans-serif; color: var(--line-strong); }
.cast-tile__face .badge { position: absolute; bottom: 10px; left: 10px; font: 600 10px/1 "Space Grotesk", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); background: rgba(8,20,14,0.72); border: 1px solid rgba(136,217,175,0.4); padding: 4px 8px; border-radius: 999px; }
.cast-tile__body { padding: 12px 14px 16px; }
.cast-tile__body b { display: block; font: 700 14px/1.2 "Space Grotesk", sans-serif; }
.cast-tile__body span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }

/* ── Gallery (video + how-it-was-made caption) ──────────── */
/* featured full-width row (end-to-end workflow) */
.gallery-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 24px 0 8px; }
@media (max-width: 860px) { .gallery-feature { grid-template-columns: 1fr; } }
.gallery-feature__media { background: #000; border-right: 1px solid var(--line); }
@media (max-width: 860px) { .gallery-feature__media { border-right: 0; border-bottom: 1px solid var(--line); } }
.gallery-feature__media video { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; display: block; }
.gallery-feature__body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 11px; }
.gallery-feature__body .eyebrow { margin-bottom: 2px; }
.gallery-feature__body h3 { margin: 0; font: 700 22px/1.15 "Space Grotesk", sans-serif; }
.gallery-feature__body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.gallery-feature .gallery-feats { grid-template-columns: 1fr 1fr; column-gap: 18px; margin-top: 6px; }
@media (max-width: 520px) { .gallery-feature .gallery-feats { grid-template-columns: 1fr; } }

.gallery-group { display: flex; align-items: center; gap: 14px; margin: 40px 0 16px; font: 700 14px/1 "Space Grotesk", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.gallery-group:first-of-type { margin-top: 24px; }
.gallery-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr; } }
.gallery-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.gallery-item__media { position: relative; aspect-ratio: 16 / 9; background: #000; border-bottom: 1px solid var(--line); }
.gallery-item__media video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.gallery-item__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.gallery-item__body h3 { margin: 0; font: 700 18px/1.2 "Space Grotesk", sans-serif; }
.gallery-item__body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.gallery-feats { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; gap: 5px; }
.gallery-feats li { position: relative; padding-left: 19px; font-size: 13px; line-height: 1.4; color: var(--text); }
.gallery-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; font-size: 12px; }
.gallery-feats-label { font: 700 10px/1 "Space Grotesk", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft, #9dafc9); margin-top: 6px; }
.gallery-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.gallery-tags span { font: 600 11px/1 "Space Grotesk", sans-serif; letter-spacing: 0.04em; color: var(--blue); background: rgba(118, 168, 255, 0.12); border: 1px solid rgba(118, 168, 255, 0.3); padding: 5px 9px; border-radius: 999px; }

/* ── Explainer live links (external — actual published walkthroughs) ── */
.explainer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 22px; }
.explainer-link {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.explainer-link:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.explainer-link__tag { align-self: flex-start; font: 600 11px/1 "Space Grotesk", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); background: rgba(136, 217, 175, 0.12); border: 1px solid rgba(136, 217, 175, 0.35); padding: 5px 10px; border-radius: 999px; }
.explainer-link h3 { margin: 0; font: 700 18px/1.25 "Space Grotesk", sans-serif; }
.explainer-link p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.explainer-link__cta { margin-top: 4px; font-weight: 600; font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; }
.explainer-link__cta::after { content: "↗"; transition: transform 0.18s ease; }
.explainer-link:hover .explainer-link__cta { color: #a9c9ff; }
.explainer-link:hover .explainer-link__cta::after { transform: translate(2px, -2px); }

/* ── Footer ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 28px 0 40px; }
.foot-inner { width: min(100% - 40px, var(--max)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.foot-inner a { color: var(--muted); text-decoration: none; }
.foot-inner a:hover { color: var(--text); }
