@font-face {
  font-family: "Bodoni Moda Variable";
  src: url("fonts/BodoniModa-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italiana";
  src: url("fonts/Italiana-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --aurora-ivory: #f3ebdd;
  --aurora-gold: #b8985e;
}

html,
body,
#root {
  margin: 0;
  background: #000;
  color: var(--aurora-ivory);
}

.scrub-section {
  position: relative;
  height: 550vh;
  height: 550svh;
  background: #000;
}

.scrub-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.chapter {
  position: absolute;
  left: clamp(32px, 6vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.chapter-label {
  margin: 0 0 1.4rem;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aurora-gold);
  white-space: nowrap;
}

/* One shared token for every chapter headline. Do not change per chapter. */
.aurora-headline {
  margin: 0;
  font-family: "Bodoni Moda Variable", "Bodoni Moda", serif;
  font-size: clamp(78px, 6.2vw, 116px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #f3ebdd;
  width: min(46vw, 820px);
}

.aurora-headline .line {
  display: block;
  white-space: nowrap;
}

.lockup-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
}

.lockup-kicker,
.lockup-sub {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--aurora-gold);
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.lockup-title {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  margin: 0.35rem 0;
  font-family: "Italiana", serif;
  font-weight: 400;
  font-kerning: normal;
  font-size: clamp(96px, 11vw, 210px);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--aurora-ivory);
  white-space: nowrap;
  max-width: 50vw;
}

.lockup-cta {
  pointer-events: auto;
  margin-top: 2.2rem;
  padding: 0.95rem 2.6rem;
  background: transparent;
  border: 1px solid var(--aurora-ivory);
  border-radius: 999px;
  color: var(--aurora-ivory);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lockup-cta:focus-visible {
  outline: 2px solid var(--aurora-gold);
  outline-offset: 4px;
}

.concept-dialog {
  max-width: min(420px, calc(100vw - 40px));
  padding: 32px;
  border: 1px solid var(--aurora-gold);
  background: #111;
  color: var(--aurora-ivory);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

.concept-dialog::backdrop { background: rgba(0, 0, 0, .78); }
.concept-dialog h2 { margin: 0 0 12px; font-family: "Italiana", serif; font-size: 36px; font-weight: 400; }
.concept-dialog p { margin: 0 0 20px; }
.concept-dialog a { color: var(--aurora-ivory); text-underline-offset: 4px; }
.concept-close { display: block; margin-top: 24px; padding: 8px 0; background: none; border: 0; color: var(--aurora-gold); cursor: pointer; }
.concept-dialog :focus-visible { outline: 2px solid var(--aurora-gold); outline-offset: 4px; }

/* Mobile: keep the full 16:9 composition visible, shared headline token. */
@media (max-width: 768px) {
  .scrub-video {
    object-fit: contain;
  }

  .chapter {
    left: 6vw;
    right: 6vw;
  }

  .aurora-headline {
    font-size: clamp(38px, 12vw, 64px);
    line-height: 1;
    width: 84vw;
  }

  .lockup-title {
    font-size: min(clamp(96px, 11vw, 210px), 15.5vw);
    max-width: 88vw;
  }
}
