/* ============================================================
   CRIMSON ACADEMY — Advanced Motion / Composition Layer
   ============================================================ */

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: all;
}
.preloader.is-done { pointer-events: none; }
.preloader__inner {
  width: min(560px, 90vw);
  text-align: center;
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
.preloader__crest {
  width: 80px; height: 80px;
  margin: 0 auto;
  opacity: 0;
  transform: scale(.7);
  will-change: transform, opacity;
}
.preloader__crest img { width: 100%; height: 100%; object-fit: contain; }
.preloader__brand {
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -.01em;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
}
.preloader__rule {
  width: 0;
  height: 1px;
  background: var(--accent-2);
  margin: 0 auto;
  max-width: 240px;
}
.preloader__count {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 9, "wght" 300;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--accent);
  opacity: 0;
}
.preloader__count sup {
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: .35em;
  color: var(--accent-2);
  vertical-align: super;
  margin-left: .15em;
}
.preloader__motto {
  font-family: var(--ff-editorial);
  font-style: italic;
  color: var(--text-muted);
  font-size: .95rem;
  letter-spacing: .04em;
  opacity: 0;
}
.preloader__deva {
  font-family: var(--ff-deva);
  font-size: .85rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  opacity: 0;
}
/* Curtain panels for reveal */
.preloader__curtain {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  transform-origin: bottom center;
  z-index: 1;
}
.preloader__curtain--top { transform-origin: top center; }
.preloader__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .35;
  pointer-events: none;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .preloader__noise { mix-blend-mode: screen; opacity: .2; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  z-index: 100;
  pointer-events: none;
  transition: width .08s linear;
}

/* ---------- Section indicator (right side) ---------- */
.section-indicator {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}
@media (min-width: 1100px) { .section-indicator { display: flex; } }
.section-indicator__dot {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-muted);
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: .8rem;
  transform: translateX(40px);
  opacity: .65;
  transition: all .5s var(--ease-out-expo);
}
.section-indicator__dot::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all .5s var(--ease-out-expo);
}
.section-indicator__dot.is-active {
  opacity: 1;
  color: var(--accent);
  transform: translateX(0);
}
.section-indicator__dot.is-active::after {
  background: var(--accent);
  width: 24px;
  border-radius: 0;
  height: 1px;
}

/* ---------- Hero v2 — refined composition ---------- */
.hero-v2 {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.hero-v2__bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-v2__bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,168,117,.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(107,15,26,.06), transparent 50%);
}
.hero-v2__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .5;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .hero-v2__bg::after { mix-blend-mode: screen; opacity: .2; }

/* Floating ornaments — petals/leaves */
.hero-v2__petal {
  position: absolute;
  color: var(--accent-2);
  opacity: 0;
  will-change: transform;
}
.hero-v2__petal svg { width: 100%; height: 100%; }
.hero-v2__petal--1 { top: 14%; left: 8%;   width: 36px; height: 36px; }
.hero-v2__petal--2 { top: 22%; right: 12%; width: 28px; height: 28px; }
.hero-v2__petal--3 { bottom: 22%; left: 14%; width: 32px; height: 32px; }
.hero-v2__petal--4 { bottom: 28%; right: 9%; width: 40px; height: 40px; }
.hero-v2__petal--5 { top: 50%; left: 4%; width: 22px; height: 22px; }
.hero-v2__petal--6 { top: 60%; right: 6%; width: 26px; height: 26px; }
@keyframes petalFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -14px) rotate(8deg); }
  50% { transform: translate(-6px, -22px) rotate(-5deg); }
  75% { transform: translate(-12px, -10px) rotate(3deg); }
}

/* Decorative SVG ornaments */
.hero-v2__ornament {
  position: absolute;
  color: var(--accent-2);
  opacity: 0;
}
.hero-v2__ornament--top { top: 12%; left: 50%; transform: translateX(-50%); width: 160px; }
.hero-v2__ornament--bottom { bottom: 12%; left: 50%; transform: translateX(-50%); width: 160px; }
.hero-v2__ornament svg { width: 100%; height: auto; display: block; }
.hero-v2__ornament path { stroke: currentColor; stroke-width: 1; fill: none; stroke-dasharray: 800; stroke-dashoffset: 800; }
.hero-v2__ornament.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out-expo); }

.hero-v2__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(900px, 92vw);
  display: grid;
  gap: 1.5rem;
  place-items: center;
}

/* Wordmark v2 — variable font with weight animation */
.wordmark-v2 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.03em;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .04em;
}
.wordmark-v2 .word { display: inline-flex; }
.wordmark-v2 .word + .word { margin-left: .35em; }
.wordmark-v2 .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(80%);
  will-change: transform, opacity, font-variation-settings;
}

/* Mask reveal lines (for split text) */
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out-expo); }
.line-mask.is-revealed > span { transform: translateY(0); }

/* Scroll cue v2 — orbital text */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  opacity: 0;
  z-index: 3;
}
.scroll-cue__ring { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.scroll-cue__ring text {
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: 9px;
  letter-spacing: .25em;
  fill: var(--text-muted);
}
.scroll-cue__arrow {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--accent);
}
.scroll-cue__arrow svg { width: 14px; height: 14px; animation: bob 2.2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: .55; }
}

/* ---------- Pinned Statement Section ---------- */
.pinned-statement {
  position: relative;
  background: var(--bg-primary);
}
.pinned-statement__sticky {
  height: 100vh;
  display: grid;
  place-items: center;
  position: sticky;
  top: 0;
}
.pinned-statement__text {
  width: min(960px, 90vw);
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--text-secondary);
}
.pinned-statement__text .word {
  display: inline-block;
  opacity: .12;
  transition: opacity .2s linear, color .2s linear;
  margin: 0 .12em;
}
.pinned-statement__text .word.is-lit { opacity: 1; color: var(--text-primary); }
.pinned-statement__text .word.accent { color: var(--accent); font-family: var(--ff-editorial); font-style: italic; }

/* ---------- Marquee strip ---------- */
.marquee-strip {
  position: relative;
  padding: 2.5rem 0;
  background: var(--bg-secondary);
  border-block: 1px solid var(--rule);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-strip__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeSlide 48s linear infinite;
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -.02em;
}
.marquee-strip__track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  color: var(--text-primary);
}
.marquee-strip__track .star {
  color: var(--accent-2);
  font-size: .7em;
}
.marquee-strip__track .deva {
  font-family: var(--ff-deva);
  font-weight: 400;
}
.marquee-strip__track .italic {
  font-family: var(--ff-editorial);
  font-style: italic;
  color: var(--accent);
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Kinetic stat ---------- */
.kinetic-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 9vw, 7rem) 0;
  align-items: end;
}
@media (max-width: 768px) { .kinetic-stats { grid-template-columns: 1fr; gap: 3rem; } }
.kinetic-stat {
  position: relative;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}
.kinetic-stat__num {
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--accent);
  display: inline-block;
  position: relative;
}
.kinetic-stat__num sup {
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: .2em;
  color: var(--accent-2);
  vertical-align: super;
  margin-left: .15em;
}
.kinetic-stat__label {
  margin-top: .5rem;
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 24ch;
  line-height: 1.4;
}
.kinetic-stat__caption {
  margin-top: .75rem;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Why cards v2 — 3D tilt ---------- */
.why-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  perspective: 1500px;
}
.why-tilt {
  position: relative;
  padding: 2.5rem 2rem 2.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--rule);
  border-radius: 4px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .6s var(--ease-out-expo), box-shadow .6s var(--ease-out-expo), border-color .6s var(--ease-out-expo);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}
.why-tilt:hover { box-shadow: var(--shadow-luxe); border-color: color-mix(in oklab, var(--accent-2) 50%, transparent); }
.why-tilt__bg-num {
  position: absolute;
  top: -.3em; right: -.05em;
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(7rem, 12vw, 12rem);
  line-height: 1;
  color: var(--accent);
  opacity: .055;
  letter-spacing: -.04em;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}
.why-tilt > * { position: relative; z-index: 1; transform: translateZ(20px); }
.why-tilt__num {
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent-2);
}
.why-tilt__title {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400;
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  line-height: 1.15;
  color: var(--text-primary);
}
.why-tilt__body {
  margin: 0;
  color: var(--text-secondary);
  font-size: .98rem;
  line-height: 1.7;
}
.why-tilt__arrow {
  margin-top: auto;
  font-family: var(--ff-editorial);
  font-style: italic;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  opacity: .65;
  transition: opacity .3s, transform .5s var(--ease-out-expo);
}
.why-tilt:hover .why-tilt__arrow { opacity: 1; transform: translateX(6px); }
.why-tilt__corner {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 14px; height: 14px;
  border-top: 1px solid var(--accent-2);
  border-right: 1px solid var(--accent-2);
  opacity: .55;
  z-index: 1;
}

/* ---------- Horizontal scroll-jacked Programs ---------- */
.h-scroll {
  position: relative;
  background: var(--bg-secondary);
}
.h-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.h-scroll__track {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  padding-inline: clamp(2rem, 6vw, 7rem);
  will-change: transform;
}
.h-scroll__panel {
  position: relative;
  flex: 0 0 auto;
  width: min(560px, 72vw);
  background: var(--bg-primary);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(2rem, 3.5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: min(70vh, 600px);
}
.h-scroll__panel-num {
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent-2);
  letter-spacing: .04em;
}
.h-scroll__panel-stage {
  font-family: var(--ff-body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.h-scroll__panel-title {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.h-scroll__panel-age {
  font-family: var(--ff-editorial);
  font-style: italic;
  color: var(--accent);
  font-size: 1.1rem;
}
.h-scroll__panel-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 42ch;
}
.h-scroll__panel-list {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1.5rem;
  font-family: var(--ff-editorial);
  font-style: italic;
  color: var(--text-secondary);
  font-size: .95rem;
}
.h-scroll__panel-list li::before { content: "— "; color: var(--accent-2); }
.h-scroll__panel-list li { list-style: none; }
.h-scroll__progress {
  position: absolute;
  bottom: 3rem; left: clamp(2rem, 6vw, 7rem); right: clamp(2rem, 6vw, 7rem);
  display: flex; align-items: center; gap: 2rem;
  pointer-events: none;
}
.h-scroll__progress-bar {
  flex: 1; height: 1px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.h-scroll__progress-bar::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
}
.h-scroll__progress-count {
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text-primary);
}
.h-scroll__progress-count .sep, .h-scroll__progress-count .total {
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--ff-editorial);
  font-size: .55em;
}
.h-scroll__title {
  position: absolute;
  top: 6rem; left: clamp(2rem, 6vw, 7rem);
  z-index: 2;
  pointer-events: none;
}
.h-scroll__title .text-label { display: block; margin-bottom: .75rem; }
.h-scroll__title h2 { margin: 0; font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.4rem); max-width: 14ch; }

/* ---------- Magazine spread — sticky parallax ---------- */
.spread {
  position: relative;
  padding: var(--space-section) 0;
}
.spread__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) { .spread__inner { grid-template-columns: 1fr; } }
.spread__side {
  position: sticky;
  top: 8rem;
  display: grid;
  gap: 1.25rem;
  align-self: start;
}
.spread__side h2 { margin: 0; }
.spread__side p { margin: 0; color: var(--text-secondary); }
.spread__side .text-label { color: var(--accent-2); }
.spread__cards {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
}
.spread__card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-secondary);
  display: grid;
}
.spread__card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.spread__card-img img { width: 100%; height: 110%; object-fit: cover; will-change: transform; }
.spread__card-meta {
  padding: 1.5rem 1.75rem 2rem;
  display: grid; gap: .5rem;
}
.spread__card-meta .num {
  font-family: var(--ff-editorial); font-style: italic;
  font-size: .85rem; color: var(--accent-2); letter-spacing: .15em; text-transform: uppercase;
}
.spread__card-meta h3 {
  margin: 0;
  font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2;
}
.spread__card-meta p { margin: 0; color: var(--text-secondary); font-size: .95rem; }
.spread__card-meta .caption { font-family: var(--ff-editorial); font-style: italic; color: var(--text-muted); font-size: .9rem; margin-top: .25rem; }

/* alternate offset for layout variety */
.spread__card:nth-child(even) { margin-left: clamp(0px, 4vw, 60px); }

/* ---------- Voice card stack ---------- */
.voice-stack {
  position: relative;
  width: min(640px, 92vw);
  height: 340px;
  margin: 0 auto;
  perspective: 1500px;
}
.voice-stack__card {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 3rem clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
  align-content: center;
  text-align: center;
  transition: transform .8s var(--ease-out-expo), opacity .6s ease;
  transform-origin: center;
  will-change: transform, opacity;
  box-shadow: var(--shadow-card);
}
.voice-stack__card .quote {
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  line-height: 1.4;
  color: var(--text-primary);
}
.voice-stack__card .quote::before {
  content: "“";
  display: block;
  font-family: var(--ff-display);
  font-size: 3em;
  line-height: 0.3;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: .4;
}
.voice-stack__card .who {
  font-family: var(--ff-body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.voice-stack__card .who span { color: var(--accent-2); }
.voice-stack__nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.voice-stack__nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--text-secondary);
  transition: all .4s var(--ease-out-expo);
}
.voice-stack__nav button:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.1); }
.voice-stack__count {
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  text-align: center;
  margin-top: 1rem;
  letter-spacing: -.01em;
  color: var(--text-muted);
  font-size: 1rem;
}
.voice-stack__count .current { color: var(--accent); font-size: 1.4em; }

/* ---------- Reveal: big text mask ---------- */
.huge-quote {
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--text-primary);
}
.huge-quote em {
  font-family: var(--ff-editorial);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}

/* ---------- Final CTA v2 ---------- */
.cta-v2 {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0;
  background: var(--bg-primary);
  overflow: hidden;
  text-align: center;
}
.cta-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201,168,117,.18), transparent 60%),
    radial-gradient(circle at 30% 80%, rgba(107,15,26,.08), transparent 50%);
  pointer-events: none;
}
.cta-v2__deva {
  font-family: var(--ff-deva);
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: .15em;
  display: block;
  margin-bottom: 1.25rem;
}
.cta-v2__btn-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Mega button — large CTA */
.btn-mega {
  padding: 1.25rem 2.75rem;
  font-size: 1rem;
  letter-spacing: .04em;
  border-radius: 999px;
}

/* ---------- Cursor v2 ---------- */
@media (hover: hover) and (pointer: fine) {
  body.cursor-active { cursor: none; }
  body.cursor-active a, body.cursor-active button, body.cursor-active [data-cursor] { cursor: none; }
  .cursor-v2 {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
  }
  .cursor-v2__dot {
    position: fixed;
    width: 8px; height: 8px;
    background: #FAF6F0;
    border-radius: 50%;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    will-change: transform;
    transition: width .3s, height .3s, background-color .3s;
  }
  .cursor-v2__ring {
    position: fixed;
    width: 44px; height: 44px;
    border: 1px solid #FAF6F0;
    border-radius: 50%;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    will-change: transform, width, height, border-color;
    transition: width .35s var(--ease-out-expo), height .35s var(--ease-out-expo), border-radius .35s var(--ease-out-expo), background-color .35s ease;
  }
  .cursor-v2__ring.is-hover {
    width: 64px; height: 64px;
  }
  .cursor-v2__ring.is-view {
    width: 96px; height: 96px;
    background: rgba(250,246,240,.15);
  }
  .cursor-v2__label {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    color: #FAF6F0;
    font-family: var(--ff-editorial);
    font-style: italic;
    font-size: .85rem;
    letter-spacing: .04em;
    opacity: 0;
    mix-blend-mode: difference;
    transition: opacity .3s ease;
  }
  .cursor-v2__label.is-visible { opacity: 1; }
  /* Hide the older cursor.dot/ring from animations.js */
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- Ornament strip / divider ---------- */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--accent-2);
}
.ornament-divider__line { flex: 0 0 80px; height: 1px; background: var(--accent-2); opacity: .5; }
.ornament-divider__star { font-size: 1rem; line-height: 1; }

/* ---------- Tile reveal mask (for spread images) ---------- */
.tile-reveal { position: relative; overflow: hidden; }
.tile-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 1.4s var(--ease-out-expo);
}
.tile-reveal.is-revealed::after { transform: scaleX(0); transform-origin: right center; }

/* ---------- Footer mark — kinetic on hover ---------- */
.footer-mark-v2 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(4rem, 14vw, 14rem);
  line-height: .85;
  letter-spacing: -.04em;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  cursor: default;
  display: inline-block;
  width: 100%;
}
.footer-mark-v2 .word { display: inline-block; }
.footer-mark-v2 .word + .word { margin-left: .25em; }
.footer-mark-v2 .ch {
  display: inline-block;
  transition: font-variation-settings .6s var(--ease-out-expo), color .6s var(--ease-out-expo), transform .6s var(--ease-out-expo);
  will-change: transform, color, font-variation-settings;
}
.footer-mark-v2 .ch:hover {
  font-variation-settings: "opsz" 144, "wght" 500;
  color: var(--accent);
  transform: translateY(-6px);
}
.footer-mark-v2 .accent { font-family: var(--ff-editorial); font-style: italic; color: var(--accent); }

/* ---------- Section transition: bg color slide ---------- */
[data-bg-shift] { transition: background-color 1.2s var(--ease-out-expo); }

/* ---------- Variable font weight on hover (interactive title) ---------- */
.var-title {
  font-variation-settings: "opsz" 144, "wght" 400;
  transition: font-variation-settings .6s var(--ease-out-expo);
}
.var-title:hover { font-variation-settings: "opsz" 144, "wght" 600; }

/* ---------- Image hover with crimson tint reveal ---------- */
.img-tint {
  position: relative;
  overflow: hidden;
}
.img-tint img {
  transition: transform 1.4s var(--ease-out-expo), filter .6s ease;
  filter: saturate(.95);
}
.img-tint:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
.img-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,15,26,.0), rgba(107,15,26,.15));
  opacity: 0;
  transition: opacity .6s ease;
}
.img-tint:hover::after { opacity: 1; }

/* ---------- Reduced motion overrides ---------- */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .marquee-strip__track { animation: none; }
  .scroll-cue, .hero-v2__petal, .hero-v2__ornament { opacity: 1 !important; transform: none !important; animation: none !important; }
  .wordmark-v2 .ch, .line-mask > span { opacity: 1 !important; transform: none !important; }
  .pinned-statement__text .word { opacity: 1 !important; color: var(--text-primary) !important; }
  .pinned-statement__sticky { position: static; height: auto; padding: 4rem 0; }
  .h-scroll__sticky { position: static; height: auto; }
  .h-scroll__track { flex-wrap: wrap; transform: none !important; }
  .spread__side { position: static; }
}
