/* ==========================================================================
   Leah Fae — leahfae.ca
   Hand-built static site. One stylesheet, driven by design tokens.
   Sections: 1) Tokens  2) Reset/base  3) Type  4) Layout  5) Header/Nav
   6) Footer  7) Buttons  8) Components  9) Page sections  10) Motion/utils
   ========================================================================== */

/* 1) TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand palette (extracted from the original site) */
  --plum:      #3c1e5a;
  --plum-deep: #2c1444;
  --plum-soft: #6a4c8c;
  --plum-tint: #efeaf5;
  --plum-wash: #f7f4fb;

  --ground:    #f5f6f8;   /* page background */
  --surface:   #ffffff;   /* cards / alternating bands */
  --slate:     #2e3a4d;   /* deep neutral for some CTAs */

  --ink:       #2c2833;   /* headings */
  --body:      #4f4a58;   /* body copy */
  --muted:     #857f90;   /* captions, meta */
  --line:      #e7e3ee;   /* hairlines / borders */
  --gold:      #b89b6e;   /* whisper-thin accent */

  /* Typography */
  --font-script: "Amsterdam2", "Brush Script MT", cursive;
  --font-serif:  "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans:   "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: .78rem;
  --fs-body:    clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --fs-lead:    clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-h3:      clamp(1.3rem, 1.15rem + 0.7vw, 1.7rem);
  --fs-h2:      clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
  --fs-h1:      clamp(2.4rem, 1.9rem + 2.6vw, 3.9rem);
  --fs-display: clamp(3.2rem, 2.2rem + 5vw, 6.5rem);

  /* Spacing / layout */
  --container: 1120px;
  --measure: 66ch;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 8vw, 8rem);
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(44, 20, 68, .06);
  --shadow-md: 0 18px 45px -20px rgba(44, 20, 68, .28);
  --shadow-lg: 0 30px 70px -30px rgba(44, 20, 68, .40);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2) RESET / BASE --------------------------------------------------------- */
*, *::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;
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--body);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--plum-deep); }

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--plum-tint); color: var(--plum-deep); }

/* Self-hosted fonts */
@font-face {
  font-family: "Amsterdam2";
  src: url("../fonts/Amsterdam2.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* EB Garamond and Montserrat: variable-weight Latin subsets from Google Fonts (OFL). */
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/EBGaramond.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/EBGaramond-Italic.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 3) TYPOGRAPHY ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
/* Balance multi-line headings and pull-quotes; avoids single-word orphan lines. */
h1, h2, h3, .pull { text-wrap: balance; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin: 0 0 1.1rem;
  display: block;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--plum);
  line-height: 1;
  letter-spacing: .01em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.9;
  color: var(--body);
}

.measure { max-width: var(--measure); }
.center { text-align: center; }
.center .measure,
.center .lead { margin-left: auto; margin-right: auto; }

/* Decorative hairline divider with a centered diamond */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  color: var(--plum-soft);
  margin: 1.6rem 0;
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  width: min(72px, 12vw);
  background: linear-gradient(90deg, transparent, var(--line));
}
.rule::after { background: linear-gradient(90deg, var(--line), transparent); }
.rule span { font-size: .7rem; }

/* 4) LAYOUT --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--plum-wash); }
.section--surface { background: var(--surface); }
.section--plum {
  background: linear-gradient(160deg, var(--plum-deep), var(--plum));
  color: #efe9f4;
}
.section--plum h1, .section--plum h2, .section--plum h3 { color: #fff; }
.section--plum .eyebrow { color: #c8b4e0; }
.section--plum .lead { color: #e4d9ef; }

.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }

/* generic responsive two-column split */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
}

/* 5) HEADER / NAV --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--plum);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: .85rem;
  z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 248, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(44, 20, 68, .5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  /* Amsterdam2's ink extends ~1.68em above the baseline and ~0.65em below it, so
     "Leah Fae" at 2rem paints ~75px tall — nearly the whole header. 92px leaves
     ~9px of clearance above and below the ink; at 80px the descenders came within
     1.5px of the scrolled header's bottom border and read as touching it. */
  min-height: 92px;
}
.brand {
  font-family: var(--font-script);
  font-size: 2rem;
  line-height: 1;
  color: var(--plum);
  /* No padding: the flex centring above already balances the ink top-to-bottom. */
  white-space: nowrap;
}
.brand:hover { color: var(--plum-deep); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.site-nav a,
.nav-group__toggle {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: .4rem;
  white-space: nowrap;
}
.site-nav a::after,
.nav-group__toggle::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible,
.nav-group__toggle:hover, .nav-group__toggle:focus-visible { color: var(--plum); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.nav-group:hover .nav-group__toggle::after,
.nav-group.is-open .nav-group__toggle::after,
.nav-group__toggle.is-current::after { transform: scaleX(1); }
.site-nav a[aria-current="page"],
.nav-group__toggle.is-current { color: var(--plum); }

/* Dropdown group ("Soul Medicine Offerings"). Opens on hover, keyboard focus,
   or click (.is-open, set in main.js); in the mobile drawer it is always expanded. */
.nav-group { position: relative; }
.nav-group__toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-inline: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.nav-group__toggle::before {
  content: "";
  order: 2;
  width: .42em; height: .42em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.15em) rotate(45deg);
}
.nav-sub {
  position: absolute;
  top: 100%; left: 50%;
  display: grid;
  min-width: 100%;
  margin-top: .7rem;
  padding: .6rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
/* Bridges the gap between the toggle and the panel so hover isn't lost crossing it. */
.nav-sub::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  height: .8rem;
}
.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub,
.nav-group.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.site-nav .nav-sub a { padding: .65rem 1.4rem; }
.site-nav .nav-sub a::after { display: none; }
.site-nav .nav-sub a:hover { background: var(--plum-wash); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  margin-inline: auto;
  background: var(--plum);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 16, 46, .38);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
  z-index: 105;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(84vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1.75rem;
    background: var(--surface);
    box-shadow: -20px 0 60px -30px rgba(44, 20, 68, .6);
    transform: translateX(100%);
    /* visibility keeps the closed drawer out of the focus order and off the
       scrollable-overflow area; it transitions discretely, so the panel stays
       painted for the full slide-out. */
    visibility: hidden;
    transition: transform .38s var(--ease), visibility .38s;
    z-index: 110;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a, .nav-group__toggle { font-size: .98rem; letter-spacing: .1em; }
  .site-nav a::after, .nav-group__toggle::after { display: none; }
  /* Drawer: the group becomes a plain label with its links listed beneath it. */
  .nav-group__toggle { pointer-events: none; color: var(--muted); }
  .nav-group__toggle::before { display: none; }
  .nav-sub {
    position: static;
    min-width: 0;
    gap: 1.1rem;
    margin: 1.1rem 0 0;
    padding: 0 0 0 1.1rem;
    background: none;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: inherit;
    transform: none;
    transition: none;
  }
  /* The desktop open-state rule out-specifies the reset above and would shift
     the list left by half its width on hover/focus. */
  .nav-group:hover .nav-sub,
  .nav-group:focus-within .nav-sub,
  .nav-group.is-open .nav-sub { transform: none; }
  .nav-sub::before { display: none; }
  .site-nav .nav-sub a { padding: 0; }
  .site-nav .nav-sub a:hover { background: none; }
}

/* 6) FOOTER --------------------------------------------------------------- */
.signup {
  background: linear-gradient(160deg, var(--plum-deep), var(--plum));
  color: #ece4f4;
  text-align: center;
  /* Separates the band when it directly follows another plum section. */
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.signup h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.signup p { color: #d9cbe8; max-width: 46ch; margin-inline: auto; margin-bottom: 1.8rem; }

.site-footer {
  background: var(--plum-deep);
  color: #cdbfdd;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-family: var(--font-sans);
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}
.footer-word {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: #fff;
  line-height: 1;
  /* Room for the script's ~0.65em descender tails so they don't cross the tagline. */
  margin-bottom: 2.1rem;
}
.footer-tag {
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #a892c4;
}
.footer-connect h3 {
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #a892c4;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-connect a { color: #e4d9ef; }
.footer-connect a:hover { color: #fff; }
.footer-email { display: inline-block; margin-bottom: 1.2rem; }
.social {
  display: flex;
  gap: .8rem;
}
.social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: #e4d9ef;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.social a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; fill: currentColor; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: #9d86bb;
}

/* 7) BUTTONS -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--plum);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  padding: 1rem 2rem;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  box-shadow: 0 12px 30px -14px rgba(60, 30, 90, .55);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -14px rgba(60, 30, 90, .6);
  background: var(--plum-deep);
  border-color: var(--plum-deep);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--plum);
  border-color: var(--plum);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--plum); --btn-fg: #fff; color: #fff; }
.btn--on-plum {
  --btn-bg: #fff;
  --btn-fg: var(--plum-deep);
  border-color: #fff;
}
.btn--on-plum:hover { background: var(--plum-tint); border-color: var(--plum-tint); color: var(--plum-deep); }
/* Secondary CTA on plum bands: transparent with a light outline, so it reads
   as secondary next to the solid white primary. */
.btn--ghost.btn--on-plum {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .55);
  box-shadow: none;
}
.btn--ghost.btn--on-plum:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  color: #fff;
}

.textlink {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.textlink::after { content: "→"; transition: transform .25s var(--ease); }
.textlink:hover::after { transform: translateX(4px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.center .cta-row { justify-content: center; }

/* 8) COMPONENTS ----------------------------------------------------------- */
/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 7rem) var(--section-y);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 0 auto;
  height: 70%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(106,76,140,.14), transparent 70%);
  pointer-events: none;
}
.hero__logo { width: min(300px, 62vw); margin: 0 auto 2rem; }
.hero h1 { max-width: 20ch; margin-inline: auto; padding-bottom: .15em; }
.hero .lead { max-width: 54ch; margin: 1.3rem auto 0; }
.hero .cta-row { justify-content: center; }

.page-hero {
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
  position: relative;
}
/* line-height 1.24 keeps wrapped script lines from colliding; padding-bottom .6em
   clears Amsterdam2's ~0.65em descender tails so they never cross the text below. */
.page-hero .script { display: block; font-size: var(--fs-display); line-height: 1.24; padding-bottom: .6em; margin-bottom: .9rem; }
.page-hero h1 { max-width: 20ch; margin-inline: auto; }
.page-hero .script + h1 { margin-top: 0; }
/* Page titles set in the display script are real h1s; undo the generic h1 spacing and width. */
.page-hero h1.script { max-width: none; word-spacing: normal; margin-top: 0; }

/* Headings use the brand script (Amsterdam2); h3 and long mailing-list bands stay serif for legibility. */
h1, h2 {
  font-family: var(--font-script);
  color: var(--plum);
  font-weight: 400;
  letter-spacing: .07em;
  word-spacing: .55em;
  line-height: 1.9;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: calc(var(--fs-h2) * 1.15); }
.h--serif { color: var(--ink); }
.signup h2, .h--serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  word-spacing: normal;
  line-height: 1.15;
  font-size: var(--fs-h2);
}

/* Feature grid (3-up pillars) */
.grid-3 {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
/* :not(.price) — a .price inside a card must keep its own display size. */
.card p:not(.price) { color: var(--body); font-size: 1.05rem; margin-bottom: 0; }
.card__num {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--plum-soft);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
}
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--plum-tint);
  color: var(--plum);
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* Media frame for photos */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
/* For portraits cropped by the frame: bias the crop upward to keep the head in view. */
.media-frame img.focus-top { object-position: 50% 25%; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 3 / 2; }
.media-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(60,30,90,.10));
  pointer-events: none;
}
.media-frame--round { border-radius: var(--radius-lg); }

/* Process steps — plain text blocks divided by hairlines, no cards */
.steps { max-width: none; }
.step { padding-block: clamp(1.8rem, 4vw, 2.8rem); border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step:last-child { padding-bottom: 0; }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--body); }
.step .note {
  display: block;
  font-style: italic;
  color: var(--plum-soft);
  margin-top: 1rem;
  font-size: 1.05rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.tag {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--plum-tint);
  border-radius: 999px;
  padding: .45rem .9rem;
}

/* Quote / testimonial */
.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 42ch;
  margin: 0 auto; /* also clears the UA blockquote margins */
  position: relative;
}
.quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-top: 1.4rem;
}
.quote-mark {
  /* Serif, not script — Amsterdam2's quote glyph is nearly invisible at any size. */
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 4.5rem;
  color: var(--plum-soft);
  opacity: .45;
  line-height: .6;
  display: block;
  margin-bottom: .5rem;
}
.section--plum .quote, .section--plum .quote cite { color: #fff; }
.section--plum .quote cite { color: #c8b4e0; }
.section--plum .quote-mark { color: rgba(255,255,255,.16); }

/* Testimonial masonry-ish grid */
.testimonials {
  columns: 1;
  column-gap: 1.5rem;
}
@media (min-width: 680px) { .testimonials { columns: 2; } }
@media (min-width: 1000px) { .testimonials { columns: 3; } }
.tcard {
  break-inside: avoid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin: 0 0 1.5rem; /* zero out the UA figure margin (1em 40px) */
  box-shadow: var(--shadow-sm);
}
.tcard p {
  font-style: italic;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.65;
}
.tcard cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-top: 1rem;
}
.tcard--feature {
  background: linear-gradient(160deg, var(--plum), var(--plum-deep));
  border-color: transparent;
}
.tcard--feature p { color: #fff; }
.tcard--feature cite { color: #d3bfe9; }

/* Pricing / investment card */
.invest {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 4vw, 3.2rem);
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.invest h3 { font-size: var(--fs-h3); }
.invest ul {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.invest li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
  color: var(--body);
}
.invest li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--plum-soft);
}
.price {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
  color: var(--plum);
  line-height: 1;
  margin: .3rem 0;
}
.price small {
  display: block;
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .6rem;
}
.price del { color: var(--muted); font-size: .5em; }

/* Pull line — poetic emphasis */
.pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.5;
  color: var(--plum);
  text-align: center;
  max-width: 28ch;
  margin: clamp(2rem, 5vw, 3.5rem) auto;
}

/* Prose blocks (about / long copy) */
.prose p { max-width: var(--measure); }
.prose .center p, .prose.center p { margin-inline: auto; }
.prose h3 { margin-top: 2.2rem; }

/* Credentials list */
.creds {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: .7rem;
  max-width: var(--measure);
}
.creds li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--body);
  font-size: 1.02rem;
}
.creds li::before {
  content: "◆";
  position: absolute; left: 0;
  color: var(--plum-soft);
  font-size: .7rem;
  top: .4em;
}

/* Contact form */
.form {
  display: grid;
  gap: 1.2rem;
}
.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--font-sans);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field label .req { color: var(--plum-soft); }
.field input, .field textarea {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--plum-soft);
  box-shadow: 0 0 0 3px var(--plum-tint);
}
.form-note { font-size: .85rem; color: var(--muted); }

/* zcal embed wrapper */
.embed {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(.5rem, 1.5vw, 1rem);
  overflow: hidden;
}
.zcal-inline-widget { min-height: 56px; }
.zcal-inline-widget > a {
  display: block;
  text-align: center;
  padding: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--plum);
}

/* Info list (contact details) */
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; stroke: var(--plum); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: .2rem; }

/* 10) MOTION / UTILITIES -------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.stack > * + * { margin-top: 1.15em; }
.mt-0 { margin-top: 0; }
.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;
}

/* Home: standalone call-to-action band + Insight Timer widget */
.section--cta { padding-block: clamp(2.2rem, 4vw, 3rem); }
.section--cta .cta-row { justify-content: center; margin-top: 0; }
.insight-embed { margin-top: 2rem; }
.insight-embed iframe { display: block; border: 0; }

/* Testimonials page: one full-width band per testimonial, alternating plum / white */
.tline { padding-block: clamp(3rem, 6vw, 4.5rem); }
.tline--plum { background: linear-gradient(160deg, var(--plum-deep), var(--plum)); }
.tline--white { background: var(--surface); }
.tline__fig { margin: 0; text-align: center; }
.tline__fig p {
  font-style: italic;
  font-size: clamp(1.15rem, 1.02rem + .6vw, 1.45rem);
  line-height: 1.65;
  color: var(--ink);
}
.tline__fig cite {
  display: block;
  font-style: normal;
  font-family: var(--font-script);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem);
  line-height: 1.3;
  padding-bottom: .4em;
  color: var(--plum);
  margin-top: 3.2rem;
}
.tline--plum .tline__fig p { color: #fff; }
.tline--plum .tline__fig cite { color: #d3bfe9; }

/* Soul Medicine page */
.subhead {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 30ch;
  margin: 0 auto;
  text-wrap: balance;
}
.step-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.step-section .step { border-top: 0; padding-block: 0; }
.step { text-align: center; }
.step p { font-size: 1.15rem; line-height: 1.7; max-width: 82ch; margin-inline: auto; }
.step p + p { margin-top: 1.15em; }
/* Emphasis lines: bold italic plum text, no background */
.pop { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.pop p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.35;
  color: var(--plum);
  margin: 0 auto;
  max-width: 30ch;
  text-wrap: balance;
}
.pop p + p { margin-top: .5em; }
.pop--long p { max-width: 34ch; font-size: clamp(1.2rem, 1.05rem + .8vw, 1.65rem); }

/* Signed quotes (Client Reflections): script signature, like the testimonials page */
.quote.quote--signed cite {
  font-family: var(--font-script);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem);
  letter-spacing: .03em;
  line-height: 1.3;
  text-transform: none;
  padding-bottom: .4em;
  margin-top: 3.2rem;
  color: var(--plum);
}
.section--plum .quote.quote--signed cite { color: #d3bfe9; }

/* Soul Medicine page: sections span the full container, matching "A Note from Leah Fae" */
.page-soul main .container--narrow { max-width: var(--container); }
.page-soul .section-head,
.page-soul .subhead { max-width: none; }
.page-soul .container--narrow .prose p { max-width: none; }
.page-soul .step p { max-width: 100ch; }
.page-soul .pop p,
.page-soul .pop--long p { max-width: 60ch; }
.page-soul .quote { max-width: 64ch; }
.page-soul .invest { max-width: none; }

/* Embodied Soul Yoga page */
/* Session options: three price cards */
.session { text-align: center; }
.session .price { margin: .6rem 0 1.1rem; }
.session .price small { margin-top: .7rem; }

/* FAQ: native disclosure rows divided by hairlines */
.faq { max-width: 860px; margin-inline: auto; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.3rem;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--plum-soft);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--plum); }
.faq__answer { padding-bottom: 1.5rem; max-width: 70ch; }

/* Home: the two Soul Medicine offerings, side by side */
.offer { display: flex; flex-direction: column; text-align: center; }
.offer .cta-row { justify-content: center; margin-top: auto; padding-top: 1.8rem; }

/* Sacred Forest Play page */
.sfp-hero { max-width: 800px; margin-inline: auto; aspect-ratio: 4 / 3; }
.sfp-word { margin-top: clamp(2rem, 4vw, 3rem); }
.sfp-word h2 { margin-bottom: .3em; }
.sfp-elements {
  display: grid;
  gap: clamp(.8rem, 2vw, 1.5rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 820px) { .sfp-elements { grid-template-columns: repeat(4, 1fr); } }
.sfp-elements .media-frame { aspect-ratio: 1; }
.field-row { display: grid; gap: 1.2rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
