/* =========================================
   FERRARI FAN SITE — CSS
   Palette: #0a0a0a bg | #cc0000 red | #c9a84c gold | #f5f5f5 white
   Typography: Playfair Display (headings) + Inter (body)
   ========================================= */

/* ----- RESET & BASE ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #0a0a0a;
  color: #f5f5f5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ----- CUSTOM PROPERTIES ----- */
:root {
  --red: #cc0000;
  --red-deep: #8b0000;
  --red-bright: #e50000;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --black: #0a0a0a;
  --surface-1: #111111;
  --surface-2: #1a1a1a;
  --surface-3: #222222;
  --white: #f5f5f5;
  --white-dim: rgba(245, 245, 245, 0.7);
  --white-faint: rgba(245, 245, 245, 0.15);
  --red-glow: rgba(204, 0, 0, 0.3);

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --section-padding: 6rem 0;
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 5vw, 4rem);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- UTILITY ----- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

/* =========================================
   HEADER / NAV
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(204, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.prancing-horse-icon {
  width: 28px;
  height: 35px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.8);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--accent {
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.nav-link--accent::after {
  display: none;
}

.nav-link--accent:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.25) 100%),
    linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  padding-top: 80px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s ease forwards;
}

.hero-title-main {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-title-sub {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

.hero-tagline {
  max-width: 520px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(245, 245, 245, 0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s ease forwards;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s 1.8s ease forwards;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s 2s ease infinite;
}

.hero-scroll-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.45);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 28px rgba(204, 0, 0, 0.5);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(245, 245, 245, 0.35);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(245, 245, 245, 0.06);
  transform: translateY(-1px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(245, 245, 245, 0.45);
}

.btn--ghost-light:hover {
  border-color: var(--white);
  background: rgba(245, 245, 245, 0.08);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
  font-weight: 600;
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.4);
  transform: translateY(-1px);
}

/* =========================================
   SECTION SHARED
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}

.section-eyebrow--gold {
  color: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
  color: rgba(245, 245, 245, 0.6);
  line-height: 1.75;
}

/* =========================================
   GALLERY
   ========================================= */
.gallery-section {
  background: var(--surface-1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-card {
  position: relative;
  background: var(--black);
  overflow: hidden;
  cursor: pointer;
}

.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.08);
}

.gallery-card-info {
  padding: 1.25rem 1.25rem 1.5rem;
  background: linear-gradient(to bottom, var(--surface-2), var(--surface-1));
  border-top: 1px solid rgba(204, 0, 0, 0.2);
}

.gallery-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.gallery-card-info p {
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.55);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.gallery-card-year {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(204, 0, 0, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* =========================================
   HERITAGE
   ========================================= */
.heritage-section {
  padding: 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.heritage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.heritage-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(30%);
}

.heritage-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.85) 50%, rgba(10,10,10,0.75) 100%);
}

.heritage-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: 100%;
}

.section-header--light .section-desc {
  color: rgba(245, 245, 245, 0.65);
}

.heritage-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(204, 0, 0, 0.2);
  border: 1px solid rgba(204, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 3rem;
}

.heritage-stat {
  background: rgba(10, 10, 10, 0.85);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.55);
}

.heritage-quote {
  border-left: 3px solid var(--red);
  padding-left: 1.75rem;
  max-width: 500px;
}

.heritage-quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.heritage-quote cite {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* =========================================
   CRAFTSMANSHIP
   ========================================= */
.craftsmanship-section {
  background: var(--black);
}

.craftsmanship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.craftsmanship-text .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.craftsmanship-text .section-eyebrow {
  text-align: left;
}

.craftsmanship-body {
  color: rgba(245, 245, 245, 0.65);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.craftsmanship-pillars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.craftsmanship-pillars li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid rgba(204, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-top: 0.1rem;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
}

.craftsmanship-pillars li > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.craftsmanship-pillars strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.craftsmanship-pillars span {
  font-size: 0.82rem;
  color: rgba(245, 245, 245, 0.5);
  line-height: 1.55;
}

.craftsmanship-visual {
  position: relative;
}

.craftsmanship-img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.craftsmanship-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.craftsmanship-img-frame:hover img {
  transform: scale(1.04);
}

.craftsmanship-img-accent {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(204, 0, 0, 0.2);
}

.craftsmanship-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(204, 0, 0, 0.4);
}

.badge-year {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* =========================================
   GT CLUB
   ========================================= */
.gt-club-section {
  background: var(--red-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gt-club-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(204, 0, 0, 0.4) 0%, transparent 70%),
    linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.gt-club-content {
  position: relative;
  z-index: 1;
}

.gt-club-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.gt-club-desc {
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: rgba(245, 245, 245, 0.75);
  line-height: 1.75;
}

.gt-club-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--surface-1);
  border-top: 1px solid rgba(204, 0, 0, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.4);
  line-height: 1.7;
}

.footer-nav-heading {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.35);
  margin-bottom: 1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.55);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 245, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 245, 245, 0.5);
  transition: all var(--transition);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(204, 0, 0, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 245, 245, 0.06);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.73rem;
  color: rgba(245, 245, 245, 0.3);
  line-height: 1.5;
}

.footer-maranello {
  font-size: 0.73rem;
  color: rgba(245, 245, 245, 0.25);
  white-space: nowrap;
  font-style: italic;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .craftsmanship-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .craftsmanship-visual {
    order: -1;
  }

  .craftsmanship-img-frame {
    aspect-ratio: 16 / 9;
  }

  .craftsmanship-badge {
    bottom: -1rem;
    left: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .heritage-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
    --container-pad: 1.25rem;
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    border-left: 1px solid rgba(204, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 150;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .nav-link--accent {
    padding: 0.6rem 1.25rem;
  }

  /* Hero */
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.85) 100%),
                linear-gradient(to right, rgba(10,10,10,0.6) 0%, transparent 100%);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-img-wrap {
    aspect-ratio: 16 / 9;
  }

  /* Heritage stats */
  .heritage-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .heritage-stats {
    grid-template-columns: 1fr;
  }

  .gt-club-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-scroll-hint {
    display: none;
  }
}

/* Active nav link */
.nav-link--active {
  color: var(--white) !important;
}

.nav-link--active::after {
  width: 100% !important;
}

/* =========================================
   FOCUS STYLES (accessibility)
   ========================================= */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
