/* ==============================================
   EMBODY EROS — V2 DESIGN SYSTEM  (parallel to styles.css)
   Elevated editorial-luxury build. Shared by every *.v2.html page.
   Originals (styles.css / components.js / *.html) are untouched.
   Edit tokens/components here once → all v2 pages update.
============================================== */

/* ==============================================
   TOKENS
============================================== */
:root {
  --bg:        #0d0a08;
  --bg-lift:   #131009;
  --bg-2:      #17120c;
  --glass:     rgba(18, 14, 10, 0.62);
  --text:      #e8dcc8;
  --text-mid:  #9a8c7a;
  --text-low:  #877a69;          /* lifted from #4a403a → clears WCAG AA */
  --accent:    #c47a52;
  --accent-hi: #d98d65;
  --border:    rgba(232, 220, 200, 0.09);
  --border-hi: rgba(232, 220, 200, 0.16);

  --serif: 'EB Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --nav-h: 64px;
  --max:   1160px;
  --gut:   2.5rem;
  --r:     2px;                  /* small elements */
  --r-card: 1rem;               /* inner cards */
  --r-bezel: 1.4rem;            /* outer shells */

  --ease:   cubic-bezier(0.22, 1, 0.36, 1);      /* easeOutExpo */
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);     /* gentle overshoot */
}

/* ==============================================
   RESET
============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain — fixed, pointer-events-none */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

::selection { background: rgba(196, 122, 82, 0.28); color: #fff; }

/* Focus — visible ring everywhere (audit fix) */
:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: 50%; top: -60px;
  transform: translateX(-50%);
  background: var(--text); color: var(--bg);
  padding: 0.6rem 1.2rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  z-index: 200; transition: top 0.25s var(--ease);
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ==============================================
   NAV — floating glass island
============================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1.1rem var(--gut);
  pointer-events: none;
}
.pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.9rem;
  padding: 0.5rem 0.55rem 0.5rem 1.6rem;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--border-hi);
  box-shadow: 0 18px 55px -20px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05);
  max-width: 100%;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.nav.hidden .pill { transform: translateY(-140%); opacity: 0; }

.word {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-link {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-current { color: var(--text); }
.nav-link.is-current::after {
  content: ''; display: block; height: 1px; margin-top: 3px;
  background: var(--accent);
}

.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 0; border-radius: 999px;
  background: none; cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px; height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { bottom: 18px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ==============================================
   MENU OVERLAY (mobile / tablet)
============================================== */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(9, 7, 5, 0.86);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gut) 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: 0.35rem; }
.menu-links a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.25s var(--ease);
}
.menu-links a:hover { color: var(--accent-hi); }
body.menu-open .menu-links a { opacity: 1; transform: none; }
body.menu-open .menu-links a:nth-child(1) { transition-delay: 0.10s; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: 0.15s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: 0.20s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: 0.25s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: 0.30s; }
body.menu-open .menu-links a:nth-child(6) { transition-delay: 0.35s; }
body.menu-open .menu-links a:nth-child(7) { transition-delay: 0.40s; }
.menu-cta { margin-top: 3rem; display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; transition: opacity 0.6s var(--ease) 0.45s; }
body.menu-open .menu-cta { opacity: 1; }
body.menu-lock { overflow: hidden; }

/* ==============================================
   BUTTONS — .cta (button-in-button)  +  .btn (block/inline, ported)
============================================== */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.28s var(--spring), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.cta-ico {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease), background 0.3s var(--ease);
}
.cta-ico svg { width: 14px; height: 14px; display: block; }
.cta:hover .cta-ico { transform: translate(3px, -3px) scale(1.06); }
.cta:active { transform: scale(0.975); }

.cta-solid { background: var(--text); color: var(--bg); border: 1px solid var(--text); }
.cta-solid .cta-ico { background: rgba(13, 10, 8, 0.14); }
.cta-solid:hover { background: #fff; border-color: #fff; }

.cta-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-hi); }
.cta-ghost .cta-ico { background: rgba(232, 220, 200, 0.10); }
.cta-ghost:hover { border-color: rgba(232, 220, 200, 0.4); background: rgba(232, 220, 200, 0.04); }

.cta-sm { font-size: 0.7rem; padding: 0.4rem 0.4rem 0.4rem 1.05rem; gap: 0.6rem; }
.cta-sm .cta-ico { width: 1.7rem; height: 1.7rem; }
.cta-sm .cta-ico svg { width: 12px; height: 12px; }

/* Block/inline buttons (downloads, tiers, previews, venmo) */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-ghost { color: var(--text); border: 1px solid var(--border-hi); background: transparent; }
.btn-ghost:hover { border-color: rgba(232, 220, 200, 0.38); background: rgba(232, 220, 200, 0.04); }
.btn-solid { color: var(--bg); background: var(--text); border: 1px solid var(--text); }
.btn-solid:hover { background: #fff; border-color: #fff; }
.btn-quiet { color: var(--text-mid); border: 1px solid var(--border); background: transparent; font-size: 0.75rem; letter-spacing: 0.1em; padding: 0.55rem 1.1rem; }
.btn-quiet:hover { border-color: var(--accent); color: var(--accent-hi); }

/* ==============================================
   REVEAL — blur + rise, staggered
============================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ==============================================
   HERO (home)
============================================== */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 3rem) 0 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center 26%;
  opacity: 0.55;
  filter: saturate(0.95);
  transform-origin: center 30%;
  animation: heroDrift 18s var(--ease) forwards;
}
@keyframes heroDrift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 78% 26%, rgba(196,122,82,0.10) 0%, transparent 62%),
    linear-gradient(to top, var(--bg) 3%, rgba(13,10,8,0.5) 46%, rgba(13,10,8,0.22) 100%);
}
.hero-in { position: relative; z-index: 2; max-width: 900px; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-hi);
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  margin-bottom: 2rem;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line > span { display: block; transform: translateY(112%); transition: transform 1s var(--ease); }
.line-em > span { font-style: italic; }

.hero-sub {
  max-width: 48ch;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2.75rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.9s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s;
}
.hero-cta { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease) 0.3s, transform 0.9s var(--ease) 0.3s; }

.hero-boot .eyebrow { opacity: 0; transform: translateY(14px); animation: fadeUp 0.9s var(--ease) 0.1s forwards; }
.hero-boot .line:nth-child(1) > span { transition-delay: 0.28s; }
.hero-boot .line:nth-child(2) > span { transition-delay: 0.44s; }
.hero-lit .line > span { transform: translateY(0); }
.hero-lit .hero-sub, .hero-lit .hero-cta { opacity: 1; transform: none; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%);
  z-index: 2; color: var(--text-mid);
  display: grid; place-items: center; gap: 0.5rem; text-decoration: none;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 1s var(--ease) 1.1s forwards;
}
.hero-scroll svg { width: 16px; height: 16px; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: none; }
  .line > span { transform: none; }
  .hero-sub, .hero-cta, .eyebrow, .hero-scroll { opacity: 1; transform: none; animation: none; }
}

/* ==============================================
   PAGE HERO (inner pages)
============================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4.5rem) 0 2rem;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 80% 16%, rgba(196,122,82,0.06) 0%, transparent 66%);
}
.page-hero-in { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.page-kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.25s var(--ease);
}
a.page-kicker:hover { color: var(--accent-hi); }

.page-h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 1.5rem; padding-bottom: 0.08em;
  text-wrap: balance;
}
.page-meta { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--text-mid); margin-bottom: 1.75rem; }
.page-lead { max-width: 54ch; font-size: 1.16rem; font-weight: 300; line-height: 1.85; color: var(--text-mid); margin-bottom: 2.5rem; text-wrap: pretty; }

/* ==============================================
   SECTION FRAME
============================================== */
.sec { border-top: 1px solid var(--border); padding: clamp(4rem, 8vw, 7rem) 0; }
.sec--lift { background: var(--bg-lift); }
.sec--plain { border-top: none; }
.sec-label {
  font-family: var(--sans);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2rem;
}

/* ==============================================
   PROSE
============================================== */
.prose { max-width: 660px; }
.prose p { font-size: 1.16rem; font-weight: 300; line-height: 1.92; color: var(--text); margin-bottom: 1.75rem; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose-mid p { color: var(--text-mid); }
.eros-word { font-family: var(--serif); font-style: italic; font-size: 1.22em; }
.brand-mark { font-family: var(--serif); font-weight: 500; letter-spacing: 0.02em; }
.diagnosis-lead { font-size: 1.16rem; font-weight: 300; line-height: 1.92; color: var(--text); margin-bottom: 1.75rem; text-wrap: pretty; }

/* ==============================================
   SPLIT + BEZEL (media frames)
============================================== */
.split { display: grid; grid-template-columns: 0.92fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.split-text { max-width: 560px; }
figure.split-media { margin: 0; }

.bezel {
  padding: 0.55rem;
  background: rgba(232, 220, 200, 0.035);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-bezel);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
}
.bezel-core {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.06);
  background: var(--bg-2);
}
.bezel-core img { display: block; width: 100%; height: auto; }

/* Framed figure (inner pages) */
.media-figure { margin: 0; border-radius: var(--r-bezel); padding: 0.55rem; background: rgba(232,220,200,0.035); border: 1px solid var(--border-hi); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7); }
.media-figure > img, .media-figure figure { display: block; width: 100%; height: auto; border-radius: var(--r-card); overflow: hidden; }
.media-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-card); }
.media-figure figcaption { font-family: var(--serif); font-style: italic; font-size: 0.9rem; line-height: 1.6; color: var(--text-low); padding: 0.85rem 0.6rem 0.3rem; }
.media-figure--portrait { max-width: 460px; margin: 0 auto; }
.media-figure--wide { }
.media-lead { padding-top: 0.5rem; padding-bottom: 1rem; }

/* ==============================================
   FEATURE LIST (who it's for)
============================================== */
.feature-list { list-style: none; max-width: 660px; }
.feature-list li {
  font-size: 1.06rem; font-weight: 300; line-height: 1.7; color: var(--text-mid);
  padding: 1.1rem 0 1.1rem 1.75rem; border-top: 1px solid var(--border); position: relative;
}
.feature-list li:last-child { border-bottom: 1px solid var(--border); }
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 1.72rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ==============================================
   METHOD — double-bezel gate cards
============================================== */
.method-kicker { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 400; color: var(--text-mid); letter-spacing: -0.01em; margin-bottom: 3.5rem; text-wrap: balance; }
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gate {
  padding: 0.5rem;
  background: rgba(232, 220, 200, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-bezel);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.gate:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.gate-core {
  position: relative; border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-lift));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
  padding: 2.5rem 2rem 2.75rem; height: 100%; overflow: hidden;
}
.gate-num { font-family: var(--serif); font-size: 0.85rem; letter-spacing: 0.12em; color: var(--accent); display: block; margin-bottom: 1.5rem; }
.gate-name { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.85rem); font-weight: 400; color: var(--text); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 1.1rem; }
.gate-desc { font-size: 0.94rem; font-weight: 300; line-height: 1.85; color: var(--text-mid); }

/* cursor spotlight */
.spot { position: relative; }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(196,122,82,0.16), transparent 62%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.spot:hover::before { opacity: 1; }

/* ==============================================
   OFFERINGS — editorial rows
============================================== */
.offerings-kicker { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 400; color: var(--text); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 3.25rem; text-wrap: balance; }
.offering-list { list-style: none; }
.offering {
  position: relative;
  display: grid; grid-template-columns: 240px 1fr auto auto; gap: 2rem; align-items: center;
  padding: 2rem 1.5rem; border-radius: var(--r-card); border-top: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}
.offering:last-child { border-bottom: 1px solid var(--border); }
.offering:hover { background: rgba(232, 220, 200, 0.018); }
.offering > * { position: relative; z-index: 1; }
.offering-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--text); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 0.3rem; }
.offering-name a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
.offering:hover .offering-name a { color: var(--accent-hi); }
.offering-fmt { font-size: 0.8rem; font-weight: 400; color: var(--text-low); letter-spacing: 0.03em; }
.offering-desc { font-size: 0.94rem; font-weight: 300; line-height: 1.8; color: var(--text-mid); max-width: 42ch; }
.offering-price { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; color: var(--text-mid); white-space: nowrap; }

/* ==============================================
   LADDER (offerings overview)
============================================== */
.ladder { list-style: none; max-width: 720px; counter-reset: rung; }
.ladder li { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--border); }
.ladder li:last-child { border-bottom: 1px solid var(--border); }
.ladder li::before {
  counter-increment: rung; content: counter(rung, decimal-leading-zero);
  font-family: var(--serif); font-size: 0.9rem; color: var(--accent);
  border: 1px solid var(--border-hi); border-radius: 50%;
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
}
.ladder-step { font-family: var(--serif); font-size: 1.25rem; color: var(--text); }
.ladder-step span { font-style: italic; color: var(--text-mid); font-size: 1rem; }

/* ==============================================
   ABOUT
============================================== */
.about-statement { font-family: var(--serif); font-style: italic; font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 400; color: var(--text); line-height: 1.16; letter-spacing: -0.02em; max-width: 720px; margin-bottom: 3.5rem; text-wrap: balance; padding-bottom: 0.1em; }
.about-split { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; border-top: 1px solid var(--border); padding-top: 3rem; align-items: start; }
.about-bio p { font-size: 1rem; font-weight: 300; line-height: 1.85; color: var(--text-mid); margin-bottom: 1rem; }
.about-bio p:last-child { margin-bottom: 0; }
.about-aside blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; color: var(--text); line-height: 1.6; margin-bottom: 2.5rem; text-wrap: pretty; }

/* ==============================================
   CLOSE CTA
============================================== */
.close-cta { padding: clamp(7rem, 13vw, 10rem) 0; text-align: center; }
.close-stmt { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 400; color: var(--text); letter-spacing: -0.015em; margin-bottom: 3rem; text-wrap: balance; padding-bottom: 0.1em; }
.close-cta .cta { justify-content: center; }

/* ==============================================
   FOOTER
============================================== */
.footer { padding: 2.75rem var(--gut); border-top: 1px solid var(--border-hi); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-word { font-family: var(--serif); font-size: 0.95rem; font-weight: 500; color: var(--text); }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer a { font-size: 0.8rem; font-weight: 300; color: var(--text-mid); text-decoration: none; transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--text); }
.footer-social { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.footer-social a:not(.cta) {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--border-hi);
  color: var(--text);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}
.footer-social a:not(.cta):hover {
  border-color: var(--accent);
  color: var(--accent-hi);
  box-shadow: 0 0 14px rgba(196, 122, 82, 0.35), 0 0 32px rgba(196, 122, 82, 0.12);
  transform: translateY(-2px);
}
.footer-social .cta { margin-left: 0.5rem; }
.footer-social svg { flex-shrink: 0; width: 17px; height: 17px; }

/* ==============================================
   EVENTS
============================================== */
.event-list { list-style: none; max-width: 820px; }
.event { display: grid; grid-template-columns: 132px 1fr; gap: 2rem; align-items: baseline; padding: 2.25rem 0; border-top: 1px solid var(--border); }
.event:last-child { border-bottom: 1px solid var(--border); }
.event-date { font-family: var(--serif); font-size: 1.0625rem; color: var(--accent); white-space: nowrap; }
.event-date span { display: block; color: var(--text-low); font-size: 0.8rem; letter-spacing: 0.04em; }
.event-name { font-family: var(--serif); font-size: 1.3125rem; color: var(--text); margin-bottom: 0.35rem; }
.event-where { font-size: 0.9375rem; color: var(--text-mid); }
.event-desc { font-size: 0.9375rem; color: var(--text-mid); line-height: 1.8; margin-top: 0.6rem; }
.event-empty { font-family: var(--serif); font-style: italic; color: var(--text-mid); font-size: 1.125rem; }

/* ==============================================
   GALLERY
============================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-card); aspect-ratio: 4 / 5; background: var(--bg-lift); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.is-wide { aspect-ratio: 16 / 9; grid-column: span 2; }
.gallery-video { position: relative; grid-column: span 2; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: #000; }
.gallery-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.gallery-video--portrait { grid-column: span 1; aspect-ratio: 9 / 16; }
.gallery-video--portrait iframe, .gallery-video--portrait video { object-fit: cover; }

.readings { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.4rem; }
.reading { width: 320px; max-width: 100%; }
.reading .gallery-video { grid-column: auto; }
.reading-title { margin: 1rem 0 0.2rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--text); text-align: center; }
.reading-note { margin: 0; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.03em; color: var(--text-mid); text-align: center; }

.tracks { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.4rem; }
.track { padding: 1.5rem 1.6rem; border: 1px solid var(--border); border-radius: var(--r-card); background: rgba(255, 255, 255, 0.015); }
.track-title { margin: 0 0 0.15rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--text); }
.track-note { margin: 0 0 1rem; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--text-mid); }
.track audio { width: 100%; height: 38px; }
.gallery-credit { margin-top: 1.75rem; text-align: center; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-mid); }
.gallery-credit a { color: var(--text-mid); border-bottom: 1px solid var(--border-hi); transition: color 0.2s ease; }
.gallery-credit a:hover { color: var(--accent); }
.gallery-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--text-low); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; padding: 1rem; }

/* Lightbox (gallery click-to-enlarge) */
.gallery-item img { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(8, 6, 5, 0.93); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb.open { display: flex; }
.lb img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--r-card); box-shadow: 0 32px 80px rgba(0,0,0,0.7); }
.lb-btn { position: absolute; background: none; border: 0; color: var(--text); cursor: pointer; opacity: 0.6; line-height: 1; padding: 0.5rem; transition: opacity 0.25s var(--ease); }
.lb-btn:hover { opacity: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 2.5rem; }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }
.lb-close { top: 1rem; right: 1.25rem; font-size: 2rem; }

/* ==============================================
   FRIENDS / LINKS
============================================== */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.link-card { display: block; text-decoration: none; border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.75rem; background: var(--bg-lift); transition: border-color 0.24s var(--ease), transform 0.12s var(--ease); }
.link-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.link-card:active { transform: translateY(0); }
.link-thumb { display: block; width: 32px; height: 32px; object-fit: contain; margin-bottom: 0.9rem; border-radius: 4px; opacity: 0.8; }
.link-name { font-family: var(--serif); font-size: 1.25rem; color: var(--text); margin-bottom: 0.4rem; }
.link-name .arrow { color: var(--accent); transition: transform 0.2s ease; display: inline-block; }
.link-card:hover .link-name .arrow { transform: translateX(3px); }
.link-desc { font-size: 0.9375rem; color: var(--text-mid); line-height: 1.7; }
.affiliate-note { font-size: 0.8125rem; color: var(--text-low); font-style: italic; margin-top: 2rem; max-width: 620px; line-height: 1.7; }

/* ==============================================
   BOOKS / LIBRARY
============================================== */
.books-intro { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.subscribe { max-width: 540px; margin: 0 auto 4.5rem; padding: 2.25rem var(--gut) 2.5rem; border: 1px solid var(--border-hi); border-radius: var(--r-card); background: var(--bg-lift); text-align: center; }
.subscribe h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin: 0 0 0.5rem; }
.subscribe p { color: var(--text-mid); font-size: 0.95rem; margin: 0 0 1.5rem; }
.subscribe iframe { width: 100% !important; border: 1px solid var(--border) !important; border-radius: var(--r); background: transparent !important; }

.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; }
.book { display: flex; flex-direction: column; }
.book-cover { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; background: #f3ece0; border: 1px solid var(--border-hi); border-radius: var(--r-card); box-shadow: 0 18px 40px rgba(0,0,0,0.45); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.book:hover .book-cover { transform: translateY(-5px); box-shadow: 0 26px 56px rgba(0,0,0,0.55); }
.book-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin: 1.25rem 0 0.15rem; line-height: 1.25; }
.book-meta { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-mid); margin: 0 0 0.6rem; }
.book-desc { font-family: var(--serif); font-style: italic; color: var(--text-mid); font-size: 0.98rem; line-height: 1.5; margin: 0 0 1.1rem; }
.book-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: auto; }
.book-actions .btn { width: 100%; text-align: center; }

.tiers-sec { max-width: 720px; margin: 0 auto 4rem; }
.tiers-head { text-align: center; margin-bottom: 2rem; }
.tiers-head h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: 0 0 0.5rem; }
.tiers-head p { color: var(--text-mid); font-size: 0.98rem; max-width: 470px; margin: 0 auto; line-height: 1.55; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tier { border: 1px solid var(--border-hi); border-radius: var(--r-card); background: var(--bg-lift); padding: 2rem 1.75rem; text-align: center; display: flex; flex-direction: column; }
.tier-cover { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; margin-bottom: 1.25rem; box-shadow: 0 6px 22px rgba(0,0,0,0.18); }
.tier-name { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.9rem; }
.tier-price { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.tier-cadence { color: var(--text-mid); font-size: 0.85rem; margin-top: 0.35rem; }
.tier-desc { color: var(--text-mid); font-size: 0.95rem; line-height: 1.55; margin: 1.1rem 0 1.5rem; flex: 1; }
.tier .btn { width: 100%; margin-top: auto; text-align: center; }
.tiers-fine { text-align: center; color: var(--text-mid); font-size: 0.82rem; margin-top: 1.25rem; }

.support { max-width: 600px; margin: 5rem auto 0; text-align: center; }
.support p { color: var(--text-mid); font-size: 1.05rem; font-family: var(--serif); font-style: italic; margin: 0 0 1.5rem; }
.btn-venmo {
  background: rgba(196, 122, 82, 0.12);
  color: var(--accent-hi);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(196, 122, 82, 0.28), 0 0 48px rgba(196, 122, 82, 0.12), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease), border-color 0.3s var(--ease);
}
.btn-venmo:hover {
  background: rgba(196, 122, 82, 0.2);
  border-color: var(--accent-hi);
  box-shadow: 0 0 28px rgba(217, 141, 101, 0.42), 0 0 70px rgba(217, 141, 101, 0.18), inset 0 1px 0 rgba(255,255,255,0.09);
  transform: translateY(-2px) scale(1.015);
}

/* Book preview modal */
.pv-overlay { position: fixed; inset: 0; z-index: 1000; display: none; background: rgba(8, 6, 5, 0.92); backdrop-filter: blur(4px); }
.pv-overlay.open { display: flex; flex-direction: column; }
.pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.pv-title { font-family: var(--serif); font-size: 1.15rem; color: var(--text); }
.pv-actions { display: flex; align-items: center; gap: 0.75rem; }
.pv-close { background: none; border: 1px solid var(--border-hi); color: var(--text); font-size: 1.4rem; line-height: 1; width: 40px; height: 40px; border-radius: 999px; cursor: pointer; }
.pv-close:hover { background: var(--bg-lift); }
.pv-body { flex: 1; overflow: auto; display: flex; justify-content: center; }
.pv-body iframe { width: 100%; max-width: 1000px; height: 100%; border: 0; background: #fff; }
.pv-pages { width: 100%; max-width: 720px; padding: 1.5rem var(--gut) 4rem; }
.pv-pages img { width: 100%; display: block; margin: 0 auto 0.75rem; border: 1px solid var(--border); border-radius: var(--r); background: #f3ece0; }
.pv-note { text-align: center; color: var(--text-mid); font-family: var(--serif); font-style: italic; padding: 1.5rem 0 0; }
.book-cover-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }

/* ==============================================
   RESPONSIVE
============================================== */
@media (max-width: 1080px) {
  .nav-links, .pill > .cta { display: none; }
  .burger { display: block; }
  .pill { gap: 0.5rem; padding: 0.4rem 0.4rem 0.4rem 1.4rem; }
}
@media (min-width: 1081px) { .menu { display: none; } }

@media (max-width: 960px) {
  .split, .about-split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .about-split .split-media { order: 0; }
  .gates { grid-template-columns: 1fr; gap: 1rem; }
  .gate:nth-child(2) { transform: none; }
  .gate:nth-child(2):hover { transform: translateY(-4px); }
  .about-cols { grid-template-columns: 1fr; gap: 2.5rem; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .offering { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
  .offering-desc { grid-column: 1 / -1; grid-row: 2; }
  .offering-price { grid-column: 1; grid-row: 3; }
  .offering .cta, .offering .btn-quiet { grid-column: 2; grid-row: 3; justify-self: end; }
}

@media (max-width: 768px) {
  :root { --gut: 1.25rem; }
  .page-hero { padding-top: calc(var(--nav-h) + 3rem); }
  .tiers { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .event { grid-template-columns: 1fr; gap: 0.5rem; }
  .gallery-item.is-wide, .gallery-video { grid-column: span 1; }
}

@media (max-width: 600px) {
  .offering { grid-template-columns: 1fr; }
  .offering-price, .offering .cta, .offering .btn-quiet { grid-column: 1; justify-self: start; grid-row: auto; }
  .footer { justify-content: center; text-align: center; }
  .books-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

/* ==============================================
   MOBILE OPTIMIZATION PASS
============================================== */
/* Safe-area insets for fixed nav + full-screen menu (notched phones) */
.nav { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
@supports (padding: max(0px)) {
  .nav { padding-top: max(1.1rem, env(safe-area-inset-top)); }
}
.menu {
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
  padding-left: max(var(--gut), env(safe-area-inset-left));
  padding-right: max(var(--gut), env(safe-area-inset-right));
}

@media (max-width: 600px) {
  /* Touch targets — every tappable control clears 44px */
  .cta { min-height: 46px; }
  .btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
  .cta-sm { min-height: 44px; font-size: 0.72rem; }
  .nav-link { padding: 0.5rem 0; }
  .menu-links a { padding: 0.15rem 0; }
  .footer-nav { gap: 0.5rem 1.4rem; }
  .footer-nav a, .footer-social a { padding: 0.35rem 0; display: inline-block; }
  .pv-close { width: 46px; height: 46px; }
  .lb-prev, .lb-next { padding: 1rem 0.85rem; }
  .lb-close { padding: 0.85rem 1rem; }
  .book-actions .btn, .tier .btn { min-height: 48px; }

  /* Breathing room + right-sized display type on small screens */
  #hero { padding-bottom: 4.5rem; }
  .hero-sub { font-size: 1.04rem; }
  .diagnosis-lead { font-size: 1.5rem; line-height: 1.35; }
  .about-statement { font-size: clamp(1.9rem, 8vw, 2.6rem); margin-bottom: 2.5rem; }
  .close-stmt { font-size: 1.5rem; }
  .method-kicker, .offerings-kicker { margin-bottom: 2.5rem; }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
  :root { --gut: 1.1rem; }
  .word { font-size: 0.94rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .hero-bg { animation: none; transform: none; }
}
