/* =============================================================================
   Anne-Marie Watson — Therapeutic Counsellor
   Design system: "Dappled light"
   Cream linen ground · deep forest ink · jade (her shirt) · blush (heart) · sun
   Type: Fraunces (soft axis) for voice, Instrument Sans for everything else.
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --cream:      #F6F1E7;
  --cream-2:    #EDE6D7;
  --paper:      #FCFAF5;
  --ink:        #1F3328;
  --ink-2:      #4B5F54;
  --ink-3:      #7E8C84;
  --line:       rgba(31, 51, 40, .14);
  --line-soft:  rgba(31, 51, 40, .08);

  --green:      #1F8A72;
  --green-deep: #14614F;
  --green-soft: #DCEBE3;
  --green-ink:  #123E33;

  --pink:       #E9B4A8;
  --pink-soft:  #F7E3DC;
  --pink-deep:  #C9887A;

  --sun:        #F3D580;
  --sun-soft:   #FBEFC9;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter:   clamp(20px, 5vw, 64px);
  --measure:  62ch;
  --max:      1240px;
  --radius:   22px;
  --radius-s: 12px;
  --pill:     999px;

  --section:  clamp(72px, 10vw, 150px);
  --section-s: clamp(48px, 6vw, 96px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .28s;
  --t-med:  .5s;

  --header-h: 84px;
}

/* ---------- Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--cream);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
body.menu-open { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
::selection { background: var(--green-soft); color: var(--green-ink); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--cream);
  border-radius: var(--pill); font-weight: 600;
}
.skip:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Prose links */
.prose a, .link {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: rgba(20, 97, 79, .4);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.prose a:hover, .link:hover { color: var(--green); text-decoration-color: var(--green); }

/* ---------- Type --------------------------------------------------------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  letter-spacing: -.012em;
  line-height: 1.04;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: 1.0; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin: 0 0 .5em; }

em, .em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
h1 em, h2 em, h3 em, .display em { color: var(--green-deep); }

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep); margin: 0 0 1.4em; line-height: 1.5;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
  background: var(--green); flex: none; margin-top: .3em;
}
.eyebrow--pink::before { background: var(--pink); }
.eyebrow--sun::before  { background: var(--sun); }

.lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.42;
  letter-spacing: -.005em;
  color: var(--ink);
  font-variation-settings: "SOFT" 60;
}
.lede em { font-variation-settings: "SOFT" 100, "WONK" 1; }
.small { font-size: .9rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.prose { max-width: var(--measure); }
.prose p { color: var(--ink-2); }
.prose p.lede, .prose .lede { color: var(--ink); }
.prose h3 { margin-top: 1.6em; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; }
.prose li { position: relative; padding-left: 1.4em; color: var(--ink-2); margin-bottom: .45em; }
.prose li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px;
  border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%; background: var(--green);
}

/* ---------- Layout ------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: var(--section-s); }
.section--flush-top { padding-top: 0; }
.section--cream2 { background: var(--cream-2); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .prose p, .section--ink .muted { color: rgba(246, 241, 231, .78); }
.section--ink h1 em, .section--ink h2 em { color: var(--sun); }
.section--ink .eyebrow { color: var(--sun); }
.section--ink .eyebrow::before { background: var(--sun); }

.grid { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
.grid > * { min-width: 0; }
@media (min-width: 880px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--5-7 { grid-template-columns: 5fr 7fr; }
  .grid--7-5 { grid-template-columns: 7fr 5fr; }
  .grid--start { align-items: start; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) and (max-width: 879px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.stack > * + * { margin-top: var(--stack, 1.2rem); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

/* ---------- Dappled light (ambient background) --------------------------- */
.dapple {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.dapple span {
  position: absolute; border-radius: 50%; will-change: transform;
  opacity: .9;
}
.dapple .d1 {
  width: 62vmax; height: 62vmax; left: -18vmax; top: -22vmax;
  background: radial-gradient(closest-side, rgba(243, 213, 128, .30), rgba(243, 213, 128, 0));
}
.dapple .d2 {
  width: 56vmax; height: 56vmax; right: -20vmax; top: 6vmax;
  background: radial-gradient(closest-side, rgba(31, 138, 114, .16), rgba(31, 138, 114, 0));
}
.dapple .d3 {
  width: 50vmax; height: 50vmax; left: 24vmax; bottom: -26vmax;
  background: radial-gradient(closest-side, rgba(233, 180, 168, .26), rgba(233, 180, 168, 0));
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-hover: var(--green-deep);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.55em .95em 1.7em;
  border-radius: var(--pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; line-height: 1; letter-spacing: .005em;
  border: 1.5px solid transparent;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.btn .arrow { width: 16px; height: 16px; flex: none; overflow: hidden; position: relative; }
.btn .arrow svg { width: 16px; height: 16px; position: absolute; left: 0; top: 0; transition: transform .45s var(--ease-out); }
.btn .arrow svg + svg { transform: translateX(-140%); }
.btn:hover { background: var(--btn-hover); }
.btn:hover .arrow svg { transform: translateX(140%); }
.btn:hover .arrow svg + svg { transform: translateX(0); }
.btn:active { transform: scale(.985); }

.btn--green { --btn-bg: var(--green); --btn-fg: #fff; --btn-hover: var(--green-deep); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-hover: var(--paper);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-hover: #fff; }
.btn--sm { padding: .75em 1.2em .75em 1.35em; font-size: .88rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 2rem; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: transform .45s var(--ease-out), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 241, 231, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .4s;
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { transform: none; }
body.menu-open .site-header::before { opacity: 0; }

.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  letter-spacing: -.01em; font-variation-settings: "SOFT" 60;
}
.brand__role { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; font-weight: 600; }

.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 880px) { .nav { display: flex; } }
.nav__link {
  position: relative; font-weight: 500; font-size: .95rem; padding: 6px 0; color: var(--ink);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--green); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--green-deep); }
.nav .btn { margin-left: 8px; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 4px 10px 14px;
  font-weight: 600; font-size: .9rem; z-index: 120; position: relative;
}
@media (min-width: 880px) { .menu-toggle { display: none; } }
.menu-toggle__lines { width: 26px; height: 16px; position: relative; }
.menu-toggle__lines span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .45s var(--ease-out), opacity .3s, top .45s var(--ease-out);
}
.menu-toggle__lines span:nth-child(1) { top: 0; }
.menu-toggle__lines span:nth-child(2) { top: 7px; }
.menu-toggle__lines span:nth-child(3) { top: 14px; }
body.menu-open .menu-toggle__lines span:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.menu-open .menu-toggle__lines span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .menu-toggle__lines span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.menu-toggle__label span:last-child { display: none; }
body.menu-open .menu-toggle__label span:first-child { display: none; }
body.menu-open .menu-toggle__label span:last-child { display: inline; }

/* Mobile menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  visibility: hidden; pointer-events: none;
  clip-path: inset(0 0 100% 0 round 0 0 40px 40px);
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 6px; margin-bottom: auto; padding-top: 4vh; }
.menu__link {
  font-family: var(--font-display); font-size: clamp(2.4rem, 9vw, 3.6rem); line-height: 1.1;
  font-variation-settings: "SOFT" 80; letter-spacing: -.015em; padding: 6px 0;
  display: flex; align-items: baseline; gap: 16px;
}
.menu__link small { font-family: var(--font-body); font-size: .75rem; letter-spacing: .12em; color: var(--green-deep); font-weight: 600; }
.menu__link[aria-current="page"] { color: var(--green-deep); }
.menu__foot { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.menu__foot .small { max-width: 34ch; }
.menu__leaf {
  position: absolute; right: -14%; top: 46%; width: 48%;
  aspect-ratio: 1;
  opacity: .38; pointer-events: none; border-radius: 50%; overflow: hidden;
  z-index: 0;
}
.menu__leaf img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.menu__links, .menu__foot { position: relative; z-index: 1; }
@media (max-width: 480px) {
  .menu__leaf { width: 55%; right: -18%; top: 48%; }
}
.menu__link, .menu__foot > * { opacity: 0; transform: translateY(24px); }

/* ---------- Pebble image mask ------------------------------------------ */
.pebble {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--pebble-r, 62% 55% 60% 58% / 58% 62% 55% 60%);
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--sun-soft) 100%);
  transform: translateZ(0);
}
.pebble picture, .band__bg picture { display: block; width: 100%; height: 100%; }
.pebble img { width: 100%; height: 100%; object-fit: cover; }
.pebble--portrait { aspect-ratio: 4 / 5; }
.pebble--tall { aspect-ratio: 3 / 4; }
.pebble--wide { aspect-ratio: 3 / 2; }
.pebble--square { aspect-ratio: 1; }
.pebble--r2 { --pebble-r: 55% 62% 58% 60% / 62% 55% 60% 58%; }
.pebble--r3 { --pebble-r: 60% 58% 62% 55% / 55% 60% 58% 62%; }
.pebble--soft { --pebble-r: var(--radius); }

.img-reveal { overflow: hidden; }
.img-reveal img { transform: scale(1.12); }

/* Defensive: parallax on a pebble would translate the image inside the oval
   mask, exposing the pebble's own background as a flat edge. Oversize the
   image so any translation stays within the mask. Uses the CSS `scale`
   property (independent of `transform` in modern browsers), so it composes
   cleanly with GSAP's transform-based translation. */
.pebble[data-parallax] img { scale: 1.22; }

/* Floating badge on hero image */
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: var(--paper); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: 0 18px 40px -18px rgba(31, 51, 40, .35), 0 1px 0 var(--line-soft);
  font-size: .82rem; line-height: 1.3; max-width: 260px;
}
.float-card img { width: 64px; height: auto; flex: none; }
.float-card strong { display: block; font-size: .84rem; }
.float-card span { color: var(--ink-2); }

/* ---------- Hero ----------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(28px, 6vw, 80px));
  padding-bottom: clamp(48px, 7vw, 110px);
}
.hero__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
}
.hero h1 { margin-bottom: .55em; }
.hero .lede { max-width: 30em; }
.hero__media { position: relative; }
.hero__media .pebble { width: min(100%, 560px); margin-inline: auto; }
.hero__media .float-card { left: clamp(-8px, -2vw, -28px); bottom: 8%; }
@media (max-width: 879px) {
  .hero__media { order: -1; }
  .hero__media .pebble { width: min(100%, 420px); }
  .hero__media .float-card { left: 0; bottom: 4%; }
}

/* Hero: split text reveal masks */
.split-line { overflow: hidden; display: block; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; }

/* Sub-page hero (page-hero) */
.page-hero { padding-top: calc(var(--header-h) + clamp(32px, 7vw, 96px)); padding-bottom: clamp(36px, 5vw, 72px); }
.page-hero h1 { max-width: 14em; }
.page-hero .lede { max-width: 32em; }

/* ---------- Facts strip -------------------------------------------------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: 1fr; }
.facts__item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line-soft); }
.facts__item:first-child { border-top: 0; }
.facts__icon { width: 40px; height: 40px; flex: none; border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%; background: var(--green-soft); display: grid; place-items: center; color: var(--green-deep); }
.facts__icon svg { width: 20px; height: 20px; }
.facts__item strong { display: block; font-weight: 600; margin-bottom: 2px; }
.facts__item span { color: var(--ink-2); font-size: .92rem; }
@media (min-width: 720px) {
  .facts__list { grid-template-columns: repeat(3, 1fr); }
  .facts__item { border-top: 0; border-left: 1px solid var(--line-soft); padding: 28px 28px; }
  .facts__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Chips (what people bring) ------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; padding: .6em 1.05em;
  border-radius: var(--pill); border: 1px solid var(--line);
  background: var(--paper); font-size: .95rem; color: var(--ink);
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
}
.chip:hover { background: var(--green-soft); border-color: transparent; }
.chips--soft .chip:nth-child(3n) { background: var(--pink-soft); border-color: transparent; }
.chips--soft .chip:nth-child(4n+1) { background: var(--sun-soft); border-color: transparent; }

/* ---------- Band (full-bleed image with quote) --------------------------- */
.band {
  position: relative; overflow: hidden; color: var(--cream);
  padding-block: clamp(96px, 16vw, 220px);
  isolation: isolate;
}
.band__bg { position: absolute; inset: -18% 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 35, 27, .55), rgba(20, 35, 27, .35) 50%, rgba(20, 35, 27, .62));
}
.band .display {
  font-size: clamp(1.75rem, 4vw, 3.3rem); line-height: 1.15; max-width: 22em; margin: 0 auto;
  text-align: center; font-weight: 300; font-variation-settings: "SOFT" 100;
}
.band .display em { color: var(--sun); }
.band__by { display: block; text-align: center; margin-top: 1.6em; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 241, 231, .8); font-weight: 600; }

/* ---------- Steps -------------------------------------------------------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: clamp(24px, 3vw, 36px);
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 14px;
}
.step__num {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--green);
  font-variation-settings: "SOFT" 100; font-weight: 300;
}
.step h3 { margin: 0; font-size: 1.35rem; }
.step p { color: var(--ink-2); font-size: .97rem; }
.step__tag { display: inline-block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--green-deep); background: var(--green-soft); padding: 5px 10px; border-radius: var(--pill); align-self: flex-start; }

/* ---------- Fee card ----------------------------------------------------- */
.fee-card {
  background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden;
}
.fee-card::before {
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -30%;
  background: radial-gradient(closest-side, rgba(243, 213, 128, .28), rgba(243, 213, 128, 0));
  pointer-events: none;
}
.fee-card::after {
  content: ""; position: absolute; width: 50%; aspect-ratio: 1; left: -18%; bottom: -30%;
  background: radial-gradient(closest-side, rgba(31, 138, 114, .35), rgba(31, 138, 114, 0));
  pointer-events: none;
}
.fee-card > * { position: relative; z-index: 1; }
.fee-card .eyebrow { color: var(--sun); }
.fee-card .eyebrow::before { background: var(--sun); }
.fee-card__price { font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -.02em; font-variation-settings: "SOFT" 80; font-weight: 300; }
.fee-card__price small { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; color: rgba(246, 241, 231, .75); margin-left: .5em; font-weight: 500; }
.fee-card__list { margin-top: 24px; display: grid; gap: 12px; }
.fee-card__list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(246, 241, 231, .9); font-size: .97rem; }
.fee-card__list svg { width: 20px; height: 20px; flex: none; color: var(--sun); margin-top: 2px; }
.fee-card .btn { margin-top: 28px; }

/* ---------- Definition list / info cards --------------------------------- */
.info-cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
.info-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.info-card h3 { font-size: 1.25rem; margin-bottom: .5em; }
.info-card p { color: var(--ink-2); font-size: .97rem; }
.info-card--tint { background: var(--green-soft); border-color: transparent; }
.info-card--pink { background: var(--pink-soft); border-color: transparent; }
.info-card--sun { background: var(--sun-soft); border-color: transparent; }

/* ---------- Training list ---------------------------------------------- */
.training { display: grid; gap: 28px; }
@media (min-width: 880px) { .training { grid-template-columns: 1fr 1fr; gap: 48px; } }
.badge-card { display: flex; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); padding: 20px 24px; border: 1px solid var(--line-soft); }
.badge-card img { width: 150px; flex: none; }
.badge-card p { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* ---------- CTA section -------------------------------------------------- */
.cta {
  text-align: center; padding-block: var(--section);
}
.cta h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.cta p { max-width: 36em; margin-inline: auto; color: var(--ink-2); }
.cta .actions { justify-content: center; }
.cta__leaf {
  width: min(88vw, 620px); aspect-ratio: 3 / 2; margin: 0 auto clamp(24px, 4vw, 48px);
}

/* ---------- Contact form ------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 600; font-size: .92rem; }
.field label small, .field .label small { font-weight: 500; color: var(--ink-3); margin-left: 6px; white-space: nowrap; }
.field .hint { font-size: .85rem; color: var(--ink-2); margin: -2px 0 0; }
.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 14px 16px; line-height: 1.4;
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31, 138, 114, .15); background: #fff; }
textarea.input { min-height: 170px; resize: vertical; }
.field.is-invalid .input { border-color: var(--pink-deep); box-shadow: 0 0 0 4px rgba(201, 136, 122, .15); }
.field__error { font-size: .85rem; color: var(--pink-deep); display: none; }
.field.is-invalid .field__error { display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.pills span {
  display: inline-flex; padding: .6em 1.05em; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: var(--paper); font-size: .93rem; font-weight: 500;
  transition: background .25s, border-color .25s, color .25s;
}
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pills input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }

.form__foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.form__foot .small { max-width: 34em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__status { display: none; padding: 16px 20px; border-radius: 14px; font-size: .95rem; }
.form__status.is-error { display: block; background: var(--pink-soft); color: #7a3f33; }
.form__success {
  display: none; padding: clamp(28px, 4vw, 44px); background: var(--green-soft); border-radius: var(--radius);
}
.form__success.is-visible { display: block; }
.form__success h3 { font-size: 1.8rem; margin-bottom: .4em; }
.form__success p { color: var(--green-ink); }
.form.is-sent { display: none; }

.aside-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h3 { font-size: 1.2rem; }
.aside-card ol { counter-reset: n; display: grid; gap: 12px; margin-top: 12px; }
.aside-card ol li { position: relative; padding-left: 38px; color: var(--ink-2); font-size: .95rem; }
.aside-card ol li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%;
  background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center;
  font-family: var(--font-display); font-size: .95rem;
}
.aside-card--pink { background: var(--pink-soft); border-color: transparent; }
.aside-card--pink p { color: #6b3e34; font-size: .93rem; }
.aside-card--pink a { color: #6b3e34; text-decoration: underline; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: var(--cream);
  padding: clamp(56px, 7vw, 96px) 0 32px;
  border-radius: 40px 40px 0 0;
}
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.site-footer .brand__name { font-size: 1.6rem; }
.site-footer .brand__role { color: rgba(246, 241, 231, .7); }
.site-footer p { color: rgba(246, 241, 231, .72); font-size: .95rem; max-width: 34em; }
.site-footer h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(246, 241, 231, .85); transition: color .25s; }
.footer-links a:hover { color: #fff; }
.footer-badge { background: #fff; border-radius: 14px; padding: 12px 14px; display: inline-block; }
.footer-badge img { width: 150px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgba(246, 241, 231, .14);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; color: rgba(246, 241, 231, .6);
}
.footer-bottom a { color: rgba(246, 241, 231, .8); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page transitions (Swup) -------------------------------------- */
.veil {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  transform: translateY(101%);
}
.veil::before {
  content: ""; position: absolute; inset: 0; background: var(--cream-2);
  border-radius: 48% 52% 0 0 / 14vh 14vh 0 0;
}
.veil.is-leaving::before { border-radius: 0 0 48% 52% / 0 0 14vh 14vh; }
.veil__mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .02em; color: var(--ink-2);
  opacity: 0;
}
html.is-transitioning { cursor: progress; }
html.is-transitioning main { pointer-events: none; }

/* ---------- Reveal defaults (JS-gated so no-JS still shows content) ------ */
html.js [data-reveal], html.js [data-reveal-group] > * { opacity: 0; }
html.js [data-split] { visibility: hidden; }
html.js [data-split].is-ready { visibility: visible; }
html.js .hero__media .pebble, html.js .page-hero .pebble { opacity: 0; }

/* Fallback: if fonts / JS fail hard, everything still shows after 2.5s */
@keyframes safety { to { opacity: 1; visibility: visible; } }
html.js [data-reveal], html.js [data-reveal-group] > *, html.js [data-split], html.js .hero__media .pebble {
  animation: safety 0s 2.5s forwards;
}

/* ---------- Utilities ---------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.pad-top-header { padding-top: var(--header-h); }

/* Notice for file:// preview */
.file-notice { background: var(--sun-soft); color: #5a4b16; padding: 12px 16px; border-radius: 12px; font-size: .9rem; margin-bottom: 20px; display: none; }
html.is-file .file-notice { display: block; }

/* ---------- Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html.js [data-reveal], html.js [data-reveal-group] > *, html.js [data-split], html.js .hero__media .pebble, html.js .page-hero .pebble { opacity: 1; visibility: visible; }
  .img-reveal img { transform: none; }
}
