/*
 * Theme Name: 321 Child Theme
 * Theme URI: https://www.321webmarketing.com/
 * Author: 321 Web Marketing
 * Author URI: https://www.321webmarketing.com/
 * Description: 321 inspired child theme for the Genesis Framework.
 * Version: 1.0.01
 * License: GPL-3.0-or-later
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Text Domain: tto-child
 * Domain Path: /languages
 * Template: genesis
 */

@charset 'UTF-8';

/* ## Custom Theme CSS
--------------------------------------------- */

/* ============================================================
   PEFFMed Design System — Foundations
   Colors + Typography tokens
   Fonts: Barlow (Google) + Libre Baskerville (Google)
   Libre Baskerville is the brand serif — used for subheadings,
   pull quotes, italic accents, and the "Med" in the logo.
   ============================================================ */


:root {
  /* ---- Brand palette (sampled from brand sheet) ---- */
  --ink:        #253642;  /* Deep charcoal-navy — primary text */
  --navy:       #104679;  /* Primary / Authority */
  --teal:       #73b3b5;  /* Accent / Energy */
  --cream:      #e8e1d8;  /* Background / Warmth */
  --mauve:      #70392c;  /* Secondary accent / Human */
  --slate:      #c3d3e0;  /* Neutral / Supporting */

  /* ---- Tints & shades (derived) ---- */
  --navy-700:   #0c3460;  /* hover / pressed navy */
  --navy-600:   #14528c;
  --navy-100:   #dbe5f0;  /* navy wash */
  --teal-600:   #5a9a9c;  /* teal hover */
  --teal-700:   #498082;
  --teal-100:   #dceceb;  /* teal wash */
  --mauve-600:  #5b2d22;  /* mauve hover */
  --mauve-100:  #ead9d3;  /* mauve wash */
  --cream-deep: #ddd5c9;  /* deeper cream / borders on cream */
  --cream-soft: #f3efe9;  /* lifted surface above cream */
  --slate-300:  #aebbcc;
  --white:      #fdfcfa;  /* warm white — never pure #fff */

  /* ---- Semantic surfaces ---- */
  --bg:           var(--cream);
  --surface:      var(--white);
  --surface-alt:  var(--cream-soft);
  --surface-navy: var(--navy);

  /* ---- Semantic text ---- */
  --fg:        var(--ink);          /* body */
  --fg-strong: var(--navy);         /* headings */
  --fg-muted:  #5d6b74;             /* captions, secondary */
  --fg-subtle: #8a949b;             /* hints, placeholders */
  --fg-on-dark:#eef2f6;             /* text on navy */
  --fg-on-dark-muted: #a9b9cb;

  /* ---- Borders & lines ---- */
  --border:        #d8cfc2;         /* hairline on cream */
  --border-strong: #c4b9a8;
  --border-on-dark: rgba(255,255,255,.16);
  --focus-ring:    var(--teal);

  /* ---- Semantic status ---- */
  --info:    var(--navy);
  --info-bg: var(--navy-100);
  --success: #3f7d6e;
  --success-bg: #dceae3;
  --warning: var(--mauve);
  --warning-bg: var(--mauve-100);

  /* ---- Overlays / scrims ---- */
  --scrim:        rgba(37,54,66,.48);
  --overlay-navy: rgba(16,70,121,.08);

  /* ============================================================
     Typography
     ============================================================ */
  --font-sans:  'Barlow', system-ui, -apple-system, sans-serif;
  --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;

  /* Weights */
  --w-regular: 400;
  --w-medium:  500;
  --w-semibold:600;
  --w-bold:    700;
  --w-extra:   800;

  /* Type scale (1.250 major-third-ish, tuned) */
  --t-display: 72px;   /* 72px — hero */
  --t-h1:      48px;     /* 48px */
  --t-h2:      36px;  /* 36px */
  --t-h3:      26px; /* 26px */
  --t-h4:      20px;  /* 20px */
  --t-lead:    22px; /* 22px — Baskerville italic subhead */
  --t-body:    17px;/* 17px */
  --t-small:   15px;/* 15px */
  --t-caption: 13px;/* 13px */
  --t-label:   12px;  /* 12px — tracked label */

  --lh-tight:  1.08;
  --lh-snug:   1.25;
  --lh-normal: 1.55;
  --tracking-label: 0.14em;
  --tracking-tight: -0.01em;

  /* ============================================================
     Spacing — 4px base
     ============================================================ */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10:128px;

  /* ---- Radii ---- */
  --r-sm:   4px;
  --r-md:   6px;   /* buttons, inputs */
  --r-lg:   10px;  /* cards */
  --r-xl:   16px;
  --r-pill: 999px;

  /* ---- Shadows — warm-toned, navy/mauve based, no harsh black ---- */
  --shadow-sm:  0 1px 2px rgba(37,54,66,.06), 0 1px 3px rgba(16,70,121,.06);
  --shadow-md:  0 2px 6px rgba(37,54,66,.07), 0 6px 16px rgba(16,70,121,.08);
  --shadow-lg:  0 8px 24px rgba(16,70,121,.10), 0 16px 40px rgba(37,54,66,.10);
  --shadow-mauve: 0 8px 28px rgba(112,57,44,.16);
  --shadow-focus: 0 0 0 3px rgba(115,179,181,.45);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur:  200ms;
}

/* ============================================================
   Semantic element defaults (opt-in via .ds-prose or base)
   ============================================================ */
.ds-display {
  font-family: var(--font-sans);
  font-weight: var(--w-extra);
  font-size: var(--t-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-strong);
}
.ds-h1 { font-family: var(--font-sans); font-weight: var(--w-bold); font-size: var(--t-h1); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); color: var(--fg-strong); }
.ds-h2 { font-family: var(--font-sans); font-weight: var(--w-bold); font-size: var(--t-h2); line-height: var(--lh-snug); color: var(--fg-strong); }
.ds-h3 { font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: var(--t-h3); line-height: var(--lh-snug); color: var(--fg-strong); }
.ds-h4 { font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: var(--t-h4); line-height: var(--lh-snug); color: var(--fg-strong); }
.ds-lead { font-family: var(--font-serif); font-style: italic; font-weight: var(--w-regular); font-size: var(--t-lead); line-height: var(--lh-normal); color: var(--mauve); }
.ds-body { font-family: var(--font-sans); font-weight: var(--w-regular); font-size: var(--t-body); line-height: var(--lh-normal); color: var(--fg); }
.ds-small { font-family: var(--font-sans); font-size: var(--t-small); line-height: var(--lh-normal); color: var(--fg-muted); }
.ds-caption { font-family: var(--font-sans); font-size: var(--t-caption); line-height: var(--lh-normal); color: var(--fg-muted); }
.ds-label {
  font-family: var(--font-sans);
  font-weight: var(--w-semibold);
  font-size: var(--t-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--teal-700);
}

/* ============================================================
   PEFF Med — Site styles
   Built on the PEFFMed design system tokens (tokens.css)
   Editorial luxury-medical: cream canvas, navy authority,
   teal accent, mauve as a rare warm grace note.
   Type: Barlow (structure) + Libre Baskerville (serif display).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
/* Snappier touch response; prevents double-tap zoom on controls */
a, button, input, select, textarea, label { touch-action: manipulation; }
/* Replace hover-lift with simple press feedback on touch devices */
@media (hover: none) {
  .btn:active { transform: translateY(1px); }
}
::selection { background: var(--teal-100); color: var(--navy); }

/* --- focus visibility --- */
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 4px; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container { width: min(1180px, 92vw); margin-inline: auto; }
.container-narrow { width: min(760px, 92vw); margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 144px); }
.section-sm { padding-block: clamp(56px, 8vw, 104px); }

.band-cream { background: var(--cream); }
.band-soft  { background: var(--cream-soft); }
.band-white { background: var(--surface); }
.band-navy  { background: var(--navy); color: var(--fg-on-dark); }
.band-navy-deep { background: linear-gradient(160deg, #0e3f6e 0%, #0a2c50 100%); color: var(--fg-on-dark); }

/* ============================================================
   Type helpers
   ============================================================ */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--w-semibold);
  font-size: var(--t-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-5);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--teal);
  display: inline-block;
}
.eyebrow.on-navy { color: var(--teal); }
.eyebrow.on-navy::before { background: var(--teal); }
.eyebrow.centered { justify-content: center; }

.serif { font-family: var(--font-serif); }
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin: 0;
}
.band-navy .display, .band-navy-deep .display { color: #fff; }

h2.title, .title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 var(--space-5);
}
.band-navy .title, .band-navy-deep .title { color: #fff; }

.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
  color: var(--mauve);
  margin: 0 0 var(--space-6);
}
.band-navy .lead, .band-navy-deep .lead { color: var(--teal); }

/* Internal page headers — italic teal accent line + quiet ink lead */
.page-head h1 .accent { font-style: italic; color: var(--teal); }
.page-head .lead {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}

.body-lg { font-size: clamp(17px, 1.3vw, 19.2px); line-height: 1.7; color: var(--fg); }
.muted { color: var(--fg-muted); }
/* Large section-intro paragraphs read in full ink, not muted grey */
.body-lg.muted { color: var(--ink); }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }

/* "Why PEFFMed?" — continuation block (lead-in, list, emphasis, membership) */
.why-continued { margin-top: clamp(44px, 5vw, 72px); max-width: 74ch; }
.why-lead {
  font-weight: var(--w-semibold); color: var(--navy);
  font-size: clamp(17px, 1.3vw, 19.2px); margin-bottom: var(--space-4);
}
.why-list {
  list-style: none; margin: 0 0 var(--space-7); padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px;
}
.why-list li {
  position: relative; padding-left: 26px;
  color: var(--fg); line-height: 1.5;
}
.why-list li::before {
  content: ""; position: absolute; left: 4px; top: 0.6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.why-emphasis {
  margin-bottom: var(--space-8);
  font-size: clamp(18.88px, 1.6vw, 22.72px); line-height: 1.45; color: var(--navy);
}
.why-emphasis .punch {
  display: block; margin-top: 8px; padding-left: 1.6em; color: var(--ink);
}
.why-emphasis .punch strong { color: var(--mauve); font-weight: var(--w-bold); }
.why-strong { color: var(--navy); font-weight: var(--w-semibold); }
.why-membership strong { color: var(--navy); font-weight: var(--w-semibold); }
.why-membership p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .why-list { grid-template-columns: 1fr; gap: 12px; }
}

p { margin: 0 0 var(--space-5); }
p:last-child { margin-bottom: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --btn-bg: var(--navy);
  font-family: var(--font-sans);
  font-weight: var(--w-semibold);
  font-size: var(--t-small);
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: #fff;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn .arr { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.btn { white-space: nowrap; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--teal-700); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-100); color: var(--teal-700); border-color: var(--teal-600); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); padding-inline: 4px; }
.btn-ghost:hover { color: var(--teal-700); }
.btn-on-navy { background: var(--teal); color: #fff; }
.btn-on-navy:hover { background: var(--teal-600); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: var(--t-body); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* ============================================================
   Fixed chrome: brand, menu toggle, Patient Portal
   ============================================================ */
.top-left {
  position: fixed; top: 0; left: 0; z-index: 80;
  padding: clamp(18px, 2.4vw, 30px) clamp(20px, 4vw, 56px);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: clamp(30px, 3.4vw, 42px); width: auto; }
.brand .logo-white { display: none; }
/* White (on-dark) logo at the top of the dark hero; navy logo once a white bar appears */
body.route-home:not(.scrolled):not(.menu-open) .brand .logo-navy { display: none; }
body.route-home:not(.scrolled):not(.menu-open) .brand .logo-white { display: block; }
body.menu-open .brand .logo-navy { display: none; }
body.menu-open .brand .logo-white { display: block; }

.top-right {
  position: fixed; top: 0; right: 0; z-index: 80;
  padding: clamp(16px, 2.4vw, 26px) clamp(20px, 4vw, 56px);
  display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px);
}

.portal-btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-weight: var(--w-semibold); font-size: var(--t-small);
  letter-spacing: 0.02em;
  padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--teal); color: #fff;
  box-shadow: 0 6px 18px rgba(115,179,181,.34);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.portal-btn:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(115,179,181,.42); }
.portal-btn svg { width: 16px; height: 16px; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: var(--w-semibold);
  font-size: var(--t-label); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--navy);
  padding: 10px 4px;
  transition: color var(--dur) var(--ease);
}
.menu-toggle .label { line-height: 1; }
body.route-home:not(.scrolled):not(.menu-open) .menu-toggle { color: #fff; }
body.menu-open .menu-toggle { color: #fff; }
.burger { position: relative; width: 26px; height: 12px; flex: 0 0 auto; }
.burger span {
  position: absolute; left: 0; height: 1.6px; width: 100%;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), width var(--dur) var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 5px; width: 70%; }
.burger span:nth-child(3) { top: 10px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 100%; }

/* Solid white header bar that slides in on scroll */
.header-scrim {
  position: fixed; top: 0; left: 0; right: 0; height: clamp(74px, 8vw, 92px); z-index: 70;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 22px rgba(16,70,121,.07);
  pointer-events: none; opacity: 0; transform: translateY(-100%);
  transition: opacity 320ms var(--ease), transform 380ms var(--ease);
}
body.scrolled .header-scrim { opacity: 1; transform: translateY(0); }
body.menu-open .header-scrim { opacity: 0; transform: translateY(-100%); }

/* ============================================================
   Full-screen menu overlay
   ============================================================ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: linear-gradient(155deg, #0e3f6e 0%, #0a2c50 100%);
  color: var(--fg-on-dark);
  display: grid; grid-template-columns: 1.4fr 1fr;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 420ms var(--ease), visibility 420ms var(--ease);
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; pointer-events: auto; }

.menu-overlay::before {
  /* faint brand glow */
  content: ""; position: absolute; right: -8%; top: -10%;
  width: 60vh; height: 60vh; border-radius: 50%;
  background: radial-gradient(circle, rgba(115,179,181,.22), transparent 62%);
  pointer-events: none;
}
.menu-nav {
  align-self: center;
  padding: clamp(96px, 12vh, 160px) clamp(24px, 6vw, 96px) 48px;
  position: relative; z-index: 1;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { border-bottom: 1px solid rgba(255,255,255,.10); }
.menu-link, .menu-parent {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(30.4px, 4.6vw, 49.6px); line-height: 1.1;
  color: #fff; padding: clamp(14px, 2vh, 22px) 0;
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.menu-link:hover, .menu-parent:hover { color: var(--teal); padding-left: 14px; }
.menu-parent .chev {
  width: 22px; height: 22px; flex: 0 0 auto; color: var(--teal);
  transition: transform 360ms var(--ease);
}
.menu-item.open .menu-parent .chev { transform: rotate(180deg); }
.menu-index { display: none; }
.menu-parent .parent-label { display: inline-flex; align-items: baseline; }

.submenu {
  list-style: none; margin: 0; padding: 0;
  overflow: hidden; max-height: 0;
  transition: max-height 420ms var(--ease);
}
.menu-item.open .submenu { max-height: 360px; }
.submenu li a {
  display: block;
  font-family: var(--font-sans); font-weight: var(--w-medium);
  font-size: clamp(16px, 1.5vw, 19.2px);
  color: var(--fg-on-dark-muted);
  padding: 11px 0 11px 2px;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.submenu { padding-bottom: 14px; }
.submenu li a:hover { color: #fff; padding-left: 12px; }
.submenu li a.active { color: var(--teal); }

.menu-aside {
  position: relative; z-index: 1;
  border-left: 1px solid rgba(255,255,255,.12);
  padding: clamp(96px, 12vh, 160px) clamp(28px, 4vw, 64px) 48px;
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-6);
}
.menu-aside .aside-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(20.8px, 1.8vw, 25.6px); line-height: 1.5; color: #fff;
}
.menu-aside .aside-block .lbl {
  font-size: var(--t-label); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 8px;
}
.menu-aside .aside-block a, .menu-aside .aside-block p { color: var(--fg-on-dark); font-size: var(--t-body); }
.menu-aside .aside-block a:hover { color: var(--teal); }

/* ============================================================
   Page / route machinery
   ============================================================ */

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 760ms var(--ease), transform 760ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 90ms; }
.reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; }
.reveal.d4 { transition-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: 132px clamp(20px, 4vw, 56px) 64px;
  width: min(1320px, 96vw); margin-inline: auto;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(41.6px, 6vw, 80px); line-height: 1.02;
  letter-spacing: -0.015em; color: var(--navy); margin: 0 0 var(--space-6);
}
.hero h1 .accent { color: var(--teal-700); font-style: italic; }
.hero .lead { color: var(--mauve); }
.hero-statement { font-size: clamp(17px, 1.4vw, 19.52px); line-height: 1.7; color: var(--fg); max-width: 48ch; margin-bottom: var(--space-7); }

.hero-visual { position: relative; z-index: 1; aspect-ratio: 4 / 5; width: 100%; }
.hero-visual img { width: 100%; height: 100%; box-shadow: var(--shadow-lg); }
.blob {
  position: absolute; border-radius: 50%; filter: blur(2px);
  pointer-events: none; z-index: 0;
}
.blob-1 { width: 46vmax; height: 46vmax; right: -16vmax; top: -10vmax;
  background: radial-gradient(circle at 40% 40%, rgba(115,179,181,.28), rgba(115,179,181,0) 64%); }
.blob-2 { width: 30vmax; height: 30vmax; left: -10vmax; bottom: -8vmax;
  background: radial-gradient(circle at 50% 50%, rgba(112,57,44,.12), rgba(112,57,44,0) 66%); }
.hero-tag {
  position: absolute; left: -28px; bottom: 36px; z-index: 3;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 20px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.hero-tag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex: 0 0 auto; box-shadow: 0 0 0 4px var(--success-bg); }
.hero-tag .t { font-size: var(--t-small); line-height: 1.4; }
.hero-tag .t b { color: var(--navy); display: block; font-weight: var(--w-semibold); }
.hero-tag .t span { color: var(--fg-muted); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
  font-size: var(--t-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--fg-muted);
}
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(var(--teal), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: var(--navy); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { top: -40%; } 60%,100% { top: 100%; } }

/* ---- Full-bleed image hero variant ---- */
.hero-image {
  display: block; width: 100%; max-width: none; margin: 0; padding: 0;
  min-height: 100svh; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; left: 0; right: 0; top: -12%; height: 130%; z-index: 0;
  background: #dfe8f0 72% 34% / cover no-repeat; background-size: cover; background-position: 72% 34%;
  will-change: transform;
}
/* Scale the hero image down at narrower widths so more of the photo reads */
@media (max-width: 1200px) {
  .hero-bg { background-size: cover; background-position: 74% 24%; }
}
@media (max-width: 900px) {
  .hero-bg { background-size: cover; }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(101deg, rgba(8,30,54,.96) 0%, rgba(8,30,54,.82) 32%, rgba(8,30,54,.46) 64%, rgba(8,30,54,.14) 100%),
    linear-gradient(180deg, rgba(8,30,54,.42) 0%, rgba(8,30,54,0) 22%, rgba(8,30,54,0) 72%, rgba(8,30,54,.5) 100%);
}
.hero-inner {
  position: relative; z-index: 2; min-height: 100svh;
  display: flex; align-items: center;
  width: min(1180px, 92vw); margin-inline: auto;
  padding: 140px 0 104px;
}
.hero-image .hero-copy { max-width: 860px; }
.hero-image h1 {
  color: #fff; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(41.6px, 6vw, 80px); line-height: 1.02;
  letter-spacing: -0.015em; margin: 0 0 var(--space-6);
  text-shadow: 0 2px 30px rgba(6,22,42,.4);
}
.hero-image h1 .accent { color: var(--teal); font-style: italic; }
.hero-image .hero-statement {
  font-size: clamp(18.88px, 1.7vw, 23.2px); line-height: 1.4;
  color: rgba(255,255,255,.9); max-width: 64ch; margin-bottom: var(--space-7);
  text-shadow: 0 1px 18px rgba(6,22,42,.45);
}
.eyebrow.on-dark { color: var(--teal); }
.eyebrow.on-dark::before { background: var(--teal); }
.scroll-cue.light { color: rgba(255,255,255,.78); z-index: 3; }
.scroll-cue.light .line { background: linear-gradient(rgba(255,255,255,.7), transparent); }
.scroll-cue.light .line::after { background: #fff; }
@media (max-width: 680px) {
  .hero-bg { background-position: 76% 22%; }
  .hero-scrim { background:
    linear-gradient(180deg, rgba(8,30,54,.6) 0%, rgba(8,30,54,.5) 40%, rgba(8,30,54,.82) 100%); }
}

/* ============================================================
   PEFF acronym
   ============================================================ */
.acronym { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.acro-item {
  position: relative; padding: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 30px);
  border-right: 1px solid var(--border);
}
.acro-item:last-child { border-right: 0; }
.acro-letter {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(54.4px, 7vw, 99.2px); line-height: 1; color: var(--navy);
  transition: color var(--dur) var(--ease);
}
.acro-item:hover .acro-letter { color: var(--teal-700); }
.acro-word {
  font-weight: var(--w-bold); font-size: var(--t-h4); color: var(--navy);
  margin: var(--space-4) 0 var(--space-2); letter-spacing: -0.01em;
}
.acro-text { font-size: var(--t-small); color: var(--fg-muted); line-height: 1.6; }
.acro-item .rule { width: 30px; height: 2px; background: var(--teal); margin-top: 14px; transition: width var(--dur) var(--ease); }
.acro-item:hover .rule { width: 56px; }

/* Acronym carousel (tablet/mobile): one principle at a time, letters as tabs */
.acronym-viewport { overflow: visible; }
.acro-tabs { display: none; }
.acro-tab {
  font-family: var(--font-serif); font-weight: 400; font-size: 30.4px; line-height: 1;
  width: 58px; height: 58px; border-radius: 50%; padding: 0;
  background: transparent; border: 1.5px solid var(--border); color: var(--fg-subtle);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.acro-tab:hover { color: var(--teal-700); border-color: var(--teal); }
.acro-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================================================
   Differentiators — expanding hover panels
   ============================================================ */
.diff-section { position: relative; overflow: hidden; background: linear-gradient(160deg, #082a4c 0%, #04162c 100%); }
.diff-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(95%, 1600px);
  background: url("assets/img/bg-circles.webp") no-repeat right bottom / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.diff-section .container { position: relative; z-index: 1; }

/* Mission statement — circles motif right-justified over the navy, like the home blue section */
.mission-circles { position: relative; overflow: hidden; }
.mission-circles::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(70%, 1100px);
  background: url("assets/img/bg-circles.webp") no-repeat right center / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.mission-circles .container { position: relative; z-index: 1; }

/* Our story — green circles motif over the white background, like the home CTA */
.story-circles { position: relative; overflow: hidden; }
.story-circles::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(70%, 1100px);
  background: url("assets/img/bg-circles-green.webp") no-repeat right center / contain;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.story-circles .container { position: relative; z-index: 1; }

/* CTA — circles motif right-justified over the white background */
.cta-section { position: relative; overflow: hidden; }
.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(70%, 1100px);
  background: url("assets/img/bg-circles-green.webp") no-repeat right center / contain;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.cta-section .cta-strip { position: relative; z-index: 1; }
/* "A practice for the few" CTA — left-justified, aligned to main content column */
.cta-section .cta-strip { text-align: left; width: min(1180px, 92vw); }
.cta-section .cta-strip .eyebrow.centered { justify-content: flex-start; }
.cta-section .cta-strip .btn-row { justify-content: flex-start !important; }
.diff-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-4); margin-top: clamp(36px, 4vw, 56px); }
.diff-cta .btn { white-space: nowrap; }
.diff-cta .btn .arr { width: 15px; height: 15px; }
.diff-head { margin-bottom: clamp(32px, 4vw, 56px); }
.diff-head-copy { max-width: 60ch; }
.diff-head-copy .title { margin-bottom: var(--space-4); }
.diff-head-sub { margin: 0; font-size: clamp(17px, 1.3vw, 19.2px); line-height: 1.7; color: var(--fg-on-dark-muted); max-width: 78ch; }

.diff-panels {
  display: flex; gap: clamp(10px, 1vw, 16px);
  height: clamp(440px, 58vh, 600px);
}
.diff-panel {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  isolation: isolate;
  transition: flex-grow 620ms var(--ease);
}
.diff-panel:hover, .diff-panel:focus-visible { flex-grow: 2.9; outline: none; }
.diff-panel:focus-visible { box-shadow: var(--shadow-focus); }

.diff-panel-media { position: absolute; inset: 0; z-index: 0; }
.diff-panel-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 720ms var(--ease);
}
.diff-panel:hover .diff-panel-media img { transform: scale(1.05); }
.diff-panel-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,30,54,.30) 0%, rgba(8,30,54,.06) 24%, rgba(8,30,54,0) 48%);
  transition: background 500ms var(--ease);
}
.diff-panel:hover .diff-panel-veil {
  background: linear-gradient(180deg, rgba(8,30,54,.34) 0%, rgba(8,30,54,.08) 28%, rgba(8,30,54,0) 52%);
}

.diff-dot {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
}
.diff-dot::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--teal); }

.diff-panel-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(40px, 5vw, 60px) clamp(20px, 1.7vw, 30px) clamp(22px, 1.8vw, 30px);
  background: linear-gradient(to top, rgba(10,42,78,.94) 0%, rgba(12,50,88,.82) 42%, rgba(15,62,108,.40) 76%, rgba(16,70,121,0) 100%);
}
.diff-panel-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(23.2px, 1.7vw, 30.4px); line-height: 1.16;
  letter-spacing: -0.01em; color: #fff; margin: 0;
  text-shadow: 0 1px 16px rgba(6,22,42,.4);
}
.diff-panel-caption { display: none; }
.diff-panel-reveal {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 560ms var(--ease), opacity 380ms var(--ease), margin-top 560ms var(--ease);
  margin-top: 0;
}
.diff-panel:hover .diff-panel-reveal, .diff-panel:focus-visible .diff-panel-reveal {
  max-height: 240px; opacity: 1; margin-top: 18px;
}
.diff-panel-reveal p {
  margin: 0 0 20px; font-size: var(--t-body); line-height: 1.6;
  color: rgba(255,255,255,.88); max-width: 42ch;
}
.diff-learn {
  display: none;
  align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: var(--t-small);
  padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--teal); color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), gap var(--dur) var(--ease);
  white-space: nowrap;
}
.diff-learn svg { width: 16px; height: 16px; }
.diff-learn:hover { background: var(--teal-600); transform: translateY(-2px); gap: 13px; }

@media (prefers-reduced-motion: reduce) {
  .diff-panel, .diff-panel-media img, .diff-panel-reveal { transition: none; }
}

/* Carousel navigation (shown only when diff-panels collapses to one-up) */
.diff-nav {
  display: none; align-items: center; justify-content: center;
  gap: clamp(20px, 3vw, 36px); margin-top: clamp(24px, 4vw, 40px);
}
.diff-nav-arrow {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: transparent; border: 1.5px solid var(--border-on-dark); color: #fff;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.diff-nav-arrow svg { width: 20px; height: 20px; }
.diff-nav-arrow:hover:not(:disabled) { background: var(--teal); color: var(--navy); border-color: var(--teal); transform: translateY(-2px); }
.diff-nav-arrow:disabled { opacity: 0.3; cursor: default; }
.diff-nav-dots { display: flex; align-items: center; gap: 10px; }
.diff-nav-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  position: relative;
  background: rgba(255,255,255,.32); border: 0; cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.diff-nav-dot:hover { background: var(--teal); transform: scale(1.15); }
.diff-nav-dot.active { width: 28px; border-radius: 999px; background: var(--teal); }
/* invisible expanded hit area — dots stay 9px visually but tap at ~37px */
.diff-nav-dot::after, .staff-dot::after { content: ""; position: absolute; inset: -14px -5px; }

@media (max-width: 900px) {
  .diff-panels {
    flex-direction: row; height: auto; gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .diff-panels::-webkit-scrollbar { display: none; }
  .diff-panel {
    flex: 0 0 100%; scroll-snap-align: center;
    height: clamp(380px, 96vw, 480px);
  }
  .diff-panel:hover, .diff-panel:focus-visible { flex-grow: 0; }
  .diff-panel-reveal { max-height: 240px; opacity: 1; margin-top: 16px; }
  .diff-panel-veil { background: linear-gradient(180deg, rgba(8,30,54,.30) 0%, rgba(8,30,54,.06) 26%, rgba(8,30,54,0) 50%); }
  .diff-panel-media img { transform: none !important; }
  .diff-nav { display: flex; }
}

/* ============================================================
   Cards / values / services
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
body.route-mission .grid-3 .card:hover { transform: none; box-shadow: none; border-color: var(--border); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.grid-aside { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }

.icon-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: var(--space-5);
}
.icon-badge svg { width: 26px; height: 26px; }
.value-item .icon-badge { background: transparent; border: 1px solid var(--teal); width: 52px; height: 52px; }

.service-card { display: flex; flex-direction: column; overflow: hidden; }
a.service-card { text-decoration: none; color: inherit; }
a.service-card .link { pointer-events: none; }
.service-card-media {
  margin: calc(-1 * clamp(28px, 3vw, 40px));
  margin-bottom: var(--space-6);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-soft);
}
.service-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover .service-card-media img { transform: scale(1.04); }

/* Explore cards — clickable navigation boxes (About overview) */
.explore-card { display: flex; flex-direction: column; overflow: hidden; }
.explore-card:hover .service-card-media img { transform: scale(1.04); }
.explore-card .num-tag {
  font-size: var(--t-label); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--teal-700); margin-bottom: var(--space-4);
}
.explore-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: var(--t-h3); color: var(--navy); margin: 0 0 var(--space-3); letter-spacing: -0.01em; }
.explore-card p { color: var(--fg-muted); margin: 0 0 var(--space-5); }
.explore-card .link { margin-top: auto; }
.explore-card:hover .link { color: var(--teal-700); }
.explore-card:hover .link svg { transform: translateX(4px); }
.explore-card .link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.service-card .num-tag {
  font-size: var(--t-label); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--fg-subtle); margin-bottom: var(--space-4);
}
.service-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: var(--t-h3); color: var(--navy); margin: 0 0 var(--space-3); letter-spacing: -0.01em; }
.service-card p { color: var(--fg-muted); margin: 0 0 var(--space-5); }
.service-card .link { margin-top: auto; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  padding-block: 10px; margin-block: -10px;
  font-weight: var(--w-semibold); font-size: var(--t-small); color: var(--teal-700);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link svg { width: 16px; height: 16px; }
.link:hover { gap: 14px; color: var(--navy); }

/* values strip on navy */
.value-item h3 { font-size: var(--t-h4); color: #fff; margin: 0 0 var(--space-3); font-weight: var(--w-semibold); }
.value-item p { color: var(--fg-on-dark-muted); font-size: var(--t-small); margin: 0; }
.value-item .icon-badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: var(--teal); }

/* "What we believe" — values carousel (one-at-a-time) */
.values-viewport {
  overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.values-viewport::-webkit-scrollbar { display: none; }
.values-track { --val-gap: var(--space-6); display: flex; gap: var(--val-gap); }
.value-slide { flex: 0 0 calc((100% - 2 * var(--val-gap)) / 3); scroll-snap-align: start; }
.values-nav {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 3vw, 36px); margin-top: clamp(30px, 4vw, 52px);
}
@media (max-width: 900px) {
  .value-slide { flex-basis: calc((100% - var(--val-gap)) / 2); }
}
@media (max-width: 600px) {
  .value-slide { flex-basis: 100%; }
}

/* ============================================================
   Staff cards
   ============================================================ */
.staff-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
body.route-staff .staff-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.staff-portrait { width: 100%; aspect-ratio: 4 / 5; background: var(--cream-soft); }
.staff-portrait img { width: 100%; height: 100%; }
.staff-body { padding: clamp(22px, 2.4vw, 30px); }
.staff-body .role { font-size: var(--t-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--teal-700); margin: 0 0 8px; }
.staff-body h3 { font-family: var(--font-serif); font-weight: 400; font-size: var(--t-h3); color: var(--navy); margin: 0 0 6px; }
.staff-body .cred { font-size: var(--t-small); color: var(--fg-muted); margin: 0 0 var(--space-4); }
.staff-body p { font-size: var(--t-small); color: var(--fg); margin: 0; line-height: 1.65; }

/* Staff carousel — 3 visible of many */
.staff-viewport { overflow: hidden; }
.staff-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--space-6)) / 2);
  gap: var(--space-6);
  transition: transform 560ms var(--ease);
}
.staff-track .staff-card { height: 100%; }
@media (max-width: 900px) {
  .staff-track { grid-auto-columns: calc((100% - var(--space-6)) / 2); }
}
@media (max-width: 600px) {
  .staff-track { grid-auto-columns: 100%; }
}

/* Redesigned navigation: arrows + paged dots */
.staff-controls {
  display: none; align-items: center; justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(32px, 4vw, 52px);
}
@media (max-width: 600px) { .staff-controls { display: flex; } }
.staff-arrow {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  background: transparent; border: 1.5px solid var(--border-strong);
  color: var(--navy); cursor: pointer; display: grid; place-items: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.staff-arrow svg { width: 20px; height: 20px; }
.staff-arrow:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.staff-arrow:disabled { opacity: 0.3; cursor: default; }
.staff-dots { display: flex; align-items: center; gap: 10px; }
.staff-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  position: relative;
  background: var(--slate); border: 0; cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.staff-dot:hover { background: var(--teal); transform: scale(1.15); }
.staff-dot.active { width: 28px; border-radius: 999px; background: var(--teal); }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 2.6vw, 30px) 4px;
  font-family: var(--font-sans); font-weight: var(--w-semibold);
  font-size: clamp(17.6px, 1.7vw, 21.6px); color: var(--navy);
  letter-spacing: -0.005em; transition: color var(--dur) var(--ease);
}
.faq-q:hover { color: var(--teal-700); }
.faq-icon { position: relative; width: 20px; height: 20px; flex: 0 0 auto; margin-top: 6px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform 360ms var(--ease), opacity var(--dur) var(--ease); }
.faq-icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 440ms var(--ease); }
.faq.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 56px var(--space-6) 4px; color: var(--ink); font-size: var(--t-body); line-height: 1.7; max-width: 70ch; }

/* ============================================================
   Pull quote
   ============================================================ */
.pullquote { text-align: center; }
.pullquote blockquote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.35; color: var(--navy);
  margin: 0 auto; max-width: 32ch;
}
.band-navy .pullquote blockquote, .band-navy-deep .pullquote blockquote { color: #fff; }
.pullquote .mark { font-family: var(--font-serif); font-size: 64px; color: var(--teal); line-height: 0.5; display: block; margin-bottom: 18px; }
.pullquote cite { display: block; margin-top: var(--space-6); font-style: normal; font-family: var(--font-sans); font-size: var(--t-small); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--fg-muted); }
.band-navy-deep .pullquote cite { color: var(--fg-on-dark-muted); }
.pullquote cite a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color var(--dur) var(--ease); }
.pullquote cite a:hover { color: var(--teal-700); }

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-head { padding: clamp(132px, 16vh, 200px) 0 clamp(48px, 6vw, 80px); }
.page-head .display { font-size: clamp(41.6px, 6vw, 73.6px); }
.breadcrumb { font-size: var(--t-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--fg-subtle); margin-bottom: var(--space-4); }
.breadcrumb a { display: inline-block; padding: 12px 2px; margin: -12px -2px; }
.breadcrumb a:hover { color: var(--teal-700); }

/* big editorial figure (image-slot) */
.figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.figure > img, .figure .space-carousel-viewport { width: 100%; height: 100%; }
.figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.figure.tall { aspect-ratio: 3 / 4; }
.figure.wide { aspect-ratio: 16 / 10; }
.figure.square { aspect-ratio: 1; }

/* Single-column photo carousel (location "the practice") */
.space-carousel { position: relative; }
.space-carousel-viewport { width: 100%; height: 100%; overflow: hidden; }
.space-carousel-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.space-slide { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }
.space-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; color: var(--navy);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); z-index: 2; transition: background var(--dur) var(--ease);
}
.space-arrow:hover { background: #fff; }
.space-arrow svg { width: 20px; height: 20px; }
.space-arrow.prev { left: 14px; }
.space-arrow.next { right: 14px; }
.space-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 7px; justify-content: center; z-index: 2; }
.space-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); border: none; padding: 0; cursor: pointer; transition: background var(--dur) var(--ease); }
.space-dot.active { background: #fff; }

/* Location photo gallery — paged carousel (3-up, responsive) */
.gallery-viewport {
  overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-track {
  --gal-gap: var(--space-6);
  display: flex; gap: var(--gal-gap);
}
.gallery-slide { flex: 0 0 calc((100% - 2 * var(--gal-gap)) / 3); scroll-snap-align: start; }
.gallery-controls { margin-top: clamp(28px, 3.5vw, 44px); }
/* Explore-cards carousel — equal-height cards */
.explore-slide { display: flex; }
.explore-slide .explore-card { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .gallery-slide { flex-basis: calc((100% - var(--gal-gap)) / 2); }
}
@media (max-width: 600px) {
  .gallery-slide { flex-basis: 100%; }
}

/* stat / proof row */
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.proof .n { font-family: var(--font-serif); font-size: clamp(38.4px, 4vw, 54.4px); color: var(--teal-700); line-height: 1; }
.band-navy-deep .proof .n { color: var(--teal); }
.proof .l { margin-top: var(--space-3); font-size: var(--t-small); color: var(--fg-muted); }
.band-navy-deep .proof .l { color: var(--fg-on-dark-muted); }
.proof { border-left: 2px solid var(--teal); padding-left: var(--space-5); }

/* ============================================================
   Contact form
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--t-label); letter-spacing: var(--tracking-label); text-transform: uppercase; font-weight: var(--w-semibold); color: var(--navy); }
.field input, .field textarea, .field select {
  font-family: var(--font-sans); font-size: var(--t-body); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 14px 16px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }

/* Contact form on a dark navy band (Location page) */
.contact-on-navy .field label { color: rgba(255,255,255,.82); }
.contact-on-navy .field input,
.contact-on-navy .field textarea,
.contact-on-navy .field select {
  background-color: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.contact-on-navy .field input::placeholder,
.contact-on-navy .field textarea::placeholder { color: rgba(255,255,255,.45); }
.contact-on-navy .field input:focus,
.contact-on-navy .field textarea:focus,
.contact-on-navy .field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(115,180,181,.25);
  outline: none;
}
.contact-on-navy .field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373b4b5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
}
.contact-on-navy .field select option { color: var(--ink); }
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23104679' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-subtle); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: var(--shadow-focus); }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chip span { display: inline-flex; padding: 11px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--border); font-size: var(--t-small); color: var(--fg-muted); cursor: pointer; transition: all var(--dur) var(--ease); }
.radio-chip input:checked + span { border-color: var(--teal); background: var(--teal-100); color: var(--teal-700); font-weight: var(--w-semibold); }
.form-note { font-size: var(--t-small); color: var(--fg-muted); margin-top: var(--space-4); }

/* Contact form on a white background — give fields a soft warm fill + firmer
   borders so they read against white, and lift chips/inputs accordingly. */
.contact-light .field input,
.contact-light .field textarea,
.contact-light .field select {
  background-color: var(--cream-soft);
  border-color: var(--border-strong);
}
.contact-light .field input:focus,
.contact-light .field textarea:focus,
.contact-light .field select:focus {
  background-color: var(--white);
  border-color: var(--teal);
}
.contact-light .radio-chip span {
  background: var(--cream-soft);
  border-color: var(--border-strong);
}
.contact-light .radio-chip input:checked + span {
  background: var(--teal-100);
  border-color: var(--teal);
  color: var(--teal-700);
}
.form-success { display: none; padding: 28px; border-radius: var(--r-lg); background: var(--success-bg); border: 1px solid #bfe0d2; color: #2c5e51; }
.form-success.show { display: block; }

.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-line .lbl { font-size: var(--t-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--teal-700); margin-bottom: 8px; }
.contact-line .v { font-size: var(--t-h4); color: var(--navy); font-weight: var(--w-medium); }
.contact-line a.v { display: inline-block; padding: 10px 0; margin: -10px 0; }
.contact-line .v.serif { font-family: var(--font-serif); }
.contact-line a.v:hover { color: var(--teal-700); }

/* ============================================================
   Location — map + directions
   ============================================================ */
.location-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 4vw, 64px); align-items: stretch; }
.location-map {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  min-height: 440px;
}
.location-map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
.location-detail { display: flex; flex-direction: column; }
.location-detail .contact-info { gap: var(--space-5); }
.dir-list { list-style: none; margin: var(--space-7) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.dir-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.dir-item .icon-badge { flex: 0 0 auto; width: 48px; height: 48px; margin-bottom: 0; }
.dir-item .icon-badge svg { width: 22px; height: 22px; }
.dir-item h4 { font-size: var(--t-h4); color: var(--navy); margin: 2px 0 6px; font-weight: var(--w-semibold); }
.dir-item p { color: var(--fg-muted); margin: 0; }
@media (max-width: 860px) {
  .location-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip { text-align: center; }
.cta-strip .title { margin-bottom: var(--space-4); }
.cta-strip .lead { margin-bottom: var(--space-7); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: linear-gradient(160deg, #0c3a66 0%, #08294b 100%); color: var(--fg-on-dark); padding: clamp(64px, 8vw, 104px) 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 56px); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 38px; margin-bottom: var(--space-5); }
.footer-brand p { color: var(--fg-on-dark-muted); font-size: var(--t-small); max-width: 32ch; }
.footer-col h4 { font-size: var(--t-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--teal); margin: 0 0 var(--space-5); font-weight: var(--w-semibold); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { color: var(--fg-on-dark-muted); font-size: var(--t-small); cursor: pointer; transition: color var(--dur) var(--ease); }
.footer-col a:hover, .footer-col li:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: var(--space-6); color: var(--fg-on-dark-muted); font-size: var(--t-caption); }
.footer-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   Section heading block
   ============================================================ */
.sec-head { max-width: 52ch; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head.centered { margin-inline: auto; text-align: center; }
.sec-head.centered .eyebrow { justify-content: center; }

/* divider */
.hr-rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* Insurance cards (white background — consistent with service/explore cards) */
.insurance-cards .card h3 { font-family: var(--font-serif); font-weight: 400; font-size: var(--t-h3); color: var(--navy); margin: 0 0 12px; }
.insurance-cards .card p { color: var(--fg-muted); margin: 0; }

/* Membership benefits grid */
.benefit-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-7);
}
.benefit-item { display: flex; gap: var(--space-4); align-items: center; }
.benefit-item .icon-badge { flex: 0 0 auto; width: 48px; height: 48px; margin-bottom: 0; }
.benefit-item p { margin: 0; font-size: var(--t-body); color: var(--ink); line-height: 1.55; font-weight: var(--w-medium); }
@media (max-width: 760px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* Become-a-member step list */
.step-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.step {
  display: flex; gap: clamp(24px, 4vw, 56px); align-items: flex-start;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  flex: 0 0 auto;
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1;
  color: var(--teal);
  min-width: 72px;
}
.step-body h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: var(--t-h3); color: var(--navy);
  margin: 0 0 10px;
}
.step-body p { margin: 0; color: var(--fg-muted); line-height: 1.7; max-width: 62ch; }
@media (max-width: 640px) {
  .step { flex-direction: column; gap: 12px; }
  .step-num { min-width: 0; }
}
/* Step list on navy bands */
.band-navy .step, .band-navy-deep .step { border-color: var(--border-on-dark); }
.band-navy .step-body h3, .band-navy-deep .step-body h3 { color: #fff; }
.band-navy .step-body p, .band-navy-deep .step-body p { color: var(--fg-on-dark-muted); }

/* ============================================================
   Full-width parallax photo band
   ============================================================ */
.parallax-band {
  position: relative; width: 100%; overflow: hidden;
  height: clamp(360px, 52vh, 620px);
  background: var(--navy) center 42% / cover no-repeat fixed;
}
.parallax-band-img { display: none; }
.parallax-band-staff {
  background: var(--navy);
  height: clamp(240px, 34vw, 560px);
}
.parallax-band-staff .parallax-band-img {
  display: block;
  position: absolute;
  top: -24%; left: 0; right: 0;
  height: 148%;
  background-position: center 38%; background-size: cover; background-repeat: no-repeat;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .parallax-band-staff .parallax-band-img { top: 0; height: 100%; transform: none !important; }
}
.band-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: clamp(48px, 8vh, 96px) clamp(24px, 6vw, 80px) clamp(20px, 3vh, 32px);
  background: linear-gradient(to top, rgba(8, 30, 54, 0.78) 0%, rgba(8, 30, 54, 0) 100%);
  color: var(--white);
  z-index: 1;
}
.band-caption-name { font-family: var(--font-serif); font-style: italic; font-size: clamp(16.8px, 2vw, 22.4px); letter-spacing: -0.005em; }
.band-caption-role { font-size: var(--t-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--teal); }
@media (prefers-reduced-motion: reduce) {
  .parallax-band { background-attachment: scroll; }
}
@media (max-width: 900px) {
  /* iOS/Android ignore fixed backgrounds — fall back to a clean scroll */
  .parallax-band { background-attachment: scroll; }
}

/* ============================================================
   Photo lightbox (location gallery)
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 26, 41, .92);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-stage {
  margin: 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox-stage img {
  max-width: min(1100px, 100%);
  max-height: min(82vh, 82dvh);
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}
.lightbox-stage figcaption {
  font-size: var(--t-small); color: rgba(255,255,255,.75);
  font-family: var(--font-serif); font-style: italic;
  text-align: center;
}
.lightbox-stage figcaption:empty { display: none; }
.lightbox-close {
  position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  color: #fff; cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-arrow {
  flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  color: #fff; cursor: pointer;
  transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.lightbox-arrow:hover:not(:disabled) { background: rgba(255,255,255,.22); }
.lightbox-arrow:disabled { opacity: .25; cursor: default; }
.lightbox-arrow svg { width: 20px; height: 20px; }
/* filled gallery photos read as clickable */
.gallery-slide img { cursor: zoom-in; }
@media (max-width: 680px) {
  /* arrows overlay the photo so the image gets the full width */
  .lightbox { padding: 16px; }
  .lightbox-arrow { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 2; }
  .lightbox-arrow.prev { left: 20px; }
  .lightbox-arrow.next { right: 20px; }
  .lightbox-stage img { max-height: 74dvh; }
}

/* ============================================================
   Testimonials page
   ============================================================ */
.testi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.testi-section { overflow-x: clip; }
.testi-row { align-items: center; position: relative; padding-block: clamp(48px, 7vw, 96px); }
.testi-row::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; z-index: 0; }
.testi-row:nth-child(odd)::before { background: #fff; }
.testi-row:nth-child(even)::before { background: #f6f3ef; }
.testi-row > * { position: relative; z-index: 1; }
.testi-row.reverse .testi-logo { order: 2; }
.testi-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(28px, 4vw, 56px);
}
.testi-logo img { width: 100%; height: 100%; }
.testi-mark { font-family: var(--font-serif); font-size: 52px; color: var(--teal); line-height: 0.4; display: block; margin-bottom: 12px; }
.testi-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(20.8px, 2.2vw, 29.6px); line-height: 1.42; color: var(--navy);
  margin: 0 0 var(--space-5); max-width: 34ch;
}
.testi-cite {
  font-family: var(--font-sans); font-size: var(--t-small);
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--mauve); margin: 0 0 var(--space-6);
}
/* rating block atop a testimonial */
.testi-rating { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.testi-rating .score {
  font-family: var(--font-sans); font-weight: var(--w-bold);
  font-size: clamp(38.4px, 5vw, 52px); line-height: 1; color: var(--ink);
}
.rating-meta { display: flex; flex-direction: column; gap: 5px; }
.testi-stars { display: inline-flex; gap: 2px; }
.testi-stars svg { width: 22px; height: 22px; display: block; }
.rating-count { font-family: var(--font-sans); font-size: var(--t-small); color: var(--fg-muted); }
@media (max-width: 760px) {
  .testi-row.reverse .testi-logo { order: 0; }
  .testi-quote { max-width: none; }
  .testi-logo { padding-top: clamp(14px, 3vw, 22px); padding-bottom: clamp(14px, 3vw, 22px); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; gap: 40px; }
  .hero-visual { aspect-ratio: 16 / 11; max-width: 560px; }
  .menu-overlay { grid-template-columns: 1fr; }
  .menu-aside { display: none; }
  /* menu must scroll on short phone screens */
  .menu-nav { align-self: stretch; overflow-y: auto; -webkit-overflow-scrolling: touch; max-height: 100dvh; }
  .grid-split, .grid-aside { grid-template-columns: 1fr; }
  /* PEFF acronym becomes a one-at-a-time carousel */
  .acronym-viewport { overflow: hidden; }
  .acronym { display: flex; flex-wrap: nowrap; transition: transform 480ms var(--ease); }
  .acro-item { flex: 0 0 100%; border-right: 0; padding-inline: 4px; }
  .acro-tabs { display: flex; justify-content: flex-start; gap: 14px; margin: 0 0 clamp(28px, 4vw, 40px); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .menu-toggle .label { display: none; }
  .grid-2, .grid-3, .diff-grid, .form-grid, .proof-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-tag { display: none; }
  .portal-btn span.plabel { display: inline; }
  .faq-a-inner { padding-right: 8px; }

  /* tighter section rhythm on phones */
  .section { padding-block: clamp(56px, 14vw, 88px); }
  .section-sm { padding-block: clamp(44px, 11vw, 72px); }
  .page-head { padding: 116px 0 clamp(36px, 9vw, 56px); }

  /* hero */
  .hero-inner { padding: 120px 0 72px; }
  .hero-image .hero-statement { max-width: 100%; }

  /* comfortable headings + measures */
  .sec-head { margin-bottom: clamp(28px, 7vw, 44px); }
  .lead { font-size: clamp(18.4px, 4.6vw, 22.4px); }

  /* FAQ answers reveal taller (longer copy wraps on narrow screens) */
  .faq.open .faq-a { max-height: 520px; }
  .faq-a-inner { padding-left: 2px; padding-right: 2px; }
  .faq-q { gap: 16px; }

  /* pull quote */
  .pullquote blockquote { max-width: 100%; }

  /* contact info + form breathing room */
  .contact-line .v { font-size: var(--t-h4); }
}

@media (max-width: 460px) {
  /* keep the fixed chrome compact so it never crowds */
  .top-left { padding: 16px 18px; padding-left: calc(18px + env(safe-area-inset-left)); }
  .top-right { padding: 14px 16px; padding-right: calc(16px + env(safe-area-inset-right)); gap: 10px; }
  .portal-btn { padding: 11px 16px; }
  .brand img { height: 28px; }

  /* large serif display lines scale down gracefully */
  .hero-image h1 { font-size: clamp(36.8px, 11vw, 48px); }
  .page-head .display { font-size: clamp(35.2px, 10vw, 48px); }
  .title { font-size: clamp(28.8px, 8.5vw, 38.4px); }

  /* acronym carousel: letters + card fit small screens */
  .acro-tab { width: 50px; height: 50px; font-size: 25.6px; }
  .acro-letter { font-size: clamp(48px, 22vw, 70.4px); }

  /* staff arrows stay tappable, dots centered */
  .staff-controls { gap: 16px; }

  /* footer legal wraps cleanly */
  .footer-bottom { flex-direction: column; gap: 10px; }
}


/* ============================================================
   WordPress / Genesis adaptations (PEFF Med clone)
   ============================================================ */

/* Full-bleed canvas: neutralize Genesis structural wraps for content */
:root { --theme-wrap-width: 100%; --theme-wrap-max-width: 100vw; }
.site-inner { padding: 0; margin: 0; max-width: none; }
.site-inner > .wrap, .content-sidebar-wrap, main.content { max-width: none; width: 100%; padding: 0; margin: 0; }
.entry { margin: 0; padding: 0; background: transparent; }
.entry-content { margin: 0; }
.entry-content > * { margin-top: 0; margin-bottom: 0; max-width: none; }
article.entry { border: 0; box-shadow: none; }
body { background: var(--cream); }

/* Genesis header/footer shells are replaced by custom chrome */
.site-header { display: none; }
.site-footer > .wrap { max-width: none; width: auto; padding: 0; margin: 0; }
.site-footer { background: linear-gradient(160deg, #0c3a66 0%, #08294b 100%); }

/* Admin-bar offset for fixed chrome */
body.admin-bar .top-left, body.admin-bar .top-right, body.admin-bar .header-scrim { top: 32px; }
body.admin-bar .menu-overlay { top: 32px; }

/* Skip link stays hidden until focus */
.genesis-skip-link { position: absolute; }

/* ---- Menu overlay: WP nav output parity ---- */
.menu-overlay ul.submenu li { border: 0; }

/* ---- Core buttons (wp:buttons in LAYOUT sections) → design pills ---- */
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.entry-content .wp-block-button { margin: 0; }
.entry-content .wp-block-button__link {
  font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: var(--t-small);
  letter-spacing: 0.01em; line-height: 1; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  background: var(--teal); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.entry-content .wp-block-button__link:hover { background: var(--teal-600); transform: translateY(-2px); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link,
.entry-content .wp-block-button.pm-btn-secondary .wp-block-button__link {
  background: transparent; color: var(--teal-700); border-color: var(--teal);
}
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.entry-content .wp-block-button.pm-btn-secondary .wp-block-button__link:hover {
  background: var(--teal-100); border-color: var(--teal-600); transform: translateY(-2px);
}
.entry-content .wp-block-button.pm-btn-lg .wp-block-button__link { padding: 18px 32px; font-size: var(--t-body); }
/* arrow via mask (FA kit pseudo-elements don't render; inline SVG blocks carry their own arrows) */
.entry-content .wp-block-button.pm-btn-arrow .wp-block-button__link::after {
  content: ""; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") no-repeat center / contain;
  transition: transform var(--dur) var(--ease);
}
.entry-content .wp-block-button.pm-btn-arrow .wp-block-button__link:hover::after { transform: translateX(4px); }

/* ---- Core group/heading/paragraph parity inside LAYOUT sections ---- */
.entry-content .wp-block-group.section { margin: 0; }
.entry-content h2.title { margin-top: 0; }
.entry-content .pm-statement {
  font-family: var(--font-serif); font-size: clamp(24px, 3.4vw, 38.4px);
  line-height: 1.4; color: #fff; max-width: 880px; margin: 0;
}
.entry-content .wp-block-image { margin: 0; }
.entry-content .wp-block-image img { border-radius: var(--r-lg); }

/* ---- gb-columns → grid-split parity ---- */
.entry-content .pm-grid-split .gb-layout-column-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
  max-width: none;
}
.entry-content .pm-grid-split .wp-block-genesis-blocks-gb-column { width: auto; margin: 0; }
.entry-content .pm-location-grid .gb-layout-column-wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 4vw, 64px);
  align-items: stretch; max-width: none;
}
.entry-content .pm-location-grid .wp-block-genesis-blocks-gb-column { width: auto; margin: 0; }
@media (max-width: 980px) {
  .entry-content .pm-grid-split .gb-layout-column-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .entry-content .pm-location-grid .gb-layout-column-wrap { grid-template-columns: 1fr; }
}

/* location map (reused tto-location-map) parity with .location-map */
.pm-location-grid .google-map-embed {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); min-height: 440px; height: 100%;
}
.pm-location-grid .google-map-embed--wrapper { height: 100%; }
.pm-location-grid .google-map-embed iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---- Reused tto-faq-accordion → source .faq design ---- */
.pm-faq .faq-accordion-items { border-top: 1px solid var(--border); }
.pm-faq .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.pm-faq .accordion-header { margin: 0; }
.pm-faq .accordion-button {
  width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left; box-shadow: none;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 2.6vw, 30px) 4px;
  font-family: var(--font-sans); font-weight: var(--w-semibold);
  font-size: clamp(17.6px, 1.7vw, 21.6px); color: var(--navy);
  letter-spacing: -0.005em; transition: color var(--dur) var(--ease);
}
.pm-faq .accordion-button:hover { color: var(--teal-700); }
.pm-faq .accordion-button:focus { box-shadow: none; }
.pm-faq .accordion-button::after { display: none; }
.pm-faq .accordion-button i.fa-chevron-down { display: none; }
/* plus icon replica */
.pm-faq .accordion-button .pm-faq-icon,
.pm-faq .accordion-button::before {
  content: ""; position: relative; order: 2; flex: 0 0 auto;
  width: 20px; height: 20px; margin-top: 6px;
  background:
    linear-gradient(var(--teal), var(--teal)) center / 20px 2px no-repeat,
    linear-gradient(var(--teal), var(--teal)) center / 2px 20px no-repeat;
  border-radius: 2px; transition: transform 360ms var(--ease);
}
.pm-faq .accordion-button:not(.collapsed)::before {
  background: linear-gradient(var(--teal), var(--teal)) center / 20px 2px no-repeat;
}
.pm-faq .accordion-collapse { border: 0; }
.pm-faq .accordion-body {
  padding: 0 56px var(--space-6) 4px; color: var(--ink);
  font-size: var(--t-body); line-height: 1.7; max-width: 70ch;
}

/* ---- Gravity Forms (Orbital) → source form design ---- */
.pm-contact-form .gform_wrapper.gravity-theme .gform_fields,
.pm-contact-form .gform_wrapper .gform_fields { grid-column-gap: 24px; grid-row-gap: 24px; }
.pm-contact-form .gform_wrapper label.gfield_label {
  font-size: var(--t-label); letter-spacing: var(--tracking-label); text-transform: uppercase;
  font-weight: var(--w-semibold); color: var(--navy); margin-bottom: 8px;
}
.pm-contact-form .gform_wrapper input[type=text],
.pm-contact-form .gform_wrapper input[type=email],
.pm-contact-form .gform_wrapper input[type=tel],
.pm-contact-form .gform_wrapper select,
.pm-contact-form .gform_wrapper textarea {
  font-family: var(--font-sans); font-size: var(--t-body); color: var(--ink);
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-md);
  padding: 14px 16px; width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pm-contact-form .gform_wrapper textarea { resize: vertical; min-height: 130px; }
.pm-contact-form .gform_wrapper input:focus,
.pm-contact-form .gform_wrapper select:focus,
.pm-contact-form .gform_wrapper textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: var(--shadow-focus); background: var(--white);
}
.pm-contact-form .gform_wrapper select {
  appearance: none; -webkit-appearance: none; padding-right: 46px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23104679' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px 18px;
}
.pm-contact-form .gform_footer { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 28px; padding: 0; }
.pm-contact-form .gform_wrapper .gform_button {
  font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: var(--t-body);
  line-height: 1; display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  background: var(--teal); color: #fff; cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pm-contact-form .gform_wrapper .gform_button:hover { background: var(--teal-600); transform: translateY(-2px); }
/* navy variant */
.pm-contact-form.contact-on-navy .gform_wrapper label.gfield_label { color: rgba(255,255,255,.82); }
.pm-contact-form.contact-on-navy .gform_wrapper input[type=text],
.pm-contact-form.contact-on-navy .gform_wrapper input[type=email],
.pm-contact-form.contact-on-navy .gform_wrapper input[type=tel],
.pm-contact-form.contact-on-navy .gform_wrapper select,
.pm-contact-form.contact-on-navy .gform_wrapper textarea {
  background-color: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff;
}
.pm-contact-form.contact-on-navy .gform_wrapper ::placeholder { color: rgba(255,255,255,.45); }
.pm-contact-form.contact-on-navy .gform_wrapper input:focus,
.pm-contact-form.contact-on-navy .gform_wrapper textarea:focus,
.pm-contact-form.contact-on-navy .gform_wrapper select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(115,180,181,.25);
}
.pm-contact-form.contact-on-navy .gform_wrapper select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373b4b5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
}
.pm-contact-form.contact-on-navy .gform_wrapper select option { color: var(--ink); }
.pm-contact-form .gform_confirmation_message {
  padding: 28px; border-radius: var(--r-lg); background: var(--success-bg);
  border: 1px solid #bfe0d2; color: #2c5e51;
}
.pm-contact-form .gform_validation_errors { border-radius: var(--r-lg); }

/* Parent stack forces position:absolute on some pseudo-elements — restore flex-flow dash */
.eyebrow::before { position: static !important; }

/* ---- Per-instance section utilities (source inline-style parity) ---- */
.pm-bg-white { background-color: rgb(255, 255, 255) !important; }
.pm-pad-about-why { padding: 100px 0px !important; }
.pm-pad-mission-split { padding: 144px 0px 76px !important; }
.pm-pad-faq { padding: 144px 0px 102px !important; }
.pm-pad-memb-intro { padding: 69px 0px 20px !important; }
.pm-pad-join-intro { padding: 60px 0px 20px !important; }
.pm-maxw-70ch { max-width: 70ch; }
.pm-maxw-760 { max-width: 760px; }
.pm-mt-8 { margin-top: 8px !important; }
.pm-mt-32 { margin-top: 32px !important; }
.pm-mt-0 { margin-top: 0 !important; }
.pm-body-ink { color: rgb(37, 54, 66) !important; }
.pm-sec-head-sm { margin-bottom: var(--space-7) !important; }
.entry-content .pm-figure-wide img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.entry-content .pm-grid-split .gb-block-layout-column-inner { align-self: center; }
/* mission grid-3: hover disabled on route-mission via existing rule */

/* Bootstrap (parent stack) paints .mark/.testi-mark with a yellow highlight — neutralize */
.pullquote .mark, .testi-mark { background: transparent !important; padding: 0 !important; }

/* Footer: neutralize parent nav-menu styling inside footer columns + source inline tweaks */
.site-footer .footer-col ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 5px !important; }
.site-footer .footer-col li { list-style: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.site-footer .footer-col li::before, .site-footer .footer-col li::marker { content: none !important; display: none !important; }
.site-footer .footer-col a { display: inline-block; border: 0 !important; text-decoration: none !important; padding: 0 !important; color: var(--fg-on-dark-muted); font-size: var(--t-small); }
.site-footer .footer-col a:hover { color: #fff; background: none !important; }
.site-footer .footer-col h4 { margin: 0 !important; }

/* FA kit swaps <i> to <svg> — hide the accordion chevron in BOTH forms (pm-faq uses the plus icon) */
.pm-faq .accordion-button svg, .pm-faq .accordion-button .svg-inline--fa { display: none !important; }
/* gb-columns inner padding shrinks split columns — flatten to design widths */
.entry-content .pm-grid-split .gb-block-layout-column-inner,
.entry-content .pm-location-grid .gb-block-layout-column-inner { padding: 0 !important; margin: 0 !important; }
.entry-content .pm-grid-split .gb-layout-column-wrap,
.entry-content .pm-location-grid .gb-layout-column-wrap { padding: 0 !important; }

/* Bootstrap .card (loaded by parent stack) fights the design card — reassert */
.entry-content .card {
  background: var(--surface) !important; border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important; padding: clamp(28px, 3vw, 40px) !important;
  box-shadow: var(--shadow-sm);
}
.entry-content .service-card-media { border-radius: 0; }

/* Gravity Forms: hide required chips, source-parity field fills, teal pill submit */
.pm-contact-form .gfield_required { display: none !important; }
.pm-contact-form.contact-light .gform_wrapper textarea,
.pm-contact-form.contact-light .gform_wrapper select {
  background-color: var(--cream-soft); border-color: var(--border-strong);
}
.pm-contact-form .gform_wrapper.gravity-theme .gform_footer button.gform_button,
.pm-contact-form .gform_wrapper .gform_button {
  --gf-ctrl-btn-bg-color: var(--teal);
  --gf-ctrl-btn-color: #fff;
  --gf-ctrl-btn-border-color: transparent;
  background: var(--teal) !important; color: #fff !important; border: 1.5px solid transparent !important;
  border-radius: 999px !important; padding: 18px 32px !important;
  font-family: var(--font-sans) !important; font-weight: 600 !important; font-size: 17px !important; line-height: 1 !important;
  display: inline-flex !important; align-items: center; gap: 10px;
}
.pm-contact-form .gform_wrapper .gform_button:hover { background: var(--teal-600) !important; transform: translateY(-2px); }
.pm-contact-form .gform_wrapper .gform_button svg { width: 15px; height: 15px; }
/* stray Orbital select chevron below field */
.pm-contact-form .gform-field-decorator { display: none !important; }
.pm-contact-form .gform_required_legend { display: none !important; }
.pm-contact-form .gfield_required_asterisk, .pm-contact-form .gfield_required { display: none !important; }

/* Overlay menu: strip leaked list markers, enforce toggle gap */
.menu-overlay .menu-list, .menu-overlay .submenu { list-style: none !important; margin: 0; padding-left: 0; }
.menu-overlay .menu-list > li, .menu-overlay .submenu li { list-style: none !important; }
.menu-overlay .menu-list li::marker, .menu-overlay .submenu li::marker { content: none; }
.menu-overlay .menu-list li::before, .menu-overlay .submenu li::before { display: none !important; }
.top-right { gap: 18px; }
.menu-toggle { margin-right: 4px; }

/* Advanced Columns as section shells: column-wrap plays the .container role */
.entry-content .pm-gb-section { margin: 0; }
.entry-content .pm-gb-section > .gb-layout-column-wrap {
  width: min(1180px, 92vw); max-width: none; margin-inline: auto; padding: 0;
}
.entry-content .pm-gb-section-narrow > .gb-layout-column-wrap { width: min(760px, 92vw); }
.entry-content .pm-gb-section .gb-block-layout-column-inner { padding: 0; margin: 0; }
.entry-content .pm-gb-section .wp-block-genesis-blocks-gb-column { width: auto; margin: 0; }
/* keep nested split grids working inside a section shell */
.entry-content .pm-gb-section .pm-grid-split,
.entry-content .pm-gb-section .pm-location-grid { margin: 0; }

/* Full-width transparent AC shells around component blocks — must be layout-invisible */
.entry-content .pm-gb-shell { margin: 0; padding: 0; background: transparent; }
.entry-content .pm-gb-shell > .gb-layout-column-wrap { width: 100%; max-width: none; margin: 0; padding: 0; }
.entry-content .pm-gb-shell .wp-block-genesis-blocks-gb-column { width: 100%; margin: 0; }
.entry-content .pm-gb-shell .gb-block-layout-column-inner { padding: 0; margin: 0; }

/* Parent theme's own .menu-toggle (its mobile hamburger) collides with the PM chrome toggle —
   it forces max-width:44px + !important margin/padding, which spills the MENU label into the
   portal button. Reassert the design's toggle, scoped to the fixed chrome. */
.top-right .menu-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  width: auto !important;
  max-width: none !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 10px 4px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

/* Parent style.css sets .accordion-button padding/gap with !important (mobile scope) —
   match weight to keep source FAQ metrics at every width */
.pm-faq .accordion-button {
  padding: clamp(22px, 2.6vw, 30px) 4px !important;
  gap: 24px !important;
  font-size: clamp(17.6px, 1.7vw, 21.6px) !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
}
.pm-faq .accordion-button:hover { color: var(--teal-700) !important; }
@media (max-width: 680px) {
  .pm-faq .accordion-button { gap: 16px !important; }
  .pm-faq .accordion-body { padding-left: 2px; padding-right: 8px; }
}

/* !important fights against the parent's layered rules live in pm-overrides
   (earliest declared layer → its !important wins the layer inversion). */
@layer pm-overrides {
  .pm-faq .accordion-button {
    padding: clamp(22px, 2.6vw, 30px) 4px !important;
    gap: 24px !important;
    font-size: clamp(17.6px, 1.7vw, 21.6px) !important;
    font-weight: 600 !important;
    color: var(--navy) !important;
    background-color: transparent !important;
  }
  @media (max-width: 680px) {
    .pm-faq .accordion-button { gap: 16px !important; }
  }
  .top-right .menu-toggle {
    margin: 0 !important;
    padding: 10px 4px !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
  }
}

/* tto-management ships a Bootstrap grid utility that hijacks .container
   (15px side padding + breakpoint max-widths incl. 1140px cap on desktop).
   Fully assert the design's container box. */
.entry-content .container, .page-head .container, .site-footer .container,
.section .container, .container {
  width: min(1180px, 92vw) !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.container-narrow {
  width: min(760px, 92vw) !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-head .breadcrumb { line-height: var(--lh-normal); }
/* parent adds inter-item gap + top margin to the accordion — source rows touch */
.pm-faq .faq-accordion-items { margin-top: 0; }
.pm-faq .accordion { gap: 0; }

/* Parent element rules inject Onest + letter-spacing:-0.15rem + tight line-heights on h1-h6.
   The source declares neither on headings (inherits body) — restore inherited defaults.
   Design class rules (.title, .display, card h3s…) keep their own values via specificity. */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-normal);
  letter-spacing: normal;
}
