/* ═══════════════════════════════════════════════
   BEATLES 1 MINUTE  —  style.css
   ═══════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ── Design Tokens ── */
:root {
  --blue:        #1060B4;
  --blue-dark:   #061e38;
  --gold:        #C9A843;
  --gold-light:  #DFC06A;
  --gold-dark:   #9A7F2E;
  --black:       #080808;
  --dark:        #0d0d0d;
  --dark-2:      #111418;
  --dark-3:      #1a1e24;
  --white:       #ffffff;
  --gray:        #888888;
  --gray-light:  #c8c8c8;

  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w:   1160px;
  --pad-sec: 100px 0;
  --radius:  8px;
  --ease:    0.3s ease;
}

/* ── Base ── */
body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--pad-sec); }

/* ── Shared typography ── */
.text-gold     { color: var(--gold); }
.center        { text-align: center; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 48px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(201,168,67,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.07);
  transform: translateY(-3px);
}

.btn-lg { padding: 18px 48px; font-size: 14px; }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#nav.scrolled {
  background: rgba(8,8,8,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 144px;
  width: auto;
  transition: opacity var(--ease), filter var(--ease);
  filter: drop-shadow(0 2px 10px rgba(201,168,67,.25));
}
.nav-logo:hover {
  opacity: .82;
  filter: drop-shadow(0 4px 16px rgba(201,168,67,.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,67,.3);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.06);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(8,8,8,.93) 0%,
      rgba(8,8,8,.78) 48%,
      rgba(8,8,8,.28) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-text { max-width: 620px; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp .8s ease .15s forwards;
}

h1 {
  font-family: var(--font-head);
  line-height: .88;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .8s ease .35s forwards;
}

.hero-beatles {
  display: block;
  font-size: clamp(88px, 13vw, 168px);
  color: var(--gold);
  letter-spacing: 3px;
}
.hero-1min {
  display: block;
  font-size: clamp(66px, 10vw, 128px);
  color: var(--white);
  letter-spacing: 3px;
}

.hero-by {
  font-size: 15px;
  color: var(--gray-light);
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp .8s ease .55s forwards;
}
.hero-by strong { color: var(--white); font-weight: 600; font-size: 22px; }

.hero-tagline {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp .8s ease .65s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s ease .85s forwards;
}

.scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  animation: scrollPulse 2.2s ease infinite;
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
#about { background: var(--dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap { position: relative; }

.about-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  filter: brightness(.88) contrast(1.05);
}

.about-img-frame {
  position: absolute;
  top: 18px; right: -18px; bottom: -18px; left: 18px;
  border: 2px solid rgba(201,168,67,.35);
  border-radius: var(--radius);
  z-index: -1;
  pointer-events: none;
}

.about-body p {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--white); font-weight: 600; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.about-tags span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,67,.3);
  padding: 6px 14px;
  border-radius: 40px;
}

/* ─ Photo credits ─ */
.hero-credit,
.photo-credit {
  position: absolute;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  pointer-events: none;
  user-select: none;
  transition: color var(--ease);
}
.hero-credit {
  bottom: 52px; /* above scroll-hint */
  right: 28px;
  z-index: 3;
}
.photo-credit {
  bottom: 10px;
  right: 12px;
  z-index: 2;
}
.about-image-wrap:hover .photo-credit { color: rgba(255,255,255,.55); }

/* ═══════════════════════════════════════
   CAVERN CLUB
═══════════════════════════════════════ */
#cavern { background: var(--dark-2); }

/* ── Header (full width, centered) ── */
.cavern-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 72px;
}
.cavern-header .section-title { margin-bottom: 24px; }

.cavern-desc {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.85;
  margin-bottom: 28px;
  text-align: center;
}
.cavern-desc strong { color: var(--white); font-weight: 600; }

.cavern-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--gold);
  line-height: 1.6;
  text-align: center;
  opacity: .8;
}

/* ── Two photo panels ── */
.cavern-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cavern-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Print portraits ── */
.cavern-prints {
  position: relative;
  height: 580px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cavern-print {
  position: absolute;
  width: 255px;
  background: #e8e2d8;
  padding: 8px 8px 34px;
  line-height: 0;
  transition: transform .45s cubic-bezier(.34,1.3,.64,1), box-shadow .45s ease;
}
.cavern-print img {
  width: 100%;
  display: block;
  filter: brightness(.88) contrast(1.05) saturate(.9);
}

/* Cavern Club prints (open right) */
.print-back {
  transform: rotate(-6deg) translate(-108px, -16px);
  z-index: 1;
  box-shadow:
    0 12px 40px rgba(0,0,0,.65),
    0 3px 10px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(0,0,0,.08);
}
.print-front {
  transform: rotate(5deg) translate(108px, 22px);
  z-index: 2;
  box-shadow:
    0 18px 55px rgba(0,0,0,.7),
    0 5px 14px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(0,0,0,.08);
}
.cavern-print:hover { z-index: 10; }
.print-back:hover  { transform: rotate(-2deg) translate(-108px, -26px); box-shadow: 0 30px 70px rgba(0,0,0,.75); }
.print-front:hover { transform: rotate(2deg)  translate(108px,   8px);  box-shadow: 0 30px 70px rgba(0,0,0,.75); }

/* Wings prints (mirrored — open left) */
.wings-back {
  transform: rotate(6deg) translate(108px, -16px);
  z-index: 1;
  box-shadow:
    0 12px 40px rgba(0,0,0,.65),
    0 3px 10px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(0,0,0,.08);
}
.wings-front {
  transform: rotate(-5deg) translate(-108px, 22px);
  z-index: 2;
  box-shadow:
    0 18px 55px rgba(0,0,0,.7),
    0 5px 14px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(0,0,0,.08);
}
.wings-back:hover  { z-index: 10; transform: rotate(2deg)  translate(108px,  -26px); box-shadow: 0 30px 70px rgba(0,0,0,.75); }
.wings-front:hover { z-index: 10; transform: rotate(-2deg) translate(-108px,   8px); box-shadow: 0 30px 70px rgba(0,0,0,.75); }

/* Panel labels */
.panel-label {
  margin-top: 24px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.9;
  opacity: .7;
}
.panel-label strong { color: var(--white); font-weight: 600; }

/* ─ Secondary stats ─ */
.stats-secondary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
}

.stat-sm {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.25);
}
.stat-sm:last-child { border-right: none; }

.stat-sm-num {
  display: block;
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
}

.stat-sm-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 8px;
}

/* ═══════════════════════════════════════
   RECOGNITION
═══════════════════════════════════════ */
#recognition { background: var(--dark-2); }

.recognition-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 540px;
  margin: -28px auto 64px;
  line-height: 1.7;
}

.recognition-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 72px;
  flex-wrap: wrap;
}

.recognition-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── iPhone frame ── */
.iphone {
  width: 260px;
  background: linear-gradient(160deg, #2c2c2e, #111);
  border-radius: 48px;
  border: 1.5px solid rgba(255,255,255,.1);
  padding: 14px 10px 18px;
  position: relative;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .5s ease;
  box-shadow:
    0 40px 90px rgba(0,0,0,.7),
    0 0 0 1px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.1);
}
.iphone:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow:
    0 60px 120px rgba(0,0,0,.8),
    0 0 0 1px rgba(201,168,67,.2),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.iphone-island {
  width: 88px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  margin: 0 auto 10px;
}

.iphone-screen {
  border-radius: 36px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(255,255,255,.04);
}
.iphone-screen img {
  width: 100%;
  display: block;
}

.iphone-bar {
  width: 90px;
  height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 4px;
  margin: 12px auto 0;
}

.recognition-caption {
  text-align: center;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   STATS
═══════════════════════════════════════ */
#stats {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.25) saturate(.6);
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(16,96,180,.65) 0%,
    rgba(6,30,56,.82) 100%
  );
}

.stats-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(72px, 9vw, 110px);
  line-height: 1;
  color: var(--white);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 14px;
}

.stat-sep {
  width: 1px;
  height: 110px;
  background: rgba(201,168,67,.25);
  margin: 0 64px;
}

/* ═══════════════════════════════════════
   PLATFORMS
═══════════════════════════════════════ */
#platforms { background: var(--dark-2); }

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.platform-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(201,168,67,.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--ease);
}
.platform-card:hover { transform: translateY(-6px); border-color: rgba(201,168,67,.3); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.platform-card:hover::after { opacity: 1; }

.platform-icon {
  width: 46px;
  height: 46px;
  color: var(--gold);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.platform-name {
  font-family: var(--font-head);
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.platform-handle {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.platform-stat {
  font-size: 13px;
  color: var(--gray);
  flex: 1;
  position: relative;
  z-index: 1;
}

.platform-arrow {
  font-size: 22px;
  color: var(--gold);
  margin-top: 28px;
  position: relative;
  z-index: 1;
  transition: transform var(--ease);
}
.platform-card:hover .platform-arrow { transform: translateX(5px); }

/* ═══════════════════════════════════════
   QUOTE DIVIDER
═══════════════════════════════════════ */
.quote-divider {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,.68);
}

.quote-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.5;
}

.quote-text cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 24px;
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
#contact.contact-banner {
  background-color: var(--dark);
  background-image: url('assets/images/banner.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,8,8,.82) 0%,
    rgba(8,8,8,.70) 55%,
    rgba(8,8,8,.50) 100%
  );
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-desc {
  font-size: 17px;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 460px;
  text-align: center;
  margin-bottom: 8px;
}

.contact-sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--black);
  padding: 52px 0;
  border-top: 1px solid rgba(255,255,255,.04);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 52px;
  width: auto;
  opacity: .65;
  transition: opacity var(--ease), filter var(--ease);
  filter: drop-shadow(0 2px 8px rgba(201,168,67,.15));
}
.footer-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 3px 12px rgba(201,168,67,.35));
}

.footer-copy {
  font-size: 13px;
  color: var(--gray);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   COMMENT BUBBLES (Platforms section)
═══════════════════════════════════════ */
#platforms { position: relative; }

.comments-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.comment-bubble {
  position: absolute;
  background: rgba(10, 12, 18, 0.86);
  border: 1px solid rgba(201, 168, 67, 0.22);
  border-radius: 20px;
  padding: 14px 20px;
  max-width: 290px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 12px 40px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.06);
  max-width: 260px;
  animation: commentPop 13s ease-in-out infinite both;
}

.cb-user {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold);
  margin-bottom: 6px;
}

.cb-text {
  font-size: 13.5px;
  color: var(--gray-light);
  line-height: 1.5;
  margin: 0;
}

/* Chaotic scatter — individual tilt (--rot) + stagger */
.cb-1  { top: 6%;     left: 2%;   --rot: -4deg;  animation-delay: 0s;  }
.cb-2  { top: 10%;    right: 1%;  --rot:  3deg;  animation-delay: 1s;  }
.cb-3  { top: 30%;    left: 1%;   --rot: -7deg;  animation-delay: 2s;  }
.cb-4  { top: 18%;    right: 2%;  --rot:  5deg;  animation-delay: 3s;  }
.cb-5  { top: 55%;    left: 0%;   --rot: -3deg;  animation-delay: 4s;  }
.cb-6  { top: 42%;    right: 1%;  --rot:  8deg;  animation-delay: 5s;  }
.cb-7  { top: 70%;    left: 2%;   --rot: -6deg;  animation-delay: 6s;  }
.cb-8  { top: 75%;    right: 0%;  --rot:  4deg;  animation-delay: 7s;  }
.cb-9  { bottom: 4%;  left: 1%;   --rot: -2deg;  animation-delay: 8s;  }
.cb-10 { bottom: 6%;  right: 2%;  --rot:  6deg;  animation-delay: 9s;  }
.cb-11 { top: 38%;    left: 2%;   --rot:  3deg;  animation-delay: 10s; }
.cb-12 { top: 60%;    right: 1%;  --rot: -5deg;  animation-delay: 11s; }
.cb-13 { top: 14%;    left: 1%;   --rot:  6deg;  animation-delay: 12s; }

@keyframes commentPop {
  0%   { opacity: 0; transform: scale(0.28) translateY(24px)  rotate(var(--rot, 0deg)); }
  7%   { opacity: 1; transform: scale(1.1)  translateY(0)     rotate(var(--rot, 0deg)); }
  12%  {             transform: scale(1)                      rotate(var(--rot, 0deg)); }
  38%  { opacity: 1; transform: scale(1)                      rotate(var(--rot, 0deg)); }
  48%  { opacity: 0; transform: scale(0.9)  translateY(-16px) rotate(var(--rot, 0deg)); }
  100% { opacity: 0; transform: scale(0.9)  translateY(-16px) rotate(var(--rot, 0deg)); }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: .25; transform: scaleY(1);   }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

.anim {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s ease, transform .75s ease;
}
.anim.visible    { opacity: 1; transform: translateY(0); }
.anim.delay-1    { transition-delay: .15s; }
.anim.delay-2    { transition-delay: .30s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 960px) {
  .cavern-panels {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .cavern-prints { height: 440px; }
  .cavern-print  { width: 200px; }
  .print-back   { transform: rotate(-6deg) translate(-84px, -16px); }
  .print-front  { transform: rotate(5deg)  translate(84px,  22px);  }
  .wings-back   { transform: rotate(6deg)  translate(84px,  -16px); }
  .wings-front  { transform: rotate(-5deg) translate(-84px, 22px);  }
  .stats-secondary {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-sm:nth-child(2) { border-right: none; }
  .stat-sm:nth-child(3) { border-top: 1px solid rgba(255,255,255,.06); }
  .stat-sm:nth-child(4) { border-top: 1px solid rgba(255,255,255,.06); }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .about-img { height: 420px; }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .stat-sep {
    width: 60%;
    height: 1px;
    margin: 0 auto;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .quote-divider { background-attachment: scroll; }
}

@media (max-width: 600px) {
  :root { --pad-sec: 72px 0; }

  .cavern-grid      { grid-template-columns: 1fr; }
  .cavern-img-wrap:last-of-type { display: none; }
  .stats-secondary  { grid-template-columns: repeat(2, 1fr); }

  .hero-actions     { flex-direction: column; align-items: flex-start; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links        { gap: 0; }

  .footer-inner     { flex-direction: column; text-align: center; }
  .footer-links     { justify-content: center; }
}
