/* Face Rock Tribal Health — Website (facerockinc.com rebuild)
   Tokens copied verbatim from the Website Design Brief (2026-07-06).
   Typography: Stack B — Georgia headings / Calibri body.
   Note: for THIS surface the brief supersedes the design system's Playfair/Inter
   stack. Colors remain the canonical brand palette.

   SYSTEM RULES — read before adding CSS:
   1. Type: use the --fs-* steps only. No new sizes, no half-pixels.
   2. Space: every padding/margin/gap is a multiple of 4px.
   3. Accent (terracotta) is for INTERACTION and for the two page-edge ground
      lines (below the hero, above the footer). It is not a decoration for cards,
      panels, or section dividers — when everything is accented nothing reads.
   4. Cards: one primitive (.card / .vcard / .ins-card share a base rule) in two
      sizes — primary (28px pad, --fs-xl title) and index (24px pad, --fs-lg). */

:root {
  /* Brand Core */
  --fr-terracotta:  #C1634A;
  --fr-dark-brown:  #4A2E1E;
  --fr-charcoal:    #3A3A38;
  --fr-ink:         #2D2D2D;

  /* Earth Accents */
  --fr-sage:        #8B9E7E;
  --fr-dusty-blue:  #8BA4B5;
  --fr-olive:       #6B7563;
  --fr-tan:         #B89B78;

  /* Neutral Surfaces */
  --fr-off-white:   #F0EDE4;
  --fr-light-cream: #E8E4E0;
  --fr-blush:       #E0C9BA;
  --fr-warm-beige:  #D9D0C3;
  --fr-stone:       #A99E8E;

  /* Deep Darks */
  --fr-dark-olive:  #6B5E4A;
  --fr-deep-olive:  #5A4E38;
  --fr-dark-earth:  #3A3530;

  /* Semantic Aliases */
  --bg-primary:     #F0EDE4;
  --bg-secondary:   #E8E4E0;
  --bg-surface:     #FDFCFA;
  --text-primary:   #2D2D2D;
  --text-secondary: #3A3A38;
  /* Was #A99E8E (--fr-stone) — 2.6:1 on surface, 2.3:1 on cream, well under the
     4.5:1 minimum, while carrying dates, bylines, roles and captions. This clears
     AA on both grounds and keeps the warm cast. --fr-stone stays for non-text use. */
  --text-muted:     #756A5D;
  --text-body:      #4A4640;
  --brand-accent:   #C1634A;
  /* Terracotta is only 4.0:1 on light, so it fails as TEXT. --accent-ink is the
     same hue darkened to 5.3:1 for accent-coloured type and links on light;
     --accent-on-dark is lifted to 4.7:1 for accent type on the brown bands.
     --brand-accent itself stays exact for fills, borders and ground lines. */
  --accent-ink:     #A9512E;
  --accent-on-dark: #DE8A70;
  --brand-deep:     #4A2E1E;
  --signal-positive:#8B9E7E;
  --signal-info:    #8BA4B5;
  --signal-warm:    #B89B78;

  /* Structure */
  --ground-line-primary:   4px;
  --ground-line-secondary: 3px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  /* Space — 4px grid. Rhythm values that must change together are tokens; all
     other spacing is a literal multiple of 4. */
  --section-y: 80px;
  --card-pad: 28px;
  --card-pad-index: 24px;
  --grid-gap: 24px;

  /* Typography — Stack B */
  /* Brand fonts are Georgia + Calibri. Both are OS-bundled, not web fonts, so on
     any machine without them the browser silently substituted something else
     (Georgia is missing on Android; Calibri exists only where Office is installed,
     so most Mac/iOS visitors were reading Helvetica). Gelasio and Carlito are the
     metric-compatible open equivalents — same widths, same vertical metrics, so
     line breaks and spacing are identical either way. Real Georgia/Calibri still
     win when present; everyone else now sees a faithful match instead of a guess. */
  --serif: Georgia, Gelasio, 'Times New Roman', serif;
  --sans:  Calibri, Carlito, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Type scale — 8 steps, whole pixels. Replaces the 24 ad-hoc sizes (seven of
     them half-pixel) that had accumulated: half-steps are invisible on their own
     and collectively meant no ratio was holding the page together. */
  --fs-2xs:  12px;  /* micro labels, footer legal */
  --fs-xs:   13px;  /* eyebrows, dates, field labels */
  --fs-sm:   14px;  /* captions, index-card body, footer links */
  --fs-base: 16px;  /* buttons, inputs, primary-card body */
  --fs-md:   17px;  /* page body */
  --fs-lg:   19px;  /* large body, index-card titles */
  --fs-xl:   21px;  /* leads, primary-card titles */
  --fs-2xl:  23px;  /* h3, bio name */
  --fs-num:  40px;  /* the one big-number size (was 44 and 40 doing one job) */

  --maxw: 1320px;
  --gutter: 48px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--brand-deep); letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5vw, 54px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.18; }
h3 { font-size: clamp(20px, 1.9vw, 23px); line-height: 1.3; }
p  { margin: 0 0 1em; text-wrap: pretty; }
a  { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--brand-deep); }

/* Keyboard focus was invisible on nav links, buttons and cards. */
:where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: var(--radius-sm); }
.section-dark :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible,
.page-banner :where(a, button):focus-visible,
.cookie-banner :where(a, button):focus-visible { outline-color: var(--fr-off-white); }

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

/* ── Layout ─────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-primary); }
.section-dark { background: var(--brand-deep); color: rgba(240,237,228,.85); }
.section-dark h2, .section-dark h3 { color: var(--fr-off-white); }
@media (max-width: 720px) { .wrap { padding: 0 24px; } .section { padding: 56px 0; } }

.eyebrow { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; }
/* Alphas set for AA against --brand-deep: .55 measured 4.36:1 at 13px bold. */
.eyebrow-light { color: rgba(240,237,228,.68); }
.lead { font-size: var(--fs-xl); line-height: 1.6; color: var(--text-body); text-wrap: pretty; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
/* 680px at 17px ran ~90 characters per line; comfortable is 60–75. */
.measure { max-width: 640px; }
.measure-center { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: var(--fs-base); font-weight: 600; letter-spacing: .01em; padding: 12px 24px; border-radius: var(--radius-md); border: 1.5px solid transparent; cursor: pointer; transition: background 140ms, color 140ms, border-color 140ms; text-decoration: none; white-space: nowrap; }
/* White on #C1634A is 3.4:1 — the deeper tone clears AA at button text size. */
.btn-primary { background: var(--accent-ink); color: #fff; }
.btn-primary:hover { background: #8F4322; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--fr-warm-beige); color: var(--brand-deep); }
.btn-ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.btn-on-dark { background: var(--brand-accent); color: #fff; }
.btn-on-dark:hover { background: #D3785F; color: #fff; }
.btn-ghost-dark { background: transparent; border-color: rgba(240,237,228,.35); color: var(--fr-off-white); }
.btn-ghost-dark:hover { border-color: var(--fr-off-white); color: #fff; }

/* ── Header / nav ───────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253,252,250,.92); backdrop-filter: saturate(1.1) blur(8px); border-bottom: 1px solid var(--fr-warm-beige); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-family: var(--sans); font-size: var(--fs-base); font-weight: 600; color: var(--brand-deep); padding: 8px 0; border-bottom: 2px solid transparent; transition: color 120ms, border-color 120ms; }
.nav-link:hover { color: var(--accent-ink); }
.nav-link.active { color: var(--accent-ink); border-bottom-color: var(--brand-accent); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--brand-deep); margin: 4px 0; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--bg-surface); border-bottom: 1px solid var(--fr-warm-beige); padding: 20px 24px 24px; }
  .nav-links.open .nav-link { padding: 8px 0; border-bottom: none; }
  .nav-toggle { display: block; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-img { position: relative; display: block; width: 100%; height: auto; }
/* The vertical scrim used to run .82 across the FULL width, so the right side —
   which carries no text — was darkened as hard as the headline area. The lower-left
   radial now does the work of holding the copy, the vertical falls off much sooner,
   and the horizontal keeps the left gutter dark. Net effect: same legibility, and
   the water on the right stays visible. */
.hero-scrim { position: absolute; inset: 0; background: radial-gradient(105% 88% at 2% 100%, rgba(28,18,10,.74) 0%, rgba(28,18,10,.46) 40%, rgba(28,18,10,.12) 66%, rgba(28,18,10,0) 82%), linear-gradient(to top, rgba(28,18,10,.5) 0%, rgba(28,18,10,.34) 24%, rgba(28,18,10,.18) 48%, rgba(28,18,10,.06) 70%, rgba(28,18,10,0) 100%), linear-gradient(to right, rgba(28,18,10,.34) 0%, rgba(28,18,10,.16) 36%, rgba(28,18,10,0) 62%); }
.hero-body { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 24px; }
/* Over photography the warm brand off-white reads dimmer than it does on the solid
   brown bands — the photo's own warmth cancels it. Hero copy goes pure white. */
.hero h1 { color: #fff; max-width: 1040px; letter-spacing: -0.005em; margin-bottom: 24px; }
.hero .eyebrow-light { color: rgba(240,237,228,.92); }
.hero-tagline { font-size: var(--fs-xl); font-weight: 400; line-height: 1.45; color: #fff; margin: 24px 0 0; max-width: 730px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.btn-hero-ghost { background: rgba(240,237,228,.1); border: 1px solid rgba(240,237,228,.5); color: var(--fr-off-white); backdrop-filter: blur(2px); }
.btn-hero-ghost:hover { background: rgba(240,237,228,.18); border-color: var(--fr-off-white); color: var(--fr-off-white); }
/* One of the two ground lines the accent is reserved for: the hero's lower edge. */
.hero-ground { position: absolute; bottom: 0; left: 0; right: 0; height: var(--ground-line-primary); background: var(--brand-accent); }
/* Mobile: the photo is far wider than a phone. Overlaying text on it means either a
   short strip the copy overruns, or a cover crop that slices the picture. Below 720px
   the hero stacks instead — the photo shows whole, and the copy sits on the brown band
   beneath it. */
@media (max-width: 720px) {
  .hero { min-height: 0; display: block; background: var(--brand-deep); }
  .hero-img { position: relative; width: 100%; height: auto; }
  .hero-scrim { display: none; }
  .hero-body { position: relative; padding-top: 32px; padding-bottom: 36px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-tagline { margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
}

/* ── Credibility strip ──────────────────────────────────── */
.cred { display: grid; grid-template-columns: repeat(3, 1fr); }
.cred-item { padding: 32px 24px; text-align: center; border-right: 1px solid var(--fr-warm-beige); }
.cred-item:last-child { border-right: none; }
.cred-num { font-family: var(--serif); font-size: var(--fs-num); font-weight: 700; color: var(--brand-deep); line-height: 1; }
.cred-label { font-size: var(--fs-sm); color: var(--text-body); margin-top: 8px; letter-spacing: .01em; }
@media (max-width: 720px) { .cred { grid-template-columns: 1fr; } .cred-item { border-right: none; border-bottom: 1px solid var(--fr-warm-beige); } .cred-item:last-child { border-bottom: none; } }

/* ── Cards — one primitive, two sizes ───────────────────── */
.grid { display: grid; gap: var(--grid-gap); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Shared shell. Cards previously carried a 3px terracotta bottom border, which
   put six to nine accent bars in a single screen; the accent now appears on
   hover, where it means something. */
.card, .vcard, .ins-card {
  display: flex; flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--fr-warm-beige);
  border-radius: var(--radius-md);
  transition: transform 140ms, box-shadow 140ms, border-color 140ms;
}
a.card, .ins-card { color: inherit; }
a.card:hover, .vcard:hover, .ins-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -18px rgba(74,46,30,.45); border-color: var(--brand-accent); color: inherit; }

/* Primary cards — the page's main content (services, approach). */
.card { padding: var(--card-pad); }
.card h3 { color: var(--brand-deep); font-size: var(--fs-xl); margin-bottom: 8px; }
.card p { color: var(--text-body); font-size: var(--fs-base); margin: 0; }
.card-index { font-family: var(--serif); font-size: var(--fs-sm); color: var(--accent-ink); font-weight: 700; margin-bottom: 12px; }
/* Anchored to the card's lower edge so the link sits on one line across the row
   regardless of how much copy sits above it. */
.card-more { align-self: flex-start; margin-top: auto; padding-top: 16px; font-size: var(--fs-sm); font-weight: 600; color: var(--accent-ink); }

/* Proof — at-a-glance metric strip */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
@media (max-width: 780px) { .metric-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .metric-strip { grid-template-columns: 1fr; } }
.metric { border-top: var(--ground-line-secondary) solid var(--brand-accent); padding-top: 16px; }
.metric-num { font-family: var(--serif); font-size: var(--fs-num); font-weight: 700; color: var(--brand-deep); line-height: 1.05; }
.metric-label { font-size: var(--fs-sm); color: var(--text-body); margin-top: 8px; }
.metric-source { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 28px; }

/* Mid-page section divider — a neutral hairline. It was a 4px terracotta rule,
   which put three or four competing accent bands on a single page. */
.ground-panel { border-bottom: 1px solid var(--fr-warm-beige); }

/* ── Pull quote / proof ─────────────────────────────────── */
.quote { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.4; color: var(--fr-off-white); font-weight: 700; }
.quote-attr { font-size: var(--fs-xs); letter-spacing: .04em; color: rgba(240,237,228,.5); margin-top: 20px; text-transform: uppercase; }

/* ── Service detail ─────────────────────────────────────── */
.detail-hero { padding: 72px 0 40px; }
.detail-hero-dark { background: var(--brand-deep); border-bottom: var(--ground-line-primary) solid var(--brand-accent); padding: var(--section-y) 0 72px; }
.detail-hero-dark .eyebrow { color: var(--accent-on-dark); }
.detail-hero-dark h1 { color: var(--fr-off-white); }
.detail-hero-dark .lead { color: rgba(240,237,228,.82); }
.detail-hero-dark .crumb { color: rgba(240,237,228,.6); }
.detail-hero-dark .crumb:hover { color: var(--fr-off-white); }
.crumb { transition: color 120ms; }
.crumb:hover { color: var(--accent-ink); }

/* Interior page photo banner — mirrors the homepage hero framing (full photo, same zoom/sky) */
.page-banner { position: relative; padding: 0; overflow: hidden; }
.page-banner .banner-img { position: relative; display: block; width: 100%; height: clamp(460px, 50vh, 580px); object-fit: cover; object-position: center 52%; }
/* Crop variants — same source photo, different framing so repeat pages don't read identical. Never mirrored. */
.page-banner .banner-img.banner-crop-close { object-position: 34% 46%; transform: scale(1.34); transform-origin: 34% 46%; }
.page-banner .banner-img.banner-crop-wide { object-position: 24% 62%; transform: scale(1.26); transform-origin: 24% 62%; }
/* The legacy site hero is only 960×350 and its whole range — sky, silhouette, surf —
   matters, so the band takes the photo's own aspect and crops nothing at desktop
   widths. Below 720px it falls back to a fixed height (cropping sideways, not
   through the rock) so the banner keeps enough depth for the headline. */
.page-banner .banner-img.banner-legacy { height: auto; aspect-ratio: 960 / 350; object-position: center; filter: brightness(1.16) contrast(1.04) saturate(1.05); }
@media (max-width: 720px) { .page-banner .banner-img.banner-legacy { height: 340px; aspect-ratio: auto; object-position: center 35%; } }
/* This source is a dark, back-lit exposure — lifted a little so the surf reads.
   Its scrim also falls off to the right so the water stays visible where there is
   no text over it, while the lower-left stays dark enough to hold the headline. */
.page-banner .banner-scrim.banner-scrim-legacy { background: linear-gradient(to top, rgba(30,20,12,.78) 0%, rgba(38,26,16,.4) 46%, rgba(42,30,20,.2) 100%), linear-gradient(to right, rgba(30,20,12,.42) 0%, rgba(30,20,12,.12) 46%, rgba(30,20,12,0) 72%); }
.page-banner .banner-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(30,20,12,.9) 0%, rgba(38,26,16,.66) 45%, rgba(42,30,20,.48) 100%); }
.page-banner .wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 56px; }
/* Banner/dark-band text aligns to the same left gutter as the homepage hero:
   the measure constrains the text, not the wrap (a narrowed wrap would centre and push right). */
.detail-hero .wrap.measure, .page-banner .wrap.measure { max-width: var(--maxw); }
.detail-hero .wrap.measure > h1 { max-width: 880px; }
.detail-hero .wrap.measure > .lead, .detail-hero .wrap.measure > p { max-width: 640px; }
/* The other reserved ground line: the banner's lower edge. */
.page-banner .banner-ground, .section-dark > .banner-ground { position: absolute; bottom: 0; left: 0; right: 0; height: var(--ground-line-primary); background: var(--brand-accent); z-index: 3; }
/* A .measure-capped .wrap must not centre itself: the wrap's auto margins would
   push the reading column into the middle of the page, off the gutter its own
   headline sits on. Use .measure-center where centring is wanted. */
.wrap.measure { margin-left: 0; margin-right: 0; }
.form-alt { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--fr-light-cream); }
.form-alt p { margin: 0; font-size: var(--fs-base); line-height: 1.7; color: var(--text-body); max-width: 640px; }
.form-alt a { color: var(--brand-deep); border-bottom: 1px solid var(--fr-warm-beige); }
.form-alt a:hover { color: var(--accent-ink); border-bottom-color: var(--accent-ink); }
.para { font-size: var(--fs-lg); line-height: 1.75; color: var(--text-body); max-width: 620px; }
.howitworks { background: var(--bg-primary); border-radius: var(--radius-md); padding: 32px 36px; border: 1px solid var(--fr-warm-beige); }
.howitworks h4 { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); margin: 0 0 16px; }
.step { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--fr-light-cream); }
.step:last-child { border-bottom: none; }
.step-n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--brand-deep); color: #fff; font-size: var(--fs-xs); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-t { font-size: var(--fs-base); color: var(--text-body); line-height: 1.6; }

/* ── Approach fluency chips ─────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { white-space: nowrap; font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; color: var(--brand-deep); background: var(--bg-surface); border: 1px solid var(--fr-warm-beige); border-radius: var(--radius-pill); padding: 8px 16px; }

/* ── Not-a-rescue / role ────────────────────────────────── */
.role-quote { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--fr-off-white); line-height: 1.25; text-wrap: balance; }
/* Statement left, body right: a single narrow column stacked in a full-bleed dark
   band left the right half reading as a hole where an image was meant to go. */
.partner-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.partner-copy p { margin: 0; font-size: var(--fs-lg); line-height: 1.75; color: rgba(240,237,228,.78); max-width: 620px; }
.partner-copy p + p { margin-top: 20px; }
/* Two columns only once the left one can hold "in what's already there." on one line
   at the clamp-resolved size — otherwise the authored break strands "there." */
@media (max-width: 1040px) { .partner-band { grid-template-columns: 1fr; gap: 24px; } }

/* ── Resources — video cards ────────────────────────────── */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vgrid { grid-template-columns: 1fr; } }
.vcard { overflow: hidden; }
.vthumb { position: relative; aspect-ratio: 16 / 9; background: var(--brand-deep); }
.vthumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vthumb-btn { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: none; width: 100%; height: 100%; }
.vthumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(193,99,74,.92); display: flex; align-items: center; justify-content: center; padding-left: 4px; transition: transform 140ms, background 140ms; }
.vthumb-btn:hover .vplay { transform: translate(-50%, -50%) scale(1.08); background: var(--brand-accent); }
.vbody { padding: var(--card-pad-index); display: flex; flex-direction: column; flex: 1; }
.vmeta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-2xs); letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.vmeta span:last-child { text-transform: none; letter-spacing: 0; white-space: nowrap; }
.vmeta span:first-child { color: var(--accent-ink); font-weight: 700; }
/* Title was 17px against 14.5px body — 2.5px of separation gave the card no
   internal hierarchy. 19px against 14px reads as a title. */
.vtitle { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 700; color: var(--brand-deep); line-height: 1.26; text-wrap: pretty; }
.vauthors { font-size: var(--fs-xs); color: var(--text-muted); margin: 8px 0 12px; }
.vdesc { font-size: var(--fs-sm); color: var(--text-body); margin: 0 0 16px; }
.vlink { align-self: flex-start; margin-top: auto; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; color: var(--accent-ink); }
.vlink:hover { color: var(--brand-deep); }

/* ── Resources — press cards + article rows ─────────────── */
.ins-card { padding: var(--card-pad-index); }
.ins-card-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.ins-tag { white-space: nowrap; font-family: var(--sans); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: rgba(193,99,74,.1); padding: 4px 12px; border-radius: var(--radius-pill); }
.ins-date { font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; }
.ins-outlet { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.ins-head { font-family: var(--serif); font-size: var(--fs-lg); color: var(--brand-deep); line-height: 1.24; text-wrap: pretty; margin-bottom: 12px; }
.arow .ins-head { font-size: var(--fs-xl); }
.ins-sum { font-size: var(--fs-sm); color: var(--text-body); margin: 0; }
.ins-card .card-more { margin-top: auto; padding-top: 16px; }
/* Article rows aren't equal-height siblings, so their link follows the copy. */
.arow .card-more { margin-top: 0; padding-top: 16px; }

.alist { display: flex; flex-direction: column; }
.arow { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--fr-light-cream); color: inherit; transition: background 140ms; }
.arow:last-child { border-bottom: 1px solid var(--fr-light-cream); }
.arow:hover { color: inherit; }
.arow:hover .ins-head { color: var(--accent-ink); }
.arow-date { font-family: var(--serif); font-size: var(--fs-sm); color: var(--text-muted); padding-top: 4px; white-space: nowrap; }
.arow-by { font-size: var(--fs-xs); color: var(--text-muted); margin: 4px 0 12px; }
@media (max-width: 620px) { .arow { grid-template-columns: 1fr; gap: 8px; } }

.nav-toggle { min-width: 44px; min-height: 44px; }
/* Mobile tap targets — small inline links need a comfortable hit area. */
@media (max-width: 620px) { .footer-col a { padding: 8px 0; } .footer-col h5 { margin-bottom: 4px; } .crumb, .vlink, .card-more { display: inline-block; padding: 12px 0; } }

/* ── Forms ──────────────────────────────────────────────── */
.field-hint { font-size: var(--fs-xs); font-weight: 400; color: var(--text-muted); margin-left: 8px; }
.checkgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px 16px; }
@media (max-width: 620px) { .checkgrid { grid-template-columns: 1fr; } }
.field .checkopt, .checkopt { display: flex; align-items: center; gap: 12px; min-height: 48px; font-family: var(--sans); font-size: var(--fs-base); font-weight: 400; color: var(--text-body); line-height: 1.4; padding: 8px 12px; border: 1px solid var(--fr-warm-beige); border-radius: var(--radius-md); background: var(--bg-surface); cursor: pointer; transition: border-color 120ms, background 120ms; }
.checkopt:hover { border-color: var(--brand-accent); }
.checkopt input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--accent-ink); cursor: pointer; }
.checkopt > span { flex: 1 1 auto; min-width: 0; }
.checkopt:has(input:checked) { border-color: var(--brand-accent); background: rgba(193,99,74,.06); color: var(--brand-deep); font-weight: 600; }
.checkopt:focus-within { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--text-secondary); letter-spacing: .02em; }
.field .req { color: var(--accent-ink); }
/* 16px minimum: anything smaller makes iOS Safari zoom on focus. */
.field input, .field select, .field textarea { font-family: var(--sans); font-size: var(--fs-base); color: var(--text-primary); background: var(--bg-surface); border: 1px solid var(--fr-warm-beige); border-radius: var(--radius-md); padding: 12px 16px; transition: border-color 120ms, box-shadow 120ms; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-accent); box-shadow: 0 0 0 3px rgba(193,99,74,.12); }
.field textarea { resize: vertical; min-height: 128px; }
.field .err { font-size: var(--fs-xs); color: var(--accent-ink); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--brand-accent); }
.form-success { background: rgba(139,158,126,.12); border: 1px solid rgba(139,158,126,.4); border-left: var(--ground-line-primary) solid var(--signal-positive); border-radius: var(--radius-md); padding: 28px 32px; }
.form-success h3 { color: var(--fr-olive); margin-bottom: 8px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { position: relative; background: var(--brand-deep); color: rgba(240,237,228,.7); padding: 56px 0 32px; }
.footer-top { position: absolute; top: 0; left: 0; right: 0; height: var(--ground-line-primary); background: var(--brand-accent); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.7fr .65fr; gap: 40px; }
/* Services split across two sub-columns so the footer doesn't run one tall column
   against two short ones. */
.footer-links-2 { columns: 2; column-gap: 32px; }
.footer-links-2 a { break-inside: avoid; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1.5fr; } .footer-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer-links-2 { columns: 1; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-logo img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-col h5 { font-family: var(--sans); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,237,228,.62); margin: 0 0 16px; }
.footer-col a, .footer-col p { display: block; font-size: var(--fs-sm); color: rgba(240,237,228,.7); margin: 0 0 8px; }
.footer-col a:hover { color: var(--fr-off-white); }
.footer-contact { font-size: var(--fs-sm); color: rgba(240,237,228,.72); line-height: 1.8; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: var(--fs-2xs); color: rgba(240,237,228,.58); }
/* Footer brand tagline (under the logo) */
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: var(--fs-base); color: rgba(240,237,228,.82); margin: 0 0 16px; line-height: 1.4; }

/* ── Partner logos (monochrome wall on light) ───────────── */
.partner-group + .partner-group { margin-top: 48px; }
.partner-cap { font-family: var(--sans); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; }
.partners { display: flex; flex-wrap: wrap; gap: 40px 56px; justify-content: center; align-items: center; }
.partner { display: flex; align-items: center; justify-content: center; }
.partner img { max-height: 42px; max-width: 156px; width: auto; object-fit: contain; filter: brightness(0); opacity: .55; }

/* Next-service link sits on the light background, above the CTA band, so the
   page doesn't stack two dark zones plus the footer into one brown mass. */
.next-service { border-top: 1px solid var(--fr-light-cream); padding: 24px 0; }
.next-service .wrap { display: flex; justify-content: flex-end; }
.next-link { font-family: var(--sans); font-size: var(--fs-base); font-weight: 600; color: var(--brand-deep); display: inline-flex; align-items: baseline; gap: 12px; }
.next-link span { white-space: nowrap; }
.next-link .next-eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.next-link:hover { color: var(--accent-ink); }
.cta-band { padding: 52px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; }
@media (max-width: 620px) { .next-service .wrap { justify-content: flex-start; } .next-link { flex-direction: column; gap: 4px; } .cta-band { padding: 40px 0; } }

/* Statement left, body right. Lives in CSS, not an inline style — an inline
   grid-template-columns outranks every media query, so the band could never stack. */
.long-game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .long-game { grid-template-columns: 1fr; gap: 24px; } }

/* ── Domain fluency: term + plain-language gloss ────────── */
.gloss-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 10px; }
.gloss { padding: 20px 0; border-top: 1px solid var(--fr-warm-beige); }
.gloss-term { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--brand-deep); line-height: 1.25; }
.gloss-def { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); margin: 6px 0 0; }
@media (max-width: 900px) { .gloss-grid { grid-template-columns: 1fr; gap: 0; } }

/* ── 404 ────────────────────────────────────────────────── */
.nf-links { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 16px; }
.nf-links a { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--brand-deep); border-bottom: 1px solid var(--fr-warm-beige); padding-bottom: 2px; }
.nf-links a:hover { color: var(--brand-accent); border-bottom-color: var(--brand-accent); }

/* ── Team ───────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
@media (max-width: 820px) { .team { grid-template-columns: repeat(2, 1fr); } }
/* No accent underline here — eight of them turned the team grid into a row of bars. */
.member-frame { aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-primary); }
.member-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transform-origin: center 30%; }
.member-photo.ph { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 32px; color: var(--fr-stone); }
.member-name { font-weight: 600; color: var(--brand-deep); margin-top: 12px; font-size: var(--fs-base); }
.member-role { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; min-height: 2.9em; }

/* Clickable member card */
.member { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font-family: inherit; }
.member .member-frame { transition: transform 160ms, box-shadow 160ms; }
.member:hover .member-frame { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(74,46,30,.5); }
.member-cue { font-size: var(--fs-xs); font-weight: 600; color: var(--accent-ink); margin-top: 8px; opacity: 0; transform: translateY(-2px); transition: opacity 160ms, transform 160ms; }
.member:hover .member-cue, .member:focus-visible .member-cue { opacity: 1; transform: none; }
.member:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; border-radius: var(--radius-md); }

/* Bio modal — a single focal element, so it keeps its accent edge */
.bio-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(46,28,18,.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: bioFade 160ms ease-out; }
@keyframes bioFade { from { opacity: 0; } to { opacity: 1; } }
.bio-modal { position: relative; background: var(--bg-surface); border-radius: var(--radius-lg); border-bottom: var(--ground-line-primary) solid var(--brand-accent); max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 32px 36px; box-shadow: 0 30px 70px -24px rgba(46,28,18,.6); animation: bioRise 200ms cubic-bezier(.2,.7,.3,1); }
@keyframes bioRise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.bio-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--text-muted); cursor: pointer; border-radius: 50%; transition: background 140ms, color 140ms; }
.bio-close:hover { background: var(--fr-light-cream); color: var(--brand-deep); }
.bio-head { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.bio-frame { flex: 0 0 96px; width: 96px; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-primary); }
.bio-name { font-family: var(--serif); font-size: var(--fs-2xl); font-weight: 700; color: var(--brand-deep); line-height: 1.2; }
.bio-cred { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
.bio-role { font-size: var(--fs-sm); color: var(--accent-ink); font-weight: 600; margin-top: 4px; }
.bio-text { font-size: var(--fs-base); line-height: 1.66; color: var(--text-body); margin: 0; }
.bio-notable { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--fr-light-cream); font-size: var(--fs-sm); color: var(--brand-deep); }
.bio-notable span { display: block; font-family: var(--sans); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
@media (max-width: 480px) { .bio-modal { padding: 28px 24px; } .bio-head { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ── Legal pages ────────────────────────────────────────── */
.legal-body p { margin-top: 16px; font-size: var(--fs-md); line-height: 1.8; color: var(--text-body); max-width: 660px; }
.legal-body ul { margin: 16px 0 0; padding-left: 20px; max-width: 660px; }
.legal-body li { font-size: var(--fs-md); line-height: 1.8; color: var(--text-body); margin-top: 4px; }
.legal-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--fs-sm); background: var(--fr-light-cream); padding: 1px 4px; border-radius: var(--radius-sm); }
.legal-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--brand-deep); }
.footer-legal { color: rgba(240,237,228,.6); text-decoration: none; }
.footer-legal:hover { color: var(--fr-off-white); }

/* ── Cookie consent banner ──────────────────────────────── */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200; max-width: 740px; margin: 0 auto; background: var(--brand-deep); color: rgba(240,237,228,.9); border-bottom: var(--ground-line-secondary) solid var(--brand-accent); border-radius: var(--radius-md); box-shadow: 0 18px 44px -20px rgba(20,12,6,.7); padding: 20px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { font-size: var(--fs-sm); line-height: 1.55; margin: 0; flex: 1 1 320px; }
.cookie-text a { color: var(--accent-on-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-text a:hover { color: var(--fr-off-white); }
.cookie-actions { display: flex; gap: 12px; align-items: center; }
.cookie-decline { background: none; border: 1px solid rgba(240,237,228,.35); color: var(--fr-off-white); font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; padding: 12px 20px; border-radius: var(--radius-md); cursor: pointer; transition: border-color 120ms; }
.cookie-decline:hover { border-color: var(--fr-off-white); }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions { justify-content: flex-end; } }

/* Responsive sense-line break: honored on wide screens, collapses to natural wrap on small. */
br.brk { display: none; }
@media (min-width: 760px) { br.brk { display: initial; } }
/* A break is only safe once the clause BEFORE it fits on one line; otherwise the
   clause wraps first and the break then strands a word. .brk-wide is for the long
   clauses that need more room than the 760px global threshold gives. */
br.brk-wide { display: none; }
@media (min-width: 960px) { br.brk-wide { display: initial; } }
