/* International Institute for Social Impact — site styles
   Palette from the logo: navy, gold, green and orange on white. */

:root {
  --navy: #1c3a6b;
  --navy-900: #112747;
  --navy-800: #16305a;
  --navy-700: #27508f;
  --navy-100: #e6ecf5;
  --blue: #3a74c2;
  --gold: #f2b705;
  --gold-600: #c99400;
  --gold-700: #9c7300;
  --gold-100: #fff4cf;
  --green: #2f8f3a;
  --green-100: #e6f3e7;
  --orange: #e67a1e;
  --ink: #1f2933;
  --muted: #52606d;
  --soft: #7b8794;
  --line: #e1e6ec;
  --paper: #f5f7fa;
  --cream: #fbf7ee;
  --white: #ffffff;
  --danger: #b42318;
  --font-body: "Source Sans 3", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-display: "Merriweather", Georgia, "Times New Roman", serif;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 10px 30px rgba(17, 39, 71, 0.12);
  --shadow-sm: 0 2px 8px rgba(17, 39, 71, 0.08);
  --container: 1180px;
  --gutter: 20px;
  --header-h: 84px;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--navy-900); font-family: var(--font-display); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.container--text { max-width: 760px; }
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255, 255, 255, 0.86); }
@media (min-width: 900px) { .section { padding: 88px 0; } .section--tight { padding: 56px 0; } }

.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); }
.section--navy .eyebrow { color: var(--gold); }
.section-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.005em; }
.section-lead { margin-top: 16px; max-width: 720px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.section--navy .section-lead { color: rgba(255, 255, 255, 0.86); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.section-head--row > div { max-width: 720px; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); }
.prose { font-size: 18px; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { margin: 1.6em 0 0.6em; font-size: 26px; }
.prose h3 { margin: 1.4em 0 0.5em; font-size: 21px; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.3em; }
.prose li { margin-bottom: 0.4em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.text-center { text-align: center; }

.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.text-link:hover { color: var(--navy-700); text-decoration-color: currentColor; }
.section--navy .text-link { color: #fff; text-decoration-color: var(--gold); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: #ffc61a; border-color: #ffc61a; color: var(--navy-900); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--blue:hover { background: #2f63a8; border-color: #2f63a8; color: #fff; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy-100); color: var(--navy); }
.btn--outline-white { background: transparent; border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--navy); }
.btn--white:hover { background: var(--navy-100); border-color: var(--navy-100); color: var(--navy); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 13px; }
.btn--lg { min-height: 58px; padding: 14px 34px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }

/* ---------- utility bar + header ---------- */

.topbar { background: var(--navy-900); color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; list-style: none; }
.topbar__info a { color: inherit; text-decoration: none; }
.topbar__info a:hover { color: #fff; text-decoration: underline; }
.topbar__links { display: flex; align-items: center; gap: 14px; list-style: none; }
.topbar__links a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 38px; }
.topbar__links a:hover { color: #fff; }
.social { display: inline-flex; align-items: center; gap: 2px; list-style: none; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; }
.social a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 760px) { .topbar__info li:nth-child(n+2) { display: none; } .topbar__links .topbar__faq { display: none; } }

.header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand__logo { width: 58px; height: 58px; border-radius: 50%; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-body); }
.brand__name strong { font-size: 17px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__name strong em { font-style: normal; color: var(--gold-600); }
.brand__name span { font-size: 13.5px; font-weight: 600; font-style: italic; color: var(--navy-700); letter-spacing: 0.04em; }
.brand__name span b { font-weight: 800; font-style: normal; text-transform: uppercase; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-900); text-decoration: none;
  border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm);
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.18s; }
.nav__item:hover > .nav__link::after, .nav__link[aria-current="page"]::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 250px; margin: 0; padding: 10px 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nav__item:hover > .nav__menu, .nav__item.is-open > .nav__menu, .nav__item:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 10px 18px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav__menu a:hover, .nav__menu a:focus { background: var(--paper); color: var(--navy); }
.nav__menu a[aria-current="page"] { color: var(--navy); background: var(--gold-100); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__donate { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 6px 10px; background: none; border: 2px solid var(--navy); border-radius: var(--radius-sm); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header__donate { display: inline-flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 1180px) and (min-width: 1024px) { .nav__link { padding: 8px 9px; font-size: 12.5px; } }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 39, 71, 0.55); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); overflow-y: auto; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; color: var(--navy); cursor: pointer; }
.drawer__close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.drawer__close:hover { background: var(--paper); }
.drawer__nav { padding: 10px 8px 20px; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__group > a, .drawer__group > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 12px; background: none; border: 0; text-align: left; font-size: 17px; font-weight: 700; color: var(--navy-900); text-decoration: none; cursor: pointer; }
.drawer__group > button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform 0.15s; }
.drawer__group.is-open > button svg { transform: rotate(180deg); }
.drawer__sub { display: none; list-style: none; padding: 0 0 10px; }
.drawer__group.is-open .drawer__sub { display: block; }
.drawer__sub a { display: block; padding: 10px 12px 10px 26px; font-size: 16px; color: var(--muted); text-decoration: none; }
.drawer__sub a:hover, .drawer__sub a[aria-current="page"] { color: var(--navy); }
.drawer__cta { margin: 20px 12px 0; }
.drawer__contact { padding: 18px 20px; margin-top: auto; background: var(--paper); font-size: 15px; color: var(--muted); }
.drawer__contact a { color: var(--navy); }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 15% 20%, rgba(242, 183, 5, 0.22), transparent 60%), radial-gradient(700px 400px at 90% 90%, rgba(58, 116, 194, 0.35), transparent 60%); pointer-events: none; }
.hero .container { position: relative; display: grid; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
.hero__copy .eyebrow { color: var(--gold); }
.hero__title { font-family: var(--font-body); font-size: clamp(38px, 6vw, 68px); font-weight: 900; line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { margin-top: 20px; max-width: 560px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; list-style: none; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 16 / 13; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.hero__media::after { content: ""; position: absolute; inset: 18px -14px -14px 18px; z-index: -1; border: 3px solid var(--gold); border-radius: var(--radius); opacity: 0.9; }
.hero__badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255, 255, 255, 0.95); color: var(--navy-900); border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; box-shadow: var(--shadow-sm); }
.hero__badge img { width: 34px; height: 34px; border-radius: 50%; }
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 84px; }
  .hero__media { margin-right: 14px; }
}

.trust { background: var(--gold); color: var(--navy-900); font-size: 15px; font-weight: 600; }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.trust .sep { opacity: 0.45; }
.trust a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-900); font-weight: 700; }

/* ---------- pillars (what we do) ---------- */

.pillars { display: grid; gap: 32px; list-style: none; }
.pillar__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pillar:hover .pillar__media img { transform: scale(1.03); }
.pillar__title { margin-top: 18px; font-size: 24px; }
.pillar__text { margin-top: 10px; color: var(--muted); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ---------- stats ---------- */

.stats { display: grid; gap: 36px; list-style: none; text-align: center; }
.stat__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold-100); color: var(--navy); }
.stat__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stat__value { margin-top: 18px; font-family: var(--font-display); font-size: clamp(44px, 6vw, 64px); font-weight: 900; line-height: 1; color: var(--navy); }
.stat__label { margin-top: 10px; font-size: 19px; font-weight: 700; color: var(--navy-900); }
.stat__text { margin: 8px auto 0; max-width: 300px; color: var(--muted); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- donate band ---------- */

.donate-band { position: relative; overflow: hidden; background: var(--navy-800); color: #fff; }
.donate-band__bg { position: absolute; inset: 0; }
.donate-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.donate-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 39, 71, 0.88), rgba(17, 39, 71, 0.95)); }
.donate-band .container { position: relative; display: grid; gap: 36px; padding-top: 64px; padding-bottom: 64px; }
.donate-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.donate-band p { color: rgba(255, 255, 255, 0.86); }
.donate-band .note { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 900px) { .donate-band .container { grid-template-columns: 1fr 420px; align-items: center; gap: 64px; padding-top: 88px; padding-bottom: 88px; } }
@media (min-width: 900px) { .donate-band__bg { background-position: right; } }

/* give form (home band, donate page, popup) */
.give { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.give__title { font-size: 20px; }
.give__sub { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 16px; padding: 4px; background: var(--paper); border-radius: 999px; }
.seg button { min-height: 42px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.amounts button { min-height: 50px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 19px; font-weight: 700; color: var(--navy-900); cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.amounts button:hover { border-color: var(--navy-700); }
.amounts button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.amount-other { position: relative; margin-top: 10px; }
.amount-other span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.amount-other input { width: 100%; min-height: 50px; padding: 10px 14px 10px 30px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-size: 18px; font-weight: 600; }
.amount-other input:focus { border-color: var(--navy); outline: none; }
.give__hint { margin: 12px 0 0; min-height: 22px; font-size: 15px; color: var(--muted); }
.give .btn { margin-top: 16px; }
.give__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.give__secure svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2; }

/* ---------- cards (campaign appeals) ---------- */

.cards { display: grid; gap: 24px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; background: var(--gold); color: var(--navy-900); border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.card__meta { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-700); }
.card__title { font-size: 21px; line-height: 1.25; }
.card__title a { color: var(--navy-900); text-decoration: none; }
.card__title a:hover { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.card__text { margin: 10px 0 16px; color: var(--muted); font-size: 16px; }
.card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.progress { height: 10px; overflow: hidden; background: var(--navy-100); border-radius: 999px; }
.progress__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #58b35f); border-radius: 999px; }
.progress__legend { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.progress__legend strong { color: var(--navy-900); font-size: 17px; }
.progress__pct { float: right; font-weight: 700; color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 6px 16px; border: 1px solid #c7d0dc; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.search { display: flex; width: 100%; max-width: 380px; }
.search input { flex: 1; min-height: 46px; padding: 8px 14px; border: 1px solid #c7d0dc; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.search button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
.empty { padding: 28px; border: 1px dashed #c7d0dc; border-radius: var(--radius); color: var(--muted); text-align: center; }

/* ---------- gallery + quote band ---------- */

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
.gallery li:first-child { grid-column: span 2; }
.gallery button { display: block; position: relative; width: 100%; padding: 0; border: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.4s; }
.gallery li:first-child img { aspect-ratio: 16 / 10; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(17, 39, 71, 0.8)); color: #fff; font-size: 14px; font-weight: 600; text-align: left; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 16px; } .gallery li:first-child { grid-row: span 2; } .gallery li:first-child img { aspect-ratio: auto; height: 100%; } }
.quote-band { background: var(--navy); color: #fff; }
.quote-band .container { display: grid; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
.quote-band blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; }
.quote-band p { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 18px; color: rgba(255, 255, 255, 0.86); }
@media (min-width: 900px) { .quote-band .container { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 72px; padding-top: 80px; padding-bottom: 80px; } .quote-band p { padding: 0 0 0 36px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.25); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(17, 39, 71, 0.9); }
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(960px, 100%); }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { margin-top: 12px; color: #fff; text-align: center; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- steps ---------- */

.steps { display: grid; gap: 28px; list-style: none; counter-reset: step; }
.step { padding-top: 18px; border-top: 3px solid var(--navy); }
.step__num { font-family: var(--font-display); font-size: 36px; font-weight: 900; line-height: 1; color: var(--gold-600); }
.step__title { margin-top: 12px; font-size: 20px; font-family: var(--font-body); font-weight: 800; }
.step__text { margin-top: 8px; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } .steps--four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps--four { grid-template-columns: repeat(4, 1fr); } }

/* ---------- split band (share a story, about team) ---------- */

.split { display: grid; gap: 32px; }
.split__media { overflow: hidden; border-radius: var(--radius); background: var(--line); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } .split--media-right .split__media { order: 2; } .split__media img { aspect-ratio: auto; min-height: 420px; } }
.choice { display: grid; gap: 12px; margin-top: 24px; }
.choice a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; color: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; box-shadow: var(--shadow-sm); }
.choice a:hover { border-color: var(--gold); transform: translateY(-1px); }
.choice svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--navy-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.choice small { display: block; font-weight: 500; color: var(--muted); }
@media (min-width: 520px) { .choice { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ (details) ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 18px; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold-100); color: var(--navy); font-size: 20px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding: 0 0 20px; max-width: 720px; color: var(--muted); }
.faq .faq__body p:last-child { margin-bottom: 0; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.link-list { list-style: none; margin-top: 12px; }
.link-list li { display: block; }

/* ---------- newsletter + footer ---------- */

.newsletter { background: var(--gold); color: var(--navy-900); }
.newsletter .container { display: grid; gap: 18px; padding-top: 36px; padding-bottom: 36px; }
.newsletter h2 { font-size: 26px; color: var(--navy-900); }
.newsletter p { margin: 6px 0 0; color: rgba(17, 39, 71, 0.8); }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1 1 240px; min-height: 50px; padding: 8px 16px; border: 2px solid transparent; border-radius: var(--radius-sm); font-size: 16px; }
.newsletter input:focus { border-color: var(--navy); outline: none; }
.newsletter .form__note { flex-basis: 100%; margin: 0; font-size: 14px; }
@media (min-width: 900px) { .newsletter .container { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }

.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 36px; padding: 56px 0 40px; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__name span { color: rgba(255, 255, 255, 0.8); }
.footer__brand p { margin-top: 16px; max-width: 360px; }
.footer h2 { margin-bottom: 14px; font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.footer ul { list-style: none; }
.footer li { padding: 5px 0; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__nav ul { columns: 2; column-gap: 24px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 14px; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__bottom .social { gap: 4px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1.5fr; } }

/* ---------- internal page header ---------- */

.page-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head .container { padding-top: 44px; padding-bottom: 44px; }
.page-head h1 { max-width: 800px; font-size: clamp(32px, 4.2vw, 50px); }
.page-head .lead { max-width: 760px; margin-top: 16px; }
.page-head--navy { background: var(--navy); color: #fff; border: 0; }
.page-head--navy h1 { color: #fff; }
.page-head--navy .lead { color: rgba(255, 255, 255, 0.86); }
.page-head--navy .eyebrow { color: var(--gold); }
.page-head--photo { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.page-head--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-head--photo .container { position: relative; padding-top: 72px; padding-bottom: 72px; }
.page-head--photo h1 { color: #fff; }
.page-head--photo .lead { color: rgba(255, 255, 255, 0.9); }
.page-head--photo .eyebrow { color: var(--gold); }
.crumbs { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.crumbs a { color: inherit; }
.page-head--navy .crumbs, .page-head--photo .crumbs { color: rgba(255, 255, 255, 0.75); }
@media (min-width: 900px) { .page-head .container { padding-top: 64px; padding-bottom: 64px; } }

/* ---------- info blocks ---------- */

.records { margin: 32px 0; border-top: 1px solid var(--line); }
.records div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.records dt { color: var(--muted); }
.records dd { margin: 0; font-weight: 700; color: var(--navy-900); }
@media (min-width: 640px) { .records div { grid-template-columns: 1fr 1fr; } }
.panel { padding: 28px; background: var(--paper); border-radius: var(--radius); }
.panel--gold { background: var(--gold-100); }
.panel--navy { background: var(--navy); color: #fff; }
.panel--navy h2, .panel--navy h3 { color: #fff; }
.panel--navy p { color: rgba(255, 255, 255, 0.86); }
.panel h2, .panel h3 { font-size: 22px; }
.panel .btn { margin-top: 14px; }
.panel + .panel { margin-top: 20px; }
.icon-grid { display: grid; gap: 28px; list-style: none; }
.icon-grid li { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.icon-grid .icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold-100); color: var(--navy); }
.icon-grid .icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-grid h3 { margin-top: 16px; font-size: 21px; }
.icon-grid p { margin: 8px 0 0; color: var(--muted); }
.icon-grid .text-link { margin-top: 6px; }
@media (min-width: 680px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .icon-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.values { display: grid; gap: 16px; list-style: none; }
.values li { padding: 18px 20px; border-left: 4px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.values strong { display: block; font-size: 18px; color: var(--navy-900); }
@media (min-width: 680px) { .values { grid-template-columns: repeat(2, 1fr); } }
.topics { border-top: 1px solid var(--line); }
.topics > div { display: grid; gap: 12px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.topics h2 { font-size: 20px; }
.topics p { margin: 6px 0 0; color: var(--muted); }
@media (min-width: 720px) { .topics > div { grid-template-columns: 1fr auto; align-items: center; gap: 24px; } }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.contact-card { padding: 28px; background: var(--paper); border-radius: var(--radius); }
.contact-card h2 { font-size: 20px; }
.contact-card address { margin-top: 12px; font-style: normal; line-height: 1.8; }
.contact-card a { display: block; }

/* ---------- forms ---------- */

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label, .field > span { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--navy-900); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 16px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; }
.field small { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.radio-cards { display: grid; gap: 10px; }
.radio-cards label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; }
.radio-cards label:has(input:checked) { border-color: var(--navy); background: var(--navy-100); }
.radio-cards input { width: 20px; height: 20px; accent-color: var(--navy); }
@media (min-width: 640px) { .radio-cards { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 14px; color: var(--muted); }
.form__status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--green-100); color: #1f6b2a; font-weight: 600; }
.form__status.is-visible { display: block; }
.form__status--error { background: #fdecea; color: var(--danger); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; list-style: none; font-size: 15px; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- updates feed ---------- */

.updates { display: grid; gap: 28px; }
.update { display: grid; gap: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.update__media { margin: 0; background: var(--line); }
.update__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.update__body { padding: 22px 24px 24px; }
.update__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.update__tag { padding: 4px 10px; background: var(--gold-100); color: var(--navy); border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.update__title { font-size: 22px; }
.update__text { margin: 10px 0 6px; color: var(--muted); }
@media (min-width: 760px) { .update { grid-template-columns: 2fr 3fr; } .update__media { position: relative; min-height: 240px; } .update__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; } }

/* ---------- news ---------- */

.news-featured { display: grid; overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.news-featured__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-featured__body { padding: 28px; }
.news-featured__title { font-size: clamp(24px, 3vw, 34px); }
.news-featured__title a, .news-item__title a { color: var(--navy-900); text-decoration: none; }
.news-featured__title a:hover, .news-item__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.news__meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.news__category { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-700); }
.news__excerpt { margin: 10px 0 8px; color: var(--muted); }
.news-list { display: grid; gap: 32px; margin-top: 32px; }
.news-item__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }
.news-item__title { font-size: 22px; }
@media (min-width: 760px) { .news-featured { grid-template-columns: 1fr 1fr; } .news-featured__media img { height: 100%; aspect-ratio: auto; } .news-featured__body { padding: 40px; } .news-list { grid-template-columns: 1fr 1fr; gap: 40px; } }
.article { max-width: 760px; margin: 0 auto; }
.article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article__hero figcaption { margin-top: 10px; font-size: 14px; color: var(--soft); }
.article .prose { margin-top: 36px; }

/* ---------- campaign detail ---------- */

.campaign { display: grid; gap: 40px; }
.campaign__main { min-width: 0; }
.campaign__hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.campaign__side { align-self: start; }
.give--sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.give__progress { margin-top: 16px; }
.give__totals { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 0; }
.give__totals strong { font-size: 26px; color: var(--navy-900); }
.give__totals span { font-size: 14px; color: var(--muted); }
.give__facts { display: flex; gap: 20px; margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.use-of-funds { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.use-of-funds li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.use-of-funds span { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.organizer { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 18px; background: var(--paper); border-radius: var(--radius); }
.organizer img { width: 54px; height: 54px; border-radius: 50%; }
.organizer strong { display: block; color: var(--navy-900); }
.organizer span { font-size: 15px; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 14px; border: 1px solid #c7d0dc; border-radius: 999px; background: #fff; color: var(--navy-900); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--navy); }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.timeline { list-style: none; margin-top: 16px; border-left: 3px solid var(--gold); }
.timeline li { position: relative; padding: 0 0 20px 22px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; }
.timeline time { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-700); }
.timeline strong { display: block; margin-top: 2px; color: var(--navy-900); }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
@media (min-width: 960px) { .campaign { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } }

/* ---------- donate page ---------- */

.donate-layout { display: grid; gap: 40px; }
.ways { list-style: none; display: grid; gap: 14px; }
.ways li { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ways strong { display: block; font-size: 17px; color: var(--navy-900); }
.ways p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.donate-layout > .give { align-self: start; }
@media (min-width: 960px) { .donate-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }

/* big give form (donate page) */
.give--page { padding: 28px; }
.give--page .give__title { font-size: 26px; }
.give__steps { display: flex; gap: 6px; margin: 18px 0 8px; padding: 0; list-style: none; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.give__steps li { flex: 1; padding: 8px 0 10px; border-bottom: 3px solid var(--line); }
.give__steps li.is-active { color: var(--navy); border-color: var(--gold); }
.give__steps li.is-done { color: var(--green); border-color: var(--green); }
.give__panel { display: none; }
.give__panel.is-active { display: block; }
.give__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); font-size: 15px; }
.give__summary strong { font-size: 20px; color: var(--navy-900); }
.give__summary button { border: 0; background: none; color: var(--navy); font-weight: 700; text-decoration: underline; cursor: pointer; }
.give__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.give__nav .btn { margin-top: 0; }
.give__back { border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; text-decoration: underline; min-height: 44px; }
.give .field + .field, .give .check + .check, .give .field + .check, .give .check + .field { margin-top: 14px; }
.give .field label { font-size: 14px; }
.give__hidden { display: none; }
.give__hidden.is-visible { display: block; }
.give__designation { margin-top: 14px; }
.give__pay { padding: 18px; border: 2px dashed #c7d0dc; border-radius: var(--radius); text-align: center; color: var(--muted); font-size: 15px; }
.give__pay strong { display: block; color: var(--navy-900); font-size: 17px; }
.give__pay .cards-row { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.give__pay .cards-row span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--navy-900); }

/* ---------- popup ---------- */

.popup { position: fixed; inset: 0; z-index: 110; display: none; align-items: flex-start; justify-content: center; padding: 16px; overflow-y: auto; background: rgba(17, 39, 71, 0.7); }
.popup.is-open { display: flex; }
.popup__dialog:focus { outline: none; }
.popup__dialog { position: relative; width: 100%; max-width: 520px; margin: 3vh auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.popup__head { display: flex; align-items: center; gap: 14px; padding: 18px 60px 18px 22px; background: var(--navy); color: #fff; }
.popup__head img { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.popup__head h2 { font-size: 18px; color: #fff; line-height: 1.2; }
.popup__head p { margin: 2px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.popup__close { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.popup__close:hover { background: rgba(255, 255, 255, 0.25); }
.popup__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.popup .give { box-shadow: none; border-radius: 0; padding: 22px; }
body.has-modal { overflow: hidden; }

/* ---------- thank you ---------- */

.thanks { text-align: center; max-width: 720px; margin: 0 auto; }
.thanks__icon { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; background: var(--green-100); color: var(--green); }
.thanks__icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks h1 { margin-top: 22px; font-size: clamp(32px, 4vw, 46px); }
.receipt { margin: 32px auto 0; max-width: 460px; text-align: left; padding: 22px 26px; background: var(--paper); border-radius: var(--radius); }
.receipt dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; margin: 0; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 700; color: var(--navy-900); text-align: right; }
.hand { font-family: var(--font-display); font-style: italic; color: var(--navy-700); }

/* ---------- misc ---------- */

.notice { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translateX(-50%) translateY(20px); padding: 12px 18px; background: var(--navy-900); color: #fff; border-radius: var(--radius-sm); font-size: 15px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.notice.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.legal { max-width: 800px; margin: 0 auto; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.legal h1 { font-size: clamp(30px, 4vw, 42px); }
.legal .updated { margin: 8px 0 24px; font-size: 14px; color: var(--soft); }
.legal .intro { font-size: 19px; color: var(--muted); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal section { margin-top: 32px; }
.legal section h2 { font-size: 21px; }
.legal section p, .legal section li { color: var(--muted); }
.legal section ul { margin: 10px 0 0 22px; }
.legal__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band .container { padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.cta-band p { max-width: 640px; margin: 14px auto 0; color: rgba(255, 255, 255, 0.86); font-size: 18px; }
.cta-band .actions { justify-content: center; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge-row span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy-900); }
.badge-row svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media print {
  .topbar, .header, .footer, .newsletter, .popup, .drawer, .lightbox, .notice, .btn { display: none !important; }
  body { font-size: 12pt; }
}
