/* ============================================================
   AlterEgo. — style.css
   Cinematic personal branding studio — Dubai
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "DeRose";
  src: url("../fonts/DeRose.otf") format("opentype"),
       url("../fonts/DeRose.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ground:        #150D1A;
  --ground-lift:   #211726;
  --ground-deep:   #0D0812;
  --cream:         #EDE7DC;
  --cream-dim:     rgba(237, 231, 220, 0.5);
  --accent:        #B08D57;

  --font-display: "DeRose", "Playfair Display", serif;
  --font-body: "Cormorant Garamond", serif;
  --font-label: "Archivo", sans-serif;

  --pad-section: 200px;
  --text-max: 620px;
}

@media (max-width: 768px) {
  :root { --pad-section: 110px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background-color: var(--ground);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hide native cursor on desktop only (custom cursor takes over) */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button,
  body.has-cursor input, body.has-cursor label { cursor: none; }
}

/* ---------- Type utilities ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
}

.label {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.body-dim { color: var(--cream-dim); max-width: var(--text-max); }

/* ---------- Light spreads ----------
   A few sections flip to cream, like light pages in a dark book.
   Text inverts to the ground aubergine; accent stays. */
.spread--light {
  background: var(--cream);
  color: var(--ground);
}

/* Light exposes tightness: a spread needs more air than a dark
   section to read as a page, not a band. (section+class outranks
   the per-section padding shorthands that come later.) */
section.spread--light {
  padding-top: 260px;
  padding-bottom: 260px;
}

@media (max-width: 768px) {
  section.spread--light {
    padding-top: 140px;
    padding-bottom: 140px;
  }
}

.spread--light .label { color: rgba(21, 13, 26, 0.5); }

.spread--light .body-dim,
.spread--light .object__desc { color: rgba(21, 13, 26, 0.6); }

.spread--light .stat__label { color: rgba(21, 13, 26, 0.5); }

.spread--light .chapter-num {
  color: var(--cream);
  -webkit-text-stroke: 1px rgba(21, 13, 26, 0.3);
}

/* Masked line reveal scaffolding (built by JS) */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > .reveal-inner { display: block; will-change: transform; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ground);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--cream);
}

.preloader__wordmark .char {
  display: inline-block;
  clip-path: inset(0 0 100% 0);
}

.preloader__period { color: var(--cream); }

.preloader.is-done { display: none; }

/* ============================================================
   FIXED UI — progress, cursor, nav
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 100vh;
  background: var(--cream);
  transform: scaleY(0);
  transform-origin: top;
  z-index: 90;
  pointer-events: none;
  mix-blend-mode: difference; /* stays visible over the light spreads */
}

/* 64px circle scaled to 0.125 (an 8px dot) by JS — grow is transform-only */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  z-index: 99;
  pointer-events: none;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference; /* stays visible over the light spreads */
}

@media (hover: hover) and (pointer: fine) {
  body.has-cursor .cursor { display: flex; }
}

.cursor__label {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ground);
  opacity: 0;
  user-select: none;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  background-color: transparent;
  transition: background-color 0.6s ease;
}

.nav.is-solid { background-color: var(--ground); }

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
}

.nav__apply {
  border: 1px solid var(--cream);
  border-radius: 999px;
  padding: 10px 26px;
  white-space: nowrap;
  transition: background-color 0.4s ease, color 0.4s ease;
}

@media (max-width: 480px) {
  .nav__apply { padding: 8px 16px; letter-spacing: 0.18em; }
}

.nav__apply:hover {
  background-color: var(--cream);
  color: var(--ground) !important;
}

@media (max-width: 768px) {
  .nav { padding: 20px 22px; }
  .nav__links { gap: 20px; }
  .nav__links a:not(.nav__apply) { display: none; }
}

/* ============================================================
   01 · HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ground-lift);
}

.hero__wash {
  position: absolute;
  inset: 0;
  background: rgba(21, 13, 26, 0.5);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.15;
  max-width: 22ch;
  margin: 0 auto;
}

.hero__label { margin-top: 32px; }

.hero__scrollline {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 90px;
  background: var(--cream-dim);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  z-index: 2;
}

/* ============================================================
   02 · THE FILMSTRIP
   ============================================================ */
/* The feathered film above provides the dark run-out — less pad needed */
.filmstrip { padding-top: 120px; }

@media (max-width: 768px) {
  .filmstrip { padding-top: 70px; }
}

.filmstrip__label { padding: 0 40px; margin-bottom: 60px; }

.filmstrip__pin { overflow: hidden; }

@media (min-width: 769px) {
  .filmstrip__pin {
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
  }
}

/* Static fallback (reduced motion / no pin): native horizontal scroll */
.filmstrip__pin.is-static {
  height: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (prefers-reduced-motion: reduce) {
  .filmstrip__pin {
    height: auto;
    overflow-x: auto;
  }
}

.filmstrip__track {
  display: flex;
  align-items: center;
  gap: 5vw;
  padding: 0 40px;
  width: max-content;
  will-change: transform;
}

/* Tiles keep each film's native aspect: height is the constant,
   width follows the format (4:3 sits beside 16:9 like mixed reels) */
.filmstrip__tile { flex: 0 0 auto; width: auto; }

.tile__media {
  position: relative;
  height: min(58svh, 540px);
  width: auto;
  aspect-ratio: 16 / 9; /* fallback; each tile sets its own inline */
  overflow: hidden;
  background: var(--ground-lift);
}

.tile__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .tile__media:hover video {
    transform: scale(1.03);
    filter: saturate(1);
  }
}

.tile__caption { margin-top: 18px; color: var(--cream); }

/* Mobile: native swipe carousel */
@media (max-width: 768px) {
  .filmstrip__label { padding: 0 22px; margin-bottom: 36px; }
  .filmstrip__pin {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .filmstrip__pin::-webkit-scrollbar { display: none; }
  .filmstrip__track { gap: 20px; padding: 0 22px; }
  .filmstrip__tile { width: auto; scroll-snap-align: center; }
  .tile__media { height: auto; width: 82vw; }
}

/* ============================================================
   02 · WHAT ALTEREGO IS
   ============================================================ */
.whatis {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  min-height: 88svh;
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* The film house behind the words: projector beam under a heavy wash */
.whatis__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Feathered edges: the film emerges from the dark instead of
     sitting in a hard-edged band */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.whatis__wash {
  position: absolute;
  inset: 0;
  background: rgba(21, 13, 26, 0.5);
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}


.whatis > .label,
.whatis > .whatis__headline,
.whatis > .whatis__body {
  position: relative;
  z-index: 2;
}

/* Dim text washes out where it crosses the projector beam */
.whatis > .whatis__body { color: rgba(237, 231, 220, 0.85); }

.whatis__headline {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  margin-top: 48px;
  max-width: 18ch;
}

.whatis__body { margin-top: 44px; }

@media (max-width: 768px) {
  .whatis { padding-left: 22px; padding-right: 22px; }
}

/* ============================================================
   05 · PRESENCE, DAILY — vertical films
   ============================================================ */
.verticals {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.verticals__line { margin-top: 32px; }

/* Slider: native scroll-snap track, drag-to-scroll via JS */
.verticals__row {
  margin-top: 80px;
  display: flex;
  gap: 26px;
  width: min(100%, 1100px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.verticals__row::-webkit-scrollbar { display: none; }

.vertical {
  flex: 0 0 clamp(220px, 23vw, 320px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ground-lift);
  scroll-snap-align: start;
}

.verticals__nav {
  margin-top: 40px;
  display: flex;
  gap: 32px;
}

.vnav {
  padding: 8px;
  color: var(--cream-dim);
  transition: color 0.4s ease;
}

.vnav:hover { color: var(--cream); }

.vnav svg { width: 22px; height: 22px; display: block; }

/* Desktop: staggered editorial grid — three columns, alternating
   offsets, every reel visible. The slider remains on mobile. */
@media (min-width: 769px) {
  .verticals__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: min(100%, 960px);
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 96px; /* room for the offset columns */
  }

  .vertical {
    flex: none;
    width: 100%;
  }

  .verticals__row .vertical:nth-child(3n+2) { transform: translateY(96px); }
  .verticals__row .vertical:nth-child(3n)   { transform: translateY(48px); }

  .verticals__nav { display: none; }
}

.vertical video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .vertical:hover video {
    transform: scale(1.03);
    filter: saturate(1);
  }
}

@media (max-width: 768px) {
  .verticals { padding-left: 0; padding-right: 0; }
  .verticals__line { padding: 0 22px; }
  .verticals__row {
    gap: 16px;
    padding: 0 22px;
    margin-top: 48px;
    width: 100%;
  }
  .vertical { flex: 0 0 58vw; scroll-snap-align: center; }
}

/* ============================================================
   03 · RECOGNITION
   ============================================================ */
.recognition {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.recognition__headline {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-top: 48px;
  max-width: 16ch;
}

.recognition__body { margin-top: 44px; }

/* Flow into the film below: the feathered video section carries its
   own dark run-in, so recognition doesn't need the full pad beneath */
.recognition { padding-bottom: 110px; }

@media (max-width: 768px) {
  .recognition { padding-left: 22px; padding-right: 22px; padding-bottom: 60px; }
}

/* ============================================================
   04 · THE FEAR
   ============================================================ */
.fear {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
  padding: var(--pad-section) 40px;
}

.fear__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ground-lift);
}

.fear__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .fear__media:hover video {
    transform: scale(1.03);
    filter: saturate(1);
  }
}

.fear__copy { max-width: var(--text-max); }

.fear__headline {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  margin-top: 40px;
  max-width: 18ch;
}

.fear__body { margin-top: 36px; }

.fear__promise {
  margin-top: 48px;
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .fear__promise:hover {
    background-size: 100% 100%;
    -webkit-text-fill-color: transparent;
  }
}

.fear__why { margin-top: 64px; }

.fear__why p { font-size: 1.45rem; }

.fear__why p + p { margin-top: 14px; }

.fear__actions {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.fear__pill {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 999px;
  padding: 14px 40px;
  white-space: nowrap;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.fear__pill:hover {
  background-color: var(--cream);
  color: var(--ground);
}

.fear__more {
  color: var(--cream-dim);
  transition: color 0.4s ease;
}

.fear__more:hover { color: var(--cream); }

@media (max-width: 900px) {
  .fear {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* ============================================================
   05 · THE STORY
   ============================================================ */
.story {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.story__headline {
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  margin-top: 48px;
}

.story__sub {
  margin-top: 20px;
  font-size: 1.4rem;
  color: var(--cream-dim);
}

.story__descriptor { margin-top: 36px; }

.story__hint { margin-top: 90px; }

.story__hint + .story__player { margin-top: 28px; }

.story__cta {
  margin-top: 72px;
  font-size: 1.35rem;
  color: var(--cream);
  border-bottom: 1px solid var(--cream-dim);
  padding-bottom: 4px;
  transition: border-color 0.4s ease;
}

.story__cta:hover { border-color: var(--cream); }

.story__player {
  position: relative;
  margin-top: 90px;
  width: min(100%, 1080px);
  aspect-ratio: 16 / 9;
  background: var(--ground-lift);
  overflow: hidden;
}

.story__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: opacity 0.6s ease;
}

.story__play svg {
  width: 80px;
  height: 80px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .story__play:hover svg { transform: scale(1.06); }
}

.story__player.is-playing .story__play {
  opacity: 0;
  pointer-events: none;
}

/* While The Story plays, everything else recedes */
body.is-watching main > section:not(.story),
body.is-watching .nav,
body.is-watching .footer,
body.is-watching .story > *:not(.story__player) {
  opacity: 0.3;
  transition: opacity 0.8s ease;
}

main > section, .nav, .footer,
.story > *:not(.story__player) {
  transition: opacity 0.8s ease;
}

.story__lines { margin-top: 100px; max-width: var(--text-max); }

.story__lines p {
  font-size: 1.45rem;
  line-height: 1.5;
}

.story__lines p + p { margin-top: 28px; }

.story__doors {
  margin-top: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-method .story__doors { margin-top: 80px; }
.page-method .story__lines { margin-top: 70px; }

.doors__headline { font-size: clamp(1.9rem, 3.6vw, 3rem); }

.doors__intro { margin-top: 36px; }

.doors__list {
  list-style: none;
  margin-top: 30px;
}

.doors__list li {
  font-size: 1.3rem;
  color: var(--cream-dim);
}

.doors__list li + li { margin-top: 14px; }

.doors__list li span { color: var(--cream); }

/* Doors as an icon grid — compact, five columns */
.doors__grid {
  list-style: none;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 3vw;
  width: min(100%, 1020px);
}

.door {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.door svg {
  width: 26px;
  height: 26px;
  color: var(--cream-dim);
}

.door__name {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 6px;
}

.door__desc {
  font-size: 1.05rem;
  color: var(--cream-dim);
  line-height: 1.4;
  max-width: 18ch;
}

@media (max-width: 768px) {
  .doors__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; margin-top: 40px; }
  .doors__grid .door:last-child { grid-column: 1 / -1; }
}

.doors__closer {
  margin-top: 44px;
  font-size: 1.4rem;
  max-width: var(--text-max);
}

.story__credit {
  margin-top: 80px;
  color: var(--accent);
}

.story__icons {
  margin-top: 56px;
  display: flex;
  gap: 40px;
}

.story__icons a { color: var(--cream-dim); transition: color 0.4s ease; }
.story__icons a:hover { color: var(--cream); }

.story__icons svg { width: 22px; height: 22px; }

@media (max-width: 768px) {
  .story { padding-left: 22px; padding-right: 22px; }
  .story__player { margin-top: 56px; }
  .story__lines { margin-top: 64px; }
  .story__icons { gap: 28px; }
}

/* ============================================================
   06 · METHOD
   ============================================================ */
.method { padding-top: var(--pad-section); }

.method__intro {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.method__headline { font-size: clamp(2.2rem, 5vw, 4.2rem); }

.method__sub {
  margin-top: 20px;
  font-size: 1.4rem;
  color: var(--cream-dim);
}

.method__frame { margin-top: 32px; font-size: 1.25rem; }

.method__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  margin-top: 100px;
}

.method__acts { position: relative; height: 100%; }

.method__act {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6vw;
  padding: 0 8vw;
  opacity: 0;
  pointer-events: none;
}

.method__act.is-active { opacity: 1; pointer-events: auto; }

.act__numeral {
  position: absolute;
  top: 50%;
  left: 4vw;
  transform: translateY(-50%);
  font-size: clamp(8rem, 24vw, 22rem);
  color: var(--ground-lift);
  z-index: 0;
  user-select: none;
}

.act__text { position: relative; z-index: 1; max-width: var(--text-max); }

.act__title { font-size: clamp(2rem, 4vw, 3.4rem); }

.act__line { margin-top: 24px; font-size: 1.35rem; color: var(--cream-dim); }

.act__media {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ground-lift);
}

.act__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method__approval {
  padding: 140px 40px 0;
  text-align: center;
  font-size: 1.5rem;
}

.method__exit {
  padding: 140px 40px 0;
  text-align: center;
  font-size: 1.5rem;
}

.method__approval + .method__exit { padding-top: 36px; }

@media (max-width: 900px) {
  .method__act {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 36px;
    padding: 0 22px;
  }
  .act__numeral { left: 22px; top: 12%; transform: none; }
  .method__exit { padding: 90px 22px 0; }
}

/* Reduced motion / no-JS: stack the acts normally */
.method__pin.is-static { height: auto; }
.method__pin.is-static .method__acts { height: auto; }
.method__pin.is-static .method__act {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  padding-top: 60px;
  padding-bottom: 60px;
  min-height: 60vh;
}

/* ============================================================
   07 · QUESTION 27
   ============================================================ */
.q27 {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.q27__headline {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  margin-top: 48px;
}

.q27__sub {
  margin-top: 20px;
  font-size: 1.4rem;
  color: var(--cream-dim);
}

.q27__body { margin-top: 40px; }

.q27__punch {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.25;
  max-width: 20ch;
}

.q27__closer { margin-top: 56px; font-size: 1.5rem; }

@media (max-width: 768px) {
  .q27 { padding-left: 22px; padding-right: 22px; }
}

/* ============================================================
   08 · THE CADENCE
   ============================================================ */
.cadence {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cadence__headline {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-top: 48px;
}

.cadence__body { margin-top: 44px; }

.cadence__stats {
  margin-top: 130px;
  display: flex;
  justify-content: center;
  gap: 9vw;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.stat__numeral { font-size: clamp(4.5rem, 11vw, 9rem); line-height: 1; }

.cadence__retainer { margin-top: 100px; font-size: 1.5rem; }

@media (max-width: 768px) {
  .cadence { padding-left: 22px; padding-right: 22px; }
  .cadence__stats { margin-top: 80px; gap: 56px; }
  .cadence__retainer { margin-top: 64px; }
}

/* ============================================================
   08 · APPLICATION
   ============================================================ */
.apply {
  background: var(--ground);
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.apply__headline {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  max-width: 16ch;
}

.apply__label { margin-top: 40px; }

.apply__form {
  margin-top: 110px;
  width: min(100%, 520px);
  text-align: left;
}

.field { position: relative; margin-bottom: 56px; }

.field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cream-dim);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.25rem;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.4s ease;
  border-radius: 0;
}

.field input:focus { border-color: var(--cream); }

.field label {
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--cream-dim);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
  transform-origin: left top;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-26px) scale(0.6);
  opacity: 0.7;
}

.apply__submit {
  display: block;
  margin: 40px auto 0;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 999px;
  padding: 14px 46px;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.apply__submit:hover {
  background-color: var(--cream);
  color: var(--ground);
}

.apply__note { margin-top: 44px; font-size: 1.1rem; }

.apply__whatsapp { margin-top: 22px; }

.apply__whatsapp a { transition: color 0.4s ease; }

.apply__whatsapp a:hover { color: var(--cream); }

@media (max-width: 768px) {
  .apply { padding-left: 22px; padding-right: 22px; }
  .apply__form { margin-top: 70px; }
}

/* ============================================================
   METHOD PAGE — pagehero, acts, compound, closing
   ============================================================ */

/* Tighter vertical rhythm on the method page — it's a read, not a film */
.page-method { --pad-section: 130px; }

@media (max-width: 768px) {
  .page-method { --pad-section: 80px; }
}

/* Chapters: each opens with its number set huge and faint in DeRose —
   film title cards, not divider furniture */
.chapter-num {
  display: block;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  color: var(--ground-lift);
  -webkit-text-stroke: 1px rgba(237, 231, 220, 0.25);
  margin-bottom: 28px;
  user-select: none;
}

.pagehero {
  min-height: 62vh;
  min-height: 62svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 40px 30px;
}

.pagehero__headline { font-size: clamp(2.8rem, 7vw, 6rem); }

/* The five acts — editorial numbered list, no pin */
.acts {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.acts__list {
  list-style: none;
  width: min(100%, 820px);
}

.actrow {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  align-items: start;
  padding: 52px 0;
  border-top: 1px solid rgba(237, 231, 220, 0.14);
}

.actrow:last-child { border-bottom: 1px solid rgba(237, 231, 220, 0.14); }

.actrow__numeral {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  color: var(--ground-lift);
  -webkit-text-stroke: 1px rgba(237, 231, 220, 0.25);
  user-select: none;
}

.actrow__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.actrow__line { margin-top: 14px; font-size: 1.2rem; max-width: 56ch; }

.acts__approval {
  margin-top: 80px;
  text-align: center;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .acts { padding-left: 22px; padding-right: 22px; }
  .actrow { grid-template-columns: 64px 1fr; gap: 18px; padding: 40px 0; }
  .acts__approval { margin-top: 56px; }
}

/* Month 0 · Genesis — deliverables as objects */
.genesis {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.genesis__headline {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  margin-top: 48px;
  max-width: 20ch;
}

.objects {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 7vw;
  width: min(100%, 980px);
}

.object__name { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.object__desc { margin-top: 12px; font-size: 1.2rem; }

@media (max-width: 768px) {
  .objects { grid-template-columns: 1fr; gap: 52px; margin-top: 64px; }
}

/* Every month after — the engine */
.engine {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.engine__headline {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-top: 48px;
}

.engine__body { margin-top: 44px; }

.engine .cadence__stats { margin-top: 90px; }

.engine__closer { margin-top: 90px; font-size: 1.5rem; }

/* The team */
.team {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team__headline {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-top: 48px;
}

.team__body { margin-top: 44px; }

.team__limit { margin-top: 56px; color: var(--accent); }

/* The Vault */
.vault {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vault__headline {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-top: 48px;
}

.vault__body { margin-top: 44px; }

.vault__closer { margin-top: 56px; font-size: 1.5rem; }

@media (max-width: 768px) {
  .genesis, .engine, .team, .vault { padding-left: 22px; padding-right: 22px; }
  .objects { margin-top: 70px; }
  .object + .object { margin-top: 56px; }
}

.compound {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.compound__headline {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-top: 48px;
}

.compound__lines { margin-top: 72px; max-width: var(--text-max); }

.compound__lines p { font-size: 1.45rem; line-height: 1.5; }

.compound__lines p + p { margin-top: 24px; }

.compound__closer { margin-top: 64px; font-size: 1.5rem; }

.closing {
  padding: var(--pad-section) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing__headline { font-size: clamp(2.2rem, 5vw, 4.2rem); }

.closing__cta {
  display: inline-block;
  margin-top: 72px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 999px;
  padding: 14px 46px;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.closing__cta:hover {
  background-color: var(--cream);
  color: var(--ground);
}

@media (max-width: 768px) {
  .pagehero { padding: 130px 22px 30px; }
  .compound, .closing { padding-left: 22px; padding-right: 22px; }
}

/* ============================================================
   LIGHTBOX — full films, sound on, loaded only on click
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 8, 18, 0.96);
}

.lightbox.is-open { display: flex; }

.lightbox__video {
  max-width: 92vw;
  max-height: 86vh;
  background: #000;
  outline: none;
}

.lightbox__close {
  position: absolute;
  top: 26px;
  right: 34px;
  z-index: 2;
  padding: 10px;
  color: var(--cream-dim);
  transition: color 0.4s ease;
}

.lightbox__close:hover { color: var(--cream); }

.lightbox__close svg { width: 26px; height: 26px; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 40px 48px;
  text-align: center;
}

.footer__line a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .preloader { display: none; }
  .hero__scrollline { transform: translateX(-50%) scaleY(1); }
}
