/* ============================================================
   SUBSPARQ — site.css  v2
   Dark nav/hero + alternating light sections + photo banners
============================================================ */

:root {
  --void: #0A0B0F; --dark: #0F1014; --surface: #16181D;
  --surface-2: #1E2028; --surface-3: #252830;
  --border: rgba(255,255,255,0.07); --border-2: rgba(255,255,255,0.12);
  --light: #F5F6F8; --light-2: #ECEEF2; --light-3: #FFFFFF;
  --border-l: rgba(0,0,0,0.08); --border-l2: rgba(0,0,0,0.14);
  --yellow: #FFCD11; --yellow-dim: #E6B800; --yellow-glow: rgba(255,205,17,0.15);
  --yellow-pale: rgba(255,205,17,0.08); --yellow-dark: rgba(255,205,17,0.12);
  --white: #FFFFFF; --off-white: #F0F1F3; --muted: #6B7280;
  --muted-2: #9CA3AF; --subtle: rgba(255,255,255,0.45);
  --ink: #0F1014; --ink-2: #374151; --ink-3: #6B7280;
  --bid-green: #16A34A; --look-amber: #D97706; --twice-red: #DC2626;
  --bid-green-bg: rgba(22,163,74,0.09); --look-amber-bg: rgba(217,119,6,0.09);
  --twice-red-bg: rgba(220,38,38,0.09);
  --display: 'Barlow Condensed','Arial Narrow',sans-serif;
  --sans: 'Barlow',system-ui,sans-serif;
  --radius: 4px; --radius-md: 8px; --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10); --shadow-md: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.18); --shadow-dk: 0 24px 64px rgba(0,0,0,0.6);
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;font-size:16px;}
body{font-family:var(--sans);background:var(--void);color:var(--muted-2);line-height:1.6;-webkit-font-smoothing:antialiased;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}

/* ── Layout ── */
.container{max-width:1160px;margin:0 auto;padding:0 40px;}
.container--narrow{max-width:780px;margin:0 auto;padding:0 40px;}
section{position:relative;}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow-dim); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--yellow-dim); flex-shrink: 0;
}
.section-light .eyebrow, .section-white .eyebrow { color: #92400E; }
.section-light .eyebrow::before, .section-white .eyebrow::before { background: #92400E; }

/* ── Section titles ── */
.section-title {
  font-family: var(--display); font-size: clamp(2.25rem,4vw,3.25rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--white); line-height: 1.05; margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--yellow); }
.section-sub { font-size: 1.0625rem; color: var(--muted-2); line-height: 1.75; max-width: 580px; }
.section-light .section-title, .section-white .section-title { color: var(--ink); }
.section-light .section-title em, .section-white .section-title em { color: #92400E; }
.section-light .section-sub, .section-white .section-sub { color: var(--ink-2); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: var(--radius);
  cursor: pointer; transition: all 0.18s; border: none;
  text-decoration: none; white-space: nowrap;
}
.btn-yellow { background: var(--yellow); color: var(--void); padding: 12px 28px; font-size: 1rem; box-shadow: 0 4px 16px rgba(255,205,17,0.30); }
.btn-yellow:hover { background: #FFD740; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,205,17,0.45); }
.btn-yellow-lg { padding: 16px 36px; font-size: 1.125rem; }
.btn-ghost { background: transparent; color: var(--muted-2); padding: 12px 26px; font-size: 1rem; border: 1.5px solid var(--border-2); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--ink-2); padding: 12px 26px; font-size: 1rem; border: 1.5px solid var(--border-l2); }
.btn-ghost-light:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-sm { padding: 9px 20px; font-size: 0.875rem; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,11,15,0.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); transition: border-color 0.2s;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon { width: 34px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-icon svg { width: 28px; height: 28px; }
.nav-wordmark { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; color: var(--white); }
.nav-wordmark .sparq { color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.18s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-sign-in { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.18s; }
.nav-sign-in:hover { color: var(--white); }

/* ── PHOTO BANNER ── */
.photo-banner { position: relative; height: 460px; overflow: hidden; display: flex; align-items: center; }
.photo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,15,0.85) 0%, rgba(10,11,15,0.50) 55%, rgba(10,11,15,0.10) 100%); }
.photo-banner-content { position: relative; z-index: 1; padding: 0; max-width: 1160px; margin: 0 auto; width: 100%; padding: 0 40px; }
.photo-banner-content h2 { font-family: var(--display); font-size: clamp(2rem,4vw,3.25rem); font-weight: 800; text-transform: uppercase; color: var(--white); line-height: 1.05; margin-bottom: 12px; max-width: 560px; }
.photo-banner-content h2 em { color: var(--yellow); font-style: italic; }
.photo-banner-content p { font-size: 1.0625rem; color: rgba(255,255,255,0.8); max-width: 480px; line-height: 1.7; margin-bottom: 28px; }

/* ── STAT STRIP (yellow) ── */
.stat-strip { background: var(--yellow); padding: 28px 0; }
.stat-strip-inner { display: flex; align-items: stretch; max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.stat-strip-block { flex: 1; display: flex; align-items: center; gap: 16px; padding: 0 32px; border-right: 1px solid rgba(0,0,0,0.12); }
.stat-strip-block:first-child { padding-left: 0; }
.stat-strip-block:last-child { border-right: none; }
.stat-strip-num { font-family: var(--display); font-size: 2.5rem; font-weight: 800; color: var(--void); white-space: nowrap; line-height: 1; }
.stat-strip-desc { font-size: 0.8125rem; font-weight: 600; color: rgba(10,11,15,0.65); line-height: 1.4; max-width: 130px; }

/* ── QUOTE BLOCK ── */
.quote-block { background: var(--dark); padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quote-inner { max-width: 860px; margin: 0 auto; padding: 0 40px; text-align: center; }
.quote-mark { font-family: var(--display); font-size: 5rem; font-weight: 800; color: var(--yellow); line-height: 0.6; margin-bottom: 16px; display: block; }
.quote-text { font-family: var(--display); font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 600; font-style: italic; color: var(--white); line-height: 1.3; margin-bottom: 24px; }
.quote-attr { font-size: 0.875rem; color: var(--muted); }
.quote-attr strong { color: var(--muted-2); font-weight: 600; }

/* ── PAGE HERO ── */
.page-hero { background: var(--dark); padding: 120px 0 72px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero::before { content:''; position:absolute; inset:0; background-image:repeating-linear-gradient(-55deg,transparent,transparent 28px,rgba(255,255,255,0.015) 28px,rgba(255,255,255,0.015) 29px); pointer-events:none; }
.page-hero::after { content:''; position:absolute; top:-100px; left:50%; transform:translateX(-50%); width:600px; height:400px; background:radial-gradient(ellipse at center,rgba(255,205,17,0.07) 0%,transparent 70%); pointer-events:none; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-family:var(--display); font-size:clamp(3rem,6vw,5rem); font-weight:800; text-transform:uppercase; letter-spacing:0.02em; color:var(--white); line-height:1.0; margin-bottom:16px; }
.page-hero h1 em { color:var(--yellow); font-style:italic; }
.page-hero p { font-size:1.125rem; color:var(--muted-2); max-width:560px; line-height:1.7; }
.page-hero-rule { width:40px; height:3px; background:var(--yellow); border-radius:2px; margin:20px 0; }

/* ── FINAL CTA ── */
.final-cta { background:var(--dark); padding:100px 0; text-align:center; position:relative; overflow:hidden; border-top:1px solid var(--border); }
.final-cta::before { content:''; position:absolute; inset:0; background-image:repeating-linear-gradient(-55deg,transparent,transparent 28px,rgba(255,255,255,0.015) 28px,rgba(255,255,255,0.015) 29px); }
.final-cta::after { content:''; position:absolute; bottom:-80px; left:50%; transform:translateX(-50%); width:800px; height:500px; background:radial-gradient(ellipse at center,rgba(255,205,17,0.09) 0%,transparent 65%); }
.final-cta .container { position:relative; z-index:1; }
.final-cta h2 { font-family:var(--display); font-size:clamp(2.5rem,5vw,4.25rem); font-weight:800; text-transform:uppercase; color:var(--white); line-height:1.05; margin-bottom:18px; }
.final-cta h2 em { color:var(--yellow); font-style:italic; }
.final-cta p { font-size:1.0625rem; color:var(--muted-2); max-width:520px; margin:0 auto 40px; line-height:1.7; }
.final-cta-btns { display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }
.beta-note { font-size:0.8125rem; color:var(--muted); margin-top:16px; }

/* ── FOOTER ── */
footer { background:var(--void); border-top:1px solid var(--border); padding:56px 0 32px; }
.footer-top { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:48px; padding-bottom:40px; border-bottom:1px solid var(--border); margin-bottom:32px; }
.footer-brand .footer-wordmark { font-family:var(--display); font-size:1.375rem; font-weight:800; letter-spacing:0.06em; text-transform:uppercase; color:var(--white); margin-bottom:12px; }
.footer-brand .footer-wordmark span { color:var(--yellow); }
.footer-brand p { font-size:0.875rem; color:var(--muted); line-height:1.65; max-width:260px; }
.footer-col-title { font-family:var(--display); font-size:0.6875rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin-bottom:16px; }
.footer-col-links { display:flex; flex-direction:column; gap:10px; }
.footer-col-links a { font-size:0.875rem; color:var(--muted); transition:color 0.18s; }
.footer-col-links a:hover { color:var(--white); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-copy { font-size:0.75rem; color:var(--muted); }
.footer-legal { display:flex; gap:20px; }
.footer-legal a { font-size:0.75rem; color:var(--muted); transition:color 0.18s; }
.footer-legal a:hover { color:var(--white); }

/* ── Scroll animation ── */
.fade-up { opacity:1; transform:translateY(0); transition:opacity 0.55s ease,transform 0.55s ease; }
.js-ready .fade-up { opacity:0; transform:translateY(22px); }
.js-ready .fade-up.visible { opacity:1; transform:translateY(0); }
.fade-up.d1{transition-delay:0.08s;} .fade-up.d2{transition-delay:0.16s;}
.fade-up.d3{transition-delay:0.24s;} .fade-up.d4{transition-delay:0.32s;}

/* ── Responsive ── */
@media(max-width:960px){
  .footer-top{grid-template-columns:1fr 1fr;gap:32px;}
  .photo-banner{height:340px;}
  .stat-strip-inner{flex-wrap:wrap;}
  .stat-strip-block{flex:1 1 50%;border-right:none;border-bottom:1px solid rgba(0,0,0,0.1);padding:10px 0;}
}
@media(max-width:640px){
  .container,.container--narrow{padding:0 20px;}
  nav .nav-links{display:none;} .nav-sign-in{display:none;}
  .footer-top{grid-template-columns:1fr;}
  .final-cta-btns{flex-direction:column;align-items:center;}
  .photo-banner{height:260px;}
  .stat-strip-block{flex:1 1 100%;}
}
