/* ========================================================================
   Wholesome Healing — Liam J. Adair
   Design system: mystical modern, refined, grounded
   ======================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  background: var(--bg-cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Color and type tokens ---------- */
:root {
  /* Mystical earth palette */
  --bg-cream: #F5F0E8;
  --bg-warm: #EDE4D3;
  --ink: #1F1B16;
  --ink-soft: #4A413A;
  --gold: #B8893A;
  --gold-light: #D4A858;
  --forest: #2D4A3E;
  --forest-light: #4A6B5C;
  --plum: #4A2545;
  --rose: #A85878;
  --stone: #8B7E6E;
  --paper: #FAF6EE;

  /* Pride accent strip */
  --pride-red: #E40303;
  --pride-orange: #FF8C00;
  --pride-yellow: #FFED00;
  --pride-green: #008026;
  --pride-blue: #004CFF;
  --pride-purple: #750787;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Type scale */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter Tight', system-ui, sans-serif;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: 500;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

a {
  color: var(--plum);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

/* ---------- Layout containers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--space-lg) 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 27, 22, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.nav-logo:hover img {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-size: 0.75rem !important;
  letter-spacing: 0.18em !important;
}

.nav-cta:hover {
  background: var(--gold);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(184, 137, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-text p.lead {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-warm);
  border: 1px solid rgba(31, 27, 22, 0.1);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  height: 100%;
  text-align: center;
  padding: 2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Section headers ---------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-md);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

/* ---------- Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  gap: 1rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  max-width: 200px;
}

.divider span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.pride-strip {
  display: flex;
  height: 4px;
  width: 100%;
}

.pride-strip > div {
  flex: 1;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--paper);
  padding: 2rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(31, 27, 22, 0.08);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--plum);
  margin-top: 1rem;
  font-weight: 500;
}

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ---------- Book grid ---------- */
.book-category {
  margin-bottom: 4rem;
}

.book-category-header {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.book-category-header h3 {
  color: var(--ink);
}

.book-category-header span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.book-item {
  padding: 1.5rem;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  transition: all 0.2s ease;
}

.book-item:hover {
  background: var(--bg-warm);
  border-left-color: var(--plum);
}

.book-item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.book-item .isbn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
  display: block;
}

.book-item .audience {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 0.5rem;
}

/* ---------- Forms ---------- */
.form-section {
  background: var(--paper);
  padding: 3rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--bg-cream);
  border: 1px solid rgba(31, 27, 22, 0.15);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-display);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-lg) 0 2rem;
  margin-top: var(--space-lg);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--pride-red) 0%, var(--pride-red) 16.66%,
    var(--pride-orange) 16.66%, var(--pride-orange) 33.33%,
    var(--pride-yellow) 33.33%, var(--pride-yellow) 50%,
    var(--pride-green) 50%, var(--pride-green) 66.66%,
    var(--pride-blue) 66.66%, var(--pride-blue) 83.33%,
    var(--pride-purple) 83.33%, var(--pride-purple) 100%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer a {
  color: rgba(250, 246, 238, 0.7);
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--gold-light);
}

.footer p {
  color: rgba(250, 246, 238, 0.6);
  font-size: 0.95rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 1rem;
}

.footer-brand em {
  color: var(--gold-light);
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.5);
}

/* ---------- Quote / testimonial ---------- */
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 2rem 3rem;
}

.quote::before,
.quote::after {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  line-height: 1;
}

.quote::before {
  content: '\201C';
  top: 0;
  left: 0;
}

.quote::after {
  content: '\201D';
  bottom: -1rem;
  right: 0;
}

.quote-attribution {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--stone);
  margin-top: 1.5rem;
  font-style: normal;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.bg-warm { background: var(--bg-warm); }
.bg-paper { background: var(--paper); }

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

.fade-up {
  animation: fadeUp 0.8s ease-out backwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-logo img { height: 42px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(31, 27, 22, 0.08);
  }
  .nav-links.open { display: flex; }

  section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-section { padding: 2rem 1.5rem; }

  h1 { font-size: 2.2rem; }
  .quote { font-size: 1.2rem; padding: 1.5rem; }
}

/* ========================================================================
   Cookie consent banner — GDPR / PDPA / CCPA
   ======================================================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  font-family: var(--font-sans);
  min-width: 250px;
}

.cookie-banner-text strong {
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.cookie-banner-text a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.cookie-btn-primary:hover {
  background: var(--gold-light);
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250, 246, 238, 0.3);
}
.cookie-btn-secondary:hover {
  border-color: var(--paper);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .cookie-banner-buttons {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
  }
}

/* ========================================================================
   Book cover image slots (ready for book photos when uploaded)
   ======================================================================== */
.book-item-with-cover {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
}

.book-cover {
  flex-shrink: 0;
  width: 100px;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--stone) 100%);
  overflow: hidden;
  border: 1px solid rgba(31, 27, 22, 0.1);
  position: relative;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-info {
  flex: 1;
  min-width: 0;
}

@media (max-width: 480px) {
  .book-item-with-cover {
    flex-direction: column;
  }
  .book-cover {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ========================================================================
   Naresonarq feature section
   ======================================================================== */
.naresonarq-feature {
  background: linear-gradient(135deg, var(--plum) 0%, var(--forest) 100%);
  color: var(--paper);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.naresonarq-feature::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 137, 58, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.naresonarq-feature h2 {
  color: var(--paper);
}

.naresonarq-feature h2 em {
  color: var(--gold-light);
  font-style: italic;
}

.naresonarq-feature p {
  color: rgba(250, 246, 238, 0.85);
}

.naresonarq-feature .eyebrow {
  color: var(--gold-light);
}

.naresonarq-feature .btn-secondary {
  border-color: var(--paper);
  color: var(--paper);
}
.naresonarq-feature .btn-secondary:hover {
  background: var(--paper);
  color: var(--plum);
}

/* ========================================================================
   Pricing pay buttons + price meta
   ======================================================================== */
.card-price .price-unit {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--stone);
  letter-spacing: 0.05em;
  margin-left: 0.35rem;
}

.card-pay {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--plum);
  color: var(--paper) !important;
  border: 1px solid var(--plum);
  transition: all 0.25s ease;
}
.card-pay:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink) !important;
}
.card-pay.secondary {
  background: transparent;
  color: var(--plum) !important;
  border-color: var(--plum);
}
.card-pay.secondary:hover {
  background: var(--plum);
  color: var(--paper) !important;
}

/* ---------- Pricing pay buttons ---------- */
.card-cta {
  margin-top: 1.5rem;
}
.btn-pay {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  background: var(--plum);
  border: 1px solid var(--plum);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn-pay:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-pay:active,
.btn-pay.is-opening {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}
.btn-pay:active { transform: scale(0.97); }
.btn-pay:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.card-price-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}
.card-included {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.85rem;
  line-height: 1.55;
}

/* ---------- Footer payments and pride ---------- */
.footer-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(250, 246, 238, 0.15);
  padding: 1.75rem 0 1.5rem;
}
.footer-payments-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(250, 246, 238, 0.5);
  margin-bottom: 0.7rem;
}
.payments-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.payments-row img {
  height: 26px;
  width: auto;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.footer-pride {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(250, 246, 238, 0.78);
}
.pride-flag {
  height: 30px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  display: block;
}
@media (max-width: 640px) {
  .footer-extra { justify-content: center; text-align: center; }
  .payments-row { justify-content: center; }
}

/* Six Session Package included-services list */
ul.included-list {
  list-style: none;
  padding-left: 0;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
ul.included-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
}
ul.included-list li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--gold);
  font-size: 0.8rem;
}

/* Scheduling helper line under each service */
.card-schedule-note {
  font-size: 0.82rem;
  color: var(--gold);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

/* ========================================================================
   Media page — featured player, episode grid, press grid, lightbox
   ======================================================================== */

/* Keeps the In Print section fully hidden while it has no articles yet */
[hidden] {
  display: none !important;
}

/* ---------- Featured video ---------- */
.video-feature {
  max-width: 940px;
  margin: 0 auto;
  background: #14110E;
  border: 1px solid rgba(184, 137, 58, 0.35);
  box-shadow: 0 18px 60px rgba(31, 27, 22, 0.18);
  line-height: 0;
}

.video-feature video {
  display: block;
  width: 100%;
  height: auto;
  background: #14110E;
}

.video-caption {
  max-width: 940px;
  margin: 1.25rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.video-outlet {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 500;
}

/* ---------- Episode grid ---------- */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.episode-card {
  background: var(--paper);
  border: 1px solid rgba(31, 27, 22, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  width: 100%;
}

.episode-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(31, 27, 22, 0.08);
}

.episode-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest) 0%, var(--plum) 100%);
}

.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.episode-card:hover .episode-thumb img {
  transform: scale(1.04);
}

.episode-duration {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  background: rgba(20, 17, 14, 0.82);
  color: var(--bg-cream);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
}

.episode-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 17, 14, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.episode-card.is-playable:hover .episode-play,
.episode-card.is-playable:focus-visible .episode-play {
  opacity: 1;
}

.episode-play span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.94);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  padding-left: 5px;
}

.episode-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.episode-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.episode-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.episode-meta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.episode-status {
  margin-top: auto;
  padding-top: 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.episode-card.is-playable {
  cursor: pointer;
}

.episode-card.is-playable .episode-status {
  color: var(--gold);
}

/* ---------- Press grid ---------- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.press-card {
  display: block;
  background: var(--paper);
  border: 1px solid rgba(31, 27, 22, 0.08);
  transition: all 0.3s ease;
  color: var(--ink);
}

.press-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(31, 27, 22, 0.08);
  color: var(--ink);
}

.press-thumb {
  display: block; /* the card is not a flex parent, so these spans need blockifying */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--stone) 100%);
}

.press-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.press-body {
  display: block;
  padding: 1.35rem;
}

.press-outlet {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.press-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.press-date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--stone);
}

/* ---------- Video lightbox ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 17, 14, 0.93);
  padding: 2rem;
}

.video-modal.open {
  display: flex;
}

.video-modal-inner {
  width: 100%;
  max-width: 1080px;
  position: relative;
}

.video-modal video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  border: 1px solid rgba(184, 137, 58, 0.35);
}

.video-modal-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.75);
  margin-top: 1rem;
}

.video-modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: var(--bg-cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0.25rem 0.5rem;
}

.video-modal-close:hover {
  color: var(--gold-light);
}

@media (max-width: 640px) {
  .video-caption {
    justify-content: flex-start;
  }
  .video-modal {
    padding: 1rem;
  }
  .video-modal-close {
    top: -2.5rem;
  }
}

/* ---------- Media page: lead statement ---------- */
.page-lead {
  max-width: 680px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.page-lead p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.page-lead-close {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  font-style: italic;
  margin-top: 1.3rem;
  line-height: 1.3;
}

/* ---------- Media page: image rows ---------- */
.media-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.media-row.compact {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.media-item {
  display: block;
  color: var(--ink);
}

a.media-item:hover {
  color: var(--ink);
}

.media-item.narrow .media-frame {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.media-frame {
  display: block;
  background: var(--paper);
  border: 1px solid rgba(31, 27, 22, 0.1);
  padding: 0.55rem;
  transition: all 0.3s ease;
  line-height: 0;
  position: relative;
}

a.media-item:hover .media-frame {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(31, 27, 22, 0.1);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.media-cap {
  display: block;
  margin-top: 1rem;
  line-height: 1.5;
}

.media-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.media-cap h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.media-cap p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.media-link {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--plum);
  display: inline-block;
  margin-top: 0.6rem;
}

a.media-item:hover .media-link {
  color: var(--gold);
}

/* ---------- Media page: award blocks ---------- */
.award-block {
  margin-bottom: 4.5rem;
}

.award-block:last-child {
  margin-bottom: 0;
}

.award-head {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
  color: var(--ink-soft);
}

.award-head span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.give-note {
  max-width: 620px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--ink-soft);
  line-height: 1.75;
}

.give-note a {
  color: var(--plum);
  border-bottom: 1px solid rgba(74, 37, 69, 0.35);
}

.give-note a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Media page: speaking block ---------- */
.event-row {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}

.event-video {
  line-height: 0;
  position: relative;
  border: 1px solid rgba(31, 27, 22, 0.12);
  background: #14110E;
}

.event-video video,
.event-video img {
  width: 100%;
  height: auto;
  display: block;
}

.event-card {
  display: block;
  background: var(--paper);
  border: 1px solid rgba(31, 27, 22, 0.1);
  padding: 2.25rem;
  transition: all 0.3s ease;
  color: var(--ink);
}

.event-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(31, 27, 22, 0.08);
  color: var(--ink);
}

.event-card h3 {
  font-size: 1.6rem;
  margin: 0.35rem 0 0.9rem;
}

.event-card p {
  color: var(--ink-soft);
}

.event-card:hover .media-link {
  color: var(--gold);
}

@media (max-width: 820px) {
  .event-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .media-row.compact {
    grid-template-columns: 1fr;
  }
}

/* ---------- Media page: episode carousel ---------- */
.carousel-wrap {
  position: relative;
}

.carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 1.25rem;
  scrollbar-width: thin;
}

.carousel::-webkit-scrollbar {
  height: 6px;
}

.carousel::-webkit-scrollbar-thumb {
  background: rgba(184, 137, 58, 0.45);
}

.carousel > .episode-card {
  flex: 0 0 clamp(258px, 30%, 340px);
  scroll-snap-align: start;
}

.carousel-nav {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 27, 22, 0.18);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ---------- Review source mark ---------- */
.quote-source {
  display: inline-block;
  margin-top: 1.4rem;
  line-height: 0;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.quote-source:hover {
  opacity: 1;
}

.quote-source img {
  width: 124px;
  height: auto;
  display: block;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(31, 27, 22, 0.12);
  padding: 2rem 0;
}

.faq-item:first-child {
  border-top: 1px solid rgba(31, 27, 22, 0.12);
}

.faq-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  color: var(--ink);
}

.faq-item p {
  color: var(--ink-soft);
  line-height: 1.8;
}

.faq-item p + p {
  margin-top: 0.9rem;
}

.faq-group-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: block;
  max-width: 820px;
  margin: 3.5rem auto 1.25rem;
}

.faq-group-label:first-of-type {
  margin-top: 0;
}

/* ---------- Naresonarq: brand lockup ---------- */
.nq-lockup {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.nq-lockup img {
  height: 72px;
  width: auto;
  display: block;
}

.nq-wordmark {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 1.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--paper);
}

.nq-promo {
  margin: 0 auto;
  max-width: 1024px;
}

.nq-promo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .nq-lockup img {
    height: 56px;
  }
  .nq-wordmark {
    font-size: 1.2rem;
  }
}

/* ============================================================
   NARESONARQ HERO — the Green Sanctuary, design system v4 §2.1
   The lockup and the app mockup are both dark-ink artwork,
   so this hero runs on the Bone ground rather than the Void.
   Kept separate from .naresonarq-feature, which index.html uses.
   ============================================================ */
.nq-hero {
  background: #F6F3EA;
  color: #22302A;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #E2DDD0;
}

.nq-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 180%;
  background: radial-gradient(circle, rgba(169, 191, 168, 0.30) 0%, transparent 62%);
  pointer-events: none;
}

.nq-hero .hero-grid {
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}

.nq-lockup-img {
  display: block;
  width: auto;
  height: 190px;
  margin-bottom: 1.75rem;
}

.nq-hero h1 {
  color: #22302A;
  margin-bottom: 1.5rem;
}

.nq-hero h1 em {
  color: #2F5243;
  font-style: italic;
}

.nq-hero .lead {
  color: #5C6A61;
}

/* The mockup is a transparent cut-out. No card, no crop. */
.nq-hero-shot {
  display: flex;
  justify-content: center;
}

/* The clip's surround was keyed to Bone at encode time, so it sits on
   the hero with no visible rectangle. The phone floats, like the one
   in The App section below. */
.nq-hero-shot video {
  width: 100%;
  max-width: 330px;
  height: auto;
  display: block;
  background: #F6F3EA;
}

.nq-hero-shot img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 42px rgba(34, 48, 42, 0.20));
}

/* The daylight face, a transparent cut-out. No card, no crop. */
.nq-pathway {
  display: flex;
  justify-content: center;
}

.nq-pathway img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 48px rgba(34, 48, 42, 0.22));
}

.nq-hero .btn-primary {
  background: #2F5243;
  border-color: #2F5243;
  color: #F6F3EA;
}

.nq-hero .btn-primary:hover {
  background: #22302A;
  border-color: #22302A;
}

.nq-hero .btn-secondary {
  color: #22302A;
  border-color: rgba(34, 48, 42, 0.35);
}

.nq-hero .btn-secondary:hover {
  background: rgba(34, 48, 42, 0.06);
  border-color: #22302A;
}

@media (max-width: 900px) {
  .nq-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nq-hero-shot video,
  .nq-hero-shot img {
    max-width: 300px;
  }
  .nq-pathway img {
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .nq-lockup-img {
    height: 140px;
  }
  .nq-hero {
    padding: 3.5rem 0 3rem;
  }
}


/* =====================================================================
   Founding Cohort: Crystal Layout Practitioner Certification (2026-10-01)
   ===================================================================== */
.cohort-teaser {
  background: linear-gradient(135deg, var(--plum) 0%, var(--forest) 100%);
  color: var(--paper);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.cohort-teaser::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 55%;
  height: 220%;
  background: radial-gradient(circle, rgba(184, 137, 58, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cohort-teaser-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cohort-teaser .eyebrow { color: var(--gold-light); }
.cohort-teaser h2 { color: var(--paper); }
.cohort-teaser h2 em { color: var(--gold-light); font-style: italic; }
.cohort-teaser p { color: rgba(250, 246, 238, 0.86); }
.cohort-teaser .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cohort-teaser .btn-primary:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.cohort-teaser .btn-secondary { color: var(--paper); border-color: rgba(250, 246, 238, 0.7); }
.cohort-teaser .btn-secondary:hover { background: var(--paper); color: var(--ink); }
.cohort-teaser-map img {
  width: 100%;
  max-width: 340px;
  display: block;
  margin-left: auto;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}
.cohort-fineprint {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--stone);
  margin-top: 1.25rem;
}
.cohort-map-link img,
.cohort-map img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(31, 27, 22, 0.1);
  box-shadow: 0 18px 50px rgba(31, 27, 22, 0.12);
  background: #fff;
}
.cohort-map figcaption {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: 0.75rem;
  text-align: center;
}
.cohort-pain {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.cohort-pain li {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
  padding-left: 2rem;
  position: relative;
}
.cohort-pain li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.65rem;
  height: 0.65rem;
  transform: rotate(45deg);
  background: var(--gold);
}
.cohort-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.cohort-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.6;
}
.cohort-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--forest-light);
}
.cohort-fit { align-items: start; }
.cohort-fit h3 { margin-top: 0.25rem; }
.cohort-classes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}
.cohort-price-main { border-color: var(--gold); }
.cohort-sessions { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cohort-guarantee {
  max-width: 720px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--ink-soft);
}
.cohort-guarantee strong { color: var(--plum); font-weight: 600; }
.cohort-teacher-img img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
}
.cohort-disclaimer {
  font-size: 0.85rem;
  color: var(--stone);
  text-align: center;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .cohort-teaser-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cohort-teaser-map img { margin: 0 auto; max-width: 260px; }
}
@media (max-width: 640px) {
  .cohort-classes { grid-template-columns: 1fr; }
  .cohort-pain li { font-size: 1.15rem; }
}

/* =====================================================================
   Cohort page motion and depth (2026-10-02)
   Kinetic headline, word rotator, gemstone marquee, count-up stats,
   3D tilt cards with glare, staggered scroll reveals.
   All motion stands down under prefers-reduced-motion.
   ===================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Hero ---------- */
.cohort-hero { padding-bottom: 4rem; }
.cohort-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(60px); opacity: 0.55;
}
.cohort-orb-a { width: 420px; height: 420px; top: -120px; left: -140px;
  background: radial-gradient(circle, rgba(168, 88, 120, 0.35), transparent 70%);
  animation: orb-drift 18s ease-in-out infinite alternate; }
.cohort-orb-b { width: 520px; height: 520px; bottom: -220px; right: -160px;
  background: radial-gradient(circle, rgba(45, 74, 62, 0.32), transparent 70%);
  animation: orb-drift 22s ease-in-out infinite alternate-reverse; }
.cohort-orb-c { width: 600px; height: 600px; top: 50%; left: 50%; margin: -300px 0 0 -300px;
  background: radial-gradient(circle, rgba(184, 137, 58, 0.22), transparent 70%);
  animation: orb-breathe 9s ease-in-out infinite; }
@keyframes orb-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes orb-breathe { 0%, 100% { transform: scale(0.9); opacity: 0.4; } 50% { transform: scale(1.08); opacity: 0.7; } }

.kinetic-title em { color: var(--plum); }
.kinetic-title em .kw-in {
  background: linear-gradient(100deg, var(--plum) 0%, var(--rose) 35%, var(--gold) 55%, var(--plum) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--plum);
  animation: word-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards, shimmer-text 7s ease-in-out 1.6s infinite;
}
@keyframes shimmer-text { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

html.motion-on .kinetic-title:not(.is-split) { opacity: 0; }
.kinetic-title .kw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
.kinetic-title .kw-in {
  display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0;
  animation: word-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes word-rise { to { transform: translateY(0) rotate(0); opacity: 1; } }

.cohort-rotator {
  font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0.02em;
  color: var(--ink-soft); margin: 0.9rem 0 1.4rem; display: flex; gap: 0.4em; align-items: baseline; flex-wrap: wrap;
}
.rotator { position: relative; display: inline-grid; min-width: 12ch; }
.rotator-word {
  grid-area: 1 / 1; font-family: var(--font-display); font-style: italic; font-size: 1.35rem;
  color: var(--forest); opacity: 0; transform: translateY(0.6em);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.rotator-word.is-active { opacity: 1; transform: translateY(0); }
.rotator-word.is-leaving { opacity: 0; transform: translateY(-0.6em); }

.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg); animation: btn-sheen 4.5s ease-in-out infinite;
}
@keyframes btn-sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ---------- Gemstone marquee ---------- */
.cohort-marquee {
  background: linear-gradient(90deg, var(--plum), var(--forest));
  color: var(--paper); padding: 1.1rem 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-row { display: flex; width: max-content; }
.marquee-track { display: flex; flex-shrink: 0; animation: marquee 48s linear infinite; }
.marquee-row-reverse .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee-track span {
  font-family: var(--font-display); font-style: italic; font-size: 1.6rem; white-space: nowrap;
  padding: 0 1.4rem; display: inline-flex; align-items: center; gap: 2.8rem;
}
.marquee-track span::after {
  content: ''; width: 0.5rem; height: 0.5rem; background: var(--gold-light);
  transform: rotate(45deg); display: inline-block; margin-left: 1.4rem;
}
.marquee-row-reverse { margin-top: 0.35rem; }
.marquee-row-reverse .marquee-track span {
  font-family: var(--font-sans); font-style: normal; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light);
}
.marquee-row-reverse .marquee-track span::after { width: 0.3rem; height: 0.3rem; background: rgba(250, 246, 238, 0.6); }
.cohort-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Count-up stats ---------- */
.cohort-stats-band { padding: 3rem 0; }
.cohort-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cohort-stat {
  text-align: center; padding: 1.5rem 1rem; border-top: 2px solid var(--gold);
  background: linear-gradient(180deg, rgba(184, 137, 58, 0.08), transparent);
}
.stat-num {
  display: block; font-family: var(--font-display); font-size: 3.6rem; line-height: 1;
  color: var(--plum); font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block; margin-top: 0.6rem; font-family: var(--font-sans); font-size: 0.85rem;
  color: var(--ink-soft); line-height: 1.45;
}

/* ---------- Pain list and turn ---------- */
.cohort-turn {
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.55; color: var(--plum);
  border-top: 1px solid rgba(74, 37, 69, 0.18); padding-top: 1.75rem;
}

/* ---------- Scroll reveal ---------- */
html.motion-on .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
html.motion-on .reveal.is-in { opacity: 1; transform: none; }
html.motion-on .cohort-pain li.reveal { transform: translateX(-28px); }
html.motion-on .cohort-pain li.reveal.is-in { transform: none; }

/* ---------- 3D tilt cards ---------- */
.tilt-grid { perspective: 1100px; }
.tilt {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; transform-style: flat; overflow: hidden; display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}
html.motion-on .reveal.tilt.is-in { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }
.tilt.is-tilting {
  transition: transform 0.08s linear, box-shadow 0.3s ease;
  box-shadow: 0 24px 60px rgba(31, 27, 22, 0.16);
}
.card.tilt:hover { border-color: var(--gold); }
.cohort-map-link.tilt, .cohort-map .tilt { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }
.tilt-glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.55), transparent 55%);
  mix-blend-mode: soft-light;
}
.tilt.is-tilting .tilt-glare { opacity: 1; }
.card.tilt > *:not(.tilt-glare):not(.session-num):not(.cohort-badge) { transform: translateZ(24px); }
.session-num {
  position: absolute; top: 0.6rem; right: 1rem; font-family: var(--font-display);
  font-size: 3.4rem; line-height: 1; color: rgba(184, 137, 58, 0.22); transform: translateZ(10px);
}
.cohort-badge {
  position: absolute; top: 1rem; right: -2.4rem; transform: rotate(35deg);
  background: var(--gold); color: var(--ink); font-family: var(--font-sans); font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 0.3rem 2.8rem;
}
.cohort-price-main { box-shadow: 0 18px 50px rgba(184, 137, 58, 0.18); }

/* ---------- Closing band ---------- */
.cohort-close { position: relative; overflow: hidden; }
.cohort-close .container-narrow { position: relative; z-index: 1; }

/* ---------- Floating map ---------- */
html.motion-on .cohort-hero .cohort-map-link img { animation: map-float 7s ease-in-out infinite; }
@keyframes map-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 900px) {
  .cohort-stats { grid-template-columns: repeat(2, 1fr); }
  .marquee-track span { font-size: 1.3rem; }
}
@media (max-width: 520px) {
  .stat-num { font-size: 2.8rem; }
  .cohort-orb { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cohort-orb, .marquee-track, .btn-glow::after, .kinetic-title em .kw-in,
  .cohort-hero .cohort-map-link img { animation: none !important; }
  .marquee-row { width: auto; }
  .marquee-track { flex-wrap: wrap; justify-content: center; }
  .marquee-row .marquee-track span { padding: 0.2rem 0.8rem; }
  .tilt, .reveal { transition: none !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track + .marquee-track { display: none; }
}

/* Cohort fix (2026-10-02): after the fade-in, cards return to fast hover and tilt. */
html.motion-on .reveal.reveal-done {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}
html.motion-on .tilt.reveal-done.is-tilting { transition: transform 0.06s linear, box-shadow 0.2s ease; }
.card.tilt,
.card.tilt:hover { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }

/* ---------- Layout map email gate (2026-10-04) ---------- */
.map-gate { padding: var(--space-lg) 0; }
.map-gate-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin-top: 0.5rem; color: var(--ink); }
.map-gate .two-col { align-items: start; }
.map-form { margin-top: var(--space-md); background: var(--paper); border: 1px solid rgba(31, 27, 22, 0.08); padding: 2rem; }
.map-form .opt { text-transform: none; letter-spacing: 0; color: var(--stone); font-weight: 400; }
.map-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.25rem 0 1.25rem; }
.form-check input { width: auto; margin-top: 0.35rem; accent-color: var(--forest); }
.form-check label { font-family: var(--font-display); font-size: 1rem; color: var(--ink-soft); }
.map-submit { width: 100%; border: none; cursor: pointer; }
.map-submit[disabled] { opacity: 0.75; cursor: progress; }
.form-error { color: #9B2C2C; font-size: 0.9rem; margin-top: 0.5rem; }
.form-note { font-size: 0.85rem; color: var(--stone); margin-top: 1.25rem; }
.map-gate-preview img { width: 100%; height: auto; display: block; box-shadow: 0 18px 40px rgba(31, 27, 22, 0.12); }
.map-gate-preview figcaption { margin-top: 0.75rem; font-size: 0.85rem; color: var(--stone); }
.map-ready { text-align: center; }
.map-ready-btn { justify-content: center; margin-top: 1.75rem; flex-wrap: wrap; }
@media (max-width: 768px) {
  .map-gate { padding: var(--space-md) 0; }
  .map-form { padding: 1.5rem; }
  .map-gate-preview { margin-top: var(--space-md); }
}


/* Click fix (2026-10-04): the 3D tilt cards were covering their own
   buttons, so the Register, Claim a Seat, Start the Plan, and Reserve
   buttons could not be clicked. Cards still tilt; their contents no
   longer lift forward in 3D, and every link inside a card sits on top. */
.tilt { transform-style: flat !important; }
.card.tilt > *:not(.tilt-glare):not(.session-num):not(.cohort-badge) { transform: none !important; }
.tilt a, .tilt .btn-pay { position: relative; z-index: 2; }
