/* ═══════════════════════════════════════════════════════
   SPACE512 — main stylesheet
   Brand: dark, versatile, high-energy event space.
   Deliberately distinct from Danzversity (no gold).
   ═══════════════════════════════════════════════════════ */

/* Local Arial faces metric-matched to the webfonts so the display:swap
   reflow is zero-CLS (same fix as danzversity-site 257a069/1ff9d2f).
   Values from @capsizecss/metrics — Space Grotesk and Inter have real
   lowercase, so the lowercase-weighted ratios apply (no Bebas caps trap). */
@font-face {
  font-family: 'Bebas Neue Fallback';
  src: local('Arial');
  size-adjust: 57.5%;
  ascent-override: 156.52%;
  descent-override: 52.17%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

:root {
  --bg-page: #0b0b0f;
  --bg-alt: #101017;
  --bg-card: #15151d;
  --border: #262630;
  --text-primary: #f4f4f7;
  --text-secondary: #a6a6b4;
  --accent: #ff5a3c;        /* signal orange — CTAs, highlights */
  --accent-soft: #ff8a6f;
  --accent-2: #3cc9ff;      /* cool cyan — secondary highlights */
  --success: #4ade80;
  --error: #f87171;
  --radius: 14px;
  --font-display: 'Bebas Neue', 'Bebas Neue Fallback', 'Oswald', Impact, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400; /* Bebas Neue ships one weight; 700 would synthesize */
  line-height: 1.1;
  letter-spacing: 1.5px;
}

h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 22px; }

/* ── Nav ─────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 10px; padding: 6px 12px;
  text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 15px; font-weight: 500; transition: color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-links .btn { color: #fff; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text-primary); font-size: 26px; line-height: 1;
}
.nav-mobile {
  display: none; flex-direction: column; padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  color: var(--text-primary); text-decoration: none;
  padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 400; font-size: 15px; letter-spacing: 0.04em;
  text-decoration: none; text-align: center;
  cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,90,60,0.35); }
.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-secondary); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(255,90,60,0.14), transparent),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(60,201,255,0.10), transparent);
}
.hero-photo {
  background:
    linear-gradient(100deg, rgba(11,11,15,0.94) 30%, rgba(11,11,15,0.55) 70%, rgba(11,11,15,0.35)),
    url('/assets/img/gallery/space512-pic2.webp') center/cover no-repeat;
}
.hero .label { margin-bottom: 18px; }
.hero p.lede {
  font-size: 19px; color: var(--text-secondary);
  max-width: 640px; margin: 22px 0 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Sections ────────────────────────────────────────── */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { max-width: 760px; margin-bottom: 48px; }
.section-header p:not(.label) { color: var(--text-secondary); margin-top: 14px; font-size: 17px; }

.label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 400; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
}

/* ── Stat band ───────────────────────────────────────── */
.stat-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.stat {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.stat .num {
  font-family: var(--font-display); font-size: 40px; font-weight: 400;
  color: var(--accent);
}
.stat .desc { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }

/* ── Cards ───────────────────────────────────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: 15px; }
.card .card-icon { font-size: 30px; margin-bottom: 16px; }

/* ── Pricing ─────────────────────────────────────────── */
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; align-items: stretch;
}
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 30px;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--accent); position: relative; }
.price-card .tier {
  font-family: var(--font-display); font-weight: 400;
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 10px;
}
.price-card .amount {
  font-family: var(--font-display); font-size: 44px; font-weight: 400;
}
.price-card .amount small { font-size: 17px; color: var(--text-secondary); font-weight: 500; }
.price-card ul { list-style: none; margin: 22px 0 28px; flex: 1; }
.price-card li {
  color: var(--text-secondary); font-size: 15px;
  padding: 7px 0 7px 26px; position: relative;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent);
  font-weight: 700;
}

/* ── Tables (equipment etc.) ─────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left; padding: 14px 16px;
  border-bottom: 1px solid var(--border); font-size: 15px;
}
.spec-table th {
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-secondary);
}
.spec-table td { color: var(--text-primary); }
.spec-table td .sub { display: block; color: var(--text-secondary); font-size: 13px; }
.table-scroll { overflow-x: auto; }

/* ── Gallery ─────────────────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 14px;
  background: repeating-linear-gradient(45deg, var(--bg-card), var(--bg-card) 12px, var(--bg-alt) 12px, var(--bg-alt) 24px);
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 14px;
  padding: 0 24px;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 400; font-size: 17px;
  padding: 20px 32px 20px 0; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--accent); font-size: 24px; font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p, .faq-list details ul {
  color: var(--text-secondary); padding-bottom: 20px; font-size: 15px;
}
.faq-list details ul { padding-left: 22px; }

/* ── Forms ───────────────────────────────────────────── */
.form-wrap {
  max-width: 760px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 36px;
}
.form-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-row { display: flex; flex-direction: column; margin-top: 20px; }
.form-grid-2 .form-row { margin-top: 0; }
.form-row label {
  font-size: 14px; font-weight: 600; margin-bottom: 8px;
}
.form-row .req { color: var(--accent); }
.form-row input, .form-row select, .form-row textarea {
  background: var(--bg-page); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 14px;
  color: var(--text-primary); font-family: var(--font-body); font-size: 16px; /* <16px triggers iOS focus zoom */
  outline: none; transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--accent);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-submit { margin-top: 28px; width: 100%; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { margin-top: 18px; font-size: 15px; min-height: 22px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

.form-meta { margin-top: 18px; font-size: 14px; color: var(--text-secondary); }
.form-meta a { color: var(--accent); text-decoration: none; }

/* ── Callout / policy strip ──────────────────────────── */
.callout {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 24px 28px;
  color: var(--text-secondary); font-size: 15px;
}
.callout strong { color: var(--text-primary); }

/* ── CTA band ────────────────────────────────────────── */
.cta-band {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(255,90,60,0.16), transparent);
}
.cta-band p { color: var(--text-secondary); max-width: 560px; margin: 16px auto 32px; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px; background: var(--bg-alt);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo {
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--accent); }
.site-footer p, .site-footer address, .site-footer li {
  color: var(--text-secondary); font-size: 14px; font-style: normal;
}
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--text-primary); }
.footer-col h4 {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-primary); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  font-size: 13px; color: var(--text-secondary);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ── Sticky mobile call bar ──────────────────────────── */
.sticky-call {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
}
@media (max-width: 640px) {
  .sticky-call { display: flex; }
  body { padding-bottom: 54px; }
}
.sticky-call a {
  flex: 1; text-align: center; padding: 15px 0;
  font-family: var(--font-display); font-weight: 400; font-size: 15px;
  text-decoration: none; color: #fff; background: var(--accent);
}
.sticky-call a.text { background: #1c1c26; border-left: 1px solid var(--border); }

/* ── Utility ─────────────────────────────────────────── */
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
