/* ════════════════════════════════════════════
   STRIKE BOWLING — Shared Design System
   CCTA-inspired: #2c2828 · #c5353e · #fcfbf6
════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

:root {
  --dark:   #2c2828;
  --dark2:  #1e1b1b;
  --dark3:  #131010;
  --red:    #c5353e;
  --red-d:  #9e2028;
  --cream:  #fcfbf6;
  --cream2: #f0ede4;
  --stone:  #8a8278;
  --white:  #ffffff;

  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body:    'Lora', Georgia, serif;

  --ease-out:    cubic-bezier(0, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1200px;
  --sv: 6rem;   /* section vertical padding */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── UTILS ──────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); border: 1px solid var(--red);
  padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.eyebrow.light { color: var(--cream); border-color: rgba(252,251,246,.35); }
.eyebrow.stone { color: var(--stone); border-color: rgba(138,130,120,.4); }

/* Reveal */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .1s; }
[data-reveal][data-d="2"] { transition-delay: .2s; }
[data-reveal][data-d="3"] { transition-delay: .3s; }
[data-reveal][data-d="4"] { transition-delay: .4s; }
[data-reveal][data-d="5"] { transition-delay: .5s; }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-size: .82rem; font-weight: 700;
  padding: .8rem 1.9rem; border-radius: 4px;
  text-decoration: none; cursor: pointer; border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,53,62,.35); }
.btn-ghost   { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-dark    { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid rgba(44,40,40,.3); }
.btn-outline:hover { border-color: var(--dark); background: rgba(44,40,40,.05); }

/* ── NAV ────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 1.4rem 0;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(19,16,16,.96);
  backdrop-filter: blur(14px) saturate(160%);
  padding: .9rem 0;
  border-color: rgba(255,255,255,.05);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: var(--white); letter-spacing: -.02em; white-space: nowrap;
}
.nav-brand img { width: 32px; height: 32px; flex-shrink: 0; }
.nav-brand .dot { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.6); text-decoration: none;
  padding: .4rem .85rem; border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.07); }
.nav-links a.active { font-weight: 700; }
.nav-cta {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  color: var(--white); background: var(--red);
  padding: .55rem 1.3rem; border-radius: 4px; text-decoration: none;
  transition: background .2s, transform .15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--red-d); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .25rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile menu overlay */
#mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 499;
  background: rgba(19,16,16,.97); backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  padding: 6rem 2rem 3rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--white); text-decoration: none; letter-spacing: -.03em;
  transition: color .2s;
}
#mobile-menu a:hover, #mobile-menu a.active { color: var(--red); }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--dark3);
  border-top: 1px solid rgba(255,255,255,.04);
  padding: 4.5rem 0 2.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer-brand-logo { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand-logo img { width: 36px; height: 36px; }
.footer-brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: var(--white); letter-spacing: -.02em;
}
.footer-brand-name span { color: var(--red); }
.footer-desc { font-size: .85rem; line-height: 1.75; color: var(--stone); max-width: 260px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--stone); font-size: .8rem; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-col h4 {
  font-family: var(--font-display); font-size: .65rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  font-size: .83rem; color: var(--stone);
  text-decoration: none; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .73rem; color: rgba(138,130,120,.4); }
.footer-bottom a { color: rgba(138,130,120,.5); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--stone); }

/* ── SUB-PAGE HERO ──────────────────────────── */
.sub-hero {
  position: relative; min-height: 52vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; padding-top: 80px;
}
.sub-hero-bg {
  position: absolute; inset: 0;
}
.sub-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(19,16,16,.82) 0%, rgba(197,53,62,.15) 60%, rgba(19,16,16,.95) 100%);
}
.sub-hero-content {
  position: relative; z-index: 2;
  padding: 0 0 4rem;
}
.sub-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.0;
  color: var(--white); margin-bottom: .75rem; text-wrap: balance;
}
.sub-hero-title em { font-family: var(--font-body); font-style: italic; font-weight: 300; color: rgba(255,255,255,.6); }
.sub-hero-sub { font-size: 1rem; color: rgba(255,255,255,.55); max-width: 480px; line-height: 1.7; }

/* ── PIXEL DIVIDER ──────────────────────────── */
.stripe-divider {
  height: 5px;
  background: repeating-linear-gradient(90deg,
    var(--red) 0, var(--red) 60px,
    var(--dark) 60px, var(--dark) 120px
  );
  opacity: .35;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --sv: 4rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
