/* ─── Tokens ─────────────────────────────────────────────────────── */
:root {
  --snow:        #ffffff;
  --licorice:    #000000;
  --candy:       #b00e2f;
  --peach:       #fee5ca;

  --f-display:   'Bebas Neue', Georgia, serif;
  --f-body:      'Inter', Arial, sans-serif;

  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--snow);
  color: var(--licorice);
  overflow-x: hidden;
}

/* ─── NAV ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  padding: 14px 48px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-logo {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--licorice);
  text-decoration: none;
}
.nav-link {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--licorice);
  text-decoration: none;
  border: 1px solid var(--licorice);
  padding: 9px 22px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--licorice); color: var(--snow); }

/* ─── REVEAL CLIP ────────────────────────────────────────────────── */
.rc {
  display: block;
  overflow: hidden;
  line-height: inherit;
}
.rc i {
  display: block;
  font-style: normal;
  will-change: transform;
  transform: translateY(105%);
  transition: transform 1s var(--ease-expo);
  transition-delay: var(--d, 0s);
}
.rc.revealed i { transform: translateY(0); }
html.hero-go .hero .rc i { transform: translateY(0); }

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(176,14,47,0.08) 0%, transparent 65%);
  animation: heroBgPulse 9s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroBgPulse {
  from { opacity: 0.35; transform: scale(0.9); }
  to   { opacity: 1;    transform: scale(1.15); }
}

@keyframes heroTagFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

html.hero-go .hero-tag {
  animation: heroTagFloat 5s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes heroLinePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

html.hero-go .hero-line {
  animation: heroLinePulse 3.5s ease-in-out infinite;
  animation-delay: 2.2s;
}

.hero-inner {
  will-change: transform;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: block;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--candy);
  margin-bottom: 20px;
}
.hero-tag .rc { line-height: 1.8; }

.hero-name {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(88px, 15vw, 168px);
  line-height: 0.88;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-name .rc { line-height: 0.88; padding-bottom: 0.08em; }
.hero-name--black { color: var(--licorice); }
.hero-name--red   { color: var(--candy); }

.hero-sub {
  margin-top: 28px;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(0,0,0,0.45);
  max-width: 360px;
  margin-inline: auto;
}
.hero-sub .rc { line-height: 1.55; }

.hero-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: var(--candy);
  height: 0;
  transition: height 1.2s var(--ease-expo);
  transition-delay: 0.8s;
}
html.hero-go .hero-line { height: 56px; }

/* ─── SHARED SECTION ATOMS ───────────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--candy);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--f-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.88;
}

/* ─── FADE-UP ────────────────────────────────────────────────────── */
.fu {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
  transition-delay: var(--d, 0s);
}
.fu.visible { opacity: 1; transform: translateY(0); }

/* ─── COUNTDOWN SECTION ──────────────────────────────────────────── */
.countdown-section {
  background: var(--peach);
  padding: 90px 48px;
  text-align: center;
}

.mystery-text-wrap {
  min-height: 4.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 52px;
}

.mystery-text {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 58px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--licorice);
  opacity: 1;
  transition: opacity 0.7s var(--ease-std);
  max-width: 700px;
}
.mystery-text.fade-out { opacity: 0; }
.mystery-text em { color: var(--candy); font-style: normal; }

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.cd-card {
  background: var(--snow);
  border-radius: 36px;
  padding: 32px 36px;
  min-width: 128px;
}
.cd-num {
  display: block;
  font-family: var(--f-display);
  font-size: 80px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--licorice);
}
.cd-lbl {
  display: block;
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-top: 8px;
}

.cd-expired {
  display: none;
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cd-expired em { color: var(--candy); font-style: normal; }

/* ─── BOOK SECTION ───────────────────────────────────────────────── */
.book-section {
  background: var(--snow);
  padding: 100px 48px;
  text-align: center;
}
.book-title {
  font-size: clamp(56px, 8vw, 104px);
  max-width: 760px;
  margin: 0 auto 28px;
}
.book-title .accent { color: var(--candy); }
.book-title .rc { padding-bottom: 0.06em; }

.book-desc {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0,0,0,0.45);
  max-width: 400px;
  margin: 0 auto 48px;
}

.btn-pill {
  display: inline-block;
  background: var(--candy);
  color: var(--snow);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 44px;
  border-radius: 9999px;
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s;
}
.btn-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(176,14,47,0.28);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--licorice);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-logo {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--snow);
  text-decoration: none;
}
.footer-copy {
  font-family: var(--f-body);
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.06em;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav, .nav.scrolled { padding: 16px 24px; }
  .nav-link { display: none; }
  .hero { padding: 80px 24px 70px; }
  .countdown-section, .book-section { padding: 64px 24px; }
  .footer { padding: 24px; flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .countdown-grid { gap: 6px; }
  .cd-card { min-width: 0; flex: 1; padding: 16px 8px; border-radius: 16px; }
  .cd-num  { font-size: clamp(28px, 8vw, 48px); }
  .cd-lbl  { font-size: 8px; letter-spacing: 0.1em; }
}
