/* ============================================================
   Mental Matriarch — stylesheet
   ------------------------------------------------------------
   Contents
     1.  Palette & design tokens (:root)
     2.  Reset & base
     3.  Accessibility helpers (skip link, focus styles)
     4.  Layout helpers
     5.  Header & navigation
     6.  Hero
     7.  About + the photo drop-in slot
     8.  Footer
     9.  Decorative SVG motifs
     10. Responsive breakpoints
     11. Reduced motion & print
     12. Page headers & prose
     13. Panels: boundary note, paid note, crisis block
     14. Cards & service blocks
     15. Credentials (training / experience / publications)
     16. Signposting link lists
     17. Products (ebooks) & empty states
     18. Contact form
     19. Blog
   ============================================================ */


/* ------------------------------------------------------------
   1. PALETTE & DESIGN TOKENS

   Sampled directly from Cassandra's branded slides:
     background pink  rgb(229,185,182)  #E5B9B6
     brand sage       rgb(119,145,124)  #77917C

   The brand sage on the brand pink is only about 1.95:1 contrast,
   which is well below the WCAG AA minimum of 4.5:1 for body text.
   So the sage is kept for DECORATION ONLY, and darker versions of
   the same hue are used for text. Measured contrast ratios:

     --ink       on --pink   6.5:1   (AA + AAA for large)  body copy
     --ink       on --card   8.5:1   (AAA)                 body copy
     --sage-deep on --pink   4.4:1   (large display headings)
     --sage-deep on --card   5.7:1   (AA all sizes)
     --rose-deep on --pink   4.9:1   (AA)                  links
   ------------------------------------------------------------ */
:root {
  /* Pinks */
  --pink:        #E5B9B6;   /* exact brand background */
  --pink-deep:   #D9A5A1;   /* bands, borders */
  --pink-pale:   #F1D6D3;
  --blush-pale:  #F8ECEA;
  --cream:       #FDF7F4;

  /* Greens */
  --sage:        #77917C;   /* exact brand sage — decoration only */
  --sage-soft:   #9CB09F;
  --sage-deep:   #3F5A46;   /* display headings */
  --sage-darker: #2F4536;

  /* Text */
  --ink:         #2E3D33;   /* body copy */
  --ink-soft:    #4A5A4F;
  --rose-deep:   #6E3F3C;   /* links / accents */

  /* Surfaces */
  --card:        rgba(253, 247, 244, 0.55);
  --card-solid:  #F6E4E1;

  /* Type */
  --font-script: "Caveat", "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive;
  --font-body:   "Nunito", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
                 "Helvetica Neue", Arial, sans-serif;

  /* Spacing & shape */
  --wrap:        1120px;
  --gutter:      clamp(1rem, 4vw, 2.5rem);
  --radius:      18px;
  --radius-lg:   28px;

  --shadow-soft: 0 10px 30px rgba(88, 58, 56, 0.13);
  --shadow-card: 0 4px 18px rgba(88, 58, 56, 0.10);
}


/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* stops the fixed-ish header covering anchor targets */
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--pink);
  /* a soft wash so the flat pink has a little depth */
  background-image:
    radial-gradient(ellipse 80% 55% at 50% 0%,   rgba(253, 247, 244, 0.55), transparent 70%),
    radial-gradient(ellipse 70% 50% at 10% 100%, rgba(253, 247, 244, 0.30), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--sage-deep);
  line-height: 1.1;
  margin: 0 0 0.5em;
  /* Caveat is a light-looking script; a whisper of stroke helps it
     hold its weight against the pink without muddying the colour */
  letter-spacing: 0.01em;
}

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rose-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--sage-darker); }

ul { margin: 0; padding: 0; }


/* ------------------------------------------------------------
   3. ACCESSIBILITY HELPERS
   ------------------------------------------------------------ */

/* Skip link — hidden until focused by keyboard */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  padding: 0.7rem 1.25rem;
  background: var(--sage-darker);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 3px solid var(--cream);
  outline-offset: -6px;
}

/* One clear, high-contrast focus ring everywhere */
:focus-visible {
  outline: 3px solid var(--sage-darker);
  outline-offset: 3px;
  border-radius: 4px;
}

/* The SVG motif library. Kept in the flow but invisible and
   unselectable — `display:none` can stop <use> resolving in
   some browsers, so it is hidden by size instead. */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}


/* ------------------------------------------------------------
   4. LAYOUT HELPERS
   ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


/* ------------------------------------------------------------
   5. HEADER & NAVIGATION
   ------------------------------------------------------------ */
.site-header {
  position: relative;
  z-index: 5;
  padding-block: 1rem;
  background: rgba(253, 247, 244, 0.42);
  border-bottom: 1px solid rgba(119, 145, 124, 0.28);
  backdrop-filter: blur(4px);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--sage-deep);
}
.brand__mark {
  width: 54px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 2px 5px rgba(88, 58, 56, 0.18));
}
.brand__name {
  font-family: var(--font-script);
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.brand:hover .brand__name { color: var(--sage-darker); }

.site-nav {
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--sage-deep);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.site-nav a:hover {
  background: rgba(253, 247, 244, 0.85);
  color: var(--sage-darker);
}

.translate {
  position: relative;
}
.translate summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--sage-deep);
  font-weight: 700;
}
.translate summary::-webkit-details-marker { display: none; }
.translate summary::marker { content: ""; }
.translate summary:hover {
  background: rgba(253, 247, 244, 0.85);
  color: var(--sage-darker);
}
.translate[open] summary {
  background: rgba(253, 247, 244, 0.9);
  color: var(--sage-darker);
  box-shadow: inset 0 -2px 0 var(--sage-deep);
}
.translate__panel {
  position: absolute;
  right: 0;
  z-index: 30;
  width: min(22rem, calc(100vw - 2rem));
  margin-top: 0.35rem;
  padding: 1rem 1.15rem;
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--sage-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.translate__panel p {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}
.translate__list {
  list-style: none;
  margin: 0 0 0.7rem;
  padding: 0;
}
.translate__list a {
  display: block;
  padding: 0.35rem 0;
  font-weight: 700;
}
.translate__fallback {
  margin: 0;
  font-size: 0.92rem;
}


/* ------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /* --ink rather than --ink-soft: this text is small, so it needs the
     full 4.5:1 contrast ratio (--ink-soft only reaches about 4.2:1) */
  color: var(--ink);
}

.hero__title {
  font-size: clamp(3.1rem, 12vw, 5.75rem);
  margin-bottom: 0.35em;
}

.hero__lede {
  max-width: 52ch;
  font-size: 1.06em;
}

.hero__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  background: var(--sage-darker);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: background-color 170ms ease, transform 170ms ease, color 170ms ease;
}
.btn:hover {
  background: var(--sage-deep);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--sage-darker);
  box-shadow: none;
  border: 2px solid var(--sage-darker);
}
.btn--ghost:hover {
  background: var(--sage-darker);
  color: var(--cream);
}

.hero__logo { justify-self: center; }
.hero__logo img {
  width: min(86vw, 400px);
  filter: drop-shadow(0 14px 34px rgba(88, 58, 56, 0.22));
}


/* ------------------------------------------------------------
   7. ABOUT  +  PHOTO DROP-IN SLOT
   ------------------------------------------------------------ */
.about {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.about__inner { position: relative; z-index: 2; }

.about__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  /* same measure as the bullet list, so the heading and cards line up */
  max-width: 78ch;
  margin-inline: auto;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.about__title {
  font-size: clamp(2.35rem, 7.5vw, 3.75rem);
  margin: 0;
  text-wrap: balance;
}

/* ---- The portrait slot -------------------------------------
   Zero-edit photo drop-in.

   `background-image` takes a LIST of layers. The browser paints the
   first layer it can actually load and quietly skips any that 404,
   so the order below is the order of preference:

       1. assets/cassandra.jpg     <- Cassandra's photo (preferred)
       2. assets/cassandra.jpeg    <- same, alternative extension
       3. assets/cassandra.png     <- same, alternative extension
       4. assets/logo.png          <- graceful fallback, always present

   Nothing needs editing to switch it over: dropping a file named
   cassandra.jpg into the assets folder is enough.

   The per-layer `background-size` / `background-position` values below
   line up with that same list. A photo is cropped to fill the circle
   (`cover`), while the logo is scaled and nudged so its illustrated
   circle sits centred in the frame instead of being cropped oddly.
   ------------------------------------------------------------ */
.portrait {
  --portrait-size: clamp(104px, 22vw, 148px);

  width:  var(--portrait-size);
  height: var(--portrait-size);
  flex: none;
  border-radius: 50%;

  background-image:
    url('../assets/cassandra.jpg'),
    url('../assets/cassandra.jpeg'),
    url('../assets/cassandra.png'),
    url('../assets/logo.png');
  background-repeat: no-repeat;
  background-position: center center, center center, center center, center 52%;
  background-size: cover, cover, cover, 88% auto;
  background-color: var(--blush-pale);
  background-origin: border-box;

  /* Ring treatment: cream inner rim, soft sage outer hairline */
  border: 4px solid var(--cream);
  box-shadow:
    0 0 0 1.5px rgba(119, 145, 124, 0.55),
    var(--shadow-soft);
}

/* ---- The bullets ---- */
.about__list {
  list-style: none;
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  max-width: 78ch;
  margin-inline: auto;
}

.about__list li {
  position: relative;
  padding: clamp(1rem, 3vw, 1.4rem) clamp(1rem, 3vw, 1.6rem);
  padding-left: clamp(2.6rem, 6vw, 3.4rem);
  background: var(--card);
  border: 1px solid rgba(119, 145, 124, 0.30);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Little sage leaf as the bullet marker */
.about__list li::before {
  content: "";
  position: absolute;
  left: clamp(1rem, 2.4vw, 1.35rem);
  top: clamp(1.25rem, 3.2vw, 1.7rem);
  width: 15px;
  height: 15px;
  background-color: var(--sage);
  /* leaf shape */
  border-radius: 0 100% 0 100%;
  transform: rotate(-20deg);
}


/* ------------------------------------------------------------
   8. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  margin-top: clamp(1rem, 4vw, 2.5rem);
  padding-block: 2.25rem 2.75rem;
  background: rgba(253, 247, 244, 0.42);
  border-top: 1px solid rgba(119, 145, 124, 0.28);
}

.site-footer__inner { text-align: center; }

/* Three line-art cards sitting above the footer rule, on every page.
   Purely ornamental, so they are flex items in their own row rather than
   absolutely positioned behind anything. */
.footer-trio {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.6rem, 2.5vw, 1.35rem);
  margin: 0 auto 0.9rem;
  color: var(--sage);
  pointer-events: none;
}

.footer-trio__card {
  flex: none;
  width: 30px;
  height: 48px;
  opacity: 0.38;
}

.footer-trio__card--mid {
  width: 36px;
  height: 58px;
  opacity: 0.44;
}

.site-footer__rule {
  display: block;
  margin: 0 auto 0.75rem;
  color: var(--sage);
  opacity: 0.7;
  max-width: 240px;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
}


/* ------------------------------------------------------------
   9. DECORATIVE SVG MOTIFS
   Watermark-like line art tucked around the section edges. Low
   opacity so text always wins. Never announced to screen readers.
   ------------------------------------------------------------ */
.deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: var(--sage);
}

.deco__item {
  position: absolute;
  opacity: 0.30;
  width: 64px;
  height: 64px;
}

/* Gentle drift, switched off for reduced-motion users (§11) */
.deco__item--b,
.deco__item--e,
.deco__item--k,
.deco__item--m {
  animation: drift 14s ease-in-out infinite alternate;
}
.deco__item--e { animation-duration: 19s; }
.deco__item--k { animation-duration: 23s; }
.deco__item--m { animation-duration: 17s; }

@keyframes drift {
  from { transform: translateY(-6px); }
  to   { transform: translateY(8px); }
}

/* -- hero motifs -- */
.deco__item--a { width: 58px;  height: 93px;  top: 4%;   left: 2%;   transform: rotate(-13deg); }
.deco__item--b { width: 104px; height: 56px;  bottom: 7%; left: 5%; }
.deco__item--c { width: 40px;  height: 80px;  top: 42%;  left: 0.5%; opacity: 0.24; }
.deco__item--d { width: 54px;  height: 86px;  top: 8%;   right: 2%;  transform: rotate(11deg); }
.deco__item--e { width: 40px;  height: 40px;  top: 34%;  right: 8%;  opacity: 0.34; }
.deco__item--f { width: 52px;  height: 52px;  bottom: 8%; right: 4%; transform: rotate(-24deg); }

/* -- about motifs -- */
.deco__item--g { width: 56px;  height: 90px;  top: 3%;   left: 1.5%; transform: rotate(9deg); }
.deco__item--h { width: 50px;  height: 50px;  top: 30%;  left: 1%;   opacity: 0.26; }
.deco__item--i { width: 38px;  height: 76px;  bottom: 6%; left: 3%; }
.deco__item--j { width: 56px;  height: 90px;  top: 4%;   right: 1.5%; transform: rotate(-10deg); }
.deco__item--k { width: 46px;  height: 46px;  top: 33%;  right: 1.5%; opacity: 0.24; }
.deco__item--l { width: 48px;  height: 48px;  bottom: 12%; right: 2%; transform: rotate(18deg); }
.deco__item--m { width: 34px;  height: 34px;  bottom: 3%; right: 9%;  opacity: 0.32; }


/* ------------------------------------------------------------
   10. RESPONSIVE BREAKPOINTS
   Mobile-first. Everything above is the ~320px layout; these
   only add to it as the screen gets wider.
   ------------------------------------------------------------ */

/* Narrow phones: centre the header and let the nav items wrap onto
   as many rows as they need, rather than pushing the page sideways. */
@media (max-width: 47.9375em) {           /* < 768px */
  .site-header__inner { justify-content: center; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: center; gap: 0.3rem; }
  .site-nav a { padding: 0.45rem 0.75rem; }
  .translate { width: 100%; text-align: center; }
  .translate__panel {
    position: static;
    width: 100%;
    text-align: left;
    margin-inline: auto;
  }
}

@media (max-width: 25.9375em) {           /* < 415px */
  .brand__name { font-size: 1.7rem; }
  .brand__mark { width: 44px; }
  .site-nav a {
    padding: 0.4rem 0.7rem;
    font-size: 0.95rem;
  }
}

/* Hide the busiest motifs on small screens so text has room */
@media (max-width: 47.9375em) {           /* < 768px */
  .deco__item--c,
  .deco__item--e,
  .deco__item--h,
  .deco__item--k,
  .deco__item--m { display: none; }
  .deco__item { opacity: 0.20; }
  .deco__item--a, .deco__item--g { width: 40px; height: 64px; left: 4%; }
  .deco__item--d, .deco__item--j { width: 38px; height: 61px; }
  .deco__item--b { width: 74px; height: 40px; }
}

/* Tablet and up: hero becomes two columns, about head goes side-by-side */
@media (min-width: 48em) {                /* >= 768px */
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero__text { order: 1; }
  .hero__logo { order: 2; }

  .about__head {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 1.5rem;
  }
  .about__title { margin: 0; }
}

/* Desktop: a touch more breathing room */
@media (min-width: 64em) {                /* >= 1024px */
  .hero { padding-block: 5.5rem 5rem; }
  .about__list li { padding-left: 3.6rem; }
}


/* ------------------------------------------------------------
   11. REDUCED MOTION & PRINT
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .deco, .site-nav, .translate, .skip-link, .hero__logo { display: none; }
  .about__list li { border: 1px solid #999; box-shadow: none; background: none; }
}


/* ============================================================
   12. PAGE HEADERS & PROSE
   ============================================================ */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 5.5vw, 3.5rem) clamp(1.25rem, 3vw, 2rem);
}
.page-head__inner { position: relative; z-index: 2; }

.page-title {
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0 0 0.35em;
  text-wrap: balance;
}
.page-lede {
  max-width: 62ch;
  font-size: 1.06em;
  margin: 0;
}
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 5.5vw, 3.75rem);
}
.section__inner { position: relative; z-index: 2; }

.section-title {
  font-size: clamp(2rem, 6vw, 2.9rem);
  margin: 0 0 0.6em;
}
.subsection-title {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.7rem;
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1rem; }

.measure { max-width: 72ch; }
.center-measure { max-width: 72ch; margin-inline: auto; }


/* ============================================================
   13. PANELS
   Shared panel base, then three distinct variants so a
   skim-reader can tell them apart instantly:
     .note--boundary  what this is / isn't  (sage, calm)
     .note--paid      money                 (rose, matter-of-fact)
     .crisis          free urgent help      (cream, strongest)
   ============================================================ */
.note {
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--card);
  border: 1px solid rgba(119, 145, 124, 0.32);
  box-shadow: var(--shadow-card);
}
.note > * + * { margin-top: 0.7rem; }
.note__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
}

.note--boundary {
  border-left: 6px solid var(--sage-deep);
  background: rgba(253, 247, 244, 0.62);
}
.note--paid {
  border-left: 6px solid var(--rose-deep);
  background: rgba(253, 247, 244, 0.52);
}

/* ---- Crisis block ----------------------------------------
   Deliberately the highest-contrast panel on the site so it is
   easy to spot when skim-reading, but calm rather than alarming:
   cream paper, sage rule, no red, no shouting. It is always
   labelled free, and always kept away from any paid wording.
   --------------------------------------------------------- */
.crisis {
  background: var(--cream);
  border: 2px solid var(--sage-deep);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3.5vw, 1.9rem);
  box-shadow: var(--shadow-soft);
}
.crisis__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin-bottom: 0.5rem;
}
.crisis__title {
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 5.5vw, 2.4rem);
  color: var(--sage-darker);
  margin: 0;
  line-height: 1.05;
}
.crisis__intro { margin: 0 0 1rem; }

.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--sage-darker);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--free { background: var(--sage-darker); }
.badge--paid { background: var(--rose-deep); }
.badge--soon {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rose-deep);
}

.crisis__list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0;
}
.crisis__list > li {
  padding: 0.75rem 0.9rem;
  background: rgba(229, 185, 182, 0.22);
  border-radius: 12px;
}
.crisis__name {
  display: block;
  font-weight: 700;
  color: var(--ink);
}
.crisis__how {
  display: block;
  font-size: 1.06em;
  font-weight: 700;
  color: var(--sage-darker);
  margin-top: 0.1rem;
}
.crisis__note {
  display: block;
  font-size: 0.92rem;
  margin-top: 0.15rem;
}
.crisis__footnote {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

@media (min-width: 42em) {
  .crisis__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ============================================================
   14. CARDS & SERVICE BLOCKS
   ============================================================ */
.card-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48em) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: var(--card);
  border: 1px solid rgba(119, 145, 124, 0.30);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card__title {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 4.5vw, 2.1rem);
  color: var(--sage-deep);
  margin: 0;
  line-height: 1.1;
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
}
.card p { margin: 0; }
.card > * + p { margin-top: 0.2rem; }

.service {
  padding: clamp(1.2rem, 3.5vw, 2rem);
  background: var(--card);
  border: 1px solid rgba(119, 145, 124, 0.30);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.service + .service { margin-top: clamp(1rem, 2.5vw, 1.5rem); }
.service__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  margin-bottom: 0.6rem;
}
.service__title {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  margin: 0;
}
.service__body > * + * { margin-top: 0.85rem; }

.tick-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.tick-list li {
  position: relative;
  padding-left: 1.6rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background-color: var(--sage);
  border-radius: 0 100% 0 100%;
  transform: rotate(-20deg);
}


/* ============================================================
   15. CREDENTIALS
   Scannable columns rather than one long list.
   ============================================================ */
.cred-group + .cred-group { margin-top: clamp(1.25rem, 3vw, 1.75rem); }

.cred-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 34em) {
  .cred-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60em) {
  .cred-list--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.cred-list li {
  position: relative;
  padding: 0.5rem 0.75rem 0.5rem 1.9rem;
  background: rgba(253, 247, 244, 0.45);
  border: 1px solid rgba(119, 145, 124, 0.24);
  border-radius: 12px;
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 1.05em;
  width: 10px;
  height: 10px;
  background-color: var(--sage);
  border-radius: 0 100% 0 100%;
  transform: rotate(-20deg);
}

.pub-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  max-width: 80ch;
}
.pub-list li {
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid rgba(119, 145, 124, 0.28);
  border-radius: 12px;
}
.pub-list .pub-year {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.15rem;
}


/* ============================================================
   16. SIGNPOSTING LINK LISTS
   ============================================================ */
.signpost-group { margin-top: clamp(1.25rem, 3vw, 1.75rem); }
.signpost-group__title {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(119, 145, 124, 0.35);
}

.link-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 46em) {
  .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.link-list li {
  padding: 0.8rem 0.95rem;
  background: rgba(253, 247, 244, 0.48);
  border: 1px solid rgba(119, 145, 124, 0.26);
  border-radius: 12px;
}
.link-list a { font-weight: 700; }
.link-list p {
  margin: 0.25rem 0 0;
  font-size: 0.94rem;
}

/* External-link marker: the arrow is decorative, the words in the
   visually hidden span are what a screen reader announces. */
.ext-icon {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.3em;
  vertical-align: baseline;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.disclaimer {
  margin: 1rem 0 0;
  font-size: 0.94rem;
  max-width: 74ch;
}


/* ============================================================
   17. PRODUCTS & EMPTY STATES
   ============================================================ */
.product-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 44em) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 68em) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(119, 145, 124, 0.30);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.product__cover {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  background: var(--blush-pale);
}
.product__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
  flex: 1;
}
.product__title {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--sage-deep);
  margin: 0;
  line-height: 1.1;
}
.product__price {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.product__actions { margin-top: auto; }

/* Honest "nothing here yet" panel — never a fake button. */
.empty-state {
  padding: clamp(1.2rem, 3.5vw, 2rem);
  background: rgba(253, 247, 244, 0.55);
  border: 2px dashed rgba(119, 145, 124, 0.45);
  border-radius: var(--radius-lg);
  max-width: 72ch;
}
.empty-state > * + * { margin-top: 0.7rem; }
.empty-state__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
}


/* ============================================================
   18. CONTACT FORM
   ============================================================ */
.form {
  max-width: 40rem;
  padding: clamp(1.1rem, 3.5vw, 1.9rem);
  background: rgba(253, 247, 244, 0.58);
  border: 1px solid rgba(119, 145, 124, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.field + .field { margin-top: 1.15rem; }

.field label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.field .hint {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.req {
  font-weight: 400;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  background: #FFFDFC;
  /* Full-strength border so the field edge itself clears the WCAG 3:1
     minimum for interface components, not just the text inside it. */
  border: 2px solid var(--sage-deep);
  border-radius: 12px;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%232F4536' d='M4 6l4 5 4-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.4rem;
}
.field textarea { min-height: 9rem; resize: vertical; }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.7rem;
  align-items: start;
}
.field--check input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.2rem 0 0;
  accent-color: var(--sage-darker);
  flex: none;
}
.field--check label {
  margin: 0;
  font-weight: 700;
}
.field--check .hint {
  grid-column: 2;
  margin: 0;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--sage-darker);
  outline-offset: 2px;
  border-color: var(--sage-darker);
}

/* Honeypot: hidden from sight AND from assistive tech, but still
   submitted by bots that fill every field they find. */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.form__smallprint {
  margin: 1.1rem 0 0;
  font-size: 0.92rem;
}

button.btn {
  font-family: inherit;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
}

.email-card {
  max-width: 40rem;
  padding: clamp(1.1rem, 3.5vw, 1.9rem);
  background: rgba(253, 247, 244, 0.58);
  border: 1px solid rgba(119, 145, 124, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.email-card__label {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}
.email-card__address {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  user-select: all;
  -webkit-user-select: all;
  word-break: break-word;
}
.email-card__hint {
  margin: 0;
  font-size: 0.92rem;
}
.email-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1rem;
}
.email-card__status {
  min-height: 1.4em;
  margin: 0.6rem 0 0;
  font-weight: 700;
}


/* ============================================================
   19. BLOG
   ============================================================ */
.post-list {
  list-style: none;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0;
  padding: 0;
  max-width: 76ch;
}
.post-list__item {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--card);
  border: 1px solid rgba(119, 145, 124, 0.30);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.post-list__title {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 4.5vw, 2.1rem);
  color: var(--sage-deep);
  margin: 0 0 0.2rem;
  line-height: 1.15;
}
.post-list__title a { color: inherit; text-decoration-color: rgba(63, 90, 70, 0.5); }
.post-date {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.post {
  max-width: 68ch;
}
.post > * + * { margin-top: 1.05rem; }
.post h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.2rem);
  margin-top: 2rem;
  margin-bottom: 0.3em;
}
.post h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.6rem;
  margin-bottom: 0.2em;
}
.post ul, .post ol { padding-left: 1.3rem; }
.post li + li { margin-top: 0.4rem; }
.post blockquote {
  margin: 0;
  padding: 0.8rem 1.1rem;
  border-left: 5px solid var(--sage);
  background: rgba(253, 247, 244, 0.5);
  border-radius: 0 12px 12px 0;
}

/* Content note at the top of a post that covers hard subjects. */
.content-note {
  padding: 0.9rem 1.1rem;
  background: rgba(253, 247, 244, 0.62);
  border: 1px solid rgba(119, 145, 124, 0.4);
  border-left: 6px solid var(--sage-deep);
  border-radius: 12px;
}
.content-note strong { color: var(--ink); }

.back-link { display: inline-block; margin-top: 2rem; font-weight: 700; }


/* ============================================================
   20. FOOTER NAV & SMALL UTILITIES
   ============================================================ */
.site-footer__nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  margin: 0 0 0.7rem;
  padding: 0;
}
.site-footer__nav a { font-weight: 700; }

.stack-top { margin-top: clamp(1.25rem, 3vw, 1.75rem); }
.stack-top-sm { margin-top: 0.9rem; }

/* Marks the nav item for the page you are already on. */
.site-nav a[aria-current="page"] {
  background: rgba(253, 247, 244, 0.9);
  color: var(--sage-darker);
  box-shadow: inset 0 -2px 0 var(--sage-deep);
}
