/* =========================================================
   emotionalcomingout.com — Beyond the Looking Glass
   One font (Instrument Sans). The head is the only colour.
   ========================================================= */

:root {
  --bg: #FAFAFA;
  --text: #1F1F1F;
  --muted: #6B7280;
  --btn: #111111;
  --btn-text: #FFFFFF;
  --line: #E5E7EB;
  --panel-bg: #FFFFFF;

  /* accents taken from the head (used sparingly) */
  --accent: #C4581F;        /* orange from the flowers */
  --accent-red: #B4302A;    /* red from the blossoms */
  --accent-green: #2E4A34;  /* dark green from the leaves */

  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 380ms;

  --panel-w: 40vw;
  --panel-min: 420px;
  --head-w: min(36vw, 46vh, 560px);
  --col-w: clamp(120px, 12vw, 200px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(16px, 3vh, 34px) 24px 14px;
  gap: clamp(8px, 1.6vh, 18px);
  transition: transform var(--dur) var(--ease);
  will-change: transform;
}
.hero.is-shifted { transform: translateX(var(--shift, 0px)); }

.hero-title { text-align: center; max-width: 720px; }
.hero-title h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(17px, 2vw, 27px);
  letter-spacing: .17em;
  text-transform: uppercase;
  line-height: 1.35;
}
.hero-title .byline {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: clamp(10.5px, .95vw, 12.5px);
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* ---------- Stage: labels | head | labels ---------- */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: var(--col-w) var(--head-w) var(--col-w);
  align-items: stretch;
  column-gap: 14px;
}

.head-wrap {
  position: relative;
  width: var(--head-w);
  aspect-ratio: 807 / 1061;
  z-index: 1;
}
.head {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* hotspots */
.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .28);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  z-index: 3;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.hotspot::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid var(--text);
  opacity: 0;
  pointer-events: none;
}
/* one slow pulse when the page opens, and one on hover — never a permanent blink */
.head-wrap.is-attention .hotspot::before {
  animation: pulse 2.6s var(--ease) 1 both;
  animation-delay: calc(var(--i, 0) * .13s);
}
.hotspot:hover::before,
.hotspot:focus-visible::before,
.hotspot.is-hot::before { animation: pulse 1.9s var(--ease) 1 both; }
.hotspot:hover, .hotspot.is-hot, .hotspot.is-active {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.hotspot.is-active { background: var(--text); color: #fff; }
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .55; }
  60%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* labels around the head (desktop) */
.label-col { position: relative; }
.hs-label {
  position: absolute;
  top: var(--ly, 0);
  transform: translateY(-50%);
  max-width: 100%;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  transition: color 160ms var(--ease);
}
.label-col--left .hs-label { right: 0; text-align: right; }
.label-col--right .hs-label { left: 0; }
.hs-label .n { color: var(--muted); font-weight: 400; margin-right: .5em; letter-spacing: .04em; }
.label-col--left .hs-label .n { margin-right: 0; margin-left: .5em; }
.hs-label .sub {
  display: block;
  text-transform: none;
  letter-spacing: .01em;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.hs-label:hover, .hs-label.is-hot, .hs-label.is-active { color: var(--accent); }

.leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.leaders line {
  stroke: var(--text);
  stroke-width: 1;
  opacity: .28;
  transition: opacity 160ms var(--ease), stroke 160ms var(--ease);
}
.leaders line.is-hot, .leaders line.is-active { opacity: 1; stroke: var(--accent); }

/* legend (mobile only) */
.legend { display: none; }

/* ---------- Buy ---------- */
.buy { text-align: center; width: 100%; max-width: 760px; }
.buy-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.buy-btn {
  display: block;
  background: var(--btn);
  color: var(--btn-text);
  text-decoration: none;
  border-radius: var(--radius);
  padding: clamp(12px, 1.8vh, 20px) 22px;
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}
.buy-btn:hover { background: #000; color: var(--btn-text); transform: translateY(-1px); }
.buy-btn .big { display: block; font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: .05em; line-height: 1.1; margin-bottom: 6px; }
.buy-btn .line { display: block; font-size: clamp(13px, 1.1vw, 15px); opacity: .92; }
.buy-btn .sub { display: block; font-style: italic; font-size: clamp(12px, 1vw, 14px); opacity: .68; margin-top: 4px; }
.buy-or { color: var(--muted); font-style: italic; font-size: 15px; }
.buy-meta { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .02em; transition: opacity 500ms var(--ease); }
/* the first-visit hint and the price line share one slot, so nothing jumps */
.buy-note { display: grid; margin: 10px 0 0; }
.buy-note > * { grid-area: 1 / 1; }
.buy-hint {
  margin: 0;
  opacity: 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: opacity 800ms var(--ease);
}
.buy-hint.is-in { opacity: 1; }
.buy-note.hint-on .buy-meta { opacity: 0; }

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 16px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  font-size: 11px;
  color: var(--muted);
}
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.site-foot .brand { color: var(--text); }

/* ---------- Slide-over panel ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

.panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: max(var(--panel-w), var(--panel-min));
  max-width: 100vw;
  background: var(--panel-bg);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 48px rgba(0, 0, 0, .06);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), width var(--dur) var(--ease), visibility 0s linear var(--dur);
  z-index: 50;
  display: flex;
  flex-direction: column;
}
.panel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.panel--narrow { --panel-w: 32vw; --panel-min: 380px; }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 48px 14px;
  flex: 0 0 auto;
}
.panel-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.panel-title .n { color: var(--muted); font-weight: 400; margin-right: .6em; letter-spacing: .04em; }
.close {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 160ms var(--ease);
  margin-right: -10px;
}
.close:hover { background: #F1F1F1; color: var(--text); }
.close svg { width: 18px; height: 18px; }

.panel-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 6px 48px 72px;
  scrollbar-width: thin;
  scrollbar-color: #D1D5DB transparent;
}
.panel-body::-webkit-scrollbar { width: 6px; }
.panel-body::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }

.sheet-handle { display: none; }

/* ---------- Content typography (panels + reader) ---------- */
.prose { max-width: 560px; }
.prose p { margin: 0 0 1em; font-size: 16px; line-height: 1.65; }
.prose p.lead { font-size: 18px; font-weight: 500; line-height: 1.5; }
.prose p.small { font-size: 14px; color: var(--muted); }
.prose p.q { font-size: 18px; font-weight: 500; line-height: 1.5; margin: 1.2em 0; }
.prose p.sign { color: var(--muted); margin-top: 1.6em; }
.prose h3 { font-size: 20px; font-weight: 600; margin: 1.8em 0 .6em; line-height: 1.3; letter-spacing: -.005em; }
.prose h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 1.8em 0 .8em; }
.prose .lines { margin: 0 0 1.3em; }
.prose .lines p { margin: 0 0 .25em; font-weight: 500; }
.prose .lines.soft p { font-weight: 400; }
.prose hr, .soft-rule { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose em { font-style: italic; }

.link-btn {
  display: inline-block;
  background: var(--btn);
  color: var(--btn-text) !important;
  text-decoration: none !important;
  border-radius: var(--radius);
  padding: 13px 22px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12.5px;
  border: 0;
  cursor: pointer;
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}
.link-btn:hover { background: #000; transform: translateY(-1px); }
.link-btn--ghost { background: none; color: var(--text) !important; border: 1px solid var(--text); }
.link-btn--ghost:hover { background: var(--text); color: #fff !important; }
.text-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.text-btn:hover { color: var(--accent); }

/* technical info */
.spec { display: grid; grid-template-columns: 120px 1fr; gap: 10px 20px; margin: 4px 0 0; max-width: 520px; }
.spec dt { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.spec dd { margin: 0; font-size: 16px; }
.spec dd .todo { color: var(--muted); font-style: italic; }

/* FAQ */
.faq { list-style: none; margin: 0; padding: 0; max-width: 560px; }
.faq li { border-top: 1px solid var(--line); }
.faq li:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}
.faq-q:hover { color: var(--accent); }
.faq-q .ico { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; position: relative; }
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; background: currentColor; left: 50%; top: 50%;
  transition: transform 220ms var(--ease);
}
.faq-q .ico::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .ico::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-q[aria-expanded="true"] .ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 320ms var(--ease); }
.faq-a .prose { padding: 0 32px 18px 0; }
.faq-a .prose p { font-size: 15.5px; }

/* reviews */
.reviews { list-style: none; margin: 0; padding: 0; max-width: 560px; }
.reviews li { margin: 0 0 22px; }
.reviews blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; }
.reviews cite { display: block; font-style: normal; color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.reviews-more { margin: 4px 0 26px; }
.reviews .more { display: none; }
.reviews.is-expanded .more { display: block; animation: fadeUp 380ms var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* what you get */
.bundle { max-width: 560px; }
.bundle-intro { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.bundle-item { padding: 22px 0; }
.bundle-item .num { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .1em; }
.bundle-item h3 { margin: 4px 0 2px; font-size: 22px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; }
.bundle-item .subtitle { margin: 0 0 2px; font-size: 14px; color: var(--muted); }
.bundle-item .kicker { margin: 0 0 16px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.bundle-item .cover { display: block; width: 100%; max-width: 250px; margin: 0 auto 18px; }
.bundle-item .cover img { width: 100%; height: auto; }
.bundle-item .cover--small { max-width: 190px; }
.bundle-item p { margin: 0 0 .8em; font-size: 15.5px; line-height: 1.6; }
.bundle-item p.tag { font-size: 15.5px; }
.bundle-item .meta { color: var(--accent); font-size: 13.5px; font-weight: 500; margin: 10px 0 0; line-height: 1.7; }
.bundle-plus { text-align: center; color: var(--accent); font-size: 34px; font-weight: 400; line-height: 1; padding: 6px 0; }
.bundle-trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0; margin: 12px 0 24px;
}
.bundle-trust div { display: flex; gap: 12px; align-items: flex-start; }
.bundle-trust svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent); stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.bundle-trust b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.bundle-trust span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.bundle-close { text-align: center; padding: 22px 16px; background: #F3F3F1; border-radius: var(--radius); }
.bundle-close strong { display: block; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; line-height: 1.5; }
.bundle-close span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.bundle-cta { text-align: center; margin: 24px 0 0; }
.bundle-cta .meta { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; }

/* video (My story) */
.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 24px; background: #111; border-radius: var(--radius); overflow: hidden; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 18px rgba(0, 0, 0, .3);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}
.video-thumb:hover .play, .video-thumb:focus-visible .play { transform: scale(1.07); background: #fff; }
.video-thumb .play svg { width: 21px; height: 21px; margin-left: 3px; fill: var(--text); }

/* ---------- Reader (Chapter One: clean full-page overlay) ---------- */
.reader {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), visibility 0s linear 320ms;
}
.reader.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.reader-bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(20px, 4vw, 48px);
  background: linear-gradient(var(--bg) 70%, rgba(250, 250, 250, 0));
}
.reader-body {
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(24px, 6vh, 64px) 24px 120px;
}
.reader-body .kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.reader-body h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; line-height: 1.2; margin: 0 0 40px; letter-spacing: -.01em; }
.reader-body .prose { max-width: none; }
.reader-body .prose p { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.75; margin: 0 0 1.25em; }
.reader-body .placeholder { color: var(--muted); font-style: italic; border: 1px dashed var(--line); padding: 16px 18px; border-radius: var(--radius); }
.reader-end { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }
.reader-end h2 { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.reader-end p { color: var(--muted); margin: 0 0 22px; }
.reader-email { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); max-width: 520px; margin-left: auto; margin-right: auto; text-align: center; }
.reader-email p { margin: 0 0 .8em; font-size: 15.5px; }
.reader-email p.muted { color: var(--muted); }
.email-form { display: flex; gap: 10px; margin-top: 22px; }
.email-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid #D1D5DB; border-radius: var(--radius); background: #fff; color: var(--text);
}
.email-form input:focus { outline: none; border-color: var(--text); }
.email-form .msg { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* ---------- Secondary pages (checkout, thank-you, legal) ---------- */
.page { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 24px 24px 80px; }
.page-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 0 34px; font-size: 12px; letter-spacing: .06em; }
.page-top a { text-decoration: none; color: var(--muted); }
.page-top a:hover { color: var(--text); }
.page h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.2; margin: 0 0 18px; letter-spacing: -.01em; }
.page h2 { font-size: 18px; font-weight: 600; margin: 2em 0 .6em; }
.page p, .page li { font-size: 16px; line-height: 1.65; }
.page .muted { color: var(--muted); }
.page .updated { font-size: 13px; color: var(--muted); margin-bottom: 30px; }

/* checkout */
.checkout { max-width: 560px; }
.order { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 28px; background: #fff; }
.order .items { margin: 0; }
.order .items div { font-size: 17px; font-weight: 500; line-height: 1.5; }
.order .kind { color: var(--muted); font-size: 13px; margin-top: 10px; }
.order .price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.order .price b { font-size: 24px; font-weight: 600; }
.order .price span { color: var(--muted); font-size: 13px; }
#checkout-area { min-height: 220px; }
.pay-placeholder {
  border: 1px dashed #D1D5DB; border-radius: var(--radius); padding: 28px 24px; color: var(--muted); font-size: 14px; line-height: 1.6;
}
.pay-placeholder b { color: var(--text); display: block; margin-bottom: 6px; }
.checkout .note { font-size: 12px; color: var(--muted); margin-top: 22px; line-height: 1.6; }

/* thank-you */
.thanks { position: relative; text-align: center; max-width: 620px; padding-top: clamp(30px, 8vh, 90px); }
.thanks h1 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.thanks p { font-size: 17px; }
.thanks .downloads { display: grid; gap: 14px; margin: 34px auto 26px; max-width: 460px; }
.thanks .downloads a { display: block; text-align: center; padding: 18px 20px; }
.thanks .downloads small { display: block; text-transform: none; letter-spacing: .02em; font-weight: 400; opacity: .7; margin-top: 4px; font-size: 12.5px; }
.thanks .sign { color: var(--muted); margin-top: 34px; }
.ghost-head {
  position: fixed; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none;
}
.ghost-head .wrap { position: relative; width: min(46vw, 62vh, 560px); aspect-ratio: 807 / 1061; opacity: .14; filter: saturate(.85); }
.ghost-head .hotspot { animation: fadeOut 1.6s var(--ease) forwards; animation-delay: calc(.6s + var(--i, 0) * .35s); pointer-events: none; }
.ghost-head .hotspot::before { display: none; }
@keyframes fadeOut { to { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }

/* ---------- Mobile: full-width head, bottom sheet ---------- */
@media (max-width: 900px) {
  :root { --head-w: min(100%, 520px); }
  .hero { padding: 22px 18px 12px; gap: 14px; }
  .hero-title h1 { font-size: 16px; letter-spacing: .14em; }
  .hero-title .byline { font-size: 10px; letter-spacing: .2em; }
  .stage { display: block; width: 100%; max-width: 520px; }
  .hero.is-shifted { transform: none; }
  .label-col, .leaders { display: none; }
  .head-wrap { width: 100%; margin: 0 auto; }
  .hotspot { width: 34px; height: 34px; font-size: 13px; }
  .hotspot::before { animation-duration: 4.2s; }

  .legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 14px;
    width: 100%;
    max-width: 520px;
    margin: 4px 0 6px;
    padding: 0;
    list-style: none;
  }
  .legend button {
    width: 100%; display: flex; gap: 10px; align-items: baseline;
    background: none; border: 0; border-bottom: 1px solid var(--line);
    padding: 10px 2px; text-align: left; cursor: pointer;
    text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 500; line-height: 1.35;
  }
  .legend button .n { color: var(--muted); font-weight: 400; min-width: 1.6em; letter-spacing: 0; }
  .legend button .sub { display: block; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 10.5px; font-weight: 400; }
  .legend button:active { color: var(--accent); }

  /* on the phone the buttons are below the fold, so the first-visit hint floats */
  .buy-hint {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 22px 16px 16px;
    background: linear-gradient(rgba(250, 250, 250, 0), var(--bg) 45%);
    pointer-events: none;
  }
  .buy-note.hint-on .buy-meta { opacity: 1; }

  .buy-row { grid-template-columns: 1fr; gap: 10px; }
  .buy-or { order: 0; }
  .buy-btn { padding: 18px 20px; }

  .panel {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    height: 60dvh;
    height: 60vh;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .10);
    transform: translateY(100%);
    transition: transform var(--dur) var(--ease), height 320ms var(--ease), visibility 0s linear var(--dur);
    touch-action: pan-y;
  }
  .panel.is-open { transform: none; }
  .panel.is-expanded { height: 93vh; height: 93dvh; }
  .panel.is-dragging { transition: none; }
  .panel--narrow { --panel-w: 100vw; }
  .sheet-handle {
    display: block; width: 100%; padding: 10px 0 4px; cursor: grab; background: none; border: 0; flex: 0 0 auto;
  }
  .sheet-handle::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: #D1D5DB; margin: 0 auto; }
  .panel-head { padding: 6px 22px 10px; }
  .panel-body { padding: 4px 22px 48px; }
  .panel-title { font-size: 11px; }

  .prose p { font-size: 15.5px; }
  .spec { grid-template-columns: 100px 1fr; }
  .bundle-trust { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .page-top { padding-bottom: 24px; }
}

@media (min-width: 901px) and (max-height: 700px) {
  :root { --head-w: min(36vw, 42vh); }
  .hero-title h1 { font-size: 17px; }
}

/* ---------- Cinematic intro (first visit only) ---------- */
.intro { display: none; }
.intro-pending .intro {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 24px;
  text-align: center;
  background-color: var(--bg);
  transition: background-color 1200ms var(--ease), opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.intro.is-clear { background-color: rgba(250, 250, 250, 0); pointer-events: none; }
.intro.is-gone { opacity: 0; visibility: hidden; }

.intro-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 750ms var(--ease), visibility 0s linear 750ms;
}
.intro-stage.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.intro-stage.is-slow-out { transition-duration: 1100ms; }

.intro-wordmark {
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(12px, 1.5vw, 19px);
  letter-spacing: .62em;
  text-indent: .62em;
  transition: letter-spacing 1600ms var(--ease), text-indent 1600ms var(--ease);
}
.intro-stage.is-on .intro-wordmark { letter-spacing: .26em; text-indent: .26em; }

.intro-claim {
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  line-height: 1.55;
  font-size: clamp(15px, 2.1vw, 29px);
}
.intro-claim .l {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(9px);
  transition: opacity 1050ms var(--ease), transform 1150ms var(--ease), filter 950ms var(--ease);
}
.intro-claim .l.is-in { opacity: 1; transform: none; filter: none; }
.intro-claim .accent { color: var(--accent); }

.intro-look {
  display: block;
  margin: clamp(30px, 6vh, 60px) auto 0;
  background: none;
  border: 0;
  padding: 8px 4px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 950ms var(--ease), transform 950ms var(--ease), color 180ms var(--ease);
}
.intro-look.is-in { opacity: 1; transform: none; }
.intro-look:hover { color: var(--text); }

.intro-question {
  margin: 0;
  max-width: 900px;
  font-size: clamp(21px, 3.3vw, 41px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.01em;
  transform: translateY(12px);
  transition: transform 950ms var(--ease);
}
.intro-stage.is-on .intro-question { transform: none; }


.intro-skip {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9CA3AF;
  opacity: 0;
  transition: opacity 700ms var(--ease), color 180ms var(--ease);
}
.intro-skip.is-in { opacity: 1; }
.intro-skip:hover { color: var(--text); }

/* while the intro runs, the site waits underneath */
.intro-pending body { overflow: hidden; }
.intro-pending .hero-title,
.intro-pending .buy,
.intro-pending .site-foot,
.intro-pending .label-col,
.intro-pending .leaders,
.intro-pending .legend { opacity: 0; }
.intro-pending .head-wrap { opacity: 0; transform: scale(1.05); filter: blur(18px); }

/* …and then the head emerges from the background, the rest follows */
.intro-pending.head-in .head-wrap {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 1700ms var(--ease), transform 2100ms var(--ease), filter 1600ms var(--ease);
}
.intro-pending.ui-in .hero-title,
.intro-pending.ui-in .buy,
.intro-pending.ui-in .site-foot,
.intro-pending.ui-in .label-col,
.intro-pending.ui-in .leaders,
.intro-pending.ui-in .legend { opacity: 1; transition: opacity 1100ms var(--ease); }

@media (max-width: 900px) {
  .intro-claim { letter-spacing: .14em; line-height: 1.6; }
  .intro-question { font-size: clamp(20px, 6.4vw, 30px); }
  .intro-hint { font-size: 10px; letter-spacing: .18em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .panel, .backdrop, .reader, .leaders, .hotspot { display: none !important; }
}
