:root {
  --navy-950: #041423;
  --navy-900: #071f33;
  --navy-850: #0a2942;
  --navy-800: #0d3653;
  --blue: #1ab4d8;
  --blue-soft: #8be8f4;
  --gold: #ffc857;
  --gold-deep: #e5a62c;
  --cream: #f7f1e7;
  --paper: #fffdf8;
  --ink: #0b2238;
  --muted: #617183;
  --line: rgba(8, 36, 56, .12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(5, 26, 44, .18);
  --radius: 24px;
  --radius-sm: 16px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img, svg { max-width: 100%; }

button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 10px; }

.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(4, 20, 35, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 820;
  letter-spacing: -.04em;
}
.spark-word { color: var(--gold); }
.brand-mark { width: 34px; height: 34px; display: inline-flex; }
.brand-mark svg { overflow: visible; }
.brand-mark circle, .brand-mark path:not(.spark) {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
}
.brand-mark .spark { fill: var(--gold); stroke: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .94rem;
}
.site-nav > a { text-decoration: none; color: rgba(255,255,255,.86); }
.site-nav > a:hover { color: #fff; }

.menu-button {
  display: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff;
  background: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  color: #0b2238 !important;
  background: linear-gradient(135deg, #ffd774, var(--gold));
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(229, 166, 44, .22);
  transition: transform .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 15px 36px rgba(229, 166, 44, .28); }
.button-small { min-height: 40px; padding: 0 17px; font-size: .88rem; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 25%, rgba(36, 180, 215, .17), transparent 28%),
    radial-gradient(circle at 15% 28%, rgba(46, 80, 140, .30), transparent 34%),
    linear-gradient(135deg, #051729 0%, #082a44 48%, #03101c 100%);
  padding: 70px 0 34px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75,217,245,.7), transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}
.hero-glow-one {
  width: 320px; height: 320px; right: 12%; top: 12%;
  background: rgba(29, 181, 217, .10);
}
.hero-glow-two {
  width: 220px; height: 220px; left: -70px; bottom: 50px;
  background: rgba(255, 200, 87, .05);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #9e6c12; }

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.06em;
}
.hero h1 span { color: var(--gold); }

.lede {
  max-width: 650px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-points {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.92);
  font-weight: 690;
}
.hero-points li { margin: 5px 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.text-link {
  color: #d9f7ff;
  text-underline-offset: 6px;
  font-weight: 720;
}

.case-stage { position: relative; }

.museum-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(139,232,244,.28);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, #112f48, #071b2c 58%, #03101b);
  box-shadow: 0 35px 100px rgba(0,0,0,.36);
}

.museum-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.04) 50%, transparent 50.5%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 60px;
  opacity: .7;
}

.museum-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 26px;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.time-chip {
  color: var(--blue-soft);
  border: 1px solid rgba(139,232,244,.3);
  background: rgba(10,54,83,.68);
  border-radius: 10px;
  padding: 8px 10px;
  font-variant-numeric: tabular-nums;
}

.display-case {
  position: absolute;
  top: 126px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  text-align: center;
}

.glass {
  height: 208px;
  border: 2px solid rgba(180,240,255,.56);
  border-bottom-color: rgba(130,226,245,.78);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 30%),
    rgba(33, 146, 175, .05);
  box-shadow:
    inset 0 0 30px rgba(117, 222, 245, .09),
    0 0 50px rgba(27, 180, 220, .12);
  display: grid;
  place-items: center;
  border-radius: 8px 8px 2px 2px;
}

.plinth {
  padding: 16px 8px;
  border: 1px solid rgba(255,200,87,.26);
  color: #f8d783;
  background: #0a1722;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  letter-spacing: .08em;
}

.gem {
  position: relative;
  width: 82px;
  height: 82px;
  transform: rotate(45deg);
  border-radius: 16px 28px 16px 28px;
  background: linear-gradient(135deg, #bff9ff 0%, #2ac7ff 22%, #075bd7 62%, #132fa5 100%);
  box-shadow:
    0 0 18px rgba(109,226,255,.9),
    0 0 50px rgba(46,177,255,.55),
    0 20px 30px rgba(0,0,0,.3);
}
.gem::before, .gem::after {
  content: "";
  position: absolute;
  inset: 10px 20px;
  border-left: 1px solid rgba(255,255,255,.48);
  border-right: 1px solid rgba(255,255,255,.28);
  transform: rotate(-20deg);
}
.gem::after { inset: 20px 10px; transform: rotate(70deg); }

.evidence-note {
  position: absolute;
  z-index: 4;
  width: 150px;
  padding: 16px;
  color: #1c2630;
  background: #f3e6c7;
  box-shadow: 0 14px 25px rgba(0,0,0,.24);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}
.evidence-note span { display: block; margin-top: 4px; }
.note-one { left: 24px; top: 122px; transform: rotate(-4deg); }
.note-two { right: 20px; top: 104px; transform: rotate(3deg); text-align: center; }
.scribble { font-size: .7rem; letter-spacing: .08em; }

.suspects {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 76px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.suspect {
  min-height: 92px;
  padding: 10px 8px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 11px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.16), transparent 18%),
    linear-gradient(180deg, #25435b, #0d2234);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}
.suspect span { color: var(--blue-soft); font-size: .64rem; }
.suspect b { font-size: .68rem; color: rgba(255,255,255,.92); }

.case-badge {
  position: absolute;
  right: 20px;
  bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(255,255,255,.76);
}
.case-badge span { font-size: .62rem; letter-spacing: .18em; color: var(--gold); }
.case-badge b { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }

.feature-strip {
  position: relative;
  z-index: 3;
  margin-top: 42px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  border: 1px solid rgba(62,203,236,.3);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  background: rgba(5, 28, 45, .68);
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
}
.feature-strip span { text-align: center; font-size: .76rem; }
.feature-strip span::first-letter { color: var(--blue-soft); }

.section { padding: 92px 0; }

.how-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(255,200,87,.08), transparent 20%),
    linear-gradient(#fffdfa, #f7f1e7);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-heading.left { margin-inline: 0; text-align: left; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2, .featured-copy h2, .playtest-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
  line-height: 1.06;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,253,248,.84)),
    var(--paper);
  box-shadow: 0 16px 42px rgba(14,44,67,.08);
}
.step-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -45px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(27,180,216,.06);
}
.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-800);
  font-weight: 800;
}
.step-icon {
  margin: 24px 0 18px;
  color: var(--gold-deep);
  font-size: 2.6rem;
}
.step-card h3 { margin-bottom: 8px; font-size: 1.35rem; }
.step-card p { color: var(--muted); }

.case-section { background: #fffdfa; }

.featured-case {
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 390px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(130deg, #061a2d, #0a314e);
  box-shadow: var(--shadow);
}

.featured-copy {
  padding: clamp(34px, 6vw, 64px);
  align-self: center;
}
.featured-copy p:not(.eyebrow):not(.featured-question) { color: rgba(255,255,255,.78); max-width: 560px; }
.featured-question { margin-bottom: 26px; color: var(--blue-soft); font-weight: 800; }

.featured-art {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 40%, rgba(31,189,226,.18), transparent 28%),
    linear-gradient(135deg, #123b5a, #041524 76%);
}
.doorway {
  position: absolute;
  top: 35px; bottom: 0;
  width: 80px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(90deg, rgba(255,210,140,.08), transparent);
}
.doorway-one { left: 60px; }
.doorway-two { left: 190px; }
.artifact-glow {
  position: absolute;
  left: 44%;
  top: 28%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(167,237,255,.28);
  border-radius: 12px;
  background: radial-gradient(circle, rgba(58,198,255,.68) 0 7%, rgba(38,120,255,.18) 8% 20%, transparent 42%);
  box-shadow: 0 0 70px rgba(48,184,255,.28);
}
.group-silhouette {
  position: absolute;
  left: 22%;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 210px;
}
.person {
  position: relative;
  width: 54px;
  height: 125px;
  border-radius: 42% 42% 8px 8px;
  background: #020a10;
  opacity: .9;
}
.person::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -35px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #020a10;
}
.person.tall { height: 165px; }
.person.small { height: 90px; width: 45px; }
.person.medium { height: 140px; }
.featured-art > p {
  position: absolute;
  right: 28px;
  top: 82px;
  margin: 0;
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  letter-spacing: .12em;
  line-height: 2.1;
  text-align: right;
}
.featured-art > p b { color: var(--gold); }

.benefits-section {
  background: linear-gradient(#fffdfa, #f7f1e7);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefits-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}
.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--navy-800);
  background: #e7f7fb;
  font-size: 1.4rem;
  font-weight: 900;
}
.benefits-grid article:nth-child(3) .benefit-icon { background: #fff1cb; }
.benefits-grid article:nth-child(4) .benefit-icon { background: #ffe7e5; }
.benefits-grid h3 { margin-bottom: 8px; font-size: 1.05rem; }
.benefits-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.playtest-section { background: #fff; }
.playtest-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: clamp(34px, 6vw, 58px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,200,87,.12), transparent 24%),
    linear-gradient(120deg, #06243b, #0b3857);
}
.playtest-card > div { max-width: 760px; }
.playtest-card p:not(.eyebrow) { color: rgba(255,255,255,.77); margin-bottom: 0; }

.faq-section { background: #f7f1e7; }
.faq-wrap {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
}
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px 22px;
}
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { margin: 13px 0 0; color: var(--muted); }

.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 120%, #0e5278 0, #082b45 30%, #041423 70%);
  padding: 70px 0 38px;
}
.site-footer::before, .site-footer::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  height: 120px;
  bottom: -55px;
  background: #061b2b;
  transform: skewY(-4deg);
  opacity: .9;
}
.site-footer::after { bottom: -80px; transform: skewY(3deg); background: #03111d; }
.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.footer-inner p { margin: 8px 0 0; color: rgba(255,255,255,.55); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: #fff; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .case-stage { max-width: 720px; width: 100%; margin-inline: auto; }
  .feature-strip { grid-template-columns: repeat(3, 1fr); border-radius: 26px; }
  .featured-case { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .menu-button { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: #071f33;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
  }
  .site-nav.open { display: flex; }
  .site-nav .button { width: 100%; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .museum-card { min-height: 520px; }
  .display-case { width: 210px; }
  .note-two { display: none; }
  .suspects { grid-template-columns: repeat(5, 96px); overflow-x: auto; padding-bottom: 8px; }
  .feature-strip { grid-template-columns: 1fr; border-radius: 22px; }
  .feature-strip span { text-align: left; padding-left: 16px; }
  .section { padding: 68px 0; }
  .steps-grid, .benefits-grid { grid-template-columns: 1fr; }
  .playtest-card { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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