/* SkinFusion v2 — components: nav, hero, bubbles, cards, bento, accordion, tiers, footer */

/* === NAV — fixed top minimal bar, transparent → cream on scroll =========== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--dur-normal) var(--ease-enter), box-shadow var(--dur-normal) var(--ease-enter);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin-inline: auto;
  padding: var(--s-4) var(--s-6);
}
.nav.scrolled {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(34, 27, 20, 0.06);
}
body.has-ink-hero .nav:not(.scrolled) {
  background: linear-gradient(rgba(20, 15, 10, 0.55), transparent);
}
.nav__logo {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none;
}
.nav__logo span { color: var(--accent); }
.nav__links { display: none; gap: var(--s-8); list-style: none; align-items: center; }
.nav__links a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--fg-secondary); transition: color var(--dur-fast) var(--ease-enter); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--fg); }
.nav__cta { display: none; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; padding: 10px 20px; min-height: 40px; font-size: var(--text-sm); }
}
.nav__cta--sm { display: none; }
@media (max-width: 899px) {
  .nav__cta--sm {
    display: inline-flex; padding: 8px 14px; min-height: 40px;
    font-size: var(--text-sm); white-space: nowrap;
    margin-left: auto; margin-right: var(--s-3);
  }
}
.nav__burger {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: var(--radius-md);
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--fg); position: relative;
  transition: transform var(--dur-fast) var(--ease-enter);
}
.nav__burger span::before { position: absolute; top: -7px; }
.nav__burger span::after { position: absolute; top: 7px; }
@media (min-width: 900px) { .nav__burger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-6);
  padding: var(--s-12) var(--s-8);
  transform: translateY(-100%);
  transition: transform var(--dur-normal) var(--ease-enter);
}
.mobile-menu.open { transform: none; }
.mobile-menu a {
  font-family: var(--font-display); font-size: var(--text-3xl); text-decoration: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-normal) var(--ease-enter), transform var(--dur-normal) var(--ease-enter);
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(2) { transition-delay: 50ms; }
.mobile-menu.open a:nth-child(3) { transition-delay: 100ms; }
.mobile-menu.open a:nth-child(4) { transition-delay: 150ms; }
.mobile-menu.open a:nth-child(5) { transition-delay: 200ms; }
.mobile-menu.open a:nth-child(6) { transition-delay: 250ms; }

/* === HERO — single central object + bubble field ========================== */
.hero {
  position: relative;
  min-height: 92svh;
  display: grid; align-items: center;
  padding-block: calc(var(--s-24) + 56px) var(--s-20);
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--s-10); position: relative; z-index: 2; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--s-16); }
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}
.hero__stamp {
  position: absolute; top: var(--s-4); right: var(--s-4);
  background: var(--ink-bg); color: var(--gold-stamp);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: var(--s-2) var(--s-3); border-radius: var(--radius-sm);
}
.hero__sub { margin-top: var(--s-6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); align-items: center; }
.hero__guarantee { font-size: var(--text-sm); color: var(--fg-muted); margin-top: var(--s-4); }

/* === BUBBLES — the "Oxygen Rising" signature ============================== */
.bubble-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.bubble-field i, .bubble-stream i {
  position: absolute; bottom: -24px; display: block;
  width: var(--bs, 8px); height: var(--bs, 8px);
  left: var(--bx, 50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.9), var(--bubble) 55%, transparent 75%);
  border: 1px solid rgba(139, 111, 71, 0.12);
  opacity: 0;
  animation: bubble-rise var(--bd, 11s) linear infinite;
  animation-delay: var(--bdel, 0s);
}
.section--ink .bubble-stream i {
  background: radial-gradient(circle at 32% 30%, rgba(255,253,248,0.55), var(--bubble-ink) 55%, transparent 75%);
  border-color: rgba(201, 169, 97, 0.18);
}
@keyframes bubble-rise {
  0%   { transform: translate3d(0, 0, 0) scale(0.7); opacity: 0; }
  8%   { opacity: 0.9; }
  92%  { opacity: 0.5; }
  100% { transform: translate3d(var(--bdx, 14px), -110vh, 0) scale(1.05); opacity: 0; }
}
/* section-divider stream: thin band of rising bubbles */
.bubble-stream {
  position: relative; height: 72px; overflow: hidden; pointer-events: none;
}
.bubble-stream i { animation-name: bubble-rise-short; }
@keyframes bubble-rise-short {
  0%   { transform: translate3d(0, 0, 0) scale(0.7); opacity: 0; }
  15%  { opacity: 0.85; }
  100% { transform: translate3d(var(--bdx, 10px), -96px, 0) scale(1); opacity: 0; }
}
/* button bubble burst on hover (JS spawns, CSS animates) */
.btn-bubbles i {
  position: absolute; bottom: 20%; left: var(--bx, 50%);
  width: var(--bs, 5px); height: var(--bs, 5px); border-radius: 50%;
  background: rgba(250, 246, 239, 0.85);
  pointer-events: none;
  animation: btn-bubble 700ms var(--ease-enter) forwards;
}
@keyframes btn-bubble {
  to { transform: translateY(-34px); opacity: 0; }
}

/* === TRUST BAND =========================================================== */
.trust-band {
  display: grid; gap: var(--s-6); text-align: center;
  padding-block: var(--s-10);
  border-block: 1px solid var(--border);
}
@media (min-width: 768px) { .trust-band { grid-template-columns: repeat(3, 1fr); } }
.trust-band .num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; display: block; }
.trust-band .small { margin-top: var(--s-1); }

/* === STAT BAND (citation-bait) ============================================ */
.stat-band { text-align: center; }
.stat-band .num {
  font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 700; display: block;
}
.stat-band cite { font-style: normal; font-size: var(--text-sm); color: var(--fg-muted); }
.section--ink .stat-band cite { color: var(--ink-fg-muted); }

/* === PULL QUOTE =========================================================== */
.pullquote {
  border-left: 2px solid var(--accent);
  padding-left: var(--s-6);
  font-family: var(--font-display); font-size: var(--text-xl); font-style: italic;
}
.pullquote footer { font-family: var(--font-body); font-style: normal; font-size: var(--text-sm); color: var(--fg-muted); margin-top: var(--s-3); }

/* === ZIGZAG (science steps) =============================================== */
.zigzag { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 900px) {
  .zigzag { grid-template-columns: 1fr 1fr; gap: var(--s-16); }
  .zigzag--flip .zigzag__media { order: 2; }
}
.zigzag__media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.zigzag + .zigzag { margin-top: var(--s-24); }
.step-no {
  font-family: var(--font-display); font-size: var(--text-2xl); font-style: italic;
  color: var(--accent);
}

/* === POD BENTO ============================================================ */
.bento { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  #pod-grid .pod-card:first-child { grid-column: span 2; grid-row: span 2; }
}
.pod-card {
  position: relative; overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: transform var(--dur-fast) var(--ease-enter), box-shadow var(--dur-fast) var(--ease-enter);
}
.pod-card:hover { transform: translateY(-3px); box-shadow: var(--elev-2); }
.pod-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); }
.pod-card__focus {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.pod-card h3 { font-size: var(--text-xl); }
.pod-card .price-row { margin-top: auto; display: flex; align-items: baseline; gap: var(--s-3); }
.pod-card .sub-price { font-size: var(--text-sm); color: var(--success); font-weight: 600; }

/* === TIERS (3, one recommended) =========================================== */
.tiers { display: grid; gap: var(--s-6); align-items: stretch; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  display: flex; flex-direction: column; gap: var(--s-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
}
.tier--recommended {
  border-color: var(--accent);
  box-shadow: var(--elev-3);
  position: relative;
}
@media (min-width: 900px) {
  .tier--recommended { transform: scale(1.045); z-index: 2; }
  .tier--recommended:hover { transform: scale(1.055); }
}
.tier__flag {
  position: absolute; top: calc(-1 * var(--s-3)); left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-fg);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: var(--s-1) var(--s-4); border-radius: var(--radius-sm);
  white-space: nowrap;
}
.tier img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.tier .price { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; }
.tier .compare { color: var(--fg-muted); text-decoration: line-through; font-size: var(--text-base); margin-left: var(--s-2); }
.tier .btn { margin-top: auto; }

/* === BONUS STACK ========================================================== */
.bonus-list { list-style: none; display: grid; gap: var(--s-4); }
.bonus-list li {
  display: grid; gap: var(--s-1);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-md);
  padding: var(--s-5, 20px) var(--s-6);
}
.bonus-list .bonus-name { font-weight: 600; font-size: var(--text-lg); color: var(--ink-fg); }

/* === GUARANTEE PANEL ====================================================== */
.guarantee {
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  background: var(--bg-elevated);
  display: grid; gap: var(--s-3);
  max-width: 720px; margin-inline: auto;
}
.guarantee h3 { color: var(--accent); }

/* === ACCORDION FAQ ======================================================== */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-6) var(--s-2);
  font-weight: 600; font-size: var(--text-lg);
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: var(--text-2xl); color: var(--accent);
  transition: transform var(--dur-fast) var(--ease-enter);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 var(--s-2) var(--s-6); color: var(--fg-secondary); max-width: 62ch; }

/* === REVIEWS ============================================================== */
.review-grid { display: grid; gap: var(--s-6); }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start;
}
.review .stars { color: var(--gold-stamp); letter-spacing: 2px; font-size: var(--text-sm); }
.review .who { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-2); }
.review .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-tint); color: var(--accent); font-weight: 600; font-size: var(--text-sm);
}
.placeholder-note {
  border: 1px dashed var(--accent); border-radius: var(--radius-md);
  padding: var(--s-4) var(--s-6); font-size: var(--text-sm); color: var(--fg-secondary);
  background: var(--bg-elevated);
}

/* === STICKY ATC BAR (espresso chrome, mirrors hero) ======================= */
.sticky-atc {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  background: rgba(28, 22, 16, 0.96); backdrop-filter: blur(10px);
  color: var(--ink-fg);
  border-top: 1px solid rgba(201, 169, 97, 0.45);
  box-shadow: 0 -10px 30px rgba(34, 27, 20, 0.18);
  padding: var(--s-3) var(--s-4) max(var(--s-3), env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  transform: translateY(100%);
  transition: transform var(--dur-normal) var(--ease-enter);
}
.sticky-atc.show { transform: none; }
.sticky-atc__id { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.sticky-atc__id img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-md); flex-shrink: 0; }
.sticky-atc .name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; white-space: nowrap; }
.sticky-atc .price {
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg);
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0;
}
.sticky-atc .compare { color: var(--ink-fg-muted); text-decoration: line-through; font-size: var(--text-sm); }
.sticky-atc .save-line { display: block; font-size: var(--text-xs); color: var(--gold-stamp); }
.sticky-atc .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .sticky-atc { gap: var(--s-3); max-height: 72px; }
  .sticky-atc__id img { display: none; }
  .sticky-atc .name { display: none; }
  .sticky-atc .save-line { display: none; }
  .sticky-atc .btn { padding: 10px 18px; min-height: 44px; font-size: var(--text-sm); }
}

/* === FOOTER =============================================================== */
.footer { background: var(--ink-bg); color: var(--ink-fg-muted); padding-block: var(--s-20) var(--s-10); position: relative; overflow: hidden; }
.footer a { color: var(--ink-fg-muted); }
.footer a:hover { color: var(--ink-fg); }
.footer__grid { display: grid; gap: var(--s-10); position: relative; z-index: 2; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__logo { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--ink-fg); }
.footer__logo span { color: var(--ink-accent); }
.footer ul { list-style: none; display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.footer .legal { margin-top: var(--s-16); font-size: var(--text-xs); display: flex; flex-wrap: wrap; gap: var(--s-6); justify-content: space-between; }

/* === HERO INK — dark cinematic hero (Will's signature pattern) ============ */
.hero--ink {
  background:
    radial-gradient(ellipse 90% 60% at 70% 20%, rgba(201, 169, 97, 0.10), transparent 60%),
    url('../img/grain.png'),
    var(--ink-bg);
  background-blend-mode: normal, overlay, normal;
  color: var(--ink-fg);
}
.hero--ink .lede, .hero--ink .hero__guarantee { color: var(--ink-fg-muted); }
.hero--ink .eyebrow { color: var(--ink-accent); }
.hero--ink h1 em { color: var(--ink-accent); }
.hero--ink .textlink { color: var(--ink-fg); text-decoration-color: var(--ink-border); }
.hero--ink .textlink:hover { text-decoration-color: var(--ink-fg); }
.hero--ink .hero__media img {
  box-shadow: 0 24px 80px -20px rgba(201, 169, 97, 0.25);
  mask-image: none;
}
.hero--ink .bubble-field i {
  background: radial-gradient(circle at 32% 30%, rgba(255, 250, 235, 0.85), var(--bubble-gold) 50%, transparent 74%);
  border-color: rgba(214, 183, 121, 0.25);
}

/* nav over a dark hero: light chrome until scrolled */
body.has-ink-hero .nav:not(.scrolled) .nav__logo,
body.has-ink-hero .nav:not(.scrolled) .nav__links a { color: var(--ink-fg); }
body.has-ink-hero .nav:not(.scrolled) .nav__links a:hover { color: var(--ink-accent); }
body.has-ink-hero .nav:not(.scrolled) .nav__burger span,
body.has-ink-hero .nav:not(.scrolled) .nav__burger span::before,
body.has-ink-hero .nav:not(.scrolled) .nav__burger span::after { background: var(--ink-fg); }

/* === WORD-REVEAL headline (kinetic hero entrance, pure CSS) =============== */
.word-reveal .w {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  /* descender room: the overflow mask must extend below the baseline box
     or y/g/p get clipped; negative margin cancels the layout shift */
  padding-bottom: 0.14em; margin-bottom: -0.14em;
}
.word-reveal .w > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 700ms var(--ease-enter) forwards;
  animation-delay: calc(var(--wi, 0) * 80ms + 120ms);
}
@keyframes word-up { to { transform: none; } }

/* === MANIFESTO MARQUEE — the first-scroll hook ============================ */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--border);
  padding-block: var(--s-6);
  background: var(--bg);
}
.marquee__track {
  display: inline-block;
  animation: marquee-x 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: var(--text-3xl);
  color: var(--fg);
  padding-inline: var(--s-6);
}
.marquee__track span b { font-style: italic; font-weight: 600; color: var(--accent); }
.marquee__track .dot { color: var(--accent); font-style: normal; }
@keyframes marquee-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* === SPOTLIGHT CARDS — cursor-tracking radial highlight =================== */
.spotlight { position: relative; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 169, 97, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-enter);
  pointer-events: none;
  z-index: 1;
}
.spotlight:hover::before { opacity: 1; }

/* pod tone wash + image tile */
.pod-card { isolation: isolate; border-top: 4px solid var(--tone, var(--border)); }
.pod-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 42%;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--tone, var(--gold-stamp)) 20%, transparent), transparent);
  pointer-events: none; z-index: -1;
}
.pod-card__focus { color: color-mix(in oklab, var(--tone, var(--accent)) 70%, var(--fg)); }
.pod-card__focus::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--tone, var(--accent)); margin-right: 6px; vertical-align: baseline; }
.pod-card__badge {
  position: absolute; top: var(--s-3); right: var(--s-3); z-index: 2;
  background: var(--ink-bg); color: var(--gold-stamp);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: var(--s-1) var(--s-3); border-radius: var(--radius-sm);
}
.img-tile {
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  padding: var(--s-4);
}
.img-tile img { mix-blend-mode: multiply; }

/* === POD PAIR SELECTOR ===================================================== */
.pod-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), var(--elev-2);
}
.pod-card.selected .pod-card__focus::after { content: " · in your pair"; color: var(--success); }
[data-selectable] .pod-card { cursor: pointer; }
.pair-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
  margin-top: var(--s-8);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: var(--s-4) var(--s-6);
  position: sticky; bottom: var(--s-4); z-index: 5;
  box-shadow: var(--elev-2);
}
.pair-bar b { color: var(--accent); }
.pair-slots { display: inline-flex; gap: var(--s-2); }
.pair-slots i {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px dashed var(--border); display: inline-block;
  transition: background var(--dur-fast) var(--ease-enter), border-color var(--dur-fast) var(--ease-enter);
}
.pair-slots i.filled { background: var(--accent); border: 2px solid var(--accent); }

/* === BLEND PICKER MATRIX =================================================== */
.picker { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--border); }
.picker li {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-lg);
}
.picker .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--tone); flex-shrink: 0; }
.picker li span:nth-child(2) { flex: 1; color: var(--fg-secondary); }
.picker b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; }

/* === FIZZ BURST (pod activation micro-moment) ============================= */
.fizz-burst i {
  position: absolute; border-radius: 50%;
  left: var(--bx, 50%); top: var(--by, 60%);
  width: var(--bs, 5px); height: var(--bs, 5px);
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.95), var(--bubble-gold) 60%, transparent 80%);
  pointer-events: none; z-index: 2;
  animation: fizz-pop 800ms var(--ease-enter) forwards;
}
@keyframes fizz-pop {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(calc(-46px - var(--bj, 0px))) translateX(var(--bdx, 0px)) scale(1); opacity: 0; }
}

/* === COUNT-UP + PRICE STRIKE ============================================== */
.strike-anim { position: relative; text-decoration: none; }
.strike-anim::after {
  content: ""; position: absolute; left: 7%; top: 52%; height: 2px; width: 0;
  background: currentColor;
  transition: width 700ms var(--ease-enter) 400ms;
}
.strike-anim.in::after { width: 86%; }

/* === RITUAL BAND — full-bleed human peak moment =========================== */
.ritual-band {
  position: relative; overflow: hidden;
  min-height: 72svh;
  display: grid; align-items: end;
}
.ritual-band img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ritual-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(34, 27, 20, 0.82) 0%, rgba(34, 27, 20, 0.15) 55%, transparent 100%);
}
.ritual-band .container { position: relative; z-index: 2; padding-block: var(--s-16); color: var(--ink-fg); }
.ritual-band .time {
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-accent);
}
.ritual-band h2 { font-size: var(--text-4xl); margin-top: var(--s-3); }
.ritual-band p { color: var(--ink-fg-muted); margin-top: var(--s-3); max-width: 48ch; }

/* gold CTA variant (high-contrast on dark) */
.btn--gold { background: var(--gold-stamp); color: var(--ink-bg); font-weight: 700; }
.btn--gold:hover { background: #D8BC79; }

.ritual-band--peak { min-height: 96svh; }
/* centered-content bands need a full scrim, not just the bottom gradient */
.ritual-band--scrim::after {
  background:
    linear-gradient(rgba(34, 27, 20, 0.66), rgba(34, 27, 20, 0.66)),
    linear-gradient(to top, rgba(34, 27, 20, 0.85), transparent 70%);
}
.ritual-band--peak h2 { font-size: var(--text-display); }
.ritual-band--peak p { max-width: 54ch; font-size: var(--text-lg); }

/* ritual band video handling */
.ritual-band video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ritual-band .ritual-fallback { display: none; }
@media (prefers-reduced-motion: reduce), (max-width: 640px) {
  .ritual-band video.bg { display: none; }
  .ritual-band .ritual-fallback { display: block; }
}

/* === SPA MATH CALCULATOR =================================================== */
.calc { max-width: 880px; margin-inline: auto; }
.calc__row { margin-top: var(--s-10); }
.calc__row label { display: block; font-size: var(--text-lg); color: var(--ink-fg); }
.calc__row output { color: var(--ink-accent); font-weight: 700; font-size: var(--text-xl); margin-left: var(--s-2); }
.calc input[type="range"] {
  width: 100%; margin-top: var(--s-6); accent-color: var(--ink-accent);
  height: 32px; cursor: pointer;
}
.calc__compare { display: grid; gap: var(--s-4); margin-top: var(--s-10); }
@media (min-width: 768px) { .calc__compare { grid-template-columns: 1fr 1fr 1.2fr; } }
.calc__compare > div {
  border: 1px solid var(--ink-border); border-radius: var(--radius-md);
  padding: var(--s-6); display: grid; gap: var(--s-2); align-content: start;
}
.calc__compare strong { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; color: var(--ink-fg); }
.calc__compare .small { letter-spacing: 0.08em; text-transform: uppercase; font-size: var(--text-xs); color: var(--ink-fg-muted); }
.calc__compare .muted-ink { text-transform: none; letter-spacing: 0; }
.calc__save { border-color: var(--ink-accent) !important; }
.calc__save strong { color: var(--ink-accent); }
.calc__quotes { display: grid; gap: var(--s-4); margin-top: var(--s-8); }
@media (min-width: 768px) { .calc__quotes { grid-template-columns: 1fr 1fr; } }
.calc__quotes blockquote {
  border-left: 2px solid var(--ink-accent);
  padding-left: var(--s-4);
  font-family: var(--font-display); font-style: italic; font-size: var(--text-base);
  color: var(--ink-fg-muted);
}
.calc__quotes footer { font-family: var(--font-body); font-style: normal; font-size: var(--text-xs); margin-top: var(--s-2); letter-spacing: 0.06em; text-transform: uppercase; }

/* === PROOF CHIPS (hero decision row) ====================================== */
.proof-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.proof-chips > span {
  display: inline-flex; align-items: center; gap: var(--s-2);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-md);
  padding: var(--s-2) var(--s-4);
  font-size: var(--text-sm); color: var(--ink-fg-muted);
}
.proof-chips b { color: var(--ink-fg); font-weight: 600; }

/* === QUOTE STRIP — real attributed voices ================================= */
.quote-strip { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .quote-strip { grid-template-columns: repeat(3, 1fr); } }
.quote-strip blockquote {
  border: 1px solid var(--border); border-left: 2px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: var(--s-6);
  font-family: var(--font-display); font-style: italic; font-size: var(--text-lg);
  display: grid; gap: var(--s-4); align-content: space-between;
}
.quote-strip footer { font-family: var(--font-body); font-style: normal; font-size: var(--text-xs); color: var(--fg-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* === GLOW DECISION SPLIT (portrait at the decision point) ================= */
.decision-split { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 900px) { .decision-split { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-16); } }
.decision-split img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* === HERO mobile fold: headline + image + CTA all in screen one ===========
   Scoped to the home ink hero ONLY — on other pages these order rules were
   pushing the hero image below the text (PDP text-only fold bug). */
@media (max-width: 899px) {
  .hero { padding-block: calc(var(--s-16) + 56px) var(--s-12); min-height: auto; }
  .hero__media img { aspect-ratio: 16 / 9; max-height: 30svh; object-fit: cover; object-position: 50% 28%; }
  body.has-ink-hero .hero__grid > div:first-child { display: contents; }
  body.has-ink-hero .hero__grid { display: flex; flex-direction: column; gap: var(--s-4); }
  body.has-ink-hero .hero__grid .eyebrow { order: 1; margin-bottom: 0; }
  body.has-ink-hero .hero__grid h1 { order: 2; font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  body.has-ink-hero .hero__media { order: 3; margin-top: var(--s-1); }
  body.has-ink-hero .hero__media img { max-height: 26svh; }
  body.has-ink-hero .hero__grid .hero__ctas { order: 4; margin-top: var(--s-2); }
  body.has-ink-hero .hero__grid .hero__ctas .btn { width: 100%; justify-content: center; }
  body.has-ink-hero .hero__grid .hero__ctas .textlink { display: none; }
  body.has-ink-hero .hero__grid .lede { order: 5; font-size: var(--text-base); }
  body.has-ink-hero .hero__grid .hero__guarantee, body.has-ink-hero .hero__grid .proof-chips { order: 6; }
  body.has-ink-hero .hero__grid p.small { order: 7; margin-top: var(--s-1) !important; }
  /* center the proof chips + Shop Pay line on phones */
  body.has-ink-hero .hero__grid .proof-chips { justify-content: center; }
  body.has-ink-hero .hero__grid .proof-chips span { justify-content: center; text-align: center; }
  body.has-ink-hero .hero__grid p.small { text-align: center; }
}

/* demo loop video in zigzag (+ live-demo affordance chip) */
.demo-loop { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .demo-loop { display: none; } }
.demo-wrap { position: relative; }
.demo-wrap .live-chip {
  position: absolute; top: var(--s-3); left: var(--s-3);
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: rgba(28, 22, 16, 0.82); color: var(--ink-fg);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: var(--s-1) var(--s-3); border-radius: var(--radius-sm);
}
.demo-wrap .live-chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-stamp);
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .demo-wrap .live-chip { display: none; } }

/* step numerals, bigger */
.step-no { font-size: var(--text-3xl); }

/* sensory strip */
.sensory-strip {
  border-block: 1px solid var(--border);
  padding-block: var(--s-8);
  text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: var(--text-xl);
}
.sensory-strip .small { font-family: var(--font-body); font-style: normal; display: block; margin-top: var(--s-2); }

/* === MOBILE COMPRESSION PACK (scroll-stamina: cut ~40% of 390px scroll) === */
@media (max-width: 640px) {
  .section { padding-block: var(--s-12); }
  .m-hide { display: none !important; }
  .marquee { padding-block: var(--s-4); }
  .marquee__track span { font-size: var(--text-xl); }
  .trust-band { padding-block: var(--s-6); gap: var(--s-4); }
  .zigzag { gap: var(--s-6); }
  .zigzag + .zigzag { margin-top: var(--s-12); }
  .split-2 { gap: var(--s-6); }
  .ritual-band, .ritual-band--peak { min-height: 64svh; }
  .ritual-band--peak h2 { font-size: var(--text-3xl); }
  .calc__quotes { display: none; }
  .calc__compare { gap: var(--s-3); }
  .calc__compare > div { padding: var(--s-4); }
  /* pod cards: 2-up compact grid instead of a 4-screen stack */
  .bento { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .pod-card { padding: var(--s-3); gap: var(--s-2); }
  .pod-card h3 { font-size: var(--text-base); }
  .pod-card .small { font-size: var(--text-xs); }
  .pod-card .price-row { gap: var(--s-2); flex-wrap: wrap; }
  .pod-card .btn { padding: 8px 10px !important; min-height: 40px !important; width: 100%; justify-content: center; }
  .pod-card__badge { font-size: 9px; padding: 2px 6px; }
  #pod-grid .pod-card:last-child { grid-column: 1 span 2; grid-column: 1 / -1; }
  /* hero media: show the device head, slightly taller */
  body.has-ink-hero .hero__media img { max-height: 30svh; object-position: 50% 42%; }
  /* CTA dedup: nav pill appears only after the hero CTA scrolls away */
  body.has-ink-hero .nav:not(.scrolled) .nav__cta--sm { display: none; }
  .faq summary { padding-block: var(--s-4); font-size: var(--text-base); }
  .faq .faq__a { padding-bottom: var(--s-4); }
  .guarantee { padding: var(--s-6); }
  .quote-strip blockquote { padding: var(--s-4); font-size: var(--text-base); }
  /* recommended tier first on phones */
  .tiers { display: flex; flex-direction: column; }
  .tier--recommended { order: -1; }
  /* comparison: hide the table on phones, show the two stacked cards */
  .comparison { display: none; }
  .compare-cards { display: grid; }
  .checkmarks { gap: var(--s-2); }
  .checkmarks li span { font-size: var(--text-base); }
  .picker li { padding: var(--s-3) var(--s-1); font-size: var(--text-base); }
  .picker b { font-size: var(--text-lg); }
  /* generic hero compression (non-ink pages): media into the fold */
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem) !important; }
  .hero { padding-block: calc(var(--s-12) + 56px) var(--s-10); min-height: auto !important; }
  .hero__media video { max-height: 32svh; object-fit: cover; width: 100%; }
  .bubble-stream { display: none; }
  /* one sticky chrome only: bottom bar owns conversion on the ink-hero page */
  body.has-ink-hero .nav__cta--sm { display: none !important; }
  .sticky-atc .btn { min-height: 48px; }
  /* calculator: chips on mobile, slider hidden */
  .calc input[type="range"] { display: none; }
  .calc__chips { display: flex !important; }
}
/* calculator preset chips (mobile) */
.calc__chips { display: none; gap: var(--s-3); margin-top: var(--s-6); }
.calc__chips button {
  flex: 1; min-height: 52px;
  border: 1px solid var(--ink-border); border-radius: var(--radius-md);
  color: var(--ink-fg); font-weight: 600; font-size: var(--text-base);
  background: transparent;
  transition: border-color var(--dur-fast) var(--ease-enter), background var(--dur-fast) var(--ease-enter);
}
.calc__chips button[aria-pressed="true"] { background: var(--ink-accent); color: var(--ink-bg); border-color: var(--ink-accent); }

/* === SPLIT-2 — wide two-column editorial section ========================== */
.split-2 { display: grid; gap: var(--s-10); align-items: start; }
@media (min-width: 900px) {
  .split-2 { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-20); }
  .split-2 > * + * { padding-top: var(--s-12); }
}

/* === COMPARE CARDS (mobile replacement for the comparison table) ========== */
.compare-cards { display: none; gap: var(--s-4); margin-top: var(--s-8); }
@media (max-width: 640px) { .compare-cards { display: grid; } }
.compare-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  padding: var(--s-6);
  display: grid; gap: var(--s-2);
}
.compare-card h3 { font-size: var(--text-lg); }
.compare-card p { font-size: var(--text-base); color: var(--fg-secondary); }
.compare-card b { font-size: var(--text-xl); color: var(--fg); }
.compare-card--win { border: 2px solid var(--gold-stamp); }
.compare-card--win h3 { color: var(--accent); }

/* === MISC ================================================================= */
.checkmarks { list-style: none; display: grid; gap: var(--s-3); }
.checkmarks li { display: flex; gap: var(--s-3); align-items: flex-start; }
.checkmarks li::before {
  content: "✓"; color: var(--accent); font-weight: 700; line-height: 1.5;
}
.checkmarks li span { flex: 1; }

.comparison { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.comparison th, .comparison td { text-align: left; padding: var(--s-4); border-bottom: 1px solid var(--border); }
.comparison th { font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); }
.comparison td:last-child, .comparison th:last-child { color: var(--accent); font-weight: 600; }
