/* SAMA Dermatology — Dr. Sacharitha Bowers funnel
   Tokens taken from the live site (samadermatology.com), not approximated.
   Signature: the apothecary arch. */

:root{
  /* palette — sampled from the live site's computed styles */
  --cream:#F2E7DF;
  --green:#315648;
  --dark-green:#1C3129;
  --terracotta:#A85F49;        /* AA: 4.77:1 with white button text */
  --terracotta-deep:#96543F;   /* hover DARKENS. Not "-lift": --gold-lift lightens for
                                  dark grounds, this goes the other way. 5.77:1 with white. */
  --terracotta-ink:#8F5240;    /* terracotta as TEXT on cream/warm-white */
  --gold:#BC8E4B;              /* decorative only — fails AA as text on light */
  --gold-ink:#856331;          /* gold as text on cream/warm-white */
  --gold-lift:#D7BC94;         /* gold as text on green/dark-green */
  --sage:#92A584;
  --sage-light:#B8C4B0;
  --warm-white:#F7EFEA;
  --khaki:#A1A48C;             /* the decorative hue the rgba(161,164,140,a)
                                  hairlines below are drawn from. Decoration only:
                                  never text, never a control's only boundary. */
  --khaki-ink:#6C6F58;         /* khaki as readable text ON WARM-WHITE (4.56:1).
                                  On cream it is 4.26:1 — do not use it there. */
  --field-line:#7F8268;        /* input boundary. 1.4.11 needs 3:1 against BOTH the
                                  field's cream fill and the warm-white card behind
                                  it: 3.26:1 and 3.49:1. rgba khaki was 1.4:1. */

  /* error — a semantic colour, not a brand one, so it gets its own tokens */
  --error:#9A3324;             /* 6.4:1 on warm-white, 6.3:1 on cream */
  --error-bg:#FDF3F1;
  --error-line:rgba(154,51,36,.3);

  /* video grounds — deliberately darker than --dark-green so a poster or embed
     reads as a screen rather than as another band */
  --screen:#10201A;
  --screen-top:#22392F;
  --screen-bot:#15251E;
  --portrait-mat:#DCD2C6;      /* shows while the portrait decodes */

  --ink:#333333;
  --ink-soft:#5A6B62;
  --on-dark:#F2E7DF;
  --on-dark-soft:#C6D2BC;

  --display:"Jost",-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  --body:"Yaldevi",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;

  --arch:52% 52% 20px 20px / 34% 34% 20px 20px;
  --curve-h:5.5vw;
  --curve:50% var(--curve-h);
  --pill:48px;

  --gut:clamp(20px,5vw,64px);
  --stack:clamp(64px,9vw,128px);
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--body);
  font-size:clamp(16px,1.05vw,17.5px);
  line-height:1.7;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg,iframe{max-width:100%;display:block}
/* width/height attrs (added for CLS) are presentational hints: CSS that sets
   only width leaves the height ATTRIBUTE in force and stretches the image.
   height:auto restores the ratio; rules that set height explicitly still win. */
img{height:auto}

/* the live site sets every heading in a light, wide, uppercase display face */
h1,h2,h3{
  font-family:var(--display);
  font-weight:300;
  text-transform:uppercase;
  line-height:1.08;
  margin:0;
  color:var(--green);
  text-wrap:balance;
}
h1{font-size:clamp(2.1rem,4.2vw,3.5rem);letter-spacing:-.01em}
h2{font-size:clamp(1.7rem,3.1vw,2.6rem);letter-spacing:-.005em}
h3{font-size:clamp(1.05rem,1.5vw,1.3rem);font-weight:400;letter-spacing:.06em}
p{margin:0 0 1.1em}
p:last-child{margin-bottom:0}

a{color:inherit}

.wrap{width:min(1180px,100% - var(--gut)*2);margin-inline:auto}
.narrow{width:min(780px,100% - var(--gut)*2);margin-inline:auto}

/* ---------- shared bits ---------- */

/* the site's small dark chip, as seen above the hero headline */
.chip{
  display:inline-block;
  font-family:var(--body);
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--on-dark);
  background:var(--green);
  padding:.5rem 1.15rem;
  border-radius:var(--pill);
  margin:0 0 1.5rem;
}
.chip--light{background:rgba(242,231,223,.16);color:var(--on-dark)}

.eyebrow{
  font-family:var(--body);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--gold-ink);
  margin:0 0 1.1rem;
}

.lede{font-size:clamp(1.02rem,1.3vw,1.15rem);color:var(--ink-soft)}
.on-dark .lede{color:var(--on-dark-soft)}

/* buttons are 48px pills on the live site, filled terracotta or outlined */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  font-family:var(--body);
  font-size:1rem;
  font-weight:600;
  letter-spacing:.01em;
  padding:.95rem 2rem;
  border:1px solid var(--terracotta);
  border-radius:var(--pill);
  background:var(--terracotta);
  color:#fff;
  text-decoration:none;
  cursor:pointer;
  transition:background-color .25s,border-color .25s,transform .25s,color .25s;
}
.btn:hover{background:var(--terracotta-deep);border-color:var(--terracotta-deep);transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn--block{width:100%}
.btn--ghost{background:transparent;color:var(--terracotta-ink);border-color:var(--terracotta-ink)}
.btn--ghost:hover{background:var(--terracotta);color:#fff}
.on-dark .btn--ghost{color:var(--on-dark);border-color:rgba(242,231,223,.55)}
.on-dark .btn--ghost:hover{background:rgba(242,231,223,.14);border-color:var(--on-dark);color:var(--on-dark)}
/* secondary hero action: same pill, deliberately quieter, so terracotta is the
   only thing in the hero that looks like the main move. Still AA (8.8:1 text). */
.btn--quiet{font-weight:500}
.on-dark .btn--quiet{color:var(--on-dark-soft);border-color:rgba(242,231,223,.42)}
.on-dark .btn--quiet:hover{background:rgba(242,231,223,.12);border-color:var(--on-dark);color:var(--on-dark)}

:where(a,button,input,textarea,select):focus-visible{
  outline:3px solid var(--gold-ink);
  outline-offset:3px;
}
/* the ring has to clear 3:1 against whatever it sits on */
.on-dark :where(a,button,input,textarea,select):focus-visible,
.hero :where(a,button,input,textarea,select):focus-visible,
.foot :where(a,button,input,textarea,select):focus-visible{
  outline-color:var(--gold-lift);
}

.skip{
  position:absolute;
  left:.6rem;
  top:-4rem;
  z-index:60;
  background:var(--green);
  color:var(--on-dark);
  padding:.7rem 1.2rem;
  border-radius:0 0 12px 12px;
  font-weight:600;
  font-size:.9rem;
  text-decoration:none;
  transition:top .18s;
}
.skip:focus{top:0}

/* ---------- floating pill header (mirrors the live site's) ---------- */

.masthead{padding:clamp(14px,1.8vw,22px) var(--gut) 0;position:relative;z-index:20;background:var(--dark-green)}
.masthead__bar{
  width:min(1240px,100%);
  margin-inline:auto;
  background:rgba(247,239,234,.92);
  border-radius:var(--pill);
  padding:clamp(12px,1.4vw,18px) clamp(20px,2.4vw,34px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  box-shadow:0 18px 40px -34px rgba(28,49,41,.8);
}
.masthead__logo{display:block;width:clamp(150px,15vw,208px);flex:none}
.masthead__logo img{width:100%}
.masthead__tel{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  min-height:44px;            /* the tap target, not just the text box */
  padding:.35rem .2rem;
  font-size:.88rem;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--green);
  text-decoration:none;
  white-space:nowrap;
}
.masthead__tel:hover{color:var(--terracotta-ink)}
.masthead__tel svg{width:18px;height:18px;flex:none}
/* the label collapses on small screens; the number itself never does — see the
   640px block at the end of this file */
.masthead__tel .tel__label{display:inline}

/* ---------- hero ---------- */

.hero{
  position:relative;
  background:var(--dark-green);
  color:var(--on-dark);
  padding-block:clamp(40px,6vw,84px) clamp(56px,7vw,104px);
  margin-top:clamp(-70px,-6vw,-56px);
  padding-top:clamp(110px,9vw,128px);
  overflow:hidden;
  border-bottom-left-radius:var(--curve);
  border-bottom-right-radius:var(--curve);
}
.hero h1,.hero h2,.hero h3{color:var(--on-dark)}
.hero__grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:clamp(32px,5vw,72px);
  align-items:center;
  position:relative;
  z-index:1;
}
.hero__copy .chip{margin-bottom:1.1rem}
.hero__copy h1{margin-bottom:.72rem}
.hero__deck{
  font-size:clamp(1.12rem,1.7vw,1.4rem);
  color:var(--sage-light);
  margin:0 0 1rem;
  max-width:38ch;
  text-wrap:balance;
}
.hero__sub{margin-bottom:1.5rem;max-width:44ch}
.hero__note{margin:.9rem 0 0;font-size:.85rem;letter-spacing:.02em;color:var(--on-dark-soft)}

.leaflist{list-style:none;margin:0 0 1.7rem;padding:0;display:grid;gap:.8rem}
.leaflist li{display:grid;grid-template-columns:22px 1fr;gap:.85rem;align-items:start}
.leaflist svg{width:22px;height:22px;margin-top:.36rem;color:var(--sage-light);flex:none}
.leaflist b{
  display:block;
  font-weight:600;
  color:var(--on-dark);
  letter-spacing:.02em;
}
.leaflist span{color:var(--on-dark-soft);font-size:.95rem;line-height:1.55}

.hero__cta{display:flex;flex-wrap:wrap;align-items:center;gap:.9rem}

/* portrait — the arch */
.portrait{position:relative;padding:0 0 30px 30px}
.portrait__shadow{position:absolute;inset:30px 30px 0 0;border-radius:var(--arch);background:var(--sage)}
.portrait__frame{
  position:relative;
  border-radius:var(--arch);
  overflow:hidden;
  aspect-ratio:4/5;
  background:var(--portrait-mat);
  box-shadow:0 30px 60px -40px rgba(0,0,0,.85);
}
.portrait__frame img{width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.portrait__tag{
  position:absolute;
  left:0;
  bottom:0;
  background:var(--green);
  color:var(--on-dark);
  padding:.8rem 1.4rem .95rem;
  border-radius:0 18px 0 20px;
  max-width:82%;
}
.portrait__tag strong{
  display:block;
  font-family:var(--display);
  font-weight:300;
  text-transform:uppercase;
  font-size:1.05rem;
  letter-spacing:.03em;
}
.portrait__tag span{
  display:block;
  font-size:.66rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--sage-light);
  margin-top:.25rem;
}

/* ---------- sections ---------- */

.band{padding-block:var(--stack);position:relative;overflow:hidden}
/* #watch sits under the hero's curve (.tuck pulls it up), so scrolling to it
   would park the viewport on a band of empty green. Land on the content. */
[id]{scroll-margin-top:1.5rem}
.tuck[id]{scroll-margin-top:calc(var(--curve-h) + 1.5rem)}
.tuck{margin-top:calc(var(--curve-h) * -1);padding-top:calc(var(--stack) + var(--curve-h))}
main > section{position:relative}
main > section:nth-of-type(1){z-index:9}
main > section:nth-of-type(2){z-index:8}
main > section:nth-of-type(3){z-index:7}
main > section:nth-of-type(4){z-index:6}
main > section:nth-of-type(5){z-index:5}
main > section:nth-of-type(6){z-index:4}
.foot{position:relative;z-index:3}
.band--green{background:var(--green);color:var(--on-dark)}
.band--dark{background:var(--dark-green);color:var(--on-dark)}
.band--white{background:var(--warm-white)}
.curve-bottom{border-bottom-left-radius:var(--curve);border-bottom-right-radius:var(--curve)}
.curve-top{border-top-left-radius:var(--curve);border-top-right-radius:var(--curve)}
.on-dark h1,.on-dark h2,.on-dark h3{color:var(--on-dark)}
.on-dark .eyebrow{color:var(--gold-lift)}

.band__head{text-align:center;margin-bottom:clamp(34px,4.2vw,58px);position:relative;z-index:1}
.band__head .lede{margin-inline:auto;max-width:56ch}

/* video */
.player{
  position:relative;
  border-radius:clamp(16px,2vw,26px);
  overflow:hidden;
  background:var(--screen);
  aspect-ratio:16/10;
  box-shadow:0 40px 80px -50px rgba(0,0,0,.9);
  border:1px solid rgba(184,196,176,.18);
}
.player iframe{width:100%;height:100%;border:0}
/* the VSL is a native 16:9 source, so it gets its own ratio rather than the
   16:10 default — otherwise the browser letterboxes it inside the frame */
.player--wide{aspect-ratio:16/9}
.player video{width:100%;height:100%;border:0;display:block;object-fit:cover;background:var(--screen)}
.player__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.player__placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:1.1rem;
  text-align:center;
  padding:2rem;
  background:radial-gradient(130% 100% at 50% 0%,rgba(49,86,72,.55),transparent 70%),linear-gradient(180deg,var(--screen-top),var(--screen-bot));
}
.player__play{
  width:74px;height:74px;
  border-radius:50%;
  display:grid;place-items:center;
  background:var(--gold);
  color:var(--dark-green);
  box-shadow:0 0 0 12px rgba(188,142,75,.16);
}
.player__play svg{width:25px;height:25px;margin-left:4px}
.player__placeholder p{color:var(--sage-light);font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;margin:0}
.player__cap{margin-top:1.3rem;text-align:center;color:var(--on-dark-soft);font-size:.92rem}

/* ---------- the lead magnet, shown at the point of decision ---------- */

.magnet{
  display:flex;
  align-items:center;
  gap:clamp(20px,2.6vw,36px);
  padding-bottom:clamp(24px,2.6vw,34px);
  margin-bottom:clamp(24px,2.6vw,34px);
  border-bottom:1px solid rgba(161,164,140,.34);
}
.magnet__cover{
  flex:none;
  width:clamp(116px,13vw,168px);
  border-radius:4px 12px 12px 4px;
  box-shadow:0 18px 34px -20px rgba(28,49,41,.6),
             inset 0 0 0 1px rgba(49,86,72,.1);
  transform:rotate(-2deg);
}
.magnet h2{margin-bottom:.7rem}
.magnet .lede{font-size:1rem}
.magnet__meta{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-top:1rem;
  list-style:none;
  padding:0;
}
.magnet__meta li{
  font-size:.76rem;
  letter-spacing:.06em;
  color:var(--green);
  background:rgba(146,165,132,.2);
  border-radius:var(--pill);
  padding:.3rem .85rem;
}

/* the hero repeats the cover small, so the promise is visible before scrolling */
.hero__magnet{
  display:flex;
  align-items:center;
  gap:1rem;
  margin:0 0 1.4rem;
  padding:.85rem 1.15rem .85rem .9rem;
  border:1px solid rgba(198,210,188,.28);
  border-radius:18px;
  background:rgba(242,231,223,.06);
  max-width:27rem;
}
.hero__magnet img{flex:none;width:56px;border-radius:3px 7px 7px 3px}
.hero__magnet b{display:block;font-weight:600;color:var(--on-dark);letter-spacing:.01em}
.hero__magnet span{display:block;font-size:.88rem;color:var(--on-dark-soft);line-height:1.45}

/* ---------- form ---------- */

.formcard{
  background:var(--warm-white);
  border-radius:clamp(28px,3vw,44px);
  padding:clamp(28px,3.6vw,56px);
  box-shadow:0 40px 80px -60px rgba(28,49,41,.7);
  border:1px solid rgba(161,164,140,.3);
  position:relative;
  z-index:1;
}
.formcard h2{margin-bottom:.9rem}
.formcard > .lede{margin-bottom:2rem}

.field{display:grid;gap:.4rem;margin-bottom:1.2rem}
.field label{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--green)}
.field label .opt{color:var(--khaki-ink);letter-spacing:.06em;text-transform:none;font-weight:400;font-size:.8rem}
.field input,.field textarea{
  font-family:var(--body);
  font-size:1rem;
  color:var(--ink);
  background:var(--cream);
  border:1px solid var(--field-line);
  border-radius:14px;
  padding:.9rem 1.1rem;
  width:100%;
  transition:border-color .2s,background-color .2s;
}
.field textarea{resize:vertical;min-height:92px}
/* 4.56:1 on the cream field fill — placeholders are still text */
.field input::placeholder,.field textarea::placeholder{color:#636B5C}
.field input:hover,.field textarea:hover{border-color:var(--khaki-ink)}
.field input:focus,.field textarea:focus{background:var(--warm-white);border-color:var(--green)}

.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}

.field__err{
  font-size:.82rem;
  line-height:1.45;
  font-weight:600;
  color:var(--error);
  margin:0;
  display:flex;
  gap:.4rem;
  align-items:flex-start;
}
.field__err[hidden]{display:none}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"]{
  border-color:var(--error);
  background:var(--error-bg);
}
.form__status{
  margin:0 0 1.1rem;
  padding:.85rem 1.1rem;
  border-radius:12px;
  font-size:.9rem;
  font-weight:600;
  color:var(--error);
  background:var(--error-bg);
  border:1px solid var(--error-line);
}
.form__status[hidden]{display:none}

/* consent — required opt-in, sits directly above the submit button */
.consent{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:.2rem .75rem;
  align-items:start;
  margin:0 0 1.4rem;
}
.consent input[type="checkbox"]{
  width:22px;
  height:22px;
  margin:.15rem 0 0;
  accent-color:var(--green);
  cursor:pointer;
}
.consent label{
  font-size:.88rem;
  line-height:1.55;
  color:var(--ink-soft);
  cursor:pointer;
}
/* the error has to clear the checkbox column */
.consent .field__err{grid-column:1 / -1;margin-top:.35rem}
/* border/background styling does not read on a native checkbox — outline does */
.consent input[aria-invalid="true"]{outline:2px solid var(--error);outline-offset:2px}

.privacy{
  margin-top:1.4rem;
  font-size:.82rem;
  line-height:1.6;
  color:var(--khaki-ink);
  display:grid;
  grid-template-columns:18px 1fr;
  gap:.7rem;
  align-items:start;
}
.privacy svg{width:18px;height:18px;margin-top:.28rem;color:var(--sage)}
.privacy b{color:var(--green);font-weight:600}

/* ---------- thank-you / confirm pages ---------- */

.hero--slim{
  text-align:center;
  background:var(--cream);
  color:var(--ink);
  padding-block:clamp(96px,10vw,150px) var(--stack);
  border-radius:0;
}
.hero--slim h1{color:var(--green);margin-bottom:1.1rem}
.hero--slim .lede{margin-inline:auto;max-width:54ch}
.hero--slim .btn{margin-top:2rem}

.seal{
  width:100px;height:100px;
  margin:0 auto 1.8rem;
  border-radius:50%;
  display:grid;place-items:center;
  background:var(--warm-white);
  color:var(--green);
  box-shadow:0 0 0 1px rgba(49,86,72,.16),0 0 0 14px rgba(146,165,132,.24);
}
.seal svg{width:42px;height:42px}

.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,60px);align-items:center;position:relative;z-index:1}
.split--top{align-items:start}

.booking{
  background:var(--warm-white);
  border-radius:clamp(24px,2.6vw,36px);
  padding:clamp(10px,1vw,14px);
  border:1px solid rgba(161,164,140,.3);
  box-shadow:0 40px 80px -60px rgba(28,49,41,.7);
  position:relative;
  z-index:1;
}
.booking__frame{border-radius:clamp(16px,2vw,26px);overflow:hidden;background:var(--cream);min-height:440px;display:grid}
.booking__frame iframe{width:100%;min-height:440px;border:0}
.booking__fallback{display:grid;place-content:center;justify-items:center;gap:1.1rem;text-align:center;padding:3rem 2rem}
.booking__fallback p{color:var(--ink-soft);max-width:36ch;margin:0}
.booking h3{color:var(--green)}

.quotes{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2vw,26px);position:relative;z-index:1}
figure.quote{
  margin:0;
  background:rgba(242,231,223,.55);
  border-left:2px solid var(--terracotta);
  border-radius:0 20px 20px 0;
  padding:clamp(22px,2.4vw,32px);
}
figure.quote blockquote{margin:0 0 1rem;font-size:1.08rem;line-height:1.6;color:var(--green)}
figure.quote figcaption{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--khaki-ink);font-weight:600}

.checklist{list-style:none;margin:0;padding:0;display:grid;gap:1.1rem}
.checklist li{
  display:grid;
  grid-template-columns:26px 1fr;
  gap:1rem;
  align-items:start;
  padding-bottom:1.1rem;
  border-bottom:1px solid rgba(161,164,140,.32);
}
.checklist li:last-child{border-bottom:0;padding-bottom:0}
.checklist svg{width:26px;height:26px;color:var(--terracotta);margin-top:.2rem}
.checklist b{display:block;color:var(--green);font-weight:600;margin-bottom:.15rem;letter-spacing:.02em}
.checklist span{color:var(--ink-soft);font-size:.95rem;line-height:1.6}

.socials{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin-top:1.8rem}
.social{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.72rem 1.4rem;
  border-radius:var(--pill);
  text-decoration:none;
  font-weight:600;
  font-size:.92rem;
  color:var(--on-dark);
  border:1px solid rgba(242,231,223,.55);   /* 4.54:1 — 1.4.11 */
  min-height:44px;
  transition:background-color .25s,transform .25s;
}
.social:hover{background:rgba(198,210,188,.14);transform:translateY(-2px)}
.social svg{width:18px;height:18px}

.sharebar{display:none;gap:.7rem;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:1.5rem}
.js .sharebar{display:flex}
.sharebar code{
  font-family:var(--body);
  font-size:.88rem;
  background:rgba(28,49,41,.34);
  color:var(--on-dark-soft);
  padding:.72rem 1.2rem;
  border-radius:var(--pill);
}

/* ---------- footer ---------- */

.foot{background:var(--dark-green);color:var(--on-dark);padding-block:clamp(48px,6vw,78px) 2.2rem}
.foot__grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:clamp(28px,4vw,56px);
  padding-bottom:2.2rem;
  border-bottom:1px solid rgba(198,210,188,.2);
}
.foot__logo{display:block;width:min(220px,70%);margin-bottom:1.3rem}
.foot h3{color:var(--on-dark);font-size:.74rem;letter-spacing:.2em;margin-bottom:1rem}
.foot a{color:var(--on-dark-soft);text-decoration:none}
.foot a:hover{color:var(--on-dark);text-decoration:underline}
.foot__list{list-style:none;margin:0;padding:0;display:grid;gap:.15rem;color:var(--on-dark-soft);font-size:.94rem}
/* links get padding rather than the list getting gap, so the tap target grows
   while the visual spacing stays where it was */
.foot__list a{display:inline-block;padding:.35rem 0;min-height:24px}
.foot__legal{
  margin-top:2rem;
  font-size:.78rem;
  color:rgba(198,210,188,.7);
  display:flex;
  flex-wrap:wrap;
  gap:.4rem 1.6rem;
  justify-content:space-between;
}
.foot__legal p{margin:0;max-width:64ch}

.foot .lede{font-size:.94rem}

/* the confirmation pages stack their content above the leaf watermark */
.layer{position:relative;z-index:1}
.guide-cover{width:clamp(120px,14vw,164px);margin:0 auto 2rem}
.player--tall{aspect-ratio:16/11}
.band__head--flush{margin-bottom:0}
.share-lead{margin-top:2.8rem}

/* ---------- botanical ambience ---------- */

.frond{position:absolute;pointer-events:none;opacity:.1;z-index:0}
.frond--tr{top:-40px;right:-70px;width:min(340px,42vw);transform:rotate(18deg)}
.frond--bl{bottom:-70px;left:-90px;width:min(320px,40vw);transform:rotate(-160deg)}
/* the live site washes a large leaf into its cream sections */
.watermark{
  position:absolute;
  left:-14vw;
  top:-10vw;
  width:min(820px,80vw);
  opacity:.75;
  pointer-events:none;
  z-index:0;
}

/* ---------- motion ---------- */

/* Scroll-reveal is opt-IN: without the .js flag (set by an inline script in
   <head>) these never hide, so a JS failure can no longer blank the page. */
.js .rise{opacity:0;transform:translateY(20px)}
.is-in .rise,.rise.is-in{
  opacity:1;
  transform:none;
  transition:opacity .8s cubic-bezier(.2,.7,.3,1),transform .8s cubic-bezier(.2,.7,.3,1);
}
.is-in .rise:nth-child(2){transition-delay:.08s}
.is-in .rise:nth-child(3){transition-delay:.16s}
.is-in .rise:nth-child(4){transition-delay:.24s}
.is-in .rise:nth-child(5){transition-delay:.32s}
.is-in .rise:nth-child(6){transition-delay:.4s}

.load-in > *{opacity:0;transform:translateY(24px);animation:rise .9s cubic-bezier(.2,.7,.3,1) forwards}
.load-in > *:nth-child(1){animation-delay:.05s}
.load-in > *:nth-child(2){animation-delay:.14s}
.load-in > *:nth-child(3){animation-delay:.23s}
.load-in > *:nth-child(4){animation-delay:.32s}
.load-in > *:nth-child(5){animation-delay:.41s}
.load-in > *:nth-child(6){animation-delay:.5s}
@keyframes rise{to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  .rise,.load-in > *{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
  .btn:hover,.social:hover{transform:none}
}

/* ---------- responsive ---------- */

@media (max-width:960px){
  :root{--curve-h:8vw}
  .hero__grid{grid-template-columns:1fr;gap:clamp(36px,7vw,52px)}
  .portrait{max-width:420px;margin-inline:auto;width:100%}
  .split{grid-template-columns:1fr}
  .quotes{grid-template-columns:1fr}
  .foot__grid{grid-template-columns:1fr 1fr}
}

@media (max-width:640px){
  :root{--curve-h:10vw}
  .magnet{flex-direction:column;align-items:flex-start;gap:1.2rem}
  .magnet__cover{width:132px}
  /* The number is NOT hidden here any more. Mobile is the one place tel: dials,
     and for a direct-pay practice calling is the highest-intent action on the
     page. Only the "Call us:" label goes; the number keeps a 44px target. */
  .masthead__tel .tel__label{display:none}
  .masthead__tel{
    gap:.4rem;
    min-width:44px;
    padding:.35rem .55rem;
    letter-spacing:.04em;
    font-size:.82rem;
  }
  .masthead__bar{gap:.75rem;padding-inline:clamp(14px,4vw,20px)}
  .field-row{grid-template-columns:1fr;gap:0}
  .hero__cta{flex-direction:column;align-items:stretch}
  .btn{width:100%}
  .foot__grid{grid-template-columns:1fr}
  .foot__legal{flex-direction:column}
}
