/* Western Hospital Foundation: demo site styles. Brousseau Design, 2026 */

@font-face { font-family: "Belleza"; src: url("../fonts/belleza.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #13283F;
  --navy-2: #1C3756;
  --teal: #0C7F82;        /* logo teal, large text and decoration */
  --teal-text: #0A6B6E;   /* AA on white and sand */
  --teal-lt: #4CC3BA;     /* on navy */
  --sand: #F6F1E7;
  --sand-2: #EDE5D4;
  --gold: #F2B544;        /* Donate buttons: navy text on gold */
  --gold-dk: #E09E22;
  --ink: #1D2633;
  --muted: #4A5566;
  --line: #DCD3C1;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 40, 63, .10);
  --wrap: 1180px;
  --head: "Belleza", "Optima", "Candara", "Segoe UI", sans-serif;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.1875rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold-dk); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); font-weight: 400; color: var(--navy); line-height: 1.15; letter-spacing: .005em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.3rem; color: var(--muted); max-width: 46rem; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-text); margin: 0 0 .7rem; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #E8EEF5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--teal-lt); }
.section--navy a { color: #fff; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip link */
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

/* Demo ribbon */
.demo-ribbon { background: #FFE07A; color: #3B2F00; text-align: center; font-size: .9rem; font-weight: 600; padding: 7px 16px; letter-spacing: .02em; border-bottom: 1px solid #E8C440; }
.demo-ribbon strong { letter-spacing: .08em; }

/* Placeholders: obvious on purpose */
.ph { background: #FFF3C4; border: 1.5px dashed #C99A00; color: #5A4500; border-radius: 6px; padding: 0 .35em; font-weight: 600; white-space: normal; }
.section--navy .ph { background: #FFE89A; color: #3B2F00; }
.ph-box { background: #FFF8DC; border: 2px dashed #C99A00; border-radius: var(--radius); padding: 18px 20px; color: #5A4500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--donate { background: var(--gold); color: var(--navy); }
.btn--donate:hover { background: var(--gold-dk); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.section--navy .btn--ghost, .hero .btn--ghost { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.ext::after { content: "↗"; font-size: .9em; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: block; flex: 0 1 auto; }
.brand img { width: clamp(210px, 26vw, 300px); height: auto; }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 10px; min-height: 48px; padding: 6px 14px; font: 700 1rem var(--body); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1.02rem; border-radius: 8px; }
.nav a:hover { background: var(--sand); }
.nav a[aria-current="page"] { color: var(--teal-text); box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
.nav .btn--donate { margin-left: 8px; padding: 10px 22px; min-height: 48px; }
.nav .btn--donate:hover { background: var(--gold-dk); }

.mobile-donate { display: none !important; min-height: 46px; padding: 8px 18px; font-size: 1rem; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 18px; gap: 2px; }
  .nav a { padding: 14px 12px; font-size: 1.15rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--teal); background: var(--sand); }
  .nav .btn--donate { margin: 10px 0 0; }
  .header-in { min-height: 72px; }
  .mobile-donate { display: inline-flex !important; }
}
.header-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 440px) { .brand img { width: 150px; } .mobile-donate { padding: 8px 14px; min-height: 44px; } .nav-toggle { padding: 6px 10px; min-height: 44px; } .header-actions { gap: 8px; } .header-in { gap: 10px; } }
@media (max-width: 340px) { .nav-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,29,47,.92) 0%, rgba(13,29,47,.78) 42%, rgba(13,29,47,.25) 100%); }
.hero__in { position: relative; z-index: 1; padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 120px); max-width: 640px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--teal-lt); }
.hero p { font-size: 1.28rem; color: #E3EAF2; }
.hero__credit { position: absolute; right: 12px; top: 10px; z-index: 1; font-size: .78rem; color: rgba(255,255,255,.85); }
@media (max-width: 700px) { .hero__img { height: 300px; object-position: 40% 50%; } .hero::after { background: linear-gradient(180deg, rgba(13,29,47,0) 0px, rgba(13,29,47,.25) 160px, rgba(13,29,47,1) 300px, var(--navy) 100%); } .hero__in { padding-top: 230px; } }

/* Page hero (inner pages) */
.page-hero { background: var(--sand); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 340px; background: url("../img/whf-icon.svg") center/contain no-repeat; opacity: .06; }
.page-hero h1 { margin-bottom: .3em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -54px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; border-top: 5px solid var(--teal); }
.stat__num { font-family: var(--head); font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--navy); line-height: 1.05; display: block; }
.stat__label { color: var(--muted); font-size: 1rem; line-height: 1.4; display: block; margin-top: 6px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; margin-top: -36px; } }

/* Grids and cards */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid #EEE7D8; }
.card__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card__meta { font-size: .92rem; font-weight: 700; color: var(--teal-text); letter-spacing: .04em; margin-bottom: .4rem; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: 1.05rem; }
.card .more { margin-top: auto; font-weight: 700; }
.tag { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--sand); color: var(--navy); padding: 4px 10px; border-radius: 999px; margin-right: 6px; }
.amount { font-family: var(--head); font-size: 1.6rem; color: var(--navy); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; }
.photo-stack img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
figcaption, .caption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* Draw steps */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 24px 22px 22px 22px; counter-increment: s; position: relative; }
.steps li::before { content: counter(s); font-family: var(--head); font-size: 2.4rem; color: var(--teal-lt); display: block; line-height: 1; margin-bottom: 10px; }
.steps strong { color: #fff; display: block; font-size: 1.15rem; margin-bottom: 4px; }
.section--sand .steps li, .steps--light li { background: #fff; border-color: var(--line); }
.steps--light li::before { color: var(--teal); }
.steps--light strong { color: var(--navy); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.fine { font-size: .95rem; opacity: .9; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 36px; position: relative; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 22px; height: 22px; background: url("../img/whf-icon.svg") center/contain no-repeat; }

/* Priority / progress */
.priority { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); border-left: 6px solid var(--gold); }
.meter { height: 16px; background: var(--sand-2); border-radius: 999px; overflow: hidden; margin: 14px 0 8px; }
.meter span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(45deg, #E8C440 0 10px, #F5D46A 10px 20px); }
.priority-list { list-style: none; padding: 0; margin: 18px 0 0; }
.priority-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.priority-list b { font-family: var(--head); font-size: 1.3rem; color: var(--navy); font-weight: 400; white-space: nowrap; }

/* News list */
.news-item { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; }
.news-item img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.news-item time { font-weight: 700; color: var(--teal-text); font-size: .95rem; }
.news-item h2 { font-size: 1.6rem; margin: .2em 0 .4em; }
.news-item p { color: var(--muted); }
@media (max-width: 720px) { .news-item { grid-template-columns: 1fr; gap: 14px; } }
.news-noimg { grid-template-columns: 1fr; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding: 0 0 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 86px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--sand); }
.timeline .yr { font-family: var(--head); font-size: 1.55rem; color: var(--navy); line-height: 1.2; }
.timeline .tx { padding-left: 14px; }
@media (max-width: 560px) { .timeline::before { left: 7px; } .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 34px; } .timeline li::before { left: 1px; } .timeline .tx { padding-left: 0; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.values div { background: #fff; border-radius: 12px; padding: 20px; text-align: center; font-family: var(--head); font-size: 1.35rem; color: var(--navy); border-bottom: 4px solid var(--teal); }
@media (max-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }

/* Quote */
.quote { font-family: var(--head); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.35; color: var(--navy); margin: 0; }
.quote cite { display: block; font-family: var(--body); font-style: normal; font-size: 1rem; color: var(--muted); margin-top: 14px; }

/* Thanks wall */
.thanks { columns: 3 220px; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.thanks li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dotted var(--line); font-size: 1.02rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal-text); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list svg { width: 26px; height: 26px; color: var(--teal); margin-top: 4px; }
.contact-list b { display: block; color: var(--navy); }
.board { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.board li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.board .role { display: block; font-size: .95rem; color: var(--muted); }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy) 0%, #183553 100%); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; left: -50px; bottom: -80px; z-index: 0; width: 260px; height: 260px; background: url("../img/whf-icon.svg") center/contain no-repeat; opacity: .12; }
.cta h2 { color: #fff; margin-bottom: .2em; }
.cta p { color: #DCE5EF; margin: 0; }
.cta > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0E1F31; color: #C9D4E0; padding: 64px 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-family: var(--body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 1em; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5em; }
.footer-logo { width: 260px; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .92rem; color: #A9B7C6; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.narrow { max-width: 780px; }
.policy h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 1.8em 0 .5em; }
.policy h2:first-of-type { margin-top: 1em; }
.note { font-size: .95rem; color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 1rem; }

/* Let grid columns shrink below their content width (long email addresses on phones) */
.split > *, .grid > *, .contact-list li > div, .footer-grid > * { min-width: 0; }
.contact-list a, .footer-grid a, .card a { overflow-wrap: anywhere; }
.steps li, .values div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 380px) { .values div { font-size: 1.1rem; padding: 16px 8px; } }

/* Social icons (footer) */
.social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 12px; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); transition: transform .15s, background .15s, color .15s; }
.social-btn--fb { background: var(--gold); color: var(--navy); }
.social-btn:hover { transform: translateY(-2px); background: var(--gold-dk); color: var(--navy); }
.site-footer .social-btn { text-decoration: none; }
