/* breger.org home page, 2026-11 redesign (preview branch homepage-redesign-preview).
   Loaded only by index.html, after the theme and breger-org-2026.css. Colors are the Breger Foundation
   brand sheet (/brand/): navy #062C57, blue #0B7ADB, link blue #0A66BF, green #60A33C, dark green #386F1C,
   gold #FEB022 (decoration only, never text), text #12213A, pale blue #EEF4FB.
   Layout idea: tight bands, every section does one job, nothing wider than the header's container.
   Other pages can pick up .hm-section / .hm-head / .hm-card later without changing the shared header. */
:root {
  --hm-navy: #062C57;
  --hm-navy-2: #0A3E78;
  --hm-blue: #0B7ADB;
  --hm-link: #0A66BF;
  --hm-green: #60A33C;
  --hm-green-dk: #386F1C;
  --hm-gold: #FEB022;
  --hm-text: #12213A;
  --hm-muted: #4A5B73;
  --hm-pale: #EEF4FB;
  --hm-tint: #E8F1FF;
  --hm-line: #DCE5F0;
  --hm-white: #FFFFFF;
  --hm-radius: 16px;
  --hm-radius-sm: 10px;
  --hm-shadow: 0 1px 2px rgba(6, 44, 87, .06), 0 8px 24px rgba(6, 44, 87, .08);
  --hm-pad: clamp(36px, 5vw, 56px);
}

/* ---------- shared bits ---------- */
.hm-section { padding-block: var(--hm-pad); }
.hm-section--pale { background: var(--hm-pale); }
.hm-head { display: grid; gap: 6px; margin-block-end: 24px; max-inline-size: 760px; }
.hm-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--hm-navy); text-wrap: balance; }
.hm-head p { margin: 0; color: var(--hm-muted); font-size: 1.1rem; }
.hm-eyebrow { margin: 0; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hm-green-dk); }
.hm-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hm-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
.hm-btn svg { width: 20px; height: 20px; flex: none; }
.hm-btn--primary { background: var(--hm-link); color: var(--hm-white); }
.hm-btn--primary:hover { background: var(--hm-navy-2); color: var(--hm-white); }
.hm-btn--gold { background: var(--hm-gold); color: var(--hm-navy); }
.hm-btn--gold:hover { background: #FFC24D; color: var(--hm-navy); }
.hm-btn--line { border-color: var(--hm-link); color: var(--hm-link); background: var(--hm-white); }
.hm-btn--line:hover { background: var(--hm-tint); }
.hm-btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--hm-white); }
.hm-btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: var(--hm-white); }
.hm-btn:focus-visible, .hm-card:focus-visible, .hm-tile:focus-visible, .hm-tool:focus-visible { outline: 3px solid var(--hm-gold); outline-offset: 3px; }
.hm-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; }
.hm-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-icon--blue { background: #DCEBFB; color: var(--hm-link); }
.hm-icon--green { background: #E3F1DA; color: var(--hm-green-dk); }
.hm-icon--navy { background: #DDE5F0; color: var(--hm-navy); }
.hm-icon--gold { background: #FFF1D3; color: #8A5A00; }

/* ---------- hero ---------- */
.hm-hero {
  color: var(--hm-white);
  background:
    radial-gradient(600px 360px at 88% 18%, rgba(11, 122, 219, .45), transparent 70%),
    radial-gradient(520px 320px at 8% 110%, rgba(96, 163, 60, .35), transparent 70%),
    linear-gradient(135deg, #04213F 0%, var(--hm-navy) 55%, #08427F 100%);
  padding-block: clamp(32px, 5vw, 56px);
  overflow: hidden;
}
.hm-hero__grid { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hm-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; } }
.hm-hero__text { min-width: 0; display: grid; gap: 18px; }
.hm-hero .hm-eyebrow { color: #A9D98C; }
.hm-hero h1 { margin: 0; font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.01em; color: var(--hm-white); text-wrap: balance; }
.hm-hero h1 .hm-dot { color: var(--hm-gold); }
.hm-hero__lead { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: #D9E6F5; max-inline-size: 36em; }
.hm-hero__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.hm-hero__links a { color: var(--hm-white); font-weight: 700; text-underline-offset: 4px; }
.hm-hero__links a:hover { color: #A9D98C; }
.hm-hero__links li { display: flex; align-items: center; gap: 8px; }
.hm-hero__links svg { width: 18px; height: 18px; fill: none; stroke: #A9D98C; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hm-ron { position: relative; margin: 0; max-inline-size: 420px; justify-self: center; width: 100%; }
.hm-ron__photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); border: 4px solid rgba(255, 255, 255, .9); }
.hm-ron__bubble { position: absolute; left: -12px; bottom: -14px; right: 22%; background: var(--hm-white); color: var(--hm-text); border-radius: 18px 18px 18px 4px; padding: 14px 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); font-size: 1rem; line-height: 1.4; }
.hm-ron__bubble strong { color: var(--hm-navy); display: block; font-size: 1.05rem; }
.hm-ron__badge { position: absolute; top: 14px; right: -10px; background: var(--hm-green-dk); color: var(--hm-white); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
@media (max-width: 899.98px) { .hm-ron { max-inline-size: 340px; margin-block-end: 14px; } .hm-ron__bubble { left: 8px; } .hm-ron__badge { right: 8px; } }

/* trust strip */
.hm-trust { background: var(--hm-white); border-block-end: 1px solid var(--hm-line); }
.hm-trust ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin: 0; padding: 14px 0; list-style: none; }
.hm-trust li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hm-navy); font-size: 1rem; }
.hm-trust svg { width: 22px; height: 22px; fill: none; stroke: var(--hm-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- AI assistant feature ---------- */
.hm-assist__grid { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hm-assist__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.hm-assist__text { min-width: 0; display: grid; gap: 16px; }
.hm-assist__text h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; color: var(--hm-navy); text-wrap: balance; }
.hm-assist__text > p { margin: 0; font-size: 1.15rem; line-height: 1.55; color: var(--hm-text); }
.hm-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0; }
.hm-compare > div { border-radius: var(--hm-radius-sm); padding: 14px 16px; }
.hm-compare h3 { margin: 0 0 6px; font-size: 1rem; }
.hm-compare ul { margin: 0; padding-inline-start: 18px; font-size: .98rem; line-height: 1.45; }
.hm-compare__chat { background: var(--hm-white); border: 1px solid var(--hm-line); color: var(--hm-muted); }
.hm-compare__chat h3 { color: var(--hm-muted); }
.hm-compare__assist { background: var(--hm-navy); color: var(--hm-white); }
.hm-compare__assist h3 { color: #A9D98C; }
@media (max-width: 479.98px) { .hm-compare { grid-template-columns: 1fr; } }
.hm-assist__note { margin: 0; color: var(--hm-muted); font-size: 1rem; }
.hm-phone { width: 100%; max-inline-size: 420px; height: auto; justify-self: center; display: block; }

/* ---------- ask us ---------- */
.hm-ask { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .hm-ask { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-content: start; padding: 20px; background: var(--hm-white); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); box-shadow: var(--hm-shadow); text-decoration: none; color: var(--hm-text); transition: transform .15s ease, box-shadow .15s ease; }
.hm-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(6, 44, 87, .08), 0 14px 32px rgba(6, 44, 87, .12); color: var(--hm-text); }
.hm-card .hm-icon { grid-row: span 3; }
.hm-card__title { font-weight: 700; font-size: 1.2rem; color: var(--hm-navy); }
.hm-card__line { color: var(--hm-muted); font-size: 1rem; line-height: 1.45; }
.hm-card__go { color: var(--hm-link); font-weight: 700; }
.hm-ask-note { margin: 16px 0 0; color: var(--hm-muted); }

/* ---------- how we help ---------- */
.hm-tiles { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .hm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .hm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-tile { display: flex; gap: 14px; align-items: flex-start; height: 100%; box-sizing: border-box; padding: 16px 18px; background: var(--hm-white); border-radius: var(--hm-radius); border: 1px solid var(--hm-line); text-decoration: none; color: var(--hm-text); }
.hm-tile:hover { border-color: var(--hm-blue); color: var(--hm-text); }
.hm-tile__body { display: grid; gap: 2px; min-width: 0; }
.hm-tile__title { font-weight: 700; font-size: 1.1rem; color: var(--hm-navy); }
.hm-tile__line { color: var(--hm-muted); font-size: .98rem; line-height: 1.4; }
.hm-free { margin: 18px 0 0; font-weight: 700; color: var(--hm-green-dk); font-size: 1.1rem; }

/* ---------- stay safe ---------- */
.hm-tools { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .hm-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .hm-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-tool { display: flex; flex-direction: column; background: var(--hm-white); border-radius: var(--hm-radius); overflow: hidden; border: 1px solid var(--hm-line); box-shadow: var(--hm-shadow); text-decoration: none; color: var(--hm-text); transition: transform .15s ease; }
.hm-tool:hover { transform: translateY(-2px); color: var(--hm-text); }
.hm-tool img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hm-tool__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.hm-tool__tag { justify-self: start; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hm-green-dk); }
.hm-tool__title { font-weight: 700; font-size: 1.15rem; color: var(--hm-navy); }
.hm-tool__line { color: var(--hm-muted); font-size: .98rem; line-height: 1.4; }
.hm-safe-more { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hm-safe-more a { font-weight: 700; color: var(--hm-link); }

/* ---------- volunteer ---------- */
.hm-vol { background: var(--hm-navy); color: var(--hm-white); }
.hm-vol__grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .hm-vol__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; } }
.hm-vol__text { min-width: 0; display: grid; gap: 16px; }
.hm-vol .hm-eyebrow { color: #A9D98C; }
.hm-vol h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; color: var(--hm-white); }
.hm-vol__text > p { margin: 0; color: #D9E6F5; font-size: 1.1rem; line-height: 1.55; }
.hm-loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; counter-reset: none; }
@media (max-width: 559.98px) { .hm-loop { grid-template-columns: 1fr; } }
.hm-loop li { position: relative; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--hm-radius-sm); padding: 14px; display: grid; gap: 6px; align-content: start; }
.hm-loop .hm-icon { width: 42px; height: 42px; border-radius: 12px; }
.hm-loop strong { font-size: 1.05rem; color: var(--hm-white); }
.hm-loop span { color: #D9E6F5; font-size: .95rem; line-height: 1.4; }
@media (min-width: 560px) {
  .hm-loop li + li::before { content: ""; position: absolute; left: -10px; top: 34px; width: 10px; height: 2px; background: var(--hm-gold); }
}
.hm-vol__credit { margin: 0; font-size: .98rem; color: #B8C9DE; }
.hm-vol__credit a { color: var(--hm-white); }

.hm-form { background: var(--hm-white); color: var(--hm-text); border-radius: var(--hm-radius); padding: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hm-form h3 { margin: 0 0 4px; color: var(--hm-navy); font-size: 1.35rem; }
.hm-form > p { margin: 0 0 14px; color: var(--hm-muted); }
.hm-form .pt-field { margin-block-end: 12px; }
.hm-form fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.hm-form legend { font-weight: 700; margin-block-end: 6px; }
.hm-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
@media (max-width: 479.98px) { .hm-checks { grid-template-columns: 1fr; } }
.hm-checks label { display: flex; gap: 8px; align-items: flex-start; font-size: .98rem; line-height: 1.35; }
.hm-checks input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--hm-link); }
.hm-form .pt-button { width: 100%; justify-content: center; }
.hm-form .bo-privacy-note { font-size: .9rem; color: var(--hm-muted); margin: 10px 0 0; }
.hm-vol .bo-success { color: var(--hm-text); }

/* ---------- community + about ---------- */
.hm-more { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hm-more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-more > div { background: var(--hm-white); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.hm-more h3 { margin: 0; color: var(--hm-navy); font-size: 1.2rem; }
.hm-more p { margin: 0; color: var(--hm-muted); line-height: 1.5; }
.hm-more a.hm-more__go { font-weight: 700; color: var(--hm-link); }
.hm-about { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: center; margin-block-start: 24px; padding: 20px; border-radius: var(--hm-radius); background: var(--hm-tint); }
@media (min-width: 720px) { .hm-about { grid-template-columns: auto minmax(0, 1fr); } }
.hm-about img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--hm-white); }
.hm-about p { margin: 0; line-height: 1.55; }
.hm-about p + p { margin-block-start: 6px; }
.hm-about .hm-legal { font-size: .92rem; color: var(--hm-muted); }

@media (prefers-reduced-motion: reduce) { .hm-card, .hm-tool { transition: none; } .hm-card:hover, .hm-tool:hover { transform: none; } }

/* Testimonial in the AI assistant section */
.hm-quote { margin: 0 0 18px; padding: 14px 18px; background: #fff; border-left: 4px solid var(--hm-gold); border-radius: 10px; box-shadow: 0 1px 2px rgba(6,44,87,.06); }
.hm-quote p { margin: 0 0 6px; font-size: 1.125rem; font-weight: 700; color: var(--hm-navy); line-height: 1.4; }
.hm-quote footer { color: var(--hm-muted); font-size: .95rem; }

/* Stay safe: Mike Parker's video beside the heading */
.hm-safe-top { display: grid; gap: 20px 28px; align-items: center; margin-bottom: 22px; }
.hm-safe-top .bo-short { max-inline-size: 220px; margin-inline: auto; }
.hm-safe-top__text h2 { margin: 4px 0 10px; }
.hm-safe-top__text p { margin: 0 0 14px; }
@media (min-width: 700px) { .hm-safe-top { grid-template-columns: 220px 1fr; } .hm-safe-top .bo-short { margin-inline: 0; } }

/* ---------- offer banner (30 Nov 2026): points to /ai-assistant/ ---------- */
.hm-offer { background: var(--hm-gold); color: var(--hm-navy); }
.hm-offer p { margin: 0; padding-block: 10px; font-size: 1.02rem; text-align: center; }
.hm-offer a { color: var(--hm-navy); font-weight: 700; }
