/* ============================================================
   LIMINAL MEANS — Shared Stylesheet
   Multi-page site: Home, Programs, Essays, About, Watch
   ============================================================ */

/* FONTS */
@font-face { font-family: 'Kalice'; src: url('Kalice-Trial-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Swear Display'; src: url('Swear-Display-Medium-Cilati.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gradient'; src: url('Gradient_Trial-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Acid Grotesk'; src: url('AcidGrotesk-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }

/* TOKENS */
:root {
  --dark: #3d3e36;
  --black: #0d0d0b;
  --cream: #ede2d8;
  --cream-lt: #f5efe9;
  --sage: #8a9178;
  --brown: #c4a088;
  --gold: #c8924a;
  --comp-teal: #6BACA5;       /* complement of brown */
  --comp-blue: #4A8EC8;       /* complement of gold */
  --comp-violet: #918BA5;     /* complement of sage */
  --comp-periwinkle: #7B8CDE; /* complement of cream */
  --comp-ice: #A8BCC8;        /* complement of dark */

  --h1: 'Kalice', Georgia, serif;
  --h2: 'Swear Display', Georgia, serif;
  --sub: 'Gradient', 'Trebuchet MS', sans-serif;
  --body: 'Acid Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --text-hero: clamp(2.25rem, 1.647rem + 2.57vw, 3.938rem);
  --text-h1: clamp(1.875rem, 1.357rem + 2.21vw, 3rem);
  --text-h2: clamp(1.5rem, 1.155rem + 1.47vw, 2.25rem);
  --text-h4: clamp(1.125rem, 0.952rem + 0.74vw, 1.5rem);
  --text-lg: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);
  --text-base: clamp(0.938rem, 0.909rem + 0.12vw, 1rem);
  --text-label: clamp(0.688rem, 0.645rem + 0.18vw, 0.813rem);

  --space-section: clamp(4.5rem, 2.429rem + 8.83vw, 9rem);
  --space-container: clamp(1.125rem, 0.262rem + 3.68vw, 3rem);
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
*::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; -ms-overflow-style: none; }
html, body { scroll-behavior: smooth; overflow-x: hidden; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body {
  font-family: var(--body); font-weight: 500;
  color: var(--dark); background: var(--black);
  line-height: 1.75; font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
section, main, footer { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, blockquote, figcaption { text-wrap: pretty; }

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

/* ACCESSIBILITY */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--dark); color: var(--cream);
  padding: 0.75rem 1.5rem; font-family: var(--body);
  font-size: 0.875rem; z-index: 1001;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

/* ============================================================
   NAV — full-width bar > glass pill morph
   ============================================================ */
.nav {
  position: fixed; z-index: 1000;
  top: 0; left: 0; right: 0;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.75rem var(--space-container);
  padding-left: calc(var(--space-container) + 3px);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: end;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid rgba(237, 226, 216, 0.12);
  border-radius: 0;
  transition: max-width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-radius 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.3s,
              border-color 0.3s,
              box-shadow 0.3s,
              opacity 0.9s,
              transform 0.3s ease;
}

/* Nav visible by default on inner pages, hidden on home until scroll */
.nav--hidden {
  opacity: 0;
  pointer-events: none;
}
.nav--visible {
  opacity: 1;
  pointer-events: auto;
}

.nav__left {
  display: flex; align-items: center; gap: clamp(0.75rem, 0.5rem + 1.07vw, 1.5rem);
  justify-self: end; padding-right: clamp(1rem, 0.5rem + 2.14vw, 2.5rem);
  white-space: nowrap; flex-wrap: nowrap;
  margin-bottom: 0.15rem;
}
.nav__right {
  display: flex; align-items: center; gap: clamp(0.75rem, 0.5rem + 1.07vw, 1.5rem);
  justify-self: start; padding-left: calc(clamp(1rem, 0.5rem + 2.14vw, 2.5rem) + 1.1rem + 6px);
  white-space: nowrap; flex-wrap: nowrap;
  margin-bottom: 0.15rem;
}
.nav__link {
  font-family: var(--sub); font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); opacity: 0.85;
  padding: 0.3rem 0.2rem;
  border-radius: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: opacity 0.3s, transform 0.3s ease;
}
/* Slide-in underline */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--cream);
  transition: width 0.3s ease;
}
/* Slide-in arrow */
.nav__link::before {
  content: '\2192';
  position: absolute;
  right: -1em;
  opacity: 0;
  transform: translateX(-6px);
  font-size: 1em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (hover: hover) {
  .nav__link:hover {
    opacity: 1;
    transform: scale(1.06);
  }
  .nav__link:hover::after {
    width: 100%;
  }
  .nav__link:hover::before {
    opacity: 0.8;
    transform: translateX(0);
  }
}
.nav__link--active {
  opacity: 1;
}
.nav__link--active::after {
  width: 100%;
}
.nav__logo {
  width: clamp(180px, 12rem + 5vw, 280px); opacity: 0.9; justify-self: center;
  align-self: center;
  margin-left: calc(1.1rem + 6px);
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.4));
  transition: filter 0.3s, opacity 0.3s;
}

/* Nav solid dark background on scroll */
.nav--solid {
  background: rgba(13, 13, 11, 0.95);
  border-bottom-color: rgba(237, 226, 216, 0.12);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Nav hides on scroll down, slides back on scroll up */
.nav--tucked {
  transform: translateY(-100%);
  pointer-events: none;
}

/* Nav pill hidden until reveal */
.nav--scrolled.nav--pill-hidden {
  opacity: 0;
  pointer-events: none;
}
.nav--scrolled.nav--pill-reveal {
  opacity: 1;
  pointer-events: auto;
  transition: all 0.3s ease, opacity 0.9s ease;
}

/* Nav scrolled: glass pill */
.nav--scrolled {
  max-width: 580px;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  top: 0.75rem;
  background: rgba(30, 45, 75, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  grid-template-columns: 1fr auto 1fr;
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav--scrolled::-webkit-scrollbar { display: none; }
.nav--scrolled .nav__logo { margin-left: -0.5rem; }
/* Nav on light/cream sections — blue pill */
.nav--scrolled.nav--on-light {
  background: rgba(25, 40, 70, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}
.nav--scrolled.nav--on-light .nav__logo { filter: brightness(10); opacity: 0.9; }
.nav--scrolled.nav--on-light .nav__pill-icon span { background: var(--cream); opacity: 0.8; }
.nav--scrolled.nav--on-light .nav__pill-dropdown {
  background: rgba(20, 35, 65, 0.94);
  border-color: rgba(255, 255, 255, 0.14);
}
.nav--scrolled.nav--on-light .nav__pill-dropdown a { color: var(--cream); }
.nav--scrolled.nav--on-light .nav__pill-dropdown a:hover { background: rgba(255, 255, 255, 0.15); }
.nav--scrolled.nav--on-light .nav__mobile-dropdown {
  background: rgba(35, 52, 85, 0.95);
}
.nav--scrolled.nav--on-light .nav__mobile-link { color: var(--cream); }
.nav--scrolled.nav--on-light .nav__mobile-link:hover { opacity: 1; }
.nav--scrolled.nav--on-light .nav__mobile-link--cta { color: var(--gold); }

/* Nav on dark sections */
.nav--scrolled.nav--on-dark {
  background: rgba(30, 45, 75, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}
.nav--scrolled.nav--on-dark .nav__logo { filter: brightness(10); opacity: 0.9; }
.nav--scrolled.nav--on-dark .nav__pill-icon span { background: var(--cream); opacity: 0.7; }
.nav--scrolled.nav--on-dark .nav__pill-dropdown {
  background: rgba(25, 40, 70, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}
.nav--scrolled.nav--on-dark .nav__pill-dropdown a { color: var(--cream); }
.nav--scrolled.nav--on-dark .nav__pill-dropdown a:hover { background: rgba(255, 255, 255, 0.15); }
.nav--scrolled.nav--on-dark .nav__mobile-dropdown {
  background: rgba(45, 62, 95, 0.95);
}
.nav--scrolled.nav--on-dark .nav__mobile-link { color: var(--cream); }
.nav--scrolled.nav--on-dark .nav__mobile-link--cta { color: var(--gold); }

.nav--scrolled .nav__left { display: none; }
.nav--scrolled .nav__right { display: none; }
.nav--scrolled .nav__pill-subscribe { display: flex; }
.nav--scrolled .nav__pill-menu { display: flex; justify-self: start; align-self: center; margin-left: 0.4rem; }
.nav--scrolled .nav__logo {
  filter: brightness(10);
  opacity: 0.9;
  margin-top: -3px;
  width: clamp(100px, 7rem + 3vw, 160px);
  object-fit: cover;
  object-position: left center;
  aspect-ratio: 3 / 1;
}
.nav--scrolled .nav__link--active {
  background: rgba(255, 255, 255, 0.15);
}

/* Pill menu button */
.nav__pill-menu {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 50%;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.nav__pill-menu:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}
.nav__pill-icon {
  width: 16px; height: 14px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.nav__pill-icon span {
  display: block; width: 100%; height: 1.5px;
  background: var(--dark); border-radius: 1px;
  opacity: 0.5;
}

/* Pill subscribe arrow (right circle) */
.nav__pill-subscribe {
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cream);
  margin-right: 0.4rem;
  transition: background 0.3s, transform 0.3s;
}
.nav__pill-subscribe:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* Pill dropdown */
.nav__pill-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  flex-direction: row;
  align-items: center;
  gap: clamp(0.3rem, 0.15rem + 0.5vw, 0.7rem);
  padding: 0.55rem 1.4rem;
  background: rgba(25, 40, 70, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
}
.nav__pill-dropdown--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__pill-dropdown a {
  font-family: var(--sub); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); opacity: 0.8;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  position: relative;
  transition: opacity 0.3s, background 0.3s, letter-spacing 0.3s, transform 0.3s, color 0.3s;
}
.nav__pill-dropdown a:hover {
  opacity: 1;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.2em;
  transform: scale(1.06);
  letter-spacing: 0.2em;
  transform: scale(1.05);
}
.nav__pill-dropdown a.nav__link--active {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

/* Programs sub-dropdown (desktop hover) */
.nav__link-wrap {
  position: relative;
  display: flex; align-items: center;
}
.nav__link-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -15px;
  right: -15px;
  height: 1.5rem;
}
.nav__link-sub {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  background: rgba(26, 26, 24, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(237, 226, 216, 0.08);
  border-top: none;
  border-radius: 0;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 10;
}
.nav__link-wrap:hover .nav__link-sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}
.nav__link-sub a {
  font-family: var(--sub);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  padding: 0.5rem 1.2rem;
  transition: opacity 0.3s, background 0.3s;
  white-space: nowrap;
}
.nav__link-sub a:hover {
  opacity: 1;
  background: rgba(237, 226, 216, 0.06);
}

/* Inner page variant */
.nav--inner .nav__link-sub {
  background: rgba(245, 239, 233, 0.97);
  border-color: rgba(61, 62, 54, 0.08);
}
.nav--inner .nav__link-sub a {
  color: var(--dark);
}
.nav--inner .nav__link-sub a:hover {
  background: rgba(61, 62, 54, 0.04);
}

/* Mobile sub-links (indented under Programs) */
.nav__mobile-link--sub {
  padding-left: 1.5rem;
  font-size: 0.6rem;
  opacity: 0.4;
}
.nav__mobile-link--sub:hover { opacity: 0.7; }

/* Mobile menu button */
/* Mobile hamburger button */
.nav__menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 48px; height: 48px;
  padding: 0;
  align-items: center; justify-content: center;
  position: absolute;
  left: var(--space-container);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.nav__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.nav__burger-line:nth-child(2) { width: 70%; }
/* Scrolled state: dark lines */
.nav--scrolled .nav__burger-line { background: var(--dark); }
/* Open state: X morphs */
.nav__menu-btn--open .nav__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu-btn--open .nav__burger-line:nth-child(2) { opacity: 0; width: 0; }
.nav__menu-btn--open .nav__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__menu-btn--open .nav__burger-line { background: var(--cream); }

/* Mobile fullscreen overlay */
.nav__mobile-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: linear-gradient(170deg, rgba(13, 13, 11, 0.98) 0%, rgba(20, 18, 14, 0.99) 50%, rgba(10, 10, 8, 1) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.nav__mobile-overlay--open {
  transform: translateX(0) !important;
}

/* Close X button */
.nav__mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.nav__mobile-close:hover {
  border-color: rgba(200, 146, 74, 0.4);
  transform: rotate(90deg);
}
.nav__mobile-close span {
  position: absolute;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
}
.nav__mobile-close span:first-child { transform: rotate(45deg); }
.nav__mobile-close span:last-child { transform: rotate(-45deg); }

/* Subtle top accent line */
.nav__mobile-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 146, 74, 0.3), transparent);
}

/* 3D octopus emblem in mobile menu background */
.nav__mobile-emblem {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  opacity: 0.15;
  pointer-events: none;
}

/* Premium link styling */
.nav__mobile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.nav__mobile-link {
  font-family: var(--h2);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  color: var(--cream);
  opacity: 0.8;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease, letter-spacing 0.3s ease;
}
.nav__mobile-link:hover, .nav__mobile-link:focus-visible {
  opacity: 1;
  letter-spacing: 0.06em;
}
.nav__mobile-link--cta { color: var(--gold); opacity: 0.9; }
.nav__mobile-link--sub {
  font-family: var(--sub);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.35;
}
.nav__mobile-link--sub:hover { opacity: 0.7; }
.nav__mobile-divider {
  width: 40px;
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(200, 146, 74, 0.4), transparent);
  margin: 0.6rem 0;
}
/* Inner pages: nav starts in cream/paper mode */
.nav--inner {
  background: rgba(245, 239, 233, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(61, 62, 54, 0.06);
}

/* Inner pages: dark solid nav (same colors as homepage nav, but opaque) */
.nav--dark {
  background: #000;
  border-bottom-color: rgba(237, 226, 216, 0.12);
}
.nav--inner .nav__link { color: var(--dark); }
.nav--inner .nav__link:hover { background: rgba(61, 62, 54, 0.06); }
.nav--inner .nav__link--active { background: rgba(61, 62, 54, 0.06); }
.nav--inner .nav__logo { filter: brightness(0.2); }
.nav--inner .nav__menu-btn { border-color: rgba(61, 62, 54, 0.15); }
.nav--inner .nav__menu-logo { filter: brightness(0.25); }
.nav--inner .nav__mobile-dropdown {
  background: rgba(245, 239, 233, 0.97);
}
.nav--inner .nav__mobile-link { color: var(--dark); border-bottom-color: rgba(61, 62, 54, 0.06); }
.nav--inner .nav__mobile-link--cta { color: var(--gold); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-section) var(--space-container);
  position: relative;
  z-index: 20;
  overflow-x: hidden;
}
.section--dark { background: var(--dark); color: var(--cream); }
.section--cream { background: var(--cream-lt); color: var(--dark); }

/* Ink wash texture */
.section--inkwash {
  background: var(--dark) url('https://ulhrqamsvaohirawndyu.supabase.co/storage/v1/object/public/AG%20-%20Assets/AG%20Liminal%20Means/ink-wash-bg.png') center / cover no-repeat;
}
.hero.section--inkwash {
  background-position: center 20%;
  background-color: var(--black);
}

/* Paper texture */
.section--paper {
  background-color: var(--cream);
  color: var(--dark);
  position: relative;
  overflow-x: hidden;
}
.section--paper::before {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='6' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.04;
  mix-blend-mode: multiply;
}
.section--paper .watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(480px, 30rem + 20vw, 800px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}
.section--paper .section__inner { position: relative; z-index: 1; }
.section__inner { max-width: 1000px; margin: 0 auto; text-align: center; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.h1 {
  font-family: var(--h1); font-weight: 700;
  font-size: var(--text-h1); line-height: 1.08;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--h1); font-weight: 700;
  font-size: var(--text-h2); line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 3rem;
}
.label {
  font-family: var(--sub); font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--comp-blue);
  margin-bottom: 0.75rem;
}
.body-lg { font-size: var(--text-lg); line-height: 1.75; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; font-family: var(--sub); font-weight: 500;
  font-style: normal; font-size: var(--text-base); letter-spacing: 0.06em;
  text-transform: uppercase; text-align: center;
  padding: 0.9rem 2.4rem; border: 1.5px solid; border-radius: 12px;
  min-width: 180px; width: fit-content;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); }
.btn--fill-cream:hover { background: var(--cream-lt); border-color: var(--cream-lt); }
.btn--fill-dark:hover { background: var(--black); border-color: var(--black); }
.btn--fill-gold:hover { background: var(--black); border-color: var(--gold); color: var(--gold); }
.btn--out-cream:hover { background: var(--cream); color: var(--dark); border-color: var(--cream); }
.btn--out-dark:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.btn--out-gold:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--fill-cream { border-color: var(--cream); background: var(--cream); color: var(--dark); }
.btn--fill-dark { border-color: var(--dark); background: var(--dark); color: var(--cream); }
.btn--out-cream { border-color: rgba(237, 226, 216, 0.2); background: transparent; color: var(--cream); }
.btn--out-dark { border-color: rgba(61, 62, 54, 0.15); background: transparent; color: var(--dark); }
.btn--sage { border-color: var(--sage); background: var(--sage); color: var(--cream-lt); }
.btn--fill-gold { border-color: var(--gold); background: var(--gold); color: var(--black); }
.btn--fill-blue { border-color: #233455; background: #233455; color: var(--cream); }
.btn--fill-blue:hover { background: #1a2840; border-color: #1a2840; }
.btn--out-gold { border-color: rgba(200, 146, 74, 0.3); background: var(--black); color: var(--gold); }

/* ============================================================
   HERO — cinematic logo entrance (Home only)
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  padding: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black) url('https://ulhrqamsvaohirawndyu.supabase.co/storage/v1/object/public/AG%20-%20Assets/AG%20Liminal%20Means/ink-wash-bg.png') center 20% / cover no-repeat;
  overflow: hidden;
}
.hero__bg {
  display: none;
}
@media (max-width: 768px) {
  .hero { background-image: none !important; }
  .hero__bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 0;
    pointer-events: none;
  }
  .hero__inner { position: relative; z-index: 1; }
}
.hero__inner {
  text-align: center;
  padding: clamp(6rem, 4rem + 6vw, 10rem) var(--space-container) clamp(4rem, 3rem + 4vw, 7rem);
}
.hero__hook {
  max-width: 780px; margin: 0 auto 1rem;
  font-size: var(--text-hero);
  text-align: center;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.hero__hook::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--warm));
  margin: 0.6rem auto 0;
  animation: phLineSlide 0.7s 0.6s ease forwards;
}
.hero__sub {
  max-width: 480px; margin: 0 auto 1.5rem;
  color: rgba(237, 226, 216, 0.75);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}
.hero__answer {
  max-width: 540px;
  margin: 0 auto 1.5rem;
  color: rgba(237, 226, 216, 0.55);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}
.hero__proof {
  font-family: var(--sub); font-size: var(--text-label);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); opacity: 0.9; margin-bottom: 2rem;
}
.hero__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.hero__btns .btn { width: fit-content; }
.hero__scroll {
  position: absolute;
  bottom: clamp(2.5rem, 1.786rem + 3.05vw, 4.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 1;
  transition: opacity 0.9s;
}
.hero__scroll-label {
  font-family: var(--sub);
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 0 20px rgba(237, 226, 216, 0.5), 0 2px 12px rgba(0, 0, 0, 0.5);
  animation: scrollLabelPulse 2.1s ease-in-out infinite;
}
.hero__scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero__scroll-chevron {
  border-right: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(45deg);
}
.hero__scroll-chevron--sm { width: 8px; height: 8px; }
.hero__scroll-chevron--md { width: 11px; height: 11px; }
.hero__scroll-chevron--lg { width: 14px; height: 14px; }
.hero__scroll-chevron--sm { animation: runwayLight 2.1s ease-in-out infinite; }
.hero__scroll-chevron--md { animation: runwayLight 2.1s ease-in-out 0.3s infinite; }
.hero__scroll-chevron--lg { animation: runwayLight 2.1s ease-in-out 0.6s infinite; }
@keyframes scrollLabelPulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(237, 226, 216, 0.5), 0 2px 12px rgba(0, 0, 0, 0.5); }
  50% { opacity: 0.6; text-shadow: 0 0 8px rgba(237, 226, 216, 0.2), 0 2px 12px rgba(0, 0, 0, 0.3); }
}
@keyframes runwayLight {
  0%, 100% { opacity: 0.15; filter: drop-shadow(0 0 0 transparent); }
  40%, 60% { opacity: 1; filter: drop-shadow(0 0 8px rgba(237, 226, 216, 0.6)); }
}
.hero__scroll--hidden { opacity: 0; pointer-events: none; }

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }

/* ============================================================
   ARC — 3-column phase framework (Home only)
   ============================================================ */
.arc { overflow: hidden; position: relative; margin-bottom: 0; }
.arc__silhouette {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  width: 100%;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
/* Mobile: second bird for return swirl */
.arc__silhouette--return {
  display: none;
}
@media (max-width: 800px) {
  .section.arc { overflow: visible; overflow-x: visible; }
  .arc__silhouette {
    width: 160%;
    max-width: none;
    left: -30%;
    top: 5%;
    transform: rotate(18deg);
  }
  .arc__silhouette--return {
    display: block;
    position: absolute;
    bottom: 0;
    right: -30%;
    width: 160%;
    max-width: none;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    transform: rotate(18deg);
  }
}
.arc .section__inner { margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.arc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-container);
}
.arc__col {
  position: relative;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: rgba(245, 239, 233, 0.45);
  border: 1px solid rgba(138,145,120,0.18);
  border-radius: 14px;
  isolation: isolate;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 2px 4px rgba(61,62,54,0.06),
    0 8px 24px rgba(61,62,54,0.1),
    0 24px 48px rgba(61,62,54,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(61,62,54,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
@media (hover: hover) {
  .arc__col:hover {
    z-index: 2;
    transform: translateY(-6px) scale(1.02);
    box-shadow:
      0 4px 8px rgba(61,62,54,0.08),
      0 16px 32px rgba(61,62,54,0.14),
      0 32px 64px rgba(61,62,54,0.1),
      inset 0 1px 0 rgba(255,255,255,0.1),
      inset 0 -1px 0 rgba(61,62,54,0.05);
    border-color: rgba(138,145,120,0.35);
    background: rgba(245, 239, 233, 0.7);
  }
  .arc__col:hover .arc__label {
    color: var(--brown);
    letter-spacing: 0.24em;
  }
  .arc__col:hover .arc__title {
    color: var(--sage);
  }
  .arc__col:hover::before {
    filter: brightness(1.4);
    height: 3px;
  }
}
/* Top gradient accent bar — GSAP adds --visible class after reveal */
.arc__col::before {
  content: '';
  position: absolute;
  top: 0; left: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); right: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--brown));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s ease, filter 0.3s ease;
}
.arc__col--visible::before { transform: scaleX(1); }
.arc__col:nth-child(2)::before { transition-delay: 0.3s; }
.arc__col:nth-child(3)::before { transition-delay: 0.6s; }
.arc__label {
  font-family: var(--sub); font-size: var(--text-lg);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); opacity: 0.8;
  margin-bottom: 0.75rem;
  margin-top: 0.75rem;
  transition: color 0.3s ease, letter-spacing 0.6s ease;
}
.arc__title {
  font-family: var(--h2); font-style: italic;
  font-size: var(--text-h2); line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
  transition: color 0.3s ease;
}
.arc__body {
  font-size: var(--text-base); line-height: 1.85;
  opacity: 0.7;
}

/* ============================================================
   WORK STRIP
   ============================================================ */
.work-strip {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: clamp(2.5rem, 1.357rem + 4.88vw, 5rem) var(--space-container);
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 -12px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.work-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://ulhrqamsvaohirawndyu.supabase.co/storage/v1/object/public/AG%20-%20Assets/AG%20Liminal%20Means/octopus-emblem.png');
  background-size: 40px 40px;
  background-repeat: repeat;
  opacity: 0.06;
  filter: brightness(0);
  pointer-events: none;
}
.work-strip > * { position: relative; z-index: 1; }
.work-strip .label { color: var(--dark); opacity: 0.8; margin-bottom: 0.75rem; letter-spacing: 0.18em; font-size: var(--text-label); }
.work-strip .h2 { font-size: var(--text-h2); letter-spacing: 0.02em; }
.work-strip__rule {
  width: clamp(80px, 5rem + 4vw, 160px);
  height: 2px;
  background: var(--dark);
  opacity: 0.5;
  margin: 1rem auto;
}
.work-strip__rule:first-child { margin-top: 0; margin-bottom: 1.5rem; }
.work-strip__rule:last-child { margin-top: 1.5rem; margin-bottom: 0; }

/* ============================================================
   PROGRAM SECTIONS
   ============================================================ */
.prog {
  position: relative;
  z-index: 20;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  padding: var(--space-section) var(--space-container);
}
.prog__inner {
  max-width: 680px;
  position: relative;
  z-index: 1;
}
.prog__ghost {
  position: absolute;
  font-family: var(--h2); font-style: italic;
  font-size: clamp(12rem, 7.5rem + 19.2vw, 28rem);
  line-height: 1;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.prog__label {
  font-family: var(--sub); font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.prog__title {
  font-family: var(--h2); font-weight: 500; font-style: italic;
  font-size: var(--text-h2); line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.prog__desc {
  font-size: var(--text-base); line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
  opacity: 0.6;
}
.prog__proof {
  font-family: var(--sub); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.35; margin-top: 1.25rem;
}

/* Program variants */
.prog--accelerator {
  background-color: var(--cream-lt);
  color: var(--dark);
}
.prog--accelerator::before {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='6' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.04;
  mix-blend-mode: multiply;
}
.prog--accelerator .prog__label { color: var(--brown); }
.prog--accelerator .prog__ghost {
  right: 5%; top: 50%;
  transform: translateY(-50%);
}

.prog--rewind {
  background-color: var(--dark);
  background-image: url('https://ulhrqamsvaohirawndyu.supabase.co/storage/v1/object/public/AG%20-%20Assets/AG%20Liminal%20Means/ink-wash-bg.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light;
  color: var(--cream);
}
.prog--rewind .prog__inner {
  border-left: 3px solid;
  border-image: linear-gradient(180deg, var(--sage), var(--brown), var(--gold)) 1;
  padding-left: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.prog--rewind .prog__label { color: var(--gold); font-size: var(--text-h4); letter-spacing: 0.08em; opacity: 0.9; }
.prog--rewind .prog__desc { opacity: 0.75; }
.prog--rewind .prog__proof { opacity: 0.5; }
.prog--rewind .prog__ghost {
  right: 5%; top: 50%;
  transform: translateY(-50%);
  opacity: 0.08;
}

.prog--somatic {
  background-color: #3a3028;
  color: var(--cream);
}
.prog--somatic .prog__label { color: var(--gold); }
.prog--somatic .prog__title {
  font-size: clamp(1.875rem, 1.357rem + 2.21vw, 3rem);
}
.prog--somatic .prog__ghost {
  right: 5%; top: 50%;
  transform: translateY(-50%);
  font-size: clamp(18rem, 11.25rem + 28.8vw, 36rem);
  opacity: 0.05;
}

.prog--subscription {
  background-color: var(--dark);
  color: var(--cream);
  text-align: center;
}
.prog--subscription .prog__inner {
  margin: 0 auto;
  text-align: center;
}
.prog--subscription .prog__desc {
  margin-left: auto;
  margin-right: auto;
}
.prog--subscription .prog__label { color: var(--sage); opacity: 0.6; }
.prog__ghost-img {
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 13.75rem + 10vw, 360px);
  opacity: 0.6;
  border-radius: 6px;
  filter: grayscale(1);
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.prog--signature {
  background-color: #1a1a18;
  color: var(--cream);
  text-align: center;
  border-top: 1px solid rgba(200, 146, 74, 0.12);
  border-bottom: 1px solid rgba(200, 146, 74, 0.12);
}
.prog--signature .prog__inner {
  margin: 0 auto;
  text-align: center;
}
.prog--signature .prog__desc {
  margin-left: auto;
  margin-right: auto;
}
.prog--signature .prog__label { color: var(--gold); }

.prog--coaching {
  background: var(--black) url('https://ulhrqamsvaohirawndyu.supabase.co/storage/v1/object/public/AG%20-%20Assets/AG%20Liminal%20Means/ink-wash-bg.png') center / cover no-repeat;
  color: var(--cream);
  text-align: center;
  height: 100vh;
  overflow: hidden;
}
.prog--coaching .prog__inner {
  margin: 0 auto;
  text-align: center;
}
.prog--coaching .prog__desc {
  margin-left: auto;
  margin-right: auto;
  opacity: 0.5;
}
.prog--coaching .prog__label { color: var(--brown); }

/* ============================================================
   OFFER CARDS (Programs page)
   ============================================================ */
.offer-featured {
  display: block;
  border: 1px solid rgba(61, 62, 54, 0.08);
  background: var(--cream-lt);
  color: var(--dark);
  margin-bottom: 2.5rem;
  transition: border-color 0.3s;
}
.offer-featured:hover { border-color: rgba(61, 62, 54, 0.2); }
.offer-featured__content { padding: clamp(2rem, 1.429rem + 2.43vw, 3rem); text-align: center; }
.offer-featured__title { font-family: var(--h2); font-style: italic; font-size: var(--text-h2); line-height: 1.2; margin-bottom: 1rem; }
.offer-featured__desc { opacity: 0.55; font-size: var(--text-lg); line-height: 1.75; max-width: 480px; margin: 0 auto 1.75rem; }
.offer-featured__proof { font-family: var(--sub); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.35; margin-top: 1.25rem; }

.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.offer-card {
  border: 1px solid rgba(61, 62, 54, 0.06);
  background: var(--cream-lt); color: var(--dark);
  position: relative;
  transition: border-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .offer-card:hover {
    border-color: rgba(200, 146, 74, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
  }
}
.offer-card__content { padding: clamp(1.25rem, 1rem + 1.07vw, 1.75rem); text-align: center; }
.offer-card__tier { color: var(--brown); margin-bottom: 0.5rem; }
.offer-card__title { font-family: var(--h2); font-style: italic; font-size: var(--text-h4); line-height: 1.2; margin-bottom: 0.75rem; }
.offer-card__desc { opacity: 0.5; margin-bottom: 1.5rem; font-size: var(--text-base); line-height: 1.65; }
.offer-card__proof { font-family: var(--sub); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.3; margin-top: 1rem; }
.offer-card--upcoming { opacity: 0.4; border-style: dashed; background: transparent; border-color: rgba(237, 226, 216, 0.15); color: var(--cream); }

/* ============================================================
   ESSAYS
   ============================================================ */
/* Carousel wrapper */
/* Essay carousel */
.essay-carousel {
  position: relative;
  text-align: left;
  overflow: visible;
}
.essay-slide {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  position: absolute;
  top: 0; left: 0; right: 0;
  visibility: hidden;
  pointer-events: none;
}
.essay-slide--active {
  position: relative;
  visibility: visible;
  pointer-events: auto;
}
.essay-slide--transitioning {
  visibility: visible;
  pointer-events: auto;
}
/* Cards */
.essay-item {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem) clamp(2rem, 1.5rem + 1.5vw, 3rem);
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  transform: translateX(0);
  opacity: 1;
}
.essay-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--cream);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.essay-item:hover::after { width: 100%; }

/* Timer bar — fills over auto-rotate interval (controlled via inline styles in JS) */
.essay-timer {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cream));
  z-index: 3;
  opacity: 0.6;
  transform: scaleX(0);
  transform-origin: left;
}
.essay-item:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.3); }
/* Card layout */
.essay-item__left { flex: 1.2; min-width: 0; }
.essay-item__right { flex: 1; min-width: 0; text-align: right; }
.essay-title { font-family: var(--h2); font-style: italic; font-size: var(--text-h4); color: var(--cream); line-height: 1.3; margin: 0; }
.essay-meta {
  font-family: var(--sub); font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); opacity: 0.5; margin-bottom: 0.4rem;
}
.essay-tag {
  display: inline-block;
  font-family: var(--sub); font-size: 0.5rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7;
  border: 1px solid rgba(200, 146, 74, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-left: 0.6rem;
  vertical-align: middle;
}
.essay-excerpt { opacity: 0.4; font-size: var(--text-base); color: var(--cream); margin: 0; }
/* Nav */
.essay-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.essay-nav__arrow {
  background: #111;
  border: none;
  color: var(--cream);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
}
.essay-nav__arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.essay-nav__track {
  display: flex;
  align-items: center;
  gap: 6px;
}
.essay-nav__bar {
  width: 24px; height: 2px;
  background: var(--dark);
  opacity: 0.12;
  border-radius: 1px;
  transition: none;
}
.essay-nav__bar--active {
  opacity: 1;
  background: #111;
}
.essay-nav__counter {
  font-family: var(--h1);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--dark);
  opacity: 0.1;
  min-width: 3.5rem;
  text-align: center;
  line-height: 1;
}
.essays-more {
  display: inline-block; margin-top: 2.5rem;
  font-family: var(--sub); font-size: var(--text-lg);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); opacity: 1;
  border-bottom: 1px solid rgba(200, 146, 74, 0.4);
  padding-bottom: 0.3rem;
  transition: opacity 0.3s, border-color 0.3s;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: #0a0a0a;
  overflow: visible;
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}
/* ── About Page: Hero, Bio, Philosophy Blocks ── */
.about-hero {
  padding-top: clamp(8rem, 5rem + 12vw, 12rem);
  padding-bottom: var(--space-section);
  text-align: center;
  overflow: hidden;
}

/* Hero emblem glow grid */
.hero-emblem-grid {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-emblem-dot {
  width: 45px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
}
.hero-emblem-dot svg {
  width: 30px;
  height: auto;
}
.about-hero__name {
  font-size: var(--text-hero);
  line-height: 1.05;
  color: var(--cream);
  margin: 0;
}
.about-bio {
  padding-top: clamp(3rem, 2rem + 4vw, 6rem);
  padding-bottom: clamp(4rem, 2.5rem + 6vw, 7rem);
}
.about-bio .about-text { text-align: left; padding-bottom: 1rem; }
.about-bio .about-text p {
  margin: 0 0 1.25rem; max-width: 100%;
  opacity: 0.8; font-size: var(--text-lg); line-height: 1.75;
}
.about-stats {
  padding-top: 0;
  padding-bottom: clamp(4rem, 2.5rem + 6vw, 7rem);
}

/* Philosophy blocks — alternating alignment */
.about-philosophy,
.about-world,
.about-symbol {
  padding-top: clamp(4rem, 2.5rem + 6vw, 7rem);
  padding-bottom: clamp(4rem, 2.5rem + 6vw, 7rem);
}
.about-block { max-width: 640px; }
.about-block .label { margin-bottom: 1rem; }
.about-block .h2 { margin-bottom: 2rem; }
.about-block .body-lg { opacity: 0.6; line-height: 1.8; }
.about-block .body-lg + .body-lg { margin-top: 1.5rem; }

.about-block--left { text-align: left; margin: 0; }
.about-block--right { text-align: right; margin: 0 0 0 auto; }
.about-block--center { text-align: center; margin: 0 auto; }

/* World section — subtle background shift */
/* About page — dark hero + light middle + dark CTA */
.about-hero {
  background: var(--black);
  color: var(--cream);
}
.about-bio,
.about-philosophy,
.about-world,
.about-symbol {
  background: var(--cream);
  color: var(--black);
}
.about-bio .label,
.about-philosophy .label,
.about-world .label,
.about-symbol .label { color: var(--sage); }
.about-bio .about-text p,
.about-philosophy .body-lg,
.about-world .body-lg,
.about-symbol .body-lg { opacity: 0.7; color: var(--black); }
.about-bio .stat__num {
  background: linear-gradient(180deg, var(--black) 40%, rgba(138,145,120,0.6));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-bio .stat__label { color: var(--black); }
.about-bio .h2,
.about-philosophy .h2,
.about-world .h2,
.about-symbol .h2 { color: var(--black); }
.about-symbol__emblem { filter: invert(1); opacity: 0.15; }

/* ── About Split: text + image side by side ── */
.about-split { align-items: center; }
.about-split .about-block { max-width: 100%; }
.about-split__img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}
.about-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0.85;
}
@media (min-width: 768px) {
  .about-split { grid-template-columns: 1.2fr 1fr; }
  .about-split--reverse { grid-template-columns: 1fr 1.2fr; }
  .about-split__img { max-height: 400px; }
}

/* ── Scroll Octopus: travels through philosophy sections ── */
.about-philosophy,
.about-world { overflow: hidden; position: relative; }
.about-symbol { position: relative; }

.scroll-octopus {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.07;
  filter: invert(1);
}
.scroll-octopus--right {
  width: 180px;
  right: 8%;
  bottom: 100%;
}
.scroll-octopus--left {
  width: 180px;
  left: 8%;
  bottom: 100%;
}
.scroll-octopus--center {
  width: clamp(280px, 20vw + 120px, 420px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  filter: invert(1) drop-shadow(0 0 20px rgba(138, 145, 120, 0.15)) drop-shadow(0 0 60px rgba(200, 146, 74, 0.08)) brightness(1.3) contrast(0.85);
}

/* Keep text above the octopus */
.about-philosophy .section__inner,
.about-world .section__inner,
.about-symbol .section__inner { position: relative; z-index: 2; }

@media (max-width: 768px) {
  .scroll-octopus--right,
  .scroll-octopus--left { width: 120px; }
  .scroll-octopus--center { width: clamp(200px, 40vw, 300px); }
}

/* Octopus symbol emblem */
.about-symbol__emblem {
  opacity: 0.3;
  margin-bottom: 2rem;
}

/* Scroll octopus — alive state when it lands in the symbol section */
.scroll-octopus--center.is-alive {
  animation: octoBreath 6.3s ease-in-out infinite, octoSpin 21s linear infinite;
}
.scroll-octopus--center.is-alive::before {
  content: '';
}
/* Gold glow container behind the octopus */
.about-symbol__glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: clamp(300px, 22vw + 140px, 460px);
  height: clamp(300px, 22vw + 140px, 460px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,146,74,0.15) 0%, rgba(200,146,74,0) 70%);
  opacity: 0;
  transition: opacity 0.9s ease;
}
.about-symbol__glow.is-alive {
  opacity: 1;
  animation: glowPulse 6.3s ease-in-out infinite;
}

@keyframes octoBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes octoSpin {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}
@keyframes glowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-octopus--center.is-alive { animation: none; }
  .about-symbol__glow.is-alive { animation: none; opacity: 0.5; }
}

/* Legacy fallbacks */
.about-header { text-align: center; margin-bottom: 3rem; }
.about-header .label { color: var(--sage); margin-bottom: 0.75rem; }
.about-name { font-size: var(--text-h2); }
.about-text { text-align: center; padding-bottom: 1rem; }
.about-text p { margin: 0 auto 1.25rem; max-width: 520px; opacity: 0.8; font-size: var(--text-lg); }
.stats-row {
  display: flex; justify-content: center; gap: 3rem;
  margin: clamp(3rem, 2rem + 4vw, 5rem) auto 0; max-width: 700px;
}
.stat {
  display: flex; flex-direction: column; align-items: center;
  position: relative; padding: 0;
}
.stat__num {
  font-family: var(--h1); font-weight: 700; font-size: var(--text-hero);
  color: var(--cream); line-height: 1;
  background: linear-gradient(180deg, var(--cream) 40%, rgba(35, 52, 85, 0.6));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-family: var(--sub); font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.45; margin-top: 0.6rem; color: var(--cream);
  white-space: nowrap;
}
.about-quote {
  font-family: var(--body); font-size: var(--text-h3);
  color: var(--cream); line-height: 1.5; opacity: 0.9;
  margin: 2rem auto 0; max-width: 560px;
}
.about-emblem {
  width: clamp(180px, 11.25rem + 8.89vw, 320px);
  opacity: 0.9;
  border-radius: 6px;
  filter: grayscale(0.4);
  object-fit: cover;
  outline: 3px solid #233455;
  outline-offset: 6px;
  transition: filter 0.6s ease, transform 0.6s ease, outline-offset 0.6s ease, opacity 0.6s ease;
}
@media (hover: hover) {
  .about-emblem:hover {
    filter: grayscale(0);
    transform: scale(1.03);
    outline-offset: 10px;
    opacity: 1;
  }
}
.about-visual { display: flex; align-items: center; justify-content: center; overflow: visible; }
.page-header--about ~ main .about-visual { overflow: hidden; }

/* Frieze — repeating octopus outlines between author and essays */
.section-frieze {
  background: #0a0a0a;
  overflow: hidden;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}
.section-frieze__track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  width: 140%;
  margin-left: -20%;
}
.section-frieze__track img {
  width: 48px;
  height: auto;
  filter: brightness(10);
  flex-shrink: 0;
}
.section-frieze__track img:nth-child(odd) {
  opacity: 0.12;
  animation: frieze-a 3s ease-in-out infinite;
}
.section-frieze__track img:nth-child(even) {
  opacity: 0;
  animation: frieze-b 3s ease-in-out infinite;
}
@keyframes frieze-a {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0; }
}
@keyframes frieze-b {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) {
  .section-frieze__track img { animation: none; opacity: 0.08; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  z-index: 20;
  padding: 0;
  margin: 0;
  background: var(--black);
  color: var(--cream);
  height: 100vh;
  overflow: hidden;
}
.final-cta + .footer {
  margin-top: 0;
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 4rem);
}
.final-cta__split {
  display: flex;
  height: 100%;
  position: relative;
}
.final-cta__img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
  transition: width 0.7s ease;
  z-index: 0;
}
.final-cta__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.final-cta__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 11, 0.6);
  opacity: 0;
  transition: opacity 0.7s ease;
}
.final-cta--expanded .final-cta__img {
  width: 100%;
}
.final-cta--expanded .final-cta__img::after {
  opacity: 1;
}
.final-cta__text {
  margin-left: 45%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  text-align: center;
  position: relative;
  z-index: 2;
}
/* Expanded state — currently unused, kept for future */
.divider {
  display: block; width: clamp(32px, 2rem + 2.03vw, 60px); height: 1px;
  background: var(--gold); margin: 0 auto 2.5rem; opacity: 0.5; border: none;
}
.footer__cta-title {
  font-family: var(--h1); font-weight: 700;
  font-size: var(--text-h2); line-height: 1.08;
  margin-bottom: 1.5rem;
}
.footer__cta-body {
  font-size: var(--text-lg); line-height: 1.75;
  max-width: 480px; opacity: 0.5;
}
.footer__proof {
  font-family: var(--sub); font-size: var(--text-label);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7; margin-top: 2rem;
}
.footer__btns {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-top: 2rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Testimonials section */
.testi-section {
  position: relative;
  overflow: hidden;
}
.testi-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(138,145,120,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Octopus emblems flanking the section — GSAP controls top position */
.testi-emblem {
  position: absolute;
  width: clamp(140px, 10vw + 60px, 220px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
  filter: invert(1);
  top: 30%;
  transform-origin: center center;
  will-change: top, opacity, transform;
}
.testi-emblem__img { width: 100%; display: block; }
.testi-emblem__img--flip { transform: scaleX(-1); }
.testi-emblem--left { left: clamp(1rem, 2vw, 4rem); }
.testi-emblem--right { right: clamp(1rem, 2vw, 4rem); }
@media (max-width: 1200px) {
  .testi-emblem { width: 120px; opacity: 0.07; }
}
@media (max-width: 768px) {
  .testi-emblem { display: none; }
  .coaching-section { overflow: hidden; }
  .coaching-section .testi-glow { width: 100%; height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  .testi-emblem { top: 50% !important; transform: translateY(-50%) !important; }
}
.testi-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-container);
  position: relative;
  z-index: 1;
}

/* Featured testimonial — full width, larger */
.testimonial--featured {
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.testimonial--featured .testimonial__text {
  font-size: var(--text-lg);
  line-height: 1.9;
}
.testimonial--featured .testimonial__inner {
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.testimonial--featured::before {
  font-size: clamp(4rem, 3rem + 2vw, 6rem);
  top: clamp(1rem, 0.5rem + 1vw, 1.5rem);
  right: clamp(1.5rem, 1rem + 1vw, 2.5rem);
}

/* 2x2 grid for remaining testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem);
}

/* Base testimonial card */
.testimonial {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(237, 226, 216, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  text-align: left;
  display: flex;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
/* Static left accent bar — hidden when scroll bar takes over */
.testimonial__accent {
  width: 4px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border-radius: 4px 0 0 4px;
  position: relative;
  overflow: hidden;
}
/* Scroll progress bar (appended by GSAP) — overlays the accent bar */
.testimonial__bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: rgba(255,255,255,0.06);
  z-index: 2;
  border-radius: 4px 0 0 4px;
}
.testimonial__bar-fill {
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--sage), var(--brown));
  border-radius: 4px 0 0 4px;
}
.testimonial__inner {
  padding: clamp(1.5rem, 1rem + 1.2vw, 2.25rem);
  position: relative;
  flex: 1;
}
/* Large decorative quote mark */
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: clamp(0.5rem, 0.25rem + 0.5vw, 0.75rem);
  right: clamp(1rem, 0.75rem + 0.5vw, 1.5rem);
  font-family: var(--h2);
  font-size: clamp(3rem, 2.5rem + 1.5vw, 4.5rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
@media (hover: hover) {
  .testimonial:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 146, 74, 0.25);
  }
  .testimonial:hover .testimonial__accent {
    background: rgba(255,255,255,0.1);
  }
  .testimonial:hover::before {
    opacity: 0.2;
  }
}
.testimonial__text {
  font-family: var(--sub);
  font-style: normal;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.testimonial__cite {
  display: block;
  font-family: var(--h2);
  font-style: italic;
  font-size: var(--text-base);
  letter-spacing: 0.04em;
  color: var(--gold);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Responsive: stack grid on mobile */
@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial--featured { margin-bottom: 1rem; }
}
@media (max-width: 480px) {
  .testi-grid { gap: 1rem; }
  .testimonial--featured { margin-bottom: 1rem; }
  .testimonial--featured .testimonial__inner { padding: 1.5rem; }
  .testimonial__inner { padding: 1.25rem; }
}

/* ============================================================
   PROGRAMS DUO — Two cards side by side
   ============================================================ */
section#courses,
section#courses.section,
section#courses.section--paper {
  overflow: visible !important;
  overflow-x: visible !important;
  z-index: 21;
}
section#courses::before {
  clip-path: none;
  border-radius: 0;
}
.prog-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1rem;
  position: relative;
}
.prog-duo__card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.82) 0%, rgba(245,239,233,0.78) 100%);
  border: 1px solid rgba(138,145,120,0.18);
  border-radius: 14px;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow:
    0 8px 16px rgba(61,62,54,0.08),
    0 24px 48px rgba(61,62,54,0.12),
    0 48px 80px rgba(61,62,54,0.08);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease, border-color 0.3s ease;
}
/* Emblem on each card — visible through the card like a watermark */
.prog-duo__emblem {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 65%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
  filter: grayscale(100%) opacity(0.8);
}
.prog-duo__card > *:not(.prog-duo__emblem) {
  position: relative;
  z-index: 1;
}
/* Top accent bar */
.prog-duo__accent {
  position: absolute;
  top: 0; left: clamp(2rem, 1.5rem + 2vw, 3rem); right: clamp(2rem, 1.5rem + 2vw, 3rem);
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--brown));
  border-radius: 2px;
}
@media (hover: hover) {
  .prog-duo__card:hover {
    z-index: 2;
    transform: translateY(-6px) scale(1.01);
    box-shadow:
      0 16px 32px rgba(61,62,54,0.12),
      0 40px 80px rgba(61,62,54,0.15),
      0 64px 120px rgba(61,62,54,0.08);
    border-color: rgba(200, 146, 74, 0.25);
  }
  .prog-duo__card:hover .prog-duo__emblem {
    opacity: 0.18;
  }
  .prog-duo__card:hover .prog-duo__price {
    color: var(--brown);
    letter-spacing: 0.18em;
  }
  .prog-duo__card:hover .prog-duo__accent {
    filter: brightness(1.3);
  }
}
.prog-duo__price {
  font-family: var(--sub);
  font-size: var(--text-lg);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease, letter-spacing 0.6s ease;
}
.prog-duo__title {
  font-family: var(--h2);
  font-style: italic;
  font-size: var(--text-h2);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.prog-duo__desc {
  font-size: var(--text-base);
  line-height: 1.8;
  opacity: 0.65;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
  flex: 1;
}
.prog-duo__proof {
  font-family: var(--sub);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.6;
  margin-bottom: 1.25rem;
}
.prog-duo__card .btn { width: fit-content; }
@media (max-width: 768px) {
  .prog-duo { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Video testimonial placeholder */
/* Video testimonial thumbnail grid */
.vtesti-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.vtesti-thumb {
  width: calc(25% - 0.75rem);
}
.vtesti-thumb {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vtesti-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.vtesti-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .vtesti-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }
  .vtesti-thumb:hover .vtesti-play { opacity: 1; }
  .vtesti-thumb:hover img { opacity: 0.85; }
}
@media (max-width: 768px) {
  .vtesti-thumb { width: calc(33.33% - 0.67rem); }
}
@media (max-width: 480px) {
  .vtesti-thumb { width: calc(50% - 0.5rem); }
}

/* Video testimonial modal */
.vtesti-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.vtesti-modal--open {
  opacity: 1;
  visibility: visible;
}
.vtesti-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.vtesti-modal__content {
  position: relative;
  width: 90vw;
  max-width: 500px;
  aspect-ratio: 9 / 16;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.vtesti-modal--open .vtesti-modal__content {
  transform: scale(1);
}
.vtesti-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.vtesti-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.vtesti-modal__close:hover {
  border-color: rgba(200, 146, 74, 0.5);
  transform: rotate(90deg);
}
.vtesti-modal__close span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: white;
  border-radius: 1px;
}
.vtesti-modal__close span:first-child { transform: rotate(45deg); }
.vtesti-modal__close span:last-child { transform: rotate(-45deg); }

/* ============================================================
   3D ESSAY RING CAROUSEL
   ============================================================ */
/* ============================================================
   ESSAY CAROUSEL (ec__)
   ============================================================ */
.ec {
  position: relative;
  background: var(--dark);
  color: var(--cream);
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0;
  overflow: hidden;
}
.ec__grain {
  position: absolute;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.ec__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(200,146,74,0.06) 0%, rgba(138,145,120,0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Viewport full-width --- */

/* --- Arrow buttons --- */
.ec__arrow {
  flex-shrink: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  transition: transform 0.3s ease;
  color: var(--cream);
}
.ec__arrow-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.35;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: brightness(1.8);
}
.ec__arrow-chevron {
  width: 24px;
  height: 24px;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (hover: hover) {
  .ec__arrow:hover .ec__arrow-logo {
    opacity: 0.55;
    filter: brightness(1.8) drop-shadow(0 0 14px rgba(200,146,74,0.35));
  }
  .ec__arrow:hover .ec__arrow-chevron {
    opacity: 1;
  }
  .ec__arrow--prev:hover .ec__arrow-chevron { transform: translateX(-3px); }
  .ec__arrow--next:hover .ec__arrow-chevron { transform: translateX(3px); }
}
.ec__arrow--disabled {
  opacity: 0.1;
  pointer-events: none;
}

/* --- Viewport & track --- */
.ec__viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  padding: 0 var(--space-container);
}
.ec__track {
  display: grid;
  grid-template-columns: repeat(12, calc(100% / 4));
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* --- Nav below cards --- */
.ec__nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* --- Cards --- */
.ec__card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  margin: 0.75rem;
  min-height: 260px;
  text-decoration: none;
  background: #1e1f1b;
  border: none;
  border-radius: 14px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ec__card::before {
  content: '';
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 2px 2px;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .ec__card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.6),
      0 4px 12px rgba(0, 0, 0, 0.4),
      0 0 40px rgba(200, 146, 74, 0.05);
  }
  .ec__card:hover::before { opacity: 0.7; }
  .ec__card:hover .ec__read { opacity: 0.8; }
}

.ec__tag {
  font-family: var(--sub);
  font-size: var(--text-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.ec__title {
  font-family: var(--h2);
  font-style: italic;
  font-size: var(--text-h3);
  color: #fff;
  line-height: 1.3;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.ec__excerpt {
  font-family: var(--sub);
  font-size: var(--text-lg);
  color: var(--cream);
  opacity: 0.7;
  line-height: 1.65;
  margin: 0;
}
.ec__read {
  font-family: var(--sub);
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  margin-top: auto;
  padding-top: 1.25rem;
  transition: opacity 0.3s ease;
}


/* --- Responsive --- */
@media (max-width: 1080px) {
  .ec__track { grid-template-columns: repeat(12, calc(100% / 3)); }
}
@media (max-width: 768px) {
  .ec__track { grid-template-columns: repeat(12, 50%); }
  .ec__arrow-logo { width: 40px; height: 40px; }
  .ec__arrow-chevron { width: 20px; height: 20px; }
  .ec__card { min-height: 200px; }
  .ec__excerpt { display: none; }
}
@media (max-width: 480px) {
  .ec__track { grid-template-columns: repeat(12, 100%); }
  .ec__arrow { min-height: 48px; padding: 0.75rem 1rem; }
  .ec__arrow-logo { width: 28px; height: 28px; }
  .ec__arrow-chevron { width: 16px; height: 16px; }
  .ec__card { min-height: 220px; margin: 0.5rem; padding: 1.25rem; }
  .ec__title { font-size: var(--text-h4); }
  .ec__read { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ec__track { transition: none; }
}

/* ============================================================
   PODCAST PLATFORM CARDS
   ============================================================ */
.podcast-section { position: relative; overflow: hidden; }
.podcast-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.podcast-particle {
  position: absolute;
  opacity: 0.12;
  color: var(--cream);
  transition: none;
  will-change: transform;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(200,146,74,0.15));
}
@media (prefers-reduced-motion: reduce) {
  .podcast-particles { display: none; }
}
.podcast-platforms {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 0.6rem + 1.5vw, 1.5rem);
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
}
.podcast-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 0.75rem + 0.75vw, 1.5rem) clamp(1.5rem, 1rem + 1vw, 2rem);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(237,226,216,0.1);
  border-radius: 14px;
  text-decoration: none;
  color: var(--cream);
  min-width: 200px;
  flex: 1;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.podcast-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.podcast-card__name {
  font-family: var(--sub);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.podcast-card__arrow {
  margin-left: auto;
  font-size: 1.25rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: var(--gold);
}
@media (hover: hover) {
  .podcast-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(200,146,74,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  }
  .podcast-card:hover .podcast-card__icon {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.06);
  }
  .podcast-card:hover .podcast-card__name { opacity: 1; }
  .podcast-card:hover .podcast-card__arrow {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 600px) {
  .podcast-platforms { flex-direction: column; align-items: center; }
  .podcast-card { min-width: 260px; max-width: 320px; width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 20;
  border-top: none;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4rem) var(--space-container);
  background: #1a1a18;
  margin: 0;
  color: var(--cream);
  text-align: center;
  overflow: visible;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--comp-periwinkle), var(--comp-blue), var(--comp-violet), var(--comp-periwinkle));
  z-index: 5;
}

/* Hide gradient lines adjacent to frieze strips */
.programs-showcase::after,
#about::after { display: none; }

/* Add line at top of upper frieze (between divider/programs and frieze) */
.section-divider + .section-frieze::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--comp-periwinkle), var(--comp-blue), var(--comp-violet), var(--comp-periwinkle));
  z-index: 5;
}

/* Add line at bottom of the lower frieze (between frieze and essays) */
#about + .section-frieze::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--comp-periwinkle), var(--comp-blue), var(--comp-violet), var(--comp-periwinkle));
  z-index: 5;
}

/* Gradient divider line between all sections */
.section::after,
.final-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--comp-periwinkle), var(--comp-blue), var(--comp-violet), var(--comp-periwinkle));
  z-index: 5;
}
.footer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.footer__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.footer__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}
.footer__inner {
  position: relative;
  z-index: 3;
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
}
.footer__octopus {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  margin: 1.5rem auto 0;
  pointer-events: none;
}
.footer__octopus canvas { display: block; width: 100%; height: 100%; }
.footer__octopus-fallback { display: none; width: 100%; height: auto; opacity: 0.5; }
@media (max-width: 768px) {
  .footer__octopus { width: 143px; height: 143px; }
  .footer__octopus-fallback { display: block; }
  .footer__octopus canvas { display: none; }
}
.footer__logo {
  width: clamp(240px, 15rem + 11.43vw, 480px);
  opacity: 0.9;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0,0,0,0.5)) drop-shadow(0 1px 6px rgba(0,0,0,0.3));
}
.footer__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; }
.footer__link {
  font-family: var(--sub); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); opacity: 0.7;
  transition: opacity 0.3s;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.footer__link:hover { opacity: 1; }
.footer__copy { width: 100%; text-align: center; font-size: 0.7rem; color: var(--cream); opacity: 0.4; margin-top: 1.5rem; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }

/* ── Split footer variant (about page) ── */
.footer__logo--sm { width: clamp(160px, 10rem + 3vw, 240px); margin-bottom: 2rem; margin-left: -3px; }
.footer__pages {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin-bottom: 2rem;
}
.footer__page-link {
  font-family: var(--sub); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); opacity: 0.7;
  transition: opacity 0.3s;
  text-decoration: none;
  position: relative;
}
.footer__page-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--cream);
  transition: width 0.3s ease;
}
.footer__page-link:hover { opacity: 1; }
.footer__page-link:hover::after { width: 100%; }
.footer__socials {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  margin-bottom: 2rem;
}
.footer__social {
  display: flex; align-items: center;
  transition: opacity 0.3s, transform 0.3s;
}
.footer__social:hover {
  transform: translateY(-3px);
}
.footer__social img {
  width: 28px; height: 28px;
  transition: transform 0.3s;
}
.footer__social:hover img {
  transform: scale(1.3);
}
.footer__social--text {
  font-family: var(--sub); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream);
}
.footer__extras {
  display: flex; gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer__inner--split {
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 3rem;
}
.footer__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  flex: 1;
}
.footer__left .footer__copy {
  margin-top: auto;
  padding-top: 1.5rem;
}
.footer__left .footer__links {
  justify-content: flex-start;
}
.footer__left .footer__copy {
  text-align: left;
}
.footer__right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .footer__inner--split {
    flex-direction: column;
    align-items: center;
  }
  .footer__left { align-items: center; }
  .footer__left .footer__links { justify-content: center; }
  .footer__left .footer__copy { text-align: center; }
  .footer__pages {
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }
  .footer__socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .footer__extras {
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 50;
  background: var(--black);
  padding: 0.75rem var(--space-container);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.6s;
  border-top: 1px solid rgba(237, 226, 216, 0.12);
}
.sticky-cta--visible { transform: translateY(0); }
.sticky-cta__text {
  font-family: var(--sub); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; opacity: 0.9;
}
.sticky-cta .btn {
  padding: 0.6rem 1.6rem;
  font-size: 0.65rem;
  border-radius: 12px;
}

/* ============================================================
   PAGE HEADER — inner page title area
   ============================================================ */
.page-header {
  padding: clamp(8rem, 5rem + 12vw, 12rem) var(--space-container) var(--space-section);
  text-align: center;
  background: #000;
  overflow: hidden;
  color: var(--cream);
  position: relative;
  overflow-x: hidden;
}
.page-header__label {
  font-family: var(--sub); font-size: var(--text-label);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--comp-blue);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: phFadeUp 0.6s 0.1s ease forwards;
}
.page-header__title {
  font-family: var(--h1); font-weight: 700;
  font-size: var(--text-hero); line-height: 1.1;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: phZoomIn 0.9s ease forwards;
}
.page-header__title::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--warm));
  margin: 0.6rem auto 0;
  animation: phLineSlide 0.7s 0.6s ease forwards;
}
.page-header__sub {
  max-width: 480px; margin: 1rem auto 0;
  font-size: var(--text-lg); line-height: 1.75;
  opacity: 0;
  animation: phFadeUpSub 0.7s 0.3s ease forwards;
}

@keyframes phZoomIn {
  from { opacity: 0; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes phLineSlide {
  from { width: 0; }
  to   { width: 60%; }
}
@keyframes phFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes phFadeUpSub {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 0.5; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .page-header__label,
  .page-header__title,
  .page-header__sub,
  .page-header__title::after,
  .hero__hook::after { animation: none; opacity: 1; }
  .page-header__sub { opacity: 0.5; }
  .page-header__title::after,
  .hero__hook::after { width: 60%; }
}

/* ============================================================
   CONTACT FORM (Programs page)
   ============================================================ */
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form__field {
  font-family: var(--body);
  font-size: var(--text-base);
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(237, 226, 216, 0.15);
  background: rgba(237, 226, 216, 0.06);
  color: var(--cream);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}
.contact-form__field::placeholder { color: rgba(237, 226, 216, 0.4); }
.contact-form__field:focus { border-color: rgba(237, 226, 216, 0.4); }
.contact-form__field--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ede2d8' stroke-width='1.5' fill='none' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.5rem;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Paper-background variant */
.contact-form--paper .contact-form__field {
  border-color: rgba(61, 62, 54, 0.12);
  background: rgba(61, 62, 54, 0.03);
  color: var(--dark);
}
.contact-form--paper .contact-form__field::placeholder { color: rgba(61, 62, 54, 0.35); }
.contact-form--paper .contact-form__field:focus { border-color: rgba(61, 62, 54, 0.3); }
.contact-form--paper .contact-form__field--select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%233d3e36' stroke-width='1.5' fill='none' opacity='0.3'/%3E%3C/svg%3E");
}

/* ============================================================
   WATCH PAGE — video grid
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-container);
}
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
}
.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}
.video-card.is-active iframe {
  pointer-events: auto;
}

/* ============================================================
   COMING SOON placeholder
   ============================================================ */
.coming-soon {
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border: 1px dashed rgba(237, 226, 216, 0.15);
  text-align: center;
  opacity: 0.4;
}
.coming-soon--paper {
  border-color: rgba(61, 62, 54, 0.12);
}
.coming-soon__label {
  font-family: var(--sub); font-size: var(--text-label);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage);
}

/* ============================================================
   PROGRAMS SHOWCASE — card grid
   ============================================================ */
.programs-showcase {
  height: 120vh;
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
  justify-content: center;
}
.programs-showcase {
  overflow: visible;
  min-height: auto;
  height: auto;
}
.programs-showcase .section__inner {
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.prog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-container);
  margin-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.prog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid rgba(237, 226, 216, 0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
  text-decoration: none;
  color: var(--dark);
  min-height: 750px;
}
.prog-card:hover {
  border-color: rgba(200, 146, 74, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(200, 146, 74, 0.06);
}
/* Image — absolute, stretches to full on hover */
.prog-card__img {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  background: var(--dark);
  z-index: 0;
  transition: height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.prog-card:hover .prog-card__img {
  height: 100%;
}
.prog-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  opacity: 0;
  transition: opacity 0.7s ease, background 0.7s ease;
  pointer-events: none;
}
.prog-card:hover .prog-card__img::after {
  background: rgba(0,0,0,0.55);
  opacity: 1;
}
.prog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.prog-card:hover .prog-card__img img {
  transform: scale(1.1);
}
/* Spacer — pushes body below the 50% absolute image (matches image height exactly) */
.prog-card::before {
  content: '';
  display: block;
  height: 50%;
  flex-shrink: 0;
  transition: height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.prog-card:hover::before {
  height: 0;
}
/* Body — cream area below image, centers on hover */
.prog-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  flex: 1;
  gap: 0;
  position: relative;
  z-index: 1;
}
/* Fade out desc/price/proof on hover, collapse them so title+CTA center */
.prog-card__price,
.prog-card__desc,
.prog-card__proof {
  transition: opacity 0.6s ease, transform 0.6s ease, max-height 0.6s ease, margin 0.6s ease;
  overflow: hidden;
}
.prog-card__desc { max-height: 10em; }
.prog-card:hover .prog-card__price,
.prog-card:hover .prog-card__desc,
.prog-card:hover .prog-card__proof {
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  margin: 0;
  pointer-events: none;
}
.prog-card__price {
  font-family: var(--sub);
  font-size: var(--text-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.prog-card__title {
  font-family: var(--h2);
  font-size: clamp(1.3rem, 1rem + 1.27vw, 1.95rem);
  color: var(--black);
  margin-top: 1rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  width: 100%;
  transition: color 0.7s ease, text-shadow 0.7s ease;
}
.prog-card:hover .prog-card__title {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.prog-card__desc {
  font-size: var(--text-base);
  color: var(--dark);
  opacity: 0.8;
  line-height: 1.65;
  margin-bottom: 2rem;
  flex: 1;
}
/* CTA — slides to vertical center on hover */
.prog-card .btn {
  width: fit-content;
  align-self: center;
  padding: 0.75rem 2rem;
  position: relative;
  z-index: 2;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.prog-card:hover .btn {
  transform: none;
  border-color: var(--cream);
}
.prog-card__proof {
  font-family: var(--sub);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.35;
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: #000;
  overflow: hidden;
}

/* ============================================================
   GENERIC REVEAL — fade in on scroll
   ============================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-on-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   INNER PAGE ENERGY — hover, animation, polish upgrades
   ============================================================ */

/* Ghost number glow (programs page) */
@keyframes ghost-glow {
  0%, 100% { opacity: 0.04; }
  50% { opacity: 0.08; }
}
.prog [class*="ghost"]:not(.prog__ghost-img) {
  animation: ghost-glow 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .prog [class*="ghost"]:not(.prog__ghost-img) { animation: none; }
}

/* Prog ghost image — grayscale-to-color hover */
.prog__ghost-img {
  transition: filter 0.6s ease, transform 0.6s ease, opacity 0.6s ease;
}
@media (hover: hover) {
  .prog__ghost-img:hover {
    filter: grayscale(0) brightness(1.1);
    transform: scale(1.03);
    opacity: 1;
  }
}

/* Coming-soon dashed border pulse */
@keyframes coming-soon-pulse {
  0%, 100% { border-color: rgba(237, 226, 216, 0.15); }
  50% { border-color: rgba(237, 226, 216, 0.3); }
}
.coming-soon {
  animation: coming-soon-pulse 6s ease-in-out infinite;
}
.coming-soon--paper {
  animation-name: coming-soon-pulse-paper;
}
@keyframes coming-soon-pulse-paper {
  0%, 100% { border-color: rgba(61, 62, 54, 0.12); }
  50% { border-color: rgba(61, 62, 54, 0.25); }
}
@media (prefers-reduced-motion: reduce) {
  .coming-soon, .coming-soon--paper { animation: none; }
}

/* Contact form focus glow */
.contact-form--paper .contact-form__field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 146, 74, 0.3);
}

/* Video card hover */
.video-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 2px solid transparent;
}
@media (hover: hover) {
  .video-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-bottom-color: rgba(200, 146, 74, 0.4);
  }
}

/* Values grid card hover (about page) */
.section--dark .offers-grid .stat {
  transition: transform 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  padding: clamp(1.25rem, 1rem + 1.07vw, 1.75rem);
}
@media (hover: hover) {
  .section--dark .offers-grid .stat:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 146, 74, 0.3);
  }
  .section--dark .offers-grid .stat:hover .stat__label {
    opacity: 0.7;
  }
}

/* Stats row — GSAP handles staggered reveal */

/* About quote — gold left border accent */
.about-quote {
  border-left: 3px solid rgba(200, 146, 74, 0.4);
  padding-left: 1.5rem;
}

/* Essay tag hover glow */
@media (hover: hover) {
  .essay-tag {
    transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  }
  .essay-tag:hover {
    border-color: rgba(200, 146, 74, 0.5);
    color: var(--gold);
    box-shadow: 0 0 8px rgba(200, 146, 74, 0.15);
  }
}

/* Essays-more / YouTube link — gold shift + arrow animation */
.essays-more {
  transition: opacity 0.3s, color 0.3s ease;
}
@media (hover: hover) {
  .essays-more:hover {
    border-color: var(--gold);
    opacity: 0.85;
  }
}

/* Watermark slow drift — desktop: subtle rotation */
@keyframes watermark-drift {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(3deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}
.section--paper .watermark {
  animation: watermark-drift 21s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .section--paper .watermark { animation: none; }
}

/* ============================================================
   RESPONSIVE — TABLET (768px)
   ============================================================ */
@media (min-width: 600px) {
  .stats-row { gap: 3rem; }
  .stats-row--5 { max-width: 720px; }
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 1.875rem + 4.76vw, 5rem); }
}

@media (max-width: 1100px) {
  .offers-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .video-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .prog-cards { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; }
  .prog-cards .prog-card:last-child { grid-column: 1 / -1; justify-self: center; max-width: calc(50% - 0.5rem); }
  .arc__grid { grid-template-columns: 1fr; gap: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
  .stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; justify-items: center; }
  .stats-row .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav { padding: 0.75rem var(--space-container); padding-left: var(--space-container); align-items: center; }
  .nav__left { display: none; }
  .nav__right { display: none; }
  .nav__pill-subscribe,
  .nav__pill-menu,
  .nav__pill-dropdown,
  .nav__link-sub { display: none !important; visibility: hidden !important; }
  .nav__menu-btn { display: flex !important; position: absolute; left: var(--space-container); top: 50%; transform: translateY(-50%); z-index: 60; }
  .nav__logo { margin-left: 0; justify-self: center; }
  .nav--scrolled .nav__left,
  .nav--scrolled .nav__right { display: none !important; }
  .nav--scrolled .nav__menu-btn { display: flex !important; left: var(--space-container); }
  .nav--scrolled { max-width: 100% !important; border-radius: 0 !important; grid-template-columns: 1fr auto 1fr; padding: 0.6rem var(--space-container) !important; top: 0 !important; }

  .hero { min-height: 100vh; }
  .hero__btns { flex-direction: column; align-items: center; }
  .hero__btns .btn { width: fit-content; min-width: 180px; text-align: center; }
  .hero__scroll { display: none; }

  .arc__grid { gap: 1.5rem; max-width: 480px; }
  .arc__title { font-size: var(--text-h4); }
  .arc__body { font-size: var(--text-base); }

  .prog { min-height: auto; height: auto; }
  .prog__ghost { font-size: clamp(8rem, 5rem + 12.8vw, 18rem); }
  .prog--somatic .prog__ghost { font-size: clamp(10rem, 6.25rem + 16vw, 22rem); }
  .prog__ghost-img { width: clamp(200px, 12.5rem + 10vw, 340px); }
  .prog--coaching { min-height: auto; height: auto; }
  .prog__inner { max-width: 100%; }
  .prog__title { font-size: var(--text-h2); }
  .prog--somatic .prog__title { font-size: var(--text-h2); }

  .about-emblem { width: 90%; max-width: 380px; }

  .prog-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; gap: 1.5rem; }
  .prog-cards .prog-card:last-child { grid-column: auto; justify-self: auto; max-width: none; }
  .prog-card { min-height: 700px; }
  .prog-card__title { font-size: clamp(1.3rem, 1rem + 1.27vw, 1.95rem); }
  .prog-card__desc { font-size: var(--text-base); }

  .footer__links { gap: 0.75rem; }
  .footer__left { align-items: center; text-align: center; }
  .footer__pages { justify-content: center; }
  .footer__socials { justify-content: center; }
  .footer__extras { justify-content: center; }
  .footer__copy { text-align: center; }

  .footer__btns { flex-direction: column; align-items: center; }
  .footer__btns .btn { width: fit-content; min-width: 180px; text-align: center; }

  .sticky-cta { display: none; }
  .sticky-cta .btn { width: fit-content; text-align: center; }

  .about-bio .about-text { text-align: center; }
  .about-block--left,
  .about-block--right { text-align: center; margin: 0 auto; }
  .testimonial { text-align: center; }
  .essay-item { text-align: center; }
  .prog-duo__card { text-align: center; align-items: center; }

  .section:not(.hero) { min-height: auto; height: auto; }
  .section__inner { max-width: 100%; }
  .essay-item { padding: clamp(1.25rem, 1rem + 0.75vw, 1.75rem) clamp(1rem, 0.75rem + 1vw, 2rem); }

  .page-header { padding-top: clamp(6rem, 4rem + 8vw, 9rem); }
  .page-header__title { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem); }
}

/* ============================================================
   RESPONSIVE — MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
  .nav { grid-template-columns: 1fr; padding: 0.6rem var(--space-container); align-items: center; justify-items: center; position: absolute; }
  .nav__left { display: none; }
  .nav__right { display: none; }
  .nav__logo { margin-left: 0; justify-self: center; opacity: 1 !important; }
  .nav:not(.nav--inner) .nav__logo { -webkit-filter: invert(1) brightness(2) !important; filter: invert(1) brightness(2) !important; }
  .nav--inner .nav__logo { -webkit-filter: brightness(0.2) !important; filter: brightness(0.2) !important; }
  .nav__menu-btn { display: flex; }
  .nav--scrolled .nav__menu-btn { position: absolute; left: var(--space-container); }
  .nav--scrolled { padding: 0.6rem var(--space-container) !important; max-width: 100% !important; border-radius: 0 !important; grid-template-columns: 1fr auto 1fr; top: 0 !important; }
  .nav--scrolled .nav__logo { width: clamp(100px, 6.25rem + 3vw, 140px); }

  /* Inner pages: show logo + mobile menu btn side by side */
  .nav--inner:not(.nav--scrolled) { grid-template-columns: auto 1fr auto; }
  .nav--inner:not(.nav--scrolled) .nav__menu-btn { display: flex; position: absolute; left: var(--space-container); top: 50%; transform: translateY(-50%); }
  .nav--inner .nav__burger-line { background: var(--dark); }
  .nav__menu-btn--open .nav__burger-line { background: var(--cream) !important; }
  .nav--inner:not(.nav--scrolled) .nav__left { display: none; }
  .nav--inner:not(.nav--scrolled) .nav__right { display: none; }
  .nav--inner:not(.nav--scrolled) .nav__logo { display: block; width: clamp(110px, 7rem + 3vw, 150px); margin-left: 0; justify-self: center; }

  .hero { min-height: 100svh; height: 100svh; }
  .hero__hook { font-size: clamp(1.5rem, 1.143rem + 1.52vw, 2.25rem); margin-bottom: 0.75rem; }
  .hero__sub { font-size: var(--text-base); margin-bottom: 1rem; }
  .hero__proof { margin-bottom: 1.5rem; }
  .hero__btns .btn { width: fit-content; min-width: 160px; }

  .arc__grid { grid-template-columns: 1fr; gap: 1.5rem; max-width: 400px; }
  .arc__col:nth-child(2)::before { transition-delay: 0.3s; }
  .arc__col:nth-child(3)::before { transition-delay: 0.3s; }
  .arc__title { font-size: var(--text-h4); }
  .arc__body { font-size: var(--text-base); }

  .work-strip { padding: 2rem var(--space-container); }
  .work-strip .h2 { font-size: var(--text-h4); }

  .prog { min-height: auto; padding-top: clamp(3rem, 2rem + 4vw, 5rem); padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
  .prog__ghost { font-size: clamp(4rem, 2.5rem + 6.4vw, 8rem); right: -5% !important; }
  .prog--somatic .prog__ghost { font-size: clamp(6rem, 3.75rem + 9.6vw, 12rem); }
  .prog--coaching { min-height: auto; padding-top: clamp(4rem, 2.5rem + 6.4vw, 6rem); padding-bottom: clamp(4rem, 2.5rem + 6.4vw, 6rem); }
  .prog__ghost-img { width: 160px; opacity: 0.4; }
  .prog__desc { max-width: 100%; font-size: 0.875rem; }
  .prog__title { font-size: clamp(1.25rem, 1.071rem + 0.76vw, 1.75rem); }
  .prog--somatic .prog__title { font-size: clamp(1.5rem, 1.143rem + 1.52vw, 2rem); }
  .prog__label { margin-bottom: 0.75rem; }
  .prog__proof { margin-top: 0.75rem; }

  .prog-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 2rem; }
  .prog-card { min-height: auto; }
  .prog-card::before { display: none; }
  .prog-card__img { position: relative; height: auto; aspect-ratio: 16 / 9; }

  .about-text p { max-width: 100%; font-size: var(--text-base); }
  .about-bio .about-text { text-align: center; }
  .about-quote { font-size: var(--text-base); padding-left: 1rem; }
  .about-emblem { width: 85%; max-width: 340px; margin: 0 auto; }
  .stat__num { font-size: var(--text-h2); }
  .about-block--left,
  .about-block--right { text-align: center; margin: 0 auto; }
  .about-hero__name { font-size: var(--text-h1); }

  .essay-item { flex-direction: column; align-items: center; justify-content: center; padding: 1.25rem 1rem; max-width: 100%; box-sizing: border-box; text-align: center; }
  .essay-item__right { text-align: center; }
  .essay-title { font-size: var(--text-base); }
  .essay-excerpt { font-size: 0.875rem; }
  .essay-carousel { text-align: center; }

  .testimonial { text-align: center; }

  .prog-duo { flex-direction: column; align-items: center; }
  .prog-duo__card { text-align: center; align-items: center; }

  .podcast-card { min-width: auto; max-width: 100%; }

  .final-cta { height: auto; min-height: auto; }
  .final-cta__split { flex-direction: column; }
  .final-cta__img { position: relative; width: 100%; height: 40vh; }
  .final-cta__text { margin-left: 0; padding: clamp(2rem, 1.5rem + 3vw, 4rem) var(--space-container); align-items: center; text-align: center; }
  .footer__cta-title { font-size: var(--text-h2); }
  .footer__cta-body { font-size: var(--text-base); max-width: 100%; }

  .footer__left { align-items: center; text-align: center; }
  .footer__pages { justify-content: center; }
  .footer__socials { justify-content: center; }
  .footer__extras { justify-content: center; }
  .footer__copy { text-align: center; }

  .footer__links { gap: 0.6rem 1rem; }
  .footer__link { font-size: 0.55rem; }

  .section:not(.hero) { min-height: auto; height: auto; }

  .page-header { padding-top: clamp(5rem, 3rem + 8vw, 7rem); }
  .page-header__title { font-size: var(--text-h2); }

  .h2 { font-size: clamp(1.375rem, 1.1rem + 1.17vw, 1.75rem); }

  .section__inner { max-width: 100%; overflow-x: hidden; }
  .essay-carousel { max-width: 100%; overflow: hidden; }
}

/* COMING SOON / PLACEHOLDER PAGE */
.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  background: var(--black);
  color: var(--cream);
  text-align: center;
  padding: var(--space-section) var(--space-container);
}
.coming-soon__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 480px;
}
.coming-soon__logo {
  width: clamp(140px, 10rem + 2vw, 200px);
  height: auto;
  opacity: 0.7;
  margin-bottom: 1rem;
}
.coming-soon__title {
  font-family: var(--h1);
  font-size: var(--text-h2);
  line-height: 1.2;
  color: var(--cream);
}
.coming-soon__body {
  font-family: var(--body);
  font-size: var(--text-lg);
  opacity: 0.5;
  line-height: 1.6;
}
.coming-soon__back {
  margin-top: 1rem;
  width: fit-content;
}

/* Store modal trigger — reset button to match footer link style */
button.footer__page-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--sub);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  position: relative;
  line-height: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* WIP MODAL */
.wip-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 11, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.wip-modal-overlay--open {
  opacity: 1;
  pointer-events: auto;
}
.wip-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 3rem 3.5rem;
  background: rgba(30, 30, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  max-width: 380px;
  width: 85%;
}
.wip-modal__logo {
  width: clamp(130px, 9rem + 2vw, 170px);
  height: auto;
  opacity: 0.8;
}
.wip-modal__text {
  font-family: var(--h2);
  font-size: var(--text-h2);
  color: var(--cream);
  line-height: 1.3;
}
.wip-modal__close {
  margin-top: 0.25rem;
  width: fit-content;
  cursor: pointer;
}

/* SUBSCRIBE IFRAME MODAL */
.sub-modal {
  position: relative;
  width: 90%;
  max-width: 480px;
  background: var(--cream-lt);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}
.sub-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  z-index: 2;
}
.sub-modal__close:hover { opacity: 1; }
.sub-modal__iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: none;
}

/* ============================================================
   TIER 2 — GSAP / Lenis / SplitType support
   ============================================================ */

/* Lenis smooth scroll */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* Prevent FOUC on SplitType targets */
.word { display: inline-block; }

/* Parallax image containers need overflow hidden */
.arc { overflow: hidden; }
.final-cta__img img {
  will-change: transform;
}

/* ── CSS Cloaking: hide elements before GSAP initializes ── */
/* Elements that GSAP will animate start hidden in CSS.
   GSAP's autoAlpha/opacity animations take over naturally.
   Safety fallback: if JS fails, elements reveal after 3s. */

/* Hero entrance elements (immediate, not scroll-triggered) */
.hero__hook,
.hero__sub,
.hero__proof,
.hero__btns,
/* Inner page header entrance elements */
.page-header__label,
.page-header__title,
.page-header__sub,
/* Scroll-triggered elements (autoAlpha: 0 in GSAP) */
.arc__col,
.arc__label,
.prog-card,
.stat,
.testimonial,
.final-cta__text,
.final-cta__inner,
.label,
.section-divider__line,
/* Inner page scroll-triggered elements */
.reveal-on-scroll .section__inner,
.about-emblem,
.prog__inner,
.offer-card,
.offer-featured,
.coming-soon {
  opacity: 0;
}

/* Safety fallback: if JS never loads, reveal everything after 3s */
@keyframes cloakFallback {
  to { opacity: 1; }
}

@media not (prefers-reduced-motion: reduce) {
  .hero__hook,
  .hero__sub,
  .hero__proof,
  .hero__btns,
  .page-header__label,
  .page-header__title,
  .page-header__sub,
  .arc__col,
  .arc__label,
  .prog-card,
  .stat,
  .testimonial,
  .final-cta__text,
  .final-cta__inner,
  .label,
  .section-divider__line,
  .reveal-on-scroll .section__inner,
  .about-emblem,
  .prog__inner,
  .offer-card,
  .offer-featured,
  .coming-soon {
    animation: cloakFallback 0s 3s forwards;
  }
}

/* Disable Tier 2 animations on reduced motion — show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .word { display: inline !important; }
  .lenis.lenis-smooth { scroll-behavior: smooth !important; }
  .hero__hook,
  .hero__sub,
  .hero__proof,
  .hero__btns,
  .page-header__label,
  .page-header__title,
  .page-header__sub,
  .arc__col,
  .arc__label,
  .prog-card,
  .stat,
  .testimonial,
  .final-cta__text,
  .final-cta__inner,
  .label,
  .section-divider__line,
  .reveal-on-scroll .section__inner,
  .about-emblem,
  .prog__inner,
  .offer-card,
  .offer-featured,
  .coming-soon {
    opacity: 1 !important;
    animation: none !important;
  }
}
