/* ====================================================================
   HOWL — Candid Dating
   "Howl into the night. Someone's howling back."
   ==================================================================== */

:root {
  /* Core palette — black night + blood-red wolf */
  --black:       #000000;
  --ink:         #0A0A0A;   /* slight surface lift on near-black */
  --char:        #161616;   /* card / surface */
  --smoke:       #262626;   /* borders, dividers */
  --steel:       #3A3A3A;   /* muted text */

  /* Wolf-heart blood reds */
  --blood:       #8B0000;   /* deepest blood */
  --crimson:     #B30000;   /* primary brand red */
  --ember:       #E11D2C;   /* bright accent / hot signal */
  --rust:        #5A0000;   /* shadow red */

  /* Pack accents (from app gender + match cues) */
  --wolf-blue:   #1E5FFF;   /* boy paw */
  --wolf-mag:    #C724E6;   /* girl paw */
  --pack-green:  #2DD441;   /* match ✓ */
  --pack-red:    #FF2E2E;   /* pass ✗ */

  /* Moon (text on black) */
  --moon:        #F4F1E9;   /* primary text */
  --moon-dim:    #B0ADA3;   /* secondary */
  --whisper:     rgba(244, 241, 233, 0.72);
  --fog:         rgba(244, 241, 233, 0.38);

  /* Type */
  --display:     'Cinzel', 'Trajan Pro', Georgia, serif;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:        'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Easing */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--moon);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle blood-glow up top, the rest stays pitch black */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(179, 0, 0, 0.18), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(90, 0, 0, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main, nav, footer, section { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ember); }

/* ===== TYPOGRAPHY ===== */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h4 { font-family: var(--sans); font-weight: 600; line-height: 1.2; letter-spacing: 0.01em; }

h1 { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: 0.04em; }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); text-transform: none; letter-spacing: 0; }

.italic { font-style: italic; color: var(--ember); font-weight: 400; }
.amber, .red { color: var(--ember); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--ember); display: inline-block; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--whisper);
  line-height: 1.55;
  max-width: 60ch;
}
.small { font-size: 0.86rem; color: var(--moon-dim); }

/* ===== LAYOUT ===== */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap.tight { max-width: 980px; }
.wrap.narrow { max-width: 720px; }

section { padding: clamp(80px, 12vw, 140px) 0; }
section.compact { padding: clamp(50px, 7vw, 80px) 0; }

/* ===== NAV ===== */
nav.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid rgba(244, 241, 233, 0.06);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
  color: var(--moon);
}
.brand-moon {
  width: 28px; height: 28px;
  background-image: url("favicon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 8px rgba(179, 0, 0, 0.5));
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-size: 0.88rem;
}
.nav-links a {
  color: var(--whisper);
  font-weight: 500;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--moon); }
.nav-links .active { color: var(--ember); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--crimson);
  color: var(--moon);
  box-shadow: 0 4px 24px rgba(179, 0, 0, 0.35);
}
.btn-primary:hover {
  background: var(--ember);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(225, 29, 44, 0.45);
  color: var(--moon);
}
.btn-ghost {
  background: transparent;
  color: var(--moon);
  border: 1px solid rgba(244, 241, 233, 0.22);
}
.btn-ghost:hover {
  border-color: var(--ember);
  color: var(--ember);
  background: rgba(225, 29, 44, 0.06);
}

/* App-store badges */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.store-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 18px;
  background: rgba(244, 241, 233, 0.04);
  border: 1px solid rgba(244, 241, 233, 0.14);
  border-radius: 6px;
  transition: all .25s var(--ease);
  min-height: 56px;
  position: relative;
}
.store-badge:hover {
  background: rgba(244, 241, 233, 0.08);
  border-color: var(--crimson);
  color: var(--moon);
  transform: translateY(-1px);
}
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge-label { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge-label small {
  font-size: 0.6rem;
  color: var(--moon-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--mono);
}
.store-badge-label strong { font-size: 1.02rem; font-weight: 600; }
/* "Coming soon" treatment for placeholder store links */
.store-badge.soon { opacity: 0.55; cursor: default; pointer-events: none; }
.store-badge.soon::after {
  content: "SOON";
  position: absolute; top: -8px; right: -8px;
  font-family: var(--mono); font-size: 0.55rem;
  font-weight: 700; letter-spacing: 0.15em;
  background: var(--crimson); color: var(--moon);
  padding: 3px 7px; border-radius: 3px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--crimson), transparent);
  opacity: 0.6;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 .italic { display: block; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-side {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(244, 241, 233, 0.08),
              0 0 60px rgba(179, 0, 0, 0.15);
}
.hero-side img, .hero-side video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-side::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

/* Live "Howl is OPEN/CLOSED" badge */
.live-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(244, 241, 233, 0.04);
  border: 1px solid rgba(244, 241, 233, 0.14);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--whisper);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  animation: pulse 2s infinite;
}
.live-dot.open { background: var(--pack-green); box-shadow: 0 0 14px var(--pack-green); }
@keyframes pulse { 50% { opacity: 0.4; } }

/* Countdown */
.countdown {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: 28px;
  margin-top: 24px;
  padding: 20px 32px;
  background: rgba(244, 241, 233, 0.03);
  border: 1px solid rgba(179, 0, 0, 0.3);
  border-radius: 6px;
  backdrop-filter: blur(8px);
}
.countdown-unit { text-align: center; min-width: 60px; }
.countdown-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ember);
  display: block;
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--moon-dim);
  margin-top: 6px;
  display: block;
}

/* ===== PILLARS ===== */
.pillars {
  background: var(--ink);
  border-top: 1px solid rgba(244, 241, 233, 0.05);
  border-bottom: 1px solid rgba(244, 241, 233, 0.05);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.pillar {
  padding: 40px;
  background: var(--char);
  border: 1px solid rgba(244, 241, 233, 0.08);
  border-radius: 8px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  border-color: rgba(179, 0, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--crimson), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.pillar:hover::before { opacity: 1; }
.pillar-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--ember);
  margin-bottom: 16px;
  display: block;
  text-transform: uppercase;
}
.pillar h3 { color: var(--moon); margin-bottom: 14px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.pillar p { color: var(--whisper); line-height: 1.65; font-size: 0.98rem; }
.pillar-icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--ember);
  opacity: 0.85;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 24px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(to right, transparent, var(--smoke), transparent);
  z-index: 0;
}
.step { text-align: left; position: relative; z-index: 1; }
.step-num {
  width: 48px; height: 48px;
  background: var(--black);
  border: 1px solid var(--crimson);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ember);
  margin-bottom: 22px;
}
.step h4 { color: var(--moon); margin-bottom: 10px; }
.step p { color: var(--whisper); font-size: 0.94rem; line-height: 1.6; }

/* ===== HOWL HOUR SCHEDULE ===== */
.hour-schedule {
  background: var(--char);
  border: 1px solid rgba(179, 0, 0, 0.2);
  border-radius: 10px;
  padding: 56px 48px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.hour-schedule::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--crimson) 30%, var(--crimson) 70%, transparent);
}
.hour-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
  position: relative;
}
.hour-point {
  text-align: center;
  padding: 24px 12px;
  border-radius: 6px;
  background: rgba(244, 241, 233, 0.02);
  border: 1px solid rgba(244, 241, 233, 0.06);
}
.hour-time {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ember);
  display: block;
  line-height: 1;
  letter-spacing: 0.02em;
}
.hour-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin-top: 10px;
  display: block;
}
.hour-desc {
  font-size: 0.86rem;
  color: var(--whisper);
  margin-top: 12px;
  line-height: 1.45;
}

/* ===== VIDEO ===== */
.video-section { padding-top: 60px; padding-bottom: 60px; }
.video-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 56px auto 0;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(244, 241, 233, 0.08);
  background: var(--black);
}
.video-frame video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(179, 0, 0, 0.18) 0%, transparent 65%);
}
.manifesto-quote {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--moon);
  max-width: 22ch;
  margin: 0 auto;
  position: relative;
}
.manifesto-quote::before, .manifesto-quote::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--crimson);
  margin: 24px auto;
}

/* ===== FAQ ===== */
.faq-list { margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid rgba(244, 241, 233, 0.08);
  transition: all .2s;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--moon);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 200;
  color: var(--ember);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--ember); }
.faq-answer {
  padding: 0 0 28px;
  color: var(--whisper);
  line-height: 1.7;
  max-width: 70ch;
  font-size: 1rem;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background:
    radial-gradient(ellipse at center, var(--crimson) 0%, var(--rust) 65%, var(--black) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(244, 241, 233, 0.08);
  border-bottom: 1px solid rgba(244, 241, 233, 0.08);
}
.cta-strip h2 { color: var(--moon); }
.cta-strip h2 .italic { color: var(--moon); }
.cta-strip p { color: rgba(244, 241, 233, 0.85); }
.cta-strip .eyebrow { color: var(--moon); }
.cta-strip .eyebrow::before { background: var(--moon); }
.cta-strip .btn-primary { background: var(--black); color: var(--moon); }
.cta-strip .btn-primary:hover { background: var(--moon); color: var(--black); }
.cta-strip .store-badge {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(244, 241, 233, 0.25);
  color: var(--moon);
}
.cta-strip .store-badge:hover { background: var(--black); border-color: var(--moon); }
.cta-strip .store-badge-label small { color: rgba(244, 241, 233, 0.65); }
.cta-strip .store-badges { justify-content: center; }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(244, 241, 233, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--whisper); font-size: 0.92rem; max-width: 36ch; line-height: 1.6; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--moon-dim);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--whisper);
  font-size: 0.88rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.footer-col a:hover { color: var(--ember); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(244, 241, 233, 0.06);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  color: var(--moon-dim);
  text-transform: uppercase;
}
.footer-bottom a { color: var(--moon-dim); }
.footer-bottom a:hover { color: var(--ember); }

/* ===== STATS BAR ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding: 48px 56px;
  background: var(--char);
  border: 1px solid rgba(244, 241, 233, 0.06);
  border-radius: 10px;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  color: var(--ember);
  display: block;
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin-top: 14px;
  display: block;
}

/* ===== PAGE HEADER ===== */
.page-header { padding: 180px 0 60px; text-align: center; }
.page-header h1 { margin-bottom: 24px; }
.breadcrumb {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin-bottom: 20px;
}

/* ===== UTILS ===== */
.text-center { text-align: center; }
.hidden { display: none !important; }
hr.divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(179, 0, 0, 0.4), transparent);
  margin: 48px 0;
}

/* ===== FORM ===== */
.form-field {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 22px;
}
.form-field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moon-dim);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 18px;
  background: var(--char);
  border: 1px solid rgba(244, 241, 233, 0.14);
  border-radius: 4px;
  color: var(--moon);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--crimson);
  background: rgba(244, 241, 233, 0.04);
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-side { aspect-ratio: 4/5; max-width: 480px; margin: 0 auto; }
  .pillars-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .hour-timeline { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px; }
  .nav-links a:not(.btn) { display: none; }
  .countdown { gap: 14px; padding: 14px 18px; }
  .countdown-num { font-size: 1.8rem; }
  .countdown-unit { min-width: 44px; }
  .hour-schedule { padding: 36px 24px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .hour-timeline { grid-template-columns: 1fr; }
}
