/* ==========================================================================
   Write My Story Today — Dr. Serena Brown Travis
   Design system + page styles. Zero dependencies.
   Palette derived from the "Lessons with Les" badge (navy / gold).
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root{
  --ink:#0A1832;
  --ink-deep:#060E1F;
  --ink-soft:#16264a;
  --gold:#C9A227;
  --gold-lift:#E8C86A;
  --gold-deep:#7A5F0F;
  --paper:#FAF6EE;
  --paper-warm:#F2EADA;
  --char:#14100C;
  --muted:#5C6479;
  --muted-on-dark:#A9B4CC;
  --line:rgba(10,24,50,.12);
  --line-on-dark:rgba(232,200,106,.22);

  --font-display:"Fraunces",Georgia,"Times New Roman",serif;
  --font-body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --font-script:"Parisienne",cursive;

  --wrap:1170px;
  --wrap-narrow:760px;
  --gutter:clamp(1.25rem,4vw,2.5rem);

  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1);

  --radius:14px;
  --radius-lg:24px;

  --shadow-sm:0 2px 8px rgba(6,14,31,.08);
  --shadow-md:0 12px 32px -8px rgba(6,14,31,.18);
  --shadow-lg:0 32px 72px -16px rgba(6,14,31,.34);
}

/* --- Reset -------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:var(--char);
  font-family:var(--font-body);
  font-size:clamp(1rem,.96rem + .2vw,1.0625rem);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,video,svg{display:block;max-width:100%;height:auto}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;line-height:1.08;letter-spacing:-.02em;margin:0}
p{margin:0}
:focus-visible{outline:3px solid var(--gold-lift);outline-offset:3px;border-radius:4px}

/* --- Layout ------------------------------------------------------------- */
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.wrap--narrow{max-width:var(--wrap-narrow)}
.section{padding-block:clamp(4.5rem,10vw,8rem);position:relative}
.section--dark{background:var(--ink);color:var(--paper)}
.section--deep{background:var(--ink-deep);color:var(--paper)}
.section--warm{background:var(--paper-warm)}

.eyebrow{
  font-size:.8125rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold-deep);margin-bottom:.85rem;display:block;text-align:center;
}
.eyebrow--left{text-align:left}
.section--dark .eyebrow,.section--deep .eyebrow{color:var(--gold-lift)}

h2.h-section{font-size:clamp(1.75rem,1.2rem + 2.6vw,2.9rem);max-width:22ch;margin-inline:auto;text-align:center}
h2.h-section--left{margin-inline:0;text-align:left}
h3.h-sub{font-size:clamp(1.25rem,1.1rem + .8vw,1.6rem)}
.lede{font-size:clamp(1.05rem,1rem + .4vw,1.2rem);color:var(--muted);max-width:62ch;margin-inline:auto;text-align:center;line-height:1.9}
.lede--left{margin-inline:0;text-align:left}
.section--dark .lede,.section--deep .lede{color:var(--muted-on-dark)}

/* --- Buttons ------------------------------------------------------------ */
.btn{
  --btn-bg:var(--gold);
  --btn-fg:var(--ink-deep);
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  gap:.6rem;padding:1.4rem 2.6rem;border-radius:100px;text-transform:uppercase;
  background:var(--btn-bg);color:var(--btn-fg);
  font-weight:700;font-size:clamp(.95rem,.88rem + .3vw,1.075rem);letter-spacing:.02em;text-decoration:none;
  box-shadow:0 8px 24px -8px rgba(201,162,39,.6);
  transition:transform .45s var(--ease-out),box-shadow .45s var(--ease-out),background .3s;
  overflow:hidden;isolation:isolate;text-align:center;
}
.btn::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.55) 50%,transparent 80%);
  transform:translateX(-120%);transition:transform .9s var(--ease-out);
}
.btn:hover{box-shadow:0 14px 36px -8px rgba(201,162,39,.7)}
.btn:hover::after{transform:translateX(120%)}
.btn:active{transform:scale(.975)}
.btn--ghost{
  --btn-bg:transparent;--btn-fg:var(--paper);
  border:1.5px solid var(--line-on-dark);box-shadow:none;
}
.btn--ghost:hover{background:rgba(232,200,106,.1);box-shadow:none}
.btn--wide{width:100%}
.btn__note{display:block;font-size:.8rem;font-weight:500;opacity:.72;margin-top:.6rem}

/* --- Reveal engine ------------------------------------------------------ */
[data-reveal]{
  opacity:0;transform:translate3d(0,24px,0);
  transition:opacity .85s var(--ease-out),transform .85s var(--ease-out);
  transition-delay:var(--d,0ms);
}
[data-reveal].is-in{opacity:1;transform:none}
[data-reveal="scale"]{transform:translate3d(0,32px,0) scale(.965)}
[data-reveal="left"]{transform:translate3d(-28px,0,0)}
[data-reveal="right"]{transform:translate3d(28px,0,0)}

/* --- Header ------------------------------------------------------------- */
.site-header{
  position:fixed;inset-block-start:0;inset-inline:0;z-index:60;
  padding-block:1rem;
  transition:background .4s var(--ease-out),box-shadow .4s var(--ease-out),padding .4s var(--ease-out);
}
.site-header.is-stuck{
  background:rgba(10,24,50,.9);backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--line-on-dark);padding-block:.6rem;
}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--paper)}
.brand__mark{width:38px;height:38px;border-radius:50%;flex:0 0 auto}
.brand__text{font-family:var(--font-display);font-size:1.0625rem;font-weight:600;letter-spacing:-.015em;line-height:1.15}
.brand__text span{display:block;font-family:var(--font-body);font-size:.7rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;opacity:.66}
.site-header .btn{padding:.7rem 1.4rem;font-size:.9375rem}
@media (max-width:640px){.site-header .btn{display:none}}

/* --- Hero --------------------------------------------------------------- */
.hero{
  position:relative;background:var(--ink-deep);color:var(--paper);
  padding-block:clamp(7rem,14vw,9.5rem) clamp(4rem,8vw,6rem);
  overflow:hidden;
}
.hero__canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.5;pointer-events:none}
.hero__glow{
  position:absolute;inset-block-start:-25%;inset-inline-start:50%;
  width:min(1100px,140vw);aspect-ratio:1;transform:translateX(-50%);
  background:radial-gradient(circle,rgba(201,162,39,.2) 0%,rgba(201,162,39,.06) 38%,transparent 68%);
  pointer-events:none;
}
.hero__inner{position:relative;z-index:2;display:grid;gap:clamp(2.5rem,5vw,4rem);align-items:center}
@media (min-width:960px){.hero__inner{grid-template-columns:1.15fr .85fr}}

/* Stacked hero: the 16:9 feature reads as the centrepiece, so one column at
   every width and the copy centred above it. */
.hero--stack{padding-block:clamp(5.5rem,10vw,7rem) clamp(3.5rem,7vw,5rem)}
.hero--stack .hero__inner{grid-template-columns:1fr;gap:0;justify-items:center}
@media (min-width:960px){.hero--stack .hero__inner{grid-template-columns:1fr}}
.hero--stack .hero__copy{width:100%;text-align:center}
/* One notch down from the two-column hero: the video now shares the fold. */
.hero--stack h1{font-size:clamp(2.2rem,1.35rem + 3.4vw,3.9rem);margin-bottom:1.15rem}
.hero--stack .hero__lede{margin-inline:auto;text-align:center;max-width:46ch;margin-bottom:0;font-size:clamp(1rem,.95rem + .35vw,1.175rem)}
.hero--stack .hero__cta{justify-content:center;margin-top:2rem}
.hero--stack .hero__trust{justify-content:center;margin-top:1.5rem}

.hero__badge{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.45rem .95rem .45rem .5rem;border-radius:100px;
  background:rgba(232,200,106,.1);border:1px solid var(--line-on-dark);
  font-size:.8125rem;font-weight:550;letter-spacing:.01em;margin-bottom:1.5rem;
}
.hero__badge img{width:26px;height:26px;border-radius:50%}

.hero h1{font-size:clamp(2.5rem,1.5rem + 4.6vw,4.75rem);letter-spacing:-.035em;margin-bottom:1.5rem}
.hero h1 .line{display:block;overflow:hidden}
.hero h1 .line > span{
  display:block;transform:translateY(105%);
  transition:transform 1s var(--ease-out);transition-delay:var(--d,0ms);
}
.hero.is-ready h1 .line > span{transform:none}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(96deg,var(--gold) 0%,var(--gold-lift) 42%,var(--gold) 78%);
  background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  animation:sweep 7s var(--ease-in-out) infinite;
}
@keyframes sweep{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

.hero__lede{font-size:clamp(1.075rem,1rem + .45vw,1.3rem);color:var(--muted-on-dark);max-width:52ch;margin-bottom:2rem}
.hero__cta{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.hero__trust{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;margin-top:2rem;font-size:.875rem;color:var(--muted-on-dark)}
.hero__trust li{display:flex;align-items:center;gap:.5rem;list-style:none}
.hero__trust svg{width:16px;height:16px;flex:0 0 auto;color:var(--gold)}
.hero__trust ul{display:contents}

/* Phone-framed vertical video */
.phone{
  position:relative;width:min(320px,78vw);margin-inline:auto;
  border-radius:44px;padding:11px;
  background:linear-gradient(160deg,#2b3550 0%,#141d33 100%);
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(232,200,106,.18);
  opacity:0;transform:translateY(36px) scale(.94);
  transition:opacity 1.1s var(--ease-out) .35s,transform 1.1s var(--ease-out) .35s;
}
.hero.is-ready .phone{opacity:1;transform:none}
.phone__screen{position:relative;border-radius:34px;overflow:hidden;background:#000;aspect-ratio:9/16}
.phone__screen video,.phone__screen img{width:100%;height:100%;object-fit:cover}
.phone__play{
  position:absolute;inset:0;display:grid;place-items:center;
  background:linear-gradient(180deg,rgba(6,14,31,.1) 0%,rgba(6,14,31,.55) 100%);
  transition:opacity .4s;
}
.phone__play span{
  width:66px;height:66px;border-radius:50%;
  background:rgba(250,246,238,.94);color:var(--ink-deep);
  display:grid;place-items:center;box-shadow:0 8px 28px rgba(0,0,0,.4);
  transition:transform .4s var(--ease-out);
}
.phone__play:hover span{transform:scale(1.09)}
.phone__play svg{width:24px;height:24px;margin-left:3px}
.phone.is-playing .phone__play{opacity:0;pointer-events:none}
.phone__caption{margin-top:1rem;text-align:center;font-size:.8125rem;color:var(--muted-on-dark)}

/* --- YouTube facade ------------------------------------------------------
   Nothing from youtube.com is requested until the visitor asks for it: the
   poster is self-hosted and the iframe is injected on click. Keeps the third
   party out of LCP and out of the cookie jar of anyone who never presses play. */
.ytlite{
  position:relative;width:min(760px,92vw);margin:2.25rem auto 0;
  opacity:0;transform:translateY(34px) scale(.965);
  transition:opacity 1.1s var(--ease-out) .3s,transform 1.1s var(--ease-out) .3s;
}
.hero.is-ready .ytlite{opacity:1;transform:none}
.ytlite__btn{
  position:relative;display:block;width:100%;padding:0;border:0;cursor:pointer;
  border-radius:var(--radius-lg);overflow:hidden;background:#000;
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(232,200,106,.22);
  aspect-ratio:16/9;
}
.ytlite__btn img{width:100%;height:100%;object-fit:cover;display:block}
.ytlite__btn::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(6,14,31,.12) 0%,rgba(6,14,31,.5) 100%);
  transition:opacity .4s;
}
.ytlite__play{
  position:absolute;inset-block-start:50%;inset-inline-start:50%;
  transform:translate(-50%,-50%);z-index:2;
  width:clamp(64px,7vw,86px);aspect-ratio:1;border-radius:50%;
  background:rgba(250,246,238,.95);color:var(--ink-deep);
  display:grid;place-items:center;box-shadow:0 10px 34px rgba(0,0,0,.45);
  transition:transform .4s var(--ease-out);
}
.ytlite__btn:hover .ytlite__play{transform:translate(-50%,-50%) scale(1.08)}
.ytlite__btn:hover::after{opacity:.7}
.ytlite__play svg{width:clamp(24px,2.4vw,32px);height:auto;margin-left:4px}
.ytlite__cap{margin-top:1rem;text-align:center;font-size:.8125rem;color:var(--muted-on-dark);line-height:1.7}
.ytlite__cap span{color:var(--gold-lift)}
/* Static, not absolute: once the poster button is hidden the iframe has to
   hold the box open itself, or the figure collapses to zero height. */
.ytlite iframe{
  width:100%;aspect-ratio:16/9;border:0;display:block;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(232,200,106,.22);
}
.ytlite.is-playing .ytlite__btn{display:none}

/* --- Invitation (Serena, mid-page) --------------------------------------- */
.invite{display:grid;gap:clamp(2.5rem,5vw,4rem);align-items:center}
@media (min-width:900px){.invite{grid-template-columns:1.05fr .95fr}}
.invite__copy .h-section{margin-inline:0;text-align:left}
.invite__copy .eyebrow{text-align:left}
@media (max-width:899px){
  .invite__copy .h-section,.invite__copy .lede{text-align:center;margin-inline:auto}
  .invite__copy{text-align:center}
}
/* Outside the hero the phone has no .is-ready parent, so drive it from reveal. */
.invite .phone{opacity:1;transform:none}

/* --- What happens next --------------------------------------------------- */
.steps{margin-top:3rem;display:grid;gap:1.25rem;counter-reset:s}
.steps li{
  display:flex;gap:1.15rem;list-style:none;align-items:flex-start;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.35rem 1.5rem;box-shadow:var(--shadow-sm);line-height:1.6;
}
.steps__n{
  flex:0 0 auto;width:34px;height:34px;border-radius:50%;
  background:var(--ink);color:var(--gold-lift);
  display:grid;place-items:center;font-weight:700;font-size:.9375rem;
  font-family:var(--font-display);
}
.steps li > div{flex:1 1 auto;min-width:0}
.steps li b{display:block;color:var(--ink);margin-bottom:.15rem}
.steps__note{margin-top:1.75rem;text-align:center;color:var(--muted);font-size:.9375rem}
.steps__note a{color:var(--gold-deep);font-weight:600;text-underline-offset:3px}

/* Scheduler on the thank-you page sits on a dark ground. */
.booking--ty{margin-top:2.25rem;min-height:720px}

/* --- Who this was built for (portrait band) ------------------------------ */
.room{
  display:grid;gap:1.25rem;margin-top:3rem;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}
@media (min-width:1000px){.room{grid-template-columns:repeat(5,1fr);gap:1rem}}
.room__card{margin:0}
.room__card picture{display:block}
.room__card img{
  width:100%;aspect-ratio:4/5;object-fit:cover;display:block;
  border-radius:var(--radius);box-shadow:var(--shadow-md);
  filter:saturate(.96);
}
.room__card figcaption{
  margin-top:.9rem;font-size:.875rem;line-height:1.55;color:var(--muted);
}
.room__card figcaption b{display:block;color:var(--ink);font-weight:650}
/* Five full-bleed portraits stacked one-up is a very long scroll on a phone.
   Two-up keeps the whole room visible in about a screen and a half. */
@media (max-width:619px){
  .room{grid-template-columns:1fr 1fr;gap:.85rem}
  .room__card figcaption{font-size:.8125rem;margin-top:.6rem}
  .room__card:last-child{grid-column:1 / -1;max-width:52%;margin-inline:auto}
}

/* --- Pain list ---------------------------------------------------------- */
.pain-grid{display:grid;gap:1rem;margin-top:2.75rem}
@media (min-width:720px){.pain-grid{grid-template-columns:repeat(2,1fr);gap:1.25rem}}
.pain{
  display:flex;gap:1rem;padding:1.4rem 1.5rem;border-radius:var(--radius);
  background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);
  transition:transform .5s var(--ease-out),box-shadow .5s var(--ease-out);
}
.pain:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.pain__mark{flex:0 0 auto;width:26px;height:26px;color:var(--gold-deep);margin-top:.15rem}
.pain p{font-size:1rem;line-height:1.6}
.pain strong{font-weight:650}

.turn{
  margin-top:3.5rem;padding:clamp(2rem,5vw,3.25rem);border-radius:var(--radius-lg);
  background:var(--ink);color:var(--paper);text-align:center;
  box-shadow:var(--shadow-lg);
}
.turn p{font-family:var(--font-display);font-size:clamp(1.5rem,1.1rem + 2vw,2.5rem);line-height:1.22;letter-spacing:-.025em}
.turn p em{font-style:normal;color:var(--gold-lift)}

/* --- Manuscript scroll sequence ---------------------------------------- */
.manuscript{background:var(--paper-warm);overflow:clip}
/* Tall scroll track. The sticky child pins for one viewport while the track
   supplies the travel the scrub reads. Shorter than ~2.4x and the sequence
   completes before the reader registers it. */
.manuscript__stage{position:relative;min-height:280vh}
.manuscript__sticky{position:sticky;top:0;min-height:100svh;display:grid;place-items:center;padding-block:4rem}
.page-sheet{
  position:relative;width:min(520px,86vw);aspect-ratio:8.5/11;
  background:#fff;border-radius:6px;
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(10,24,50,.06);
  padding:clamp(2rem,5vw,3.25rem);overflow:hidden;
}
.page-sheet::before{
  content:"";position:absolute;inset-block:0;inset-inline-start:clamp(1.5rem,4vw,2.5rem);
  width:1px;background:rgba(201,39,39,.18);
}
.page-sheet__lines{display:grid;gap:clamp(.85rem,2vw,1.15rem);height:100%;align-content:start;padding-top:.5rem}
.page-sheet__line{
  height:clamp(7px,1.5vw,10px);border-radius:100px;
  background:linear-gradient(90deg,var(--ink) 0%,var(--ink-soft) 100%);
  transform-origin:left center;transform:scaleX(0);
  width:var(--w,100%);
}
.page-sheet__caption{
  position:absolute;inset-block-end:clamp(1.25rem,3vw,2rem);inset-inline:0;
  text-align:center;font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);font-weight:600;
}
.manuscript__meter{
  position:absolute;inset-block-start:50%;inset-inline-end:var(--gutter);
  transform:translateY(-50%);display:none;
}
@media (min-width:1080px){.manuscript__meter{display:block}}
.manuscript__meter b{
  display:block;font-family:var(--font-display);font-size:3.5rem;
  color:var(--ink);letter-spacing:-.04em;line-height:1;
}
.manuscript__meter span{font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:600}

/* --- Deliverables ------------------------------------------------------- */
.deliver-grid{display:grid;gap:1.25rem;margin-top:3rem}
@media (min-width:680px){.deliver-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.deliver-grid{grid-template-columns:repeat(4,1fr)}}
.deliver{
  padding:1.9rem 1.6rem;border-radius:var(--radius);
  background:rgba(232,200,106,.045);border:1px solid var(--line-on-dark);
  transition:transform .5s var(--ease-out),background .5s var(--ease-out);
}
.deliver:hover{transform:translateY(-4px);background:rgba(232,200,106,.085)}
.deliver__icon{width:34px;height:34px;color:var(--gold);margin-bottom:1.1rem}
.deliver h3{font-size:1.15rem;margin-bottom:.5rem}
.deliver p{font-size:.9375rem;color:var(--muted-on-dark);line-height:1.6}

/* --- Legacy / Serena ---------------------------------------------------- */
.legacy{display:grid;gap:clamp(2.5rem,6vw,4.5rem);align-items:center}
@media (min-width:920px){.legacy{grid-template-columns:.9fr 1.1fr}}
.legacy__media{position:relative}
.legacy__media img{border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:100%}
.legacy__stamp{
  position:absolute;inset-block-end:-22px;inset-inline-end:-18px;
  width:clamp(96px,17vw,132px);border-radius:50%;
  box-shadow:var(--shadow-md);background:#fff;
}
@media (max-width:600px){.legacy__stamp{inset-inline-end:-8px;inset-block-end:-14px}}
.pull-quote{
  margin-top:2.25rem;padding-inline-start:1.5rem;
  border-inline-start:3px solid var(--gold);
}
.pull-quote p{font-family:var(--font-display);font-size:clamp(1.2rem,1rem + 1vw,1.6rem);line-height:1.35;letter-spacing:-.02em}
.pull-quote cite{display:block;margin-top:.85rem;font-style:normal;font-size:.875rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-deep);font-weight:600}
.section--dark .pull-quote cite{color:var(--gold-lift)}

/* --- Curriculum accordion ---------------------------------------------- */
.curriculum{margin-top:3rem;border-top:1px solid var(--line)}
.mod{border-bottom:1px solid var(--line)}
.mod__head{
  width:100%;display:flex;align-items:center;gap:1.25rem;
  padding-block:1.6rem;text-align:left;
}
.mod__num{
  font-family:var(--font-display);font-size:.9375rem;color:var(--gold-deep);
  font-weight:600;flex:0 0 auto;width:2rem;letter-spacing:.02em;
}
.mod__title{flex:1;font-family:var(--font-display);font-size:clamp(1.15rem,1rem + .7vw,1.5rem);letter-spacing:-.02em;line-height:1.25}
.mod__sign{position:relative;flex:0 0 auto;width:22px;height:22px}
.mod__sign::before,.mod__sign::after{
  content:"";position:absolute;inset-block-start:50%;inset-inline-start:0;
  width:100%;height:2px;border-radius:2px;background:var(--gold-deep);
  transform:translateY(-50%);transition:transform .45s var(--ease-out);
}
.mod__sign::after{transform:translateY(-50%) rotate(90deg)}
.mod[open] .mod__sign::after{transform:translateY(-50%) rotate(0)}
.mod__body{overflow:hidden;height:0;transition:height .5s var(--ease-out)}
.mod__body-inner{padding:0 0 1.75rem calc(2rem + 1.25rem)}
.mod__body p{color:var(--muted);max-width:60ch}
@media (max-width:560px){.mod__body-inner{padding-inline-start:0}}

/* --- Offer -------------------------------------------------------------- */
.offer-card{
  max-width:640px;margin:3rem auto 0;padding:clamp(2rem,5vw,3.25rem);
  background:#fff;border-radius:var(--radius-lg);
  border:1px solid var(--line);box-shadow:var(--shadow-lg);text-align:center;
  position:relative;overflow:hidden;
  /* White island inside .section--deep: without this it inherits the
     section's cream text and the price reads as a ghost. */
  color:var(--char);
}
.offer-card::before{
  content:"";position:absolute;inset-block-start:0;inset-inline:0;height:4px;
  background:linear-gradient(90deg,var(--gold-deep),var(--gold-lift),var(--gold-deep));
}
.offer-card__label{font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-deep);font-weight:650}
.offer-card__price{
  font-family:var(--font-display);font-size:clamp(3rem,2rem + 4vw,4.5rem);
  letter-spacing:-.045em;line-height:1;margin-block:.75rem .35rem;
  color:var(--ink);font-weight:700;
}
.offer-card__price sup{
  font-size:.42em;vertical-align:super;letter-spacing:0;
  margin-inline-end:.06em;color:var(--gold-deep);
}
.offer-card__sub{color:var(--muted);font-size:.9375rem}
.offer-list{margin:2rem 0;text-align:left;display:grid;gap:.85rem}
.offer-list li{
  display:flex;gap:.8rem;list-style:none;font-size:1.0625rem;line-height:1.55;
  color:var(--char);font-weight:450;
}
.offer-list svg{flex:0 0 auto;width:21px;height:21px;color:var(--gold-deep);margin-top:.18rem}
.offer-card .btn{margin-top:.5rem}
.offer-alt{margin-top:1.25rem;font-size:.9375rem;color:var(--muted)}
.offer-alt a{color:var(--gold-deep);font-weight:600;text-underline-offset:3px}

.guarantee{
  display:flex;gap:1.25rem;align-items:flex-start;
  max-width:640px;margin:2rem auto 0;padding:1.5rem 1.75rem;
  border-radius:var(--radius);background:var(--paper-warm);border:1px solid var(--line);
}
.guarantee svg{flex:0 0 auto;width:38px;height:38px;color:var(--gold-deep)}
.guarantee h3{font-size:1.0625rem;margin-bottom:.35rem}
.guarantee p{font-size:.9rem;color:var(--muted);line-height:1.6}
.guarantee a{color:var(--gold-deep);font-weight:600}

/* --- FAQ ---------------------------------------------------------------- */
.faq{max-width:var(--wrap-narrow);margin-inline:auto}

/* --- Signature ---------------------------------------------------------- */
.signoff{text-align:center}
.signature{
  font-family:var(--font-script);
  /* Sized so "Dr. Serena Brown Travis," holds one line at every breakpoint. */
  font-size:clamp(1.75rem,1.05rem + 2.5vw,3.35rem);
  color:var(--gold-lift);line-height:1.15;margin-block:1.5rem .5rem;
  display:inline-block;
  -webkit-mask-image:linear-gradient(90deg,#000 0 0);mask-image:linear-gradient(90deg,#000 0 0);
  -webkit-mask-size:0% 100%;mask-size:0% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  transition:-webkit-mask-size 1.6s var(--ease-in-out),mask-size 1.6s var(--ease-in-out);
}
.signature.is-in{-webkit-mask-size:100% 100%;mask-size:100% 100%}
.signoff .signature{margin-block:2.5rem .25rem}
.signoff{padding-block-end:clamp(3rem,6vw,4.5rem)}

/* --- Footer ------------------------------------------------------------- */
.site-footer{background:var(--ink-deep);color:var(--muted-on-dark);padding-block:3.5rem 2.5rem;font-size:.875rem}
.site-footer__grid{display:flex;flex-wrap:wrap;gap:1.5rem 2.5rem;justify-content:space-between;align-items:flex-start}
.site-footer a{color:var(--muted-on-dark);text-decoration:none;text-underline-offset:3px}
.site-footer a:hover{color:var(--gold-lift);text-decoration:underline}
.site-footer nav{display:flex;flex-wrap:wrap;gap:1rem 1.5rem}
.site-footer__legal{margin-top:2.25rem;padding-top:1.5rem;border-top:1px solid rgba(169,180,204,.16);font-size:.8125rem;opacity:.75;line-height:1.7}

/* --- Sticky mobile CTA -------------------------------------------------- */
.sticky-cta{
  position:fixed;inset-inline:0;inset-block-end:0;z-index:70;
  padding:.75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background:rgba(10,24,50,.95);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-top:1px solid var(--line-on-dark);
  transform:translateY(110%);transition:transform .55s var(--ease-out);
}
.sticky-cta.is-in{transform:none}
.sticky-cta .btn{width:100%;padding-block:.95rem}
@media (min-width:781px){.sticky-cta{display:none}}

/* --- Legal pages -------------------------------------------------------- */
.doc{padding-block:clamp(7rem,13vw,9rem) clamp(4rem,9vw,6rem)}
.doc h1{font-size:clamp(2rem,1.4rem + 2.6vw,3rem);margin-bottom:.75rem}
.doc__meta{color:var(--muted);font-size:.875rem;margin-bottom:2.5rem}
.doc h2{font-size:clamp(1.25rem,1.1rem + .8vw,1.6rem);margin-top:2.75rem;margin-bottom:.85rem}
.doc h3{font-size:1.075rem;margin-top:1.75rem;margin-bottom:.5rem}
.doc p,.doc li{color:#2c3242;margin-bottom:1rem;max-width:70ch}
.doc ul{padding-inline-start:1.25rem}
.doc li{margin-bottom:.6rem}
.doc a{color:var(--gold-deep);font-weight:600}
.doc .callout{
  padding:1.5rem 1.75rem;border-radius:var(--radius);background:var(--paper-warm);
  border-inline-start:3px solid var(--gold);margin-block:1.75rem;
}
.doc .callout p:last-child{margin-bottom:0}

/* --- Thank you ---------------------------------------------------------- */
.ty{min-height:100svh;display:grid;place-items:center;text-align:center;background:var(--ink-deep);color:var(--paper);padding:var(--gutter)}
.ty__check{width:76px;height:76px;color:var(--gold);margin:0 auto 1.75rem}
.ty h1{font-size:clamp(2rem,1.4rem + 3vw,3.25rem);margin-bottom:1rem}
.ty p{color:var(--muted-on-dark);max-width:52ch;margin:0 auto 1rem}
.ty .btn{margin-top:1.75rem}

/* --- Booking embed ------------------------------------------------------ */
.booking{
  margin-top:2.5rem;border-radius:var(--radius-lg);overflow:hidden;
  background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-md);
  min-height:760px;
}
.booking iframe{width:100%;min-height:760px;border:0;display:block}

/* --- Motion opt-out ----------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
  [data-reveal]{opacity:1!important;transform:none!important}
  .hero h1 .line > span{transform:none!important}
  .ytlite{opacity:1!important;transform:none!important}
  .phone{opacity:1!important;transform:none!important}
  .signature{-webkit-mask-size:100% 100%!important;mask-size:100% 100%!important}
  .page-sheet__line{transform:scaleX(1)!important}
  .sticky-cta{transition:none}
  .hero__canvas{display:none}
}

/* --- Booking pending state --------------------------------------------- */
.booking--pending{
  display:grid;place-items:center;text-align:center;
  padding:clamp(2.5rem,6vw,4rem);background:var(--paper-warm);
}
.booking__pending h3{font-size:clamp(1.3rem,1.1rem + 1vw,1.75rem);margin-bottom:.75rem}
.booking__pending p{color:var(--muted);max-width:44ch;margin-bottom:1.75rem}

/* --- Hero background plate --------------------------------------------- */
.hero__plate{
  position:absolute;inset:0;
  /* Fallback first, then let image-set upgrade it. AVIF is ~10% smaller here
     and this plate is the hero's LCP paint. */
  background-image:url('/assets/img/hero-plate-1920.webp');
  background-image:image-set(
    url('/assets/img/hero-plate-1920.avif') type('image/avif'),
    url('/assets/img/hero-plate-1920.webp') type('image/webp'));
  background-size:cover;background-position:center top;
  opacity:.85;
}
.hero__plate::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(6,14,31,.35) 0%,rgba(6,14,31,.72) 55%,var(--ink-deep) 100%);
}

/* --- Deliverables lead (book mockup) ----------------------------------- */
.deliver-lead{
  display:grid;gap:clamp(2rem,5vw,4rem);align-items:center;margin-top:3rem;
}
@media (min-width:900px){.deliver-lead{grid-template-columns:.85fr 1.15fr}}
.deliver-lead__media img{
  border-radius:var(--radius-lg);
  box-shadow:0 40px 90px -24px rgba(0,0,0,.7);
  width:100%;
}
.deliver-lead__copy .h-sub{margin-bottom:1rem;max-width:20ch}

/* --- The room ----------------------------------------------------------- */
.room-grid{display:grid;gap:1.25rem;margin-top:3rem}
@media (min-width:820px){.room-grid{grid-template-columns:repeat(3,1fr);gap:1.5rem}}
.room-card{margin:0;overflow:hidden;border-radius:var(--radius-lg);position:relative}
.room-card img{
  width:100%;aspect-ratio:4/5;object-fit:cover;
  transition:transform 1.1s var(--ease-out);
}
.room-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(6,14,31,.45) 100%);
  pointer-events:none;
}
.room-card:hover img{transform:scale(1.035)}
.room-note{
  margin-top:1.5rem;text-align:center;font-size:.8125rem;color:var(--muted);
}

@media (prefers-reduced-motion:reduce){
  .room-card img{transition:none}
  .room-card:hover img{transform:none}
}

/* --- Signature: the full sign-off, in her hand -------------------------- */
.signature span{
  display:block;
  font-size:.62em;
  margin-top:-.12em;
  letter-spacing:.01em;
}
.signature--sm{font-size:clamp(1.9rem,1.3rem + 2.6vw,2.9rem)}
.signature--doc{
  color:var(--gold-deep);
  margin-top:3rem;
  padding-top:2rem;
  border-top:1px solid var(--line);
  display:block;
  text-align:left;
}

/* ==========================================================================
   MODEL-STRUCTURE LAYER
   Layout mechanics lifted from the reference funnel, rendered in her palette.
   ========================================================================== */

/* --- Angled section dividers ------------------------------------------- */
.section--angle-top{clip-path:polygon(0 3.5vw,100% 0,100% 100%,0 100%)}
.section--angle-bottom{clip-path:polygon(0 0,100% 0,100% calc(100% - 3.5vw),0 100%)}
.section--angle-both{clip-path:polygon(0 3.5vw,100% 0,100% calc(100% - 3.5vw),0 100%)}
.section--angle-top,.section--angle-both{margin-top:-3.5vw;padding-top:calc(clamp(4.5rem,10vw,8rem) + 3.5vw)}
.section--angle-bottom,.section--angle-both{padding-bottom:calc(clamp(4.5rem,10vw,8rem) + 3.5vw)}

/* --- Down-arrow beat between sections ----------------------------------- */
.beat{display:grid;place-items:center;padding-block:2.5rem 0}
.beat span{
  width:60px;height:60px;border-radius:50%;display:grid;place-items:center;
  background:var(--gold);color:var(--ink-deep);
  box-shadow:0 10px 26px -10px rgba(201,162,39,.8);
  animation:beatBob 2.4s var(--ease-in-out) infinite;
}
.beat svg{width:26px;height:26px}
@keyframes beatBob{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}

/* --- Two-column checkmark list (the model's core pain block) ------------ */
.check-cols{
  display:grid;gap:.9rem 3rem;margin-top:2.5rem;
  max-width:1000px;margin-inline:auto;
}
@media (min-width:768px){.check-cols{grid-template-columns:1fr 1fr}}
.check{display:flex;gap:.9rem;align-items:flex-start;list-style:none}
.check svg{
  flex:0 0 auto;width:20px;height:20px;margin-top:.42rem;color:var(--gold-deep);
}
.section--dark .check svg,.section--deep .check svg{color:var(--gold)}
.check span{font-size:1.05rem;line-height:1.6}

/* --- Alternating module rows ------------------------------------------- */
.module{
  display:grid;gap:clamp(2rem,5vw,4.5rem);align-items:center;
  padding-block:clamp(2.5rem,5vw,4rem);
}
@media (min-width:900px){
  .module{grid-template-columns:1fr 1fr}
  .module--flip .module__media{order:2}
}
.module__media img{
  width:100%;border-radius:var(--radius-lg);
  box-shadow:0 30px 70px -22px rgba(6,14,31,.45);
}
.module__num{
  display:block;font-size:.9375rem;font-weight:700;letter-spacing:.06em;
  color:var(--gold-deep);margin-bottom:.35rem;
}
.module__title{
  font-family:var(--font-display);
  font-size:clamp(1.6rem,1.2rem + 1.9vw,2.5rem);
  letter-spacing:-.025em;line-height:1.12;margin-bottom:1rem;
}
.module__title em{font-style:normal;color:var(--gold-deep);border-bottom:3px solid var(--gold)}
.module__body{color:var(--muted);line-height:1.9;margin-bottom:1.5rem}
.module__body strong{color:var(--char);font-weight:650}
.module .check-cols{margin-top:0;grid-template-columns:1fr;gap:.7rem;max-width:none}
.module .check span{font-size:1rem}

/* --- Hero video: 16:9 slot, vertical source, blurred fill --------------- */
.vidcard{
  position:relative;width:100%;aspect-ratio:16/9;border-radius:var(--radius-lg);
  overflow:hidden;background:#000;
  box-shadow:0 40px 90px -28px rgba(0,0,0,.75),0 0 0 1px rgba(232,200,106,.18);
  opacity:0;transform:translateY(30px) scale(.97);
  transition:opacity 1s var(--ease-out) .3s,transform 1s var(--ease-out) .3s;
}
.hero.is-ready .vidcard{opacity:1;transform:none}
.vidcard__fill{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:blur(26px) saturate(1.2) brightness(.55);transform:scale(1.15);
}
.vidcard__stage{
  position:absolute;inset:0;display:grid;place-items:center;
}
.vidcard__stage video,.vidcard__stage img{
  height:100%;width:auto;max-width:none;
}
.vidcard__play{
  position:absolute;inset:0;display:grid;place-items:center;
  background:rgba(6,14,31,.28);transition:opacity .4s,background .4s;
}
.vidcard__play span{
  width:84px;height:84px;border-radius:50%;display:grid;place-items:center;
  background:var(--gold);color:var(--ink-deep);
  box-shadow:0 12px 34px rgba(0,0,0,.5);
  transition:transform .4s var(--ease-out);
}
.vidcard__play:hover span{transform:scale(1.08)}
.vidcard__play:hover{background:rgba(6,14,31,.14)}
.vidcard__play svg{width:30px;height:30px;margin-left:4px}
.vidcard.is-playing .vidcard__play{opacity:0;pointer-events:none}

/* --- Two-column hero (kept for any page that still uses it) -------------- */
@media (min-width:960px){
  .hero:not(.hero--stack) .hero__inner{grid-template-columns:1fr 1fr}
  .hero:not(.hero--stack) .hero__inner .hero__copy{order:2}
  .hero:not(.hero--stack) .hero__inner .hero__video{order:1}
}
.hero:not(.hero--stack) h1{text-align:left}
.hero:not(.hero--stack) .hero__lede{margin-inline:0;text-align:left}
/* The stacked hero centres on the video, so the copy centres with it. */
.hero--stack h1{text-align:center}
.hero--stack .hero__lede{margin-inline:auto;text-align:center}

/* --- Testimonial / proof cards ------------------------------------------ */
.proof-grid{display:grid;gap:1.25rem;margin-top:3rem}
@media (min-width:760px){.proof-grid{grid-template-columns:1fr 1fr}}
.proof{
  background:#fff;border-radius:var(--radius-lg);padding:2rem 1.9rem;
  border:1px solid var(--line);box-shadow:var(--shadow-md);
  display:flex;gap:1.25rem;align-items:flex-start;
}
.proof img{width:76px;height:76px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.proof p{font-size:1rem;line-height:1.7;color:#2c3242}
.proof cite{display:block;margin-top:.85rem;font-style:normal;font-weight:700;font-size:.9375rem}

/* --- Guarantee seal ------------------------------------------------------ */
.seal{display:grid;place-items:center;margin-bottom:1.5rem}
.seal span{
  width:132px;height:132px;border-radius:50%;display:grid;place-items:center;
  border:3px solid var(--gold);color:var(--gold-deep);
  font-family:var(--font-display);line-height:1.1;text-align:center;
  font-size:1.05rem;font-weight:600;padding:1rem;
}
.section--deep .seal span,.section--dark .seal span{color:var(--gold-lift)}

@media (prefers-reduced-motion:reduce){
  .beat span{animation:none}
  .vidcard{opacity:1!important;transform:none!important}
}

/* ==========================================================================
   PROOF ARCHITECTURE — split, timeline, comparison, failure boundaries
   ========================================================================== */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* --- You do / I do ------------------------------------------------------ */
.split{display:grid;gap:1.5rem;margin-top:3rem}
@media (min-width:820px){.split{grid-template-columns:1fr 1.15fr}}
.split__col{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:clamp(1.75rem,4vw,2.5rem);box-shadow:var(--shadow-sm);
}
.split__col--gold{
  background:var(--ink);color:var(--paper);border-color:var(--line-on-dark);
  box-shadow:var(--shadow-lg);
}
.split__col h3{
  font-size:1.35rem;margin-bottom:1.25rem;padding-bottom:.85rem;
  border-bottom:2px solid var(--gold);display:inline-block;
}
.split__col ul{list-style:none;padding:0;margin:0;display:grid;gap:.85rem}
.split__col li{position:relative;padding-inline-start:1.75rem;line-height:1.6}
.split__col li::before{
  content:"";position:absolute;inset-inline-start:0;inset-block-start:.6em;
  width:8px;height:8px;border-radius:50%;background:var(--gold-deep);
}
.split__col--gold li::before{background:var(--gold)}
.split__note{
  margin-top:2rem;text-align:center;font-size:1.05rem;color:var(--muted);
  max-width:56ch;margin-inline:auto;
}

/* --- 30-day timeline ---------------------------------------------------- */
.timeline{
  list-style:none;padding:0;margin:3rem auto 0;max-width:820px;
  display:grid;gap:0;position:relative;
}
.timeline::before{
  content:"";position:absolute;inset-block:1.5rem;inset-inline-start:0;
  width:2px;background:linear-gradient(180deg,var(--gold),rgba(201,162,39,.15));
}
@media (min-width:640px){.timeline::before{inset-inline-start:7.5rem}}
.timeline li{
  position:relative;padding:1.4rem 0 1.4rem 1.75rem;line-height:1.7;
  color:var(--muted-on-dark);
}
@media (min-width:640px){.timeline li{padding-inline-start:9.5rem}}
.timeline li::before{
  content:"";position:absolute;inset-block-start:2rem;inset-inline-start:-5px;
  width:12px;height:12px;border-radius:50%;background:var(--gold);
  box-shadow:0 0 0 4px var(--ink);
}
@media (min-width:640px){.timeline li::before{inset-inline-start:calc(7.5rem - 5px)}}
.timeline__day{
  display:block;font-size:.8125rem;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--gold);margin-bottom:.35rem;
}
@media (min-width:640px){
  .timeline__day{position:absolute;inset-inline-start:0;inset-block-start:1.75rem;width:6.5rem;text-align:right;margin:0}
}
.timeline b{color:var(--paper);font-weight:650}

/* --- Comparison table --------------------------------------------------- */
.compare{margin-top:3rem;max-width:900px;margin-inline:auto}
.compare table{
  width:100%;border-collapse:collapse;background:#fff;
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-md);
  font-size:.9875rem;
}
.compare th,.compare td{padding:1rem 1.1rem;text-align:left;border-bottom:1px solid var(--line)}
.compare thead th{
  background:var(--ink);color:var(--paper);font-family:var(--font-body);
  font-size:.8125rem;letter-spacing:.08em;text-transform:uppercase;font-weight:650;
}
.compare tbody th{font-weight:650;color:var(--char)}
.compare tbody td:last-child{color:var(--gold-deep);font-weight:650}
.compare tbody tr:last-child th,.compare tbody tr:last-child td{border-bottom:0}
.compare__note{margin-top:1.25rem;text-align:center;font-size:.9375rem;color:var(--muted)}
@media (max-width:620px){
  .compare table{font-size:.875rem}
  .compare th,.compare td{padding:.75rem .7rem}
}

/* --- Failure boundaries -------------------------------------------------- */
.notbox{
  margin-top:2.5rem;background:#fff;border-radius:var(--radius-lg);
  border:1px solid var(--line);border-inline-start:5px solid var(--gold);
  padding:clamp(1.75rem,4vw,2.75rem);box-shadow:var(--shadow-md);
}
.notbox ul{list-style:none;padding:0;margin:0;display:grid;gap:1.35rem}
.notbox li{line-height:1.75;color:#2c3242}
.notbox b{color:var(--char);font-weight:700}

/* --- Legacy photo band --------------------------------------------------- */
.legacy-band{display:grid;gap:1rem;margin-top:3rem}
@media (min-width:760px){.legacy-band{grid-template-columns:repeat(3,1fr);gap:1.25rem}}
.legacy-band figure{margin:0;border-radius:var(--radius-lg);overflow:hidden;position:relative}
.legacy-band img{width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform 1.1s var(--ease-out)}
.legacy-band figure::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(6,14,31,.4) 100%);pointer-events:none}
.legacy-band figure:hover img{transform:scale(1.04)}

/* --- Social links -------------------------------------------------------- */
.social{display:grid;gap:.6rem;align-content:start}
.social__label{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;font-weight:650;color:var(--gold-lift);margin-bottom:.2rem}
.social a{display:inline-flex;align-items:center;gap:.55rem;text-decoration:none}
.social svg{width:18px;height:18px;flex:0 0 auto;color:var(--gold)}
.social a:hover svg{color:var(--gold-lift)}

@media (prefers-reduced-motion:reduce){
  .legacy-band img{transition:none}
  .legacy-band figure:hover img{transform:none}
}
