/* ==========================================================================
   Blue & White Impact Foundation, Inc. — site styles
   Colors live in the :root tokens below. Change them here, nowhere else.
   ========================================================================== */

@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-weight: 700; font-display: swap; src: url("../fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Brand palette — royal blue, pure white, navy, silver */
  --navy-950: #050F24;
  --navy-900: #081936;
  --navy:     #0A1F44;
  --navy-700: #10306A;
  --royal:    #1450B4;   /* primary brand blue (7.4:1 on white) */
  --royal-700:#0F45A0;   /* hover / seal ink */
  --royal-300:#8FB3F0;   /* royal on dark backgrounds */
  --royal-50: #EAF1FC;
  --silver:     #C4CBD6;
  --silver-200: #E3E7EE;
  --silver-100: #F0F2F6;
  --silver-600: #5A6475; /* secondary text (AA on white and ice) */
  --ice:   #F4F7FC;
  --white: #FFFFFF;
  --ink:   #1B2A44;      /* body text */

  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-caps: "Cinzel", "Libre Baskerville", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(8,25,54,.06), 0 8px 28px rgba(8,25,54,.08);
  --shadow-lg: 0 2px 4px rgba(8,25,54,.08), 0 22px 50px rgba(8,25,54,.16);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --silver-rule: linear-gradient(90deg, transparent, var(--silver) 20%, #fff 50%, var(--silver) 80%, transparent);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.65; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--royal-700); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
hr { border: 0; height: 1px; background: var(--silver-200); margin: 2rem 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section-sm { padding: calc(var(--section) * .6) 0; }
.bg-ice { background: var(--ice); }
.bg-navy { background: var(--navy); color: #DDE4F0; }
.bg-royal { background: var(--royal); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.center { text-align: center; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--silver-600); }
.on-dark .lead { color: #C9D3E4; }
.muted { color: var(--silver-600); }
.small { font-size: .95rem; }

/* Eyebrow — Cinzel caps echoing the seal lettering */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-caps); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--royal); margin-bottom: 1rem; }
.eyebrow::before { content: "★"; font-size: .7em; letter-spacing: 0; }
.on-dark .eyebrow, .hero .eyebrow { color: var(--silver); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Silver double-rule divider, like the seal's rings */
.rule { height: 6px; border: 0; margin: 0; background:
  linear-gradient(var(--silver), var(--silver)) top/100% 1px no-repeat,
  linear-gradient(var(--silver), var(--silver)) bottom/100% 1px no-repeat; }
.star-rule { display: flex; align-items: center; gap: 14px; color: var(--silver); font-size: .8rem; margin: 0 auto 1.25rem; max-width: 220px; }
.star-rule::before, .star-rule::after { content: ""; flex: 1; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.5em; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--royal); color: #fff; box-shadow: 0 6px 18px rgba(20,80,180,.28); }
.btn-primary:hover { background: var(--royal-700); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--royal-50); color: var(--navy); }
.btn-outline { background: transparent; color: var(--royal); border-color: var(--royal); }
.btn-outline:hover { background: var(--royal); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }
.btn svg { width: 1.1em; height: 1.1em; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--navy-950); color: #C9D3E4; font-size: .88rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility .u-left { display: flex; gap: 18px; align-items: center; }
.utility .u-sep { color: var(--silver-600); }
@media (max-width: 720px) { .utility .u-hide-sm { display: none; } .utility .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--silver-200); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(8,25,54,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); text-decoration: none; }
.brand img { width: 58px; height: 58px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-caps); font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; color: var(--royal); }
.brand-sub { font-family: var(--font-caps); font-weight: 600; font-size: .74rem; letter-spacing: .2em; color: var(--navy); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 12px; color: var(--navy); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 8px; }
.nav a:not(.btn):hover { color: var(--royal); background: var(--royal-50); }
.nav a[aria-current="page"] { color: var(--royal); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--royal); border-radius: 2px; }
.nav .btn { margin-left: 10px; color: #fff; border-radius: 999px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--silver-200); background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); flex-direction: column; align-items: stretch; gap: 2px; padding: 96px 20px 28px; background: #fff; box-shadow: var(--shadow-lg); transform: translateX(105%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; z-index: 90; overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
  .nav a { padding: 14px 14px; font-size: 1.1rem; border-bottom: 1px solid var(--silver-100); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav .btn { margin: 18px 0 0; border-radius: 999px; border-bottom: 0; }
  .nav-toggle { position: relative; z-index: 95; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(5,15,36,.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
  .brand img { width: 50px; height: 50px; }
}
@media (max-width: 420px) { .brand-name { font-size: .98rem; } .brand-sub { font-size: .66rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(5,15,36,.94) 0%, rgba(8,25,54,.86) 38%, rgba(10,31,68,.45) 70%, rgba(20,80,180,.25) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--royal), var(--royal-300) 50%, var(--silver)); }
.hero .wrap { padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 12vw, 150px); }
.hero-inner { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--royal-300); }
.hero p { font-size: clamp(1.15rem, 1.7vw, 1.35rem); color: #DCE4F2; max-width: 600px; margin-bottom: 2rem; }
.hero p.eyebrow, .page-hero p.eyebrow { font-size: .85rem; color: var(--silver); margin-bottom: 1rem; max-width: none; }
.hero-seal { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 520px; opacity: .10; z-index: -1; pointer-events: none; }
@media (max-width: 900px) { .hero-seal { width: 380px; right: -140px; } }

.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero .hero-media img { object-position: center 35%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5,15,36,.93) 0%, rgba(8,25,54,.82) 50%, rgba(10,31,68,.5) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--royal), var(--royal-300) 50%, var(--silver)); }
.page-hero .wrap { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 820px; }
.page-hero p { color: #DCE4F2; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 680px; margin: 0; }
.crumbs { font-size: .9rem; color: var(--silver); margin-bottom: 1rem; }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--silver-200); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { margin: 0; display: flex; align-items: center; gap: 12px; font-size: .98rem; color: var(--silver-600); line-height: 1.35; }
.trust strong { display: block; color: var(--navy); font-size: 1.02rem; }
.trust .ti { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--royal-50); color: var(--royal); box-shadow: inset 0 0 0 1px var(--silver-200); }
.trust .ti svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Framed photo with silver double ring offset */
.photo-frame { position: relative; isolation: isolate; }
.photo-frame img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame.tall img { aspect-ratio: 4 / 5; }
.photo-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--silver); border-radius: calc(var(--radius) + 4px); z-index: -1; }
.photo-frame .badge { position: absolute; left: -14px; bottom: 26px; background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .98rem; line-height: 1.3; max-width: 240px; border-left: 4px solid var(--royal-300); }
.photo-frame .badge span { display: block; font-family: var(--font-caps); font-size: .75rem; letter-spacing: .16em; color: var(--silver); }
@media (max-width: 600px) { .photo-frame::before { inset: 10px -8px -10px 10px; } .photo-frame .badge { left: 10px; } }
.photo-stack { position: relative; isolation: isolate; }
.photo-stack .p2 { position: absolute; width: 46%; right: -4%; bottom: -12%; border: 6px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 600px) { .photo-stack .p2 { display: none; } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--silver-200); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--silver); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--silver-600); }
.card p:last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; }
.icon-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; color: var(--royal); background: #fff; box-shadow: 0 0 0 2px var(--royal), 0 0 0 6px #fff, 0 0 0 7px var(--silver); }
.icon-ring svg { width: 30px; height: 30px; }
.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-media .card-body { padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; flex: 1; }
.on-dark .card { background: rgba(255,255,255,.04); border-color: rgba(196,203,214,.25); box-shadow: none; }
.on-dark .card p { color: #C9D3E4; }
.on-dark .icon-ring { background: transparent; color: #fff; box-shadow: 0 0 0 2px var(--royal-300), 0 0 0 6px var(--navy), 0 0 0 7px rgba(196,203,214,.5); }

/* ---------- Mission quote ---------- */
.mission { position: relative; text-align: center; overflow: hidden; }
.mission blockquote { margin: 0 auto; max-width: 900px; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.45; color: #fff; }
.mission cite { display: block; margin-top: 1.25rem; font-style: normal; font-family: var(--font-caps); font-size: .85rem; letter-spacing: .18em; color: var(--silver); }
.mission .bg-seal { position: absolute; width: 640px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .06; pointer-events: none; }

/* ---------- Steps / timeline ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--silver) 0 8px, transparent 8px 14px); }
.steps li { position: relative; text-align: center; margin: 0; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--royal); color: #fff; font-family: var(--font-display); font-size: 1.3rem; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--silver); position: relative; }
.bg-ice .steps li::before { box-shadow: 0 0 0 6px var(--ice), 0 0 0 7px var(--silver); }
.steps h3 { font-size: 1.15rem; margin-bottom: .3em; }
.steps p { color: var(--silver-600); font-size: 1rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; text-align: left; gap: 28px; } .steps::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--silver) 0 8px, transparent 8px 14px); } .steps li { text-align: left; padding-left: 80px; min-height: 56px; } .steps li::before { position: absolute; left: 0; top: 0; margin: 0; } }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checklist li { position: relative; padding-left: 36px; margin-bottom: .75em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--royal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.on-dark .checklist li::before { background-color: var(--royal-300); }

/* ---------- Notice ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--royal-50); border: 1px solid #C9DAF6; color: var(--navy); }
.notice svg { flex: none; width: 26px; height: 26px; color: var(--royal); margin-top: 2px; }
.notice p { margin: 0; }
.notice strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--silver-200); }
.faq details { border-bottom: 1px solid var(--silver-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--silver); color: var(--royal); font-family: var(--font-body); font-size: 1.4rem; font-weight: 400; transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--royal-50); }
.faq summary:hover { color: var(--royal); }
.faq .faq-body { padding: 0 4px 22px; color: var(--silver-600); max-width: 760px; }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Giving tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }
.tier { position: relative; background: #fff; border: 1px solid var(--silver-200); border-radius: var(--radius); padding: 28px 24px 26px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tier .amt { font-family: var(--font-display); font-size: 2.4rem; color: var(--royal); line-height: 1; margin: 6px 0 10px; }
.tier .amt sup { font-size: .5em; vertical-align: .9em; margin-right: 2px; }
.tier .name { font-family: var(--font-caps); font-weight: 700; letter-spacing: .14em; font-size: .82rem; color: var(--navy); text-transform: uppercase; }
.tier p { color: var(--silver-600); font-size: 1rem; margin: 0 0 18px; }
.tier .btn { margin-top: auto; }
.tier.featured { background: var(--navy); border-color: var(--navy); color: #C9D3E4; transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tier.featured .amt { color: #fff; } .tier.featured .name { color: var(--silver); } .tier.featured p { color: #C9D3E4; }
.tier .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--royal); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 980px) { .tier.featured { transform: none; } }

/* ---------- Info list (EIN etc.) ---------- */
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; font-size: 1.02rem; }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { margin: 0; color: var(--silver-600); }
.on-dark .facts dt { color: #fff; } .on-dark .facts dd { color: #C9D3E4; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

.panel { background: #fff; border: 1px solid var(--silver-200); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.panel-navy { background: var(--navy); border-color: var(--navy); color: #C9D3E4; }
.panel-navy h2, .panel-navy h3 { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, var(--royal-700) 0%, var(--royal) 55%, #2A68CC 100%); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.14), transparent 45%), radial-gradient(circle at 10% 110%, rgba(5,15,36,.35), transparent 50%); }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #E3ECFB; margin: 0; font-size: 1.15rem; max-width: 640px; }
.cta-band .eyebrow { color: #fff; opacity: .85; }
.cta-band .cta-seal { position: absolute; right: 4%; top: 50%; width: 300px; transform: translateY(-50%); opacity: .09; z-index: -1; }
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--silver-100); }
.gallery button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.gallery button:focus-visible { outline: 3px solid var(--royal); outline-offset: -3px; }
.gallery img { width: 100%; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: .92rem; font-weight: 600; background: linear-gradient(transparent, rgba(5,15,36,.85)); pointer-events: none; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5,15,36,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; width: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: #DCE4F2; margin-top: 12px; font-size: 1rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); } .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ---------- Pillars (home) ---------- */
.pillar-num { font-family: var(--font-caps); font-weight: 700; color: var(--silver); font-size: .9rem; letter-spacing: .2em; }

/* ---------- Heritage timeline ---------- */
.heritage { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--silver); }
.heritage li { position: relative; padding: 0 0 26px 30px; margin: 0; }
.heritage li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--royal); }
.heritage .yr { font-family: var(--font-caps); font-weight: 700; letter-spacing: .12em; color: var(--royal); font-size: .95rem; }
.heritage p { margin: .2em 0 0; color: var(--silver-600); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.field .req { color: var(--royal); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--silver); border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(20,80,180,.15); }
.field .err { display: none; color: #B42318; font-size: .92rem; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; }
.field.invalid .err { display: block; }
.form-status { font-weight: 600; min-height: 1.5em; margin: 0; }
.form-status.ok { color: #067647; } .form-status.bad { color: #B42318; }
.hp { position: absolute; left: -9999px; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; font: inherit; min-height: 50px; padding: 12px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; }
.inline-form input::placeholder { color: #B9C6DC; }
.inline-form input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }

/* ---------- Contact cards ---------- */
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--silver-200); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ti { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--royal-50); color: var(--royal); display: grid; place-items: center; }
.contact-item .ti svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1.05rem; margin: 0 0 2px; }
.contact-item p { margin: 0; color: var(--silver-600); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--silver-200); box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--silver-100); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Partner band ---------- */
.partner { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.partner-mark { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 2.6rem; letter-spacing: .04em; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--silver); }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; text-align: center; } .partner-mark { margin: 0 auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9C6DC; font-size: 1rem; position: relative; }
.site-footer::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--royal), var(--royal-300) 50%, var(--silver)); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: clamp(56px, 7vw, 80px) 0 40px; }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { width: 96px; height: 96px; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; }
.site-footer h2 { font-family: var(--font-caps); font-size: .85rem; letter-spacing: .18em; color: #fff; margin-bottom: 16px; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #DCE4F2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-legal { border-top: 1px solid rgba(196,203,214,.18); padding: 24px 0 32px; font-size: .9rem; color: #97A6BF; display: grid; gap: 10px; }
.footer-legal .fl-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-legal a { color: #C9D3E4; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(196,203,214,.35); }
.social a:hover { background: var(--royal); border-color: var(--royal); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Prose (privacy, credits) ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1rem 0 2rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--silver-200); vertical-align: top; }
.prose th { color: var(--navy); background: var(--ice); }
.table-scroll { overflow-x: auto; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf img { width: 160px; margin: 0 auto 24px; }

@media print {
  .utility, .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  .hero, .page-hero { color: #000; background: none; }
  .hero::before, .page-hero::before, .hero-media { display: none; }
  .hero h1, .page-hero h1, .hero p, .page-hero p { color: #000; }
}
.on-dark .form-status.ok { color: #A6F4C5; } .on-dark .form-status.bad { color: #FDA29B; }
.cta-band p.eyebrow { font-size: .85rem; max-width: none; margin-bottom: 1rem; }
.nav .btn[aria-current="page"] { color: #fff; background: var(--navy); }
.nav .btn[aria-current="page"]::after { display: none; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.footer-tagline { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.15rem; line-height: 1.4; color: #fff; margin-bottom: .6rem; }
