/* ============================================================
   ALLY'S BEAUTY ACADEMY — DESIGN SYSTEM v2
   Source: allys-design-standard.md (measured from allys.beauty)
   The brand is near-monochrome: white, black, cream. Warmth comes
   from PHOTOGRAPHY, not coloured UI. Mocha is a whisper accent only.
   Red = urgency & loss ONLY. Never brown fills, never tone-on-tone.
   ============================================================ */

:root {
  --white: #FFFFFF;
  --cream: #FAF4F1;
  --ink: #000000;
  --charcoal: #464646;
  --grey-muted: #9C9C9C;
  --line: #ECE4DF;
  --mocha: #B28D77;        /* stars, tiny accents only, never body text */
  --accent-deep: #6B4A38;  /* small uppercase labels, readable on white/cream */
  --dark: #141414;         /* dark bands: neutral, not brown */
  --dark-text: #D9D9D9;
  --mocha-light: #C9A68E;  /* accent on dark bands */
  --urgency-red: #C0392B;
  --font: 'Lato', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --radius: 6px;
  --maxw: 1080px;
  --maxw-text: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px; line-height: 1.7; color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* ---------- Type scale ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 400; line-height: 1.15; }
.billboard { font-size: clamp(38px, 6vw, 70px); font-weight: 300; letter-spacing: -0.5px; }
.billboard strong { font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(22px, 3vw, 34px); }
.lead { font-size: clamp(17px, 2vw, 20px); }
.fine { font-size: 13px; color: var(--grey-muted); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow--pill { border: 1px solid var(--mocha); border-radius: 100px; padding: 6px 16px; }

/* ---------- Bands (white → cream → dark rhythm) ---------- */
.band { padding: clamp(56px, 9vw, 100px) 20px; text-align: center; }
.band__inner { max-width: var(--maxw); margin: 0 auto; }
.band__inner--text { max-width: var(--maxw-text); margin: 0 auto; }
.band--cream { background: var(--cream); }
.band--dark { background: var(--dark); }
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--white); }
.band--dark p { color: var(--dark-text); }
.band--dark .fine { color: #8F8F8F; }
.band > * + *, .stack > * + * { margin-top: 18px; }

/* ---------- CTAs (black slabs; brand site's elegance, Gallo's weight) ---------- */
.cta {
  display: inline-block; background: var(--ink); color: var(--white);
  font-size: 17px; font-weight: 700; letter-spacing: .4px; text-decoration: none;
  padding: 18px 42px; border: 0; border-radius: var(--radius); cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transition: background .15s ease, transform .15s ease;
}
.cta:hover { background: #2B2B2B; transform: translateY(-1px); }
.cta--block { display: block; width: 100%; max-width: 420px; margin: 0 auto; text-align: center; }
.band--dark .cta, .stickybar .cta { background: var(--white); color: var(--ink); box-shadow: none; }
.band--dark .cta:hover, .stickybar .cta:hover { background: var(--cream); }
.cta-sub { display: block; margin-top: 10px; font-size: 13px; color: var(--grey-muted); }
.btn-ghost {
  display: inline-block; color: var(--ink); text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 2px solid var(--mocha);
}

/* ---------- Sticky bars ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60; background: var(--urgency-red); color: #fff;
  text-align: center; font-size: 14px; font-weight: 700; padding: 10px 16px;
}
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--dark); color: var(--dark-text);
  display: flex; gap: 14px; align-items: center; justify-content: center;
  padding: 12px 16px; font-size: 14px;
}
.stickybar .cta { padding: 10px 24px; font-size: 15px; }
body { padding-bottom: 70px; }

/* ---------- Preview stamps (Gallo honesty protocol) ---------- */
.stamp {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--urgency-red);
  border: 1px dashed var(--urgency-red); border-radius: 3px; padding: 2px 7px;
  vertical-align: middle; background: rgba(255,255,255,.9);
}

/* ---------- Header ---------- */
.sitehead {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 20px;
}
.logo { font-size: 20px; letter-spacing: .5px; color: var(--ink); text-decoration: none; }
.logo em { font-style: normal; color: var(--accent-deep); }

/* ---------- Stars / quotes ---------- */
.stars { color: var(--mocha); letter-spacing: 3px; font-size: 18px; }
.quote-band { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.quote-band figure { font-size: 15px; color: var(--charcoal); }
.quote-band figcaption { margin-top: 6px; font-size: 13px; color: var(--grey-muted); }

/* ---------- Stat trio ---------- */
.stat-trio { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.stat-trio b { display: block; font-size: 34px; color: var(--ink); font-weight: 300; }
.stat-trio span { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); text-align: left; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.band--dark .card { background: #1E1E1E; border-color: #2E2E2E; }
.band--dark .card h3, .band--dark .card p { color: var(--dark-text); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.card p { font-size: 15px; }

/* ---------- ❌/✅ anchors ---------- */
.anchors { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-size: 17px; }
.anchors .lose { color: var(--urgency-red); }
.anchors .win { color: var(--ink); font-weight: 700; }

/* ---------- VSL ---------- */
.vsl {
  position: relative; aspect-ratio: 16/9; max-width: 760px; margin: 0 auto;
  background: var(--dark); border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--dark-text);
}
.vsl .play {
  width: 84px; height: 84px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--ink);
}

/* ---------- Offer / price ---------- */
.offer-stack { max-width: 560px; margin: 0 auto; text-align: left; }
.offer-stack li {
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--charcoal);
}
.offer-stack .val { color: var(--grey-muted); white-space: nowrap; }
.price-slash { font-size: clamp(34px, 5vw, 54px); color: var(--ink); }
.price-slash s { color: var(--urgency-red); font-weight: 300; margin-right: 14px; }
.price-slash b { color: var(--ink); font-weight: 700; }
.seal {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  border: 2px solid var(--ink); border-radius: 100px; padding: 10px 22px;
  font-weight: 700; color: var(--ink); font-size: 14px; letter-spacing: .5px; background: var(--white);
}

/* ---------- Movie scene ---------- */
.scene p { font-size: clamp(18px, 2.4vw, 23px); line-height: 1.5; color: var(--ink); }
.band--dark .scene p, .band--dark.scene p { color: var(--white); }
.accent { color: var(--accent-deep); }
.band--dark .accent { color: var(--mocha-light); }

/* ---------- FAQ ---------- */
.faq details { text-align: left; border-bottom: 1px solid var(--line); padding: 16px 0; max-width: var(--maxw-text); margin: 0 auto; }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; font-size: 16px; }
.faq p { margin-top: 10px; font-size: 15px; }

/* ---------- Forms ---------- */
.field {
  width: 100%; max-width: 420px; padding: 14px 16px; margin: 0 auto;
  border: 1px solid #D8CCC4; border-radius: var(--radius); font-family: var(--font); font-size: 16px;
  background: var(--white); color: var(--ink);
}
form .field + .field, form .field + .cta { margin-top: 12px; }

/* ---------- Footer ---------- */
.sitefoot { font-size: 13px; color: var(--grey-muted); padding: 40px 20px 60px; text-align: center; }
.sitefoot a { color: var(--grey-muted); }

/* ---------- Members / admin ---------- */
.app-shell { max-width: var(--maxw); margin: 0 auto; padding: 30px 20px; text-align: left; }
.progressbar { height: 8px; background: var(--cream); border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.progressbar i { display: block; height: 100%; background: var(--ink); }
.lesson-list a {
  display: flex; justify-content: space-between; padding: 14px 16px; text-decoration: none;
  color: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 10px;
}
.lesson-list a:hover { background: var(--cream); }
.tick { color: var(--accent-deep); font-weight: 700; }

@media (max-width: 640px) {
  .stickybar span.hide-m { display: none; }
}

/* ============================================================
   v2.1 — PHOTOGRAPHIC LANGUAGE (true mirror of allys.beauty)
   ============================================================ */
.topstrip { background: var(--cream); font-size: 12px; color: var(--charcoal); display: flex; justify-content: space-between; gap: 12px; padding: 8px 20px; }
.nav3 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1280px; margin: 0 auto; padding: 10px 20px; gap: 20px; }
.nav3 .navgrp { display: flex; gap: 28px; }
.nav3 .navgrp a { color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.nav3 .navgrp--r { justify-content: flex-end; }
.logo-img { height: 72px; width: auto; }

.hero { position: relative; min-height: 78vh; background-size: cover; background-position: center 30%; display: flex; align-items: center; }
.hero__inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 48px; }
.hero h1 { color: #fff; font-weight: 300; font-size: clamp(52px, 7.5vw, 108px); line-height: 1.06; }
.hero p { color: #fff; }
.hero--right .hero__inner { text-align: right; }
.hero__cta { position: absolute; left: 50%; transform: translateX(-50%); bottom: 64px; }

.btn-outline { display: inline-block; border: 1px solid #fff; color: #fff; background: transparent; padding: 16px 44px; font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; transition: background .15s, color .15s; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-outline--dark { border-color: var(--ink); color: var(--ink); }
.btn-outline--dark:hover { background: var(--ink); color: #fff; }

.linkarrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.linkarrow::after { content: "  \2192"; }

.trio { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); text-align: left; max-width: 960px; margin: 0 auto; }
.trio img { height: 62px; width: auto; margin-bottom: 14px; }
.trio h3 { font-size: 19px; font-weight: 400; margin-bottom: 8px; }
.trio p { font-size: 14px; margin-bottom: 14px; }

.split { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: center; text-align: left; }
.split img { width: 100%; }
.speclist { columns: 2; font-size: 14px; list-style: none; }
.speclist li { margin-bottom: 6px; }
.speclist li::before { content: "\2022  "; color: var(--mocha); }

.badges { display: flex; gap: 44px; justify-content: center; align-items: center; flex-wrap: wrap; }
.badges img { height: 110px; width: auto; }

.banner { position: relative; min-height: 420px; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.banner__bar { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 44px; color: #fff; font-size: 18px; background: linear-gradient(transparent, rgba(0,0,0,.45)); }

.masonry { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.masonry img { width: 100%; height: 230px; object-fit: cover; }

.field--line { border: 0; border-bottom: 1px solid #C9B8AC; border-radius: 0; background: transparent; padding: 10px 2px; }

.foot2 { background: var(--cream); padding: 64px 20px 28px; text-align: center; }
.foot2__cols { max-width: var(--maxw); margin: 36px auto 24px; display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); text-align: left; font-size: 13px; color: var(--charcoal); }
.foot2 h4 { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; font-weight: 700; }
.foot2 a { color: var(--charcoal); text-decoration: none; display: block; margin-top: 6px; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .nav3 .navgrp { display: none; }
  .hero { min-height: 60vh; }
}

/* ---------- Hero slider (slow crossfade, pain-point messages) ---------- */
.slider { position: relative; min-height: 78vh; overflow: hidden; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  display: flex; align-items: center; opacity: 0; transform: translateX(3%);
  transition: opacity 1.6s ease, transform 1.6s ease; pointer-events: none;
}
.slide.on { opacity: 1; transform: translateX(0); pointer-events: auto; }
.slide .hero__inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 48px; }
.slide h1 { color: #fff; font-weight: 300; font-size: clamp(44px, 6.5vw, 92px); line-height: 1.08; }
.slide h1 strong { font-weight: 700; }
.slide .sub { color: #fff; font-size: clamp(16px, 2vw, 21px); margin-top: 16px; max-width: 560px; }
.slide--right .hero__inner { text-align: right; }
.slide--right .sub { margin-left: auto; }
.slider__dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.slider__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.slider__dots i.on { background: #fff; }
@media (max-width: 760px) { .slider { min-height: 62vh; } }

/* Slide copy legibility */
.slide h1, .slide .sub { text-shadow: 0 1px 14px rgba(0,0,0,.35); }

/* Script accent: echoes Ally's handwritten logo against tracked caps (the brand pairing) */
.script {
  font-family: 'Sacramento', cursive;
  font-weight: 400;
  color: #EAD6C2;            /* champagne, tonal lift against the white */
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.05;
  display: block;
  font-size: 1.3em;
}
.kicker {
  display: block;
  font-size: 13px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 14px;
}

/* ---------- Form stacking fix (EOI overlap bug) ---------- */
.stackform .field { display: block; margin: 0 auto 14px; }
.stackform .btn-outline, .stackform .cta { margin-top: 10px; }

/* ---------- Embedded on-page checkout ---------- */
.pay-box {
  max-width: 500px; margin: 26px auto 0; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.pay-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.pay-row { display: flex; justify-content: space-between; font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pay-row b { color: var(--ink); }
.pay-bump { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; background: var(--cream); border-radius: var(--radius); padding: 12px; margin: 14px 0; }
.pay-mount { border: 1px dashed #D8CCC4; border-radius: var(--radius); padding: 16px; margin: 14px 0; background: #FBF9F7; }
.pay-mount input { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; font-family: var(--font); font-size: 15px; margin-bottom: 10px; background: #fff; }
.pay-mount .row2 { display: flex; gap: 10px; }
.pay-box .cta { width: 100%; text-align: center; }

/* ---------- Free preview lessons ---------- */
.lesson-tile { position: relative; }
.lesson-tile.locked { opacity: .55; }
.lock-pill {
  position: absolute; top: 12px; right: 12px; background: var(--dark); color: var(--cream);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  border-radius: 100px; padding: 4px 12px;
}
.free-pill { background: var(--ink); color: #fff; }

/* ---------- Legal page layout ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 50px 20px 80px; text-align: left; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 15px; }
.legal ul { padding-left: 22px; }
.placeholder-note { background: #FFF6E8; border: 1px dashed #D9A94C; color: #7A5A1E; border-radius: var(--radius); padding: 10px 14px; font-size: 13px; }

/* ---------- VSL-first hero (the Gallo live-page pattern) ---------- */
.lp-head { text-align: center; padding: 26px 20px 8px; }
.lp-head h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 700; line-height: 1.15; }
.lp-head .sub { margin-top: 10px; font-size: clamp(15px, 1.8vw, 18px); color: var(--charcoal); }
.highlight { background: #F3E2CF; color: var(--accent-deep); font-weight: 700; padding: 1px 7px; border-radius: 3px; }
.vsl-split { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; align-items: start; max-width: 1120px; margin: 18px auto 0; padding: 0 20px; }
.vsl-split > * { min-width: 0; }
.vsl-split .vsl { width: 100%; max-width: none; margin: 0; }
.offer-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; text-align: center;
}
.offer-card p { font-size: 15px; }
.offer-card .dealline { color: var(--urgency-red); font-weight: 700; }
@media (max-width: 860px) { .vsl-split { grid-template-columns: 1fr; } }
.avatar-row { display: flex; gap: -6px; justify-content: center; margin-top: 8px; }
.avatar-row i {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px;
  background: var(--mocha); display: inline-block; opacity: .85;
}
.avatar-row i:nth-child(2n){ background:#C9A68E; } .avatar-row i:nth-child(3n){ background:#8F644D; }

/* ---------- Bundle band (value-sticker stack -> total value slash -> Today CTA) ---------- */
.bundle-list { max-width: 640px; margin: 20px auto 0; text-align: left; }
.bundle-list li { list-style: none; display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #2E2E2E; font-size: 16px; color: var(--cream); }
.value-tag { background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; border-radius: 4px; padding: 2px 9px; white-space: nowrap; align-self: center; }
.totalvalue { font-size: clamp(24px, 3.4vw, 34px); color: #fff; margin-top: 22px; }
.totalvalue s { color: var(--urgency-red); font-weight: 700; }

/* ---------- Learn rows (Module N: title + bullets + media, alternating) ---------- */
.learn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1040px; margin: 0 auto; text-align: left; padding: 44px 20px; }
.learn-row:nth-child(even) { direction: rtl; } .learn-row:nth-child(even) > * { direction: ltr; }
.learn-row h3 { font-size: 24px; font-weight: 700; }
.learn-row h3 .modnum { color: var(--accent-deep); }
.learn-row ul { list-style: none; margin-top: 12px; }
.learn-row li { font-size: 15px; padding: 5px 0 5px 24px; position: relative; }
.learn-row li::before { content: "▸"; position: absolute; left: 4px; color: var(--mocha); }
.learn-row img { width: 100%; border-radius: var(--radius); }
@media (max-width: 760px) { .learn-row { grid-template-columns: 1fr; } }

/* ---------- Motion system (scroll-triggered, TikTok pacing, brand-safe) ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.rv--left { transform: translateX(-34px); } .rv--right { transform: translateX(34px); }
.rv--scale { transform: scale(.88); }
.rv.in { opacity: 1; transform: none; }
.bignum { font-size: clamp(44px, 6vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -1px; display: block; }
.bignum .unit { font-size: .45em; font-weight: 400; letter-spacing: 0; }
/* price slam: anchor struck through, deal price slams in, burst fires */
.slam { display: inline-block; opacity: 0; transform: scale(2.2); }
.slam.go { animation: slamIn .55s cubic-bezier(.2,1.4,.3,1) forwards; }
@keyframes slamIn { 0% { opacity: 0; transform: scale(2.2); } 60% { opacity: 1; transform: scale(.94); } 100% { opacity: 1; transform: scale(1); } }
.strike { position: relative; }
.strike::after { content: ""; position: absolute; left: -4%; top: 52%; height: .09em; width: 0; background: var(--urgency-red); transform: rotate(-6deg); }
.strike.go::after { animation: strikeIn .45s ease-out forwards; }
@keyframes strikeIn { to { width: 108%; } }
.afterline { opacity: 0; transition: opacity .5s ease .75s, transform .5s ease .75s; transform: translateY(8px); }
.afterline.go { opacity: 1; transform: none; }
/* FIREWORKS: gold sparks + dots, flash ring, kick. Visible from across the room. */
.burst-wrap { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 5; }
.burst-p { position: absolute; left: 50%; top: 50%; opacity: 0; pointer-events: none; }
.burst-p.dot { width: 13px; height: 13px; border-radius: 50%; background: #D4AF37; box-shadow: 0 0 10px rgba(212,175,55,.8); }
.burst-p.spark { width: 4px; height: 22px; border-radius: 2px; background: linear-gradient(#FFE9A8, #C0392B); transform-origin: center; }
.band--dark .burst-p.dot { background: #FFE9A8; box-shadow: 0 0 12px rgba(255,233,168,.9); }
.burst-p.go { animation: burstFly .9s cubic-bezier(.05,.85,.3,1) forwards; }
@keyframes burstFly {
  0% { opacity: 1; transform: translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1.2); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) rotate(var(--rot,0deg)) scale(.4); }
}
.flash-ring { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; border-radius: 50%;
  border: 4px solid #D4AF37; transform: translate(-50%,-50%); opacity: 0; pointer-events: none; z-index: 4; }
.flash-ring.go { animation: ringOut .7s ease-out forwards; }
@keyframes ringOut {
  0% { opacity: 1; width: 30px; height: 30px; border-width: 5px; }
  100% { opacity: 0; width: 240px; height: 240px; border-width: 1px; }
}
.kick { animation: kick .45s cubic-bezier(.2,1.6,.3,1); }
@keyframes kick { 0% { transform: scale(1); } 30% { transform: scale(1.14) rotate(-1.2deg); } 60% { transform: scale(.97) rotate(.6deg); } 100% { transform: scale(1); } }
.numpop { animation: numpop .5s cubic-bezier(.2,1.6,.3,1); color: #B8860B !important; }
@keyframes numpop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
.band--dark .numpop { color: #FFE9A8 !important; }
/* slow life in photos */
.kenburns { animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { from { background-size: 102%; } to { background-size: 112%; } }
.vsl { transition: transform .5s ease; }
.vsl:hover { transform: scale(1.015); }
.vsl .play { animation: pulse 2.2s ease-in-out infinite; cursor: pointer; }
@keyframes pulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 50% { transform: scale(1.07); box-shadow: 0 0 0 18px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) {
  .rv, .slam, .afterline { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .strike::after { width: 108%; animation: none; }
  .kenburns, .vsl .play { animation: none; }
}


/* PROOF TICKER: constant motion, pulls the eye between sections */
.ticker { overflow: hidden; background: var(--dark); color: var(--cream); padding: 13px 0; white-space: nowrap; }
.ticker__inner { display: inline-block; animation: marquee 26s linear infinite; }
.ticker span { display: inline-block; padding: 0 28px; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; }
.ticker b { color: #FFE9A8; font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* METHOD PATH: the 4 steps as a line that draws itself, steps light up in order */
.method-path { max-width: 980px; margin: 34px auto 0; padding: 0 20px; position: relative; }
.method-line { position: absolute; top: 33px; left: 8%; right: 8%; height: 3px; background: #E8DED8; z-index: 0; }
.method-line i { display: block; height: 100%; width: 0; background: var(--dark); transition: width 1.6s cubic-bezier(.4,0,.2,1); }
.method-path.in .method-line i { width: 100%; }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 1; }
.mstep { text-align: center; }
.mstep .dotn { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto; background: #fff; border: 3px solid #E8DED8;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px;
  transition: all .4s ease; }
.method-path.in .mstep:nth-child(1) .dotn { transition-delay: .1s; } .method-path.in .mstep:nth-child(2) .dotn { transition-delay: .5s; }
.method-path.in .mstep:nth-child(3) .dotn { transition-delay: .9s; } .method-path.in .mstep:nth-child(4) .dotn { transition-delay: 1.3s; }
.method-path.in .dotn { background: var(--dark); color: #fff; border-color: var(--dark); transform: scale(1.08); }
.mstep h3 { font-size: 19px; margin-top: 14px; }
.mstep p { font-size: 14px; margin-top: 8px; color: var(--charcoal); }
.mstep .fine { margin-top: 6px; }
.mstep .body { opacity: 0; transform: translateY(14px); transition: all .5s ease; }
.method-path.in .mstep:nth-child(1) .body { transition-delay: .25s; } .method-path.in .mstep:nth-child(2) .body { transition-delay: .65s; }
.method-path.in .mstep:nth-child(3) .body { transition-delay: 1.05s; } .method-path.in .mstep:nth-child(4) .body { transition-delay: 1.45s; }
.method-path.in .mstep .body { opacity: 1; transform: none; }
@media (max-width: 760px) { .method-steps { grid-template-columns: 1fr 1fr; } .method-line { display: none; } }

/* De-boxed stats: no borders, just type and air */
.stat-flat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 980px; margin: 30px auto 0; text-align: center; }
.stat-flat > div { border: 0; padding: 0 10px; }
.stat-flat p { font-size: 15px; margin-top: 10px; }
@media (max-width: 760px) { .stat-flat { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .ticker__inner { animation: none; }
  .method-line i { width: 100% !important; transition: none; }
  .mstep .body, .method-path .dotn { opacity: 1 !important; transform: none !important; transition: none !important; }
  .kick, .numpop { animation: none; }
}

/* NARRATIVE PROOF MOMENTS: doubt hits first, the number lands inside a sentence */
.doubt { font-size: clamp(26px, 4.6vw, 46px); font-weight: 700; line-height: 1.2; letter-spacing: -.5px; }
.answer { font-size: clamp(19px, 2.6vw, 28px); font-weight: 300; line-height: 1.55; max-width: 820px; margin: 18px auto 0; }
.answer .inline-num { font-weight: 700; font-size: 1.55em; color: #B8860B; white-space: nowrap; line-height: 1; vertical-align: -2px; }
.verdict { font-size: clamp(20px, 2.8vw, 30px); font-weight: 700; margin-top: 18px; }
.moment-photo { background-size: cover; background-position: center; }
.moment-photo .doubt, .moment-photo .answer, .moment-photo .verdict { color: #fff; }
.moment-photo .answer .inline-num { color: #FFE9A8; }
.moment-photo .fine { color: rgba(255,255,255,.75); }

/* OBJECTION SPOTLIGHT: doubts take the stage one at a time */
.spotlight { position: relative; max-width: 720px; margin: 30px auto 0; min-height: 360px; }
.spot-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  background: #fff; border: 1px solid var(--line, #E8DED8); border-radius: var(--radius); padding: 40px 46px; text-align: center;
  opacity: 0; transform: perspective(900px) rotateY(-70deg) scale(.8); pointer-events: none;
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .5s ease; }
.spot-card h3 { font-size: clamp(22px, 3vw, 30px); }
.spot-card p { margin-top: 14px; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.6; color: var(--charcoal); }
.spot-card.is-in { opacity: 1; transform: perspective(900px) rotateY(0deg) scale(1); pointer-events: auto; z-index: 2; }
.spot-card.is-out { opacity: 0; transform: perspective(900px) rotateY(70deg) scale(.8); z-index: 1; }
.spot-dots { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.spot-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D8CCC4; cursor: pointer; transition: all .3s; }
.spot-dots i.on { background: var(--dark); transform: scale(1.3); }
.spot-bar { height: 3px; background: #EFE6E0; max-width: 220px; margin: 12px auto 0; border-radius: 2px; overflow: hidden; }
.spot-bar i { display: block; height: 100%; width: 0; background: var(--mocha); }
.spot-bar i.run { animation: spotbar var(--spot-ms, 5000ms) linear forwards; }
@keyframes spotbar { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .spotlight { min-height: 0; }
  .spot-card { position: static; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 14px; transition: none; }
  .spot-dots, .spot-bar { display: none; }
}
@media (max-width: 640px) { .spotlight { min-height: 460px; } .spot-card { padding: 30px 22px; } }

/* LEGAL MODAL: policies open in-page so checkout never loses focus (div overlay, no popup blockers) */
.lmodal { position: fixed; inset: 0; z-index: 200; display: none; }
.lmodal.on { display: block; }
.lmodal__scrim { position: absolute; inset: 0; background: rgba(20,12,8,.55); }
.lmodal__panel { position: relative; background: #fff; max-width: 780px; margin: 4vh auto; max-height: 92vh;
  border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden;
  animation: lmIn .3s cubic-bezier(.2,.8,.2,1); }
@keyframes lmIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.lmodal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 26px; border-bottom: 1px solid #E8DED8; }
.lmodal__head h2 { font-size: 20px; }
.lmodal__x { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--charcoal); padding: 4px 8px; }
.lmodal__body { padding: 10px 26px 30px; overflow-y: auto; }
.lmodal__body h1 { display: none; }
.lmodal__body h2 { font-size: 18px; margin-top: 20px; }
.lmodal__body p, .lmodal__body li { font-size: 15px; line-height: 1.65; margin-top: 10px; color: var(--charcoal); }
.lmodal__foot { padding: 12px 26px; border-top: 1px solid #E8DED8; text-align: right; }
@media (max-width: 640px) { .lmodal__panel { margin: 0; max-height: 100vh; height: 100%; border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .lmodal__panel { animation: none; } }
