/* ═══════════════════════════════════════════════
   NEWBURY CLASSIC CAR SHOW — Shared Stylesheet
   1920s Vintage / Art Deco · British Racing Green
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Josefin+Sans:wght@100;300;400;600;700&display=swap');

:root {
  --green:       #2D5016;
  --green-mid:   #3D6B1F;
  --green-light: #4E8A28;
  --cream:       #F2ECD8;
  --cream-dark:  #E0D5B8;
  --parchment:   #C8BA96;
  --gold:        #B8860B;
  --gold-light:  #D4A017;
  --black:       #0F0E0A;
  --ink:         #1E1C14;
  --red-acc:     #8B1A1A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 112.5%; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  overflow-x: hidden;
  font-size: 18px; /* base size — everything rem-based scales from here */
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: multiply;
}

/* ── UTILITY ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }

.pinstripe {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0, var(--gold) 2px,
    transparent 2px, transparent 8px,
    var(--green) 8px, var(--green) 10px,
    transparent 10px, transparent 16px
  );
}

.section-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.05;
}
.section-title-light { color: var(--cream); }

.section-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  justify-content: center;
}
.section-rule::before, .section-rule::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--gold);
}
.section-rule span { color: var(--gold); font-size: 0.5rem; }

.section-head { text-align: center; margin-bottom: 4rem; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--green);
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2.5rem;
}

.nav-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.4;
  text-decoration: none;
}
.nav-title span {
  display: block;
  font-weight: 100;
  font-size: 0.72rem;
  color: var(--parchment);
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dark);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); border-bottom-color: var(--gold); }

.nav-ticket {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 0.55rem 1.3rem;
  text-decoration: none;
  border: 1px solid var(--gold-light);
  transition: background 0.2s;
}
.nav-ticket:hover { background: var(--gold-light); }

/* ── BUTTONS ── */
.btn-vintage {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
  border: 1px solid;
  cursor: pointer;
}
.btn-filled {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold-light);
}
.btn-filled:hover { background: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242,236,216,0.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-green {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green-mid);
}
.btn-green:hover { background: var(--green-mid); }

/* ── STATS BAND ── */
.stats-band {
  background: var(--ink);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 3.5rem;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #777;
  margin-top: 0.5rem;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--green);
  border-top: 2px solid var(--gold);
}
.footer-top {
  padding: 3.5rem 2.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand .f-logo {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--parchment);
  margin-top: 0.3rem;
}
.footer-centre {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(184,134,11,0.4);
  line-height: 1;
}
.footer-centre p {
  font-family: 'Josefin Sans', sans-serif;
  font-style: normal;
  font-weight: 100;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--parchment);
  margin-top: 0.5rem;
}
.footer-links-col { text-align: right; }
.footer-links-col a {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(184,134,11,0.2);
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(200,186,150,0.5);
  text-transform: uppercase;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── INTERIOR PAGE HERO ── */
.page-hero {
  background: var(--green);
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(78,138,40,0.3) 0%, rgba(15,14,10,0.6) 100%);
}
.page-hero-border {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(184,134,11,0.25);
  pointer-events: none;
}
.page-hero-border::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(184,134,11,0.1);
}
.page-hero-content { position: relative; z-index: 2; }

.page-hero-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: 0.78rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--parchment);
  display: block;
  margin-bottom: 1rem;
}
.page-hero-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.page-hero-rule {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto 0;
  position: relative;
}
.page-hero-rule::before {
  content: '◆';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: var(--green);
  color: var(--gold);
  padding: 0 0.5rem;
  font-size: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links-col { text-align: left; }
}
p {
  font-size: 1.3rem;
  line-height: 1.8;
}