/* ============================================================
   THE GLOW — sub-page + main-page upgrade styles
   (loaded after styles.css; reuses its CSS variables)
   ============================================================ */

/* ---------- disclaimer ribbon ---------- */
.glow-ribbon {
  background: var(--ink-2); color: var(--mist); font-size: 0.74rem;
  text-align: center; padding: 0.5rem 2.2rem 0.5rem 1rem; position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.glow-ribbon b { color: var(--rose); }
.glow-ribbon .x { position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%);
  cursor: pointer; border: none; background: none; color: var(--mist-soft); font-size: 1rem; line-height: 1; }
.glow-ribbon[hidden] { display: none; }

/* ---------- glow hero ---------- */
.glow-hero { position: relative; overflow: hidden; text-align: center; padding-top: 9rem;
  background: radial-gradient(120% 80% at 50% 0%, #fbf1da 0%, var(--ink) 60%); }
.glow-hero .container { position: relative; z-index: 2; }
.glow-hero .hero-title { color: var(--cream); }
.glow-hero .hero-title em { color: var(--gold); }
.glow-lede { font-family:'Cormorant Garamond',serif; font-size: clamp(1.2rem,2.4vw,1.55rem);
  color: var(--mist); max-width: 600px; margin: 1.2rem auto 2rem; }
.glow-hero .hero-cta-row { justify-content: center; }
.steam-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background: radial-gradient(40% 30% at 30% 20%, rgba(212,168,94,0.18), transparent 70%),
              radial-gradient(40% 30% at 70% 10%, rgba(184,94,72,0.12), transparent 70%); }
.ember { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-soft); opacity: 0; z-index: 1; }
@keyframes drift { 0%{transform:translateY(0);opacity:0;} 15%{opacity:0.7;} 100%{transform:translateY(-340px);opacity:0;} }
@media (prefers-reduced-motion: no-preference){
  .ember { animation: drift 7s linear infinite; }
  .ember:nth-child(2){ left:20%; animation-delay:0s; }
  .ember:nth-child(3){ left:55%; animation-delay:2.4s; }
  .ember:nth-child(4){ left:80%; animation-delay:4.6s; }
}

/* ---------- ritual 3-act ---------- */
.ritual-grid { display: grid; gap: 1.1rem; }
.ritual-card { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center;
  border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; background: rgba(255,255,255,0.45); }
.ritual-ico { width: 54px; height: 54px; color: var(--gold); flex-shrink: 0; }
.ritual-card h3 { font-family:'Cormorant Garamond',serif; font-size: 1.5rem; }
.ritual-tag { font-family:'Cinzel',serif; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }
.ritual-card p { color: var(--mist); font-size: 0.97rem; margin-top: 0.3rem; }
.ritual-close { text-align: center; font-family:'Cormorant Garamond',serif; font-size: 1.45rem;
  color: var(--gold); margin-top: 1.8rem; }
.ritual-close b { color: var(--rose); }

/* ---------- value band ---------- */
.value-band { background: linear-gradient(110deg, var(--rose), var(--gold)); color: #fff5e6;
  text-align: center; border-radius: 22px; padding: clamp(2rem,6vw,3.5rem); box-shadow: var(--shadow); }
.value-band .value-num { font-family:'Cormorant Garamond',serif; font-size: clamp(3rem,11vw,5.5rem); line-height: 1; color: #fff; }
.value-band .value-cap { font-family:'Cormorant Garamond',serif; font-size: clamp(1.1rem,2.4vw,1.5rem); margin-top: 0.4rem; }
.value-band .value-sub { font-size: 0.95rem; max-width: 560px; margin: 1rem auto 0; opacity: 0.95; }
.value-band em, .value-band strong { color: #fff; }

/* ---------- perks calculator ---------- */
.calc2 { border: 1px solid var(--gold); border-radius: 22px; padding: clamp(1.5rem,4vw,2.6rem);
  background: rgba(255,255,255,0.55); box-shadow: var(--shadow); }
.calc2-block { margin-bottom: 1.4rem; }
.calc2-block > label { display: block; font-family:'Cinzel',serif; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mist); margin-bottom: 0.6rem; }
.calc2-slider { width: 100%; accent-color: var(--gold); }
.calc2-sessions { font-family:'Cormorant Garamond',serif; font-size: 1.6rem; color: var(--rose); }
.calc2-reassure { font-size: 0.85rem; color: var(--sage-deep); margin-top: 0.5rem; min-height: 1.1rem; transition: opacity .3s; }
.calc2-outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 0.5rem; }
.calc2-out { border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.1rem; background: rgba(255,255,255,0.6); text-align: center; }
.calc2-out.feature { border-color: var(--gold); background: rgba(212,168,94,0.16); }
.calc2-out .co-num { font-family:'Cormorant Garamond',serif; font-size: 2rem; color: var(--cream); line-height: 1; }
.calc2-out.feature .co-num { color: var(--rose); }
.calc2-out .co-label { font-size: 0.82rem; color: var(--mist); margin-top: 0.3rem; }
.tag-ill { display: inline-block; font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mist-soft); border: 1px solid var(--line); border-radius: 99px; padding: 0.05rem 0.4rem; margin-top: 0.4rem; }
.calc2-ref { display:none; margin-top: 0.6rem; color: var(--sage-deep); font-size: 0.9rem; }
.calc2-ref.show { display:block; }
@media (max-width:520px){ .calc2-outputs { grid-template-columns: 1fr; } }

/* ---------- glow / beauty cards ---------- */
.glow-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1rem; }
.glow-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; background: rgba(255,255,255,0.5); }
.glow-card .gc-ico { font-size: 1.5rem; }
.glow-card h4 { font-family:'Cormorant Garamond',serif; font-size: 1.4rem; margin: 0.4rem 0 0.5rem; }
.glow-card p { color: var(--mist); font-size: 0.94rem; }
.ev-chip { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem;
  font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mist-soft);
  border: 1px solid var(--line); border-radius: 99px; padding: 0.22rem 0.6rem; }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; }
.ev-strong .ev-dot { background: var(--gold); }
.ev-moderate .ev-dot { background: var(--gold-soft); }
.ev-early .ev-dot { background: transparent; border: 1px solid var(--gold); }

/* ---------- receipts table ---------- */
.receipts { overflow-x: auto; }
.receipts table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.94rem; }
.receipts th, .receipts td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); color: var(--mist); }
.receipts th { font-family:'Cinzel',serif; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.receipts td:last-child, .receipts th:last-child { text-align: right; color: var(--cream); }
.receipts tr.hi td { color: var(--cream); font-weight: 600; }
.receipts cap { display: block; font-family:'Cormorant Garamond',serif; font-size: 1.2rem; color: var(--cream); margin: 1.4rem 0 0.3rem; }
.receipts-foot { font-size: 0.8rem; color: var(--sage-deep); margin-top: 0.6rem; }

/* ---------- glow before/after slider ---------- */
.glow-slider { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  height: clamp(220px,42vw,380px); user-select: none; touch-action: none; }
.gs-layer { position: absolute; inset: 0; }
.gs-before { background: radial-gradient(60% 70% at 50% 55%, #c9a98f, #6e5443); filter: saturate(0.7) brightness(0.82); }
.gs-after { background: radial-gradient(55% 65% at 50% 50%, #f3c89e, #c87a55); filter: saturate(1.2) brightness(1.08); }
.gs-skin { position:absolute; inset:0; background: radial-gradient(40% 50% at 50% 42%, rgba(255,255,255,0.25), transparent 70%); }
.gs-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; cursor: ew-resize; z-index: 3; }
.gs-handle::after { content:''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow); }
.gs-handle::before { content:'\2194'; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); z-index:1; color: var(--cream); font-size: 1.1rem; }
.gs-tag { position: absolute; bottom: 0.8rem; font-family:'Cinzel',serif; font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.3); border-radius: 99px; padding: 0.2rem 0.7rem; z-index: 2; }
.gs-tag.before { left: 0.8rem; } .gs-tag.after { right: 0.8rem; }

/* ---------- future-pace ---------- */
.future-card { position: relative; border: 1px solid var(--gold); border-radius: 20px;
  background: radial-gradient(120% 100% at 50% 0%, #fbf1da, var(--ink-2)); padding: clamp(2rem,6vw,3.5rem);
  text-align: center; min-height: 200px; display: grid; place-items: center; box-shadow: var(--shadow); }
.future-slide { grid-area: 1/1; opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease; transform: translateY(10px);
  font-family:'Cormorant Garamond',serif; font-size: clamp(1.4rem,3.4vw,2rem); color: var(--cream); max-width: 620px; }
.future-slide.active { opacity: 1; transform: none; }
.future-slide b { color: var(--rose); }
@media (prefers-reduced-motion: reduce){ .future-slide { position: static; opacity: 1; transform: none; } }

/* ---------- stat band (M3) ---------- */
.stat-band { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.stat .stat-num { font-family:'Cormorant Garamond',serif; font-size: clamp(1.8rem,5vw,2.8rem); color: var(--rose); line-height: 1; }
.stat .stat-lbl { font-size: 0.78rem; color: var(--mist); margin-top: 0.3rem; }
@media (max-width:600px){ .stat-row { grid-template-columns: 1fr 1fr; gap: 1.4rem; } }

/* ---------- control / risk-reversal band (M2) ---------- */
.control-band { background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.control-list { display: grid; gap: 0.7rem; max-width: 680px; margin: 0 auto; }
.control-item { display: flex; gap: 0.9rem; align-items: flex-start; border: 1px solid var(--line);
  border-radius: 14px; padding: 1rem 1.2rem; background: rgba(255,255,255,0.5); }
.control-item .ck2 { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.control-item b { font-family:'Cormorant Garamond',serif; font-weight: 600; font-size: 1.15rem; display: block; }
.control-item .t { color: var(--mist); font-size: 0.92rem; }

/* ---------- glow teaser (M1) ---------- */
.glow-teaser { background: linear-gradient(110deg, var(--rose), var(--gold)); border-radius: 22px;
  padding: clamp(2rem,5vw,3rem); color: #fff5e6; text-align: center; box-shadow: var(--shadow); }
.gt-eyebrow { font-family:'Cinzel',serif; letter-spacing: 0.2em; font-size: 0.7rem; text-transform: uppercase; opacity: 0.9; }
.glow-teaser h2 { font-family:'Cormorant Garamond',serif; font-weight: 500; font-size: clamp(1.8rem,4.5vw,2.8rem); margin: 0.5rem 0 0.8rem; color: #fff; }
.glow-teaser p { max-width: 620px; margin: 0 auto 0.6rem; opacity: 0.96; }
.gt-num { font-family:'Cormorant Garamond',serif; font-size: 1.6rem; color: #fff; }
.gt-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 1.2rem 0; }
.gt-chip { font-size: 0.8rem; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
  border-radius: 99px; padding: 0.35rem 0.8rem; }
.glow-teaser .btn { background: #fff; color: var(--rose); border: none; }

/* (content menu is display-only — examples, not selectable) */

/* ---------- pay callout (M5) ---------- */
.pay-wellness { margin-top: 1.6rem; border: 1px dashed var(--gold); border-radius: 16px; padding: 1.3rem 1.5rem;
  background: rgba(212,168,94,0.12); text-align: center; }
.pw-line { font-family:'Cormorant Garamond',serif; font-size: 1.3rem; color: var(--cream); }
.pw-line b { color: var(--rose); }

/* ---------- sticky mobile CTA (M6) ---------- */
.sticky-cta { display: none; }
@media (max-width: 720px){
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 160;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(245,234,212,0.95);
    backdrop-filter: blur(8px); border-top: 1px solid var(--gold); }
  .sticky-cta .btn { width: 100%; justify-content: center; }
  .footer { padding-bottom: 5rem; }
}

/* ---------- bring-a-friend gallery ---------- */
.friend-gallery { margin-top: 2rem; }
.fg-caption { text-align: center; color: var(--mist); font-family:'Cormorant Garamond',serif; font-size: 1.15rem; margin-bottom: 1rem; }
.fg-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.7rem; }
.fg-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; }
.fg-cell { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.fg-feature-row .fg-cell { aspect-ratio: 4 / 5; }
.fg-grid .fg-cell { aspect-ratio: 3 / 4; }
.fg-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fg-cell:hover img { transform: scale(1.05); }
.fg-badge { position: absolute; top: 0.6rem; left: 0.6rem; font-family:'Cinzel',serif; font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase; background: rgba(184,94,72,0.88); color: #fff;
  border-radius: 99px; padding: 0.22rem 0.6rem; }
@media (max-width: 640px) {
  .fg-grid { grid-template-columns: repeat(3, 1fr); }
  .fg-feature-row .fg-cell { aspect-ratio: 3 / 4; }
}

/* ---------- bonus box + fast-track CTA (success screen) ---------- */
.bonus-box { border: 1px solid var(--gold); border-radius: 16px; background: rgba(212,168,94,0.15);
  padding: 1.2rem 1.4rem; margin: 1.6rem auto; max-width: 460px; }
.bonus-eyebrow { font-family:'Cinzel',serif; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.4rem; }
.bonus-box p { color: var(--mist); font-size: 0.95rem; }
.pw { display: inline-block; font-family:'Cinzel',serif; letter-spacing: 0.14em; font-weight: 700; color: #1a120b;
  background: var(--gold-soft); border-radius: 8px; padding: 0.1rem 0.6rem; }
.fasttrack-cta { margin-top: 1.6rem; }
.ft-head { font-family:'Cormorant Garamond',serif; font-size: 1.4rem; color: var(--cream); margin-bottom: 0.8rem; }

/* ---------- fast-track overlay ---------- */
.ft-overlay { position: fixed; inset: 0; z-index: 500; background: rgba(22,14,9,0.86); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 4vh 1rem; }
.ft-overlay[hidden] { display: none; }
.ft-modal { position: relative; width: 100%; max-width: 540px; background: var(--ink);
  border: 1px solid var(--gold); border-radius: 20px; padding: clamp(1.5rem,5vw,2.5rem); box-shadow: var(--shadow); }
.ft-close { position: absolute; top: 0.8rem; right: 1rem; background: none; border: none; color: var(--mist); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.ft-progress { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-bottom: 1.6rem; }
.ft-progress .ft-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family:'Cinzel',serif; font-size: 0.85rem; border: 1px solid var(--line); color: var(--mist-soft); background: rgba(255,255,255,0.4); }
.ft-progress .ft-dot.active { background: var(--gold); color: #1a120b; border-color: var(--gold); }
.ft-progress .ft-dot.done { background: var(--sage); color: #1a120b; border-color: var(--sage); }
.ft-progress i { width: 26px; height: 1px; background: var(--line); display: block; }
.ft-step-label { font-family:'Cinzel',serif; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.ft-step h3 { font-family:'Cormorant Garamond',serif; font-size: 1.7rem; margin-bottom: 0.5rem; }
.ft-step > p { color: var(--mist); font-size: 0.95rem; margin-bottom: 1rem; }
.ft-file { display: block; border: 1px dashed var(--gold); border-radius: 12px; padding: 1.1rem; text-align: center;
  cursor: pointer; color: var(--mist); background: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.ft-file:hover { background: rgba(212,168,94,0.12); }
.ft-preview { margin-bottom: 1rem; }
.ft-preview img { max-height: 180px; border-radius: 10px; margin: 0 auto; border: 1px solid var(--line); }
.ft-preview .pdfok { color: var(--sage-deep); font-size: 0.9rem; }
.ft-field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.ft-field label { font-family:'Cinzel',serif; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.ft-field input { padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.7); color: var(--cream); font-size: 0.98rem; }
.ft-field input:focus { outline: none; border-color: var(--gold); background: #fff; }
.ft-sign-label { font-size: 0.85rem; color: var(--mist); margin-bottom: 0.4rem; }
.sigwrap { position: relative; margin-bottom: 0.8rem; }
.sigpad { width: 100%; height: 150px; background: #fff; border: 1px solid var(--line); border-radius: 10px; touch-action: none; display: block; }
.sig-clear { position: absolute; top: 0.4rem; right: 0.6rem; background: none; border: none; color: var(--mist-soft); font-size: 0.78rem; cursor: pointer; text-decoration: underline; }
.ft-step .btn-primary { width: 100%; justify-content: center; margin-top: 0.4rem; }
.ft-step .check-line { margin: 0.4rem 0 0.8rem; }
.ft-status { font-size: 0.85rem; margin-top: 0.7rem; min-height: 1.1rem; text-align: center; }
.ft-status.err { color: var(--rose); }
.ft-status.busy { color: var(--mist-soft); }
.ft-done { text-align: center; }
.ft-done .sig { font-size: 2.6rem; color: var(--gold); }


/* ---- proof teaser (3-photo trust strip after the letter) ---- */
.fg-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.fg-teaser .fg-cell { aspect-ratio: 4 / 5; }

/* ---- bonus-box: reward moments get a warm gold lift ---- */
.bonus-box { background: linear-gradient(180deg, rgba(212,168,94,0.22), rgba(212,168,94,0.10)); box-shadow: 0 14px 36px -22px rgba(184,137,68,0.6), inset 0 1px 0 rgba(255,255,255,0.4); }
.bonus-box a { color: var(--rose); font-weight: 600; }
.pw { letter-spacing: 0.18em; padding: 0.12rem 0.7rem; border: 1px solid rgba(255,255,255,0.45); box-shadow: 0 3px 10px -4px rgba(184,137,68,0.7); }

/* ---------- persistent control pill ---------- */
.control-pill { position: fixed; left: 1rem; bottom: 1rem; z-index: 140;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: 'Cinzel', serif; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage-deep); background: rgba(245,234,212,0.93); border: 1px solid var(--line);
  border-radius: 99px; padding: 0.42rem 0.85rem; text-decoration: none;
  backdrop-filter: blur(6px); box-shadow: var(--shadow); }
.control-pill:hover { border-color: var(--gold); color: var(--gold); }
.cp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex-shrink: 0; animation: pulse 2s infinite; }
@media (max-width: 720px){ .control-pill { display: none; } }

/* fast-track modal: ghost button must be readable on parchment */
.ft-modal .btn-ghost { color: var(--cream); border-color: var(--gold); background: rgba(255,255,255,0.4); }
