/* ============================================================
   DISCONNECTED — Main Stylesheet
   Cream & Warm Orange (Claude-inspired)
   ============================================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  /* Dark tones — transition, footer, dramatic sections */
  --bg-void:        #0e0c0b;
  --bg-deep:        #161311;
  --bg-dark:        #1e1b18;
  --bg-mid:         #2a2520;

  /* Cream palette — primary website feel */
  --bg-warm:        #ede5d8;   /* warm beige — alternate sections */
  --bg-panel:       #e8e0d3;
  --bg-light:       #f0e9de;   /* mid cream */
  --bg-cream:       #f5f0e8;   /* primary cream — main bg */

  /* Primary accent: golden yellow */
  --amber:          #FFB703;
  --amber-bright:   #FFCA2C;
  --amber-dim:      #D49500;

  /* Secondary accents */
  --gold:           #b07840;
  --gold-dim:       #8a5e30;

  /* Supporting palette */
  --terracotta:     #b86848;
  --sienna:         #8a5038;
  --ember:          #d07850;
  --rust:           #c07060;

  /* Text — light (for dark sections only) */
  --text-primary:   #f0ece6;
  --text-secondary: #9b9289;
  --text-muted:     #6b6159;

  /* Text — dark (default, for cream bg) */
  --text-dark:      #1e1b18;
  --text-dark-sec:  #524a42;

  --font-display:   'Fraunces', Georgia, serif;
  --font-sans:      'DM Sans', system-ui, sans-serif;
  --font-mono:      'DM Mono', 'Courier New', monospace;

  --ease-out-expo:  cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out:    cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dark sections inherit warm white text by default */
.bg-void,
.bg-deep,
.bg-dark,
.cinematic {
  color: var(--text-primary);
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- TYPOGRAPHY SCALE ---------- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.subhead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.body-lg {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
}

.body {
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- COLOR UTILITIES ---------- */
.text-amber    { color: var(--amber); }
.text-gold     { color: var(--gold); }
.text-muted    { color: var(--text-secondary); }
.text-cream    { color: var(--text-primary); }
.text-dark     { color: var(--text-dark); }
.bg-void       { background-color: var(--bg-void); }
.bg-deep       { background-color: var(--bg-deep); }
.bg-cream      { background-color: var(--bg-cream); }
.bg-light      { background-color: var(--bg-light); }
.bg-warm       { background-color: var(--bg-warm); }

/* ---------- LAYOUT UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

.container--narrow {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

.section {
  padding-block: clamp(5rem, 10vw, 12rem);
}

.section--sm {
  padding-block: clamp(3rem, 6vw, 7rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav > nav[aria-label] {
  grid-column: 2;
}

.nav__mobile-toggle {
  grid-column: 3;
  justify-self: end;
}

.nav.scrolled {
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 1rem;
  border-bottom: 1px solid rgba(30, 27, 24, 0.08);
  box-shadow: 0 1px 0 rgba(30,27,24,0.05);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  position: relative;
  line-height: 1.1;
}

.nav__logo span {
  color: var(--amber);
}

.nav__logo .nav__logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.575rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1;
  margin-top: 0.2rem;
  color: inherit;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(240, 236, 230, 0.8);
  transition: color 0.25s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }

/* Scrolled nav: light cream bg — switch to dark text */
.nav.scrolled .nav__logo { color: var(--text-dark); }
.nav.scrolled .nav__link { color: var(--text-dark-sec); }
.nav.scrolled .nav__link:hover { color: var(--text-dark); }

/* Mobile toggle: default light (dark hero), dark when scrolled */
.nav__mobile-toggle span { background: var(--text-primary); }
.nav.scrolled .nav__mobile-toggle span { background: var(--text-dark); }

/* story.html has a cream background — keep nav dark */
.story-body .nav__logo { color: var(--text-dark); }
.story-body .nav__link { color: var(--text-dark-sec); }
.story-body .nav__link:hover { color: var(--text-dark); }
.story-body .nav__mobile-toggle span { background: var(--text-dark); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__cta:hover {
  background: var(--amber);
  color: #fff;
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--amber);
  color: #fff;
}

.btn--primary:hover {
  background: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 100, 66, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid rgba(30, 27, 24, 0.25);
}

.btn--outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-dark-sec);
  padding-inline: 0;
  gap: 0.75rem;
}

.btn--ghost:hover {
  color: var(--text-dark);
}

.btn--ghost .btn__arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn--ghost:hover .btn__arrow {
  transform: translateX(6px);
}

.btn--dark {
  background: var(--bg-void);
  color: var(--text-primary);
  border: 1px solid rgba(247, 239, 224, 0.15);
}

.btn--dark:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

/* ---------- HERO (full-screen) ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-void);
}

/*
  [IMAGE PLACEMENT]
  Replace this gradient with a full-screen film still.
  The image should be dark, moody — warm amber tones preferred.
  Apply object-fit: cover and the ::after overlay below.
*/
.hero__bg--placeholder {
  background:
    radial-gradient(ellipse 70% 55% at 22% 68%, rgba(201, 100, 66, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse 55% 70% at 78% 28%, rgba(201, 100, 66, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 48%, rgba(196, 147, 90, 0.06) 0%, transparent 55%),
    linear-gradient(168deg, #0D0B09 0%, #0E1412 40%, #0A0C0D 100%);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 6, 4, 0.92) 0%,
    rgba(8, 6, 4, 0.5) 40%,
    rgba(8, 6, 4, 0.2) 70%,
    rgba(8, 6, 4, 0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(3rem, 6vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  max-width: 1280px;
  margin-inline: auto;
  color: var(--text-primary);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.3s forwards;
}

.hero__eyebrow-line {
  width: 2.5rem;
  height: 1px;
  background: var(--amber);
}

.hero__title {
  margin-bottom: 1.75rem;
  color: var(--text-primary);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--amber);
}

.hero__subtitle {
  max-width: 600px;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero__actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.9s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  animation: scrollLine 2s ease-in-out infinite;
}

/* ---------- SECTION DIVIDERS ---------- */
.divider {
  width: 3rem;
  height: 1px;
  background: var(--amber);
  margin-bottom: 1.5rem;
}

.divider--center { margin-inline: auto; }

/* ---------- FILM STRIP ACCENT ---------- */
.film-strip {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.film-strip__frame {
  width: 8px;
  height: 6px;
  background: var(--amber);
  opacity: 0.6;
  border-radius: 1px;
}

.film-strip__frame:nth-child(even) { opacity: 0.3; }

/* ---------- CHAPTER INTRO (large-type pull quote) ---------- */
.chapter-intro {
  padding-block: clamp(5rem, 10vw, 12rem);
  text-align: center;
}

.chapter-intro__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 4.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 920px;
  margin-inline: auto;
}

.chapter-intro__quote em {
  color: var(--amber);
  font-style: italic;
}

/* ---------- STAT/FACT CARDS ---------- */
.stat-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(30, 27, 24, 0.1);
  border-radius: 4px;
  background: var(--bg-light);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(201, 100, 66, 0.3);
  background: rgba(201, 100, 66, 0.04);
  transform: translateY(-4px);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-card__label {
  color: var(--text-dark-sec);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ---------- THEME TAGS ---------- */
.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.theme-tag {
  padding: 0.5rem 1.125rem;
  border: 1px solid rgba(30, 27, 24, 0.18);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark-sec);
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.theme-tag:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(201, 100, 66, 0.06);
}

/* ---------- IMAGE FRAME ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
}

/*
  [IMAGE PLACEMENT]
  These frames are designated zones for uploaded film stills.
  Add overflow: hidden and use object-fit: cover on the img inside.
  The inner glow overlay should remain on top.
*/

.img-frame--cinema {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.img-frame--portrait {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
}

.img-frame--square {
  aspect-ratio: 1;
  border-radius: 4px;
}

.img-frame__placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at center, rgba(201, 100, 66, 0.10), transparent 70%),
    var(--bg-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.img-frame__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(8, 6, 4, 0.6) 100%
  );
  pointer-events: none;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.img-frame:hover img {
  transform: scale(1.04);
}

/* ---------- FULL-BLEED CINEMATIC SECTION ---------- */
.cinematic {
  position: relative;
  overflow: hidden;
}

.cinematic__bg {
  position: absolute;
  inset: 0;
}

.cinematic__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cinematic__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.72);
}

.cinematic__content {
  position: relative;
  z-index: 2;
}

/* ---------- PULL QUOTE BLOCK ---------- */
.pull-quote {
  position: relative;
  padding: 3rem 3.5rem;
  border-left: 3px solid var(--amber);
  margin-block: 3rem;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.25;
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  font-style: italic;
}

.pull-quote__attr {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* ---------- TIMELINE / JOURNEY STRIP ---------- */
.journey {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.journey__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding-bottom: 3rem;
  position: relative;
}

.journey__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.journey__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.journey__connector {
  width: 1px;
  flex: 1;
  background: rgba(201, 100, 66, 0.18);
  margin-top: 4px;
}

.journey__item:last-child .journey__connector {
  display: none;
}

/* ---------- TEAM CARD ---------- */
.team-card {
  position: relative;
  overflow: hidden;
}

.team-card__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.team-card:hover .team-card__img img {
  transform: scale(1.05);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-card__role {
  color: var(--amber);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-card__bio {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- SPEAKING FORMAT CARD ---------- */
.format-card {
  padding: 2.75rem 2.25rem;
  border: 1px solid rgba(30, 27, 24, 0.1);
  border-radius: 6px;
  background: var(--bg-light);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.format-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--amber), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.format-card:hover {
  border-color: rgba(201, 100, 66, 0.25);
  background: var(--bg-warm);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(30,27,24,0.1);
}

.format-card:hover::before {
  transform: scaleX(1);
}

.format-card__icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.format-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.format-card__duration {
  color: var(--amber);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.format-card__desc {
  color: var(--text-dark-sec);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Dark-background format cards (speaking page) */
.format-card--dark .format-card__title { color: var(--text-primary); }
.format-card--dark .format-card__desc  { color: var(--text-secondary); }
.format-card--dark .format-card__icon  { color: var(--text-primary); }

/* ---------- CHECKLIST ---------- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.checklist__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.checklist__check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checklist__check::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* ---------- CONTACT / BOOKING FORM ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--bg-light);
  border: 1px solid rgba(30, 27, 24, 0.15);
  border-radius: 4px;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(30, 27, 24, 0.35);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--amber);
  background: rgba(201, 100, 66, 0.04);
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A6E52' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form__select option {
  background: var(--bg-deep);
  color: var(--text-primary);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ---------- ACCORDION (FAQ) ---------- */
.accordion {
  border-top: 1px solid rgba(30, 27, 24, 0.1);
}

.accordion__item {
  border-bottom: 1px solid rgba(30, 27, 24, 0.1);
}

.accordion__trigger {
  width: 100%;
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  color: var(--text-dark);
  font-size: 1.0625rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.accordion__trigger:hover { color: var(--amber); }

/* FAQ on dark background — make questions readable */
.bg-deep .accordion__trigger { color: rgba(240, 236, 230, 0.75); }
.bg-deep .accordion__trigger:hover { color: var(--amber); }
.bg-deep .accordion__icon { border-color: rgba(240, 236, 230, 0.25); color: rgba(240, 236, 230, 0.75); }
.bg-deep .accordion__item { border-bottom-color: rgba(240, 236, 230, 0.1); }

.accordion__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid rgba(30, 27, 24, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-in-out);
}

.accordion__body.open {
  max-height: 500px;
}

.accordion__text {
  padding-bottom: 1.75rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial {
  padding: 2.5rem;
  border-radius: 6px;
  background: var(--bg-light);
  border: 1px solid rgba(30, 27, 24, 0.08);
  position: relative;
  color: var(--text-dark);
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.3;
}

.testimonial__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
}

.testimonial__author {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
}

.testimonial__org {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---------- FOOTER ---------- */
.footer {
  padding-block: clamp(4rem, 7vw, 7rem) 2.5rem;
  background: var(--bg-void);
  border-top: 1px solid rgba(247, 239, 224, 0.08);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.footer__brand-name span { color: var(--amber); }

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 2rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247, 239, 224, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.footer__social-link:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color 0.25s ease;
}

.footer__link:hover { color: var(--text-primary); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 239, 224, 0.06);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* ---------- LIGHT SECTIONS (for contrast) ---------- */
.section--light {
  /* background set by bg-* utility class */
  color: var(--text-dark);
}

.section--light .subhead,
.section--light .body-lg,
.section--light .body {
  color: var(--text-dark-sec);
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--light .display-xl,
.section--light .display-lg,
.section--light .display-md,
.section--light .headline {
  color: var(--text-dark);
}

.section--light .text-muted     { color: #7A6E62; }
.section--light .label          { color: var(--amber-dim); }
.section--light .chapter-intro__quote { color: var(--text-dark); }

.section--warm {
  background: var(--bg-warm);
}

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--left.revealed {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--right.revealed {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.revealed {
  transform: scale(1);
}

/* Stagger delays for children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ---------- PARALLAX HINT ---------- */
.parallax-img {
  will-change: transform;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding-top: calc(80px + clamp(4rem, 8vw, 9rem));
  padding-bottom: clamp(4rem, 8vw, 9rem);
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  margin-inline: auto;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse 80% 80% at 80% 30%, rgba(201, 100, 66, 0.08), transparent 70%);
  pointer-events: none;
}

.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

/* ---------- HORIZONTAL RULE ---------- */
hr.amber {
  border: none;
  height: 1px;
  background: linear-gradient(to right, var(--amber), transparent);
  margin-block: 4rem;
  opacity: 0.3;
}

/* ---------- BADGE ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(201, 100, 66, 0.10);
  border: 1px solid rgba(201, 100, 66, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.badge__dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- NUMBER LIST ---------- */
.num-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  counter-reset: num;
}

.num-list__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  counter-increment: num;
}

.num-list__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.4;
  line-height: 1.1;
}

.num-list__text {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: 0.4rem;
}

.num-list__text strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.375rem;
}

/* ---------- KEYFRAMES ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-void);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.mobile-nav__link:hover { color: var(--amber); }

/* ---------- WORD SWAP ANIMATION ---------- */
/*
  Hero headline cycling effect.
  Sad words appear muted, hopeful words appear coral,
  "powerful." glows and holds permanently.
*/
.word-swap {
  display: inline-block;
  font-style: italic;
  color: var(--text-secondary); /* starts as sad/muted */
  will-change: transform, opacity, filter;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.word-swap--final {
  color: var(--amber) !important;
  text-shadow: 0 0 70px rgba(201, 100, 66, 0.35),
               0 0 30px rgba(201, 100, 66, 0.2);
}

/* Blinking text cursor */
.typing-cursor {
  display: inline-block;
  width: 4px;
  height: 0.82em;
  background: var(--text-secondary);
  margin-left: 6px;
  vertical-align: -0.08em;
  border-radius: 2px;
  animation: cursorBlink 0.65s step-end infinite;
  transition: background 0.15s ease;
}

/* Cursor turns solid (no blink) while a word is transitioning */
.typing-cursor.typing {
  animation: none;
  opacity: 1;
}

/* Cursor turns coral when a positive/final word lands */
.typing-cursor.positive {
  background: var(--amber);
}

/* Hero tagline " for a change." — fades in after "ready." */
.hero-tagline {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-tagline--visible {
  display: inline;
  opacity: 1;
}

/* Cursor glows on "ready." */
.typing-cursor.final {
  background: var(--amber);
  box-shadow: 0 0 12px rgba(201, 100, 66, 0.6);
  animation: cursorBlink 0.65s step-end infinite;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__mobile-toggle { display: flex; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: fit-content; }

  .chapter-intro__quote { text-align: left; }
}

@media (max-width: 480px) {
  .pull-quote { padding: 2rem 1.5rem; }
  .testimonial { padding: 1.75rem; }

  /* Prevent hero text from overflowing on small iOS screens */
  .display-xl { font-size: clamp(2.25rem, 10vw, 3rem); }
  .word-swap  { white-space: normal; }
}

/* ---------- SMOOTH PAGE TRANSITIONS ---------- */
.page-transition {
  animation: fadeIn 0.6s ease forwards;
}

/* ---------- LOADING STATE ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-void);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.site-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.site-loader__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  overflow: hidden;
}

.site-loader__logo span {
  display: inline-block;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s both;
}

/* ---------- GRAIN TEXTURE OVERLAY ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--amber), var(--gold));
  z-index: 10000;
  width: 0%;
  pointer-events: none;
  transform-origin: left;
  transition: width 0.08s linear;
}

/* ---------- HERO FLOATING ORBS ---------- */
.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  animation: orbFloat var(--orb-dur, 14s) ease-in-out infinite;
  animation-delay: var(--orb-delay, 0s);
  will-change: transform;
}

.hero__orb--1 {
  width: clamp(280px, 35vw, 500px);
  height: clamp(280px, 35vw, 500px);
  top: 5%;
  right: 8%;
  background: radial-gradient(circle, rgba(201, 100, 66, 0.1) 0%, transparent 70%);
  --orb-dur: 15s;
  --orb-delay: 0s;
}

.hero__orb--2 {
  width: clamp(200px, 24vw, 360px);
  height: clamp(200px, 24vw, 360px);
  bottom: 12%;
  left: 2%;
  background: radial-gradient(circle, rgba(176, 120, 64, 0.08) 0%, transparent 70%);
  --orb-dur: 12s;
  --orb-delay: -4s;
}

.hero__orb--3 {
  width: clamp(140px, 16vw, 220px);
  height: clamp(140px, 16vw, 220px);
  top: 30%;
  right: 38%;
  background: radial-gradient(circle, rgba(224, 122, 85, 0.07) 0%, transparent 70%);
  --orb-dur: 18s;
  --orb-delay: -9s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(22px, -28px) scale(1.04); }
  50%       { transform: translate(-16px, -20px) scale(0.97); }
  75%       { transform: translate(10px, 16px) scale(1.02); }
}

/* ---------- LIGHT SECTION COMPONENT OVERRIDES ---------- */

/* Stat cards on light */
.section--light .stat-card {
  background: #fff;
  border-color: rgba(201, 100, 66, 0.12);
  box-shadow: 0 4px 20px rgba(26, 21, 18, 0.06);
}

.section--light .stat-card:hover {
  border-color: rgba(201, 100, 66, 0.35);
  background: #fff;
  box-shadow: 0 16px 44px rgba(26, 21, 18, 0.10);
  transform: translateY(-4px);
}

.section--light .stat-card__label {
  color: var(--text-dark-sec);
}

/* Testimonials on light */
.section--light .testimonial {
  background: #fff;
  border-color: rgba(26, 21, 18, 0.06);
  box-shadow: 0 4px 20px rgba(26, 21, 18, 0.06);
}

.section--light .testimonial::before { opacity: 0.18; }

.section--light .testimonial__text {
  color: var(--text-dark);
}

.section--light .testimonial__org {
  color: #7A7060;
}

/* Format cards on light */
.section--light .format-card {
  background: #fff;
  border-color: rgba(26, 21, 18, 0.07);
  box-shadow: 0 4px 16px rgba(26, 21, 18, 0.05);
}

.section--light .format-card:hover {
  border-color: rgba(201, 100, 66, 0.20);
  background: #fff;
  box-shadow: 0 20px 52px rgba(26, 21, 18, 0.10);
  transform: translateY(-6px);
}

.section--light .format-card__desc {
  color: var(--text-dark-sec);
}

/* Theme tags on light */
.section--light .theme-tag {
  color: var(--text-dark-sec);
  border-color: rgba(201, 100, 66, 0.20);
}

.section--light .theme-tag:hover {
  color: var(--amber);
  background: rgba(201, 100, 66, 0.06);
  border-color: var(--amber);
}

/* Checklist on light */
.section--light .checklist__item { color: var(--text-dark-sec); }

/* Pull quote on light */
.section--light .pull-quote__text  { color: var(--text-dark); }
.section--light .pull-quote__attr  { color: var(--text-dark-sec); }

/* Outline button on light */
.section--light .btn--outline {
  color: var(--text-dark);
  border-color: rgba(26, 21, 18, 0.25);
}

.section--light .btn--outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* Accordion on light */
.section--light .accordion            { border-top-color: rgba(26, 21, 18, 0.1); }
.section--light .accordion__item      { border-bottom-color: rgba(26, 21, 18, 0.1); }
.section--light .accordion__trigger   { color: var(--text-dark); }
.section--light .accordion__text      { color: var(--text-dark-sec); }

/* ---- HERO CONTENT Z-INDEX FIX (orbs sit behind content) ---- */
.hero__content { z-index: 3; }
.hero__scroll-hint { z-index: 3; }
.hero__overlay { z-index: 2; }

/* ---------- MARQUEE TICKER ---------- */
.marquee {
  overflow: hidden;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(30, 27, 24, 0.08);
  border-bottom: 1px solid rgba(30, 27, 24, 0.08);
  background: var(--bg-cream);
}

.marquee__track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.12;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease;
}

.marquee:hover .marquee__item {
  opacity: 0.22;
}

.marquee__sep {
  color: var(--amber);
  opacity: 0.25;
  font-size: 0.5rem;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- WORD-BY-WORD REVEAL ---------- */
.w {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}

.w.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- BUTTON CLICK RIPPLE ---------- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out forwards;
  pointer-events: none;
}

.section--light .btn--primary .btn__ripple {
  background: rgba(255, 255, 255, 0.35);
}

@keyframes rippleExpand {
  to { transform: scale(4); opacity: 0; }
}

/* ---------- CARD 3D TILT GLOW ---------- */
.stat-card,
.format-card,
.testimonial {
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
}

/* ---------- FLOATING DECORATIVE SHAPES ---------- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.deco--circle {
  border-radius: 50%;
  border: 1px solid rgba(201, 100, 66, 0.12);
}

.deco--dot {
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.10;
}

.deco--line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 100, 66, 0.12), transparent);
}

/* ---------- ENHANCED NAV LINK HOVER ---------- */
.nav__link {
  transition: color 0.25s ease, letter-spacing 0.3s ease;
}

.nav__link:hover {
  letter-spacing: 0.08em;
}

/* ============================================================
   INSTAGRAM FEED PAGE — feed.html (slingshot chapter snap)
   ============================================================ */

/* ── Body lock: no native scroll on feed page ── */
.ff-body {
  overflow: hidden;
  height: 100vh;
}

/* ── Viewport: the visible window ── */
.ff-viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

/* ── Track: holds all chapters, moves via translateY ── */
.ff-track {
  height: 100%;
  will-change: transform;
}

/* ── Chapter: each is one full viewport ── */
.ff-chapter {
  height: 100vh;
  width: 100%;
  position: relative;
}

/* ── Inner scroller: the scrollable feed within a chapter ── */
.ff-chapter__inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 37, 32, 0.15) transparent;
  background: var(--bg-cream);
  padding: 0 clamp(1rem, 3vw, 3rem);
}

.ff-chapter__inner::-webkit-scrollbar {
  width: 4px;
}
.ff-chapter__inner::-webkit-scrollbar-thumb {
  background: rgba(42, 37, 32, 0.15);
  border-radius: 4px;
}

/* ── Chapter label (01, 02...) ── */
.ff-chapter__label {
  text-align: center;
  padding: calc(80px + 2rem) 1rem 2rem;
}

.ff-chapter__num {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.375rem;
}

.ff-chapter__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

/* ── Track animation driven entirely by JS spring physics ── */

/* ── Progress dots ── */
.ff-dots {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
}

.ff-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dark-sec);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.ff-dot--active {
  background: var(--amber);
  border-color: var(--amber);
  transform: scale(1.3);
}

.ff-dot:hover:not(.ff-dot--active) {
  border-color: var(--amber);
  background: rgba(201, 100, 66, 0.12);
}

/* ── Footer visibility ── */
.ff-footer-hidden {
  display: none;
}

/* ── Hero (chapter 0) ── */
.ff-hero {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.ff-hero__hint {
  margin-top: 3rem;
  color: var(--amber);
  animation: ffBounce 2s ease-in-out infinite;
}

@keyframes ffBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Three-column layout (inside each chapter) ── */
.ff-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  max-width: 1100px;
  margin-inline: auto;
  align-items: start;
  padding-bottom: 4rem;
}

.ff-col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  will-change: transform;
}

@media (max-width: 900px) {
  .ff-columns { grid-template-columns: repeat(2, 1fr); }
  .ff-col:nth-child(3) { display: none; }
}

@media (max-width: 580px) {
  .ff-columns { grid-template-columns: 1fr; max-width: 420px; }
  .ff-col:nth-child(3) { display: flex; }
  .ff-dots { right: 0.75rem; }
}

/* ── Post card ── */
.ff-post {
  background: #fff;
  border: 1px solid rgba(42, 37, 32, 0.07);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo), box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

/* Dark overlay — slides in on hover */
.ff-post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0);
  transition: background 0.35s ease;
  pointer-events: none;
  z-index: 3;
}

.ff-post.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (pointer: fine) {
  .ff-post:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }
  .ff-post:hover::after {
    background: rgba(10, 9, 8, 0.86);
  }
}

.ff-post__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
}

.ff-post__av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ff-post__user {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  line-height: 1.2;
}

.ff-post__loc {
  display: block;
  font-size: 0.5625rem;
  color: #8A7E74;
  margin-top: 1px;
}

.ff-post__img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-post__hint {
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 0.75rem;
}

/* Fact text — hidden until hover, overlays the card */
.ff-post__fact {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 0 1.25rem;
  text-align: center;
  font-size: clamp(0.725rem, 1.1vw, 0.8125rem);
  line-height: 1.65;
  color: var(--text-primary);
  opacity: 0;
  transition: opacity 0.25s ease 0.1s;
  z-index: 4;
}

.ff-post__fact strong {
  color: var(--amber);
  font-weight: 700;
}

@media (pointer: fine) {
  .ff-post:hover .ff-post__fact {
    opacity: 1;
  }
}

/* Source — pinned to bottom of card on hover */
.ff-post__src {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.5rem;
  color: rgba(240, 236, 230, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.25s ease 0.1s;
  z-index: 4;
}

@media (pointer: fine) {
  .ff-post:hover .ff-post__src {
    opacity: 1;
  }
}

/* ── Inline stat callout (lives inside columns) ── */
/* ── Stat callout — enhanced with ring, glow, punch ── */
.ff-stat {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
  opacity: 0;
  transform: translateY(30px) scale(0.92);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out-expo);
  position: relative;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(42, 37, 32, 0.06);
  overflow: hidden;
}

/* Ambient glow behind the stat */
.ff-stat::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: var(--stat-glow, rgba(201, 100, 66, 0.10));
  filter: blur(40px);
  transition: transform 1.2s var(--ease-out-expo);
  z-index: 0;
  pointer-events: none;
}

.ff-stat.visible::before {
  transform: translate(-50%, -50%) scale(1);
}

.ff-stat.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Subtle pulse on hover */
@media (pointer: fine) {
  .ff-stat:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
  .ff-stat { transition: opacity 0.9s ease, transform 0.3s ease; }
}

/* SVG progress ring */
.ff-stat__ring {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.ff-stat__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ff-stat__ring-bg {
  fill: none;
  stroke: rgba(42, 37, 32, 0.06);
  stroke-width: 6;
}

.ff-stat__ring-fill {
  fill: none;
  stroke: var(--amber);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 1.4s var(--ease-out-expo), stroke 0.3s ease;
}

.ff-stat__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.ff-stat__unit {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 500;
  color: var(--amber);
  margin-left: 0.15em;
  position: relative;
  z-index: 1;
}

.ff-stat__label {
  font-family: var(--font-sans);
  font-size: clamp(0.6875rem, 1.1vw, 0.875rem);
  color: var(--text-dark-sec);
  margin-top: 0.5rem;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

/* Punch line — the emotional gut-punch */
.ff-stat__punch {
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 1.3vw, 1rem);
  font-weight: 600;
  font-style: italic;
  color: var(--amber);
  margin-top: 0.875rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
  position: relative;
  z-index: 1;
}

.ff-stat.visible .ff-stat__punch {
  opacity: 1;
  transform: translateY(0);
}

/* ── Finale (inside last chapter) ── */
.ff-finale {
  background: var(--bg-void);
  padding: clamp(6rem, 14vw, 10rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
  margin: 3rem 0 0;
  margin-left: calc(-1 * clamp(1rem, 3vw, 3rem));
  margin-right: calc(-1 * clamp(1rem, 3vw, 3rem));
  border-radius: 24px 24px 0 0;
}

.ff-finale h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.ff-finale__meta {
  font-size: 0.8125rem;
  color: var(--amber);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.ff-finale__meta span {
  font-weight: 700;
  color: var(--amber-bright);
  font-size: 1.125rem;
}

.ff-finale__sub {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.ff-finale__actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Legacy post classes (kept for other pages) ── */
.post__actions svg.liked {
  stroke: #E74C3C;
  fill: #E74C3C;
}

@keyframes heartPop {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.3); }
  50%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}


/* ============================================================
   CHAT PAGE — chat.html (AI companion conversation)
   ============================================================ */

/* ── Hero ── */
.ch-hero {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.ch-hero__hint {
  margin-top: 3rem;
  color: var(--amber);
  animation: ffBounce 2s ease-in-out infinite;
}

/* ── Phone frame ── */
.ch-phone {
  max-width: 520px;
  margin: 0 auto;
  padding: calc(80px + 1.5rem) 0 2rem;
}

.ch-phone__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(42, 37, 32, 0.06);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 10;
}

.ch-phone__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.ch-phone__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.ch-phone__status {
  display: block;
  font-size: 0.625rem;
  color: #8A7E74;
  margin-top: 1px;
}

/* ── Chat thread ── */
.ch-thread {
  background: rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(42, 37, 32, 0.06);
  border-right: 1px solid rgba(42, 37, 32, 0.06);
  padding: 1rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ── Chat message bubbles ── */
.ch-msg {
  max-width: 82%;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  font-size: 0.8125rem;
  line-height: 1.55;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out-expo);
}

.ch-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.ch-msg::after {
  content: attr(data-time);
  display: block;
  font-size: 0.5rem;
  margin-top: 0.375rem;
  opacity: 0.45;
}

/* User bubble (right side) */
.ch-msg--user {
  align-self: flex-end;
  background: var(--amber);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ch-msg--user::after {
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Typing indicator ("..." bubble) ── */
.ch-typing {
  align-self: flex-start;
  background: #fff;
  border: 1px solid rgba(42, 37, 32, 0.06);
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  padding: 0.75rem 1.1rem;
  display: flex;
  gap: 0.3rem;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ch-typing.visible {
  opacity: 1;
  transform: translateY(0);
}

.ch-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dark-sec);
  opacity: 0.4;
  animation: chTypingDot 1.2s ease-in-out infinite;
}

.ch-typing span:nth-child(2) { animation-delay: 0.15s; }
.ch-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chTypingDot {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 0.8; transform: translateY(-3px); }
}

/* Bot bubble (left side) */
.ch-msg--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--text-dark);
  border: 1px solid rgba(42, 37, 32, 0.06);
  border-bottom-left-radius: 4px;
}

.ch-msg--bot::after {
  color: var(--text-dark-sec);
}

/* ── Chat stat callout ── */
.ch-stat {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 1rem;
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out-expo);
  position: relative;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(42, 37, 32, 0.06);
  overflow: hidden;
}

.ch-stat::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: var(--stat-glow, rgba(201, 100, 66, 0.10));
  filter: blur(40px);
  transition: transform 1.2s var(--ease-out-expo);
  z-index: 0;
  pointer-events: none;
}

.ch-stat.visible::before {
  transform: translate(-50%, -50%) scale(1);
}

.ch-stat.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ch-stat__ring {
  width: 80px;
  height: 80px;
  margin: 0 auto 0.75rem;
  position: relative;
  z-index: 1;
}

.ch-stat__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ch-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.ch-stat__unit {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.3vw, 1.125rem);
  font-weight: 500;
  color: var(--amber);
  margin-left: 0.1em;
  position: relative;
  z-index: 1;
}

.ch-stat__label {
  font-family: var(--font-sans);
  font-size: clamp(0.6875rem, 1vw, 0.8125rem);
  color: var(--text-dark-sec);
  margin-top: 0.5rem;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.ch-stat__punch {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.2vw, 0.9375rem);
  font-weight: 600;
  font-style: italic;
  color: var(--amber);
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
  position: relative;
  z-index: 1;
}

.ch-stat.visible .ch-stat__punch {
  opacity: 1;
  transform: translateY(0);
}

@media (pointer: fine) {
  .ch-stat:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  }
}

/* ── Chat finale ── */
.ch-finale {
  background: var(--bg-void);
  padding: clamp(5rem, 12vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  margin: 2rem calc(-1 * clamp(1rem, 3vw, 3rem)) 0;
  border-radius: 24px 24px 0 0;
}

.ch-finale h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-inline: auto;
}

.ch-finale__sub {
  color: var(--text-secondary);
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.ch-finale__actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   STORY PAGE — story.html (unified narrative)
   ═══════════════════════════════════════════════════════════════ */

.story-body {
  background: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── Hero ── */
.st-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.st-hero__hint {
  margin-top: 3rem;
  animation: stBounce 2s ease-in-out infinite;
  color: var(--text-muted);
}

@keyframes stBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Act Labels ── */
.st-act-label {
  text-align: center;
  padding: 6rem 2rem 3rem;
}

.st-act-label .label {
  color: var(--amber);
  margin-bottom: 0.75rem;
  display: block;
}

.st-act-label h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
}

/* ── Feed Sections (parallax columns) ── */
.st-feed-section {
  padding: 2rem clamp(1rem, 4vw, 4rem) 4rem;
  max-width: 1200px;
  margin-inline: auto;
  overflow: hidden;
}

.st-parallax-wrap {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.st-parallax-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  will-change: transform;
}

.st-parallax-col .ff-post,
.st-parallax-col .ff-stat {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.st-parallax-col .ff-post.visible,
.st-parallax-col .ff-stat.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .st-parallax-wrap {
    flex-direction: column;
  }
  .st-parallax-col {
    will-change: auto;
  }
}

/* ── Transition Section ── */
.st-transition {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg-cream) 0%, #1C1917 8%, #1C1917 92%, var(--bg-cream) 100%);
}

.st-transition__inner {
  text-align: center;
  max-width: 680px;
}

.st-transition__pre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}

.st-transition__headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 2rem;
}

.st-transition__sub {
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ── Chat Sections (normal scroll, not viewport-locked) ── */
.st-chat-section {
  padding: 4rem clamp(1rem, 4vw, 4rem);
  display: flex;
  justify-content: center;
}

.st-phone {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* ── Fade-Up Reveal (transition + finale elements) ── */
.st-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.st-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.st-fade-up:nth-child(2) { transition-delay: 0.15s; }
.st-fade-up:nth-child(3) { transition-delay: 0.3s; }
.st-fade-up:nth-child(4) { transition-delay: 0.45s; }

/* ── Finale ── */
.st-finale {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-light) 30%, var(--bg-light) 70%, var(--bg-cream) 100%);
}

.st-finale__inner {
  max-width: 700px;
  margin-inline: auto;
}

.st-finale__kicker {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  color: var(--text-dark-sec);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.st-finale__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0 0 2rem;
}

.st-finale__sub {
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  color: var(--text-dark-sec);
  line-height: 1.8;
  margin-bottom: 4rem;
}

.st-finale__evidence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.st-finale__coda {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--text-dark);
  line-height: 1.8;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.st-finale__actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sketch / pencil SVG animations ── */
.sketch-word {
  position: relative;
  display: inline-block;
}

.sketch-svg {
  display: block;
  overflow: visible;
  pointer-events: none;
}

.sketch-hero-underline {
  width: clamp(200px, 60%, 340px);
  margin: 0.25rem auto 0;
}

.sketch-finale-underline {
  width: clamp(200px, 70%, 380px);
  margin: 0.5rem auto 1rem;
}

.sketch-section-underline {
  width: clamp(160px, 50%, 300px);
  margin: 0.5rem auto 0;
  display: block;
}

.sketch-heading-underline {
  width: clamp(120px, 38%, 220px);
  margin: 0.5rem auto 0;
  display: block;
}

.sketch-path {
  fill: none;
  stroke: var(--amber);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

.sketch-path.drawn {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- VIDEO PREVIEW ---------- */
.video-preview {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  position: relative;
}

/* Ambient glow beneath the frame */
.video-preview::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(255, 183, 3, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.video-preview__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(255, 183, 3, 0.22),
    0 60px 120px rgba(0, 0, 0, 0.85),
    0 0 100px rgba(255, 183, 3, 0.1);
}

.video-preview__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Badge — top-left corner */
.video-preview__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: rgba(8, 6, 4, 0.72);
  border: 1px solid rgba(255, 183, 3, 0.38);
  color: var(--amber);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  letter-spacing: 0.12em;
}

/* Progress bar — bottom of frame */
.video-preview__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 15;
  pointer-events: none;
}

.video-preview__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--amber);
  transition: width 0.25s linear;
  box-shadow: 0 0 8px rgba(255, 183, 3, 0.7);
}

/* Overlay — appears when preview ends */
.video-preview__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 6, 4, 0.9);
  backdrop-filter: blur(16px) saturate(0.4);
  -webkit-backdrop-filter: blur(16px) saturate(0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease-out-expo);
  z-index: 20;
}

.video-preview__overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.video-preview__overlay-inner {
  text-align: center;
  padding: 2rem;
  animation: none;
}

.video-preview__overlay.active .video-preview__overlay-inner {
  animation: overlayContentIn 0.6s 0.2s var(--ease-out-expo) both;
}

@keyframes overlayContentIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.video-preview__cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.video-preview__cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Caption below the frame */
.video-preview__caption {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ---------- PROMO PLAYER (film.html) ---------- */
.promo-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.promo-player__video,
.promo-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Sound toggle — bottom-right corner */
.promo-player__sound {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10,8,6,0.55);
  border: 1px solid rgba(255,183,3,0.3);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring);
  z-index: 2;
}

.promo-player__sound:hover {
  background: rgba(255,183,3,0.15);
  border-color: rgba(255,183,3,0.7);
  transform: scale(1.1);
}

.sound-icon {
  width: 16px;
  height: 16px;
}

.sound-icon--on  { display: none; }
.sound-icon--off { display: block; }

.promo-player__sound.is-unmuted .sound-icon--on  { display: block; }
.promo-player__sound.is-unmuted .sound-icon--off { display: none; }

