/* ============================================================
   Centre for Wholeness & Well Being — shared site styles (multipage)
   Shared by every page: index.html, pathways.html,
   team.html, exomind.html, blog.html, events.html, contact.html.
   Palette verified against the Centre logo — see BRAND_COLOUR_NOTES.md
   ============================================================ */

:root {
  /* Verified logo colours */
  --ink: #0A3339;          /* dark navy — primary */
  --ink-deep: #06181B;     /* computed darker shade, for hover states and footer */
  --mid-teal: #34596F;     /* blended tone present in the logo file */
  --light-blue: #7A94A2;   /* light blue — secondary */
  --sage: #94A98A;         /* green accent */

  /* Proposed, non-logo neutrals — see BRAND_COLOUR_NOTES.md */
  --bg-light: #F7F8F6;
  --body-text: #1E292E;
  --warm: #C4824A;         /* proposed warm accent — defined, unused this pass */

  --white: #FFFFFF;
  --sage-wash: #E6EEE0;    /* sage tinted, used as a section background — deepened Aug 8 so it reads as a
                               distinct chapter next to white/bg-light, not a third near-identical off-white */
  --blue-wash: #E5EBEF;    /* light-blue tinted, used as a section background — deepened Aug 8, same reason */
  --line: rgba(10, 51, 57, .14);
  --shadow: 0 16px 40px rgba(10, 51, 57, .09);

  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
  --shell-narrow: min(720px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--body-text);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
/* The `svg { display: block }` reset above is an author rule, so it beats the browser's own
   `[hidden] { display: none }` UA rule regardless of specificity (author origin always wins over
   UA origin for normal declarations) — without this, a hidden SVG icon still renders. This
   applies to any element, not just SVG, since the same trap applies to any reset that sets
   `display`. */
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--mid-teal); outline-offset: 3px; }
.on-dark :focus-visible,
.next-steps :focus-visible,
.cta-band :focus-visible,
.exomind :focus-visible,
.page-hero--navy :focus-visible,
.hero--video :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.24; margin: 0; overflow-wrap: break-word; text-wrap: balance; }
p { margin: 0; overflow-wrap: break-word; }
address { font-style: normal; margin: 0; overflow-wrap: break-word; }

.shell { width: var(--shell); margin-inline: auto; }
.shell--narrow { width: var(--shell-narrow); margin-inline: auto; }
.section { padding: 72px 0; }
.section--flush-top { padding-top: 0; }
/* team.html only: Practitioners follows Founders directly, both plain white with no colour
   change between them — a hairline instead of a third tint. See
   V3_7_COLOUR_AND_SECTION_RHYTHM.md. Same V3.9 strengthening as .writing, for the same reason
   and at the same value — the two white-on-white seams on the site, kept consistent. */
#practitioners.section--flush-top { padding-top: 44px; border-top: 2px solid rgba(10, 51, 57, .22); }

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------- Visually hidden (available to assistive technology only) -------------------- */
.visually-hidden,
.visually-hidden-heading {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------- Skip link -------------------- */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  color: var(--white);
  background: var(--ink-deep);
  border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

/* -------------------- Header -------------------- */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { min-height: 88px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 12px; }
.brand { flex: 0 0 auto; width: 196px; }
.brand img { display: block; width: 100%; height: auto; }

.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 2px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--mid-teal);
  transition: right .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--mid-teal); }
.site-nav a[aria-current="page"]::after { right: 0; background: var(--sage); }

/* Mobile-only primary CTA. Donate is a standard navigation link at every width so its
   typography, spacing, hover treatment, and menu row match the rest of the navigation. */
.site-nav__mobile-actions { display: none; }

/* Icon-only hamburger — no visible text label (the accessible name comes from aria-label,
   toggled between "Open menu"/"Close menu" in script.js, mirroring the hero pause/play
   button's own aria-label-driven pattern). Explicit navy colour throughout: nothing here is
   left to inherit a browser/system default. */
.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .15s ease;
}
.menu-button:hover { background: var(--bg-light); }
.menu-button:active { background: var(--sage-wash); }
.menu-button__icon { position: relative; width: 22px; height: 15px; flex: none; }
.menu-button__icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}
.menu-button__icon i:nth-child(1) { top: 0; }
.menu-button__icon i:nth-child(2) { top: 6.5px; }
.menu-button__icon i:nth-child(3) { top: 13px; }
/* Plain hamburger → X on open. A quick icon swap, not a drawer animation — and neutralised
   entirely under prefers-reduced-motion by the global transition-duration override above. */
.menu-button[aria-expanded="true"] .menu-button__icon i:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__icon i:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-button__icon i:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }

/* Full-viewport scrim behind the open mobile nav — stops taps from reaching page content
   underneath the dropdown, and closes the menu on tap. Sits below .site-header's z-index
   (100) so the opaque header + open dropdown always paint above it; page content below has
   no z-index of its own, so the scrim covers it correctly without any extra bookkeeping. */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 51, 57, .32);
}
html.nav-open { overflow: hidden; }

/* -------------------- Buttons -------------------- */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button--small { min-height: 42px; padding: 9px 16px; font-size: 13px; }
.button--primary { color: var(--white); background: var(--ink); }
.button--primary:hover { background: var(--ink-deep); }
.button--ink { color: var(--white); background: var(--ink); }
.button--ink:hover { background: var(--ink-deep); }
.button--outline { color: var(--ink); background: transparent; border-color: var(--mid-teal); }
.button--outline:hover { background: var(--sage-wash); }
.button--outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.55); }
.button--outline-light:hover { background: rgba(255,255,255,.1); }
.button--text { color: var(--mid-teal); background: transparent; padding-inline: 4px; min-height: auto; text-decoration: underline; text-underline-offset: 3px; }
.button--text:hover { color: var(--ink); }
.button--text-light { color: var(--white); background: transparent; padding-inline: 4px; min-height: auto; text-decoration: underline; text-underline-offset: 3px; }
.button--text-light:hover { color: var(--sage); }

.button-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 24px; }
.button-row--center { justify-content: center; }

/* -------------------- Small kicker label (used sparingly) -------------------- */
.eyebrow { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--mid-teal); margin-bottom: 10px; }
.exomind .eyebrow { color: rgba(255,255,255,.7); }

/* -------------------- Section heading -------------------- */
.section-heading { margin-bottom: 36px; max-width: 620px; }
.section-heading p { margin-top: 8px; color: var(--body-text); }
.section-heading--center { text-align: center; max-width: 560px; margin-inline: auto; }
.section-heading h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }

/* -------------------- Homepage hero — V3.8 video treatment --------------------
   Full-bleed real Centre flythrough behind the same hero copy/CTAs the static-image hero
   carried. See V3_8_HERO_VIDEO_REVIEW.md for the overlay-value test and object-position
   reasoning behind the numbers below. */
.hero--video {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 640px;
  height: 82vh;
  height: 82svh; /* svh (not dvh): a stable floor that doesn't reflow the section as Safari's
                    chrome shows/hides mid-scroll — see the dvh use on the nav dropdown below,
                    which deliberately wants that live tracking instead. */
  max-height: 780px;
  padding: 64px 0 96px;
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
  background: var(--ink); /* shown briefly if the poster/video haven't painted yet — never a flash of white */
}
/* Centre navy at a tested alpha (see V3_8_HERO_VIDEO_REVIEW.md) — a single flat tint, no gradient.
   0.52 measured as low as 3.74:1 against white text over the brightest patch of sky in the
   footage (below the 4.5:1 normal text needs); 0.60 measured 4.58:1 in that same worst-case spot
   while still reading clearly as video, not a near-opaque photo. */
.hero__overlay { position: absolute; inset: 0; background: rgba(10, 51, 57, 0.60); }

.hero__inner { position: relative; z-index: 1; }
/* Centered composition: the group (kicker/h1/support/CTAs) sits as one block, centered within
   the shell rather than anchored to its left edge. max-width keeps the H1 from stretching into
   one very long line at wide viewports. */
.hero__content { min-width: 0; max-width: 700px; margin-inline: auto; text-align: center; }
/* Sage (--sage) was tested here first and measured as low as 1.99:1 against the bright sky in
   the video frame — well under the 4.5:1 this text size needs. White is reused instead: it's
   already proven safe (4-13:1 measured against every other patch of footage behind the hero
   copy), so this isn't a new colour, just the one already carrying the rest of the hero text. */
.hero__kicker { font-size: .95rem; font-weight: 600; line-height: 1.5; color: var(--white); text-shadow: 0 1px 20px rgba(0,0,0,.22); margin-bottom: 14px; }
/* One clamp, continuously scaling — not a stack of per-breakpoint pixel overrides. Anchored so
   320px resolves to 28px and 768px resolves to ~35px (both measured, not guessed), reaching the
   same 2.75rem/44px ceiling desktop already had; see V3_9_MOBILE_UX_REVIEW.md for the two-point
   derivation and the real-viewport measurements that confirmed it. */
.hero--video h1 { color: var(--white); font-size: clamp(1.75rem, 1.65vw + 1.42rem, 2.75rem); line-height: 1.16; margin-bottom: 18px; text-shadow: 0 1px 24px rgba(0,0,0,.18); }
.hero__support { font-size: 1.05rem; line-height: 1.6; max-width: 46ch; margin-inline: auto; color: rgba(255,255,255,.92); }

/* Single compact play/pause control — the WCAG 2.2.2 pause mechanism for auto-moving content
   over 5s shown alongside other content. Deliberately small and corner-anchored so it's
   discoverable without competing with the hero CTAs. Absolutely positioned against
   .hero--video itself (not the centered .shell) so "lower corner" means the corner of the
   full-bleed hero, at every viewport width. Colours reuse the exact values tested for contrast
   against this footage in the V3.8 toolbar (see V3_8_HERO_VIDEO_REVIEW.md) — not new numbers. */
.hero__motion-toggle {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(10, 51, 57, .45);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  cursor: pointer;
}
.hero__motion-toggle:hover { background: rgba(10, 51, 57, .65); }
.hero__motion-icon { width: 18px; height: 18px; flex: none; }

/* -------------------- Supporting-page intro band -------------------- */
.page-hero {
  position: relative;
  padding: 44px 0 40px;
  overflow: hidden;
}
.page-hero__motif {
  position: absolute;
  top: -100px;
  right: -120px;
  width: 320px;
  height: 320px;
  opacity: .08;
  pointer-events: none;
}
.page-hero--sage { background: var(--sage-wash); }
.page-hero--blue { background: var(--blue-wash); }
.page-hero--navy { background: var(--ink); color: var(--white); }
.page-hero--navy h1, .page-hero--navy .page-hero__eyebrow { color: var(--white); }
.page-hero--navy .page-hero__motif { color: var(--white); }
.page-hero--sage .page-hero__motif, .page-hero--blue .page-hero__motif { color: var(--ink); }
.page-hero__eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--mid-teal); margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.18; margin-bottom: 14px; }
.page-hero__subhead { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--mid-teal); margin-bottom: 10px; }
.page-hero__lead { font-size: 1.05rem; max-width: 58ch; }
.page-hero--navy .page-hero__lead { color: rgba(255,255,255,.85); }

/* -------------------- Breadcrumb-lite / back link -------------------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--mid-teal); text-decoration: none; margin-bottom: 18px; }
.back-link:hover { color: var(--ink); text-decoration: underline; }

/* -------------------- Pathways (homepage teaser + full page) -------------------- */
.pathways { background: var(--sage-wash); }
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pathway-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pathway-card h3 { font-size: 1.1rem; line-height: 1.3; }
.pathway-card p { font-size: .96rem; flex-grow: 1; }
.pathway-card a { font-size: .9rem; font-weight: 700; color: var(--mid-teal); text-decoration: none; }
.pathway-card a:hover { text-decoration: underline; }
.pathways__utility { margin-top: 28px; font-size: .96rem; color: var(--body-text); }
.pathways__utility a { color: var(--mid-teal); font-weight: 700; text-decoration: none; }
.pathways__utility a:hover { text-decoration: underline; }

/* -------------------- Approach + availability (combined, editorial split) -------------------- */
.approach { background: var(--blue-wash); }
.approach__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.approach__copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.approach__copy p { font-size: 1.02rem; max-width: 52ch; }
.approach__availability { border-left: 2px solid rgba(10,51,57,.18); padding-left: 28px; }
.approach__availability h3 { font-size: 1.1rem; margin-bottom: 10px; }
.approach__availability p { font-size: .96rem; }
.approach__note { margin-top: 10px; color: var(--mid-teal); font-weight: 600; font-size: .88rem; }

/* -------------------- EXOMIND (homepage mid-tone feature band) --------------------
   Deliberately mid-teal, not full ink navy: the closing "Get in touch" band is this
   site's one true dark, high-contrast moment. Giving EXOMIND the same full-ink
   treatment recreated the two-dark-band repetition the August 5 pass had removed —
   mid-teal reads as a distinct, confident feature moment without duplicating the
   close. White text on mid-teal is 7.5:1, comfortably above AA. See DESIGN_NOTES.md. */
.exomind { background: var(--mid-teal); color: var(--white); text-align: left; }
.exomind h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.exomind p { max-width: 62ch; font-size: 1.02rem; color: rgba(255,255,255,.88); }
.exomind .eyebrow { color: rgba(255,255,255,.75); }
.exomind .technology-intro { max-width: 72ch; }
.technology-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.technology-grid article { padding: 22px 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(255,255,255,.06); }
.technology-grid h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.technology-grid p { font-size: .96rem; }

/* -------------------- Founder story -------------------- */
.founder-story { background: var(--white); }
.founder-story__grid { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 64px; align-items: center; }
.founder-story__portraits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.founder-story__portraits img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.founder-story__copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.founder-story__copy > p:not(.eyebrow) { max-width: 58ch; }

/* -------------------- Community identity + ethical trust -------------------- */
.community-trust { background: var(--blue-wash); }
.community-trust__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.community-trust h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.community-trust__grid > div > p:not(.eyebrow) { max-width: 58ch; }
.trust-panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; box-shadow: var(--shadow); }
.trust-panel h3 { font-size: 1.15rem; margin-bottom: 10px; }
.trust-panel p { font-size: .95rem; margin-bottom: 16px; }
.trust-panel a { display: block; color: var(--mid-teal); font-size: .9rem; font-weight: 700; margin-top: 10px; }

/* -------------------- Not sure where to begin + team (combined, split) -------------------- */
/* -------------------- Numbered steps list (financing.html "As easy as 1–2–3") -------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: baseline; font-size: 1.02rem; color: var(--body-text); }
.steps span {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  flex: none;
}


/* -------------------- Team page (team.html) --------------------
   Editorial, not a staff directory: co-founders get a larger split treatment,
   the rest of the team reads as a plain divided list — no repeated equal-weight
   card grid, per the August 8 red-team direction to look like a real, established
   organization rather than a template. */
/* Both co-founder photos share one fixed, modest, consistent frame — a small square crop
   rather than a large portrait one. This is deliberate: Ryan's and Sue's source photos are
   very different resolutions (a professional sitting vs. a small existing headshot), and a
   large or differently-shaped crop would make that gap more visible, not less. A shared small
   frame plus more text room reads as "two people," not "one better photo and one worse one."
   See TEAM_ASSET_NOTES.md and the August 8 media-shoot note for the real fix (new photography). */
.team-founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 8px; align-items: start; }
.team-founder { display: flex; flex-direction: row; gap: 18px; align-items: flex-start; }
.team-founder img { width: 108px; height: 108px; flex: none; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
.team-founder h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-founder__role { font-size: .92rem; color: var(--mid-teal); font-weight: 700; margin-bottom: 6px; }
.team-founder__credentials { font-size: .82rem; color: var(--body-text); opacity: .8; margin-bottom: 10px; max-width: 42ch; }
.team-founder p { font-size: .97rem; max-width: 46ch; }
.team-founder__actions { display: flex; align-items: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
/* Real "book this person" / "email this person" actions — enlarged the same way as the
   Contact-page phone/email links (padding + a compensating negative margin), not just a text
   link's default line height. */
.team-founder__book, .team-founder__email { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.team-founder__book { font-size: .88rem; font-weight: 700; color: var(--mid-teal); text-decoration: underline; text-underline-offset: 3px; }
.team-founder__book:hover { color: var(--ink); }
.team-founder__email { font-size: .86rem; color: var(--mid-teal); text-decoration: none; }
.team-founder__email:hover { text-decoration: underline; }

/* Read more / read less — real disclosure buttons, not decorative accordions.
   .team-profile__more is visible by default (no JS = full bios, nothing hidden); script.js
   collapses it and wires up the toggle once JS is confirmed running. */
.team-profile__more { margin-top: 10px; }
.team-profile__more p + p { margin-top: 10px; }
/* min-height:44px + flex centering enlarges the actual tap target without visually bulking the
   control up — it still reads as a compact "Read more" text link, just with a comfortable hit
   area around it. Measured at 72×30px before this fix (team.html and programs.html both use
   this class) — under the 44px minimum this pass holds every other control to. */
.team-profile__toggle {
  margin-top: 2px;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  color: var(--mid-teal);
  background: none;
  border: none;
  padding: 4px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.team-profile__toggle:hover { color: var(--ink); }

/* Practitioners & advisors — a vertical editorial list, deliberately not a repeated card grid
   or a row of small identical avatars. Portraits share one moderate frame size regardless of
   source-photo quality (see TEAM_ASSET_NOTES.md). */
.team-profile-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.team-profile { display: flex; gap: 22px; align-items: flex-start; padding: 28px 0; border-top: 1px solid var(--line); }
.team-profile:last-child { border-bottom: 1px solid var(--line); }
.team-profile img { width: 88px; height: 88px; flex: none; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow); }
.team-profile__body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-profile__role { font-size: .86rem; color: var(--mid-teal); font-weight: 700; margin-bottom: 8px; }
.team-profile__body > p { font-size: .96rem; max-width: 56ch; }
.team-profile__actions { display: flex; align-items: center; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.team-profile__book, .team-profile__email { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.team-profile__book { font-size: .86rem; font-weight: 700; color: var(--mid-teal); text-decoration: underline; text-underline-offset: 3px; }
.team-profile__book:hover { color: var(--ink); }
.team-profile__email { font-size: .84rem; color: var(--mid-teal); text-decoration: none; }
.team-profile__email:hover { text-decoration: underline; }

.team-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.team-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.team-list li:last-child { border-bottom: 1px solid var(--line); }
.team-list img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.team-list h3 { font-size: 1.02rem; margin-bottom: 2px; }
.team-list__role { font-size: .86rem; color: var(--mid-teal); font-weight: 700; }
.team-list__book { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; font-size: .86rem; font-weight: 700; color: var(--mid-teal); text-decoration: none; white-space: nowrap; }
.team-list__book:hover { text-decoration: underline; }

/* -------------------- Writing (blog + events, combined) -------------------- */
/* Hairline, not a colour change — .writing follows another white section, so this is the
   V3.7 colour-rhythm pass's cheapest fix for "two adjacent white sections with no visual
   punctuation": a thin rule, not a third off-white tint. See V3_7_COLOUR_AND_SECTION_RHYTHM.md.
   V3.9 mobile red-team: at a quick mobile scroll speed the 1px/.14-alpha version of --line
   measured close to invisible against white on both sides (checked directly in a 390px
   screenshot, not assumed) — the one seam on the page a fast scroll could genuinely miss. Bumped
   to 2px at the same navy hue, just a stronger alpha of the colour already used for every other
   rule on the site, not a new one. See V3_9_MOBILE_UX_REVIEW.md. */
.writing { background: var(--white); border-top: 2px solid rgba(10, 51, 57, .22); }
.writing__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.writing__blog h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 22px; }
.post-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; }
.post-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.02rem; }
.post-list a:hover { color: var(--mid-teal); text-decoration: underline; }
.post-list p { margin-top: 4px; font-size: .88rem; color: var(--mid-teal); }

/* Homepage "latest post" mini-preview — one small image, not a repeat of blog.html's full
   treatment. Image and title share one link, so the image's alt is empty (see blog.html/index.html
   markup) rather than restating the adjacent visible title. */
.post-mini { display: flex; gap: 16px; align-items: center; text-decoration: none; margin-bottom: 18px; }
.post-mini img { width: 108px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.post-mini__body { display: flex; flex-direction: column; gap: 4px; }
.post-mini__title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.3; }
.post-mini:hover .post-mini__title { color: var(--mid-teal); text-decoration: underline; }
.post-mini__byline { font-size: .84rem; color: var(--mid-teal); font-weight: 600; }

/* -------------------- Blog landing page (blog.html) --------------------
   One large editorial feature (real image, not a rounded card) followed by a scannable
   image+text list — deliberately not a repeated card grid. */
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 48px; }
.post-feature__media { display: block; }
.post-feature__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.post-feature__eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--mid-teal); margin-bottom: 10px; text-transform: uppercase; }
.post-feature h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.22; margin-bottom: 14px; }
.post-feature h3 a { color: var(--ink); text-decoration: none; }
.post-feature h3 a:hover { color: var(--mid-teal); text-decoration: underline; }
.post-feature__excerpt { font-size: 1.05rem; color: var(--body-text); max-width: 52ch; margin-bottom: 12px; }
.post-feature__byline { font-size: .88rem; color: var(--mid-teal); font-weight: 600; }

.post-index { list-style: none; margin: 0 0 28px; padding: 0; max-width: 760px; }
.post-index__item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.post-index__item:last-child { border-bottom: 1px solid var(--line); }
.post-index__media { display: block; }
.post-index__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.post-index__body h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 8px; }
.post-index__body h3 a { color: var(--ink); text-decoration: none; }
.post-index__body h3 a:hover { color: var(--mid-teal); text-decoration: underline; }
.post-index__body p { font-size: .94rem; color: var(--body-text); margin-bottom: 8px; }
.post-index__byline { font-size: .82rem; color: var(--mid-teal); font-weight: 600; }

.writing__events {
  background: var(--sage-wash);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
}
.writing__events h3 { font-size: 1.1rem; margin-bottom: 10px; }
.writing__events p { font-size: .96rem; margin-bottom: 18px; }

/* -------------------- Learning placeholder (visually secondary) -------------------- */
.learning { background: var(--blue-wash); padding: 32px 0; text-align: center; }
.learning__title { font-size: .92rem; color: var(--mid-teal); text-transform: uppercase; letter-spacing: .06em; font-family: var(--sans); margin-bottom: 6px; }
.learning__text { font-size: .9rem; color: var(--body-text); max-width: 50ch; margin-inline: auto; }

/* -------------------- Next steps / choice grid (homepage + shared cta-band) -------------------- */
.next-steps, .cta-band { background: var(--ink); color: var(--white); }
.next-steps h2, .cta-band h2 { color: var(--white); }
.next-steps .section-heading p { color: rgba(255,255,255,.86); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin-inline: auto; }
.choice-card--primary {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.choice-card--primary h3 { color: var(--white); font-size: 1.15rem; }
.choice-card--primary p { color: rgba(255,255,255,.82); font-size: .96rem; max-width: 32ch; margin-inline: auto; flex-grow: 1; }
.choice-card--primary .button { margin-top: 4px; }
.choice-card--primary .button--primary { background: var(--white); color: var(--ink); }
.choice-card--primary .button--primary:hover { background: var(--bg-light); }

.choice-utility {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 820px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: center;
  font-size: .94rem;
  color: rgba(255,255,255,.78);
}
.choice-utility a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.choice-utility a:hover { color: var(--sage); }

/* Shared small closing CTA band for supporting pages */
.cta-band { text-align: center; padding: 56px 0; }
.cta-band__lead { max-width: 56ch; margin: 0 auto 24px; color: rgba(255,255,255,.85); font-size: 1.02rem; }
.cta-band .button-row { justify-content: center; }
/* .button--primary defaults to navy-on-white; on .cta-band's own navy background that made the
   button render as invisible navy-on-navy — a real bug found by checking computed styles (not
   assumed), affecting the closing CTA on all 8 supporting pages that use one. Same inversion
   .choice-card--primary already uses above for the same reason. */
.cta-band .button--primary { background: var(--white); color: var(--ink); }
.cta-band .button--primary:hover { background: var(--bg-light); }

/* -------------------- FAQ (exomind.html) -------------------- */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.faq-item p { font-size: .96rem; }

/* -------------------- Detail sections (pathways.html) -------------------- */
.detail-section { padding: 56px 0; }
.detail-section__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.detail-section__label { font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--mid-teal); margin-bottom: 10px; }
.detail-section h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 14px; }
.detail-section__who { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-top: 22px; padding: 24px 26px; }
.detail-section__who h3 { font-size: .95rem; margin-bottom: 12px; }
.detail-section__who p { font-size: .92rem; }
.detail-section p + p { margin-top: 14px; }
.detail-section--sage { background: var(--sage-wash); }
.detail-section--blue { background: var(--blue-wash); }
.detail-section--reverse .detail-section__grid > figure { order: -1; }
.faq-section { background: var(--blue-wash); }
.prose p + p { margin-top: 14px; }
.prose__closing-line { font-style: italic; margin-top: 20px; }

/* -------------------- Programs detail blocks (programs.html) -------------------- */
.program-block { margin-top: 24px; }
.program-block--tall { margin-top: 32px; }
.program-block--wide { max-width: 68ch; }
.program-block__eyebrow { margin-bottom: 4px; }
.section-subhead { margin-top: 36px; }
.team-list--spaced { margin-top: 16px; }

/* -------------------- Contact: message + old-fashioned-way split (contact.html) --------------------
   Mirrors the live page's own composition: a message form on the left, and the Centre's
   phone/email/hours/consultation/emergency information as one plain column on the right —
   not four separate bordered cards. */
.contact-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.contact-split h2 { font-size: 1.25rem; margin-bottom: 20px; }

.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { margin-bottom: 16px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--mid-teal); }
.field input,
.field textarea {
  font: inherit;
  font-size: .96rem;
  color: var(--body-text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
/* These fields are a visual preview of the live form's structure, not a working form —
   `disabled` is the deliberate, honest signal (skipped in tab order, announced as
   unavailable to assistive tech) rather than styling a fake-interactive control. Overridden
   here so they still read as a normal, realistic form rather than a greyed-out broken one. */
.field input:disabled,
.field textarea:disabled { opacity: 1; -webkit-text-fill-color: var(--body-text); cursor: not-allowed; }
.contact-form__submit { margin-top: 8px; }
.contact-form__note { margin-top: 12px; font-size: .86rem; color: var(--mid-teal); }

.contact-info__group { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-info__group:first-of-type { border-top: none; padding-top: 0; }
.contact-info__group h3 { font-size: .95rem; margin-bottom: 4px; }
.contact-info__group p { font-size: .96rem; }
/* The phone/email links here are each the only thing in their <p> — real primary tap actions on
   a Contact page, not inline text in a sentence — so they get the same 44px-minimum treatment as
   every other control, via padding rather than a bigger font. Measured 119×18 / 154×18 before
   this fix. */
.contact-info__group a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -12px 0;
  color: var(--mid-teal);
  font-weight: 700;
  text-decoration: none;
}
.contact-info__group a:hover { text-decoration: underline; }
.contact-info__emergency p { color: var(--body-text); }
.contact-split__footnote { margin-top: 32px; font-size: .95rem; color: var(--body-text); }
.contact-split__footnote a { color: var(--mid-teal); font-weight: 700; text-decoration: none; }
.contact-split__footnote a:hover { text-decoration: underline; }

/* -------------------- Visit Us (contact.html) --------------------
   A dedicated, full-width location section rather than a small sidebar card — text and a
   real map side by side. */
.visit { background: var(--sage-wash); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.visit__name { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }
.visit__details address { font-size: 1.02rem; margin-bottom: 14px; }
.visit__details > p { font-size: .96rem; margin-bottom: 18px; }
.visit__note { margin-top: 20px; font-size: .92rem; color: var(--mid-teal); max-width: 52ch; }
.visit__map-frame { width: 100%; height: 340px; border: 0; border-radius: 14px; display: block; box-shadow: var(--shadow); }

/* -------------------- Insurance & billing (contact.html) -------------------- */
.insurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.insurance-group h3 { font-size: 1rem; margin-bottom: 10px; }
.insurance-group p { font-size: .94rem; }

/* -------------------- Comparison cards (exomind.html) -------------------- */
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0 36px; }
.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.compare-card--highlight { border-color: var(--mid-teal); box-shadow: var(--shadow); }
.compare-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.compare-card li { font-size: .94rem; padding-left: 20px; position: relative; }
.compare-card li::before { content: "✓"; position: absolute; left: 0; color: var(--mid-teal); font-weight: 700; }
.compare-note { font-size: .84rem; color: var(--mid-teal); }

/* -------------------- Practitioner categories (practitioners.html) -------------------- */
.practitioner-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.practitioner-category h3 { font-size: 1rem; margin-bottom: 12px; }
.practitioner-category ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.practitioner-category li { font-size: .94rem; padding-left: 18px; position: relative; }
.practitioner-category li::before { content: "\2013"; position: absolute; left: 0; color: var(--mid-teal); }

/* -------------------- Events landing (events.html) -------------------- */
.events-panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 40px 36px; text-align: center; box-shadow: var(--shadow); }
.events-panel p { max-width: 52ch; margin: 12px auto 22px; }
.events-calendar__heading { max-width: 720px; }
.events-calendar__heading > p:last-child { font-size: 1.02rem; max-width: 62ch; }
.events-calendar__embed {
  height: 846px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.events-calendar__embed iframe { display: block; width: 100%; height: 846px; border: 0; }
.events-calendar__compact {
  display: none;
  max-width: 720px;
  margin-inline: auto;
  padding: 32px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.events-calendar__compact h3 { font-size: 1.2rem; margin-bottom: 12px; }
.events-calendar__compact p:last-child { font-size: .98rem; }
.events-calendar__actions { margin-top: 28px; }

/* -------------------- Footer --------------------
   --ink and --ink-deep sit only 1.34:1 apart in luminance — nearly indistinguishable
   as a background change on their own. When the footer follows a dark section
   (.next-steps, .cta-band), the sage hairline below is the real seam; it's a
   deliberate small structural device (the one line-rule on the site), not decoration. */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.85); padding: 52px 0 26px; border-top: 2px solid rgba(148,169,138,.4); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-footer__brand img { width: 150px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer__brand address,
.site-footer__brand p { font-size: .92rem; color: rgba(255,255,255,.78); margin-bottom: 4px; }
.site-footer__brand a { color: inherit; }
.site-footer h2 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-family: var(--sans); margin-bottom: 12px; }
/* padding-block + a compensating negative top margin enlarge the actual tap height (24px
   measured before this fix, to ~38px) without pushing the visible link-to-link rhythm wider —
   a footer full of 44px targets would make it noticeably taller, which the same red-team
   flagged as its own problem, so this is a deliberate middle ground, not the full-size target
   every primary control gets. */
.site-footer a { display: block; padding-block: 7px; margin-block: -7px 2px; color: rgba(255,255,255,.82); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { font-size: .88rem; margin-bottom: 6px; color: rgba(255,255,255,.72); }
.site-footer__bottom { padding-top: 18px; }
.site-footer__bottom p { font-size: .8rem; color: rgba(255,255,255,.6); margin: 0; }

/* ============================================================
   Responsive — tested at 1440px, 1024px, 768px, 390px, and 360px, plus 125% zoom
   ============================================================ */

/* The header CTA was removed in V3.9.1. Donate now lives directly in .site-nav, so it uses the
   same layout and treatment as the other navigation destinations at every breakpoint. */

@media (max-width: 1024px) {
  .section { padding: 52px 0; }
  .hero--video { height: 74vh; height: 74svh; min-height: 560px; }
  .pathway-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .approach__grid, .writing__grid, .detail-section__grid, .contact-split, .visit__grid, .founder-story__grid, .community-trust__grid { grid-template-columns: 1fr; gap: 32px; }
  .approach__availability { border-left: none; padding-left: 0; border-top: 2px solid rgba(10,51,59,.18); padding-top: 24px; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .insurance-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .post-feature { grid-template-columns: 1fr; gap: 24px; }
  .events-calendar__embed { display: none; }
  .events-calendar__compact { display: block; }
}

@media (max-width: 900px) {
  /* One compact row: logo left, hamburger right, ~72px tall (padding 14px top/bottom around
     a 44px tap target) — comfortably inside the 68-80px target band. The trimmed logo asset
     (assets/brand/cfww-logo-horizontal-trim.png, swapped in via <picture> below) removes the
     dead transparent margin baked into the source file's canvas so the wordmark reads at a
     legible size without the box itself needing to be tall. See V3_9_MOBILE_UX_REVIEW.md. */
  .site-header__inner { min-height: 0; padding-block: 14px; gap: 12px; }
  .brand { width: auto; height: 42px; }
  .brand img { width: auto; height: 100%; aspect-ratio: 748 / 302; }
  .menu-button { display: inline-flex; }

  /* Mobile nav dropdown — anchored beneath the header, not a drawer. The primary CTA is
     appended after the standard links; Donate remains one of those standard links. */
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    z-index: 95;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    box-shadow: var(--shadow);
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; min-height: 48px; display: flex; align-items: center; }
  .site-nav a::after { display: none; }

  .site-nav__mobile-actions { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; }
  /* `.site-nav a { color: var(--ink); }` (0,1,1) otherwise beats `.button--primary`'s own
     colour (0,1,0), producing invisible navy-on-navy CTA text. Match that specificity here. */
  .site-nav a.site-nav__cta { width: 100%; color: var(--white); }
}

@media (max-width: 720px) {
  .pathway-grid, .choice-grid, .technology-grid { grid-template-columns: 1fr; }
  .founder-story__portraits { max-width: 460px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 12px; }
  .insurance-grid { grid-template-columns: 1fr; gap: 24px; }
  .visit__map-frame { height: 240px; }
  .team-founders { grid-template-columns: 1fr; gap: 28px; }
  .team-founder { flex-direction: column; }
  .team-founder img { width: 96px; height: 96px; }
  .team-founder p, .team-founder__credentials { max-width: none; }
  .team-list li { grid-template-columns: 56px 1fr; row-gap: 6px; }
  .team-list img { width: 56px; height: 56px; }
  .team-list__book { grid-column: 2; }
  .team-profile { flex-direction: column; }
  .team-profile__body > p { max-width: none; }
  .post-index__item { grid-template-columns: 96px 1fr; gap: 14px; }
  .post-mini img { width: 84px; height: 60px; }
  .compare-grid { grid-template-columns: 1fr; }
  .practitioner-categories { grid-template-columns: 1fr; gap: 24px; }

  .page-hero__motif { display: none; }
  /* A fixed height + max-height here (measured: 72vh/480–620px) previously clipped hero content
     off the bottom of the section on shorter mobile viewports. `height: auto` explicitly cancels
     the 74vh set by the 1024px breakpoint above (media queries only override properties they
     redeclare, so a bare min-height here would still have inherited that 74vh); min-height is
     just a floor, never a ceiling that can cut content off. */
  /* The CTA buttons stack full-width at this breakpoint (.button below), which would otherwise
     put the corner-anchored motion toggle right on top of "Explore Pathways" — extra bottom
     padding on the section keeps the two from ever overlapping, without moving the CTAs.
     env(safe-area-inset-bottom) is added on top (not in place of) that fixed value, so the
     Home-indicator gesture bar on notched iPhones never sits closer to the last button than the
     104px already measured safe on non-notched viewports. */
  .hero--video { height: auto; min-height: 560px; padding: 36px 0 96px; }
  .hero--video { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hero__video { object-position: 62% 30%; }
  .hero__motion-toggle { bottom: 16px; right: 16px; }
  .hero__motion-toggle { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .button-row { flex-direction: column; align-items: stretch; }
  .button { width: 100%; text-align: center; }

  /* Quieter mobile kicker: smaller, lighter weight, a touch more line-height — the same
     white already proven at 4.5:1+ against the hero footage (see V3_8_HERO_VIDEO_REVIEW.md),
     just carried by less visual weight rather than by a new, untested colour or opacity. */
  .hero__kicker { font-size: .82rem; font-weight: 500; letter-spacing: .01em; margin-bottom: 12px; }
  .hero__support { font-size: 1.0625rem; max-width: 34ch; }
  .button--text, .button--text-light { width: auto; align-self: flex-start; }
  .cta-band .button-row { align-items: center; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   V3.11 — Real-media components (Fiona Centre photography)
   Added August 28, 2026. Shared image/video building blocks so real
   photography carries the layout rather than being pasted on top of it.
   All new photos are CENTRE PROJECT MEDIA (the Centre's own shoot) — see
   FIONA_MEDIA_INVENTORY.md and PUBLIC_ASSET_PROVENANCE.md.
   ============================================================ */

/* Generic framed photo + optional caption. Matches the carousel's 14px
   radius and the site's standard soft shadow. */
.media-figure { margin: 0; }
/* Spacing modifiers — kept as classes so no page carries an inline style. */
.media-figure--above  { margin-top: 24px; }
.media-figure--around  { margin: 24px 0 8px; }
.media-figure--below  { margin: 0 0 22px; }
.media-figure--spaced  { margin-top: 40px; }
.media-figure--nudge  { margin-top: 14px; }
.media-figure--narrow { max-width: 380px; margin: 22px 0; }
.media-figure__img,
.media-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: var(--bg-light);
}
.media-figure figcaption,
.media-figure__caption {
  margin-top: 10px;
  font-size: .84rem;
  color: var(--mid-teal);
  font-weight: 600;
}

/* First look — a full-width photograph immediately after the homepage
   hero, so a visitor sees the actual building before any more copy. */
.first-look { padding: 0; }
.first-look__media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--ink);
}
.first-look__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}
.first-look__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 0 18px;
  background: linear-gradient(to top, rgba(6, 24, 27, .72), rgba(6, 24, 27, 0));
  color: var(--white);
}
.first-look__caption p {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.first-look__caption strong { font-weight: 700; }

/* Media split — text beside a photograph, alternating sides down the page.
   V3.12: text column favoured (~60/40 on wide desktop) so the body copy keeps a
   comfortable measure and doesn't wrap tightly against a near-half-width image;
   the image stays a substantial 5:4 editorial block. --reverse flips image left.
   minmax(0, …) so a long word can't blow the columns out. */
.media-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.media-split--reverse .media-split__grid > .media-figure { order: -1; }
/* Column stacks as flex so the availability inset and the trailing text link get
   predictable, intentional vertical spacing (not margin-collapse guesswork). */
.media-split__copy { display: flex; flex-direction: column; align-items: flex-start; }
.media-split__copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.media-split__copy > p:not(.eyebrow) { max-width: 60ch; }
.media-split__copy > p + p { margin-top: 14px; }
/* Breathing room: preceding paragraph -> 24px -> "In Calgary and online" inset
   -> 24px -> "Read our guiding principles" link. */
.media-split .approach__availability { margin-top: 24px; align-self: stretch; }
.media-split__copy > .button--text { margin-top: 24px; }
.media-split .media-figure img { aspect-ratio: 5 / 4; object-fit: cover; }
.media-split--portrait .media-figure img { aspect-ratio: 4 / 5; }

/* Video feature — an editorial spoken-interview section. NOT a card: a short
   context line, a heading, one or two lines of setup, then a large poster/
   video. The video is user-initiated (controls, preload="metadata", no
   autoplay, audio intact). Added V3.12 for the Ryan interview. */
.video-feature { background: var(--sage-wash); }
.video-feature__head { max-width: 640px; margin-bottom: 28px; }
.video-feature__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 4px 0 12px; }
.video-feature__lead { font-size: 1.02rem; color: var(--body-text); max-width: 60ch; }
.video-feature__media { margin: 0; }
.video-feature__media video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: var(--ink);
}
.video-feature__caption {
  margin-top: 10px;
  font-size: .84rem;
  color: var(--mid-teal);
  font-weight: 600;
}
.video-feature .button-row { margin-top: 18px; }

/* Transcript disclosure — native <details>, no JS needed, keyboard-accessible. */
.video-feature__transcript { margin-top: 18px; max-width: 68ch; }
.video-feature__transcript > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--mid-teal);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  list-style: none;
}
.video-feature__transcript > summary::-webkit-details-marker { display: none; }
.video-feature__transcript > summary::before {
  content: "\25B8"; /* ▸ */
  margin-right: 8px;
  font-size: .8em;
  transition: transform .15s ease;
}
.video-feature__transcript[open] > summary::before { transform: rotate(90deg); }
.video-feature__transcript > summary:hover { color: var(--ink); }
.video-feature__transcript > p { font-size: .95rem; margin-top: 12px; }
.video-feature__transcript-note {
  font-size: .82rem;
  font-style: italic;
  color: var(--mid-teal);
}

/* Photo strip — a row of equal-height photographs used as a visual band
   between major content areas. */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(var(--strip-count, 3), 1fr);
  gap: 14px;
}
.photo-strip figure { margin: 0; }
.photo-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.photo-strip--wide img { aspect-ratio: 4 / 3; }
.photo-strip--spaced { margin-top: 40px; }

/* Inside-the-Centre editorial grid — one tall image on the left, a 2×2 of
   smaller ones on the right. Deliberately not a uniform card grid. */
.inside-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}
.inside-grid figure { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.inside-grid img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.inside-grid figure:first-child { grid-row: span 2; }
.inside-grid figure:first-child img { aspect-ratio: 3 / 4; height: 100%; }

/* Texture band — a short full-bleed strip of real texture (salt crystal,
   salt-brick) as a pacing element between sections. */
.texture-band {
  width: 100%;
  height: clamp(150px, 22vw, 260px);
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* Image-led pathway feature — the homepage pathway cards gain a photo that
   bleeds to the card edges, so they read as feature blocks, not text boxes. */
.pathway-card--media { padding-top: 0; overflow: hidden; }
.pathway-card--media .pathway-card__media {
  display: block;
  margin: 0 -24px 16px;
  width: calc(100% + 48px);
}
.pathway-card--media .pathway-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* EXOMIND band — real equipment photo beside the two technology cards. */
.technology-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 28px;
}
.technology-layout .technology-grid { margin-top: 0; }
.technology-layout .media-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: none;
}

/* Supporting-page hero photo — a single wide photograph directly under a
   page's coloured intro band. */
.page-photo { padding: 0; }
.page-photo img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}

/* Detail-section figures already exist (pathways.html); give them a caption
   colour and make sure real photos crop cleanly. */
.detail-section__grid > figure { margin: 0; }
.detail-section__grid > figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.detail-section__grid > figure figcaption {
  margin-top: 10px;
  font-size: .84rem;
  color: var(--mid-teal);
  font-weight: 600;
}
.detail-section--sage .detail-section__grid > figure figcaption,
.exomind .media-figure figcaption { color: var(--mid-teal); }

/* Insurance & billing (financing.html) — a scannable, typography-only provider
   treatment. No insurer logos: none are held in project assets and using them
   could imply an endorsement that is not claimed. Provider names are the
   stakeholder-supplied source of truth. */
.insurance-intro { margin: 6px 0 6px; max-width: 60ch; color: var(--body-text); }
.billing-groups { display: flex; flex-direction: column; gap: 26px; margin-top: 22px; }
.billing-group h3 { font-size: 1rem; margin-bottom: 12px; }
.provider-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.provider-grid li {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
}
.billing-group--note {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.billing-group--note p { font-size: .95rem; max-width: 54ch; }

/* Visit Us — a real (portrait) photograph of the Centre's street sign, as a
   contained editorial lead-in above the address/map grid. */
.visit__photo { margin: 4px auto 32px; max-width: 360px; }
.visit__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* Between the wide-desktop 60/40 and the 900px stack, ease toward balanced so
   the image never gets thin. Placed here (after the base .media-split__grid
   rule) so it actually wins the cascade. */
@media (max-width: 1024px) {
  .media-split__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; }
}

@media (max-width: 900px) {
  .media-split__grid { grid-template-columns: 1fr; gap: 28px; }
  .media-split--reverse .media-split__grid > .media-figure { order: 0; }
  .technology-layout { grid-template-columns: 1fr; gap: 24px; }
  .technology-layout .media-figure img { aspect-ratio: 3 / 4; }
  .first-look__media { aspect-ratio: 16 / 9; }
  .inside-grid { grid-template-columns: 1fr 1fr; }
  .inside-grid figure:first-child { grid-row: auto; grid-column: 1 / -1; }
  .inside-grid figure:first-child img { aspect-ratio: 16 / 9; }
  .page-photo img { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .photo-strip { grid-template-columns: 1fr 1fr; --strip-count: 2; }
  .photo-strip figure:nth-child(3):last-child { grid-column: 1 / -1; }
  .photo-strip figure:nth-child(3):last-child img { aspect-ratio: 16 / 9; }
  .first-look__media { aspect-ratio: 4 / 5; }
  .first-look__media img { object-position: center 58%; }
  .first-look__caption { padding-top: 56px; }
}
