/* =========================================================
   Brewer Home Team sites — shared styles (edit in /shared, then run tools/sync_shared.py)
   Built for legibility: large type, high contrast, big tap targets.
   ========================================================= */

:root {
  --navy-950: #0b1e33;
  --navy-900: #0f2741;
  --navy-800: #163252;
  --navy-700: #1b3d63;
  --navy-100: #dbe5f1;
  --navy-50:  #eef3f9;

  --gold-500: #d9a441;
  --gold-400: #e6b95f;
  --gold-700: #8a6414;   /* gold for text on light backgrounds (AA) */
  --gold-100: #f8ecd2;
  --accent-rgb: 217, 164, 65;   /* same as --gold-500, for rgba() */

  --green-700: #24694b;
  --green-100: #e2f1e9;

  --cream: #faf7f0;
  --white: #ffffff;
  --ink:   #1b2430;
  --muted: #475566;
  --line:  #d9dee5;
  --error: #b42318;

  --font-head: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 65, .06), 0 2px 6px rgba(15, 39, 65, .06);
  --shadow:    0 6px 24px rgba(15, 39, 65, .10);
  --shadow-lg: 0 20px 50px rgba(15, 39, 65, .18);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); /* 18px → 20px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

/* The hidden attribute always wins, even on elements like .btn that set display */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.22;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); }

p { margin: 0 0 1em; }

a { color: var(--navy-700); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 1000;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 56px;
  padding: .8em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), .35);
}
.btn-gold:hover { background: var(--gold-400); color: var(--navy-950); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }

.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-900);
}
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand-sub { font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--navy-50); color: var(--navy-900); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  color: var(--navy-900);
  text-align: right;
  white-space: nowrap;
}
.header-phone small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.header-phone strong { font-size: 1.1rem; }
.header-actions .btn { min-height: 50px; padding: .6em 1.3em; font-size: 1rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 14px;
  border: 2px solid var(--navy-100);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-900);
  font: 700 1rem var(--font-body);
  cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s;
}
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.15rem; border-bottom: 1px solid var(--navy-50); border-radius: 0; }
  .main-nav .nav-cta { margin-top: 12px; }
  .main-nav .nav-cta a { border: 0; }
}
@media (min-width: 1001px) {
  .main-nav .nav-cta { display: none; }
}
@media (max-width: 420px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { font-size: .78rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(var(--accent-rgb), .20), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(36, 105, 75, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), .14);
  border: 1px solid rgba(var(--accent-rgb), .45);
  color: var(--gold-400);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero h1 .accent { color: var(--gold-400); }
.hero-sub {
  font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  line-height: 1.55;
  color: #dbe5f1;
  max-width: 36em;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-ctas .btn { font-size: 1.15rem; min-height: 60px; }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 0; padding: 0;
  color: #e7edf5;
  font-weight: 600;
}
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 22px; height: 22px; color: var(--gold-400); flex: none; }

.hero-art { position: relative; }
.hero-art-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255, 255, 255, .14);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--navy-900);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  line-height: 1.25;
}
.hero-badge small { display: block; font-weight: 600; color: var(--muted); font-size: .85rem; }
.hero-badge .badge-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; flex: none;
}
.hero-badge .badge-icon svg { width: 24px; height: 24px; }
.hero-badge--cash { left: -24px; bottom: 36px; }
.hero-badge--cash .badge-icon { background: var(--green-100); color: var(--green-700); }
.hero-badge--home { right: -16px; top: 28px; }
.hero-badge--home .badge-icon { background: var(--gold-100); color: var(--gold-700); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; }
  .hero-badge { position: static; margin-top: 12px; }
  .hero-badges-mobile { display: grid; gap: 10px; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid #ece5d6;
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 28px 0;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}
.trust-list svg { width: 30px; height: 30px; color: var(--gold-700); flex: none; }
@media (max-width: 900px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-list { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--navy-50); }
.section--cream { background: var(--cream); }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-700);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-head p { color: var(--muted); font-size: 1.15em; margin: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
}
.step h3 { margin-bottom: .4em; }
.step p { color: var(--muted); margin: 0; }
.step-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-800);
  font-weight: 700;
  font-size: .9rem;
}
.step-time svg { width: 16px; height: 16px; }
@media (min-width: 901px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 66px; right: -26px;
    width: 20px; height: 20px;
    border-top: 3px solid var(--gold-500);
    border-right: 3px solid var(--gold-500);
    transform: rotate(45deg);
    z-index: 1;
  }
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

.section-cta { text-align: center; margin-top: clamp(40px, 5vw, 56px); }
.section-cta p { color: var(--muted); margin-top: 14px; font-size: 1rem; }

/* ---------- Options ---------- */
.options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.option {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 5px solid var(--navy-700);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.option:nth-child(1) { border-top-color: var(--gold-500); }
.option:nth-child(2) { border-top-color: var(--navy-700); }
.option:nth-child(3) { border-top-color: var(--green-700); }
.option:nth-child(4) { border-top-color: #6b5b95; }
.option h3 { font-size: 1.3rem; }
.option p { color: var(--muted); font-size: 1.02rem; }
.option dl { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1rem; }
.option dt { font-weight: 700; color: var(--navy-900); }
.option dd { margin: 0 0 10px; color: var(--muted); }
.option dd:last-child { margin-bottom: 0; }
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}
.tag-yes { background: var(--green-100); color: var(--green-700); }
.tag-no  { background: var(--gold-100); color: var(--gold-700); }
.options-note {
  max-width: 820px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}
@media (max-width: 1080px) { .options { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .options { grid-template-columns: 1fr; } }

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.benefit {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.benefit-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--navy-900);
  color: var(--gold-400);
  flex: none;
}
.benefit-icon svg { width: 32px; height: 32px; }
.benefit h3 { margin-bottom: .3em; }
.benefit p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .benefit { flex-direction: column; gap: 16px; padding: 24px; }
}

.uses {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.uses h3 { color: var(--white); margin: 0; }
.uses h3 span { color: var(--gold-400); }
.uses ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0; padding: 0;
}
.uses li {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 600;
}
@media (max-width: 860px) { .uses { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.team-emblem {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid #ece5d6;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.team-emblem > img { width: min(300px, 80%); }
.emblem-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  list-style: none;
  margin: 0; padding: 0;
}
.emblem-badges li {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}
.emblem-badges svg { width: 24px; height: 24px; color: var(--gold-700); flex: none; }
@media (max-width: 420px) { .emblem-badges { grid-template-columns: 1fr; } }

.about-copy .lead { font-size: 1.2em; color: var(--navy-900); }
.about-points { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points svg { width: 26px; height: 26px; color: var(--green-700); flex: none; margin-top: 3px; }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.team-heading { text-align: center; margin: clamp(48px, 6vw, 72px) 0 28px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.team-card {
  background: var(--white);
  border: 1px solid #ece5d6;
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.team-card img {
  width: 160px; height: 160px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold-500);
}
.team-card h4 { font-size: 1.25rem; margin-bottom: .15em; }
.team-card p { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.team-card a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-weight: 700;
}
.team-card a svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold-500); font-size: 1.5rem; letter-spacing: .1em; line-height: 1; margin-bottom: 18px; }
.review blockquote { margin: 0 0 20px; flex: 1; }
.review blockquote p { margin: 0; font-size: 1.08rem; color: var(--ink); }
.review figcaption { color: var(--muted); font-size: 1rem; padding-top: 16px; border-top: 1px solid var(--line); }
.review figcaption strong { display: block; color: var(--navy-900); font-size: 1.1rem; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  min-height: 64px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.05rem + .25vw, 1.25rem);
  color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(var(--navy-900), var(--navy-900)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--navy-900), var(--navy-900)) center / 2.5px 14px no-repeat,
    var(--navy-50);
  transition: transform .2s;
}
.faq-item[open] summary::after {
  background:
    linear-gradient(var(--navy-950), var(--navy-950)) center / 14px 2.5px no-repeat,
    var(--gold-500);
}
.faq-item summary:hover { color: var(--navy-700); }
.faq-answer { padding: 0 26px 24px; color: var(--muted); }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }
.faq-answer ul { padding-left: 1.2em; }
.faq-answer li { margin-bottom: .4em; }
.faq-answer strong { color: var(--ink); }
.faq-more { text-align: center; margin-top: 36px; color: var(--muted); }

/* ---------- Contact / Lead form ---------- */
.contact {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(var(--accent-rgb), .16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-copy h2 { color: var(--white); }
.contact-copy .kicker { color: var(--gold-400); }
.contact-copy > p { color: #dbe5f1; font-size: 1.1em; }
.next-steps { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; counter-reset: ns; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; color: #e7edf5; }
.next-steps li::before {
  counter-increment: ns;
  content: counter(ns);
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .18);
  border: 1px solid rgba(var(--accent-rgb), .55);
  color: var(--gold-400);
  font-weight: 700;
}
.next-steps strong { color: var(--white); display: block; }

.contact-direct {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.contact-direct a {
  display: flex; align-items: center; gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  word-break: break-word;
}
.contact-direct a:hover { color: var(--gold-400); }
.contact-direct svg { width: 26px; height: 26px; color: var(--gold-400); flex: none; }
.contact-direct small { color: #b9c7d8; font-size: .95rem; }

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: .2em; font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); }
.form-card .form-intro { color: var(--muted); margin-bottom: 26px; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.05rem;
}
.field .req { color: var(--error); }
.field input {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 2px solid #b8c3d1;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 400 1.15rem var(--font-body);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #7a8796; }
.field input:hover { border-color: #8d9bad; }
.field input:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(27, 61, 99, .18);
}
.field.has-error input { border-color: var(--error); }
.field-error {
  display: none;
  margin-top: 6px;
  color: var(--error);
  font-weight: 600;
  font-size: 1rem;
}
.field.has-error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-card .btn-gold { font-size: 1.2rem; min-height: 62px; margin-top: 6px; }
.form-consent { margin: 16px 0 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.form-secure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
  color: var(--green-700);
  font-weight: 700;
  font-size: .95rem;
}
.form-secure svg { width: 18px; height: 18px; }

.form-status {
  display: none;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 600;
}
.form-status.is-error { display: block; background: #fdecea; color: var(--error); border: 1px solid #f5c2bd; }

.form-success { text-align: center; padding: 20px 0; }
.form-success .success-icon {
  display: grid; place-items: center;
  width: 84px; height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
}
.form-success .success-icon svg { width: 44px; height: 44px; }
.form-success p { color: var(--muted); }

.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #b9c7d8;
  padding: 56px 0 32px;
  font-size: 1rem;
  border-top: 4px solid var(--gold-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand-sub { color: #b9c7d8; }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #dbe5f1; }
.site-footer a:hover { color: var(--gold-400); }
.footer-logos { display: flex; align-items: center; gap: 18px; margin: 20px 0; flex-wrap: wrap; }
.footer-logos > img { width: 88px; height: 88px; }
.kw-chip { display: inline-flex; padding: 10px 14px; background: var(--white); border-radius: 10px; }
.kw-chip img { width: 140px; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal { padding-top: 28px; font-size: .9rem; line-height: 1.6; }
.footer-legal p { margin-bottom: .8em; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 20px;
}
.eho { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #dbe5f1; }
.eho svg { width: 34px; height: 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(15, 39, 65, .10);
}
.mobile-cta .btn { flex: 1; min-height: 54px; font-size: 1.05rem; padding: .6em 1em; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ---------- Simple inner pages ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) 0;
}
.page-hero h1 { color: var(--white); margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); margin-top: 1.6em; }

.thanks-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.thanks-card .success-icon {
  display: grid; place-items: center;
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
}
.thanks-card .success-icon svg { width: 50px; height: 50px; }
.thanks-card p { color: var(--muted); font-size: 1.1em; }

/* =========================================================
   Shared components added for the multi-site build
   ========================================================= */

/* ---------- More form controls ---------- */
.field select,
.field textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 2px solid #b8c3d1;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 400 1.15rem var(--font-body);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(27, 61, 99, .18);
}
.field.has-error select,
.field.has-error textarea,
.field.has-error .choices { border-color: var(--error); }
.field .optional { font-weight: 600; color: var(--muted); font-size: .92rem; }
.field-hint { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

/* Big tap-target radio "buttons" */
.choices {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.choices legend {
  margin-bottom: 8px;
  padding: 0;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.05rem;
}
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choices.cols-2 legend { grid-column: 1 / -1; }
@media (max-width: 480px) { .choices.cols-2 { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.choice span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 16px;
  border: 2px solid #b8c3d1;
  border-radius: 12px;
  background: var(--white);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.choice span::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #8d9bad;
  background: var(--white);
}
.choice:hover span { border-color: #8d9bad; }
.choice input:checked + span {
  border-color: var(--navy-700);
  background: var(--navy-50);
  color: var(--navy-900);
}
.choice input:checked + span::before {
  border-color: var(--navy-700);
  background: radial-gradient(circle, var(--navy-700) 0 5px, var(--white) 6px);
}
.choice input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.field.has-error .choice span { border-color: var(--error); }

/* Consent checkbox */
.check-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--navy-50);
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink);
}
.check-field input {
  flex: none;
  width: 24px; height: 24px;
  margin: 2px 0 0;
  accent-color: var(--navy-700);
  cursor: pointer;
}
.check-field label { cursor: pointer; }

/* Two-step forms */
.form-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}
.form-progress .bar { flex: 1; height: 8px; border-radius: 99px; background: var(--navy-50); overflow: hidden; }
.form-progress .bar i { display: block; height: 100%; width: 50%; background: var(--gold-500); border-radius: 99px; transition: width .25s; }
.form-step[hidden] { display: none; }
.form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--navy-700);
  font: 700 1rem var(--font-body);
  text-decoration: underline;
  cursor: pointer;
}

/* Small face next to the form */
.form-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--cream);
}
.form-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-500); flex: none; }
.form-person p { margin: 0; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.form-person strong { color: var(--navy-900); }

/* ---------- Light outline button ---------- */
.btn-outline { border-color: var(--navy-700); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-50); color: var(--navy-900); }

/* ---------- Banner note (top of page) ---------- */
.banner-note {
  background: var(--gold-100);
  color: var(--navy-950);
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px var(--gutter);
}
.banner-note a { color: var(--navy-950); font-weight: 700; }

/* ---------- Generic cards grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); }
.card .card-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--navy-900);
  color: var(--gold-400);
}
.card .card-icon svg { width: 28px; height: 28px; }
.card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  min-height: 44px;
}
.card .card-link svg { width: 18px; height: 18px; }
.card--accent { border-top: 5px solid var(--gold-500); }

/* ---------- Split (text + media) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 26px; height: 26px; color: var(--green-700); flex: none; margin-top: 3px; }
.x-list svg { color: var(--error); }

/* ---------- Callout / disclosure boxes ---------- */
.callout {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
}
.callout h3 { margin-bottom: .4em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: var(--error); }
.callout--info { border-left-color: var(--navy-700); }
.disclosure {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid var(--navy-100);
}
.disclosure h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
.disclosure p { color: var(--ink); }

/* ---------- Side-by-side comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.compare-col {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare-col header {
  padding: 22px 26px;
  background: var(--navy-900);
  color: var(--white);
}
.compare-col header h3 { color: var(--white); margin: 0; }
.compare-col header p { margin: 4px 0 0; color: #dbe5f1; font-size: 1rem; }
.compare-col:nth-child(2) header { background: var(--green-700); }
.compare-col dl { margin: 0; padding: 8px 26px 22px; }
.compare-col dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.compare-col dt { color: var(--muted); }
.compare-col dd { margin: 0; font-weight: 700; color: var(--navy-900); text-align: right; }
.compare-col dl div.total { border-bottom: 0; padding-top: 16px; }
.compare-col dl div.total dt,
.compare-col dl div.total dd { font-size: 1.15rem; color: var(--navy-900); font-weight: 700; }
.compare-note {
  max-width: 860px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: .98rem;
}
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Simple data table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--navy-900); color: var(--white); font-weight: 700; }
.data-table tbody th { color: var(--navy-900); }
.data-table tr:last-child td, .data-table tr:last-child th { border-bottom: 0; }

/* ---------- Program cards (brand home) ---------- */
.program {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.program-top { padding: 26px 26px 0; }
.program .program-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-800);
  font-weight: 700;
  font-size: .9rem;
}
.program h3 { margin-bottom: .3em; }
.program p { color: var(--muted); padding: 0 26px; margin-bottom: 18px; }
.program-top p { padding: 0; }
.program .btn { margin: auto 26px 26px; }

/* ---------- Bio cards (full bios) ---------- */
.bios { display: grid; gap: 26px; max-width: 980px; margin: 0 auto; }
.bio {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  border: 1px solid #ece5d6;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.bio img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold-500); }
.bio h3 { margin-bottom: .1em; }
.bio .bio-role { color: var(--gold-700); font-weight: 700; margin-bottom: 12px; }
.bio p { color: var(--ink); }
.bio-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.bio-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; min-height: 44px; }
.bio-links svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .bio { grid-template-columns: 1fr; text-align: center; }
  .bio img { margin: 0 auto; width: 150px; height: 150px; }
  .bio-links { justify-content: center; }
}

/* ---------- Area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.chips li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy-900);
}

/* ---------- Video ---------- */
.video-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-950);
}
.video-frame video { display: block; width: 100%; height: auto; }

/* ---------- Articles / long-form pages ---------- */
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero p { color: #dbe5f1; font-size: 1.2em; max-width: 40em; margin: 14px 0 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .callout { margin: 28px 0; }
.toc {
  margin: 0 0 32px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--navy-50);
}
.toc h2 { font-size: 1.1rem; margin: 0 0 8px; font-family: var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.toc ol { margin: 0; }

/* ---------- Quiz ---------- */
.quiz-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 44px);
}
.quiz-q[hidden], .quiz-result[hidden], .quiz-intro[hidden] { display: none; }
.quiz-q h2 { font-size: clamp(1.35rem, 1.2rem + .7vw, 1.8rem); margin-bottom: .3em; }
.quiz-q .quiz-help { color: var(--muted); margin-bottom: 18px; }
.quiz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--muted); font-weight: 700; font-size: .95rem; }
.quiz-progress .bar { flex: 1; height: 10px; border-radius: 99px; background: var(--navy-50); overflow: hidden; }
.quiz-progress .bar i { display: block; height: 100%; width: 0; background: var(--gold-500); border-radius: 99px; transition: width .3s; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.quiz-nav .btn { min-width: 160px; }
.quiz-result .result-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--navy-950);
  font-weight: 700;
}
.quiz-result h2 { margin-bottom: .3em; }
.quiz-result .result-lead { font-size: 1.15em; color: var(--navy-900); }
.result-next { margin: 24px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--navy-50); }
.result-next h3 { font-size: 1.2rem; }
.result-next ul { margin: 0; padding-left: 1.2em; }
.result-next li { margin-bottom: .4em; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.result-optin { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.three-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.path {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.path .path-icon {
  display: grid; place-items: center;
  width: 70px; height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
}
.path .path-icon svg { width: 34px; height: 34px; }
.path p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .three-paths { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- AI assistant chat (/ask/ page) ---------- */
.chat {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--navy-50);
}
.chat-avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
}
.chat-avatar svg { width: 24px; height: 24px; }
.chat-head h2 { font-size: 1.2rem; margin: 0; }
.chat-head p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.3; }
.chat-head .chat-reset {
  margin-left: auto;
  padding: 8px 12px;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--navy-700);
  font: 700 .95rem var(--font-body);
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}
.chat-log {
  height: min(52vh, 460px);
  min-height: 280px;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.chat-msg { display: flex; }
.chat-msg--user { justify-content: flex-end; }
.chat-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 1.05rem;
  line-height: 1.55;
}
.chat-bubble p { margin: 0 0 .6em; }
.chat-bubble p:last-child, .chat-bubble ul:last-child { margin-bottom: 0; }
.chat-bubble ul { margin: 0 0 .6em; padding-left: 1.2em; }
.chat-bubble li { margin-bottom: .25em; }
.chat-msg--assistant .chat-bubble { background: var(--navy-50); border-bottom-left-radius: 6px; }
.chat-msg--user .chat-bubble { background: var(--navy-900); color: var(--white); border-bottom-right-radius: 6px; }
.chat-msg--user .chat-bubble a { color: var(--gold-400); }
.chat-msg--error .chat-bubble { background: #fdecea; color: var(--error); }
.chat-msg--error .chat-bubble a { color: var(--error); font-weight: 700; }
.chat-typing .chat-bubble { display: inline-flex; gap: 6px; align-items: center; padding: 16px 18px; }
.chat-typing i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted);
  animation: chat-dot 1.2s infinite ease-in-out;
}
.chat-typing i:nth-child(3) { animation-delay: .15s; }
.chat-typing i:nth-child(4) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 16px;
}
.chat-suggest button {
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--navy-100);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-900);
  font: 600 .98rem var(--font-body);
  text-align: left;
  cursor: pointer;
}
.chat-suggest button:hover { border-color: var(--navy-700); background: var(--navy-50); }
.chat-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.chat-form textarea {
  flex: 1;
  min-height: 54px;
  max-height: 160px;
  padding: 13px 14px;
  border: 2px solid #b8c3d1;
  border-radius: 14px;
  font: 400 1.1rem var(--font-body);
  color: var(--ink);
  resize: vertical;
  line-height: 1.4;
}
.chat-form textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(27, 61, 99, .18); }
.chat-form .btn { min-height: 54px; padding: .6em 1.2em; }
.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 14px;
  color: var(--muted);
  font-size: .9rem;
}
.chat-note { margin: 0; }
.chat-count { white-space: nowrap; }
.chat.is-busy .chat-form .btn { opacity: .7; cursor: progress; }
.chat-nojs { padding: 22px; }
@media (max-width: 560px) {
  .chat-log { padding: 16px; height: 56vh; }
  .chat-suggest { padding: 0 16px 14px; }
  .chat-form { padding: 12px; }
  .chat-form .btn { padding: .6em .9em; }
  .chat-head { padding: 14px 16px; }
}

.facts { max-width: 880px; margin: 0 auto; }
.facts dl { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.facts dl > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; color: var(--navy-900); }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 640px) { .facts dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Footer: "program of" line ---------- */
.program-of { margin-top: 10px; font-size: .98rem; }
.program-of a { font-weight: 700; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .mobile-cta, .hero-art, .form-card { display: none !important; }
  body { padding: 0; }
}

img.brand-mark { border-radius: 50%; object-fit: contain; }

/* ---------- Photo feature (warm lifestyle photo + short message) ---------- */
.photo-feature { padding: var(--section) 0; background: var(--white); }
.photo-feature .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.photo-feature--flip .photo-frame { order: 2; }
.photo-frame { position: relative; margin: 0; isolation: isolate; }
.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg);
  background: rgba(var(--accent-rgb), .22);
  z-index: -1;
}
.photo-frame .photo-inset {
  position: absolute;
  width: 42%;
  right: -6%;
  bottom: -10%;
  aspect-ratio: 1 / 1;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}
.photo-feature .wrap > div { position: relative; }
.photo-copy h2 { margin: .25em 0 .5em; }
.photo-copy p { color: var(--muted); font-size: 1.12em; margin: 0 0 1.4em; }
@media (max-width: 860px) {
  .photo-feature .wrap { grid-template-columns: 1fr; }
  .photo-feature--flip .photo-frame { order: 0; }
  .photo-frame .photo-inset { width: 38%; right: -2%; bottom: -8%; }
  .photo-frame::before { inset: 12px -10px -12px 12px; }
}
