/* ═══════════════════════════════════════════════
   SOUL MUSIC SOCIETY — style.css
   ═══════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  --autumn-orange: #e84a20;
  --champagne:     #f1e9dd;
  --night-rider:   #201410;
  --white:         #ffffff;
  --mid-tone:      #7a6a5a;

  --type-display-h1: 124px;
  --type-display-h2: 96px;
  --type-display-h3: 64px;
  --type-display-h4: 56px;
  --type-display-h5: 40px;
  --type-display-h6: 36px;
  --type-btn-lg:     20px;
  --type-btn-md:     18px;
  --type-btn-sm:     16px;
  --type-subhead:  20px;
  --type-body-lg:  18px;
  --type-body:     16px;
  --type-body-sm:  14px;
  --type-caption:  12px;
  --type-legal:    10px;

  --space-1:  8px;
  --space-2:  16px;
  --space-3:  24px;
  --space-4:  32px;
  --space-5:  48px;
  --space-6:  64px;
  --space-7:  96px;
  --space-8:  128px;
  --space-9:  160px;

  --max-width: 1280px;
  --side-pad:  40px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
  font-family: 'General Sans', sans-serif;
  background-color: var(--night-rider);
  color: var(--champagne);
  overflow-x: hidden;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Global transition ── */
a, button, input, textarea, select,
.nav__link, .nav__hamburger, .footer__nav-link,
.footer__social-link, .scroll-top, .play-btn,
.arrow-icon, .ph {
  transition: all 0.2s ease;
}

/* ── Global hover → autumn-orange ── */
a:hover, button:hover { color: var(--autumn-orange); }

/* ── Anton global rule ── */
.font-anton {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-style: normal;
}

/* ── Buttons ── */
.btn-lg, .btn-md, .btn-sm {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-lg { font-size: var(--type-btn-lg); padding: 16px 40px; }
.btn-md { font-size: var(--type-btn-md); padding: 14px 32px; }
.btn-sm { font-size: var(--type-btn-sm); padding: 12px 24px; }

.btn--primary {
  background: var(--autumn-orange);
  color: var(--white);
  border: none;
}
.btn--primary:hover { background: #b84a12; color: var(--white); }

.btn--secondary {
  background: var(--night-rider);
  color: var(--white);
}
.btn--secondary:hover { background: #3a2010; color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--autumn-orange);
  border: 2px solid var(--autumn-orange);
}
.btn--ghost:hover { background: var(--autumn-orange); color: var(--white); }

.btn--on-orange {
  background: var(--night-rider);
  color: var(--champagne);
}
.btn--on-orange:hover { background: #3a2010; }

/* ── Arrow icon translate ── */
a:hover .arrow-icon,
button:hover .arrow-icon { transform: translateX(4px); }


/* ════════════════════════════════════════════════
   01 — NAVIGATION
   ════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}
.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px var(--side-pad);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.nav__logo { display: block; }

.nav__logo-img {
  width: 130px;
  height: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.nav__right {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.nav__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.nav__link {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--champagne);
  line-height: 1.3;
}
.nav__link:hover { color: var(--autumn-orange); }

/* Light section (About) — links and hamburger switch to night-rider */
.nav--light .nav__link { color: var(--night-rider); }
.nav--light .nav__link:hover { color: var(--autumn-orange); }
.nav--light .nav__hamburger { color: var(--night-rider); }

.nav__hamburger {
  display: none;
  color: var(--champagne);
  font-size: 20px;
  padding: 4px;
  margin-top: 2px;
}
.nav__hamburger:hover { color: var(--autumn-orange); }
.nav__hamburger .ph { font-size: 28px; }

/* ── Nav full-page overlay ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--night-rider);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay__close {
  position: absolute;
  top: 32px;
  right: 40px;
  color: var(--champagne);
  font-size: 32px;
}
.nav-overlay__close:hover { color: var(--autumn-orange); }
.nav-overlay__close .ph { font-size: 32px; }

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.nav-overlay__link {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  text-transform: uppercase;
  color: var(--champagne);
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-overlay__link:hover { color: var(--autumn-orange); }

.nav-overlay__social {
  position: absolute;
  bottom: 48px;
  display: flex;
  gap: var(--space-4);
}
.nav-overlay__social a {
  color: var(--champagne);
  font-size: 24px;
}
.nav-overlay__social a .ph { font-size: 24px; }
.nav-overlay__social a:hover { color: var(--autumn-orange); }


/* ════════════════════════════════════════════════
   02 — HERO
   ════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--champagne); /* champagne bg — fades naturally into About */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Layer 1 — Background video */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
}

/* Layer 2 — Scrim + grain + vignette (combined) */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Scrim: flat dark tint */
  background-color: rgba(32, 20, 16, 0.4);
  /* Vignette: gentle radial falloff, starts at 65%, 30% opacity at edges */
  background-image:
    radial-gradient(ellipse at 50% 50%, transparent 65%, rgba(32, 20, 16, 0.3) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
/* Grain: separate pseudo-element at low opacity — no blend mode, purely additive texture */
.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/video/noise.svg');
  background-size: 256px 256px;
  background-repeat: repeat;
  opacity: 0.12;
}

/* prefers-reduced-motion: pause video, show poster */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* Mobile: reduce gradient height so it occupies ~1/3 of screen rather than ~1/2 */
@media (max-width: 768px) {
  .hero::after { height: 280px; }
}

.hero__diagonal {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 160px var(--side-pad) var(--space-8);
  text-align: center;
}

.hero-headline {
  font-family: 'Anton', sans-serif;
  font-size: 96px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--champagne);
  text-align: center;
  margin: 0;
  padding: 0;
}
.hero-accent {
  color: var(--autumn-orange);
  font-style: italic;
}

.hero__body { display: none; }

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 420px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--champagne) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero__scroll-line {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 52px;
  background: #201410;
  z-index: 2;
}


/* ════════════════════════════════════════════════
   03 — ABOUT
   ════════════════════════════════════════════════ */
.about {
  position: relative;
  background-color: var(--champagne);
  overflow: hidden;
  padding: calc(var(--space-8) + 30px) 0 calc(var(--space-8) + 130px);
}

.about__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.about__headline-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.about__est {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-caption);
  font-weight: 600;
  color: var(--night-rider);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-top: 6px;
  flex-shrink: 0;
}

.about__headline {
  font-family: 'Anton', sans-serif;
  font-size: var(--type-display-h5);
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--night-rider);
  letter-spacing: 0.04em;
  padding: 0 40px;
}

.about__body {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 24px;
  color: var(--night-rider);
  opacity: 0.8;
  margin-left: 45%;
  max-width: 480px;
  position: relative;
  z-index: 2;
}

/* SMS letters — hidden */
.sms-letters {
  display: none;
}

.sms-letter {
  font-family: 'Anton', sans-serif;
  font-size: clamp(140px, 18vw, 220px);
  text-transform: uppercase;
  color: var(--autumn-orange);
  opacity: 0.5;
  line-height: 1;
  position: absolute;
}

.sms-letter-s1 {
  top: 5%;
  left: -40px;
}
.sms-letter-m {
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
}
.sms-letter-s2 {
  bottom: 5%;
  right: -20px;
}


/* ════════════════════════════════════════════════
   04 — EXHIBITION
   ════════════════════════════════════════════════ */
.exhibition {
  position: relative;
  width: 100%;
}

.exhibition__card {
  position: relative;
  width: 100%;
  min-height: 800px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  cursor: pointer;
}

.exhibition__img {
  position: absolute;
  inset: 0;
  /* Placeholder: replace with url('../assets/images/exhibition-bg.jpg') */
  background-image: url('../assets/images/exhibition-bg.jpg');
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.exhibition__overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 20, 16, 0.55);
  transition: background 0.3s ease;
  z-index: 1;
}

.exhibition__tag {
  position: absolute;
  top: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-caption);
  font-weight: 600;
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  z-index: 2;
  white-space: nowrap;
}

.exhibition__content {
  position: relative;
  z-index: 2;
  padding: var(--space-6) var(--side-pad);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.play-btn {
  color: var(--autumn-orange);
  font-size: 48px;
  display: block;
  margin-bottom: var(--space-3);
  transition: transform 0.3s ease;
}
.play-btn .ph { font-size: 48px; }
.play-btn:hover { transform: scale(1.1); color: var(--autumn-orange); }

.exhibition__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 8vw, 136px);
  text-transform: uppercase;
  color: var(--champagne);
  line-height: 1;
  text-align: center;
  margin-bottom: 12px;
  transform: translateY(-12px);
}

.exhibition__sub {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-body);
  color: var(--champagne);
  opacity: 0.7;
  text-align: center;
  transform: translateY(-12px);
}

.exhibition__link {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-body);
  font-weight: 600;
  color: var(--champagne);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.exhibition__link:hover { color: var(--autumn-orange); }

/* Card hover states */
.exhibition__card:hover .exhibition__img { transform: scale(1.04); }
.exhibition__card:hover .card-overlay { background: rgba(32,20,16,0.68); }
.exhibition__card:hover .play-btn { transform: scale(1.1); }


@media (max-width: 768px) {
  .exhibition__card {
    align-items: center !important;
  }
  .exhibition__title {
    font-size: clamp(3rem, 13vw, 4.25rem) !important;
    line-height: 1 !important;
  }
}

/* ════════════════════════════════════════════════
   05 — TIMELINE
   ════════════════════════════════════════════════ */
.timeline {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--night-rider);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.timeline-intro {
  position: relative;
  z-index: 4;
  text-align: center;
  padding-top: var(--space-7);
}
.timeline-intro-label {
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D3C3AB;
  opacity: 1;
  line-height: 1.6;
}

.timeline-content {
  position: relative;
  z-index: 4;
  padding: var(--space-7) var(--side-pad) var(--space-5);
  max-width: 640px;
}
.timeline-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  color: #D3C3AB;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}
.timeline-body {
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #D3C3AB;
  opacity: 0.8;
  max-width: 440px;
}

.timeline-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  z-index: 3;
  pointer-events: none;
  user-select: none;
}
.timeline-watermark-year {
  font-family: 'Anton', sans-serif;
  font-size: clamp(220px, 28vw, 520px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(241, 233, 221, 0.70);
  text-stroke: 2px rgba(241, 233, 221, 0.70);
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}

.timeline-arc-container {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  z-index: 3;
  pointer-events: none;
}
.timeline-arc-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (max-width: 768px) {
  .timeline-circle-overlay { display: none !important; }
}

.timeline-circle-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #201410;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center center;
  z-index: 2;
  pointer-events: none;
}


/* ════════════════════════════════════════════════
   06 — NEWSLETTER
   ════════════════════════════════════════════════ */
.newsletter {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/newsletter-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.newsletter-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(32, 20, 16, 0.25);
}

.newsletter-card {
  position: relative;
  z-index: 1;
  background-color: var(--autumn-orange);
  width: 520px;
  margin-left: 80px;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 28px 48px;
}

.br-mobile { display: none; }
@media (max-width: 768px) {
  .br-mobile { display: block; }
  .br-desktop { display: none; }
}

.newsletter-headline {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
}

.newsletter-body {
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  opacity: 0.85;
  line-height: 1.4;
  max-width: 420px;
  margin-top: 24px;
}

.newsletter-form-row {
  margin-top: 48px;
  width: 100%;
}

.newsletter-form-row iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.newsletter-input-row {
  display: flex;
  align-items: flex-end;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 0;
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  outline: none;
}
.newsletter-input::placeholder {
  color: var(--white);
  opacity: 0.5;
}
.newsletter-input:focus { border-bottom-color: var(--white); }

.newsletter-btn {
  flex-shrink: 0;
  background-color: var(--white);
  color: var(--night-rider);
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}
.newsletter-btn:hover { background-color: var(--champagne); color: var(--night-rider); }

.newsletter-legal {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-legal);
  color: var(--white);
  opacity: 0.5;
  line-height: 1.6;
  margin-top: 16px;
}
.newsletter-legal-link {
  text-decoration: underline;
  color: inherit;
}
.newsletter-legal-link:hover { opacity: 1; }

@media (max-width: 480px) {
  .newsletter-card {
    width: calc(100% - 48px);
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 40px 28px;
  }
  .newsletter-headline { font-size: 36px; }
  .newsletter-body { font-size: 16px; max-width: 100%; }
  .newsletter-input-row { flex-direction: column; gap: 12px; align-items: stretch; }
  .newsletter-btn { width: 100%; justify-content: center; }
}


/* ════════════════════════════════════════════════
   07 — FOOTER
   ════════════════════════════════════════════════ */
.footer {
  background-color: var(--champagne);
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding-top: 80px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top 3-column row */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 0 40px;
  margin-bottom: auto;
  position: relative;
  z-index: 2;
}

/* Nav links */
.footer-nav {
  display: flex;
  flex-direction: column;
}
.footer-nav a {
  font-family: 'Anton', sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--night-rider);
  letter-spacing: 0.04em;
  line-height: 1.8;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--autumn-orange); }
.footer-nav .shop-soon {
  font-family: 'Anton', sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--night-rider);
  letter-spacing: 0.04em;
  line-height: 1.8;
  opacity: 0.45;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.footer-nav .coming-soon-tag {
  font-family: 'General Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--night-rider);
  opacity: 0.6;
}

/* Social icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}
.footer-social a {
  color: var(--night-rider);
  font-size: 27px;
  display: flex;
  transition: color 0.2s ease;
}
.footer-social a .ph { font-size: 27px; }
.footer-social a:hover { color: var(--autumn-orange); }

/* CTA button */
.footer-cta {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.footer-cta .btn-lg {
  font-size: 15px;
  padding: 12px 28px;
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px 280px;
  border-top: none;
}
.footer-bottom span,
.footer-bottom a {
  font-family: 'General Sans', sans-serif;
  font-size: 12px;
  color: var(--night-rider);
  opacity: 0.5;
  text-decoration: none;
}
.footer-bottom a:hover { opacity: 1; color: var(--autumn-orange); }

/* Watermark — bleeds off bottom edge with fade */
.footer__watermark {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  font-family: 'Anton', sans-serif;
  font-size: 15vw;
  text-transform: uppercase;
  color: var(--night-rider);
  opacity: 0.13;
  white-space: nowrap;
  text-align: center;
  letter-spacing: -0.01em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0) 100%
  );
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .footer-social { justify-content: flex-start; }
  .footer-cta { justify-content: flex-start; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 40px 24px 160px;
  }
  .footer__watermark {
    font-size: 22vw;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
  }
}


/* ════════════════════════════════════════════════
   CONTACT MODAL
   ════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(32, 20, 16, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: var(--space-4);
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--champagne);
  max-width: 600px;
  width: 100%;
  padding: var(--space-6);
  position: relative;
  border-radius: 0;
  max-height: 90vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  color: var(--night-rider);
  font-size: 20px;
}
.modal__close .ph { font-size: 20px; }
.modal__close:hover { color: var(--autumn-orange); }

.modal__header {
  text-align: center;
  margin-bottom: 8px;
}
.modal__title {
  font-family: 'Anton', sans-serif;
  font-size: var(--type-display-h3);
  text-transform: uppercase;
  color: var(--night-rider);
  margin-bottom: var(--space-2);
}
.modal__sub {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-body);
  color: var(--night-rider);
  opacity: 0.7;
  line-height: 1.5;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.modal__field { position: relative; }

.modal__input,
.modal__textarea {
  width: 100%;
  background: var(--night-rider);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 16px 20px;
  font-family: 'Anton', sans-serif;
  font-size: var(--type-btn-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  outline: none;
  resize: none;
}
.modal__input::placeholder,
.modal__textarea::placeholder {
  color: var(--champagne);
  opacity: 0.5;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
}
.modal__textarea {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-body);
  text-transform: none;
  letter-spacing: 0;
  min-height: 120px;
}
.modal__textarea::placeholder {
  font-family: 'General Sans', sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
.modal__input:focus,
.modal__textarea:focus { outline: 2px solid var(--autumn-orange); }

/* Custom dropdown */
.modal__select {
  width: 100%;
  background: var(--night-rider);
  color: var(--champagne);
  padding: 16px 20px;
  font-family: 'Anton', sans-serif;
  font-size: var(--type-btn-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.modal__select-value { opacity: 0.5; }
.modal__select-value.has-value { opacity: 1; color: var(--white); }
.modal__select-caret { font-size: 16px; transition: transform 0.2s ease; }
.modal__select[aria-expanded="true"] .modal__select-caret { transform: rotate(180deg); }

.modal__dropdown {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 10;
  background: var(--champagne);
  display: none;
  border: 1px solid rgba(32,20,16,0.2);
}
.modal__dropdown.is-open { display: block; }

.modal__dropdown-option {
  padding: 16px 20px;
  font-family: 'Anton', sans-serif;
  font-size: var(--type-btn-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--night-rider);
  background: var(--champagne);
  cursor: pointer;
}
.modal__dropdown-option--dark {
  background: var(--night-rider);
  color: var(--white);
}
.modal__dropdown-option:hover { color: var(--autumn-orange); }

.modal__submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-1);
}
.modal__legal {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-legal);
  color: var(--night-rider);
  opacity: 0.5;
  text-align: center;
  line-height: 1.6;
}
.modal__legal-link {
  text-decoration: underline;
}
.modal__legal-link:hover { color: var(--autumn-orange); opacity: 1; }

.modal__beehiiv-form {
  width: calc(100% + 80px);
  margin-top: -32px;
  margin-left: -40px;
  margin-right: -40px;
}

.modal__beehiiv-form iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.modal__success {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-body);
  color: var(--night-rider);
  text-align: center;
  padding: 40px 0;
  line-height: 1.5;
}
.modal__error {
  font-family: 'General Sans', sans-serif;
  font-size: var(--type-body-sm);
  color: #c0392b;
  text-align: center;
  margin-bottom: 8px;
}


/* ════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
   ════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 42px;
  right: 32px;
  z-index: 90;
  width: 48px;
  height: 48px;
  background: var(--autumn-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover { background: #b84a12; color: var(--white); }
.scroll-top .ph { font-size: 20px; }


/* ════════════════════════════════════════════════
   RESPONSIVE — TABLET 992px
   ════════════════════════════════════════════════ */
@media (max-width: 992px) {
  :root { --side-pad: 32px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .about__inner { grid-template-columns: 1fr; }
  .about__right {
    height: 300px;
    overflow: hidden;
  }
  .sms-letter { font-size: clamp(100px, 15vw, 160px); }

  .newsletter__inner { grid-template-columns: 1fr; gap: var(--space-5); }

  .footer__cols { grid-template-columns: 1fr 1fr; }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — MOBILE 480px
   ════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --side-pad: 24px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__body { font-size: var(--type-body-sm); }

  .sms-letter { font-size: 140px; }




  .newsletter__headline { font-size: 40px; }
  .newsletter__field-group { flex-direction: column; }
  .newsletter__submit { width: 100%; justify-content: center; }

  .footer__cols { grid-template-columns: 1fr; }
  .footer__col--cta { justify-content: flex-start; }

  .modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    max-height: 90vh;
    margin: 0;
    border-radius: 0;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    padding: 32px 24px;
  }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-overlay.is-open .modal { transform: translateY(0); }

  .modal__title { line-height: 1; }
  .modal__header { margin-bottom: 24px; }
  .modal__sub { font-size: 13px; }
  .modal__input,
  .modal__textarea { padding: 11px 16px; }
}



/* ════════════════════════════════════════════════
   RESPONSIVE — EXHIBITION SECTION MOBILE
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* COMING SOON tag — left-aligned */
  .exhibition__tag {
    text-align: left !important;
    padding-left: 24px !important;
  }

  /* Body copy — centred, no right offset */
  .exhibition__sub {
    text-align: center !important;
    padding-right: 0 !important;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — TIMELINE SECTION MOBILE
   Two fixed zones: content (flex:0) + arc (40vh, flex-shrink:0)
   Section locked to exactly 100vh. Arc never shifts.
   ════════════════════════════════════════════════ */

/* 1 — Section locked to 100vh */
/* Scroll container: desktop invisible, mobile creates scroll travel */
.timeline-mobile-scroll-container {
  position: relative;
}

@media (max-width: 768px) {
  /* 5 content stops × 120px + 100vh for the sticky section */
  .timeline-mobile-scroll-container {
    height: calc(100vh + 600px) !important;
    position: relative !important;
  }

  /* CSS sticky pin — replaces GSAP ScrollTrigger pin on mobile */
  .timeline {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow: hidden !important;
    display: block !important;
  }

  .timeline-intro {
    position: absolute !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    z-index: 4 !important;
    padding: 0 24px !important;
    margin: 0 !important;
  }
  .timeline-intro-label {
    font-size: 13px !important;
  }

  .timeline-content {
    position: absolute !important;
    top: 160px !important;
    left: 24px !important;
    right: 24px !important;
    bottom: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 4 !important;
  }
  .timeline-headline {
    font-size: 40px !important;
    line-height: 1 !important;
    margin-bottom: 16px !important;
    flex-shrink: 0 !important;
  }
  .timeline-body {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  .timeline-spacer {
    display: none !important;
  }
}

/* 4 — Arc zone: hidden on mobile, replaced by dot row */
@media (max-width: 768px) {
  .timeline-arc-container {
    display: none !important;
  }
}

/* 5 — Active year label: hidden on mobile (dot row handles year display) */
.timeline-active-year-label {
  display: none;
}

/* 6 — Mobile dot row */
.timeline-mobile-nav {
  display: none;
}
@media (max-width: 768px) {
  .timeline-mobile-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    bottom: 256px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 24px !important;
    height: auto !important;
    z-index: 4 !important;
    margin: 0 !important;
  }
  .timeline-mobile-track {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    position: relative !important;
  }
  .timeline-mobile-track::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: rgba(241, 233, 221, 0.25) !important;
    transform: translateY(-50%) !important;
    z-index: 0 !important;
  }
  .timeline-mobile-dot {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    cursor: default !important;
    transition: all 0.4s ease !important;
  }
  .timeline-mobile-dot-circle {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: var(--champagne) !important;
    opacity: 0.3 !important;
    transition: all 0.4s ease !important;
    flex-shrink: 0 !important;
  }
  .timeline-mobile-dot.is-active .timeline-mobile-dot-circle {
    width: 10px !important;
    height: 10px !important;
    background-color: var(--autumn-orange) !important;
    opacity: 1 !important;
  }
  .timeline-mobile-dot-year {
    font-family: 'Anton', sans-serif !important;
    font-size: 11px !important;
    color: var(--champagne) !important;
    opacity: 0 !important;
    margin-top: 6px !important;
    text-align: center !important;
    transition: all 0.4s ease !important;
    white-space: nowrap !important;
  }
  .timeline-mobile-dot.is-active .timeline-mobile-dot-year {
    opacity: 0.6 !important;
  }
  .timeline-mobile-dot.is-adjacent .timeline-mobile-dot-circle {
    opacity: 0.5 !important;
  }
  .timeline-mobile-dot.is-empty .timeline-mobile-dot-circle {
    width: 4px !important;
    height: 4px !important;
    opacity: 0.15 !important;
  }
}


/* 7 — Watermark — confined to arc zone, behind arc */
@media (max-width: 768px) {
  .timeline-watermark {
    position: absolute !important;
    bottom: 196px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
    width: 100% !important;
    text-align: center !important;
    pointer-events: none !important;
    pointer-events: none !important;
  }
  .timeline-watermark-year {
    font-size: clamp(100px, 45vw, 160px) !important;
    opacity: 0.08 !important;
    color: var(--champagne) !important;
    line-height: 1 !important;
  }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — HERO HEADLINE MOBILE
   Permanent <br> in HTML handles the 2-line split.
   All previous mobile rules cleared; this is the single source of truth.
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Title block: add bottom clearance above viewport edge / home indicator */
  .hero__content { padding-bottom: 200px; }

  /* Headline — heavier appearance, correct colour, left-aligned */
  .hero-headline {
    color: #F1F1F1;
    text-align: center;
    -webkit-text-stroke: 1px #F1F1F1;
    paint-order: stroke fill;
  }

  /* 70s SOUL — orange, italic */
  .hero-accent {
    color: #E84A20;
    font-style: italic;
    -webkit-text-stroke: 1px #E84A20;
    paint-order: stroke fill;
  }

  /* iPhone SE — 320px to 374px */
  @media (max-width: 374px) {
    .hero-headline { font-size: 30px; }
  }

  /* iPhone 14/15/Pixel — 375px to 389px */
  @media (min-width: 375px) and (max-width: 389px) {
    .hero-headline { font-size: 33px; }
  }

  /* iPhone 16 / standard Android — 390px to 429px */
  @media (min-width: 390px) and (max-width: 429px) {
    .hero-headline { font-size: 35px; }
  }

  /* iPhone Plus / Pro Max / large Android — 430px to 480px */
  @media (min-width: 430px) and (max-width: 480px) {
    .hero-headline { font-size: 40px; }
  }

  /* Large mobile / small tablet — 481px to 768px */
  @media (min-width: 481px) and (max-width: 768px) {
    .hero-headline { font-size: 52px; }
  }

}


/* ════════════════════════════════════════════════
   RESPONSIVE — ABOUT SECTION MOBILE
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* 1 — Section padding */
  .about {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* 2 — Collapse flex row to single column */
  .about__headline-row {
    flex-direction: column;
    gap: 16px;
  }

  /* 3 — EST. 2022 — static, full width */
  .about__est {
    position: static;
    display: block;
    font-size: 12px;
    margin-bottom: 0;
    opacity: 0.5;
  }

  /* 4 — Headline — full width, no side padding offset */
  .about__headline {
    padding: 0;
    font-size: 22px !important;
    line-height: 1.1 !important;
    margin-bottom: 32px !important;
  }

  /* 5 — Body copy — full width, no left offset */
  .about__body {
    margin-left: 0 !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 16px;
    line-height: 1.5 !important;
  }

  /* Gap between headline block and body copy */
  .about__headline-row {
    margin-bottom: 24px !important;
  }

  /* 6 — Hide decorative SMS letterforms */
  .sms-letters,
  .sms-letter-s1,
  .sms-letter-m,
  .sms-letter-s2 {
    display: none;
  }

}

/* About headline font size per device tier */
@media (max-width: 374px) {
  .about__headline { font-size: 20px; }
}
@media (min-width: 375px) and (max-width: 429px) {
  .about__headline { font-size: 22px; }
}
@media (min-width: 430px) and (max-width: 768px) {
  .about__headline { font-size: 26px; }
}

/* ════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
