/* ==========================================================================
   Creative Counseling Solutions: "Sunlit Earth" (final style)
   Warm Earth's plaster, clay, olive and walnut, lit by Golden Hour's sunlit
   water. One shared stylesheet for every page. Mobile first: the base rules
   are the phone layout; min-width queries add 640 / 900 / 1100 / 1200.

   Contrast (WCAG 2.x, flat colors; tools/contrast.py prints every pair):
     ink #2F322A on plaster 10.87 | walnut #4A3223 on plaster 9.88, card 10.83, linen 9.01
     muted #5C4A3C: plaster 7.00 flat / 5.3 on the darkest texture pixel, card 7.68, linen 6.38
     clay-deep #8C3F16 links/eyebrows/tags: plaster 6.17, card 6.76, linen 5.62
     button #FFF8EF on clay #A24E2E 5.44, hover on #8C3F16 7.02
     ivory #F3E9DC on olive band #474B31 7.55, olive deep #3D4130 8.76,
       clay band #9C4A2A 5.11, walnut #4A3223 9.88
     peach #F0B48F on olive band 5.02, olive deep 5.82, walnut 6.56 (never on clay: 3.39)
     ink on the sun badge: 9.78 at the center, 5.42 at the edge
     terracotta #C2613F (3.45) and clay #A24E2E on linen (4.35) are 24px+ display only.
   Motion is transform only, finite, never touches opacity or visibility, and
   switches off under prefers-reduced-motion. Content never comes from script.
   ========================================================================== */

/* Bold script "E" and "J" for the "EJ" in headings (tiny download: only those two letters). */
@import url("https://fonts.googleapis.com/css2?family=Pacifico&text=EJ&display=swap");

/* 1. Fonts: self-hosted, Latin only, SIL OFL 1.1 (built by _baseline/tools/build_fonts.py).
   Fraunces with SOFT pinned at 100 (WONK 0 roman, 1 italic), the opsz axis kept, roman 300-420 and
   italic 300-320 (the weights the italics use); Cabin variable
   roman 400-600 plus italic 400; Belleza only for the TREADING WATER lockup letters; Kaushan Script
   only for "Mind-Body-Spirit". Then metric-matched fallbacks so the swap does not shift the layout. */
@font-face { font-family: 'Fraunces'; src: url("/fonts/fraunces-roman.woff2") format("woff2"); font-weight: 300 420; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 320; font-style: italic; font-display: swap; }   /* every italic is set at 300 or 320 */
@font-face { font-family: 'Cabin'; src: url("/fonts/cabin-roman.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url("/fonts/cabin-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Belleza'; src: url("/fonts/belleza-tw.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Kaushan Script'; src: url("/fonts/kaushan-mbs.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0020, U+002D, U+0042, U+0053, U+0064, U+0069, U+006D, U+006E, U+006F, U+0070, U+0072, U+0074, U+0079; }
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); size-adjust: 104%; ascent-override: 93%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Cabin Fallback'; src: local('Arial'); size-adjust: 93%; ascent-override: 101%; descent-override: 26%; line-gap-override: 0%; }
/* Belleza (OFL) sets only the TREADING WATER lockup, matched to her Canva flyer; subset to those letters. */
@font-face { font-family: 'Belleza Fallback'; src: local('Optima'), local('Candara'), local('Arial'); size-adjust: 96%; ascent-override: 92%; descent-override: 22%; line-gap-override: 0%; }

/* 2. Tokens ------------------------------------------------------------- */
:root {
  /* grounds */
  --plaster: #F3E9DC;      /* page ground (Palette 1 Warm Ivory) */
  --card: #FAF4EA;         /* cards, rows, dropdowns */
  --linen: #EADFCF;        /* woven band */
  --sand: #E2D2BD;         /* plinth, image placeholders (decoration) */
  /* ink */
  --ink: #2F322A;          /* headings (Palette 3 Deep Olive) */
  --walnut: #4A3223;       /* body text, footer wood (Palette 1 Walnut) */
  --walnut-deep: #3A2719;
  --muted: #5C4A3C;        /* secondary text: holds AA on the darkest textured pixel (plaster ~5.3, linen ~5.2) */
  --muted-linen: #5C4A3C;  /* kept as an alias */
  /* earth accents */
  --terracotta: #C2613F;   /* Palette 1 Terracotta: decoration, 24px+ display */
  --clay: #A24E2E;         /* buttons, date tiles, large italic accents */
  --clay-band: #9C4A2A;    /* closing band */
  --clay-deep: #8C3F16;    /* links, eyebrows, tags, hover (the business card script); #7C3713 inside .tex-linen */
  --ochre: #C48A56;        /* Palette 3 Sunlit Ochre: decoration */
  --olive: #6B6F4E;        /* Palette 1 Olive: icons, ornaments */
  --olive-band: #474B31;   /* Treading Water band */
  --olive-deep: #3D4130;   /* notice bar, mobile menu */
  --taupe: #A48F7A;        /* Palette 1 Warm Taupe: hairlines, decoration */
  --rule: #CDBBA4;         /* 1px rules */
  --field: #8A735E;        /* input borders (4.09 on card) */
  /* light on dark */
  --on-dark: #F3E9DC;
  --on-dark-2: #EADFCF;
  --peach: #F0B48F;        /* the sunlight on her flyer: accents on olive and walnut */
  --btn-fg: #FFF8EF;
  /* sun */
  --sun-hi: #F7DCA8; --sun-mid: #EDBF7E; --sun-lo: #D99A5E;

  /* type */
  --display: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  --sans: 'Cabin', 'Cabin Fallback', system-ui, sans-serif;
  --script: 'Kaushan Script', 'Brush Script MT', cursive;
  --lockup: 'Belleza', 'Belleza Fallback', 'Cabin', sans-serif;
  --fs-body: clamp(17px, 0.15vw + 16.4px, 18.5px);
  --fs-lede: clamp(19px, 0.5vw + 17px, 21.5px);
  --fs-h1: clamp(40px, 4.2vw + 22px, 80px);
  --fs-h2: clamp(31px, 2.4vw + 22px, 54px);
  --fs-h3: clamp(22px, 0.6vw + 19.5px, 27px);
  --fs-label: 14px;        /* eyebrows, tags: never smaller */
  --fs-micro: 13px;        /* date-tile months, badge caps: the floor */

  /* space */
  --gutter: clamp(18px, 4.6vw, 56px);
  --maxw: 1240px;
  --sec: clamp(52px, 7vw, 104px);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px; --s9: 48px; --s10: 64px;
  --pebble: 30px 26px 32px 24px / 26px 32px 24px 30px;   /* hand-cut button / card radius */
  --header-h: 66px;

  /* baked material tiles (see _src/gen_textures.py). Two textured grounds only:
     the plaster page and the olive Treading Water band. Wood is the footer. */
  --tex-relief: url("/images/tex/tex-relief.webp");
  --tex-grain: url("/images/tex/tex-grain.webp");
  --tex-wood: url("/images/tex/tex-wood.webp");
}
@media (min-width: 1200px) { :root { --header-h: 84px; } }

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding-bottom: focus and jump scrolling stop 72px above the bottom edge (room the UserWay
   launcher needed; the widget now opens from the Accessibility buttons, and the margin stays as a
   safety net should the floating launcher ever come back). */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--walnut);
  background-color: var(--plaster);
  background-image: var(--tex-relief), var(--tex-grain);
  background-size: 512px 512px, 256px 256px;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--clay-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--walnut); }
:focus-visible { outline: 3px solid var(--clay-deep); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--peach); }
/* 3:1 against every ground (WCAG 1.4.11): a light card on a dark band flips back to clay-deep
   (6.76 on card, where peach is 1.65), and the notice bar and the walnut footer, which are dark
   but not .on-dark, take peach (5.82 on the notice, 6.56 on walnut; clay-deep was 1.4 to 1.8). */
.on-dark .on-light :focus-visible { outline-color: var(--clay-deep); }
.notice :focus-visible, .footer :focus-visible { outline-color: var(--peach); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 340;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.03; font-weight: 300; }
h2 { font-size: var(--fs-h2); line-height: 1.07; }
h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 400; }
em, .it { font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
strong { font-weight: 600; }
.script { font-family: var(--script); font-weight: 400; font-style: normal; letter-spacing: 0; }
.nowrap { white-space: nowrap; }
.sr-only, .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; }
/* The skip link shows over the deep olive notice bar and the plaster header at once: its ivory
   border keeps the pill's edge visible on the bar (8.8:1, where walnut and the clay-deep ring are
   1.1 and 1.4), and the clay-deep ring reads on the plaster (6.17). */
.skip, .skip-link { position: absolute; left: 12px; top: -80px; z-index: 60; padding: 10px 16px; border: 2px solid var(--on-dark); border-radius: 12px; background: var(--walnut); color: var(--on-dark); font-weight: 600; }
.skip:focus, .skip-link:focus { top: 12px; }
.show-sm { display: inline; }
.hide-sm { display: none; }
@media (min-width: 640px) { .show-sm { display: none; } .hide-sm { display: inline; } }

/* Dark contexts flip the text colors. Light cards inside them flip back. */
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--on-dark); }
.on-dark a:not(.btn) { color: var(--on-dark); }
.on-dark a:not(.btn):hover { color: var(--peach); }
.on-dark .on-light, .on-dark .on-light h2, .on-dark .on-light h3, .on-dark .on-light h4 { color: var(--ink); }
.on-dark .on-light p, .on-dark .on-light li { color: var(--walnut); }
.on-dark .on-light a:not(.btn) { color: var(--clay-deep); }
/* Peach is never on clay (3.39): on the clay close a hovered link turns white (6.13 on #9C4A2A) and
   its underline thickens, while links inside the light contact card keep clay-deep. */
.tex-clay.on-dark a:not(.btn):hover { color: #FFFFFF; text-decoration-thickness: 2px; }
.tex-clay.on-dark .on-light a:not(.btn):hover { color: var(--clay-deep); text-decoration-thickness: 1px; }

/* 4. Layout and material bands ------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: var(--sec); isolation: isolate; }
/* Linen is a flat tint for cards and small panels, never a full band (the page alternates plaster and olive). */
.tex-linen { background-color: var(--linen); --clay-deep: #7C3713; }   /* clay-deep steps one shade deeper on linen: 6.61 */
.tex-olive { background-color: var(--olive-band); background-image: var(--tex-relief), var(--tex-grain); background-size: 512px 512px, 256px 256px; }
.tex-clay { background-color: var(--clay-band); }   /* flat: the closing band carries no texture */
/* The wood tile is 1200x400 and seamless, so it repeats at its own size instead of stretching. */
.tex-wood { background-color: var(--walnut); background-image: var(--tex-wood); background-size: 1200px 400px; background-repeat: repeat; }
/* Two plaster bands in a row get a hairline between them instead of a second ground. */
.band-rule > .wrap:first-child { border-top: 1px solid var(--rule); padding-top: var(--sec); }
.band-rule.section { padding-top: 0; }
/* A rounded tinted panel inside a plaster band (the course pillars): rhythm without a third ground. */
.panel { padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); border-radius: 30px; }
.section:has(> .wrap > .panel.tex-linen) { padding-block: clamp(12px, 2vw, 32px); }
.center-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4.6vw, 60px); }
.center-head > p:last-child { margin-bottom: 0; }
.split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split--rev { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.split--top { align-items: start; }
.measure { max-width: 65ch; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.text-center, .section--center { text-align: center; }

/* 5. Type helpers -------------------------------------------------------- */
/* Eyebrows flow as one line of text (no flex), so any markup inside them, a hidden phrase or a
   middot, wraps as ordinary words. The lead is a short 12px tick, not a dash-length rule. */
.eyebrow {
  display: block;
  margin: 0 0 16px;
  font: 600 var(--fs-label)/1.35 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay-deep);
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: .32em; width: 12px; height: 1.5px; margin-right: 14px; background: currentColor; opacity: .75; }
.eyebrow--center { text-align: center; }
.eyebrow--center::after { content: ""; display: inline-block; vertical-align: .32em; width: 12px; height: 1.5px; margin-left: 14px; background: currentColor; opacity: .75; }
.on-dark .eyebrow { color: var(--peach); }
.tex-clay .eyebrow { color: var(--on-dark); }
.lede { font-size: var(--fs-lede); line-height: 1.55; }
.muted { color: var(--muted); }
.tex-linen .muted { color: var(--muted-linen); }
.on-dark .muted { color: var(--on-dark-2); }
.fine { font-size: 15px; line-height: 1.5; }
.i { width: 20px; height: 20px; flex: none; }

/* 6. Buttons and links --------------------------------------------------- */
.btn {
  --bg: var(--clay); --fg: var(--btn-fg); --bd: var(--clay);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border: 1.5px solid var(--bd); border-radius: var(--pebble);
  background: var(--bg); color: var(--fg);
  font: 600 16px/1.15 var(--sans); letter-spacing: .02em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { --bg: var(--clay-deep); --bd: var(--clay-deep); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; transition: transform .25s ease; }   /* the hover nudge is in section 22 */
.btn--ghost { --bg: transparent; --fg: var(--walnut); --bd: var(--walnut); }
.btn--ghost:hover { --bg: var(--walnut); --fg: var(--plaster); --bd: var(--walnut); color: var(--plaster); }
.btn--light { --bg: var(--plaster); --fg: var(--walnut); --bd: var(--plaster); }
.btn--light:hover { --bg: #FFFFFF; --fg: var(--walnut); --bd: #FFFFFF; color: var(--walnut); }
.btn--line-light { --bg: transparent; --fg: var(--on-dark); --bd: var(--on-dark); }
.btn--line-light:hover { --bg: var(--on-dark); --fg: var(--walnut); --bd: var(--on-dark); color: var(--walnut); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.btn-row--center { justify-content: center; }
.btn-row > .btn { flex: 1 1 100%; }
@media (min-width: 640px) { .btn-row > .btn { flex: 0 0 auto; } }

/* The label and its arrow are one run of text inside one span (link_arrow() in build_site.py binds
   the last word to the arrow), so a label that wraps keeps the arrow beside its last word instead
   of pinning it to the far edge, centered between the lines. vertical-align -3px centers the
   18px arrow on the line, where the flex layout used to center it. */
.link-arrow {
  display: inline-flex; align-items: center; min-height: 32px;
  font-weight: 600; color: var(--clay-deep);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.link-arrow .i { display: inline-block; vertical-align: -3px; width: 18px; height: 18px; margin-left: 8px; transition: transform .25s ease; }   /* hover nudge: section 22 */
.on-dark .link-arrow { color: var(--on-dark); }
.phone-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--walnut); text-decoration: none; border-bottom: 1px solid var(--rule); }
.phone-link .i { width: 19px; height: 19px; color: var(--clay); }
.phone-link:hover { color: var(--clay-deep); border-bottom-color: var(--clay-deep); }
.on-dark .phone-link { color: var(--on-dark); border-bottom-color: rgba(243, 233, 220, .45); }
.on-dark .phone-link .i { color: var(--peach); }

/* Botanical ornament: a library sprout between two hairlines. */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--olive); margin: 0 auto 20px; }
.ornament::before, .ornament::after { content: ""; width: 48px; height: 1px; background: var(--taupe); }
.ornament .i { width: 24px; height: 24px; stroke-width: 1.25; }

/* 7. Announcement bar ---------------------------------------------------- */
.notice { position: relative; z-index: 1; background: var(--olive-deep); color: var(--on-dark); font-size: 14.5px; line-height: 1.4; }
.notice__row { display: flex; align-items: center; justify-content: center; gap: 4px 20px; min-height: 44px; padding-block: 6px; }
.notice__main { margin: 0; text-align: center; }
.notice strong { font-weight: 600; }
.notice__more { display: none; white-space: nowrap; }
.notice .dot { display: inline-block; vertical-align: middle; width: 4px; height: 4px; margin: 0 12px 2px; border-radius: 50%; background: var(--peach); }
.notice__link, .notice__portal { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 4px; color: var(--peach); font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
.notice__link { margin-left: 8px; }
.notice__link:hover, .notice__portal:hover { color: var(--on-dark); }
.notice__portal { display: none; color: var(--on-dark); text-decoration: none; }
.notice__portal .i { width: 15px; height: 15px; }
/* The notice bar's Accessibility button (desktop and tablet): styled as the Client Portal link. */
.notice .notice__a11y { display: none; min-height: 32px; padding: 0 4px; color: var(--on-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.notice .notice__a11y .i { width: 16px; height: 16px; }
.notice .notice__a11y:hover { color: var(--peach); text-decoration: underline; }
@media (min-width: 900px) {
  .notice { font-size: 15px; }
  .notice__more { display: inline; }
  .notice__row { justify-content: space-between; }
  .notice__main { flex: 1; }
  .notice__portal, .notice .notice__a11y { display: inline-flex; }
}
/* 900 to 959: with the Accessibility button the announcement wrapped to two lines (a 65px bar,
   the second line opening on its dot). Here the overlay menu and the footer carry the button. */
@media (max-width: 959px) { .notice .notice__a11y { display: none; } }

/* 8. Header and navigation ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background-color: var(--plaster);   /* flat: no relief tile on the header */
  border-bottom: 1px solid rgba(164, 143, 122, .45);
}
.site-header__row { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.brand { flex: none; display: block; width: 108px; margin-right: auto; }
.brand img { width: 100%; height: auto; }
.header-cta { order: 2; }
.menu-btn {
  order: 3; display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 0 12px;
  border: 1.5px solid var(--walnut); border-radius: var(--pebble);
  background: transparent; color: var(--walnut);
  font: 600 15px/1 var(--sans); cursor: pointer;
}
.menu-btn .i { width: 20px; height: 20px; }
.menu-btn__x { display: none; }
@media (max-width: 379px) { .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
/* Under 390 the row is too narrow for "Book a session" on one line beside the logo and the Menu
   button (it wrapped at 320 to 359, and at 380 to 387 once the labeled Menu button comes back):
   the gaps and the pill's padding give up the room, and the label never wraps. Under 380 the logo
   steps down to 96px and the Menu button keeps only its icon. With WCAG 1.4.12 text spacing the
   logo is the one thing that gives way (down to 60px), so the row never pushes the Menu button
   off the screen. */
@media (max-width: 389px) {
  .site-header__row { gap: 8px; }
  .brand { flex: 0 1 108px; min-width: 60px; }
  .header-cta { padding: 0 12px; white-space: nowrap; }
  .header-cta, .menu-btn { flex: none; }
}
@media (max-width: 379px) { .brand { flex-basis: 96px; } }

/* Phone and tablet: the nav is a full-screen deep olive overlay. */
.nav { display: none; }
.nav-open .nav {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 8px) var(--gutter) 24px;   /* was 80px at the bottom, room for the floating UserWay launcher; the menu now ends with its own Accessibility button and still fits one 844px screen */
  overflow-y: auto; overscroll-behavior: contain;
  background-color: var(--olive-deep);
  background-image: var(--tex-relief), var(--tex-grain);
  background-size: 512px 512px, 256px 256px;
  color: var(--on-dark);
}
.nav-open .menu-btn { position: fixed; top: calc((var(--header-h) - 42px) / 2); right: var(--gutter); z-index: 41; color: var(--on-dark); border-color: var(--on-dark); background: var(--olive-deep); }
.nav-open .menu-btn__x { display: inline-flex; }
.nav-open .menu-btn__open { display: none; }
.nav__list { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 520px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 42px; padding: 7px 2px; border: 0; border-bottom: 1px solid rgba(243, 233, 220, .18);
  background: none; cursor: pointer; text-align: left;
  font: 340 24px/1.15 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0;
  color: var(--on-dark); text-decoration: none;
}
.nav__link .i { display: none; }
/* Beats a:hover (walnut, 1.13:1 on the overlay); peach on olive-deep is 5.82. The 1200+ bar
   keeps its clay-deep hover (same specificity, later in the file). */
.nav__link:hover { color: var(--peach); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--peach); }
/* The overlay's current page is not marked by color alone (WCAG 1.4.1): it is underlined too, as
   its current sub-links are set in 600. The 1200+ bar marks it with the terracotta arc instead. */
@media (max-width: 1199px) { .nav__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; } }
/* Under 1200 the Programs and Media sub-lists are always open, so their parents are plain
   labels (no button, no aria-expanded). The dropdown buttons only exist from 1200 up. */
button.nav__link { display: none; }
.nav__label { display: block; padding: 10px 2px 2px; font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--peach); }
.nav__label.is-active::after { content: none; }
.nav__item--parent { border-bottom: 1px solid rgba(243, 233, 220, .18); }
.nav__sub { list-style: none; margin: 0; padding: 2px 0 6px 2px; display: flex; flex-wrap: wrap; gap: 0 20px; }
.nav__sub a { display: flex; align-items: center; min-height: 40px; color: var(--on-dark); font-size: 16.5px; text-decoration: none; }
.nav__sub a[aria-current="page"] { color: var(--peach); font-weight: 600; }
.nav__foot { width: 100%; max-width: 520px; margin: 12px auto 0; display: grid; gap: 2px; }
.nav__foot .btn { width: 100%; margin-bottom: 4px; }
.nav__foot a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-dark); font-weight: 600; text-decoration: none; }
.nav__foot .i { width: 19px; height: 19px; color: var(--peach); }
.nav-lock { overflow: hidden; }

@media (min-width: 640px) { .brand { width: 126px; } }
@media (min-width: 1200px) {
  .brand { width: 148px; margin-right: 0; }
  .menu-btn { display: none; }
  .nav { display: block; order: 1; margin-left: auto; }
  .nav-open .nav { position: static; display: block; padding: 0; background: none; overflow: visible; }
  .nav__list { display: flex; align-items: center; gap: 2px; max-width: none; }
  .nav__link {
    position: relative; display: inline-flex; gap: 4px; width: auto; min-height: 0;
    padding: 10px 9px; border: 0;
    font: 500 16px/1 var(--sans); letter-spacing: .01em; color: var(--walnut);
  }
  button.nav__link { display: inline-flex; }
  .nav__label { display: none; }
  .nav__item--parent { border-bottom: 0; }
  .nav__link .i { display: block; width: 15px; height: 15px; stroke-width: 2; transition: transform .2s ease; }
  .nav__link:hover { color: var(--clay-deep); }
  .nav__link[aria-current="page"], .nav__link.is-active { color: var(--walnut); }
  .nav__link[aria-current="page"]::after, .nav__link.is-active::after {
    content: ""; position: absolute; left: 9px; right: 9px; bottom: 1px; height: 6px;
    background: radial-gradient(ellipse at 50% 0%, transparent 58%, var(--terracotta) 60%, var(--terracotta) 74%, transparent 76%);
    background-size: 100% 12px; background-position: 0 -6px; background-repeat: no-repeat;
  }
  .nav__sub {
    position: absolute; top: calc(100% + 8px); left: -8px; min-width: 236px; z-index: 5;
    padding: 10px; display: none; flex-wrap: nowrap;
    background: var(--card); border: 1px solid var(--rule); border-radius: 18px;
    box-shadow: 0 24px 40px -28px rgba(58, 39, 25, .45);
  }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .nav__sub a { min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--walnut); font-size: 16px; }
  .nav__sub a:hover { background: var(--linen); color: var(--clay-deep); }
  .nav__sub a[aria-current="page"] { color: var(--clay-deep); }
  /* Disclosure pattern: hover or the button (Enter, Space, click) opens a panel; focus alone does
     not. components.js opens it on mouse hover too (adding .is-open and aria-expanded="true"), so
     Escape closes a hovered panel and aria-expanded always matches what is on screen (WCAG 1.4.13,
     4.1.2); it closes the panel when the pointer or focus leaves the item. CSS hover is only the
     no-JavaScript fallback (html.js is set by components.js). */
  .nav__item.is-open > .nav__sub, html:not(.js) .nav__item:hover > .nav__sub { display: block; }
  .nav__item.is-open > .nav__link .i, html:not(.js) .nav__item:hover > .nav__link .i { transform: rotate(180deg); }
  .nav__foot { display: none; }
  .header-cta { order: 2; margin-left: 14px; }
}
.is-checkout .header-cta { display: none; }

/* 9. Home hero ----------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 48px); overflow-x: clip; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero__copy, .tw__intro { min-width: 0; }
.hero h1 { max-width: 13.2em; margin-bottom: 22px; }
.hero h1 .it { color: var(--clay); font-weight: 300; }
.hero .lede { max-width: 33em; margin-bottom: 28px; }
.hero .btn-row { margin-bottom: 30px; }
.trust { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--rule); display: none; gap: 10px; font-size: 15.5px; line-height: 1.4; color: var(--walnut); max-width: 660px; }
.trust li { display: flex; align-items: flex-start; gap: 10px; }
.trust .i { width: 19px; height: 19px; margin-top: 1px; color: var(--olive); stroke-width: 1.6; }
/* The art column carries room for the clay slab's 12% offset on the left, so the slab never
   leaves the column at any width (measured 390 to 1440). */
.hero__art { padding: 10px 0 0 clamp(26px, 12%, 48px); }
@media (min-width: 640px) { .trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; } }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(32px, 5vw, 80px); }
  .hero__art { padding: 40px 0 40px clamp(26px, 12%, 48px); }
}

/* Arches: true semicircle windows onto nature. Used for the hero, the doors,
   the Treading Water windows and the story: never for every image. */
.arch { position: relative; overflow: hidden; overflow: clip; border-radius: 999px 999px 0 0; isolation: isolate; background: var(--sand); }
.arch > img, .arch > picture, .arch > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* One accent per arch: the clay slab (hero, title bands) or the hairline (course story), never both.
   The set never exceeds its column: width is capped by the column, not the viewport. */
.archset { position: relative; width: min(400px, 100%); aspect-ratio: 400 / 520; margin-inline: auto; }
.archset__photo { position: absolute; inset: 0; z-index: 3; box-shadow: 0 34px 60px -34px rgba(58, 39, 25, .55); }
.archset__clay { position: absolute; inset: 0; z-index: 2; border-radius: 999px 999px 0 0; background-color: var(--terracotta); transform: translate(-12%, 7%); }
.archset__line { position: absolute; inset: 0; z-index: 2; border: 1.5px solid var(--clay); border-radius: 999px 999px 0 0; transform: translate(-7%, -5%); pointer-events: none; }
@media (max-width: 639px) { .hero .archset { width: min(300px, 76%); } }

/* The sun disc doubles as the Advent badge (one sun per page, and it works). A true circle at every
   width: the height is set, never left to the content (an aspect-ratio box grows taller than wide as
   soon as its text needs more room, which made it an oval up to 1366px). The diameter and the
   stacked text are sized together so every line box sits inside the disc with about 6px to spare at
   150px (measured 320 to 1920, Chromium and WebKit, by test-sunlit.js). */
.sunbadge {
  --sb: clamp(150px, 4.4vw + 94px, 162px);   /* grows with the date numerals (2.4vw) from 1280 */
  position: absolute; z-index: 4; left: -17%; top: 3%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: var(--sb); height: var(--sb); border-radius: 50%;
  padding: 0 12px; text-align: center; text-decoration: none; color: var(--ink);
  background: radial-gradient(circle at 46% 42%, var(--sun-hi) 0%, var(--sun-mid) 58%, var(--sun-lo) 100%);
  box-shadow: 0 18px 36px -18px rgba(140, 63, 22, .55), 0 0 0 6px rgba(247, 220, 168, .35);
}
.sunbadge__k { inline-size: min-content; font: 600 var(--fs-micro)/1.1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }   /* always two lines: TREADING / WATER */
.sunbadge__d { margin: 3px 0 2px; font: 380 clamp(28px, 2.4vw, 36px)/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; letter-spacing: -0.02em; white-space: nowrap; }
.sunbadge__t { max-width: 8.6em; font-size: 13.5px; line-height: 1.2; }
.sunbadge__go { margin-top: 5px; font: 600 var(--fs-micro)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
/* Hover thickens the underline and keeps ink: clay-deep "See dates" fell to about 4.1:1 on the
   disc's darker lower half; ink holds 5.4:1 or better on every pixel of the gradient. */
.sunbadge:hover, .sunbadge:hover .sunbadge__go { color: var(--ink); }
.sunbadge:hover .sunbadge__go { text-decoration-thickness: 2px; }

/* 10. Doors: Where would you like to begin? ----------------------------- */
.doors { display: grid; gap: 14px; }
.door {
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; align-items: start;
  padding: 10px 14px 12px 10px; border-radius: 64px 22px 22px 22px;
  background: var(--card); color: var(--walnut);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 22px 40px -32px rgba(58, 39, 25, .55);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.door__arch { grid-row: 1 / span 4; height: 100%; min-height: 148px; border-radius: 56px 56px 12px 12px; }
.door__arch img { transition: scale .6s cubic-bezier(.2, .7, .2, 1); }
.door__tag { justify-self: start; margin: 4px 0 6px; padding: 4px 10px; border-radius: 99px; background: var(--linen); color: var(--clay-deep); font: 600 var(--fs-label)/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.door__title { margin: 0 0 4px; font-size: 24px; }
.door__title a { color: var(--ink); text-decoration: none; }
.door__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
/* The stretched link covers the photo and padding; the tag and text sit above it, so they can be
   selected, and clicked into for inline editing in myaieditor. In the editor (it marks editable
   nodes [data-mae-editing]) the overlay is switched off entirely. */
.door__tag, .door__text { position: relative; z-index: 2; }
.door:has([data-mae-editing]) .door__title a::after { display: none; }
.door__text { margin: 0 0 6px; font-size: 16px; line-height: 1.45; }
.door__more { display: none; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--clay-deep); }
.door:not(:has(.door__links)) .door__title a { padding-right: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238C3F16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat right 58% / 18px; }
.door__more .i { width: 18px; height: 18px; transition: transform .25s ease; }
.door__links { position: relative; z-index: 2; display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.door__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 600; color: var(--clay-deep); text-underline-offset: 4px; }
.door__links a .i { display: inline-block; vertical-align: -3px; width: 17px; height: 17px; margin-left: 8px; }   /* bound to the last word, as in .link-arrow */
.door:focus-within { box-shadow: 0 0 0 3px var(--clay-deep), 0 22px 40px -32px rgba(58, 39, 25, .55); }
.door:focus-within .door__title a:focus-visible { outline: none; }
@media (min-width: 640px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .door { display: flex; flex-direction: column; padding: 14px 14px 24px; border-radius: 230px 230px 26px 26px; }
  .door__arch { aspect-ratio: 4 / 4.6; height: auto; min-height: 0; margin-bottom: 20px; border-radius: 999px 999px 0 0; }
  .door__tag, .door__title, .door__text, .door__more, .door__links { margin-inline: 10px; }
  .door__tag { margin-top: 0; margin-bottom: 12px; }
  .door__title { font-size: clamp(26px, 2.1vw, 31px); margin-bottom: 10px; }
  .door__text { font-size: 17px; margin-bottom: 18px; }
  .door__more { display: inline-flex; }
  .door__more, .door__links { margin-top: auto; }
  .door:not(:has(.door__links)) .door__title a { padding-right: 0; background: none; }
}
@media (min-width: 1100px) { .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

/* One warm grade for every photo, so mixed CC0 sources read as one set. */
.grade { filter: saturate(.86) sepia(.1); }
.grade--cool { filter: saturate(.8) sepia(.18) brightness(1.02); }
.grade--warm { filter: saturate(.78) sepia(.26) hue-rotate(-6deg) brightness(1.02); }

/* 11. Treading Water band ------------------------------------------------ */
.tw__grid { display: grid; gap: 28px; }
.tw__art { order: -1; }
.tw__arch { width: 100%; aspect-ratio: 16 / 7.5; border-radius: 999px 999px 0 0; box-shadow: 0 30px 60px -36px rgba(10, 8, 4, .7); }
.tw__arch-wrap { position: relative; max-width: 460px; margin-inline: auto; }
.tw__arch-wrap::after { content: ""; position: absolute; inset: -12px -12px 0; z-index: -1; border: 1.5px solid rgba(240, 180, 143, .55); border-bottom: 0; border-radius: 999px 999px 0 0; }
.splash { display: block; width: clamp(170px, 12vw + 110px, 260px); height: auto; color: var(--peach); margin: 0 0 12px; }
.tw__title { margin: 0 0 18px; }
/* The flyer wordmark: Belleza caps (the closest OFL match to her Canva lockup), tight tracking. */
.tw__name { display: block; font: 400 clamp(42px, 4.6vw + 22px, 88px)/1 var(--lockup); letter-spacing: .045em; text-transform: uppercase; }
.tw__name > span { display: block; }
.tw__sub { display: block; margin-top: 12px; font: 300 clamp(24px, 1.2vw + 19px, 33px)/1.25 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--peach); }
.tw .lede { max-width: 30em; margin-bottom: 26px; }
.tw__fine { font-size: 16px; color: var(--on-dark-2); max-width: 66ch; }
@media (min-width: 900px) {
  .tw__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .tw__art { order: 0; }
  .tw__arch { aspect-ratio: 420 / 546; }
}

/* Editions: one row per option (what, when in ET, how much, register). */
.editions { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.edition {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; align-items: center;
  padding: 14px; border-radius: 20px; background: var(--card); color: var(--walnut);
  box-shadow: 0 20px 36px -28px rgba(10, 8, 4, .75);
}
.edition--best { outline: 2px solid var(--peach); outline-offset: -2px; }
.edition__name { margin: 0 0 2px; font: 400 20px/1.2 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); }
/* "Advent + 6-Week" stays on one line down to 350px. Below that it may no longer fit beside the date
   tiles (at 320 it ran 11px out of its card, onto the olive band) or beside a checkout price: as an
   inline-block it still keeps its own line while it fits there, and only once it does not does it
   break, as "Advent +" / "6-Week" (nowrap() in build_site.py nests 6-Week in its own .nowrap and
   joins "Advent +" with a no-break space). */
@media (max-width: 349px) { .edition__name > .nowrap, .co-option__name > .nowrap { display: inline-block; white-space: normal; } }
.edition__meta { margin: 0; font-size: 15.5px; line-height: 1.38; color: var(--muted); }
.edition__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.edition__price { margin: 0; font: 360 34px/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); letter-spacing: -0.02em; }
.edition__save { display: block; margin-top: 4px; font: 600 var(--fs-micro)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--clay-deep); }
.edition .btn { min-height: 48px; padding: 0 20px; }
@media (min-width: 640px) {
  .edition { grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 14px 16px 14px 14px; }
  .edition__foot { display: contents; }
  .edition__price { text-align: right; }
}

/* No upcoming edition (every registration_closes date has passed): one card replaces the rows. */
.tw__next { margin: 0 0 18px; padding: 22px 22px 20px; border-radius: 22px; background: var(--card); box-shadow: 0 20px 36px -28px rgba(10, 8, 4, .75); }
.tw__next h3 { margin: 0 0 8px; font-size: clamp(22px, .6vw + 19.5px, 26px); }
.tw__next p { font-size: 16.5px; max-width: 52ch; }

/* Date tiles: arch-topped clay tiles. Month text is the 13px floor. */
.datetile { flex: none; display: grid; place-items: center; align-content: center; width: 62px; height: 70px; border-radius: 31px 31px 12px 12px; background-color: var(--clay); background-image: var(--tex-grain); color: var(--btn-fg); text-align: center; line-height: 1; }
.datetile span { font: 600 var(--fs-micro)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.datetile b { font: 400 28px/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; margin-top: 2px; }
.datetile-pair { display: flex; gap: 5px; }
.datetile-pair .datetile { width: 52px; height: 64px; }
.datetile-pair .datetile b { font-size: 24px; }
/* One color per date, everywhere: Nov 30 (Advent) is clay, Jan 18 (6-Week) is olive. #FFF8EF on olive 8.59. */
.datetile--jan { background-color: var(--olive-band); }

/* Military strip: her most distinctive offer, with real buttons. */
.tw__after { margin-top: 26px; }
.milstrip { display: grid; gap: 14px; padding: 18px; border: 1px solid rgba(243, 233, 220, .32); border-radius: 22px; }
.milstrip p { margin: 0; font-size: 16px; line-height: 1.5; }
.milstrip__head { display: flex; gap: 12px; align-items: flex-start; }
.milstrip__head .i { width: 26px; height: 26px; color: var(--peach); stroke-width: 1.4; margin-top: 2px; }
.milstrip .btn-row { gap: 10px 22px; }
.milstrip .btn-row > .btn { min-height: 50px; padding: 0 20px; }
.tw__foot { display: grid; gap: 4px; margin-top: 16px; }
.tw__foot .tw__fine { margin: 0; }
@media (min-width: 640px) { .milstrip { padding: 22px 24px; } .milstrip .btn-row > .btn { padding: 0 22px; } }
@media (min-width: 900px) {
  .tw__after { margin-top: clamp(36px, 4vw, 56px); }
  .milstrip { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 32px; padding: 22px 28px; }
  .milstrip__head p { max-width: 52ch; }
  .tw__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; margin-top: 18px; }
}

/* 12. Book --------------------------------------------------------------- */
.book-hero { padding-top: clamp(24px, 3.5vw, 48px); }
.book-hero .crumbs { margin-bottom: clamp(16px, 2.5vw, 32px); }
.book__grid { display: grid; gap: 32px; align-items: center; }
.book__art { position: relative; margin: 0 auto; width: min(380px, 78vw); padding: 26px 26px 0; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, rgba(226, 210, 189, 0) 0%, rgba(226, 210, 189, .75) 100%); }
.book__art img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 22px 22px rgba(58, 39, 25, .3)); }
.book__ledge { display: block; height: 18px; margin: -8px -18px 0; border-radius: 6px; background-color: #D9C6AE; background-image: var(--tex-grain); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 16px 22px -14px rgba(58, 39, 25, .5); }
.book__sub { margin: -4px 0 6px; font: 300 clamp(21px, .6vw + 18px, 26px)/1.3 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--clay-deep); }
.book__by { margin: 0 0 20px; font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.book__status { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; color: var(--muted); }
.book__status .i { width: 18px; height: 18px; color: var(--olive); }
@media (min-width: 900px) { .book__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); } }

/* 13. About -------------------------------------------------------------- */
/* Phones: copy, book card, quote. Desktop: quote card and book card stacked on the left (top
   aligned), copy on the right, so neither column floats in empty space. */
.about__grid { display: grid; gap: 28px 36px; align-items: start; grid-template-areas: "copy" "book" "quote"; }
.about__copy { grid-area: copy; }
.about__book { grid-area: book; }
.about__quote { grid-area: quote; }
.about__creative { margin: 0 0 18px; font: 300 clamp(23px, 1vw + 19px, 30px)/1.3 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--clay-deep); max-width: 30em; }   /* clay-deep: AA at 23px on the darkest plaster pixel */
.about .script-kicker { margin-bottom: 16px; }
.quote-card { position: relative; margin: 0; padding: 28px 22px 24px; text-align: center; border-radius: 28px; background: var(--card); box-shadow: 0 30px 50px -36px rgba(58, 39, 25, .55); }
.quote-card::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--terracotta); border-radius: 20px; pointer-events: none; }
.quote-card blockquote { margin: 0 0 18px; }
.quote-card blockquote p { margin: 0; font: 320 clamp(22px, 1vw + 18px, 30px)/1.3 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--ink); }
.quote-card .ornament { display: none; }
.quote-card figcaption { font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); }
.facts { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 10px 26px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
@media (min-width: 900px) { .facts li { font-size: 16.5px; line-height: 1.45; } }
.facts .i { width: 20px; height: 20px; margin-top: 1px; color: var(--olive); stroke-width: 1.5; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .facts--one { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "quote copy" "book copy"; grid-template-rows: auto 1fr; gap: 28px clamp(40px, 6vw, 96px); }
  .about__book .bookcard { margin: 0; }
  .quote-card { padding: 54px 40px 40px; }
  .quote-card .ornament { display: flex; }
}

.bookcard { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 0 26px; padding: 14px 16px 14px 10px; border-radius: 22px; background: var(--card); box-shadow: 0 22px 40px -34px rgba(58, 39, 25, .55); }
.bookcard__img { width: 92px; height: auto; filter: drop-shadow(0 10px 12px rgba(58, 39, 25, .25)); }
.bookcard__k { margin: 0 0 4px; font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-deep); }
.bookcard__title { margin: 0 0 4px; font-size: clamp(21px, .5vw + 19px, 25px); }
.bookcard__text { margin: 0 0 4px; font-size: 16px; line-height: 1.45; }
@media (min-width: 640px) { .bookcard { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; padding: 18px 22px 18px 14px; } .bookcard__img { width: 120px; } }

/* 14. Speaking + listen and read ---------------------------------------- */
.speak { display: grid; gap: 22px; padding: 28px 22px 26px; border-radius: 28px; background-color: var(--linen); --clay-deep: #7C3713; }
.speak h2 { font-size: clamp(28px, 1.6vw + 21px, 44px); margin-bottom: 12px; }
.speak__copy p { max-width: 34em; }
.speak .btn-row { margin-top: 20px; }
.topics { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); align-self: center; }
.topics a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 7px 2px; border-bottom: 1px solid var(--rule); color: var(--walnut); font-weight: 600; text-decoration: none; }
.topics a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 1.5px solid var(--clay-deep); border-right: 1.5px solid var(--clay-deep); transform: rotate(45deg); margin-right: 4px; }
.topics a:hover { color: var(--clay-deep); }
.listen { margin-top: 34px; }
.listen .eyebrow { margin-bottom: 10px; }
.listen h3 { font-size: clamp(23px, .8vw + 19px, 28px); margin-bottom: 6px; }
.listen__list { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--rule); }
.listen__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--rule); color: var(--walnut); text-decoration: none; }
.listen__show { font: 400 19px/1.25 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); }
.listen__ep { display: none; grid-column: 1; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.listen__go { grid-row: 1 / span 2; grid-column: 2; color: var(--clay-deep); }
.listen__go .i { width: 18px; height: 18px; }
.listen__list a:hover .listen__show { color: var(--clay-deep); }
.listen__more { display: flex; flex-wrap: wrap; gap: 4px 24px; }
@media (min-width: 640px) { .listen__ep { display: block; } }
.listen__list--page a { padding: 18px 2px; }
@media (min-width: 900px) { .listen__list.listen__list--page { display: block; border-top: 1px solid var(--rule); } .listen__list--page.listen__list a { height: auto; align-items: center; padding: 20px 2px; border-top: 0; } }   /* doubled class: beats the home row's 3-column rule that comes later */
.listen__list--page .listen__ep { display: block; }
.listen__list--page .listen__show { font-size: clamp(20px, .6vw + 18px, 24px); }
@media (min-width: 900px) {
  .speak { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: 48px 52px; }
  .listen { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 0 40px; align-items: start; margin-top: clamp(40px, 5vw, 64px); }
  .listen__head { grid-row: 1 / span 2; }
  .listen__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 0; margin-bottom: 14px; }
  .listen__list a { height: 100%; align-items: start; padding: 16px 2px; border-top: 1px solid var(--rule); }
}

/* 15. Closing band, horizon, contact card ------------------------------- */
/* One primary per band: where the band holds the contact form, the form's button is the action
   and the invitation side offers text links only. */
.close { padding-bottom: calc(var(--sec) * .7 + clamp(48px, 7vw, 108px)); }
.close .wrap { position: relative; z-index: 1; }
.close__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.close__inner .lede, .close__inner p { max-width: 40em; margin-inline: auto; }
.close__inner .btn-row { justify-content: center; margin-top: 26px; }
.close__grid { display: grid; gap: 36px; align-items: start; }
.close__grid .lede { max-width: 30em; }
.close__links { display: grid; justify-items: start; gap: 6px; margin-top: 22px; }
.close__links .link-arrow { font-size: 17.5px; min-height: 40px; }
.close__contact { margin: 18px 0 0; font-size: 16px; }
@media (min-width: 900px) { .close__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; } }
.horizon { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(48px, 7vw, 108px); pointer-events: none; z-index: 0; }
.horizon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.horizon__sun { display: none; position: absolute; left: 70%; bottom: 32%; width: clamp(76px, 9vw, 140px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 42% 40%, #DDA06A, var(--ochre) 60%, #B97C49); }
@media (min-width: 900px) { .horizon__sun { display: block; } }   /* after the base rule, so it wins */

.contact-card { padding: 24px 20px; border-radius: 26px; background: var(--card); color: var(--walnut); box-shadow: 0 30px 60px -36px rgba(20, 10, 4, .6); }
.contact-card h3 { margin-bottom: 4px; }
.contact-card > p { color: var(--muted); font-size: 16px; }
@media (min-width: 640px) { .contact-card { padding: 34px 32px; } }

/* 16. Footer --------------------------------------------------------------- */
.footer { position: relative; color: var(--on-dark); padding-block: clamp(48px, 7vw, 84px) 88px; font-size: 16px; }   /* 88px: room the old floating UserWay launcher needed (bottom left), kept as a safety net */
@media (min-width: 1400px) { .footer { padding-bottom: 28px; } }   /* the wrap starts right of where the launcher sat */
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.footer__brand, .footer__news, .footer__col { grid-column: 1 / -1; }
.footer__brand { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: start; }
.footer__brand > p { grid-column: 1 / -1; display: none; }
.footer__brand img { width: 176px; height: auto; margin-bottom: 14px; }
.footer__brand p { max-width: 30ch; font: 300 19px/1.45 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.footer h2 { font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--peach); margin: 0 0 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__col:not(.footer__contact) ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer li a { display: flex; align-items: center; min-height: 36px; color: var(--on-dark); text-decoration: none; }
.footer li a:hover { color: var(--peach); text-decoration: underline; }
.footer__contact li { min-height: 36px; display: flex; align-items: center; overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; margin-top: 0; grid-column: 2; grid-row: 1; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 233, 220, .45); color: var(--on-dark); }
.socials a:hover { background: rgba(243, 233, 220, .12); color: var(--peach); }
.socials .i { width: 19px; height: 19px; }
.footer__news { padding: 22px 20px; border-radius: 22px; background: rgba(42, 28, 18, .34); border: 1px solid rgba(243, 233, 220, .2); }   /* a darker well: peach label 14px holds AA over the lightest grain streak */
.footer__news h2 { margin-bottom: 4px; }
.footer__news > div:first-of-type p { margin: 0 0 14px; font: 300 21px/1.3 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; }   /* the invitation only; fine print and status keep Cabin */
.footer__news .form-success { font: 600 16px/1.4 var(--sans); }
.news__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.news__row .btn { padding: 0 18px; }
.footer__news .fine { margin: 12px 0 0; font-size: 14px; color: var(--on-dark-2); }
.footer__news .fine a { color: var(--on-dark); }
.footer__bottom { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(243, 233, 220, .22); font-size: 14.5px; color: var(--on-dark-2); }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-dark); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; }
  .footer__brand { grid-column: auto; display: block; }
  .footer__brand > p { display: block; }
  .footer__brand img { width: 196px; margin-bottom: 16px; }
  .socials { margin-top: 16px; }
  .footer__col { grid-column: auto; }
  .footer__col:not(.footer__contact) ul { display: block; }
  .footer__news { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px 40px; align-items: center; padding: 26px 30px; }
  .footer__news > div:first-of-type p { margin: 0; }
  .footer__bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; align-items: center; }
  .footer li a, .footer__contact li { min-height: 34px; }
}

/* 17. Course page ------------------------------------------------------- */
.twhero { position: relative; padding-top: clamp(36px, 5vw, 64px); padding-bottom: 0; text-align: center; overflow-x: clip; }
.twintro { padding-top: 0; }
.twintro .pricechips { margin-bottom: clamp(44px, 6vw, 84px); }
.twhero .splash { width: clamp(150px, 15vw, 210px); margin: 0 auto 10px; }
.twhero h1 { margin: 0 auto 8px; }
.twhero .tw__name { font-size: clamp(46px, 7vw + 16px, 124px); letter-spacing: .05em; }
.twhero__sub { margin: 10px 0 0; font: 300 clamp(23px, 1.4vw + 17px, 36px)/1.25 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--peach); }
.twhero__by { margin: 14px auto 22px; font-size: 16px; color: var(--on-dark-2); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 auto 24px; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid rgba(243, 233, 220, .4); border-radius: 99px; font-size: 15px; }
.chips .i { width: 16px; height: 16px; color: var(--peach); }
.twhero .btn-row { justify-content: center; margin-bottom: clamp(30px, 4vw, 52px); }
.window { position: relative; width: min(880px, 100%); margin: 0 auto; }
.window .arch { aspect-ratio: 4 / 4.3; box-shadow: 0 -2px 0 0 rgba(240, 180, 143, .35), 0 40px 70px -40px rgba(10, 8, 4, .8); }
@media (min-width: 640px) { .window .arch { aspect-ratio: 880 / 500; } }

.pricechips { position: relative; z-index: 3; display: grid; gap: 10px; width: min(900px, 100%); margin: -46px auto 0; padding-inline: 10px; }
.pricechip { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; padding: 14px 18px; border-radius: 22px; background: var(--card); color: var(--walnut); text-decoration: none; text-align: left; box-shadow: 0 20px 34px -24px rgba(58, 39, 25, .6); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.pricechip__k { font: 400 19px/1.2 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); }
.pricechip__v { grid-row: 2; font-size: 15px; color: var(--muted); }
.pricechip__p { grid-row: 1 / span 2; grid-column: 2; font: 360 30px/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--clay-deep); white-space: nowrap; }   /* "$199" never splits */
.pricechip:hover { color: var(--walnut); }   /* the 4px lift is in section 22 */
.pricechip:hover .pricechip__k { color: var(--clay-deep); }
/* Flex, not a 3-column grid: three chips render at a third each, and once Advent and the bundle
   close the one or two left center under the arch instead of hugging its left edge. */
@media (min-width: 900px) {
  .pricechips { display: flex; justify-content: center; gap: 14px; margin-top: -58px; }
  .pricechip { flex: 1 1 0; max-width: calc((100% - 28px) / 3); }
}

.twintro__grid { display: grid; gap: 22px; align-items: start; }
.twintro__q { font-size: clamp(30px, 2.2vw + 21px, 50px); line-height: 1.12; margin: 0; }
.twintro__answer { font: 300 clamp(25px, 1vw + 20px, 32px)/1.25 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--clay); margin: 4px 0 16px; }
@media (min-width: 900px) { .twintro__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); } }

.script-kicker { display: block; margin: 0 0 14px; font-family: var(--script); font-size: clamp(38px, 2vw + 30px, 54px); line-height: 1.1; color: var(--clay); transform: rotate(-3deg); }
.triad { display: grid; gap: 26px; max-width: 1060px; margin: 0 auto; }
.triad__col { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 20px; align-items: center; }
.triad__stone { grid-row: 1 / span 2; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 46% 54% 50% 50% / 56% 48% 52% 44%; background: var(--card); color: var(--olive-band); box-shadow: 0 18px 30px -22px rgba(58, 39, 25, .55); }
.triad__stone .i { width: 34px; height: 34px; stroke-width: 1.3; }
.triad h3 { margin: 0 0 2px; font: 300 30px/1.1 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--clay-deep); }
.triad ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 17.5px; }
.pillars__note { max-width: 62ch; margin: clamp(32px, 4vw, 52px) auto 0; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--muted-linen); font-size: 17px; text-align: center; }
@media (min-width: 900px) {
  .triad { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
  .triad__col { display: block; text-align: center; }
  .triad__stone { width: 108px; height: 108px; margin: 0 auto 20px; }
  .triad__stone .i { width: 40px; height: 40px; }
  .triad h3 { font-size: clamp(30px, 2.4vw, 38px); margin-bottom: 10px; }
  .triad ul { gap: 6px; font-size: 18px; }
}

/* Every way to join: the one full price list on the course page (the price chips under the hero
   are the quick view). A real table: each row names the option with its dates and times in ET,
   who it is for, the price and a Choose link. Under 900 each row is a stacked card. */
.pricebox { padding: 22px 18px; border-radius: 30px; background: var(--card); box-shadow: 0 26px 46px -38px rgba(58, 39, 25, .6); }
.pricebox__intro { margin-bottom: 8px; }
.pricebox__intro h3 { margin-bottom: 8px; }
.pricebox__intro p { font-size: 16.5px; max-width: 62ch; }
.pricetable { width: 100%; border-collapse: collapse; font-size: 16px; }
/* Stacked cards under 900: the column headers are hidden visually only (display: none took them out
   of the accessibility tree), and the markup carries explicit ARIA table roles, because display: flex
   on the rows drops a table's row and cell semantics in WebKit. */
.pricetable thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pricetable tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 16px 2px; border-top: 1px solid var(--rule); }
.pricetable th[scope="row"] { flex: 1 1 100%; text-align: left; font-weight: 400; }
.pt__name { display: block; font: 600 17px/1.35 var(--sans); color: var(--walnut); }
.pt__when { display: block; margin-top: 2px; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.pricetable td { padding: 0; }
.pt__who { flex: 1 1 100%; color: var(--walnut); font-size: 16px; line-height: 1.45; }
.pt__price { flex: 1 1 0; align-self: center; font: 400 26px/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); padding-top: 8px !important; }
.pt__price small { font: 600 var(--fs-micro)/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--clay-deep); white-space: nowrap; }   /* "Save $25" never splits; the space before it in the markup is the 6px gap */
/* The price and its link share the card's last line. A price never splits inside "$35 each" or "Save
   $25": on a narrow row "Save $25" moves under the price as a whole (the price's flex basis is 0, so
   the line breaks on its narrowest width), and where even that does not fit (Chromium's "$35 each"
   at 320 to 330, or WCAG 1.4.12 text spacing) the link drops to its own line, still at the right,
   instead of the row running wide. */
.pt__go { align-self: center; margin-left: auto; padding-top: 8px !important; }
.pt__go a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--clay-deep); text-underline-offset: 4px; white-space: nowrap; }
.pt__go .i { width: 17px; height: 17px; }
.pricetable tr.is-best { background: #FBF1E2; box-shadow: inset 3px 0 0 var(--terracotta); }
.pricebox__note { max-width: 66ch; margin: 26px auto 0; font-size: 16px; line-height: 1.6; text-align: center; color: var(--muted); }
@media (max-width: 899px) { .pricetable tr.is-best { padding-inline: 14px; } }
@media (min-width: 900px) {
  .pricebox { padding: 36px 40px 30px; }
  .pricebox__intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 48px; align-items: end; margin-bottom: 18px; }
  .pricebox__intro p { margin: 0 0 4px; }
  .pricetable thead { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; display: table-header-group; }
  .pricetable tr { display: table-row; padding: 0; border: 0; }
  .pricetable th, .pricetable td { padding: 15px 12px; border-top: 1px solid var(--rule); vertical-align: middle; }
  .pricetable thead th { padding-top: 0; border-top: 0; font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; }
  .pricetable thead th:nth-child(3) { text-align: right; }
  .pricetable th[scope="row"] { width: 38%; }
  .pt__who { width: 34%; }
  .pt__price, .pt__go { padding-top: 15px !important; }
  .pt__price { white-space: nowrap; text-align: right; }
  .pt__price small { display: block; margin: 6px 0 0; }
}

/* Story */
.story__grid { display: grid; gap: 34px; align-items: start; }
.story__art { padding: 12px 0 0 30px; }   /* room for the hairline's -7% offset */
.story__art .archset { width: min(360px, 100%); }
@media (max-width: 639px) { .story__art .archset { width: min(290px, 100%); } }
.story__art .arch { aspect-ratio: 400 / 520; }
.story__copy { max-width: 66ch; }
.story__copy > p:not(.eyebrow) { font-size: clamp(17.5px, .3vw + 16.4px, 19px); line-height: 1.72; }
.story__copy > h2 + p::first-letter { float: left; font: 300 4.1em/.86 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-style: italic; color: var(--clay); margin: 6px 12px 0 0; }
.pull { display: none; margin: 30px 0 0; padding: 24px 0 24px 24px; border-left: 2px solid var(--terracotta); }   /* desktop only: on phones it would repeat the paragraph just read */
.pull p { margin: 0; font: 300 clamp(26px, 1.4vw + 20px, 38px)/1.2 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--ink); }
.pull cite { display: block; margin-top: 12px; font: 600 var(--fs-label)/1.3 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); grid-template-rows: auto 1fr; gap: 0 clamp(40px, 6vw, 96px); }
  .story__art { grid-column: 1; grid-row: 1; padding: 30px 0 0 34px; }
  .story__copy { grid-column: 2; grid-row: 1 / span 2; }
  .pull { display: block; grid-column: 1; grid-row: 2; align-self: start; margin: 56px 0 0 34px; }
}
.verbs { position: relative; margin: 34px 0 38px; }
.verbs svg { display: none; }
.verbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.verbs li { position: relative; padding-left: 18px; font: 300 22px/1.2 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--ink); }
.verbs li::before { content: ""; position: absolute; top: .5em; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); }
.verbs li:last-child { color: var(--clay-deep); }
@media (min-width: 640px) {
  .verbs svg { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 34px; color: var(--taupe); overflow: visible; }
  .verbs { margin: 40px 0 46px; }
  .verbs ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 6px; }   /* any number of words */
  .verbs li { padding: 56px 2px 0; text-align: center; font-size: clamp(16px, .7vw + 11px, 20px); line-height: 1.3; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .verbs li::before { top: -2.5px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; box-shadow: 0 0 0 4px var(--plaster); }
  .verbs li:nth-child(even)::before { top: 25.5px; }   /* crests and troughs alternate */
}

/* 18. Inner pages --------------------------------------------------------- */
.titleband { position: relative; padding-block: clamp(30px, 4vw, 56px) clamp(48px, 6vw, 84px); overflow-x: clip; }
.titleband__grid { display: grid; gap: 30px; align-items: center; }
.titleband h1 { font-size: clamp(40px, 3.4vw + 26px, 76px); margin-bottom: 14px; max-width: 12em; }
.titleband__lede { max-width: 30em; color: var(--walnut); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 14px; padding: 0; list-style: none; font: 600 var(--fs-label)/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.crumbs li { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
/* A small chevron between crumbs (never a dash-length rule). */
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--taupe); border-right: 1.5px solid var(--taupe); transform: rotate(45deg); margin-right: 2px; }
.crumbs--center { justify-content: center; }
.crumbs a { color: var(--clay-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.titleband__art { padding: 18px 0 0 clamp(24px, 12%, 44px); }
.titleband__art .archset { width: min(340px, 100%); }
.titleband .btn-row { margin-top: 22px; }
@media (max-width: 639px) { .titleband__art .archset { width: min(260px, 72%); } }
@media (min-width: 900px) {
  .titleband__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); }
  .titleband__art { padding: 26px 0 26px clamp(24px, 12%, 44px); }
}
/* 404 and thank-you: the title band is the whole page; links to the main doors under the button. */
.titleband--end { padding-bottom: clamp(56px, 8vw, 120px); }
.end-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 22px 0 0; padding: 0; }
/* Text-only title band (privacy, contact, discovery, thank-you): no art, a shorter band. */
.titleband--plain { padding-bottom: clamp(28px, 4vw, 48px); }
.titleband--plain h1 { max-width: 16em; }
/* A pull quote that repeats a line from the copy beside it: shown from 900 up only. */
.quote-card--pull { display: none; }
@media (min-width: 900px) { .quote-card--pull { display: block; } }
.overview__grid { display: grid; gap: 18px; }
.overview__grid h2 { margin: 0; }
.overview__copy p { max-width: 65ch; }
@media (min-width: 900px) { .overview__grid { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); } }
.jump { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.jump__label { margin: 0 0 12px; font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-linen); }
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--rule); color: var(--walnut); font-size: 15.5px; font-weight: 500; text-decoration: none; }
.jump a:hover { border-color: var(--clay-deep); color: var(--clay-deep); }

.services { list-style: none; margin: 0; padding: 0; }
.service { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; padding-block: 30px; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 20px); }
.service:last-child { border-bottom: 1px solid var(--rule); }
.service__img { grid-row: 1; width: 88px; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--sand); }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__head { grid-row: 1; align-self: center; }
.service__num { display: block; margin-bottom: 2px; font: 300 24px/1 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--clay); }
.service h3 { margin: 0; font-size: clamp(22px, .8vw + 19px, 29px); }
.service__body { grid-column: 1 / -1; margin-top: 16px; max-width: 66ch; }
.service__body ul, .service__body ol { margin: 0 0 1em; padding-left: 1.3em; }
.service__body li { margin-bottom: 4px; }
.service__body li::marker { color: var(--clay-deep); font-weight: 600; }
.service__body > :last-child { margin-bottom: 0; }
.service__steps li { font-weight: 600; color: var(--walnut); }   /* the four stages of learning */
@media (min-width: 900px) {
  .service { grid-template-columns: 70px 260px minmax(0, 1fr); column-gap: 36px; padding-block: 40px; align-items: start; }
  .service__num { grid-column: 1; grid-row: 1; font-size: 34px; padding-top: 6px; }
  .service__img { grid-column: 2; grid-row: 1 / span 2; width: 260px; aspect-ratio: 4 / 3; border-radius: 22px; }
  .service__head { grid-column: 3; grid-row: 1; align-self: start; }
  .service__head .service__num { display: none; }
  .service__body { grid-column: 3; grid-row: 2; margin-top: 12px; }
}
.service__num--side { display: none; }
@media (min-width: 900px) { .service__num--side { display: block; } }

/* 19. Forms ------------------------------------------------------------------ */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-size: 15.5px; font-weight: 600; color: var(--walnut); }
.input, .field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--field); border-radius: 16px;
  background: #FFFDF8; color: var(--walnut);
  font: 400 17px/1.35 var(--sans);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234A3223' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #7A6656; }
.input:focus-visible, .field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--clay-deep); outline-offset: 1px; border-color: var(--clay-deep); }
.form-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-fields { display: block; }
.form-actions { margin-top: 6px; }
.field__hint { font-size: 15px; font-weight: 400; color: var(--muted); }
/* Fields shown only when a related choice is checked (data-show-when="interests:Workplace Workshops"). */
[data-show-when][hidden] { display: none; }
.form-card { margin-top: 8px; }
.on-dark .input { border-color: rgba(243, 233, 220, .7); background: rgba(255, 253, 248, .96); }
.recaptcha-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-success, .form-error { display: none; margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; font-weight: 600; }
.form-success { background: #E8EBDD; color: var(--olive-band); }
.form-error { background: #F6E1D6; color: var(--clay-deep); }
form.is-done .form-success, .form-success.show, .form-error.show { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; font-size: 16px; line-height: 1.45; }
.consent input, .co-pay__opt input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--clay); }

/* 20. Checkout (/treading-water-register): same co-* hooks as checkout.js. */
.co-section { padding-top: clamp(28px, 4vw, 56px); }
.co-head { margin-bottom: clamp(22px, 3vw, 36px); }
.co-head h1 { font-size: clamp(40px, 3vw + 28px, 68px); margin: 0; }
.co-head__lede { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.co-layout { display: grid; gap: 22px; align-items: start; }
.co-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.co-step { border-radius: 26px; background: var(--card); box-shadow: 0 22px 40px -34px rgba(58, 39, 25, .6); border: 1px solid rgba(205, 187, 164, .6); }
.co-step__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.co-step__head h2 { margin: 0; flex: 1; font-size: clamp(22px, .8vw + 19px, 27px); }
.co-step__num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--field); color: var(--muted); font: 600 16px/1 var(--sans); }
.co-step__num .i { display: none; width: 18px; height: 18px; stroke-width: 2.4; }
.co-step.is-current .co-step__num { background: var(--clay); border-color: var(--clay); color: var(--btn-fg); }
.co-step.is-done .co-step__num { background: var(--olive-band); border-color: var(--olive-band); color: var(--btn-fg); }
.co-step.is-done .co-step__num .n { display: none; }
.co-step.is-done .co-step__num .i { display: block; }
.co-step__edit { display: none; min-height: 40px; padding: 0 12px; border: 0; background: none; color: var(--clay-deep); font: 600 15.5px/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.co-step.is-done .co-step__edit { display: inline-flex; align-items: center; }
.co-step:not(.is-current):not(.is-done) .co-step__head h2 { color: var(--muted); }
.co-body { padding: 0 20px 22px; }
.co-options { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.co-option { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 16px; border: 1.5px solid var(--rule); border-radius: 18px; background: #FFFDF8; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.co-option:hover { border-color: var(--field); }
.co-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-option__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--field); background: #FFFDF8; display: grid; place-items: center; }
.co-option__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.co-option__body { display: grid; gap: 2px; }
.co-option__name { font-weight: 600; color: var(--walnut); line-height: 1.35; }
.co-option__meta { font-size: 15px; color: var(--muted); line-height: 1.4; }
.co-option__price { font: 400 24px/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); white-space: nowrap; }
.co-form { min-width: 0; }
.co-option--featured { margin-top: 8px; }   /* room for the Best value flag */
.co-empty { color: var(--muted); font-style: italic; }   /* checkout.js: summary before an option is chosen */
.co-option__flag { position: absolute; top: -11px; right: 16px; padding: 3px 10px; border-radius: 99px; background: var(--clay); color: var(--btn-fg); font: 600 var(--fs-micro)/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.co-option:has(input:checked) { border-color: var(--clay); background: #FBEFE6; box-shadow: 0 0 0 1px var(--clay) inset; }
.co-option:has(input:checked) .co-option__dot { border-color: var(--clay); }
.co-option:has(input:checked) .co-option__dot::after { background: var(--clay); }
.co-option:has(input:focus-visible) { outline: 3px solid var(--clay-deep); outline-offset: 2px; }
.co-error { margin: 0 0 12px; color: var(--clay-deep); font-weight: 600; }   /* above the options it names; focus moves to the first one */
.co-addon { display: grid; gap: 12px; margin-top: 14px; padding: 16px; border-radius: 18px; background-color: var(--linen); --clay-deep: #7C3713; }
.co-addon strong { color: var(--walnut); }
.co-addon span { font-size: 15.5px; color: var(--muted-linen); }
.qty { display: inline-flex; align-items: center; justify-self: start; border: 1.5px solid var(--field); border-radius: 99px; background: #FFFDF8; }
.qty button { width: 46px; height: 46px; border: 0; background: none; color: var(--walnut); font: 600 20px/1 var(--sans); cursor: pointer; }
.qty button:hover { background: var(--linen); }
.qty input { width: 44px; height: 46px; border: 0; border-inline: 1px solid var(--rule); background: none; text-align: center; font: 600 17px/1 var(--sans); color: var(--walnut); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* The end buttons round their own outer side (the pill used to clip them with overflow: hidden,
   which also cut each control's 3px focus ring down to a sliver along the dividers). The ring is
   drawn inside the control, following its shape. */
.qty button:first-child { border-radius: 99px 0 0 99px; }
.qty button:last-child { border-radius: 0 99px 99px 0; }
.qty :focus-visible { outline-offset: -4px; }
.co-actions { margin-top: 18px; }
.co-actions .btn { width: 100%; }
/* Phones and tablets (no side summary): a one-line running total above each Continue button. */
.co-running { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--linen); font-weight: 600; color: var(--walnut); }
.co-running b { font: 400 24px/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); }
.co-running + .co-actions { margin-top: 12px; }
.co-invoice { margin: 10px 0 0; font-size: 15.5px; color: var(--muted); text-align: center; }
@media (min-width: 1100px) { .co-running { display: none; } .co-running + .co-actions { margin-top: 18px; } }
.co-review { padding: 14px 16px; border-radius: 16px; background: #FFFDF8; border: 1px solid var(--rule); }
.co-review p { margin: 0 0 8px; }
.co-pay { margin: 16px 0 0; padding: 0; border: 0; }
.co-pay legend { margin-bottom: 8px; font-weight: 600; }
.co-pay__opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--clay); border-radius: 16px; background: #FBEFE6; }
.co-summary { padding: 22px 20px; border-radius: 26px; background: var(--card); border: 1px solid rgba(205, 187, 164, .6); box-shadow: 0 26px 46px -34px rgba(58, 39, 25, .6); }
.co-summary h2 { font-size: clamp(23px, .6vw + 20px, 28px); margin-bottom: 14px; }
.co-course { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--rule); }
.co-course img { width: 64px; height: 72px; object-fit: cover; border-radius: 32px 32px 10px 10px; }
.co-course b { display: block; font: 400 20px/1.2 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); }
.co-course span { font-size: 15px; color: var(--muted); }
.co-lines { list-style: none; margin: 0; padding: 0; }
.co-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.co-lines li span { color: var(--walnut); font-weight: 600; line-height: 1.35; }
.co-lines small { display: block; margin-top: 2px; font-weight: 400; font-size: 15px; color: var(--muted); }
.co-lines b { font: 400 22px/1.2 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); white-space: nowrap; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; font-weight: 600; font-size: 17px; }
.co-total b { font: 360 40px/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; color: var(--ink); letter-spacing: -0.02em; }
.co-due { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #E8EBDD; color: var(--olive-band); font-weight: 600; font-size: 15.5px; }
.co-small { margin: 0; font-size: 15px; color: var(--muted); }
.co-trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.co-trust li { display: flex; gap: 10px; align-items: flex-start; }
.co-trust .i { width: 18px; height: 18px; color: var(--olive); margin-top: 1px; }
@media (min-width: 640px) {
  .co-addon { grid-template-columns: 1fr auto; align-items: center; }
  .co-actions .btn { width: auto; min-width: 280px; }
  .co-step__head { padding: 22px 26px; }
  .co-body { padding: 0 26px 26px; }
  .co-summary { padding: 28px 28px; }
}
@media (min-width: 1100px) {
  .co-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 32px; }
  .co-summary { position: sticky; top: calc(var(--header-h) + 24px); }
}
.co-confirm[hidden], .co-body[hidden] { display: none; }

/* 21. Generic rows and long-form ---------------------------------------
   For pages still rendered by render_row() (about, counseling, community,
   programs hub, college readiness, books, podcasts) and for long-form text
   (blog posts, privacy). These keep the generator's class names. */
.grid--2, .grid--3 { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.media { overflow: hidden; border-radius: 24px; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) sepia(.1); }
.media--contain { background: none; border-radius: 0; }
.media--contain img { object-fit: contain; filter: none; }
.media--arch { border-radius: 999px 999px 0 0; }
.media--frame { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(10, 8, 4, .7); }
.media--frame img { display: block; }
.col-card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: var(--card); box-shadow: 0 26px 46px -38px rgba(58, 39, 25, .6); }
.col-card.on-dark { background: var(--olive-band); }
.col-card > :last-child { margin-bottom: 0; }
.col-card h3 { margin-bottom: 10px; }
.col-card ul { margin: 0 0 18px; padding-left: 1.2em; }
.col-card li { margin-bottom: 6px; }
.col-card li::marker { color: var(--clay-deep); }
.col-card .link-arrow, .col-card .btn { margin-top: auto; align-self: flex-start; }
.col-card--quiet { background: transparent; box-shadow: none; border: 1.5px dashed var(--rule); }
.col-card--quiet a { font-weight: 600; }
.col-card--accent { background: #FBF1E2; outline: 2px solid var(--terracotta); outline-offset: -2px; }
.col-card__tag { margin: 0 0 12px; font: 600 var(--fs-label)/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--clay-deep); }
/* Program cards on the Programs hub: one per corporate program page, its workshop list, one link. */
.progcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 64px); }
/* WebKit keeps a stale min-content width for the 4:3 thumbnails after the viewport narrows
   (rotation, Split View); an explicit shrinkable column and min-width: 0 let the cards reflow. */
.progcards > * { min-width: 0; }
@media (min-width: 700px) { .progcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .progcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.progcards .col-card h3 a { color: var(--ink); text-decoration: none; }
.progcards .col-card h3 a:hover { color: var(--clay-deep); text-decoration: underline; }
.progcards ul { font-size: 16px; line-height: 1.45; }
/* Contact details beside a form (contact page). */
.contact-details { display: grid; gap: 22px; align-content: start; }
.contact-details h2 { font-size: clamp(26px, 1.2vw + 21px, 34px); margin: 0; }
.contact-details dl { margin: 0; display: grid; gap: 14px; }
.contact-details dt { font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-details dd { margin: 2px 0 0; font-size: 18px; overflow-wrap: anywhere; }
.contact-details dd a { color: var(--walnut); font-weight: 600; text-underline-offset: 4px; }
.contact-details .socials { grid-column: auto; grid-row: auto; }
.contact-details .socials a { border-color: var(--field); color: var(--walnut); }
.contact-details .socials a:hover { background: var(--linen); color: var(--clay-deep); }
/* Video embed in blog posts: 16:9, rounded, no border. */
/* The facade and the player round their own corners: an overflow: hidden on the frame clipped the
   3px focus ring drawn outside them, so keyboard focus on the video showed nothing. The ring now
   sits on the plaster around the video (clay-deep, 6.17). */
.video-embed { margin: 0 0 1.4em; border-radius: 20px; background: var(--sand); }
.video-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 20px; }
/* The player a keyboard user opened keeps a ring while focus is in it (components.js sets the class). */
.video-embed.is-kbd-focus { outline: 3px solid var(--clay-deep); outline-offset: 3px; }
/* Click-to-load facade: no YouTube request, and no video frame (which shows EJ) until the reader asks. */
.video-facade { position: relative; display: grid; place-content: center; justify-items: center; gap: 14px; aspect-ratio: 16 / 9; padding: 20px; border-radius: 20px; text-align: center; text-decoration: none; color: var(--on-dark); background-color: var(--olive-band); background-image: var(--tex-relief), var(--tex-grain); background-size: 512px 512px, 256px 256px; }
.video-facade:hover { color: var(--peach); }
.video-facade__play { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--peach); color: var(--walnut-deep); box-shadow: 0 16px 30px -14px rgba(10, 8, 4, .7); transition: transform .25s ease; }
.video-facade__play .i { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.video-facade__label { font-weight: 600; font-size: 17px; text-decoration: underline; text-underline-offset: 5px; }
.quote { margin: 0; text-align: center; }
.quote blockquote { margin: 0 0 14px; }
.quote blockquote p { margin: 0; font: 300 clamp(22px, 1vw + 18px, 30px)/1.32 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--ink); }
.quote figcaption { font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); }
.quotes { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--rule); gap: clamp(32px, 5vw, 72px); }
.tagline h3, .boxed-line h2, .boxed-line h3 { font-weight: 300; text-align: center; }
.boxed-line { padding: 22px 26px; border: 1.5px solid var(--terracotta); border-radius: 22px; }
.uc { text-transform: none; }          /* old Duda all-caps headings: title-case them in the generator */
.accent { color: var(--clay); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 1.2vw + 21px, 34px); margin: 1.4em 0 .5em; }
.prose h3 { font-size: clamp(22px, .6vw + 19.5px, 26px); margin: 1.3em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--clay-deep); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 2px solid var(--terracotta); font: 300 clamp(21px, .8vw + 18px, 26px)/1.4 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--ink); }
.prose img { border-radius: 20px; }
.checks { border: 0; padding: 0; margin: 0 0 18px; }
.checks legend { margin-bottom: 8px; font-weight: 600; color: var(--walnut); }
.checks label { display: flex; gap: 12px; align-items: flex-start; min-height: 40px; font-size: 16.5px; }
.checks input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--clay); }
.form-step[hidden] { display: none; }
.form-step__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.form--boxed { padding: 26px 20px; border-radius: 26px; background: var(--card); box-shadow: 0 26px 46px -38px rgba(58, 39, 25, .6); }
@media (min-width: 640px) { .form--boxed { padding: 36px 34px; } }

/* Blog: the markup is the BLOG-TEMPLATE spec the myaieditor publisher (template adapter) clones and
   rewrites by exact class name: #postGrid holding <a class="post-card" href> cards with
   .post-card-thumb img, .post-card-body, div.post-card-title, div.post-card-meta, p.post-card-desc;
   posts with .blog-post-hero (h1, div.post-meta), .blog-post-wrap, <article class="blog-article">
   (exactly that class: the editor reads the body back with it) and .blog-sidebar. The whole card
   is one link (no link inside it), so the publisher's clone ends at the card's own </a>. */
.post-grid { display: grid; gap: 26px; margin-top: 30px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* A lone last card on a two-column row spans it, photo beside the text, instead of leaving half the row empty. */
@media (min-width: 640px) and (max-width: 1099px) {
  .post-grid > .post-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .post-grid > .post-card:last-child:nth-child(odd) .post-card-thumb { aspect-ratio: auto; }   /* stretches to the text's height */
}
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: var(--card); color: var(--walnut); text-decoration: none; box-shadow: 0 26px 46px -38px rgba(58, 39, 25, .6); }
.post-card:hover { color: var(--walnut); }
.post-card-thumb { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) sepia(.1); transition: scale .5s ease; }   /* hover scale: section 22 */
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card-title { margin: 0 0 6px; font: 340 clamp(21px, .6vw + 18.5px, 25px)/1.07 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 0; letter-spacing: -0.012em; text-wrap: balance; color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-card:hover .post-card-title { color: var(--clay-deep); text-decoration-line: underline; }
.post-card-meta { margin-bottom: 10px; font: 600 16.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card-desc { font-size: 16.5px; }
.post-card-more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: auto; font-weight: 600; color: var(--clay-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-card-more .i { width: 18px; height: 18px; }
.blog-post-hero { padding: clamp(36px, 5vw, 72px) 0 10px; text-align: center; }
.blog-post-hero h1 { font-size: clamp(36px, 2.6vw + 26px, 64px); max-width: 18em; margin-inline: auto; }
/* The hero date. The publisher rewrites div.post-meta as author, date and read time with
   .post-meta-dot separators. */
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; margin-bottom: 10px; font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.blog-post-wrap { display: grid; gap: 40px; }
@media (min-width: 1100px) { .blog-post-wrap { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
/* The lead image sits above the article, not in it: the publisher swaps the first image after
   the hero (this one) for the new post's photo, then replaces everything inside the article. */
.blog-post-main { min-width: 0; }
.blog-post-lead { width: 100%; max-width: 68ch; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 28px; border-radius: 24px; filter: saturate(.86) sepia(.1); }   /* 16:9 whatever photo a new post brings */
.blog-article { max-width: 68ch; }
.blog-article h2 { font-size: clamp(26px, 1.2vw + 21px, 34px); margin: 1.3em 0 .5em; }
.blog-article h3 { font-size: clamp(22px, .6vw + 19.5px, 26px); margin: 1.2em 0 .4em; }
.blog-article li::marker { color: var(--clay-deep); }
.prose blockquote .cite { margin: 10px 0 0; font: 600 var(--fs-label)/1.4 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose blockquote p { margin: 0; }
.blog-sidebar .card { margin-bottom: 22px; padding: 24px; border-radius: 24px; background-color: var(--linen); --clay-deep: #7C3713; }
.blog-sidebar .card li { margin-bottom: 8px; }
.blog-sidebar .card .btn-row { margin-top: 14px; }
.blog-sidebar .card ul { padding-left: 1.1em; }
.blog-sidebar .h3, .blog-sidebar h2 { font-size: 22px; }
.h3 { font-size: var(--fs-h3); }

/* 22. Motion: transform only, finite, never hides text. ------------------
   Load: the hero photo settles, the sun badge lifts. Hover: cards lift, door photos scale.
   Scroll (900+, where supported): cards rise 28px with the separate translate property; the
   horizon sun rises. No photo drift (it tracked the arch, not the page, and cropped the photos). */
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes lift-in { from { transform: translateY(14px); } to { transform: none; } }
@keyframes rise { from { translate: 0 28px; } to { translate: 0 0; } }
@keyframes sunrise { from { transform: translate3d(0, 46%, 0); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .settle > img, .settle > picture > img { animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both; }
  .sunbadge { animation: lift-in 1.6s .3s cubic-bezier(.2, .7, .2, 1) both; }
  .door:hover { transform: translateY(-4px); }   /* only whole-card links lift */
  .door:hover .door__arch img { scale: 1.04; }
  /* Hover nudges: none of them moves under reduced motion, instantly or otherwise. */
  .btn:hover .i--go { transform: translateX(3px); }
  .link-arrow:hover .i, .door:hover .door__more .i { transform: translateX(4px); }
  .pricechip:hover { transform: translateY(-4px); }
  .video-facade:hover .video-facade__play { transform: scale(1.06); }
  .post-card:hover .post-card-thumb img { scale: 1.04; }
  @media (min-width: 900px) {
    @supports (animation-timeline: view()) {
      .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
      .horizon__sun { animation: sunrise linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    }
  }
}
@media print { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 23. Production additions: states the mockups do not render. -----------
   The checkout confirmation (checkout.js shows [data-confirm] after a real
   accepted:true), in the same card language as the steps and the summary. */
.co-confirm { max-width: 760px; padding: clamp(26px, 4vw, 48px); border-radius: 26px; background: var(--card); border: 1px solid rgba(205, 187, 164, .6); box-shadow: 0 26px 46px -34px rgba(58, 39, 25, .6); }
.co-confirm h2 { margin-bottom: 18px; }
.co-confirm dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 22px; margin: 0 0 22px; padding: 16px 0; border-block: 1px solid var(--rule); }
.co-confirm dt { font: 600 var(--fs-label)/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.co-confirm dd { margin: 0; font-weight: 600; color: var(--walnut); overflow-wrap: anywhere; }
.co-confirm .btn-row { margin-top: 22px; }
/* Posts carry <article class="blog-article"> with no .prose (the myaieditor editor reads the body
   back only from an article whose class is exactly blog-article), so .blog-article carries every
   long-form detail .prose gives the mockup's post. */
.blog-article ul, .blog-article ol { margin: 0 0 1em; }
.blog-article li { margin-bottom: 6px; }
.blog-article img { border-radius: 20px; }
.blog-article blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 2px solid var(--terracotta); font: 300 clamp(21px, .8vw + 18px, 26px)/1.4 var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--ink); }
.blog-article blockquote p { margin: 0; }
.blog-article blockquote .cite { margin: 10px 0 0; font: 600 var(--fs-label)/1.4 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* checkout.js toggles [hidden] on these; their own display rule would otherwise beat the UA's
   [hidden] { display: none } (the sponsor row showed before an option was chosen). The summary's
   Total row waits for a choice too: "Total $0" in the 40px price style reads like a price. */
.co-addon[hidden], .co-layout[hidden], .co-running[hidden], .co-option[hidden], .co-total[hidden] { display: none; }
/* The open phone menu is a deep olive overlay without .on-dark: give its focus ring the peach
   used on every other dark ground (clay-deep on olive-deep is about 1.6:1). */
.nav-open .nav :focus-visible, .nav-open .menu-btn:focus-visible { outline-color: var(--peach); }
/* Empty until an option is chosen: no empty sage pill in the summary. */
.co-due:empty, .co-invoice:empty { display: none; }
/* reCAPTCHA v3: every form prints the attribution (.recaptcha-note, the footer's .fine), which is
   Google's condition for hiding the badge. Hidden, its iframe also leaves the tab order, and it no
   longer sits over the bottom-right of the page on phones. */
.grecaptcha-badge { visibility: hidden; }
/* Long addresses (ejd@creativecounselingsolutionsllc.com, www.CreativeCounselingSolutionsLLC.com)
   may break anywhere rather than push the page wider than a 320px screen (WCAG 1.4.10). Not on
   buttons, not on the sun badge, whose two-line label is sized with min-content, and not on the
   card links (price chips, blog cards), whose text is words in a sized column: inherited, it let
   the price chip's "$199" shrink to one character per line. */
main a:not(.btn):not(.sunbadge):not(.pricechip):not(.post-card) { overflow-wrap: anywhere; }
/* Plain-text URLs and emails in copy (the privacy policy) must wrap on narrow screens and under
   WCAG 1.4.12 text spacing; break-word leaves min-content sizing alone, so cards and chips are unaffected. */
main p, main li { overflow-wrap: break-word; }
/* Breadcrumb links: a 33px tall target (spec floor 32px) with no layout shift. */
.crumbs a { display: inline-block; padding-block: 7px; margin-block: -7px; }
/* Contact details (phone, email, Client Portal): the same technique, about 40px tall. */
.contact-details dd a { display: inline-block; padding-block: 5px; margin-block: -5px; }
/* A visually hidden heading leaves nothing to space from (Who We Serve). */
.sr-only + .progcards { margin-top: 0; }
/* A 4:3 thumbnail at the top of a card (Who We Serve audiences), treated like .service__img. */
.col-card__img { margin: 0 0 22px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: var(--sand); }
.col-card__img img { width: 100%; height: 100%; object-fit: cover; }
/* Who We Serve only: the dashed "Also from EJ" card keeps its own height beside the tall audience
   cards (stretched to the row it was an 850px empty dashed box). On the Programs hub it stretches
   with its row of program cards, as approved. */
.progcards--audiences > .col-card--quiet { align-self: start; }
/* Its links are 31px tall targets (WCAG 2.5.8 asks 24px) with no layout shift. vertical-align: top
   keeps a wrapped link's bullet on its first line (an inline-block's baseline is its last line, so
   "College Mental Health / Readiness" read as two items at 320). */
.col-card--quiet li a { display: inline-block; vertical-align: top; padding-block: 4px; margin-block: -4px; }
/* College Readiness flyer card: the link lines up with the tag and the flyer (.col-card ul would
   indent it), and the flyer is rounded like every other image on the site. The flyer is capped at
   410px, the size its srcset is cut for, so a tablet's full-width card does not blow it up. */
.col-card .end-links { margin: 16px 0 0; padding-left: 0; }
.col-card > a > img { border-radius: 18px; }
.col-card__flyer { width: 100%; max-width: 410px; }
/* Under 900 the flyer card is one full-width column: it takes the flyer's width (410 plus its
   padding) instead of leaving the right half of a 700px card empty beside the flyer. */
@media (max-width: 899px) { .col-card:has(.col-card__flyer) { max-width: calc(410px + 2 * clamp(24px, 3vw, 40px)); } }
/* The footer newsletter field's focus ring: peach on the walnut wood (6.56), where the form rule's
   clay-deep was 1.60:1. Wins on specificity (0,3,0), wherever it sits. */
.footer .input:focus-visible { outline-color: var(--peach); }
/* Accessibility buttons: UserWay's documented custom trigger (the footer's copy is the element the
   script tag names in data-trigger) and two more that call UserWay.widgetOpen() (the phone menu, the
   notice bar). Buttons dressed as text links. Each keeps its space but stays invisible until the
   widget reports it is ready (components.js adds .is-ready on userway:init_completed), so none is
   ever a dead control and the bar never shifts when it appears; the footer's copy sits last in its
   row, so a blocked widget leaves no visible gap, and the menu's copy takes no room until then. */
.a11y-trigger { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.a11y-trigger .i { width: 17px; height: 17px; }
.a11y-trigger:not(.is-ready) { visibility: hidden; }
.footer .a11y-trigger { color: var(--on-dark); }
.footer .a11y-trigger:hover { color: var(--peach); }
.nav__foot .a11y-trigger { gap: 10px; min-height: 44px; color: var(--on-dark); font-weight: 600; text-decoration: none; }
.nav__foot .a11y-trigger .i { width: 19px; height: 19px; color: var(--peach); }
.nav__foot .a11y-trigger:not(.is-ready) { display: none; }
/* The footer logo link (home): from 900, where .footer__brand turns from a grid into a block, the
   link became an inline box around a block image, and Chromium paints no outline for that, so
   keyboard focus showed nothing. An inline-block link takes the ring. */
.footer__brand > a { display: inline-block; vertical-align: top; }
/* The logos are <picture>s (a light copy for dark forced-color themes and the reverse, see
   build_site.py), sized by their <img> as before. */
.brand picture, .footer__brand picture { display: block; }
/* The sun badge and the price chips sit across a photo, the clay slab and the olive band, where one
   ring color cannot hold 3:1 all the way round: focus draws an ink ring on a plaster halo (10.9:1),
   which reads on any ground. Forced colors drop the halo and keep the outline. */
.sunbadge:focus-visible, .pricechip:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 9px var(--plaster); }

/* 24. Forced colors (Windows High Contrast) --------------------------------
   Forced colors repaint every color from the system palette and drop box-shadows, so a state shown
   only by a fill, a tint or a shadow vanishes. Each such state gets a system-color border, outline
   or underline here (checked with page.emulateMedia({ forcedColors: 'active' }) in test-sunlit.js). */
@media (forced-colors: active) {
  /* Doors: keyboard focus was a box-shadow ring (the stretched link's own outline is switched off). */
  .door:focus-within { outline: 3px solid Highlight; outline-offset: 3px; }
  /* Checkout options: the chosen card was a clay tint, an inset shadow and a filled custom dot. The
     native radio comes back (it paints its own checked state in system colors) and the chosen card's
     border goes from 2px to 5px (the browser paints borders in the system text color); the padding
     gives back what the border takes, so nothing moves. */
  .co-option { border: 2px solid CanvasText; }
  .co-option__dot { display: none; }
  .co-option input { position: static; width: 22px; height: 22px; margin: 0; opacity: 1; }
  .co-option:has(input:checked) { border: 5px solid Highlight; padding: 13px; }
  /* Checkout steps: the current step's number was a clay disc, a done step's an olive one (the done
     step also shows a check). The current one becomes a Highlight disc. */
  .co-step.is-current .co-step__num { forced-color-adjust: none; background: Highlight; border-color: Highlight; color: HighlightText; }
  .co-step.is-done .co-step__num { border-width: 3px; }
  /* The current page in the nav was a terracotta arc (a background gradient) or a color change. */
  .nav__link[aria-current="page"], .nav__link.is-active, .nav__sub a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .nav__sub a:hover { text-decoration: underline; }
  /* The price table's best-value row was a warm tint with a terracotta inset rule. */
  .pricetable tr.is-best { outline: 2px solid CanvasText; outline-offset: -2px; }
  /* The sun badge reads as a disc, and form messages as boxes, without their fills. The disc's
     gradient is dropped in forced colors, which left it see-through over the palm photo: it gets a
     solid Canvas fill. */
  .sunbadge { border: 2px solid CanvasText; background: Canvas; }
  .form-success.show, .form-error.show, form.is-done .form-success { border: 2px solid CanvasText; }
}

/* ==========================================================================
   2026-11-08 revision (Justin): arches ("keyholes") become squares with slightly
   rounded corners, and the heroes go back to a full-bleed photo with the text
   over it. These rules come last so they override the arch rules above.
   ========================================================================== */
:root { --r-photo: 14px; }

/* Rounded squares instead of arches */
.arch, .archset__clay, .archset__line, .tw__arch, .media--arch, .door__arch { border-radius: var(--r-photo); }
.tw__arch-wrap::after { border-radius: calc(var(--r-photo) + 6px); border-bottom: 1.5px solid rgba(240, 180, 143, .55); inset: -12px; }
.archset, .story__art .arch, .titleband__art .archset { aspect-ratio: 1 / 1; }
.tw__arch { aspect-ratio: 1 / 1; }
.door { border-radius: 18px; }
@media (max-width: 639px) { .door__arch { width: 92px; height: 92px; min-height: 0; aspect-ratio: 1 / 1; } }
@media (min-width: 640px) and (max-width: 899px) { .door__arch { width: auto; height: auto; min-height: 0; aspect-ratio: 1 / 1; } }
@media (min-width: 900px) { .door { border-radius: 18px; } .door__arch { aspect-ratio: 1 / 1; height: auto; min-height: 0; border-radius: var(--r-photo); } }
.datetile { border-radius: 12px; }
.co-course img { border-radius: 10px; }

/* Photo heroes: home, title bands, 404/thank-you and the Treading Water course.
   The photo sits behind a 60% dark scrim, so even a pure-white pixel stays under
   ivory text at AA (ivory on rgb(102,102,102) is 4.9:1; the real photos are darker). */
.hero--photo, .titleband--photo, .twhero--photo { position: relative; isolation: isolate; overflow: hidden; background-color: var(--olive-deep); }
.photohero__media { position: absolute; inset: 0; z-index: -1; }
.photohero__media img, .photohero__media picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.photohero__media::after { content: ""; position: absolute; inset: 0; background: rgba(28, 22, 15, .6); }
.photohero__inner { position: relative; }
.hero--photo h1, .titleband--photo h1, .twhero--photo h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero--photo h1 .it, .titleband--photo h1 .it { color: var(--peach); }
.hero--photo .lede, .titleband--photo .lede, .titleband--photo .titleband__lede, .twhero--photo .twhero__by { color: var(--on-dark); }
.hero--photo .trust { border-top-color: rgba(243, 233, 220, .3); color: var(--on-dark); }
.hero--photo .trust .i { color: var(--peach); }

.hero--photo { display: grid; align-content: center; min-height: min(82vh, 760px); padding-block: clamp(64px, 9vw, 128px); }
.photohero__inner--home { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .photohero__inner--home { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 80px); } }
.photohero__badge:empty { display: none; }
.photohero__badge .sunbadge { position: relative; left: auto; top: auto; }

.titleband--photo { padding-block: clamp(64px, 9vw, 128px); }
.titleband--photo h1 { max-width: 14em; }
.titleband--photo .titleband__lede { max-width: 34em; }
.titleband--photo .crumbs, .titleband--photo .crumbs a { color: var(--on-dark); }

.twhero--photo { padding-bottom: clamp(96px, 11vw, 150px); }
.twhero--photo + .twintro .pricechips, .twhero--photo ~ .twintro .pricechips { margin-top: -46px; }
/* The sun badge keeps ink text on its gold disc inside the dark photo hero
   (.on-dark a would otherwise turn it ivory). */
.hero--photo .photohero__badge a.sunbadge, .hero--photo .photohero__badge a.sunbadge:hover { color: var(--ink); text-shadow: none; }
/* Gradient scrims (Justin, 2026-11-08): darkest behind the text, lighter where the
   photo shows. Phones stack the text full width, so the scrim stays even there.
   The text column ends near 55% of the width on desktop, where the scrim is still .58+. */
.photohero__media::after { background: linear-gradient(180deg, rgba(28, 22, 15, .58) 0%, rgba(28, 22, 15, .7) 100%); }
@media (min-width: 900px) {
  .hero--photo .photohero__media::after, .titleband--photo .photohero__media::after {
    background: linear-gradient(90deg, rgba(28, 22, 15, .76) 0%, rgba(28, 22, 15, .64) 45%, rgba(28, 22, 15, .5) 62%, rgba(28, 22, 15, .22) 100%);
  }
  .twhero--photo .photohero__media::after { background: radial-gradient(ellipse 70% 75% at 50% 42%, rgba(28, 22, 15, .66) 0%, rgba(28, 22, 15, .5) 60%, rgba(28, 22, 15, .3) 100%); }
}

/* EJ's portrait on About (her own photo from the old site), beside "My story". */
.portrait-col { display: grid; gap: 28px; align-content: start; }
.portrait { margin: 0; max-width: 420px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-photo); box-shadow: 0 22px 40px -30px rgba(58, 39, 25, .6); }
.portrait figcaption { margin-top: 10px; font-size: 15px; color: var(--walnut); }
@media (max-width: 899px) { .portrait { max-width: 360px; } }

/* Five doors (Programs and Corporate Trainings and Speaking are separate since 2026-11-20).
   Two columns from 640: the fifth door centers on its own row at one column's width.
   Five across from 1200, with a smaller title so the longest name wraps to three lines at most. */
@media (min-width: 640px) {
  .doors > .door:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors > .door:last-child:nth-child(odd) { width: calc(50% - 12px); }
}
@media (min-width: 1200px) {
  .doors { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .doors > .door:last-child:nth-child(odd) { grid-column: auto; width: auto; }
  .doors .door__title { font-size: clamp(22px, 1.7vw, 26px); }
  .doors .door__text { font-size: 16px; }
  .doors .door__tag, .doors .door__title, .doors .door__text, .doors .door__more, .doors .door__links { margin-inline: 6px; }
}

/* "EJ" in a heading set in the plain body font, so the J has no curl below the line. */
/* The "EJ" letters cropped straight from the logo, so they match the script at the top of the page. */
.ej-plain { font-family: 'Pacifico', 'Brush Script MT', cursive; font-weight: 400; font-style: normal; letter-spacing: 0; font-size: .95em; color: var(--walnut); }
/* Same script "EJ", but it keeps the heading's own color (for headings on dark backgrounds). */
.ej-script { font-family: 'Pacifico', 'Brush Script MT', cursive; font-weight: 400; font-style: normal; letter-spacing: 0; font-size: .95em; color: inherit; }
