/* ============================================================
   Apollo Immersive Studios - shared styles
   Palette: twilight navy + warm gold (night-course / aim motif)
   ============================================================ */

:root {
  --ink:        #0b1020;   /* deepest twilight - page base */
  --ink-2:      #121a31;   /* raised surface */
  --ink-3:      #1b2542;   /* card / border */
  --haze:       #2a3658;   /* hairline / muted border */
  --mist:       #8e9bc0;   /* secondary text */
  --moon:       #e8edf9;   /* primary text */
  --gold:       #f2b441;   /* accent - the gold of a lit target */
  --gold-soft:  #f9d68a;   /* accent light */
  --ember:      #e8743b;   /* warm secondary accent (sparingly) */

  --display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 920px;
  --r: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(242,180,65,0.06), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(43,54,88,0.5), transparent 55%),
    var(--ink);
  color: var(--moon);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-soft); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout shell ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11,16,32,0.72);
  border-bottom: 1px solid var(--ink-3);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; color: var(--moon); font-size: 1.05rem; }
.brand:hover { color: var(--moon); }
.brand .mark { flex: 0 0 auto; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--mist); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--moon); }
@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.84rem; }
  .brand span { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; position: relative; }
.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-bottom: 26px;
}
.hero h1 .lit { color: var(--gold); }
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--mist);
  max-width: 52ch;
  margin-bottom: 36px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-primary { background: var(--gold); color: #1a1303; }
.btn-primary:hover { background: var(--gold-soft); color: #1a1303; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--moon); border-color: var(--haze); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- sections ---------- */
section.block { padding: 60px 0; }
.section-label {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--mist);
  font-weight: 500;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--ink-3); }

/* ---------- studio statement ---------- */
.statement { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.4; letter-spacing: -0.015em; max-width: 24ch; color: var(--moon); }
.statement em { font-style: normal; color: var(--gold); }

/* ---------- product cards ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .products { grid-template-columns: 1fr; } }
.products.products-single { grid-template-columns: 1fr; }
.product-feature { padding: 40px 38px; }
.product-feature h3 { font-size: 1.9rem; }
.product-feature p { font-size: 1.06rem; max-width: 60ch; }
@media (max-width: 680px) { .product-feature { padding: 30px 26px; } .product-feature h3 { font-size: 1.6rem; } }
.product {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.product:hover { border-color: var(--haze); transform: translateY(-2px); }
.product .tag { font-family: var(--display); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 14px; }
.product h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.product p { color: var(--mist); font-size: 0.98rem; }
.product .status { margin-top: 18px; font-size: 0.82rem; color: var(--mist); display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.dot.soon { background: var(--haze); box-shadow: none; }

/* ---------- contact strip ---------- */
.contact-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  padding: 36px 34px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.contact-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.contact-card p { color: var(--mist); font-size: 0.96rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink-3); margin-top: 40px; padding: 44px 0 56px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { font-family: var(--display); font-weight: 600; color: var(--moon); font-size: 1rem; margin-bottom: 8px; }
.footer-meta { color: var(--mist); font-size: 0.84rem; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--mist); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-col h4 { font-family: var(--display); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--moon); margin-bottom: 14px; font-weight: 600; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ink-3); color: var(--mist); font-size: 0.8rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   Legal / document pages
   ============================================================ */
.doc { padding: 64px 0 40px; }
.doc-head { margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--ink-3); }
.doc-head .eyebrow { margin-bottom: 16px; }
.doc-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.9rem); letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 14px; }
.doc-head .updated { color: var(--mist); font-size: 0.9rem; }

.doc-body { max-width: 720px; }
.doc-body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
  color: var(--moon);
  scroll-margin-top: 90px;
}
.doc-body h2 .num { color: var(--gold); font-size: 0.85em; margin-right: 12px; font-variant-numeric: tabular-nums; }
.doc-body h3 { font-family: var(--display); font-weight: 500; font-size: 1.08rem; margin: 26px 0 10px; color: var(--moon); }
.doc-body p { color: var(--mist); margin-bottom: 16px; }
.doc-body ul { margin: 0 0 18px 0; padding-left: 0; list-style: none; }
.doc-body li { color: var(--mist); margin-bottom: 11px; padding-left: 26px; position: relative; }
.doc-body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0.7; }
.doc-body strong { color: var(--moon); font-weight: 600; }
.doc-body a { border-bottom: 1px solid rgba(242,180,65,0.3); }

.callout {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
}
.callout p { margin-bottom: 0; color: var(--moon); }
.callout p + p { margin-top: 10px; }

.toc {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.toc h4 { font-family: var(--display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mist); margin-bottom: 14px; font-weight: 600; }
.toc ol { list-style: none; counter-reset: toc; columns: 2; column-gap: 32px; }
@media (max-width: 600px){ .toc ol { columns: 1; } }
.toc li { counter-increment: toc; margin-bottom: 9px; break-inside: avoid; }
.toc li a { color: var(--mist); font-size: 0.9rem; }
.toc li a::before { content: counter(toc) "."; color: var(--gold); margin-right: 8px; font-variant-numeric: tabular-nums; }
.toc li a:hover { color: var(--gold); }

.contact-block {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  padding: 26px 28px;
  margin-top: 36px;
}
.contact-block .label { font-family: var(--display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mist); margin-bottom: 10px; }
.contact-block .who { color: var(--moon); font-weight: 600; margin-bottom: 4px; }
.contact-block .addr { color: var(--mist); font-size: 0.92rem; line-height: 1.7; }

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