/* TBDG site preview, v3 (2026-10-29): simple and calm, in the spirit of Gushwork's sites.
   White and warm grays, one font (Inter), black buttons, Feather Orange as the accent (2026-11-06).
   No motion except gentle hovers. The motion version is saved in versions/v2-motion/. */
:root {
  color-scheme: light;
  /* Brand picks (Michael, 2026-11-06): white look only, Feather Orange #EE7C3D, warm grays, black accents (60/30/10).
     Orange is a fill with black text on it; orange text on white uses the darker #AC582A for contrast. */
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f7f5f2;
  --ink: #141210;
  --muted: #5c5650;
  --muted-2: #736c64;
  --line: #e9e5e0;
  --line-strong: #d2ccc4;
  --input-line: #d8d2ca;
  --link: #141210;
  --link-underline: rgba(20,18,16,.3);
  --btn-bg: #141210;
  --btn-bg-hover: #2c2824;
  --btn-ink: #ffffff;
  --btn-glow: rgba(20,18,16,.22);
  --orange: #EE7C3D;
  --orange-hover: #E06A28;
  --orange-ink: #141210;
  --gold: #AC582A;
  --gold-soft: #fdf1e8;
  --header-bg: rgba(255,255,255,.96);
  --shadow-rgb: 20,18,16;
  --focus-ring: rgba(172,88,42,.28);
  --status-bg: rgba(255,255,255,.85);
  --ring-glow: rgba(255,255,255,.25);
  --footer-bg: #141210;
  --footer-line: #2e2a26;
  --c-guide-bg: #f2efeb; --c-guide-ink: #4a433c;
  --c-program-bg: #fdf1e8; --c-program-ink: #8a4520;
  --c-city-bg: #edf4ef; --c-city-ink: #335640;
  --c-story-bg: #f6eeee; --c-story-ink: #6e3f3f;
  --c-event-bg: #f2efeb; --c-event-ink: #4a433c;
  --aurora-1: rgba(20,18,16,.10);
  --aurora-2: rgba(238,124,61,.24);
  --aurora-3: rgba(238,124,61,.12);
  --todo: #fff1b8;
  --radius: 12px;
  --sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}

/* Anything marked hidden stays hidden, whatever display a component sets (reviewer, 2026-11-06). */
[hidden] { display: none !important; }



*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-color: var(--link-underline); text-underline-offset: 3px; }
a:hover { color: var(--gold); text-decoration-color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -.025em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.12rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); margin: 0; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 42em; }
.center .lead { margin-left: auto; margin-right: auto; }
.fine { font-size: 14px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-size: 15px; font-weight: 500; color: var(--gold); margin-bottom: 14px; }

/* ---------------- Preview-only pieces */
.preview-bar { background: #2b2b2b; color: #f4f4f4; font-size: 14px; padding: 8px 20px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.preview-bar button { font: inherit; font-size: 13px; background: var(--todo); color: #222; border: 0; border-radius: 99px; padding: 3px 12px; cursor: pointer; }
mark.todo { background: var(--todo); color: #4a3b00; font-size: .76em; font-weight: 600; padding: 1px 6px; border-radius: 4px; }
body.hide-notes mark.todo, body.hide-notes .review-status, body.hide-notes .form-note, body.hide-notes .status { display: none; }
a.planned { text-decoration-style: dotted; }
a.planned::after { content: " ·planned"; font-size: .72em; color: var(--muted); }
body.hide-notes a.planned::after { content: ""; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 99; }

/* ---------------- Buttons and small parts */
.btn { display: inline-block; font: 600 15px/1 var(--sans); padding: 14px 22px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn-dark { background: var(--btn-bg); color: var(--btn-ink); }
.btn-dark:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.btn-light { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--line-strong); color: var(--ink); }
.link-arrow { font-weight: 600; font-size: 15px; color: var(--link); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--gold); }
.checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); font-size: 11px; font-weight: 700; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: var(--soft); color: var(--muted); }
.tag-guide { background: var(--c-guide-bg); color: var(--c-guide-ink); }
.tag-program { background: var(--c-program-bg); color: var(--c-program-ink); }
.tag-city { background: var(--c-city-bg); color: var(--c-city-ink); }
.tag-story { background: var(--c-story-bg); color: var(--c-story-ink); }
.av { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); display: inline-grid; place-items: center; font-size: 10px; font-weight: 600; }

/* ---------------- Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo img { display: block; width: 160px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.header-call { padding: 11px 16px; font-size: 14px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-list { position: absolute; right: 0; top: 52px; list-style: none; margin: 0; padding: 8px; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(var(--shadow-rgb),.10); }
.menu-list a { display: block; padding: 11px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.menu-list a:hover { background: var(--soft); color: var(--ink); }

/* ---------------- Homepage */
.hero { padding-top: 72px; background: linear-gradient(var(--soft), var(--bg) 70%); }
.hero-inner { max-width: 860px; }
.hero h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-photo { margin: 52px auto 0; max-width: 960px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px rgba(var(--shadow-rgb),.08); }
.photo-clip { overflow: hidden; border-radius: 10px; background: #1b1b1b; }
/* The source photo has black padding on the top and left; zooming from the lower right trims it. */
.hero-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transform: scale(1.66); transform-origin: 100% 76%; }

.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.row-head h2 { margin-bottom: 6px; }

.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.start-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
a.start-card:hover { border-color: var(--line-strong); box-shadow: 0 10px 24px rgba(var(--shadow-rgb),.06); color: var(--ink); }
.start-card p { color: var(--muted); flex: 1; }
.start-num { width: 30px; height: 30px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; font-weight: 600; margin-bottom: 10px; }

/* Resource cards (homepage, hub and guide pages) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--line-strong); box-shadow: 0 12px 28px rgba(var(--shadow-rgb),.07); transform: translateY(-2px); color: var(--ink); }
.card-soon { cursor: default; }
.cover { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 20px; margin: 8px 8px 0; border-radius: 9px; overflow: hidden; }
.cover svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cover-label { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.cover::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid currentColor; opacity: .14; box-shadow: 0 0 0 28px var(--ring-glow); }
.cover-guide { background: var(--c-guide-bg); color: var(--c-guide-ink); }
.cover-program { background: var(--c-program-bg); color: var(--c-program-ink); }
.cover-city { background: var(--c-city-bg); color: var(--c-city-ink); }
.cover-story { background: var(--c-story-bg); color: var(--c-story-ink); }
.status { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--status-bg); color: var(--muted); }
.status-live { background: var(--btn-bg); color: var(--btn-ink); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.card-title { font-size: 1.02rem; line-height: 1.35; margin: 0; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps p { color: var(--muted); margin: 0; font-size: 16px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); font-size: 13px; font-weight: 600; margin-bottom: 12px; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { display: flex; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.person .meta { font-size: 14px; color: var(--muted); margin-bottom: .6em; }
.person p:last-child { margin: 0; color: var(--muted); }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.avatar-lg { width: 64px; height: 64px; font-size: 18px; }

.program-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.program-list > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.program-list h3 { margin-bottom: 4px; }
.program-list p { margin: 0; color: var(--muted); font-size: 16px; }

.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 2px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.contact-form input, .contact-form select { font: 16px var(--sans); padding: 12px 14px; border: 1px solid var(--input-line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus-ring); }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.contact-form .consent input { width: auto; margin-top: 5px; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; }

/* ---------------- Resource hub */
.hub-head { padding: 72px 0 36px; background: linear-gradient(var(--soft), var(--bg)); }
.hub-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.hub-tools { display: grid; justify-items: center; gap: 16px; margin-top: 28px; }
.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.tab { font: 500 14px var(--sans); color: var(--ink); background: none; border: 1px solid transparent; border-radius: 9px; padding: 8px 14px; cursor: pointer; }
.tab span { color: var(--muted); margin-left: 2px; }
.tab:hover { background: var(--soft); }
.tab.is-on { background: var(--btn-bg); color: var(--btn-ink); }
.tab.is-on span { color: inherit; opacity: .7; }
.search { position: relative; width: min(460px, 100%); }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; font: 15px var(--sans); padding: 12px 14px 12px 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus-ring); }
.hub-body { padding: 8px 0 80px; }
.hub-count { font-size: 14px; color: var(--muted); }
.hub-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.card[hidden] { display: none; }
.ask-band { border-top: 1px solid var(--line); background: var(--soft); }
.ask-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ask-inner p { color: var(--muted); margin: 0; }

/* ---------------- Guide page */
.crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.guide-head { padding-top: 24px; padding-bottom: 24px; max-width: 900px; margin-left: auto; margin-right: auto; }
.guide-head .kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.guide-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.byline { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; font-size: 15px; color: var(--muted); }
.byline p { margin: 0 0 4px; }
.review-status { margin-top: 12px; font-size: 14px; background: #fffbea; border: 1px dashed #e2cf7a; border-radius: 10px; padding: 10px 14px; color: #4a3b00; }
.review-status p { margin: 4px 0 0; }
.guide-grid { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 56px; justify-content: center; padding-bottom: 80px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; max-height: calc(100vh - 120px); overflow: auto; }
.toc-head { font-weight: 600; font-size: 13px; color: var(--ink); }
.toc ol { padding-left: 26px; margin: 0; color: var(--muted); }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.guide-body section { margin-bottom: 44px; }
.guide-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.guide-body h3 { margin-top: 1.4em; }
.guide-body li { margin-bottom: .5em; }
.short-answer { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.short-answer p:first-of-type { font-size: 1.1rem; }
.ai-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); padding: 8px 14px; font-size: 14px; }
.btn-ghost:hover { border-color: var(--line-strong); color: var(--ink); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; }
.cta-band p { margin: 0; font-size: 16px; color: var(--muted); }
.cta-band strong { color: var(--ink); }
.cta-band .btn { background: var(--btn-bg); color: var(--btn-ink); border-radius: 10px; box-shadow: none; }
.video-slot { aspect-ratio: 16 / 9; background: var(--soft); border: 1px solid var(--line); color: var(--muted); border-radius: var(--radius); display: grid; place-content: center; text-align: center; gap: 8px; padding: 20px; }
.video-slot .play { justify-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); display: grid; place-items: center; font-size: 18px; }
.video-slot p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--soft); font-size: 13px; font-weight: 600; color: var(--muted); }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.readmore { font-size: 15px; color: var(--muted); }
.disclosure-box { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.disclosure-box h2 { font-size: 1.05rem; }
#sources { font-size: 15px; word-break: break-word; }
.btn-gold { background: var(--btn-bg); color: var(--btn-ink); }

/* ---------------- Footer */
.site-footer { background: var(--footer-bg); color: #c9c2ba; font-size: 15px; padding-top: 56px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--footer-line); }
.footer-name { font-size: 1.15rem; font-weight: 600; color: #fff; }
.footer-head { font-weight: 600; font-size: 13px; color: #a39b92; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.disclosures { padding-top: 24px; padding-bottom: 40px; font-size: 13px; line-height: 1.6; color: #a39b92; }
.ehl { font-weight: 600; color: #d3ccc4; display: flex; align-items: center; gap: 12px; }
.ehl img { width: 46px; height: auto; flex: none; }

@media (min-width: 1001px) {
  .guide-head { max-width: 1054px; padding-left: 310px; }
}
@media (max-width: 1000px) {
  .main-nav, .header-call { display: none; }
  .menu { display: block; margin-left: auto; }
  .cards, .start-grid, .steps { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 32px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .logo img { width: 135px; }
  .header-row { min-height: 62px; }
  .hero { padding-top: 44px; }
  .hero-photo { margin-top: 36px; padding: 6px; border-radius: 14px; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 100% 50%; transform: scale(1.26); transform-origin: 100% 78%; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .section { padding: 60px 0; }
  .row-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cards, .start-grid, .steps, .people, .program-list, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .person { flex-direction: column; }
  .hub-head { padding-top: 44px; }
  .cover { aspect-ratio: 5 / 2; padding: 16px; }
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .tab { white-space: nowrap; }
  .cta-band .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* =====================================================================
   MOTION LAYER (v3.5, 2026-10-29): modern but calm.
   Everything below is motion. Delete this block to go back to the still version.
   ===================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--btn-bg); transform-origin: left; transform: scaleX(var(--progress, 0)); pointer-events: none; }
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(var(--shadow-rgb),.07); }
.header-row { transition: min-height .3s; }
.site-header.scrolled .header-row { min-height: 62px; }

/* Hero: soft moving color behind the heading, then everything rises in */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; }
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.aurora span:nth-child(1) { width: 520px; height: 520px; left: 8%; top: -180px; background: var(--aurora-1); animation: float-a 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 460px; height: 460px; right: 6%; top: -120px; background: var(--aurora-2); animation: float-b 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 380px; height: 380px; left: 38%; top: 120px; background: var(--aurora-3); animation: float-a 26s ease-in-out infinite alternate-reverse; }
.hero-inner > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; } .hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .24s; } .hero-inner > :nth-child(5) { animation-delay: .32s; }
.hero-photo { animation: rise 1s cubic-bezier(.2,.8,.2,1) .35s both; }
.hero-photo .photo-clip img { animation: settle 1.6s cubic-bezier(.2,.8,.2,1) .35s both; }
.btn { transition: background .15s, border-color .15s, transform .2s, box-shadow .2s; }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--btn-glow); }

/* Stats that count up, and a slow program strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 40px auto 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stats > div { padding: 22px 26px; display: grid; gap: 2px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--muted); }
.strip { padding: 34px 0 10px; }
.strip-label { text-align: center; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.strip-window { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.strip-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.strip-track span { padding: 0 26px; font-size: 1.05rem; font-weight: 600; color: var(--muted-2); white-space: nowrap; letter-spacing: -.01em; }
.strip:hover .strip-track { animation-play-state: paused; }

/* Sections fade up as they scroll in (only things below the first screen) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Cards: lift, cover icon floats, ring grows */
.card .cover svg { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.card .cover::after { transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s; }
a.card:hover .cover svg { transform: translateY(-4px) rotate(-4deg); }
a.card:hover .cover::after { transform: scale(1.25); opacity: .22; }
.arr { display: inline-block; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
a:hover .arr, a.card:hover .arr, a.start-card:hover .arr { transform: translateX(4px); }
a.start-card:hover { transform: translateY(-2px); }
.start-card { transition: border-color .15s, box-shadow .2s, transform .2s; }
.step-n { transition: background .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
.steps li.in .step-n { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0s) + .15s); }
.faq summary::after { transition: transform .25s; }

/* Resource hub: sliding tab highlight, cards pop in when filtered */
.tabs { position: relative; }
.tab { position: relative; z-index: 1; transition: color .25s; }
.tab-glider { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 9px; background: var(--btn-bg); transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1); }
.js-glider .tab.is-on { background: transparent; }
.card.pop { animation: card-in .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { scale: 1.08; } to { scale: 1; } }
@keyframes float-a { to { transform: translate(90px, 60px) scale(1.1); } }
@keyframes float-b { to { transform: translate(-110px, 70px) scale(.92); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
  .stats { grid-template-columns: 1fr; margin-top: 28px; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats > div { padding: 16px 20px; }
  .aurora span { filter: blur(50px); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora, .scroll-progress { display: none; }
  .hero-inner > *, .hero-photo, .hero-photo .photo-clip img, .card.pop, .steps li.in .step-n { animation: none !important; }
  .strip-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 6px; }
  .strip-track [aria-hidden="true"] { display: none; }
  .strip-window { -webkit-mask-image: none; mask-image: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- Header on phones and tablets: Apply now and the menu sit at the right edge */
.menu summary, .burger i { transition: background .3s; }

@media (max-width: 1000px) {
    .header-apply { margin-left: auto; }
    .menu { margin-left: 10px; }
}

/* ---------------- Community, events and "Stop by" */
.cover-event { background: var(--c-event-bg); color: var(--c-event-ink); }
.tag-event { background: var(--c-event-bg); color: var(--c-event-ink); }
.tag-ev-class { background: var(--c-guide-bg); color: var(--c-guide-ink); }
.tag-ev-community { background: var(--c-city-bg); color: var(--c-city-ink); }
.tag-ev-agents { background: var(--c-program-bg); color: var(--c-program-ink); }
.small { font-size: 14px; }
.community-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.event:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.event h3 { font-size: 1.02rem; margin: 8px 0 4px; }
.event-meta { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.event-recap { background: var(--soft); }
.date-block { width: 64px; height: 68px; border-radius: 12px; background: var(--btn-bg); color: var(--btn-ink); display: grid; place-content: center; text-align: center; line-height: 1; }
.date-block span { font-size: 12px; font-weight: 600; letter-spacing: .08em; opacity: .75; }
.date-block strong { font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; margin-top: 4px; }
.date-past { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; gap: 10px; }
.tile { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.tile-lg { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 88% 60%; display: block; transform: scale(1.35); transform-origin: 100% 70%; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.tile-lg:hover img { transform: scale(1.42); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; font-size: 13px; font-weight: 500; }
.tile-lg figcaption { color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.shot { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--soft) 0 14px, var(--surface) 14px 28px); color: var(--muted); }
.shot svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 34px; opacity: .8; }
.shot figcaption { color: var(--ink); font-size: 12.5px; line-height: 1.35; }
.shot-label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.tile-video .play { width: 46px; height: 46px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); display: grid; place-items: center; font-size: 15px; margin-bottom: 34px; box-shadow: 0 0 0 0 var(--btn-glow); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 var(--btn-glow); } 80%, 100% { box-shadow: 0 0 0 14px transparent; } }
.visit { border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.visit-photo { aspect-ratio: 4 / 3; }
.visit-photo svg { width: 40px; height: 40px; }
.hero-actions.left { justify-content: flex-start; margin-top: 22px; }
.footer-landmark { color: #a39b92; font-size: 14px; }
@media (max-width: 1000px) {
  .community-grid, .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .tile-lg { grid-column: span 2; grid-row: span 2; }
  .tile-wide { grid-column: span 1; }
  .mosaic { grid-auto-rows: 150px; }
  .shot { place-items: start; padding: 14px; }
  .shot svg, .tile-video .play { margin: 0; }
  .tile-video .play { width: 36px; height: 36px; font-size: 12px; }
  .hero-actions.left .btn { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tile-video .play { animation: none; }
}

/* ---------------- Video pages (VSL) */
.vsl-hero { padding: 8px 0 72px; background: linear-gradient(var(--soft), var(--bg)); }
.vsl-head { max-width: 820px; margin: 28px 0 32px; }
.vsl-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.vsl-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.player { border-radius: 16px; overflow: hidden; background: #0f0d0b; box-shadow: 0 30px 60px rgba(var(--shadow-rgb), .16); }
.player-screen { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, #3a332c, #141210 70%); }
.player-presenter { position: absolute; inset: 0; display: grid; place-items: center; }
.player-presenter span { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; font-weight: 600; color: #f1ece3; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: transform 3s ease; }
.player.playing .player-presenter span { transform: scale(1.06); }
.player-caption { position: absolute; left: 6%; right: 6%; bottom: 7%; margin: 0; text-align: center; color: #fff; font-size: clamp(14px, 1.7vw, 18px); line-height: 1.45; text-shadow: 0 1px 3px rgba(0,0,0,.6); background: rgba(0,0,0,.45); padding: 8px 12px; border-radius: 8px; }
.player-caption:empty { display: none; }
.player-big-play { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; background: none; border: 0; color: #fff; cursor: pointer; font: 600 15px var(--sans); }
.player-big-play span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: #f1ece3; color: #111418; box-shadow: 0 0 0 0 rgba(241,236,227,.4); animation: ring 2.4s ease-out infinite; transition: transform .2s; }
.player-big-play:hover span { transform: scale(1.06); }
.player-big-play em { font-style: normal; opacity: .85; }
.player.started .player-big-play { display: none; }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #0f0d0b; color: #d6dbe3; }
.player-toggle { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: none; color: #fff; cursor: pointer; font-size: 12px; }
.player-track { position: relative; flex: 1; height: 5px; border-radius: 5px; background: rgba(255,255,255,.15); }
.player-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 5px; background: #f1ece3; }
.player-marker { position: absolute; top: -4px; width: 3px; height: 13px; border-radius: 2px; background: var(--orange); }
.player-time { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-note { margin: 10px 0 0; }
.presenter-row { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.presenter-row strong { display: block; }
.presenter-row span:not(.av) { font-size: 14px; color: var(--muted); }
.av-lg { width: 44px; height: 44px; font-size: 14px; }
.vsl-side { position: sticky; top: 90px; }
.vsl-teaser, .vsl-form, .vsl-thanks { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.vsl-teaser { display: grid; gap: 12px; }
.vsl-teaser p { margin: 0; color: var(--muted); }
.vsl-teaser strong { color: var(--ink); }
.vsl-teaser .btn { justify-self: start; }
.vsl-form { display: grid; gap: 12px; box-shadow: 0 24px 50px rgba(var(--shadow-rgb), .12); border-color: var(--line-strong); }
.vsl-form h2, .vsl-thanks h2 { font-size: 1.35rem; margin: 0; }
.vsl-form .muted { margin: 0 0 4px; font-size: 15px; }
.vsl-form label { display: grid; gap: 5px; font-weight: 500; font-size: 14px; }
.vsl-form input, .vsl-form select { font: 16px var(--sans); padding: 11px 13px; border: 1px solid var(--input-line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.vsl-form input:focus, .vsl-form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus-ring); }
.vsl-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.vsl-form .consent input { width: auto; margin-top: 4px; }
.vsl-form .hp { position: absolute; left: -9999px; }
.vsl-form .btn { width: 100%; text-align: center; padding: 15px; }
.vsl-form .fine { margin: 0; font-size: 12.5px; }
.slide-in { animation: slide-in .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.vsl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.ticks, .crosses { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li, .crosses li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.ticks li::before { content: "✓"; background: var(--btn-bg); color: var(--btn-ink); }
.crosses li::before { content: "–"; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.notfit-h { margin-top: 28px; font-size: 1rem; }
.transcript { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px 18px; }
.transcript summary { cursor: pointer; font-weight: 600; }
.transcript ol { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.transcript li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; color: var(--muted); font-size: 15px; }
.ts { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 600; font-size: 13px; padding-top: 2px; }
.proof-slot { margin-top: 20px; padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.vsl-disc { margin-top: 48px; }
.watch-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.watch-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.watch-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(var(--shadow-rgb), .1); border-color: var(--line-strong); color: var(--ink); }
.watch-thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #3a332c, #141210 72%); }
.watch-av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #f1ece3; font-weight: 600; font-size: 20px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); }
.watch-play { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #f1ece3; color: #111418; transition: transform .25s; }
.watch-card:hover .watch-play { transform: scale(1.12); }
.watch-len { position: absolute; left: 14px; bottom: 14px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); padding: 3px 8px; border-radius: 6px; }
.watch-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.watch-body strong { font-size: 1.02rem; line-height: 1.35; }
.watch-body small { color: var(--muted); font-size: 14px; }
.analytics-log { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: 290px; max-width: calc(100vw - 32px); background: #111418; color: #e8eaee; border-radius: 12px; padding: 12px 14px; font: 12px/1.5 ui-monospace, Menlo, monospace; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.analytics-log p { margin: 0 0 6px; font: 600 12px var(--sans); display: flex; justify-content: space-between; }
.analytics-log p span { color: #f0d79a; font-weight: 500; }
.analytics-log ol { margin: 0; padding-left: 16px; }
.analytics-log li:first-child { color: #f0d79a; }
body.hide-notes .analytics-log { display: none; }
@media (max-width: 1000px) {
  .vsl-grid, .vsl-cols { grid-template-columns: 1fr; }
  .vsl-side { position: static; }
  .watch-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .watch-cards { grid-template-columns: 1fr; }
  .player-presenter span { width: 84px; height: 84px; font-size: 28px; }
  .analytics-log { width: auto; left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-in, .player-big-play span { animation: none; }
}
.vsl-form[hidden], .vsl-thanks[hidden], .vsl-teaser[hidden] { display: none; }
.player:not(.started) .player-caption { display: none; }

.hero-confirm { margin: 14px 0 0; }

/* ---------------- Heroes: one theme color per group (no official badges or the red cross symbol) */
[data-hero="all"] { --h1: #24201c; --h2: #0f0d0b; --hx: #f6a571; }  /* every hero page uses the brand look (2026-11-07) */
[data-hero="law"] { --h1: #24201c; --h2: #0f0d0b; --hx: #f6a571; }
[data-hero="fire"] { --h1: #24201c; --h2: #0f0d0b; --hx: #f6a571; }
[data-hero="military"] { --h1: #24201c; --h2: #0f0d0b; --hx: #f6a571; }
[data-hero="medical"] { --h1: #24201c; --h2: #0f0d0b; --hx: #f6a571; }
[data-hero="education"] { --h1: #24201c; --h2: #0f0d0b; --hx: #f6a571; }
.hicon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-banner { position: relative; overflow: hidden; color: #fff; padding: 22px 0 72px;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 45%), linear-gradient(135deg, var(--h1), var(--h2)); }
.hero-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero-banner .wrap { position: relative; z-index: 1; }
.hero-banner h1, .hero-banner h2 { color: #fff; }
.crumbs-light, .crumbs-light a { color: rgba(255,255,255,.9); }
.hb-inner { max-width: 760px; margin-top: 40px; }
.hb-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: var(--hx); margin-bottom: 18px; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hb-badge .hicon { width: 28px; height: 28px; }
.hb-kicker { color: var(--hx); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.hb-thanks { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 40em; }
.hb-inner > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hb-inner > :nth-child(2) { animation-delay: .06s; } .hb-inner > :nth-child(3) { animation-delay: .12s; }
.hb-inner > :nth-child(4) { animation-delay: .18s; } .hb-inner > :nth-child(5) { animation-delay: .24s; }
.hb-watermark { position: absolute; right: -40px; top: 50%; width: 380px; height: 380px; transform: translateY(-50%) rotate(-8deg); fill: none; stroke: rgba(255,255,255,.08); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; z-index: 0; animation: drift-icon 14s ease-in-out infinite alternate; }
@keyframes drift-icon { to { transform: translateY(-46%) rotate(-3deg) scale(1.04); } }
.btn-hero { background: #fff; color: var(--h2); }
.btn-hero:hover { background: var(--hx); color: var(--h2); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); border-top: 3px solid var(--h1); }
.help-card p { color: var(--muted); margin: 0; }
.help-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--h1); color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.program-notes { list-style: none; padding: 0; margin: 22px 0 16px; display: grid; gap: 12px; }
.program-notes li { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--h1); border-radius: 10px; color: var(--muted); }
.program-notes strong { color: var(--ink); }
.thanks-wall { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: stretch; }
.thanks-wall .tile { aspect-ratio: 4 / 3; }
.thanks-quote { margin: 0; display: grid; place-items: center; padding: 28px; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; }
.hero-cta { padding: 56px 0; }
.hb-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.hb-cta-inner p { color: rgba(255,255,255,.85); margin: 0; }
.small-h { font-size: 1.2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; background: linear-gradient(135deg, var(--h1), var(--h2)); transition: transform .2s; }
.hero-chip:hover { transform: translateY(-2px); color: #fff; }
.hero-chip .hicon { color: var(--hx); width: 18px; height: 18px; }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-card { position: relative; overflow: hidden; display: grid; gap: 6px; align-content: start; min-height: 230px; padding: 26px; border-radius: 18px; color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--h1), var(--h2)); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(var(--shadow-rgb), .25); color: #fff; }
.hero-card .hb-watermark { width: 220px; height: 220px; right: -50px; animation: none; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero-card:hover .hb-watermark { transform: translateY(-50%) rotate(4deg) scale(1.08); }
.hero-card .hb-badge { animation: none; position: relative; }
.hero-card strong { position: relative; font-size: 1.35rem; letter-spacing: -.02em; }
.hero-card-who { position: relative; color: rgba(255,255,255,.9); font-size: 15px; }
.hero-card-go { position: relative; margin-top: 14px; font-weight: 600; color: var(--hx); }
.heroes-band { border-top: 1px solid var(--line); }
.heroes-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.heroes-band .btn { margin-top: 20px; }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-tile { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 14px; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--h1), var(--h2)); transition: transform .2s; }
.hero-tile:last-child { grid-column: span 2; }
.hero-tile:hover { transform: translateY(-2px); color: #fff; }
.hero-tile .hicon { color: var(--hx); }
.hero-tile strong { flex: 1; font-weight: 600; }
@media (max-width: 1000px) {
  .help-grid, .hero-cards { grid-template-columns: 1fr 1fr; }
  .heroes-band-inner, .thanks-wall { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .help-grid, .hero-cards, .hero-tiles { grid-template-columns: 1fr; }
  .hero-tile:last-child { grid-column: auto; }
  .hb-watermark { width: 240px; height: 240px; right: -70px; }
  .hero-banner .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-watermark, .hb-badge, .hb-inner > * { animation: none !important; }
}
.btn-outline-light { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ---------------- Client video testimonials (tap to play) */
.testimonial { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .08); }
.testimonial[data-context="vsl"] { grid-template-columns: 1fr; margin-top: 22px; }
.yt-lite { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .3s; filter: brightness(.85); }
.yt-lite:hover img { transform: scale(1.04); filter: brightness(.75); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 22px; background: #f1ece3; color: #111418; box-shadow: 0 0 0 0 rgba(241,236,227,.45); animation: ring 2.4s ease-out infinite; transition: transform .2s; }
.yt-play:hover { transform: scale(1.08); }
.yt-badge { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); padding: 4px 9px; border-radius: 6px; }
.testimonial-text h3 { font-size: 1.4rem; margin: 0; }
.testimonial-who { color: var(--gold); font-weight: 500; margin: 2px 0 10px; }
.testimonial-text p { color: var(--muted); }
.testimonial-text .kicker { margin-bottom: 6px; }
@media (max-width: 1000px) { .testimonial { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .yt-play { animation: none; } }
.result-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 12px; border-radius: 99px; font-weight: 600; font-size: 14px; background: var(--btn-bg); color: var(--btn-ink); }
.result-chip::before { content: "✓"; font-size: 12px; }
.thanks-wall[hidden] { display: none; }

/* ---------------- Video library: courses, progress and certificate */
.bar { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--btn-bg); border-radius: 6px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.bar-lg { height: 8px; }
.lib-gap { margin-top: 48px; }
.course-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 8px; }
.course-card { display: grid; grid-template-columns: 220px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.course-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(var(--shadow-rgb), .1); border-color: var(--line-strong); color: var(--ink); }
.course-thumb { position: relative; background: #0f0d0b; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-thumb-empty { display: grid; place-items: center; color: #d3ccc4; font-weight: 600; min-height: 160px; }
.course-badge { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.6); padding: 3px 8px; border-radius: 6px; }
.course-body { padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.course-body h3 { margin: 4px 0 0; }
.course-body .muted { font-size: 15px; }
.course-progress { display: grid; gap: 6px; margin-top: 8px; }
.course-progress-text { font-size: 13px; color: var(--muted); }
.course-soon { opacity: .85; }
.course-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 24px; align-items: start; }
.course-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.course-player .player-big-play { position: relative; }
.course-player.started .player-big-play { display: none; }
.course-player.started .course-poster { filter: brightness(.8); }
.lesson-done-flash { position: absolute; right: 16px; top: 16px; padding: 8px 14px; border-radius: 99px; background: #f1ece3; color: #111418; font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(-8px); pointer-events: none; }
.lesson-done-flash.show { animation: flash-in 1.8s ease both; }
@keyframes flash-in { 0% { opacity: 0; transform: translateY(-8px); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.now-playing { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.now-playing h2 { font-size: 1.3rem; margin: 0; }
.now-playing .kicker { margin-bottom: 4px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--link); text-decoration: underline; cursor: pointer; }
.course-side { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.course-side-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.course-side-head .kicker { margin: 0; }
.course-count { margin: 0; font-size: 15px; color: var(--muted); }
.course-count strong { color: var(--ink); font-size: 1.4rem; }
.reward-line { margin: 0; }
.lessons { list-style: none; margin: 0; padding: 6px; max-height: 470px; overflow: auto; }
.lesson { width: 100%; display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 14px/1.35 var(--sans); cursor: pointer; transition: background .15s; }
.lesson:hover { background: var(--soft); }
.lesson.is-current { background: var(--soft); box-shadow: inset 3px 0 0 var(--gold); }
.lesson-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; font-size: 11px; font-weight: 700; transition: background .3s, border-color .3s; }
.lesson.is-done .lesson-check { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.lesson.is-done .lesson-check::before { content: "✓"; }
.lesson-len { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cert-locked { text-align: center; padding: 40px 28px; border: 1px dashed var(--line-strong); border-radius: 18px; display: grid; gap: 10px; justify-items: center; }
.cert-locked .lock { font-size: 34px; }
.cert-locked .bar { width: min(420px, 100%); }
.cert-locked[hidden], .cert-form[hidden], .cert-result[hidden] { display: none; }
.cert-form { display: grid; gap: 12px; padding: 28px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 24px 50px rgba(var(--shadow-rgb), .12); animation: slide-in .6s cubic-bezier(.2,.8,.2,1) both; }
.cert-form h2 { margin: 0; }
.cert-form .kicker { margin: 0; }
.cert-form label { display: grid; gap: 5px; font-weight: 500; font-size: 14px; }
.cert-form input { font: 16px var(--sans); padding: 11px 13px; border: 1px solid var(--input-line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.cert-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.cert-form .consent input { width: auto; margin-top: 4px; }
.cert-form .hp { position: absolute; left: -9999px; }
.cert-form .btn { justify-self: start; }
.cert-result { display: grid; gap: 14px; animation: slide-in .6s cubic-bezier(.2,.8,.2,1) both; }
.cert-canvas { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px rgba(var(--shadow-rgb), .18); }
.cert-terms { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.cert-terms h3 { font-size: 1rem; }
.course-band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.course-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.course-steps { list-style: none; padding: 0; margin: 20px 0 6px; display: grid; gap: 10px; }
.course-steps li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.course-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-ink); font-size: 13px; font-weight: 600; flex: none; }
.home-progress { max-width: 360px; margin-top: 18px; }
.course-collage { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: rotate(-3deg); }
.course-collage img { width: 100%; border-radius: 10px; display: block; box-shadow: 0 10px 24px rgba(var(--shadow-rgb), .15); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.course-collage img:nth-child(2n) { transform: translateY(14px); }
.course-collage:hover img { transform: translateY(-4px); }
.collage-cert { position: absolute; right: 6%; bottom: -18px; display: grid; justify-items: center; padding: 18px 26px; background: #fbf8f2; color: #141210; border: 3px solid #141210; outline: 1px solid #AC582A; outline-offset: -9px; border-radius: 6px; transform: rotate(5deg); box-shadow: 0 20px 40px rgba(0,0,0,.25); animation: float-cert 5s ease-in-out infinite alternate; }
.collage-cert b { font: italic 600 22px Georgia, serif; }
.collage-cert small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #AC582A; }
@keyframes float-cert { to { transform: rotate(3deg) translateY(-8px); } }
@media (max-width: 1000px) {
  .course-grid, .course-band-inner { grid-template-columns: 1fr; }
  .course-side { position: static; }
  .course-cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .course-card { grid-template-columns: 1fr; }
  .course-thumb img { aspect-ratio: 16 / 9; }
  .now-playing { flex-direction: column; align-items: flex-start; }
  .course-collage { transform: none; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .collage-cert, .lesson-done-flash.show, .cert-form, .cert-result { animation: none; } .lesson-done-flash.show { opacity: 1; } }

/* ---------------- Top of homepage: four options (switch in the preview bar) */
.hv { display: none; position: relative; overflow: hidden; }
html:not([data-hv]) .hv[data-variant="family"],
html[data-hv="paths"] .hv[data-variant="paths"],
html[data-hv="ask"] .hv[data-variant="ask"],
html[data-hv="family"] .hv[data-variant="family"],
html[data-hv="classic"] .hv[data-variant="classic"] { display: block; }
html[data-hv="paths"] .start-section { display: none; }
.hero-shared { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
html:not([data-hv="classic"]) .hero-shared .stats { margin-top: 36px; }
/* Michael chose "Meet the family" (2026-10-30); it is the default opening. */
.hv-switch { display: inline-flex; align-items: center; gap: 6px; }
.hv-switch select { font: inherit; font-size: 13px; border-radius: 99px; border: 0; padding: 3px 10px; background: #e9e2d2; color: #222; }

/* 1. Choose your path */
.hv-paths { padding: 64px 0 56px; background: linear-gradient(var(--soft), var(--bg) 80%); }
.hv-paths .wrap { position: relative; }
.paths-head { max-width: 760px; }
.paths-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.path-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.path-btn { display: grid; align-content: start; gap: 6px; text-align: left; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .2s, background .2s; }
.path-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--gold); margin-bottom: 6px; }
.path-btn strong { font-size: 1rem; letter-spacing: -.01em; line-height: 1.3; }
.path-btn span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.path-btn:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 12px 26px rgba(var(--shadow-rgb), .08); }
.path-btn.is-on { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 16px 34px rgba(var(--shadow-rgb), .18); }
.path-btn.is-on span { color: inherit; opacity: .75; }
.path-btn.is-on svg { color: inherit; }
.path-panels { margin-top: 16px; }
.path-panel { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(var(--shadow-rgb), .08); animation: panel-rise .45s cubic-bezier(.2,.8,.2,1) both; }
.path-panel[hidden] { display: none; }
@keyframes panel-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.path-panel-head { font-size: 13px; font-weight: 600; color: var(--gold); margin: 0 0 12px; }
.path-panel ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.path-panel a { display: grid; grid-template-columns: 30px 1fr 18px; gap: 12px; align-items: start; height: 100%; padding: 16px; border-radius: 12px; background: var(--soft); text-decoration: none; color: var(--ink); transition: background .2s, transform .2s; }
.path-panel a:hover { background: var(--gold-soft); transform: translateY(-2px); color: var(--ink); }
.pn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-ink); font-size: 13px; font-weight: 600; }
.path-panel strong { display: block; font-size: .98rem; line-height: 1.3; }
.path-panel small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.path-panel .arr { margin-top: 4px; color: var(--muted); }

/* 2. Ask us anything */
.hv-ask { padding: 88px 0 64px; background: linear-gradient(var(--soft), var(--bg) 80%); }
.ask-inner-top { position: relative; max-width: 880px; }
.hv-ask h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.ask-box { position: relative; display: flex; align-items: center; gap: 10px; margin: 30px auto 0; max-width: 760px; padding: 10px 10px 10px 54px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 24px 50px rgba(var(--shadow-rgb), .12); }
.ask-box svg { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.ask-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink); font: 500 1.15rem var(--sans); padding: 14px 4px; }
.ask-box input::placeholder { color: var(--muted-2); }
.ask-box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold), 0 24px 50px rgba(var(--shadow-rgb), .12); }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); align-items: center; }
.ask-chips a { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.ask-chips a:hover { border-color: var(--gold); transform: translateY(-1px); color: var(--ink); }
.ask-people { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; }
.ask-people .av { margin-right: -16px; border: 2px solid var(--bg); }
.ask-people p { margin: 0 0 0 22px; color: var(--muted); font-size: 15px; text-align: left; }

/* 3. Meet the family */
.hv-family { min-height: min(86vh, 760px); align-items: flex-end; color: #fff; background: #0f0d0b; }
html:not([data-hv]) .hv[data-variant="family"].hv-family, html[data-hv="family"] .hv[data-variant="family"].hv-family { display: flex; }
.family-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; transform: scale(1.02); transform-origin: 70% 50%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.07) translateX(-1%); } }
.family-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,16,.92) 0%, rgba(8,11,16,.65) 45%, rgba(8,11,16,.1) 80%), linear-gradient(0deg, rgba(8,11,16,.75), transparent 45%); }
.family-inner { position: relative; padding-top: 120px; padding-bottom: 72px; width: 100%; }
.family-inner > * { max-width: 620px; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.family-inner > :nth-child(2) { animation-delay: .1s; } .family-inner > :nth-child(3) { animation-delay: .2s; } .family-inner > :nth-child(4) { animation-delay: .3s; }
.hv-family h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.hv-family .kicker { color: #f6b98f; }
.family-sub { font-size: 1.2rem; color: rgba(255,255,255,.85); }
.btn-hero-light { background: #f1ece3; color: #111418; }
.btn-hero-light:hover { background: #fff; color: #111418; }
.family-course { position: absolute; right: 32px; bottom: 32px; display: flex; gap: 14px; align-items: center; width: 380px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: rise .9s cubic-bezier(.2,.8,.2,1) .5s both; transition: transform .25s, background .25s; }
.family-course:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); color: #fff; }
.family-course img { width: 120px; border-radius: 10px; flex: none; }
.family-course small { display: block; color: #f6b98f; font-size: 12px; font-weight: 600; }
.family-course strong { display: block; font-size: 15px; line-height: 1.35; margin-top: 2px; }

@media (max-width: 1000px) {
  .path-btns { grid-template-columns: repeat(3, 1fr); }
  .path-panel ol { grid-template-columns: 1fr; }
  .family-course { position: relative; right: auto; bottom: auto; margin: 0 20px 24px; width: auto; }
  .hv-family { flex-direction: column; align-items: stretch; justify-content: flex-end; }
}
@media (max-width: 680px) {
  .path-btns { grid-template-columns: 1fr 1fr; }
  .path-btn:last-child { grid-column: span 2; }
  .hv-paths { padding-top: 40px; }
  .ask-box { flex-wrap: wrap; padding-left: 48px; }
  .ask-box .btn { width: 100%; }
  .hv-ask { padding-top: 56px; }
  .family-inner { padding-top: 90px; padding-bottom: 32px; }
  .family-course { margin: 0 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .family-bg, .family-inner > *, .family-course, .path-panel { animation: none !important; }
}

/* "Ask us anything" as a section near the bottom of the homepage (2026-10-30) */
.ask-section { position: relative; overflow: hidden; padding: 96px 0; border-top: 1px solid var(--line); background: linear-gradient(var(--bg), var(--soft)); }
.ask-section h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.ask-section .lead { margin-top: 4px; }
.ask-section .ask-people p a { white-space: nowrap; }
@media (max-width: 680px) { .ask-section { padding: 64px 0; } .ask-section .ask-people { flex-wrap: wrap; } }
@media (max-width: 680px) { .ask-box svg { top: 33px; } }

/* ---------------- Team: people cards, team section, officer pages (2026-10-30) */
.btn-sm { padding: 10px 14px; font-size: 14px; }
.avatar-xl { width: 132px; height: 132px; font-size: 40px; flex: none; }
.headshot { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.team-sub { margin: 40px 0 16px; font-size: 1.15rem; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.officers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pcard:hover { border-color: var(--line-strong); box-shadow: 0 14px 30px rgba(var(--shadow-rgb), .08); transform: translateY(-2px); }
.pcard-big { grid-template-columns: 88px 1fr; padding: 26px; }
.pcard-big .avatar-lg { width: 88px; height: 88px; font-size: 24px; }
.pcard-pic { width: 64px; height: 64px; display: block; }
.pcard-big .pcard-pic { width: 88px; height: 88px; }
.pcard-role { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.pcard h3 { margin: 0 0 4px; font-size: 1.12rem; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a:hover { color: var(--gold); }
.pcard .meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.pcard-short { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pcard-actions { display: flex; align-items: center; gap: 14px; }
.team-more { margin-top: 18px; }
.person-hero { padding: 8px 0 56px; background: linear-gradient(var(--soft), var(--bg)); }
.person-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 28px; }
.person-id { display: grid; grid-template-columns: 132px 1fr; gap: 28px; align-items: start; }
.person-id h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 4px; }
.person-id .meta { color: var(--muted); font-size: 14px; }
.person-short { font-size: 1.15rem; font-weight: 500; margin: 6px 0 10px; }
.person-side { display: grid; gap: 16px; }
.intro-video { aspect-ratio: 16 / 9; }
.person-facts li { grid-template-columns: 96px 1fr; }
.person-events { max-width: 680px; }
.person-courses { margin-top: 16px; }
.person-form h2 { margin: 0; }
.team-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .2s, transform .2s; }
.team-chip:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.team-chip .avatar { width: 32px; height: 32px; font-size: 12px; }
.event-who { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.hero-team { border-bottom: 1px solid var(--line); }
@media (max-width: 1000px) {
  .officers { grid-template-columns: 1fr 1fr; }
  .person-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .founders, .officers { grid-template-columns: 1fr; }
  .person-id { grid-template-columns: 1fr; }
  .avatar-xl { width: 96px; height: 96px; font-size: 30px; }
  .pcard-big { grid-template-columns: 64px 1fr; }
  .pcard-big .pcard-pic, .pcard-big .avatar-lg { width: 64px; height: 64px; font-size: 18px; }
}

/* Round headshots: the photo fills the circle, aimed at the face (default near the top of the photo). */
.photo-ring { position: relative; overflow: hidden; padding: 0; background: var(--soft); }
.photo-ring .headshot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; border-radius: 0; transform: scale(1.02); }
.pcard-pic .photo-ring, .person-id .photo-ring { display: block; }
.pcard-pic .photo-ring { width: 100%; height: 100%; }

/* ---------------- Legal pages and privacy choices */
.legal-head { padding-bottom: 24px; }
.legal-head h1 { margin-top: 18px; }
.legal-body { padding-top: 24px; }
.legal-body section { margin-bottom: 36px; }
.legal-body h2 { font-size: 1.35rem; }
.legal-body li { margin-bottom: .4em; color: var(--muted); }
.legal-body p { color: var(--muted); }
.legal-body strong { color: var(--ink); }
.legal-toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 32px; background: var(--surface); font-size: 15px; }
.legal-toc ol { margin: 0; padding-left: 18px; columns: 2; }
.pc-card { border: 1px solid var(--line-strong); border-radius: 16px; padding: 8px 20px 16px; margin-bottom: 36px; background: var(--surface); box-shadow: 0 14px 30px rgba(var(--shadow-rgb), .06); }
.pc-head { font-weight: 600; margin: 14px 0 4px; }
.pc-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.pc-row strong { display: block; }
.pc-row small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.pc-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pc-switch { width: 46px; height: 26px; border-radius: 99px; background: var(--line-strong); position: relative; transition: background .2s; }
.pc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.pc-toggle:checked + .pc-switch { background: var(--btn-bg); }
.pc-toggle:checked + .pc-switch::after { transform: translateX(20px); }
.pc-toggle:focus-visible + .pc-switch { outline: 3px solid var(--gold); outline-offset: 2px; }
.pc-toggle:disabled + .pc-switch { opacity: .5; }
.pc-gpc { margin: 12px 0 0; font-size: 14px; color: var(--ink); background: var(--gold-soft); padding: 10px 12px; border-radius: 8px; }
.pc-saved { margin: 10px 0 0; font-size: 14px; color: var(--muted); min-height: 1em; }
.pc-icon { display: inline-block; width: 28px; height: 14px; margin-left: 4px; vertical-align: -2px; border-radius: 7px; background: linear-gradient(90deg, #fff 50%, #0066ff 50%); border: 1px solid #fff; position: relative; }
@media (max-width: 680px) { .legal-toc ol { columns: 1; } }

/* ---------------- Big and small: backed by NAF, run like a family (2026-10-30) */
.scale-section { padding: 56px 0 12px; }
.scale-bridge { max-width: 760px; margin: 0 auto 28px; text-align: center; font-size: 1.1rem; color: var(--muted); }
.scale-bridge strong { color: var(--ink); }
.scale-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.scale-card { border-radius: 20px; padding: 30px; display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; align-content: start; min-width: 0; }
.scale-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0 0 18px; }
.scale-card .kicker { margin: 0; }
.scale-big { background: linear-gradient(135deg, #141210, #000000); color: #d3ccc4; }
.scale-big h3 { color: #fff; }
.scale-big .kicker { color: #f6b98f; }
.scale-small { background: var(--surface); border: 1px solid var(--line); }
.scale-stats { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px 20px; }
.scale-stats strong { display: block; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.scale-big .scale-stats strong { color: #fff; }
.scale-stats span { display: block; font-size: 14px; margin-top: 4px; }
.scale-small .scale-stats span { color: var(--muted); }
.scale-fine { margin: 18px 0 0; font-size: 12.5px; opacity: .8; }
.scale-faces { display: flex; align-items: center; margin-top: 20px; text-decoration: none; }
.scale-faces .face { width: 40px; height: 40px; border-radius: 50%; margin-right: -10px; border: 2px solid var(--surface); font-size: 13px; flex: none; transition: transform .2s; }
.scale-faces:hover .face { transform: translateY(-2px); }
.face-more { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 2px solid var(--surface); font-size: 12px; font-weight: 600; color: var(--ink); }
.scale-faces .link-arrow { margin-left: 22px; }
.strip-fine { text-align: center; font-size: 12.5px; color: var(--muted); margin: 10px 16px 0; }
@media (max-width: 1000px) { .scale-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 680px) { .scale-card { padding: 22px; } .scale-faces .face:nth-child(n+7) { display: none; } }
@media (max-width: 420px) { .scale-faces { flex-wrap: wrap; row-gap: 14px; } .scale-faces .link-arrow { flex-basis: 100%; margin-left: 0; } .scale-stats { gap: 16px 14px; } .scale-stats strong { font-size: 1.65rem; } .scale-stats span { font-size: 13px; } }

/* ---------------- Homepage flow (2026-10-30): linked steps, combined learn section */
.steps-linked li { padding: 0; }
.steps-linked a { display: flex; flex-direction: column; height: 100%; padding: 24px; color: var(--ink); text-decoration: none; border-radius: var(--radius); transition: background .2s, transform .2s; }
.steps-linked a:hover { background: var(--soft); transform: translateY(-2px); color: var(--ink); }
.steps-linked p { flex: 1; }
.step-more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--link); }
.steps-linked a:hover .step-more { color: var(--gold); }
.learn-sub { margin: 40px 0 16px; align-items: center; }
.learn-sub .team-sub { margin: 0; }
#visit { border-top: 0; padding-top: 0; }

/* ---------- CalHFA focus section (homepage, second section) ---------- */
.calhfa { border-bottom: 1px solid var(--line); }
.calhfa-top { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 48px; align-items: center; }
.calhfa-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.calhfa-logo { display: block; height: 56px; width: auto; }
.calhfa-logo-empty { display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 56px; border: 1.5px dashed var(--line-strong); border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.calhfa-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.calhfa-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f9e6b; box-shadow: 0 0 0 3px rgba(47,158,107,.18); }
.calhfa h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 16px; }
.calhfa-proof:empty { display: none; }
.calhfa .hero-actions { margin-top: 26px; }
.calhfa-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.calhfa-facts li { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.calhfa-facts strong { font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.calhfa-facts span { font-size: 14.5px; color: var(--muted); }
.calhfa-programs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 44px; }
.calhfa-prog { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.calhfa-prog:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--shadow-rgb), .08); }
.calhfa-prog small { font-size: 13px; font-weight: 600; color: var(--gold); }
.calhfa-prog strong { font-size: 1.15rem; letter-spacing: -.01em; }
.calhfa-prog > span { font-size: 14.5px; color: var(--muted); flex: 1; }
.calhfa-prog em { font-style: normal; margin-top: 6px; }
.calhfa-fine { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); max-width: 52em; }
.calhfa-others { margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.calhfa-others a { color: var(--link); font-weight: 600; }
.from-calhfa { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); }
.from-calhfa[hidden] { display: none; }
.from-calhfa:hover { background: rgba(255,255,255,.22); }
@media (max-width: 1000px) {
  .calhfa-top { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .calhfa-programs { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .calhfa-programs { grid-template-columns: minmax(0,1fr); }
  .calhfa-facts li { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .calhfa-facts strong { font-size: 1.6rem; }
}

/* ---------- Program pages (built from content/programs/ + the fact-checked draft) ---------- */
.program-hero { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 48px; align-items: start; padding-top: 18px; padding-bottom: 44px; }
.program-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -.035em; line-height: 1.05; margin: 6px 0 18px; }
.ph-answer { font-size: 1.15rem; color: var(--muted); margin: 0 0 20px; max-width: 40em; }
.ph-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ph-status, .ph-fresh { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.ph-status::before, .ph-fresh::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f9e6b; box-shadow: 0 0 0 3px rgba(47,158,107,.18); }
.ph-status.is-closed::before, .ph-fresh.fresh-due::before { background: #d08a1e; box-shadow: 0 0 0 3px rgba(208,138,30,.2); }
.ph-fresh { font-weight: 500; color: var(--muted); }
.ph-by { display: flex; gap: 14px; align-items: center; margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.ph-by p { margin: 0 0 2px; }
.ph-by a { color: var(--ink); font-weight: 600; }
.ph-review { font-size: 13px; }
.glance { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .07); }
.glance-head { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.glance dl { margin: 0; display: grid; }
.glance dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.glance dl > div:first-child { border-top: 0; padding-top: 0; }
.glance dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.glance dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 15.5px; line-height: 1.4; }
.glance dd span { display: block; margin-top: 4px; font-weight: 400; font-size: 12.5px; }
.src { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.src:hover { color: var(--ink); }
.glance-ai { margin: 16px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.glance-ai a { font-weight: 600; color: var(--link); }
.glance .fine { font-size: 12px; margin: 0; }

.program-check { background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 30px; margin-bottom: 56px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); gap: 18px 40px; }
.pc-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; margin: 0 0 10px; }
.pc-head p:not(.kicker) { color: var(--muted); margin: 0; font-size: 15px; }
.pc-form { display: grid; gap: 10px; grid-row: span 2; }
.pc-q { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 14px 16px; margin: 0; }
.pc-q legend { float: left; width: 100%; font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.pc-opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-opts label { position: relative; cursor: pointer; }
.pc-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pc-opts label { display: inline-flex; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.pc-opts label:has(input:checked) { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.pc-opts label:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--focus-ring); }
.pc-result { align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; font-size: 15px; }
.pc-result p { margin: 0 0 8px; }
.pc-result p:last-child { margin-bottom: 0; }
.pc-result strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.pc-result ul { margin: 6px 0 10px; padding-left: 18px; color: var(--muted); }
.pc-wait { color: var(--muted); }
.program-check > .fine { grid-column: 1; font-size: 12.5px; color: var(--muted); margin: 0; }

.facts-table td:last-child { font-size: 13.5px; }
.facts-table .when { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.compare-table th.is-this, .compare-table td.is-this { background: color-mix(in srgb, var(--gold) 9%, transparent); }
.compare-table thead th { white-space: nowrap; }
.source-note { font-size: 13px; color: var(--muted); margin-top: -.6em; }
.guide-body em { color: var(--muted); font-size: .92em; }
.program-video .vcard, .program-video > * { max-width: 420px; }

.program-ask .pa-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: start; }
.pa-who h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.025em; margin: 0 0 12px; }
.pa-who > p:not(.kicker) { color: var(--muted); }
.pa-who .avatar-xl { margin-bottom: 18px; }
.pa-who .checks { justify-content: flex-start; flex-direction: column; gap: 10px; }
.program-form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 12px; }
.program-form label { display: grid; gap: 5px; font-weight: 500; font-size: 14px; }
.program-form input, .program-form select { font: 16px var(--sans); padding: 11px 13px; border: 1px solid var(--input-line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.program-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.program-form .consent input { width: auto; margin-top: 4px; }
.program-form .hp { position: absolute; left: -9999px; }
.program-form .fine { margin: 0; font-size: 12.5px; color: var(--muted); }

@media (max-width: 1000px) {
  .program-hero { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .glance { position: static; }
  .program-check { grid-template-columns: minmax(0,1fr); }
  .pc-form { grid-row: auto; }
  .program-check > .fine { grid-column: auto; }
  .program-ask .pa-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 560px) {
  .program-check { padding: 20px 16px; }
  .glance { padding: 20px; }
}
.guide-body p a, .guide-body li a, .guide-body em { overflow-wrap: anywhere; }
.guide-body p, .guide-body li { overflow-wrap: break-word; }

/* ---------- The story behind the name: the B and the feather ---------- */
.bmark { position: relative; width: min(220px, 56vw); aspect-ratio: 1000 / 920; flex: none; }
.bmark-lg { width: min(300px, 64vw); margin: 0 auto 30px; }
.bmark-b { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bmark-b path { fill: none; stroke: var(--ink); stroke-width: 26; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bmark-feather { position: absolute; left: 1.5%; top: 39%; width: 96%; height: auto; transform-origin: 30% 50%; }
/* Before it plays (set by the script only when motion is welcome) */
.bmark.will-play .bmark-b path { stroke-dashoffset: 1; }
.bmark.will-play .bmark-feather { opacity: 0; will-change: transform, opacity; }
.bmark.is-playing .bmark-b path { animation: bmark-draw 1.6s cubic-bezier(.6,.05,.3,1) forwards; }
@keyframes bmark-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* The feather's fall is computed in site.js (dropFeather), so it can swing like a real feather. */

.story-band .story-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; max-width: 980px; }
.story-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.025em; margin: 0 0 18px; }
.story-quote { margin: 0 0 22px; padding: 0 0 0 20px; border-left: 3px solid var(--gold); }
.story-quote p { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; color: var(--ink); margin: 0 0 10px; }
.story-quote footer { font-size: 14.5px; color: var(--muted); }
.family-sub .family-story { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.family-sub .family-story:hover { text-decoration-color: #fff; }

.story-page { padding: 48px 0 80px; }
.story-head { text-align: center; max-width: 720px; }
.story-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.035em; margin: 0 0 40px; }
.story-letter { max-width: 640px; font-size: 1.14rem; line-height: 1.75; color: var(--ink); }
.story-letter p { margin: 0 0 1.3em; }
.story-letter .story-pause { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; margin: 1.6em 0; }
.story-sign { margin-top: 2.4em; }
.story-sign p { margin: 0; }
.story-names { font-size: 1.25rem; font-weight: 600; margin-top: 6px !important; }
.story-note { font-size: 15px; color: var(--muted); }
.story-families { max-width: 860px; margin-top: 72px; text-align: center; }
.story-families h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0 0 22px; }
.story-frames { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.story-frame { aspect-ratio: 4 / 5; border-radius: 14px; background: var(--soft); border: 1px dashed var(--line-strong); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.story-foot { max-width: 640px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; text-align: center; }
.story-foot .hero-actions { justify-content: center; margin-top: 18px; }
.footer-story { display: inline-flex; align-items: center; gap: 8px; }
.footer-story img { width: 40px; height: auto; }
@media (max-width: 760px) {
  .story-band .story-grid { grid-template-columns: minmax(0,1fr); gap: 28px; justify-items: center; text-align: left; }
  .story-letter { font-size: 1.06rem; }
}
@media (max-width: 480px) { .story-frames { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- The feather button (every page) ---------- */
.fp { position: fixed; right: 20px; bottom: 20px; z-index: 65; }
.fp-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 10px 28px rgba(var(--shadow-rgb), .18); display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .2s ease, box-shadow .2s ease; }
.fp-btn img { width: 34px; height: auto; transform: rotate(4deg); }
.fp-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(var(--shadow-rgb), .24); }
.fp-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--gold), 0 10px 28px rgba(var(--shadow-rgb), .18); }
.fp-tip { position: absolute; right: 72px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(var(--shadow-rgb), .12); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.fp-btn:hover .fp-tip, .fp-btn:focus-visible .fp-tip, .fp.show-tip .fp-tip { opacity: 1; transform: translate(0, -50%); }
.fp.is-open .fp-tip { opacity: 0; }
.fp-panel { position: absolute; right: 0; bottom: 76px; width: 360px; max-height: calc(100vh - 130px); overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(var(--shadow-rgb), .22); padding: 18px 20px 20px; }
.fp-panel[hidden] { display: none; }
.fp.is-open .fp-panel { animation: fp-in .28s cubic-bezier(.2,.8,.3,1); }
@keyframes fp-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.fp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.fp-head img { width: 30px; height: auto; }
.fp-name { margin: 0; font-weight: 600; font-size: 15px; flex: 1; }
.fp-close { border: 0; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.fp-close:hover { background: var(--soft); color: var(--ink); }
.fp-close:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }
.fp-sec { padding: 16px 0 4px; }
.fp-sec + .fp-sec { border-top: 1px solid var(--line); margin-top: 14px; }
.fp-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.fp-sec > p { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.fp-quote { margin: 0 0 12px; padding-left: 14px; border-left: 3px solid var(--gold); }
.fp-quote p { margin: 0 0 6px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.fp-quote footer { font-size: 13px; color: var(--muted); }
.fp-form { display: flex; gap: 8px; margin: 0 0 12px; }
.fp-form input { flex: 1; min-width: 0; font: 16px var(--sans); padding: 10px 12px; border: 1px solid var(--input-line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.fp-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus-ring); }
.fp-form .btn { padding: 10px 16px; }
.fp-or { font-size: 14px !important; }
.fp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-actions .btn { flex: 1; text-align: center; padding: 10px 12px; font-size: 14px; }
.fp-fine { font-size: 12px !important; margin: 12px 0 0 !important; }
@media (max-width: 560px) {
  .fp { right: 14px; bottom: 14px; }
  .fp-btn { width: 54px; height: 54px; }
  .fp-panel { position: fixed; left: 12px; right: 12px; bottom: 80px; width: auto; max-height: calc(100vh - 110px); }
  .fp-tip { display: none; }
}
@media print { .fp { display: none; } }
.ask-box.fp-form { margin: 0 0 12px; max-width: none; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 8px; }
.ask-box.fp-form:focus-within { box-shadow: none; }
.ask-box.fp-form input { font: 16px var(--sans); padding: 10px 12px; border: 1px solid var(--input-line); border-radius: 10px; background: var(--bg); }
.ask-box.fp-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus-ring); }
/* A slow, soft glow in the feather's own colors */
.fp-btn::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: conic-gradient(from 210deg, #29a8e0, #8cbf6e, #f9c80e, #f39a3a, #e8453c, #29a8e0);
  filter: blur(11px); opacity: .32; animation: fp-glow 4.8s ease-in-out infinite; }
@keyframes fp-glow { 0%, 100% { opacity: .26; transform: scale(.95); } 50% { opacity: .55; transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .fp-btn::before { animation: none; opacity: .35; } }

/* ---------- Homepage start-up screen: on black, the feather drifts in and brightens, then the name ---------- */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: #000; cursor: pointer;
  animation: intro-safety .3s ease 1.8s forwards; }   /* if scripts fail, it still gets out of the way */
@keyframes intro-safety { to { opacity: 0; visibility: hidden; } }
.intro-inner { text-align: center; padding: 0 24px; }
.intro-feather { display: block; width: min(170px, 42vw); height: auto; margin: 0 auto 26px; opacity: 0; }
.intro.is-playing .intro-feather { animation: intro-feather .7s cubic-bezier(.2,.7,.25,1) forwards; }
/* Comes in from below and to the left, along its own angle, and brightens as it arrives */
@keyframes intro-feather {
  0%   { opacity: 0; transform: translate(-26px, 22px) scale(.92); filter: brightness(.35) saturate(.6) drop-shadow(0 0 0 rgba(249, 170, 40, 0)); }
  55%  { opacity: 1; filter: brightness(1.15) saturate(1.25) drop-shadow(0 0 14px rgba(249, 170, 40, .45)); }
  80%  { filter: brightness(1.4) saturate(1.4) drop-shadow(0 0 22px rgba(249, 170, 40, .6)); }
  100% { opacity: 1; transform: none; filter: brightness(1.2) saturate(1.3) drop-shadow(0 0 14px rgba(249, 170, 40, .4)); }
}
.intro-name { margin: 0; font-size: clamp(1.6rem, 3.8vw, 2.25rem); font-weight: 600; letter-spacing: -.02em; color: #fff;
  opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.25,1); }
.intro-tag { margin: 8px 0 0; font-size: 15px; letter-spacing: .04em; color: rgba(255, 255, 255, .72);
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease .1s, transform .4s cubic-bezier(.2,.7,.25,1) .1s; }
/* A slim loading bar in the feather's colors */
.intro-load { width: 168px; height: 3px; margin: 26px auto 0; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; opacity: 0; transition: opacity .4s ease; }
.intro-load span { display: block; height: 100%; border-radius: 3px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #29a8e0, #8cbf6e, #f9c80e, #f39a3a, #e8453c); box-shadow: 0 0 10px rgba(249, 170, 40, .5); }
.intro.is-playing .intro-load { opacity: 1; }
.intro.is-playing .intro-load span { animation: intro-load .9s cubic-bezier(.45,.05,.35,1) .1s forwards; }
@keyframes intro-load { to { transform: scaleX(1); } }
.intro.show-name .intro-name, .intro.show-name .intro-tag { opacity: 1; transform: none; }
.intro.leaving { opacity: 0; transform: translateY(-14px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }

/* ---------- Employer workshop pages ---------- */
.ws-guard { margin: 0 0 6px; }
.ws-hero { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 48px; align-items: start; padding-top: 12px; padding-bottom: 48px; }
.ws-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 22px; }
.ws-logo { height: 48px; width: auto; }
.ws-logo-empty { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; padding: 0 14px; border: 1.5px dashed var(--line-strong); border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.ws-x { color: var(--muted); font-size: 20px; }
.ws-us { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.ws-us img { width: 24px; height: auto; }
.ws-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); letter-spacing: -.035em; line-height: 1.05; margin: 6px 0 16px; }
.ws-facts { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.ws-facts li { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 12px; font-size: 16px; }
.ws-facts span { color: var(--muted); font-size: 14px; font-weight: 600; padding-top: 1px; }
.ws-side { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .07); }
.ws-side-head { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.ws-who { display: flex; gap: 14px; align-items: center; }
.ws-who p { margin: 0; }
.ws-who-name { font-weight: 600; font-size: 1.05rem; }
.ws-who-note { color: var(--muted); font-size: 14px; }
.ws-private { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--soft); font-size: 15px; }
.ws-private p { margin: 0; }
.ws-private .fine { margin-top: 6px; }
.ws-cover { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 48px; align-items: start; }
.ws-cover h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 18px; }
.ws-list { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 12px; margin: 0; font-size: 16px; color: var(--ink); }
.ws-list li { align-items: flex-start; }
.ws-list li::before { flex: none; margin-top: 3px; }
.ws-links { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.ws-links .link-arrow { white-space: normal; }
.ws-rsvp h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 14px; }
.ws-rsvp > div > p:not(.kicker) { color: var(--muted); }
.ws-promise { padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--soft); border-radius: 0 10px 10px 0; color: var(--ink) !important; font-weight: 500; }
.program-form textarea { font: 16px var(--sans); padding: 11px 13px; border: 1px solid var(--input-line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; resize: vertical; }
.ws-note { margin-top: 14px; }
.ws-frames { margin-top: 24px; }
@media (max-width: 1000px) { .ws-hero, .ws-cover { grid-template-columns: minmax(0,1fr); gap: 28px; } }
.ws-rsvp { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: start; }
@media (max-width: 1000px) { .ws-rsvp { grid-template-columns: minmax(0,1fr); gap: 24px; } }
.ws-hosted { font-size: 14px; font-weight: 600; color: var(--muted); }
.ws-host-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); max-width: 40em; }

/* ---------- Preview only: link previews on one screen ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 22px; margin-top: 30px; }
.sp-tile { margin: 0; }
.sp-bubble { border-radius: 18px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.sp-bubble img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; }
.sp-bubble figcaption { padding: 10px 14px 12px; display: grid; gap: 2px; font-size: 14px; }
.sp-bubble figcaption span { color: var(--muted); font-size: 13px; }
.sp-path { margin: 8px 2px 0; font-size: 13px; color: var(--muted); }

/* ---------- Team cards with cut-out portraits on a gradient (2026-10-30) ---------- */
.portrait { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 108%, rgba(249, 170, 40, .30), rgba(249, 170, 40, 0) 62%),
              radial-gradient(90% 60% at 15% 0%, rgba(238, 124, 61, .10), rgba(238, 124, 61, 0) 60%),
              linear-gradient(170deg, #f5f2ee 0%, #e9e3db 100%); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.2,.7,.25,1); }
.pcard.has-portrait { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 20px; gap: 14px; border-radius: 26px; }
.pcard.has-portrait .pcard-pic { width: 100%; height: auto; }
.pcard.has-portrait .pcard-body { padding: 0 8px; }
.pcard.has-portrait:hover .portrait img { transform: scale(1.035); }
.pcard.has-portrait:hover .portrait { box-shadow: inset 0 -40px 60px -30px rgba(249, 170, 40, .25); }
.pcard-big.has-portrait { grid-template-columns: minmax(180px, 42%) minmax(0, 1fr); align-items: center; padding: 14px; gap: 22px; }
.pcard-big.has-portrait .pcard-body { padding: 8px 10px 8px 0; }
.pcard-big.has-portrait h3 { font-size: 1.4rem; }
@media (min-width: 1100px) { .officers:has(.has-portrait) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pcard-big.has-portrait { grid-template-columns: minmax(0, 1fr); } .pcard-big.has-portrait .pcard-body { padding: 0 8px 6px; } }
@media (max-width: 560px) { .officers:has(.has-portrait) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .officers .has-portrait .pcard-short, .officers .has-portrait .pcard-tags { display: none; }
  .officers .has-portrait .pcard-actions { flex-wrap: wrap; gap: 8px; } }

@media (prefers-reduced-motion: reduce) { .portrait img { transition: none; } }

/* Person pages use the same cut-out portrait as the team cards */
.person-id.has-portrait { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 32px; }
.person-id.has-portrait .portrait { border-radius: 24px; box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .10); }
@media (max-width: 760px) { .person-id.has-portrait { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .person-id.has-portrait .portrait { max-width: 240px; } }

/* ---------- Closing stories: blog tiles and the story page ---------- */
.cover .cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover:has(.cover-photo) .cover-label { display: none; }
.cover:has(.cover-photo) .status { z-index: 1; }
.blog-h { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.035em; margin: 6px 0 14px; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 30px; }
.story-tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.story-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(var(--shadow-rgb), .1); border-color: var(--line-strong); }
.story-tile-pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.story-tile-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.25,1); }
.story-tile:hover .story-tile-pic img { transform: scale(1.03); }
.story-tile-body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.story-tile-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.story-tile-body strong { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
.story-tile-dek { color: var(--muted); font-size: 15px; }
.story-tile-by { color: var(--muted); font-size: 13px; margin-top: 4px; }
.story-post { padding-bottom: 40px; }
.story-post-head { max-width: 760px; text-align: center; padding-top: 10px; }
.story-post-head h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.035em; line-height: 1.05; margin: 6px 0 16px; }
.story-post-dek { font-size: 1.2rem; color: var(--muted); margin: 0 0 18px; }
.story-post-by { display: inline-flex; align-items: center; gap: 12px; text-align: left; font-size: 14.5px; }
.story-post-by p { margin: 0; }
.story-post-by a { color: var(--ink); font-weight: 600; }
.story-post-date { color: var(--muted); font-size: 13px; }
.story-post-cover { margin: 32px auto 0; max-width: 1080px; }
.story-post-cover img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 24px 50px rgba(var(--shadow-rgb), .14); }
.story-post-cover figcaption { margin-top: 8px; }
.story-post-body { max-width: 700px; font-size: 1.1rem; line-height: 1.75; padding-top: 32px; }
.story-post-body h2 { font-size: clamp(1.4rem, 2.8vw, 1.8rem); letter-spacing: -.02em; margin: 1.8em 0 .5em; line-height: 1.2; }
.story-pull { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); }
.story-pull blockquote { margin: 0; }
.story-pull p { font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ink); }
.story-pull figcaption { font-size: 14px; color: var(--muted); }
.story-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.story-facts > div { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.story-facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.story-facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.story-facts dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.45; }
.story-steps { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 12px; }
.story-steps li { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 2px 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 15.5px; line-height: 1.5; }
.story-step-n { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-ink); font-weight: 700; }
.story-steps span:last-child { color: var(--muted); }
.story-cta { margin: 2.6em 0 1.6em; padding: 26px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.story-cta h2 { margin: 0 0 8px !important; }
.story-cta p { color: var(--muted); margin: 0 0 16px; font-size: 16px; }
.story-disclosure { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 560px) { .story-facts { grid-template-columns: minmax(0,1fr); } .story-facts > div:nth-child(odd) { border-right: 0; } .story-grid { grid-template-columns: minmax(0,1fr); } }

/* ---------- Hub search results ---------- */
.hits { display: grid; gap: 10px; max-width: 860px; }
.hits[hidden] { display: none; }
.hits-note { color: var(--muted); margin: 0 0 4px; font-size: 15px; }
.hit { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.hit:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(var(--shadow-rgb), .07); }
.hit .tag { justify-self: start; }
.hit strong { font-size: 1.08rem; letter-spacing: -.01em; }
.hit-sum { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.hit-by { color: var(--muted); font-size: 13px; }
.hit-soon { opacity: .72; }
.tag-video, .tag-heroes, .tag-course, .tag-team { background: var(--soft); color: var(--ink); }
#hub-cards[hidden] { display: none; }

/* CalHFA logo: as CalHFA made it; on a white plate in dark mode so the blue stays readable */
.calhfa-logo { height: 58px; width: auto; }

/* Visit us: the Haven City aerial photo */
.visit-pic { margin: 0; }
.visit-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; box-shadow: 0 22px 46px rgba(var(--shadow-rgb), .14); }
.visit-pic figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Brandon's photos under Robert and Colleen's sign-off: still, calm, no motion */
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.story-photo { margin: 0; border-radius: 18px; overflow: hidden; background: var(--soft, #f3f1ec); box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .12); }
.story-photo-wide { grid-column: 1 / -1; }
.story-photo img { display: block; width: 100%; height: auto; }
.story-photo-empty { aspect-ratio: 2 / 3; display: grid; place-items: center; padding: 14px; text-align: center; border: 1px dashed var(--line); box-shadow: none; }
.story-photo:not(.story-photo-wide) img { aspect-ratio: 16 / 25; object-fit: cover; }

/* ---------- City page: The city we call home (/rancho-cucamonga) ---------- */
.city-hero { position: relative; min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; }
.city-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.city-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,18,.05) 35%, rgba(8,12,18,.62) 100%); }
.city-hero-text { position: relative; padding-bottom: 12px; }
.city-hero-text .kicker { color: rgba(255,255,255,.88); }
.city-hero-text h1 { color: #fff; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.02em; margin: 6px 0 0; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.city-hero-cap { position: relative; margin: 0 auto; padding-bottom: 22px; font-size: 13px; color: rgba(255,255,255,.8); }
.city-wrap { max-width: 900px; }
.city-intro { padding-top: 48px; padding-bottom: 8px; }
.city-intro > p:first-child { font-size: clamp(22px, 3vw, 28px); font-weight: 600; line-height: 1.3; color: var(--ink); }
.city-band { padding: 64px 0; }
.city-band-soft { background: var(--soft); }
.city-band h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -.015em; margin: 6px 0 18px; }
.city-band h3 { margin-top: 30px; }
.city-band p, .city-intro p { overflow-wrap: break-word; }
.city-actions { margin-top: 22px; }
.city-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.city-stat { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.city-band-soft .city-stat { background: var(--bg); }
.city-num { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.city-label { margin: 4px 0 0; font-weight: 600; font-size: 14px; }
.city-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.city-photo { margin: 28px 0 0; }
.city-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .12); }
.city-photo figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.city-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.city-gallery .city-photo { margin-top: 0; }
.city-bars { margin: 30px 0 0; }
.city-bars figcaption { margin-bottom: 12px; color: var(--muted); }
.city-bars figcaption strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }
.city-bar { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 54px; gap: 12px; align-items: center; padding: 6px 0; font-size: 14px; }
.city-bar-track { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.city-bar-track span { display: block; height: 100%; border-radius: 999px; background: var(--orange); }
.city-bar-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.city-places { margin-top: 30px; }
.city-places ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.city-places li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.city-band-soft .city-places li { background: var(--bg); }
.city-places li span { font-size: 13px; color: var(--muted); }
.city-sources { padding-top: 36px; padding-bottom: 56px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .city-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-gallery { grid-template-columns: 1fr; }
  .city-bar { grid-template-columns: minmax(0, 1fr) 46px; }
  .city-bar-label { grid-column: 1 / -1; }
  .city-bar-track { grid-column: 1; }
  .city-places ul { grid-template-columns: 1fr; }
  .city-band { padding: 48px 0; }
}
.city-actions .btn { white-space: normal; text-align: center; max-width: 100%; }
.calhfa-proof { display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); max-width: 560px; }
.calhfa-proof strong { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; flex: none; }
.calhfa-proof span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.calhfa-proof a { color: var(--ink); }
.city-actions { justify-content: flex-start; }
.naf-legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.naf-legal-links a { white-space: nowrap; }
.contact-swap { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--surface); }
.contact-swap-head { font-weight: 700; font-size: 20px; margin: 0; color: var(--ink); }
.contact-swap-sub { margin: 4px 0 14px; color: var(--muted); }
.contact-swap-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-swap-btns .btn { white-space: normal; text-align: center; }
.page-actions { margin-top: 28px; }
.btn-apply { background: var(--orange); color: var(--orange-ink); }
.btn-apply:hover { background: var(--orange-hover); color: var(--orange-ink); }
.header-apply { padding: 11px 16px; font-size: 14px; white-space: nowrap; }
@media (max-width: 480px) { .header-apply { padding: 9px 12px; font-size: 13px; } }

/* Homepage opening on phones: the team photo is its own band, framed on the people, and the words sit below it.
   Text never runs across anyone's face. Call and Apply side by side, Book a time underneath. */
@media (max-width: 900px) {
  .hv-family { min-height: 0; justify-content: flex-start; }
  .family-pic { position: relative; display: block; }
  .family-pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, rgba(11,15,21,0), #0f0d0b); pointer-events: none; }
  .family-bg { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10.5; object-position: 50% 25%; transform: none; animation: none; }
  .family-shade { display: none; }
  .family-inner { padding-top: 6px; padding-bottom: 20px; }
  .hv-family .kicker { font-size: 13px; }
  .hv-family h1 { font-size: 2.05rem; line-height: 1.12; margin-top: 6px; }
  .family-sub { font-size: 1.02rem; line-height: 1.55; }
  .hv-family .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .hv-family .hero-actions .btn { width: 100%; margin: 0; }
  .hv-family .hero-actions .btn:nth-child(3) { grid-column: 1 / -1; }
  .num-wide { display: none; }
  .hv-family .family-inner > * { max-width: 640px; }
}
@media (min-width: 681px) and (max-width: 900px) { .family-bg { aspect-ratio: 16 / 8; } .hv-family .hero-actions { max-width: 520px; } }
/* Desktop: the team photo fills the right two-thirds and fades into the dark background, so the words on the left never cross a face. */
@media (min-width: 901px) {
  .family-bg { left: auto; right: 0; width: 66%; object-position: 50% 30%; }
  .family-shade { background: linear-gradient(90deg, #0f0d0b 0%, #0f0d0b 34%, rgba(11,15,21,.55) 44%, rgba(11,15,21,0) 62%), linear-gradient(0deg, rgba(8,11,16,.6), transparent 35%); }
}

/* ---------------------------------------------------------------- The Mortgage Tour (2026-11-02) */
.tag-ev-tour { background: var(--gold-soft); color: var(--gold); }
.tour-hero { padding: 0 0 64px; background: linear-gradient(var(--soft), var(--bg)); overflow: hidden; }
.tour-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.tour-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: 1.04; margin: 0 0 18px; }
.tour-hero .kicker { margin-top: 28px; }
.tour-stat { margin-top: 26px; font-size: 14px; color: var(--muted); }
.tour-stat strong { color: var(--ink); font-size: 1.05rem; }
.tour-hero-map { margin: 40px 0 0; }
.tour-hero-map figcaption { font-size: 12px; color: var(--muted-2); text-align: right; margin-top: 4px; }

/* the drawn map */
.tour-map { display: block; width: 100%; height: auto; overflow: visible; }
.tour-map { color: var(--muted); }
.tm-mtn { fill: url(#tm-mtn-g); }
.tm-ridge { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-linejoin: round; }
.tm-mtn-label { font: 500 13px var(--sans); letter-spacing: .18em; text-transform: uppercase; fill: var(--muted-2); }
.tm-line { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tm-dot circle { fill: var(--surface); stroke: var(--muted-2); stroke-width: 2; }
.tm-scheduled circle { fill: var(--btn-bg); stroke: var(--surface); stroke-width: 3; }
.tm-next circle { fill: var(--gold); stroke: var(--surface); stroke-width: 3; }
.tm-visited circle { fill: var(--c-city-ink); stroke: var(--surface); stroke-width: 3; }
.tm-dot .tm-pulse { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.tm-label { font: 500 18px var(--sans); fill: var(--muted); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.tm-label-key { font-weight: 700; font-size: 19px; fill: var(--ink); }
.tm-legend text { font: 500 14px var(--sans); fill: var(--muted); }
.tm-key-next { fill: var(--gold); } .tm-key-sched { fill: var(--btn-bg); }
.tm-key-later { fill: var(--surface); stroke: var(--line-strong); stroke-width: 2; }

@media (prefers-reduced-motion: no-preference) {
  .tm-line { stroke-dashoffset: 1; animation: tm-draw 2.2s .5s cubic-bezier(.45,.05,.25,1) forwards; }
  .tm-dot { opacity: 0; animation: tm-pop .5s calc(var(--i) * 45ms + .15s) ease-out forwards; }
  .tm-dot .tm-pulse { animation: tm-pulse 2.4s 1.4s ease-out infinite; }
  @keyframes tm-draw { to { stroke-dashoffset: 0; } }
  @keyframes tm-pop { from { opacity: 0; } to { opacity: 1; } }
  @keyframes tm-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
}

/* next stop */
.tour-next-wrap { padding-top: 24px; }
.tour-next { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 40px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 20px 50px rgba(var(--shadow-rgb), .06); }
.tour-next-date { border-radius: 16px; background: var(--btn-bg); color: var(--btn-ink); display: grid; place-content: center; text-align: center; line-height: 1; padding: 26px 10px; align-self: start; }
.tour-next-date span { font-size: 15px; font-weight: 600; letter-spacing: .12em; opacity: .75; }
.tour-next-date strong { font-size: 4.2rem; font-weight: 600; letter-spacing: -.04em; margin: 6px 0 10px; }
.tour-next-date em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--gold); }
.tour-next h2 { margin: 0 0 10px; }
.tour-next-when { font-weight: 600; color: var(--ink); }

/* schedule and route */
.tour-two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.tour-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tour-city { display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, transform .2s; }
.tour-city:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tour-city strong { font-size: 15px; }
.tour-city strong a { color: inherit; }
.tour-city > span:last-child { grid-column: 2; font-size: 13px; color: var(--muted); }
.tour-city-dot { grid-row: span 2; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); }
.tour-city-next .tour-city-dot { background: var(--orange); border-color: var(--orange); }
.tour-city-scheduled .tour-city-dot { background: var(--btn-bg); border-color: var(--btn-bg); }
.tour-city-visited .tour-city-dot { background: var(--c-city-ink); border-color: var(--c-city-ink); }
.tour-city-next { border-color: var(--gold); }

/* formats and episodes */
.tour-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tour-format { padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tour-format h3 { margin: 14px 0 8px; }
.tour-format p { color: var(--muted); margin: 0; }
.tour-format-n { display: inline-grid; place-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-weight: 700; }
.tour-episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 14px; }
.tour-episode-cover { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; display: flex; align-items: flex-end; padding: 18px;
  background: radial-gradient(120% 80% at 20% 0%, rgba(238,124,61,.30), transparent 60%), linear-gradient(160deg, #141210, #000000); color: #fff; }
.tour-episode-cover strong { font-size: 1.4rem; letter-spacing: -.02em; }
.tour-play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); }
.tour-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.tour-episode p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.tour-host { padding: 30px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tour-host h3 { margin-top: 0; }

/* homepage band */
.tour-band { overflow: hidden; }
.tour-band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.tour-next-mini { display: flex; gap: 16px; align-items: center; margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tour-next-mini .date-block { flex: none; }
.tour-next-mini .event-meta { margin: 2px 0 0; }
.tour-next-label { font-weight: 700; margin: 0; }
.tour-band-map { display: block; border-radius: 20px; padding: 18px 8px 8px; background: var(--soft); border: 1px solid var(--line); }
.tour-band-map:hover { border-color: var(--line-strong); }

@media (max-width: 900px) {
  .tour-hero-grid, .tour-band-grid, .tour-two { grid-template-columns: 1fr; gap: 28px; }
  .tour-hero-map { margin-top: 0; }
  .tour-next { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .tour-next-date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; padding: 16px 20px; }
  .tour-next-date strong { font-size: 2.4rem; margin: 0; }
  .tour-formats, .tour-episodes { grid-template-columns: 1fr; }
  .tour-episode-cover { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .tm-label { font-size: 30px; stroke-width: 8px; }
  .tm-label:not(.tm-label-next), .tm-mtn-label, .tm-legend { display: none; }
  .tm-dot circle { stroke-width: 3; }
  .tour-cities { grid-template-columns: 1fr 1fr; }
  .tour-city { padding: 12px; }
}

/* Office closed notice (from the Closures tab of the Website Facts sheet) */
.closure-note { font-size: 14px; line-height: 1.45; margin: 6px 0 0; padding-left: 10px; border-left: 3px solid var(--gold); }
.cta-band .closure-note { flex-basis: 100%; order: 3; margin: 0; }

/* ---------------------------------------------------------------- reviews (homepage band and /reviews) */
.stars { position: relative; display: inline-block; font-size: .9em; line-height: 1; letter-spacing: 2px; color: var(--line-strong); vertical-align: middle; }
.stars::before { content: "★★★★★"; }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.stars-fill::before { content: "★★★★★"; }
.rv-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: center; }
.rv-score h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; font-size: 1.6rem; }
.rv-big { font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.rv-big-sm { font-size: 1.5em; vertical-align: -.1em; margin-right: 4px; }
.rv-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.rv-chip { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
.rv-chip:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.rv-chip-site { font-size: 13px; color: var(--muted); }
.rv-chip-score { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.rv-chip-score strong { font-size: 1.35rem; }
.rv-chip-count { font-size: 13px; color: var(--muted); }
.rv-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.rv-quote { margin: 0; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.rv-quote blockquote { margin: 0; flex: 1; }
.rv-quote blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.rv-quote figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font-size: 14px; }
.rv-quote .rv-who { display: flex; flex-direction: column; gap: 2px; }
.rv-quote .rv-who span { color: var(--muted); font-size: 13px; }
.rv-quote .rv-src { flex: none; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.rv-quote-empty { border-style: dashed; background: transparent; }
.rv-quote-empty blockquote p, .rv-quote-empty figcaption { color: var(--muted-2); }
.rv-todo { grid-column: 1 / -1; margin: 0; }
.rv-more { margin: 24px 0 0; }
.rv-sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.rv-site { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); min-width: 0; }
.rv-site p { margin: 0; }
.rv-site-name { font-weight: 600; font-size: 1.1rem; }
.rv-site-profile, .rv-site-count { color: var(--muted); font-size: 14px; }
.rv-site-score { display: flex; align-items: center; gap: 8px; margin-top: 6px !important; }
.rv-site-score strong { font-size: 2rem; }
.rv-site-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rv-site-actions .btn { font-size: 14px; }
.rv-checked { margin-top: 20px; }
@media (max-width: 860px) {
  .rv-head { grid-template-columns: 1fr; gap: 20px; }
  .rv-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rv-band.section { padding: 56px 0; }
  .rv-chips { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rv-chip { padding: 10px 12px; }
  .rv-band .rv-quote:nth-of-type(n+2) { display: none; }   /* one quote on phones keeps the homepage short */
  .rv-band .rv-quotes { margin-top: 24px; }
}
.rv-of { font-size: 13px; color: var(--muted); }
.rv-selected { margin: 32px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rv-selected + .rv-quotes { margin-top: 12px; }
.rv-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); max-width: 52ch; }

/* ---------------------------------------------------------------- homepage layouts (preview switch: simple by default, full = today's) */
html:not([data-home="full"]) .full-only { display: none; }
html[data-home="full"] .simple-only { display: none; }
html:not([data-home="full"]) .hv[data-variant="paths"], html:not([data-home="full"]) .hv[data-variant="classic"] { display: none !important; }
html:not([data-home="full"]) .hv[data-variant="family"].hv-family { display: flex !important; }
.simple-faces { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; text-decoration: none; }
.simple-faces .link-arrow { margin-left: 12px; }
.more-band { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.more-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.more-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.more-links a { font-weight: 600; font-size: 15px; color: var(--link); text-decoration: none; }
.more-links a:hover { color: var(--gold); }
/* Simple layout: "Book a time" leads, Apply second */
html:not([data-home="full"]) .hv-family .hero-actions .btn-outline-light { order: -1; }
.hv-switch[hidden] { display: none; }
/* Simple layout on phones: the same sections, shorter (details live one tap away) */
@media (max-width: 600px) {
  html:not([data-home="full"]) .calhfa .calhfa-facts { display: none; }
  html:not([data-home="full"]) .calhfa-programs { grid-template-columns: 1fr 1fr; gap: 10px; }
  html:not([data-home="full"]) .calhfa-prog > span, html:not([data-home="full"]) .calhfa-prog em { display: none; }
  html:not([data-home="full"]) .calhfa-prog { padding: 14px; }
  html:not([data-home="full"]) #how-it-works .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  html:not([data-home="full"]) #how-it-works .steps p, html:not([data-home="full"]) #how-it-works .step-more { display: none; }
  html:not([data-home="full"]) #how-it-works .steps a { padding: 14px; }
  html:not([data-home="full"]) #team-simple .pcard-short, html:not([data-home="full"]) #team-simple .pcard-tags { display: none; }
  html:not([data-home="full"]) .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  html:not([data-home="full"]) #team-simple .founders { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  html:not([data-home="full"]) #team-simple .pcard { padding: 8px; }
  html:not([data-home="full"]) #team-simple .pcard-body { padding: 10px 4px 4px; }
  html:not([data-home="full"]) #team-simple .pcard-body h3 { font-size: 1rem; }
  html:not([data-home="full"]) #team-simple .pcard-role { font-size: 12px; }
  html:not([data-home="full"]) #team-simple .pcard-actions .link-arrow, html:not([data-home="full"]) #team-simple .pcard-actions a:not(.btn) { display: none; }
  html:not([data-home="full"]) .story-band .brand-mark { max-width: 90px; margin: 0; }
}

/* MyDTI owns and builds the site (Michael, 2026-11-06) */
.crafted { margin-top: 18px; text-align: center; font-size: .85rem; }
.crafted a { color: var(--muted); text-decoration: none; }
.crafted a:hover { text-decoration: underline; }

/* CalHFA first (2026-11-06): homepage hero line, the /calhfa page, Colleen's link */
.hero-calhfa { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 14px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--soft); border: 1px solid var(--line); color: var(--ink); max-width: 100%; }
.hv-family .hero-calhfa { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); color: #fff; backdrop-filter: blur(6px); }
.hero-calhfa:hover { border-color: var(--gold); }
.calhfa-hub-head .from-calhfa-page { background: var(--soft); border-color: var(--line); color: var(--ink); }
.calhfa-qual .calhfa-facts { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 22px; }
.calhfa-qual .calhfa-facts span a { color: inherit; }
.calhfa-check { margin-top: 28px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.calhfa-check h3 { margin: 0 0 10px; }
.calhfa-check ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.calhfa-programs-hub { margin-top: 24px; }
.cf-catch { font-size: 13.5px; color: var(--ink); background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.calhfa-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.calhfa-steps li { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.calhfa-steps .pn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 700; }
.calhfa-steps strong { display: block; }
.calhfa-steps small { color: var(--muted); font-size: 14.5px; }
.checks-list { padding-left: 20px; display: grid; gap: 8px; }
.person-calhfa a { font-weight: 600; }
@media (max-width: 900px) { .calhfa-programs-hub { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .calhfa-qual .calhfa-facts, .calhfa-programs-hub { grid-template-columns: minmax(0,1fr); } .hero-calhfa { font-size: 13px; } }
/* /calhfa header spacing (Michael, 2026-11-06: too tight) */
.calhfa-hub-head { padding-top: 96px; }
.calhfa-hub-head .crumbs { margin-bottom: 28px; }
.calhfa-hub-head .calhfa-brand { margin-bottom: 32px; gap: 16px 20px; }
.calhfa-hub-head h1 { margin-top: 0; margin-bottom: 20px; }
@media (max-width: 640px) { .calhfa-hub-head { padding-top: 64px; } .calhfa-hub-head .calhfa-brand { margin-bottom: 24px; } }
/* Menu: one line per link now that CalHFA leads it (2026-11-06) */
.main-nav a { white-space: nowrap; }
@media (max-width: 1180px) { .main-nav ul { gap: 18px; } .main-nav a { font-size: 14px; } }
.header-row .logo { flex-shrink: 0; }
@media (max-width: 1180px) { .main-nav ul { gap: 14px; } }
@media (max-width: 1180px) { .header-call { display: none; } }

/* "More from us": button cards (2026-11-06) */
.more-band { padding: 40px 0; }
.more-band .more-label { margin: 0 0 16px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.more-pill { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.more-pill:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--shadow-rgb), .08); }
.more-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--gold); }
.more-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.more-txt strong { font-size: 15px; line-height: 1.25; }
.more-txt small { font-size: 13px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.more-go { color: var(--muted); transition: transform .15s, color .15s; }
.more-pill:hover .more-go { color: var(--gold); transform: translateX(3px); }
/* Breathing room before "Stop by" */
html:not([data-home="full"]) #visit { padding-top: 88px; }
@media (max-width: 720px) { html:not([data-home="full"]) #visit { padding-top: 56px; } }
/* More from us: five even cards in a row; two per row on phones */
.more-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.more-pill { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; position: relative; }
.more-go { position: absolute; top: 18px; right: 16px; }
@media (max-width: 900px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .more-grid .more-pill:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Feather panel: call us, then the resource hub (2026-11-06) */
.fp-talk .fp-call { display: flex; justify-content: center; width: 100%; font-size: 1.05rem; padding-block: 14px; }
.fp-talk .fp-or { margin: 8px 0 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.fp-talk .fp-hub { display: flex; justify-content: center; font-weight: 600; }
.site-footer .crafted a { color: rgba(255,255,255,.72); }
/* Contrast fixes after the orange swap (2026-11-06) */
.testimonial-text .result-chip { color: var(--btn-ink); }
.tour-next-date em { color: var(--orange); }

/* Reviewer fixes after the orange swap (2026-11-06) */
.pc-opts label:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--gold); }
.city-hero-text .kicker, .city-hero-cap { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
/* Header logo: the name in the B logo's thin letters plus NAF's required "Powered by" (Michael's pick, 2026-11-06;
   still a proposal for Robert, Colleen and NAF to OK). Side by side on wide screens, stacked on phones. */
.logo .hlogo { display: flex; align-items: center; }
.logo .hlogo img { display: block; width: auto; max-width: none; }
.hlogo-wide { gap: 14px; }
.hlogo-wide .hl-name { height: 34px; }
.hlogo-wide .hl-rule { width: 1px; align-self: stretch; background: var(--ink); opacity: .25; }
.hlogo-wide .hl-naf { height: 30px; }
.hlogo-phone { display: none !important; flex-direction: column; align-items: center; gap: 4px; }
.hlogo-phone .hl-name { height: 28px; }
.hlogo-phone .hl-row { width: 100%; height: auto; max-width: 100% !important; }
@media (max-width: 1180px) { .hlogo-wide .hl-name { height: 28px; } .hlogo-wide .hl-naf { height: 25px; } .hlogo-wide { gap: 10px; } }
@media (max-width: 640px) { .logo .hlogo-wide { display: none; } .logo .hlogo-phone { display: inline-flex !important; } }
.hlogo-phone .hl-row { width: auto !important; height: 14px; }
.main-nav ul { gap: 20px; }
@media (max-width: 1360px) { .header-call { display: none; } }
.site-header .header-row { max-width: 1280px; }
.hv-family .hero-calhfa { margin-bottom: 26px; }

/* ===== Guides, new style (2026-11-06): The Reverse Guide's reading layout in TBDG's brand ===== */
.g2-page { --g2-w: 760px; }
.g2-narrow { max-width: var(--g2-w); }
.g2 { font-size: 1.125rem; line-height: 1.7; }
.g2 p, .g2 li { color: var(--ink); }
.g2-head { padding: 56px 0 8px; background: linear-gradient(var(--soft), var(--bg) 70%); }
.g2-head h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 16px; text-wrap: balance; }
.g2-by { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.g2-by p { margin: 0; font-size: 15px; color: var(--muted); }
.g2-avatar { width: 44px; height: 44px; flex: none; }
.g2-label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.g2-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.g2-label .g2-ico { width: 18px; height: 18px; }
.g2-quick { padding: 22px 24px; border-radius: 16px; background: var(--gold-soft); border-left: 5px solid var(--orange); margin-bottom: 18px; }
.g2-quick p:last-child { margin: 0; font-size: 1.15rem; }
.g2-keys { padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.g2-keys ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.g2-keys li { position: relative; padding-left: 30px; }
.g2-keys li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.g2-body { padding-bottom: 40px; }
.g2-sec { padding-top: 40px; scroll-margin-top: 90px; }
.g2-sec h2 { font-size: clamp(1.5rem, 3.2vw, 1.95rem); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 14px; text-wrap: balance; }
.g2-sec h3 { font-size: 1.25rem; margin: 26px 0 8px; }
.g2 .table-wrap { margin: 18px 0; }
/* Teaching pictures */
.g2-pic { margin: 22px 0; }
.g2-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g2-col { border-radius: 16px; padding: 18px 18px 8px; border: 1px solid var(--line); background: var(--surface); }
.g2-col-b { border: 2px solid var(--orange); background: var(--gold-soft); }
.g2-col-h { margin: 0 0 10px; font-weight: 700; font-size: 1.2rem; }
.g2-col ul { list-style: none; margin: 0; padding: 0; }
.g2-col li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.g2-col-b li { border-top-color: rgba(172,88,42,.22); }
.g2-q { font-size: 13px; font-weight: 600; color: var(--muted); }
.g2-a { font-size: 1rem; line-height: 1.45; }
.g2-vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.g2-vcard { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.g2-vcard .g2-ico { width: 30px; height: 30px; color: var(--gold); padding: 6px; border-radius: 10px; background: var(--gold-soft); box-sizing: content-box; }
.g2-vname { font-weight: 700; margin: 10px 0 4px; font-size: 1.1rem; }
.g2-vcard p { font-size: 1rem; line-height: 1.5; margin: 0 0 8px; }
.g2-vdocs { color: var(--muted) !important; font-size: .94rem !important; }
.g2-vdocs span { font-weight: 600; }
.g2-myths { display: grid; gap: 12px; margin: 14px 0; }
.g2-myth { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.g2-myth p { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 18px; font-size: 1rem; line-height: 1.5; }
.g2-myth-q { background: var(--soft); font-weight: 600; }
.g2-myth-q .g2-ico { color: #a33a2b; }
.g2-myth-a .g2-ico { color: #2f6b45; }
.g2-risks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.g2-risk { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.g2-risk p { margin: 0 0 6px; font-size: .98rem; line-height: 1.5; }
.g2-risk-h { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: 1.02rem !important; }
.g2-risk-h .g2-ico { color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }
.g2-risk-why { color: var(--muted) !important; }
.g2-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.g2-do, .g2-dont { border-radius: 16px; padding: 18px 20px; }
.g2-do { background: #eef6f0; border: 1px solid #cfe3d5; }
.g2-dont { background: #fbefed; border: 1px solid #efd3ce; }
.g2-dd-h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 700; }
.g2-do .g2-dd-h { color: #2f6b45; } .g2-dont .g2-dd-h { color: #a33a2b; }
.g2-do ul, .g2-dont ul { margin: 0; padding-left: 20px; }
.g2-do li, .g2-dont li { font-size: 1rem; line-height: 1.5; }
.g2-steps { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.g2-steps li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 1.02rem; line-height: 1.55; }
.g2-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--orange-ink); font-weight: 700; font-size: 15px; }
.g2-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 14px 0; }
.g2-card { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.g2-card .g2-ico { color: var(--gold); }
.g2-card-h { font-weight: 700; margin: 8px 0 6px; }
.g2-card p { font-size: 1rem; line-height: 1.5; }
.g2-ask { border-radius: 16px; background: var(--soft); padding: 8px 20px; margin: 14px 0; }
.g2-ask ul { list-style: none; margin: 0; padding: 0; }
.g2-ask li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; line-height: 1.5; }
.g2-ask li:last-child { border-bottom: 0; }
.g2-ask .g2-ico { color: var(--gold); margin-top: 2px; }
.g2-desk { padding: 20px 24px; border-radius: 16px; border-left: 5px solid var(--ink); background: var(--soft); }
.g2-desk-h { font-weight: 700; margin: 0 0 6px; }
.g2-next { margin-top: 44px; padding: 28px; border-radius: 20px; background: var(--btn-bg); color: #fff; }
.g2-next h2 { color: #fff; margin: 0 0 8px; font-size: 1.6rem; }
.g2-next p { color: rgba(255,255,255,.85); }
.g2-next .g2-label { color: var(--orange); }
.g2-next .btn-dark { background: #fff; color: var(--ink); }
.g2-next .btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.g2-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); }
.g2-author .g2-avatar { width: 64px; height: 64px; }
.g2-author-name { font-weight: 700; margin: 0 0 4px; }
.g2-author .muted { font-size: 1rem; }
.g2-sources { font-size: .95rem; }
@media (max-width: 640px) {
  .g2 { font-size: 1.0625rem; }
  .g2-compare, .g2-dodont { grid-template-columns: minmax(0,1fr); }
  .g2-head { padding-top: 36px; }
  .g2-next { padding: 22px; }
}
.g2-quick .g2-label { color: var(--c-program-ink); }

/* "On this page": one quiet line, opens to a numbered list (Michael, 2026-11-06: the bubbles looked busy) */
.g2-toc { margin: 4px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.g2-toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 14px 2px; font-weight: 600; font-size: 1rem; }
.g2-toc summary::-webkit-details-marker { display: none; }
.g2-toc summary span { font-weight: 400; color: var(--muted); }
.g2-toc summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.g2-toc[open] summary::after { transform: rotate(-135deg); }
.g2-toc ol { columns: 2; column-gap: 32px; margin: 0 0 16px; padding-left: 22px; font-size: .98rem; }
.g2-toc li { break-inside: avoid; margin: 0 0 8px; color: var(--muted); }
.g2-toc li a { color: var(--ink); text-decoration: none; }
.g2-toc li a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 640px) { .g2-toc ol { columns: 1; } }

/* ===== Guide v2: Colleen as the focal point, smoother feel (2026-11-06) ===== */
.g2-page { --g2-w: 1180px; }
.g2-hero { position: relative; overflow: hidden; padding: 40px 0 24px; background:
  radial-gradient(60% 80% at 85% 30%, rgba(238,124,61,.16), transparent 70%),
  linear-gradient(180deg, var(--soft), var(--bg)); }
.g2-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; align-items: end; }
.g2-hero-text { padding-bottom: 28px; }
.g2-kicker { margin: 18px 0 0; font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.g2-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; margin: 10px 0 14px; text-wrap: balance; }
.g2-hero .g2-by { display: block; margin: 0 0 22px; font-size: 14.5px; color: var(--muted); }
.g2-hero .g2-quick { margin: 0; box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .06); }
.g2-hero-person { position: relative; margin: 0; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 460px; }
.g2-glow { position: absolute; left: 8%; right: 8%; bottom: 40px; height: 72%; border-radius: 50% 50% 28px 28px;
  background: radial-gradient(70% 70% at 50% 60%, rgba(238,124,61,.55), rgba(238,124,61,.18) 60%, transparent 75%); filter: blur(6px); }
.g2-hero-person picture { position: relative; display: block; width: min(380px, 100%); }
.g2-hero-person img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.g2-namecard { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(340px, 94%); display: grid; gap: 2px; padding: 16px 18px;
  border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(var(--shadow-rgb), .12); }
.g2-namecard strong { font-size: 1.15rem; }
.g2-namecard span { font-size: 14px; color: var(--muted); }
.g2-nmls { font-size: 13px !important; }
.g2-namecard-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.g2-namecard-actions .btn { padding: 10px 14px; font-size: 14px; }
/* Reading column plus a sticky Colleen card */
.g2-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 56px; justify-content: center; padding-top: 32px; padding-bottom: 40px; }
.g2-main > .g2-keys { margin-top: 0; }
.g2-rail { position: relative; }
.g2-rail-card { position: sticky; top: 100px; display: grid; justify-items: start; gap: 8px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(var(--shadow-rgb), .07); }
.g2-rail-card .avatar { width: 64px; height: 64px; }
.g2-rail-q { margin: 6px 0 0; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.g2-rail-card .muted { margin: 0 0 6px; font-size: .95rem; }
.g2-rail-card .btn { width: 100%; justify-content: center; }
.g2-next { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 20px; align-items: start; }
.g2-next-pic .avatar { width: 84px; height: 84px; border: 3px solid var(--orange); }
/* Floating "Talk with Colleen" on phones and tablets */
.g2-talk { display: none; position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  border-radius: 999px; background: var(--btn-bg); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.g2-talk .avatar { width: 38px; height: 38px; border: 2px solid var(--orange); }
/* Smoother: softer cards, gentle lifts */
.g2-vcard, .g2-risk, .g2-card, .g2-steps li, .g2-myth, .g2-col { box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.g2-vcard:hover, .g2-risk:hover, .g2-card:hover, .g2-steps li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(var(--shadow-rgb), .08); border-color: var(--line-strong); }
.g2 .reveal { transition-duration: .7s; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .g2-vcard, .g2-risk, .g2-card, .g2-steps li { transition: none; } }
@media (max-width: 1100px) {
  .g2-layout { grid-template-columns: minmax(0, 760px); }
  .g2-rail { display: none; }
  .g2-talk { display: inline-flex; }
}
@media (max-width: 860px) {
  .g2-hero-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .g2-hero-person { order: -1; min-height: 0; padding-bottom: 96px; }
  .g2-hero-person picture { width: min(260px, 70%); }
  .g2-hero-text { padding-bottom: 8px; }
  .g2-next { grid-template-columns: minmax(0,1fr); }
}
/* Colleen hero, round 2: bigger photo, a warm circle behind her, name card off to the side */
.g2-hero-person { min-height: 520px; justify-content: flex-end; }
.g2-hero-person picture { width: min(460px, 100%); margin-right: -10px; }
.g2-glow { left: auto; right: 4%; bottom: 70px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(238,124,61,.42), rgba(238,124,61,.14) 55%, transparent 72%); filter: none; }
.g2-namecard { left: -8px; bottom: 28px; transform: none; width: 270px; }
@media (max-width: 860px) {
  .g2-hero-person { justify-content: center; min-height: 0; padding-bottom: 0; flex-direction: column; align-items: center; }
  .g2-hero-person picture { width: min(300px, 78%); margin: 0; }
  .g2-glow { right: auto; left: 50%; transform: translateX(-50%); bottom: 120px; width: 280px; height: 280px; }
  .g2-namecard { position: relative; left: auto; bottom: auto; margin-top: -40px; width: min(340px, 100%); }
}
@media (max-width: 860px) {
  .g2-hero-person { order: 0; margin-top: 8px; }
  .g2-hero-person picture { width: min(230px, 62%); }
  .g2-glow { width: 220px; height: 220px; bottom: 110px; }
  .g2-namecard { margin-top: -28px; padding: 14px 16px; }
}

/* Round 3 (Michael, 2026-11-06): name card under the photo, no sticky box, small calls to action in the guide */
.g2-layout { grid-template-columns: minmax(0, 760px); }
.g2-hero-person { flex-direction: column; align-items: center; justify-content: flex-end; min-height: 0; }
.g2-hero-person picture { width: min(400px, 100%); margin: 0; }
.g2-glow { right: 50%; transform: translateX(50%); left: auto; bottom: 150px; width: 380px; height: 380px; }
.g2-namecard { position: relative; left: auto; bottom: auto; transform: none; margin-top: -26px; width: min(380px, 100%);
  grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 14px; }
.g2-namecard > strong, .g2-namecard > span:not(.g2-namecard-actions) { grid-column: 1; }
.g2-namecard-actions { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; margin: 0; }
.g2-cta { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 16px; align-items: center; margin: 36px 0 4px; padding: 16px 18px;
  border-radius: 18px; background: linear-gradient(120deg, var(--gold-soft), #fff 70%); border: 1px solid #f3d9c7; box-shadow: 0 10px 24px rgba(var(--shadow-rgb), .05); }
.g2-cta-pic .avatar { width: 56px; height: 56px; border: 2px solid var(--orange); }
.g2-cta-line { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.g2-cta-sub { margin: 2px 0 0; font-size: .95rem; line-height: 1.45; color: var(--muted) !important; }
.g2-cta-btn { white-space: nowrap; }
.g2-cta-num { font-weight: 500; opacity: .8; margin-left: 4px; }
@media (max-width: 860px) {
  .g2-glow { bottom: 130px; width: 240px; height: 240px; }
  .g2-hero-person picture { width: min(240px, 64%); }
  .g2-namecard { grid-template-columns: minmax(0,1fr); }
  .g2-namecard-actions { grid-column: 1; grid-row: auto; flex-direction: row; margin-top: 10px; }
}
@media (max-width: 640px) {
  .g2-cta { grid-template-columns: 48px minmax(0,1fr); }
  .g2-cta-pic .avatar { width: 48px; height: 48px; }
  .g2-cta-btn { grid-column: 1 / -1; justify-content: center; }
}

/* Round Colleen photos: face centered from the studio portrait */
.g2-face { position: relative; overflow: hidden; border-radius: 50%; background: linear-gradient(160deg, #fbe3d3, #f6efe8); }
.g2-face picture, .g2-face img { display: block; width: 100%; height: 100%; }
.g2-face img { object-fit: cover; object-position: 50% 30%; transform: scale(1.5); transform-origin: 50% 32%; }
@media (max-width: 1100px) {
  .g2-namecard { grid-template-columns: minmax(0,1fr); }
  .g2-namecard-actions { grid-column: 1; grid-row: auto; flex-direction: row; margin-top: 10px; }
}
.g2-namecard { box-sizing: border-box; max-width: 100%; }
.g2-namecard span { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
/* Program pages in the new style */
.g2-glance dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.g2-glance dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.g2-glance dt { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.g2-glance dd { margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.45; }
.g2-glance dd span { display: block; margin-top: 4px; font-weight: 400; font-size: 13px; }
.g2-quick .ph-badges { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.g2-hero-actions { margin-top: 18px; }
.g2-prog-body > section { padding-top: 40px; }
.g2-prog-body h2 { font-size: clamp(1.5rem, 3.2vw, 1.95rem); line-height: 1.2; letter-spacing: -.015em; }
@media (max-width: 640px) { .g2-glance dl { grid-template-columns: minmax(0,1fr); } }
.g2-author-joint .g2-author-one { margin-bottom: 8px; }
.g2-author-joint .g2-author-name a { color: var(--ink); }

/* Homepage "Talk to a person" (2026-11-06): faces, one number, three choices */
.talk { background: radial-gradient(60% 90% at 15% 60%, rgba(238,124,61,.12), transparent 70%), var(--soft); }
.talk-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.talk-people { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 380px; }
.talk-glow { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 380px; max-width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,124,61,.38), rgba(238,124,61,.10) 60%, transparent 72%); }
.talk-p { position: relative; display: block; width: min(250px, 48%); }
.talk-p img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
.talk-p1 { margin-right: -36px; z-index: 1; }
.talk-p2 { z-index: 2; }
.talk-main h2 { margin: 6px 0 10px; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.02em; }
.talk-main .lead { margin-bottom: 22px; }
.talk-phone { display: inline-flex; flex-direction: column; gap: 2px; margin-bottom: 22px; color: var(--ink); text-decoration: none; font-size: clamp(2rem, 4.2vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.talk-phone span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.talk-phone:hover { color: var(--gold); }
.talk-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.talk-choice { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.talk-choice:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(var(--shadow-rgb), .08); border-color: var(--line-strong); }
.talk-choice svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.talk-choice strong { font-size: 1.05rem; }
.talk-choice small { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.talk-apply { background: var(--orange); border-color: var(--orange); }
.talk-apply svg { stroke: var(--orange-ink); }
.talk-apply small { color: rgba(20,18,16,.78); }
.talk-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--muted); }
.talk-facts li + li::before { content: "·"; margin-right: 18px; color: var(--line-strong); }
.talk-facts a { color: var(--muted); }
@media (max-width: 900px) {
  .talk-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .talk-people { min-height: 0; order: -1; }
  .talk-p { width: min(170px, 42%); }
  .talk-glow { width: 280px; }
}
@media (max-width: 560px) {
  .talk-choices { grid-template-columns: minmax(0,1fr); }
  .talk-choice { grid-template-columns: 30px minmax(0,1fr); column-gap: 12px; align-items: center; }
  .talk-choice svg { grid-row: span 2; margin: 0; }
  .talk-facts { flex-direction: column; } .talk-facts li + li::before { content: none; }
}

.talk-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
.talk-facts { flex-direction: column; gap: 6px; }
.talk-facts li + li::before { content: none; }
.talk-p { width: min(270px, 50%); }
.talk-glow { width: 420px; bottom: 20px; }
@media (max-width: 560px) { .talk-choices { grid-template-columns: minmax(0,1fr); } }
/* Robert a little larger so the two read as the same height (Michael, 2026-11-06) */
.talk-p1 { transform: scale(1.12); transform-origin: 50% 100%; margin-right: -24px; }

/* Homepage in the new style (2026-11-06): proof strip and "Where are you right now?" tiles */
.proof-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.proof-grid > div { display: grid; gap: 2px; padding: 22px 20px; text-align: center; }
.proof-grid > div + div { border-left: 1px solid var(--line); }
.proof-grid strong { font-size: 1.15rem; letter-spacing: -.01em; }
.proof-grid span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.proof-grid a { color: var(--muted); }
.start-here h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.02em; margin: 6px 0 8px; }
.start-tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.start-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.start-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(var(--shadow-rgb), .09); border-color: var(--orange); }
.start-tile svg { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: var(--gold-soft); fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.start-tile strong { font-size: 1.12rem; line-height: 1.25; }
.start-tile small { font-size: 14.5px; line-height: 1.45; color: var(--muted); flex: 1; }
.start-tile em { font-style: normal; font-weight: 600; font-size: 14.5px; color: var(--gold); }
@media (max-width: 1000px) { .start-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } .proof-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .proof-grid > div:nth-child(3) { border-left: 0; } .proof-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .start-tiles { grid-template-columns: minmax(0,1fr); } .proof-grid > div { padding: 16px 10px; } }

/* Resource cards, text first (2026-11-06) */
.card2 { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .04); transition: transform .25s, box-shadow .25s, border-color .25s; padding: 0; }
a.card2:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(var(--shadow-rgb), .09); border-color: var(--orange); }
.card2-photo { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card2-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 18px; flex: 1; }
.card2-topic { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.card2-soon { margin-left: auto; font-size: 11px; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.card2-title { margin: 0; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.01em; }
.card2-blurb { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card2-cta { margin: 2px 0 0; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.card2-by { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.card2-read { margin-left: auto; flex: none; font-weight: 700; font-size: 15px; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.card2-read .arr { transition: transform .2s ease; }
.card2:hover .card2-read .arr, .card2:focus-visible .card2-read .arr { transform: translateX(4px); }
.card2-by small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.card2-by .avatar, .card2-by .av { width: 34px; height: 34px; flex: none; }
.talk-choice:hover, .start-tile:hover, a.card2:hover { color: var(--ink); }

/* County picker for the CalHFA income limit (2026-11-06) */
.cl-value { transition: opacity .2s; }
.cl-pick { position: relative; display: inline-flex; vertical-align: middle; margin: 4px 8px 4px 6px; }
.cl-pick select { appearance: none; -webkit-appearance: none; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--ink);
  padding: 7px 34px 7px 14px; border-radius: 999px; border: 1px solid rgba(238,124,61,.55); background: var(--surface); cursor: pointer;
  box-shadow: 0 0 0 3px rgba(238,124,61,.14), 0 0 14px rgba(238,124,61,.28); transition: border-color .15s, box-shadow .15s; max-width: 100%; }
.cl-pick select:hover { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238,124,61,.22), 0 0 18px rgba(238,124,61,.38); }
.cl-pick select:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.cl-pick::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); pointer-events: none; }

/* CalHFA income limits page */
.cl-hero { padding-bottom: 28px; }
.cl-big { margin: 6px 0 0; }
.cl-big .cl { background: var(--surface); }
.cl-big .cl-value { font-size: 2.4rem; }
.cl-note { margin: 12px 0 0; font-size: 14.5px; color: var(--muted) !important; }
.cl-all { white-space: nowrap; font-weight: 600; }
.cl-near { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.cl-near li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.cl-near span { font-size: 14px; color: var(--muted); }
.cl-near strong { font-size: 1.5rem; letter-spacing: -.01em; }
.cl-search input { width: 100%; max-width: 360px; font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); margin-bottom: 14px; }
.cl-search input:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.cl-table { width: 100%; }
.cl-table td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cl-table tr[hidden] { display: none; }
@media (max-width: 640px) { .cl-near { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.cl-big .cl { grid-template-columns: auto minmax(0,1fr); gap: 22px; }
.cl-big .cl-all { display: none; }
.calhfa-facts .cl { grid-template-columns: auto minmax(0,1fr); }
@media (max-width: 560px) { .cl-big .cl { grid-template-columns: minmax(0,1fr); gap: 8px; } }
.more-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 900px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Booth pages (2026-11-07) */
.booth-hero { padding: 48px 0 40px; }
.booth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: start; }
.booth-text h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; margin: 10px 0 16px; text-wrap: balance; }
.booth-where { font-size: 15px; color: var(--muted); margin: 0 0 22px; }
.booth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 24px 50px rgba(var(--shadow-rgb), .10); }
.booth-form { display: grid; gap: 14px; }
.booth-form-h { margin: 0; font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.booth-form .muted { margin: -6px 0 4px; font-size: 15px; }
.booth-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.booth-form .opt { font-weight: 400; color: var(--muted); }
.booth-form input[type=text], .booth-form input:not([type]), .booth-form input[type=email], .booth-form input[type=tel], .booth-form select {
  font: inherit; font-size: 17px; font-weight: 400; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--input-line); background: var(--bg); color: var(--ink); width: 100%; box-sizing: border-box; }
.booth-form input:focus-visible, .booth-form select:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.booth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booth-chips { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.booth-chips legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.booth-chips label { display: block; }
.booth-chips input { position: absolute; opacity: 0; pointer-events: none; }
.booth-chips span { display: block; padding: 12px; border-radius: 12px; border: 1px solid var(--input-line); text-align: center; font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s; }
.booth-chips input:checked + span { border-color: var(--orange); background: var(--gold-soft); }
.booth-chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--gold); }
.booth-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.booth-consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.booth-submit { font-size: 1.05rem; padding: 15px; justify-content: center; }
.booth-thanks { text-align: center; padding: 40px 10px; }
.booth-thanks-h { font-size: 2rem; font-weight: 700; margin: 0 0 8px; }
.booth-help h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -.02em; }
.booth-limit { margin-top: 22px; }
.booth-endorse { margin-top: 18px; }
@media (max-width: 900px) { .booth-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 480px) { .booth-row, .booth-chips { grid-template-columns: 1fr; } .booth-card { padding: 18px; } }
/* Booth mode on the iPad (?booth=1): only the form, big and centered */
html.booth-mode .site-header, html.booth-mode .preview-bar, html.booth-mode footer, html.booth-mode .booth-help, html.booth-mode .section-soft,
html.booth-mode .booth-text .hero-actions, html.booth-mode .fp, html.booth-mode .scroll-progress, html.booth-mode .booth-where { display: none !important; }
html.booth-mode .booth-grid { grid-template-columns: minmax(0,1fr) minmax(0, 560px); align-items: center; min-height: 90vh; }
html.booth-mode .booth-form input, html.booth-mode .booth-form select { font-size: 19px; padding: 16px; }
html.booth-mode .booth-chips span { padding: 16px; font-size: 17px; }
@media (max-width: 1000px) { html.booth-mode .booth-grid { grid-template-columns: minmax(0,1fr); } html.booth-mode .booth-text .lead { display: none; } }
.booth-form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .booth-row { grid-template-columns: 1fr 1fr; } .booth-chips { grid-template-columns: 1fr 1fr; } .booth-chips span { padding: 12px 8px; font-size: 14.5px; } }
html.booth-mode .booth-hero { padding-top: 20px; }
.booth-legal { margin-top: 4px; font-size: 12px !important; line-height: 1.5; color: var(--muted); }

/* Booth page, designed (2026-11-07): event ribbon, faces, bold offers, three ways forward */
.booth-ribbon { background: var(--btn-bg); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.booth-ribbon .wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-block: 11px; }
.booth-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(238,124,61,.25); }
.booth-hero2 { position: relative; overflow: hidden; padding: 44px 0 0;
  background: radial-gradient(55% 70% at 18% 85%, rgba(238,124,61,.16), transparent 70%), linear-gradient(180deg, var(--soft), var(--bg)); }
.booth-hero2 .booth-grid { align-items: end; }
.booth-hero2 h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; margin: 8px 0 14px; text-wrap: balance; }
.booth-hero2 .lead { max-width: 34ch; margin-bottom: 20px; }
.booth-people { position: relative; margin: 26px 0 0; display: flex; align-items: flex-end; gap: 18px; min-height: 300px; }
.booth-glow { position: absolute; left: 10px; bottom: 20px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,124,61,.42), rgba(238,124,61,.12) 58%, transparent 72%); }
.booth-faces { position: relative; display: flex; align-items: flex-end; }
.booth-p { display: block; width: 240px; }
.booth-p + .booth-p { margin-left: -50px; }
.booth-p img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
.booth-namecard { position: relative; margin-bottom: 40px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: 0 16px 34px rgba(var(--shadow-rgb), .10); max-width: 260px; }
.booth-met { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.booth-namecard strong { font-size: 1.1rem; }
.booth-namecard span:last-child { font-size: 13.5px; color: var(--muted); }
.booth-hero2 .booth-card { margin-bottom: 40px; }
.booth-offers-sec h2, .booth-limit-sec h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -.02em; margin: 6px 0 24px; text-wrap: balance; }
.booth-offers { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.booth-offer { display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.booth-offer:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(var(--shadow-rgb), .10); border-color: var(--orange); color: var(--ink); }
.booth-offer-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--orange); }
.booth-offer-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--orange-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.booth-offer strong { font-size: 1.25rem; letter-spacing: -.01em; }
.booth-offer small { font-size: 15px; line-height: 1.5; color: var(--muted); flex: 1; }
.booth-offer em { font-style: normal; font-weight: 600; color: var(--gold); }
.booth-limit-sec .booth-limit { margin: 0; }
.booth-paths { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.booth-path { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 26px; border-radius: 22px; background: var(--soft); }
.booth-path p { margin: 0; color: var(--muted); }
.booth-path .booth-path-h { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.booth-path .btn { margin-top: 10px; }
.booth-path-go { background: var(--gold-soft); }
.booth-path-call { background: var(--btn-bg); }
.booth-path-call .booth-path-h { color: #fff; } .booth-path-call p { color: #d3ccc4; }
.booth-phone { margin-top: 8px; font-size: 1.7rem; font-weight: 700; color: var(--orange); text-decoration: none; }
.booth-endorse { margin-top: 22px; }
@media (max-width: 1000px) { .booth-offers { grid-template-columns: repeat(2, minmax(0,1fr)); } .booth-paths { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 900px) { .booth-people { min-height: 0; } .booth-p { width: 180px; } .booth-glow { width: 220px; height: 220px; } .booth-namecard { margin-bottom: 24px; } }
@media (max-width: 560px) { .booth-offers { grid-template-columns: minmax(0,1fr); } .booth-p { width: 150px; } .booth-ribbon { font-size: 13px; } }
html.booth-mode .booth-people, html.booth-mode .booth-offers-sec, html.booth-mode .booth-limit-sec, html.booth-mode .booth-paths-sec, html.booth-mode .booth-hero2 .hero-actions { display: none !important; }
html.booth-mode .booth-hero2 .booth-card { margin-bottom: 30px; }
.booth-hero2 .booth-grid { align-items: start; }
.booth-hero2 .booth-text { padding-top: 8px; }
/* Two founders on the booth page: Robert a touch larger so they read the same height (as on the homepage) */
.booth-faces .booth-p:first-child { transform: scale(1.12); transform-origin: 50% 100%; z-index: 1; position: relative; }
.booth-faces .booth-p + .booth-p { margin-left: -40px; position: relative; z-index: 2; }
.booth-namecard span:last-child { line-height: 1.45; }
.booth-people { flex-direction: column; align-items: flex-start; gap: 0; }
.booth-glow { left: 20px; bottom: 90px; }
.booth-namecard { margin: -18px 0 36px 12px; max-width: 380px; z-index: 3; }
.booth-cred { font-size: 13.5px; color: var(--muted); }
.booth-with { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--gold-soft); font-weight: 600; font-size: 14.5px; }

/* "Your loan officer" badge on a loan officer's subdomain */
.lo-badge { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--btn-bg); color: #fff; text-decoration: none; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.lo-badge:hover { color: #fff; transform: translateY(-2px); }
.lo-face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--orange); background: #fbe3d3; flex: none; }
.lo-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.5); transform-origin: 50% 32%; }
.lo-text { display: grid; line-height: 1.2; }
.lo-text small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.lo-text strong { font-size: 14px; }
.lo-text em { font-style: normal; font-size: 13px; color: #d3ccc4; }
html.booth-mode .lo-badge { display: none; }

/* Homepage: wellness fairs we've exhibited at (scrolling names) */
.fairs { overflow: hidden; }
.fairs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 30px; }
.fairs-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.02em; margin: 6px 0 10px; max-width: 20ch; text-wrap: balance; }
.fairs-head .lead { max-width: 52ch; margin: 0; }
.fairs-marquee { display: flex; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fairs-track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 0; animation: fairs-scroll 40s linear infinite; }
.fairs-track li { flex: none; padding: 26px 34px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; }
.fairs-track li::after { content: "·"; margin-left: 34px; color: var(--orange); }
.fairs-marquee:hover .fairs-track { animation-play-state: paused; }
@keyframes fairs-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .fairs-track { animation: none; } .fairs-marquee { overflow-x: auto; } .fairs-track[aria-hidden] { display: none; } }
.fairs-note { margin-top: 14px; }

.booth-guide-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 18px; padding: 22px 26px; border-radius: 20px; background: var(--btn-bg); color: #fff; text-decoration: none; }
.booth-guide-link .g2-kicker { margin: 0; color: var(--orange); width: 100%; }
.booth-guide-link strong { font-size: 1.25rem; flex: 1; min-width: 240px; }
.booth-guide-link em { font-style: normal; font-weight: 600; color: var(--orange); }
.booth-guide-link:hover { color: #fff; transform: translateY(-2px); }
html.booth-mode .booth-guide-link { display: none; }

.fairs-marquee:focus-within .fairs-track, .fairs-marquee.is-paused .fairs-track { animation-play-state: paused; }
.fairs-controls { display: flex; justify-content: flex-end; margin-top: 8px; }
.fairs-pause { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.fairs-pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .fairs-dup { display: none; } .fairs-pause { display: none; } }

/* Free homebuyer's guide card */
.guide-offer { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 26px; align-items: center; padding: 26px; border-radius: 22px; text-decoration: none; color: var(--ink);
  background: radial-gradient(60% 90% at 10% 50%, rgba(238,124,61,.22), transparent 70%), var(--soft); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.guide-offer:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(var(--shadow-rgb), .10); color: var(--ink); }
.guide-offer-book { display: flex; align-items: flex-end; aspect-ratio: 8.5/11; padding: 12px; border-radius: 6px 12px 12px 6px; background: linear-gradient(160deg, #fff, #f7f5f2);
  box-shadow: 0 14px 28px rgba(var(--shadow-rgb), .18), inset 6px 0 0 var(--orange); font-weight: 700; font-size: 13px; line-height: 1.2; transform: rotate(-4deg); }
.guide-offer-cover { width: 100%; height: auto; border-radius: 4px 10px 10px 4px; box-shadow: 0 12px 26px rgba(var(--shadow-rgb), .16); transform: rotate(-3deg); }
.guide-offer-text { display: grid; gap: 6px; }
.guide-offer-text small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.guide-offer-text strong { font-size: 1.4rem; letter-spacing: -.01em; }
.guide-offer-text span { color: var(--muted); }
.guide-offer-text em { font-style: normal; font-weight: 700; color: var(--gold); }
@media (max-width: 560px) { .guide-offer { grid-template-columns: 90px minmax(0,1fr); gap: 16px; padding: 18px; } .guide-offer-book { font-size: 9px; padding: 8px; } }

/* Homepage loan officer row (2026-11-07) */
.lo-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.lo-chip { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 18px; height: 100%; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.lo-chip:hover { border-color: var(--orange); box-shadow: 0 6px 16px rgba(var(--shadow-rgb), .08); }
.lo-chip .avatar, .lo-chip .av { flex: none; width: 46px; height: 46px; }
.lo-chip span:last-child { display: flex; flex-direction: column; min-width: 0; }
.lo-chip strong { font-size: 15px; }
.lo-chip small { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
@media (max-width: 560px) {
  .lo-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lo-chip { flex-direction: column; text-align: center; gap: 8px; padding: 14px 10px; }
  .lo-chip span:last-child { align-items: center; }
  .lo-chip .avatar, .lo-chip .av { width: 56px; height: 56px; }
}

/* Hablamos español band (2026-11-07): overlapping heads like the team strip */
.es-band { background: radial-gradient(60% 80% at 100% 50%, rgba(238,124,61,.12), transparent 70%), var(--bg-soft, #f7f5f2); }
.es-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.es-text h2 { margin: 4px 0 10px; }
.es-text p { color: var(--muted); }
.es-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.es-faces { display: flex; align-items: center; text-decoration: none; padding-left: 4px; }
.es-faces .face { width: 64px; height: 64px; border-radius: 50%; margin-left: -14px; border: 3px solid var(--surface); flex: none; font-size: 15px; box-shadow: 0 6px 14px rgba(var(--shadow-rgb), .10); transition: transform .2s; }
.es-faces .face:first-child { margin-left: 0; }
.es-faces:hover .face { transform: translateY(-2px); }
.es-names { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .es-inner { grid-template-columns: 1fr; gap: 20px; } .es-faces .face { width: 52px; height: 52px; margin-left: -12px; } }

/* For real estate agents (2026-11-07) */
.agents-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.agents-head h2 { margin: 4px 0 10px; }
.agents-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.agents-list li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 16px 20px; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 14px; background: var(--surface); }
.agents-list strong { font-size: 16.5px; }
.agents-list span { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .agents-inner { grid-template-columns: 1fr; gap: 22px; } }

/* "Have us call you" form (2026-11-07) */
.cb-wrap { margin: 18px 0 6px; }
.cb-form, .cb-thanks { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 10px 26px rgba(var(--shadow-rgb), .06); }
.cb-h { margin: 0; font-weight: 700; font-size: 18px; }
.cb-form .muted, .cb-thanks p { margin: 0; }
.cb-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.cb-form input:not([type=checkbox]), .cb-form select { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; width: 100%; min-width: 0; }
.cb-form input:focus, .cb-form select:focus { outline: 2px solid #141210; outline-offset: 2px; border-color: var(--orange); }
.cb-form .cb-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; color: var(--muted); }
.cb-form .cb-consent input { margin-top: 3px; accent-color: var(--orange); }
.cb-form .fine { margin: 0; }
.cb-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.cb-form button { justify-self: start; }
.offers-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.offers-2 .guide-offer { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 22px; }
.offers-2 .guide-offer-text strong { font-size: 1.25rem; }
@media (max-width: 860px) { .offers-2 { grid-template-columns: 1fr; } }

/* Heroes band, redesigned 2026-11-07: brand photo cards instead of colored tiles */
.hb-head { align-items: flex-end; }
.hcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.hcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hcard:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(var(--shadow-rgb), .10); border-color: rgba(238,124,61,.45); }
.hcard-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f3eee8; }
.hcard-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcard-pic-empty { display: grid; place-items: center; background: radial-gradient(70% 70% at 30% 20%, rgba(238,124,61,.28), transparent 70%), linear-gradient(160deg, #fbf6f1, #f1e8df); }
.hcard-pic-empty .hicon { width: 44px; height: 44px; color: #AC582A; opacity: .85; }
.hcard-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.hcard-body small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #AC582A; }
.hcard-body .hicon-sm { width: 14px; height: 14px; flex: none; }
.hcard-body strong { font-size: 17px; line-height: 1.25; }
.hcard-body > span { color: var(--muted); font-size: 14px; line-height: 1.45; flex: 1; }
.hcard-body em { font-style: normal; font-weight: 600; font-size: 14px; color: var(--ink); margin-top: 4px; }
.hcard:hover .hcard-body em { color: #AC582A; }
@media (max-width: 1080px) { .hcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .hcards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 8px calc(-1 * max(16px, env(safe-area-inset-left, 0px))) 0; padding: 4px max(16px, env(safe-area-inset-left, 0px)) 12px; }
  .hcard { flex: 0 0 74%; scroll-snap-align: start; }
}
.hicon-sm { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Hero cards with a photo (2026-11-07): the photo softly blurred and warmed, the icon in front */
.hcard-pic-photo { position: relative; }
.hcard-pic-photo img { filter: blur(3px) saturate(.9); transform: scale(1.08); }
.hcard-pic-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,32,28,.10), rgba(36,32,28,.38)), rgba(238,124,61,.14); }
.hcard-badge { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.hcard-badge .hicon { width: 30px; height: 30px; padding: 15px; box-sizing: content-box; border-radius: 50%; color: #AC582A; background: rgba(255,255,255,.92); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.hcard:hover .hcard-pic-photo img { filter: blur(1.5px) saturate(1); }

/* "We're here" pin on the Haven City aerial (2026-11-07) */
.visit-map { position: relative; }
.visit-pin { position: absolute; left: 90.8%; top: 47%; width: 0; height: 0; text-decoration: none; z-index: 1; }   /* office pin on the visit map (moved out of the page so the security policy allows it) */
.pin-dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #EE7C3D; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.pin-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(238,124,61,.85); animation: pin-pulse 2s ease-out infinite; }
@keyframes pin-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.pin-tag { position: absolute; right: 22px; bottom: 22px; display: flex; flex-direction: column; padding: 9px 14px 10px; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--ink); box-shadow: 0 12px 28px rgba(0,0,0,.28); white-space: nowrap; line-height: 1.2; }
.pin-tag strong { font-size: 15px; }
.pin-tag small { font-size: 12.5px; color: #AC582A; font-weight: 600; }
.pin-tag::after { content: ""; position: absolute; right: -7px; bottom: -7px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.visit-pin:hover .pin-tag { background: #EE7C3D; }
.visit-pin:hover .pin-tag::after { background: #EE7C3D; }
.visit-pin:hover .pin-tag small { color: #141210; }
@media (prefers-reduced-motion: reduce) { .pin-dot::after { animation: none; } }
@media (max-width: 480px) { .pin-tag { padding: 7px 11px 8px; right: 16px; bottom: 16px; } .pin-tag strong { font-size: 13.5px; } .pin-tag small { font-size: 11.5px; } }

/* Hero pages, redesigned 2026-11-07 */
.hero-banner.hb-has-photo { overflow: hidden; }
.hb-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(5px) saturate(.9); transform: scale(1.06); z-index: 0; }
.hb-has-photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(20,17,14,.92) 0%, rgba(20,17,14,.78) 45%, rgba(20,17,14,.45) 100%), rgba(238,124,61,.10); }
.hb-has-photo .wrap { position: relative; z-index: 1; }
.hero-calhfa-sec { background: radial-gradient(50% 60% at 0% 0%, rgba(238,124,61,.10), transparent 70%), var(--bg-soft, #f7f5f2); }
.hc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hc-grid h2 { margin: 4px 0 10px; }
.hc-grid .calhfa-facts { margin: 20px 0 22px; }
.hero-calhfa-sec .calhfa-programs { grid-template-columns: 1fr; margin-top: 0; gap: 14px; }
.hero-calhfa-sec .calhfa-prog small { color: #AC582A; }
.hero-calhfa-sec .calhfa-prog:hover { border-color: var(--orange); }
.hero-team2 .ht-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-team2 h2 { margin: 4px 0 10px; }
.ht-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ht-side .es-faces .face { width: 56px; height: 56px; margin-left: -12px; }
.ht-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 860px) { .hc-grid, .hero-team2 .ht-inner { grid-template-columns: 1fr; gap: 24px; } .ht-side .es-faces .face { width: 46px; height: 46px; margin-left: -10px; } }
@media (max-width: 760px) {
  .hb-has-photo::before { background: rgba(20,17,14,.84); }
  .hero-calhfa-sec .calhfa-facts li { grid-template-columns: 1fr; gap: 6px; }
  .cl-pick { max-width: calc(100% - 14px); }
  .cl-pick select { max-width: 100%; }
}
@media (max-width: 560px) {
  .ht-side .es-faces { flex-wrap: wrap; row-gap: 8px; padding-left: 10px; max-width: 100%; }
  .ht-side .es-faces .face { width: 40px; height: 40px; margin-left: -10px; }
  .hero-team2 .ht-inner > * { min-width: 0; }
}
/* Banner photo: dark on the left where the words are, fading out to the right (2026-11-07) */
.hb-has-photo .hb-bg { z-index: 0; }
.hb-has-photo::before { z-index: 1; background: linear-gradient(90deg, rgba(16,13,11,.94) 0%, rgba(16,13,11,.86) 32%, rgba(16,13,11,.55) 62%, rgba(16,13,11,.18) 100%); }
.hb-has-photo .wrap { z-index: 2; }
@media (max-width: 760px) { .hb-has-photo::before { background: linear-gradient(180deg, rgba(16,13,11,.80), rgba(16,13,11,.90)); } }

/* Photos inside blog posts (2026-11-07) */
.story-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.story-gallery-1 { grid-template-columns: 1fr; }
.story-gallery figure { margin: 0; }
.story-gallery img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: 16px; aspect-ratio: 4 / 3; }
.story-gallery-1 img { aspect-ratio: auto; }
.story-gallery figcaption { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) { .story-gallery { grid-template-columns: 1fr; } }
.story-gallery-1 img { object-fit: contain; max-height: 680px; width: auto; max-width: 100%; margin: 0 auto; }
/* One photo: the figure shrinks to the photo's width and centers, so the caption lines up under the photo (Michael, 2026-11-07). */
.story-gallery-1 figure { width: fit-content; max-width: 100%; margin: 0 auto; }
.blog-sub { margin: 36px 0 16px; font-size: 1.35rem; }

/* Events: /events, event pages and the homepage community band (2026-11-07) */
.narrow-wide { max-width: 920px; }
.ev-hero { padding-bottom: 12px; }
.ev-hero h1 { margin: 4px 0 10px; }
.ev-filters { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-main { padding-top: 24px; }
.ev-group + .ev-group { margin-top: 34px; }
.ev-group h2 { font-size: 1.25rem; margin: 0 0 12px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ev-row > a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 20px 16px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ev-row > a:hover { border-color: rgba(238,124,61,.6); box-shadow: 0 12px 28px rgba(var(--shadow-rgb), .08); transform: translateY(-2px); }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; border-radius: 14px; background: #fdf1e8; color: #8a4520; line-height: 1.1; }
.ev-date strong { font-size: 1.9rem; color: var(--ink); letter-spacing: -.03em; }
.ev-date small { font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.ev-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-kind { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #AC582A; }
.ev-body strong { font-size: 1.1rem; line-height: 1.3; }
.ev-meta { color: var(--muted); font-size: 14.5px; }
.ev-auds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ev-aud { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft, #f3efea); color: var(--ink); }
.ev-go { font-weight: 600; font-size: 14px; white-space: nowrap; }
.ev-row > a:hover .ev-go { color: #AC582A; }
.ev-empty { padding: 28px; border: 1px dashed var(--line-strong); border-radius: 18px; text-align: center; }
.ev-past { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.ev-past a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 16px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ev-past a span { color: var(--muted); font-size: 14px; grid-row: span 2; }
.ev-past a small { color: var(--muted); }
.ev-book { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 26px 28px; border-radius: 20px; background: radial-gradient(60% 90% at 0% 0%, rgba(238,124,61,.14), transparent 70%), var(--surface); border: 1px solid var(--line); }
.ev-book h2 { margin: 0 0 6px; }
.ev-book p { margin: 0; }
.ev-detail h1 { margin: 4px 0 18px; }
.ev-booth-card { display: grid; gap: 6px; margin: 28px 0; padding: 24px 26px; border-radius: 20px; text-decoration: none; color: var(--ink);
  background: radial-gradient(70% 100% at 100% 0%, rgba(238,124,61,.16), transparent 70%), var(--surface); border: 1px solid var(--line); }
.ev-booth-card strong { font-size: 1.35rem; letter-spacing: -.01em; }
.ev-booth-card small { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.ev-booth-card em { font-style: normal; justify-self: start; margin-top: 10px; }
.ev-booth-card:hover em { filter: brightness(.96); }
@media (max-width: 520px) { .ev-booth-card { padding: 20px; } .ev-booth-card em { justify-self: stretch; text-align: center; } }
.ev-facts { display: grid; gap: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.ev-facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.ev-facts > div:first-child { border-top: 0; }
.ev-facts dt { color: var(--muted); font-size: 14px; }
.ev-facts dd { margin: 0; font-weight: 600; }
.community-band { background: radial-gradient(50% 70% at 100% 0%, rgba(238,124,61,.10), transparent 70%), var(--bg-soft, #f7f5f2); }
.cb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cb-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cb-card:hover { border-color: rgba(238,124,61,.6); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(var(--shadow-rgb), .08); }
.cb-chip { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 8px; background: #141210; color: #fff; margin-bottom: 4px; }
.cb-card strong { font-size: 1.08rem; line-height: 1.3; }
@media (max-width: 860px) { .cb-cards { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ev-row > a { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; }
  .ev-go { display: none; }
  .ev-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .ev-past a { grid-template-columns: 1fr; }
}
.ev-past-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Guide extras (Michael, 2026-11-07, from The Reverse Guide): Send this to family, folded sources */
.guide-share { margin: 14px 0 0; }
.share-wrap { position: relative; display: inline-block; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.share-link { border: 0; background: none; padding: 0; font: 600 1rem var(--sans, inherit); color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.share-link svg { color: var(--orange); }
.share-menu { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; margin-left: 10px; }
.share-title { display: none; }
.js .share-menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; margin: 0; flex-direction: column; flex-wrap: nowrap; gap: 2px;
  min-width: 230px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(var(--shadow-rgb),.18);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; pointer-events: none; transition: opacity .16s ease, transform .16s ease; }
.js .share-menu[hidden] { display: flex; visibility: hidden; }
.js .share-menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.js .share-title { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 6px; }
.share-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; text-decoration: none !important; color: var(--ink) !important;
  font: 600 1rem inherit; font-family: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
.share-item:hover, .share-item:focus-visible { background: var(--gold-soft); }
.si { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.share-item:hover .si { background: var(--surface); }
.share-copy.copied .si { background: #e6f4ea; color: #1f6b3a; }
.share-done { font-size: .9rem; color: var(--muted); padding: 0 12px; }
.share-box { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0; padding: 22px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.share-box p { margin: 0 0 14px; }
.share-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); color: var(--orange); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.src-box { margin: 28px 0 0; }
.src-box details { border: 1px solid var(--line); border-radius: 16px; background: var(--soft); padding: 0 18px; }
.src-box summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 0; font-weight: 700; font-size: 1.05rem; }
.src-box summary::-webkit-details-marker { display: none; }
.src-box summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--orange); }
.src-box details[open] summary::after { content: "\2212"; }
.src-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); }
.src-count { font-weight: 600; font-size: .95rem; color: var(--gold); }
.src-box details[open] .src-count { display: none; }
.src-body { padding-bottom: 14px; font-size: .95rem; overflow-wrap: anywhere; }
@media (max-width: 560px) { .share-box { flex-direction: column; padding: 20px; } .share-box .share-ico { display: none; } .share-box .share-wrap, .share-box .share-btn { display: flex; width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .js .share-menu { transition: none; } }
/* County guide link beside a county on /calhfa/income-limits (2026-11-07) */
.cl-guide { margin-left: 8px; font-size: .85em; font-weight: 600; color: var(--gold); white-space: nowrap; }
tr:target { background: var(--gold-soft); }
tr[id] { scroll-margin-top: 96px; }

/* Whole team card is clickable (Michael, 2026-11-07): the name link stretches over the card; Call and Meet stay their own buttons on top. */
.pcard { position: relative; cursor: pointer; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.pcard-actions a, .pcard .todo { position: relative; z-index: 2; }
.pcard h3 a:focus-visible { outline: none; }
.pcard:has(h3 a:focus-visible) { outline: 2px solid #141210; outline-offset: 3px; }

/* Hero pages: every loan option side by side, before CalHFA (2026-11-07). */
.loan-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; }
.loan-opt { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.loan-opt h3 { margin: 0; font-size: 1.15rem; }
.loan-opt p { margin: 0; color: var(--muted); }
.loan-opt .link-arrow { margin-top: auto; padding-top: 6px; }

/* Careers page (2026-11-08) */
.careers-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.careers-photo { margin: 0; }
.careers-photo img { display: block; width: 100%; height: auto; border-radius: 18px; }
.careers-photo figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .careers-grid { grid-template-columns: 1fr; } }

/* Fuller team pages (2026-11-08) */
.person-quote { margin: 0; padding: 28px 32px; border-left: 4px solid var(--orange); background: var(--surface); border-radius: 0 16px 16px 0; }
.person-quote p { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.45; }
.person-quote cite { font-style: normal; color: var(--muted); font-weight: 600; }
.help-link { color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.help-link:hover { border-color: var(--orange); transform: translateY(-2px); }
.person-office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .person-office { grid-template-columns: 1fr; } }

/* Send us a client (2026-11-08) */
.refer-steps { padding: 0; }
.ref-maker { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin: 12px 0 22px; }
.ref-maker input { width: 100%; }
.ref-link { word-break: break-all; }
.refer-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; counter-reset: s; margin: 16px 0 28px; }
.refer-steps li { list-style: none; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.refer-steps li::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 10px; }
.refer-steps strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.ref-maker label { display: grid; gap: 6px; font-weight: 600; }
.ref-maker input { font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong, #cfc8c0); border-radius: 12px; background: #fff; }
.ref-maker input:focus { outline: 2px solid #141210; outline-offset: 2px; }
/* Phone width (audit 2026-11-08): team cards were wider than a phone screen. */
.pcard-body { min-width: 0; }
.pcard-body h3, .pcard-body p { overflow-wrap: anywhere; }
@media (max-width: 480px) { .pcard, .pcard-big { grid-template-columns: 1fr; } .pcard-big .pcard-pic { width: 100%; height: auto; } }

/* Talk with our team: warm landing page for shared links (2026-11-08) */
.talk-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.talk-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.talk-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.1) 0%, rgba(20,18,16,.78) 75%); }
.talk-hero-inner { position: relative; padding-block: 56px 48px; max-width: 760px; }
.talk-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; margin: 8px 0 12px; text-wrap: balance; }
.talk-hero .lead { color: rgba(255,255,255,.92); }
.talk-hero .kicker { color: #f6a571; }
.talk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.talk-steps { grid-template-columns: 1fr; }
.doc-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 18px 0; }
.doc-group { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.doc-group h3 { margin: 0 0 8px; font-size: 1.02rem; }
.doc-group ul { margin: 0; padding-left: 18px; }
.talk-faces { margin-top: 14px; }
@media (max-width: 860px) { .talk-grid { grid-template-columns: 1fr; gap: 28px; } .talk-hero { min-height: 520px; } }
.talk-faces { display: flex; flex-wrap: wrap; row-gap: 8px; max-width: 100%; }

/* Talk with our team, one-column sales page (2026-11-08, Michael: "one column, walking the borrower all the way down to our form") */
.walk-page { max-width: 720px; margin: 0 auto; padding: 56px max(16px, env(safe-area-inset-right, 0px)) 72px max(16px, env(safe-area-inset-left, 0px)); }
.walk-page section { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--line); }
.walk-page h1 { font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.1; margin: 8px 0 16px; text-wrap: balance; }
.walk-page h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.15; margin: 0 0 14px; }
.walk-page p, .walk-page li { font-size: 1.08rem; line-height: 1.65; }
.talk-map { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.talk-map li { list-style: none; font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.talk-steps { padding-left: 1.2em; display: grid; gap: 14px; }
.talk-steps li::marker { color: var(--orange); font-weight: 800; }
.talk-list { padding-left: 1.2em; display: grid; gap: 10px; }
.talk-docs { display: grid; gap: 14px; }
.talk-docs .doc-group { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.talk-docs .doc-group h3 { margin: 0 0 6px; font-size: 1.02rem; }
.talk-docs .doc-group ul { margin: 0; padding-left: 18px; }
.talk-quotes { display: grid; gap: 14px; }
.talk-form { border-top: 0 !important; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px !important; }
.talk-alt { margin-top: 16px; }
.talk-map a { color: inherit; text-decoration: none; }
.walk-page section { scroll-margin-top: 90px; }

.walk-page { background: transparent; }
.walk-page .talk-top { padding-bottom: 8px; }
.walk-page .talk-top h1 { color: var(--ink); }
.walk-page section { border-top: 1px solid var(--line); }
.walk-page .talk-form { background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20,18,16,.08); border-top: 3px solid var(--orange) !important; }
body.refer-page { background: #fff; }
.walk-page .talk-form .cb-form { border: 0; padding: 0; box-shadow: none; background: transparent; margin-top: 8px; }
.walk-page .talk-form .cb-h { display: none; }

/* Talk with our team: crafted landing page (2026-11-08, Michael: "like a landing page where we've taken time to craft this") */
body.refer-page .lp { max-width: 760px; margin: 0 auto; padding: 72px max(20px, env(safe-area-inset-right, 0px)) 96px max(20px, env(safe-area-inset-left, 0px)); }
.lp-hero { text-align: center; padding-bottom: 12px; }
.lp-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #AC582A; margin: 0 0 14px; }
.lp-hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.02em; margin: 0 auto 18px; max-width: 18ch; text-wrap: balance; }
.lp-lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 60ch; margin: 0 auto; }
.lp-quote { margin: 40px auto 0; max-width: 620px; padding: 28px 30px; border-radius: 20px; background: linear-gradient(180deg, #fff7f1, #fff); border: 1px solid #f3dfd1; }
.lp-quote blockquote { margin: 0; font-size: 1.3rem; line-height: 1.5; font-weight: 600; color: var(--ink); }
.lp-quote figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.lp-sec { padding-top: 64px; }
.lp-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #AC582A; margin: 0 0 8px; }
.lp-sec h2, .lp-cta h2 { font-size: clamp(1.6rem, 3.8vw, 2.2rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 16px; text-wrap: balance; }
.lp p, .lp li { font-size: 1.1rem; line-height: 1.7; }
.lp-small, .lp-small a { font-size: .95rem !important; color: var(--muted); }
.lp-faces { margin: 18px 0 6px; display: flex; flex-wrap: wrap; row-gap: 8px; }
.lp-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.lp-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.lp-steps strong { font-size: 1.1rem; }
.lp-steps p { margin: 4px 0 0; color: var(--muted); }
.lp-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.lp-progs { display: grid; gap: 12px; margin-top: 20px; }
.lp-prog { position: relative; display: grid; gap: 4px; padding: 20px 52px 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.lp-prog:hover { border-color: var(--orange); transform: translateY(-2px); }
.lp-prog strong { font-size: 1.1rem; }
.lp-prog span { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.lp-prog em { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 1.3rem; color: var(--orange); }
.lp-docs { display: grid; gap: 12px; margin: 22px 0 10px; }
.lp-doc { padding: 20px 22px; border-radius: 16px; background: #faf7f3; }
.lp-doc h3 { margin: 0 0 10px; font-size: 1.05rem; }
.lp-doc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-doc li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1.02rem !important; line-height: 1.5 !important; }
.lp-doc svg { width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.lp-quotes { display: grid; gap: 14px; margin-top: 18px; }
.lp-cta { margin-top: 72px; padding: 36px 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); box-shadow: 0 24px 60px rgba(20,18,16,.08); }
.lp-cta .cb-form { border: 0; padding: 0; box-shadow: none; background: transparent; margin-top: 10px; }
.lp-cta .cb-h { display: none; }
.lp-or { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--muted); font-size: .9rem; }
.lp-or::before, .lp-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lp-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.lp-buttons .btn { flex: 1 1 200px; justify-content: center; text-align: center; }
@media (max-width: 560px) { body.refer-page .lp { padding-top: 48px; } .lp-cta { padding: 26px 20px; } .lp-hero h1 { max-width: none; } }
.lp-cta .cb-form .fine, .lp-cta .cb-form .fine a { font-size: .9rem !important; line-height: 1.5 !important; color: var(--muted); }
.lp-cta .cb-form label, .lp-cta .cb-consent span { font-size: .95rem !important; }
.lp-cta .cb-form button[type=submit] { width: 100%; justify-content: center; background: var(--orange); border-color: var(--orange); color: #fff; font-size: 1.05rem; padding: 15px 22px; }
.lp-cta .cb-form button[type=submit]:hover { filter: brightness(.95); }

.lp-promise { margin: 18px 0 0; font-size: 1.15rem !important; font-weight: 700; color: var(--ink); }
.lp-divider { display: block; width: 96px; height: 3px; border-radius: 3px; background: var(--orange); margin: 56px auto 0; opacity: .85; }
.lp-hero { min-height: calc(100vh - 150px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 560px) { .lp-hero { min-height: auto; } }
.lp-hero .lp-kicker { opacity: .72; white-space: nowrap; }
@media (max-width: 560px) { .lp-hero .lp-kicker { font-size: min(.78rem, 2.85vw); letter-spacing: .07em; } }
/* Very narrow phones (320 px): tighten the header so the menu button fits (audit 2026-11-08). */
@media (max-width: 360px) { .header-row { gap: 10px; } .header-apply { padding: 9px 12px; font-size: 13px; } .logo img { width: 128px; } }
@media (max-width: 400px) { .link-arrow { white-space: normal; } .pcard-actions { flex-wrap: wrap; } }
@media (max-width: 400px) { .pcard-actions .btn { max-width: 100%; white-space: normal; } .pcard { padding: 18px; } }
.lp-note { font-size: 1rem !important; padding: 14px 18px; border-left: 3px solid var(--orange); background: #fff7f1; border-radius: 0 12px 12px 0; }
.hub-cta { display: flex; justify-content: center; margin-top: 28px; }
/* Compact "Talk to a person" (2026-11-08) */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-people { min-height: 0 !important; justify-content: flex-start !important; margin-bottom: 18px; }
.contact-people .talk-p { width: 150px !important; }
.contact-people .talk-p1 { transform: none; margin-right: -22px; }
.contact-left h2 { margin: 6px 0 10px; font-size: clamp(1.9rem, 3.6vw, 2.5rem); letter-spacing: -.02em; }
.contact-left .lead { margin-bottom: 18px; }
.contact-right .cb-form { margin-top: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Founders' pages (Robert and Colleen, 2026-11-08): big portrait hero, career path, story, founded together. */
.founder-hero { position: relative; overflow: hidden; padding: 8px 0 0; background:
  radial-gradient(60% 70% at 85% 40%, var(--gold-soft) 0%, transparent 70%), linear-gradient(var(--soft), var(--bg)); }
.fh-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: end; margin-top: 24px; }
.fh-text { padding-bottom: 64px; min-width: 0; }
.fh-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.fh-text h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 14px; text-wrap: balance; }
.fh-meta { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.fh-lead { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.5; margin: 0 0 22px; max-width: 34ch; color: var(--ink); text-wrap: pretty; }
.fbadges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.fbadge { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.fbadge-strong { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); font-weight: 600; }
a.fbadge-strong:hover { background: var(--orange-hover); color: var(--orange-ink); }
.fh-phone { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.fh-phone a { color: var(--ink); }
.fh-photo { position: relative; align-self: end; justify-self: center; width: 100%; max-width: 440px; }
.fh-photo::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; top: 10%; border-radius: 220px 220px 0 0; background: linear-gradient(180deg, rgba(238,124,61,.28), rgba(238,124,61,.08)); }
.fh-photo .portrait { position: relative; background: transparent; box-shadow: none; border-radius: 0; aspect-ratio: 3 / 4; }
.fh-photo .portrait img { object-position: 50% 100%; }
.fpath-band { background: var(--ink); color: #fff; padding: 44px 0 48px; }
.fpath-band .kicker { color: var(--orange); margin-bottom: 18px; }
.fpath { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; counter-reset: none; }
.fpath li { position: relative; display: grid; gap: 4px; padding: 18px 22px 4px 0; border-top: 2px solid rgba(255,255,255,.18); }
.fpath li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.fpath-n { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.fpath strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.fpath span:last-child:not(.fpath-n) { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.45; }
.founder-story .kicker, .founders-together .kicker { color: var(--gold); }
.founder-story p:first-of-type:not(.kicker) { font-size: 1.2rem; line-height: 1.6; }
.founders-together { background: var(--soft); }
.ft-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.ft-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px rgba(var(--shadow-rgb), .12); }
.ft-photo img { display: block; width: 100%; height: auto; }
.ft-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-wrap: balance; }
.ft-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
.ft-person { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ft-person:hover { border-color: var(--line-strong); box-shadow: 0 8px 20px rgba(var(--shadow-rgb), .07); color: var(--ink); }
.ft-person .avatar { width: 48px; height: 48px; }
.ft-person small { display: block; font-size: 12px; color: var(--muted); }
.ft-person strong { font-weight: 600; }
@media (max-width: 860px) {
  .fh-grid { grid-template-columns: 1fr; gap: 8px; }
  .fh-text { padding-bottom: 8px; }
  .fh-photo { order: -1; max-width: 300px; }
  .ft-grid { grid-template-columns: 1fr; gap: 32px; }
  .ft-photo { max-width: 420px; }
  .fpath { grid-template-columns: 1fr; }
  .fpath li { border-top: 0; border-left: 2px solid rgba(255,255,255,.18); padding: 4px 0 20px 22px; }
  .fpath li::before { top: 6px; left: -7px; }
}
.founder-story { padding-bottom: 8px; }
.founder-story + .person-extra { padding-top: 24px; }
.founder-story + .person-extra h2 { font-size: 1.6rem; margin-top: 1.4em; }
@media (max-width: 860px) { .fh-grid { margin-top: 4px; } .fh-photo { max-width: 260px; } }

/* Event photos (2026-11-08): strip in the employer band, gallery on /events. */
.ev-strip-wrap { margin-top: 32px; }
.ev-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ev-strip-item { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--soft); }
.ev-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ev-strip-item:hover img { transform: scale(1.04); }
.ev-strip-cta { margin: 20px 0 0; text-align: center; }
.ev-gal { columns: 3 260px; column-gap: 16px; margin-top: 28px; }
.ev-gal-item { break-inside: avoid; margin: 0 0 16px; }
.ev-gal-item img { display: block; width: 100%; height: auto; border-radius: 14px; }
.ev-gal-item figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
@media (max-width: 700px) { .ev-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .ev-strip-item img { transition: none; } }
/* Story CTA with the call-back form (2026-11-08): space under the Call button, form lined up with it. */
.story-cta .hero-actions + .cb-form, .story-cta .hero-actions + form, .story-cta .hero-actions + div { margin: 20px 0 0 !important; }
.fairs-note { text-align: center; }
/* Tall (portrait) story covers fit on one screen instead of stretching to the page width (2026-11-08). */
.story-post-cover img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(78vh, 760px); margin-inline: auto; }
.story-buttons { margin: 4px 0 28px; }
.careers-about { margin: 18px 0 8px; font-size: 15px; color: var(--muted); }
/* Long emails and web addresses wrap on narrow phones instead of pushing the page sideways (pre-launch check, 2026-11-08). */
.contact-list li > * { min-width: 0; }
.contact-list a, .fh-phone a, main p a, main li a, main td a { overflow-wrap: anywhere; }
.ask-people .avatar { width: 52px; height: 52px; flex: none; margin-right: -16px; border: 2px solid var(--bg); border-radius: 50%; }
/* NAF Legal, 2026-11-08 (item 2): footer links must look like links. */
.site-footer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.site-footer .footer-story, .site-footer .crafted a { text-decoration: underline; }
/* "You're leaving our website" notice (NAF Legal, 2026-11-08). */
.leave-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(20,18,16,.55); }
.leave-card { max-width: 440px; width: 100%; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.leave-card p { margin: 0 0 12px; }
.leave-h { font-weight: 600; font-size: 1.15rem; }
.leave-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* Book a time: Calendly inside our page (2026-11-08) */
.book-box { margin: 24px 0 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.book-frame { min-height: 700px; }
.book-frame:has(iframe) { min-height: 0; }
.book-frame iframe { display: block; width: 100%; min-height: 700px; border: 0; }
.book-fallback { padding: 24px; margin: 0; }
@media (max-width: 640px) { .book-box { border-radius: 14px; } }
a.is-loading { opacity: .7; cursor: progress; }

/* Program cards (grants hub, 2026-11-08) */
.prog-cards { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.prog-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--surface); min-width: 0; }
.prog-card-h { font-size: 1.1rem; margin: 0 0 10px; line-height: 1.3; }
.prog-card dl { margin: 0; display: grid; gap: 8px; }
.prog-card dl div { display: grid; gap: 2px; }
.prog-card dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prog-card dd { margin: 0; font-size: .95rem; line-height: 1.45; }
