/* ==========================================================================
   Aasha Foundation — design system
   1. Tokens        5. Navigation      9.  Forms
   2. Reset/base    6. Hero/sections   10. Overlays (modal, lightbox, toast)
   3. Layout        7. Cards           11. Admin
   4. Buttons       8. Components      12. Responsive + print
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-300: #5eead4;
  --brand-400: #2dd4bf;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --brand-900: #134e4a;

  --accent-300: #fcd34d;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;

  --rose-500: #e11d48;
  --rose-600: #be123c;

  --ok: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --info: #2563eb;

  --bg: #ffffff;
  --bg-alt: #f6f8f8;
  --bg-sunk: #eef2f2;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e3e8e8;
  --border-strong: #cbd5d5;
  --text: #10201f;
  --text-soft: #4b5b5a;
  --text-mute: #71807f;
  --shadow-color: 175 30% 12%;

  --ring: 0 0 0 3px color-mix(in srgb, var(--brand-500) 32%, transparent);
  --shadow-xs: 0 1px 2px hsl(var(--shadow-color) / 0.06);
  --shadow-sm: 0 2px 6px hsl(var(--shadow-color) / 0.07);
  --shadow-md: 0 8px 24px -8px hsl(var(--shadow-color) / 0.16);
  --shadow-lg: 0 22px 48px -18px hsl(var(--shadow-color) / 0.28);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 88px; --sp-10: 120px;

  --container: 1200px;
  --nav-h: 74px;

  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  --bg: #0b1413;
  --bg-alt: #101c1b;
  --bg-sunk: #0a1211;
  --surface: #13201f;
  --surface-2: #182726;
  --border: #243735;
  --border-strong: #33504d;
  --text: #e8f1f0;
  --text-soft: #adc2c0;
  --text-mute: #8aa3a1;
  --shadow-color: 175 60% 3%;
  --brand-50: #0e2523;
  --brand-100: #113330;
  color-scheme: dark;
}

/* 2. Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
/* Inline icons are laid out beside text, never as blocks. */
.ico-svg { display: inline-block; flex: none; vertical-align: -0.18em; }
/* Any hand-written inline icon without explicit sizing falls back to text size. */
svg:not([width]) { width: 1.15em; height: 1.15em; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-700); text-decoration-color: color-mix(in srgb, var(--brand-700) 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }
html[data-theme="dark"] a { color: var(--brand-300); }
html[data-theme="dark"] a:hover { color: var(--brand-200); }

h1, h2, h3, h4, h5 {
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); }
h4 { font-size: 1.08rem; }
p { text-wrap: pretty; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }
::selection { background: var(--brand-200); color: var(--brand-900); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 999;
  background: var(--brand-700); color: #fff; padding: 12px 18px;
  border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.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;
}

/* 3. Layout ------------------------------------------------------------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, 820px); margin-inline: auto; }

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--alt { background: var(--bg-alt); }
.section--brand { background: var(--brand-900); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand p { color: #cbeee9; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.flex { display: flex; gap: var(--sp-3); }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; gap: var(--sp-3); }
.wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: var(--sp-4); }

/* Content + sidebar layout used by the programme, donate, volunteer and
   contact pages. Collapses to a single column before the sidebar can squeeze
   the main column. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.split > aside {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: grid;
  gap: 20px;
  align-content: start;
}
.split--media { display: grid; grid-template-columns: minmax(280px, 1fr) 1.2fr; gap: 0; align-items: stretch; }
@media (max-width: 980px) {
  .split, .split--media { grid-template-columns: 1fr; }
  .split > aside { position: static; }
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--sp-2); } .mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); } .mb-6 { margin-bottom: var(--sp-6); }
.hidden { display: none !important; }
.full { width: 100%; }

.section-head { max-width: 680px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; margin-top: var(--sp-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent-500); border-radius: 2px; }
.section--brand .eyebrow { color: var(--accent-300); }
html[data-theme="dark"] .eyebrow { color: var(--brand-300); }

.lead { font-size: 1.12rem; color: var(--text-soft); }
.muted { color: var(--text-mute); }
.small { font-size: 0.88rem; }

/* 4. Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--brand-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: var(--r-full);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), opacity 0.18s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--accent { --btn-bg: var(--accent-500); --btn-fg: #3b2100; }
.btn--donate { --btn-bg: var(--rose-500); --btn-fg: #fff; }
.btn--dark { --btn-bg: var(--text); --btn-fg: var(--bg); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border-color: var(--border-strong); box-shadow: none;
}
.btn--ghost:hover { background: var(--surface-2); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand-800); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.5); box-shadow: none; }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700;
  text-decoration: none; color: var(--brand-700);
}
html[data-theme="dark"] .link-arrow { color: var(--brand-300); }
.link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* 5. Navigation --------------------------------------------------------- */
.topbar {
  background: var(--brand-900); color: #bfe9e3;
  font-size: 0.83rem; padding: 7px 0;
}
.topbar a { color: #bfe9e3; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .flex-between { flex-wrap: nowrap; overflow: hidden; }
.topbar-links { display: flex; gap: 18px; align-items: center; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: var(--sp-5); height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand-name { display: block; font-weight: 800; font-size: 1.16rem; letter-spacing: -0.03em; line-height: 1.15; }
.brand-tag { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); font-weight: 700; line-height: 1.4; }

.nav-links { display: flex; align-items: center; gap: 3px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: 9px 13px; border-radius: var(--r-full);
  text-decoration: none; color: var(--text-soft); font-weight: 600; font-size: 0.94rem;
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-links a.is-active { color: var(--brand-700); background: var(--brand-50); }
html[data-theme="dark"] .nav-links a.is-active { color: var(--brand-300); background: var(--brand-100); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--border); border-radius: var(--r-full);
  background: var(--surface); cursor: pointer; color: var(--text-soft);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg); padding: 20px;
  transform: translateX(100%); transition: transform 0.32s var(--ease-out);
  overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { list-style: none; padding: 0; margin: 22px 0 0; }
.mobile-menu li + li { border-top: 1px solid var(--border); }
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 6px; text-decoration: none; color: var(--text);
  font-weight: 700; font-size: 1.06rem;
}
.mobile-menu a.is-active { color: var(--brand-700); }
.mobile-menu .btn { margin-top: 18px; }

/* 6. Hero & page headers ------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 45%, var(--brand-700) 100%);
  color: #fff;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 12% 10%, rgba(45,212,191,0.28), transparent 62%),
    radial-gradient(700px 420px at 88% 78%, rgba(245,158,11,0.24), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { color: #cbeee9; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: var(--sp-6); }
.hero-meta { display: flex; gap: 28px; margin-top: var(--sp-7); flex-wrap: wrap; }
.hero-meta div strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--accent-300); line-height: 1.2; }
.hero-meta div span { font-size: 0.86rem; color: #a9d9d3; }

.hero-art { position: relative; }
.hero-art img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); width: 100%; }
.hero-badge {
  position: absolute; background: var(--surface); color: var(--text);
  border-radius: var(--r-md); padding: 13px 17px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 11px; font-size: 0.86rem; font-weight: 700;
}
.hero-badge small { display: block; font-weight: 500; color: var(--text-mute); font-size: 0.75rem; }
.hero-badge--tl { top: 22px; left: -26px; }
.hero-badge--br { bottom: 26px; right: -22px; }
.hero-badge .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; }
.hero-badge .dot svg { width: 18px; height: 18px; }

.page-hero {
  background: linear-gradient(150deg, var(--brand-900), var(--brand-700));
  color: #fff; padding-block: clamp(44px, 6vw, 78px); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px; opacity: 0.5;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cbeee9; max-width: 62ch; margin-top: var(--sp-3); font-size: 1.05rem; }

.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: #9fd2cb; margin-bottom: var(--sp-4); flex-wrap: wrap; }
.breadcrumb a { color: #9fd2cb; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* 7. Cards -------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-sunk); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card--hover:hover .card-media img { transform: scale(1.06); }
.card-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--brand-700); }
.card-body p { color: var(--text-soft); font-size: 0.95rem; }
.card-foot { margin-top: auto; padding-top: var(--sp-3); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.03em;
  background: var(--brand-50); color: var(--brand-700); border: 1px solid color-mix(in srgb, var(--brand-500) 22%, transparent);
  white-space: nowrap;
}
.badge--accent { background: color-mix(in srgb, var(--accent-500) 14%, transparent); color: var(--accent-600); border-color: color-mix(in srgb, var(--accent-500) 30%, transparent); }
.badge--rose { background: color-mix(in srgb, var(--rose-500) 12%, transparent); color: var(--rose-600); border-color: color-mix(in srgb, var(--rose-500) 26%, transparent); }
.badge--ok { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 28%, transparent); }
.badge--warn { background: color-mix(in srgb, var(--warn) 13%, transparent); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 28%, transparent); }
.badge--mute { background: var(--surface-2); color: var(--text-mute); border-color: var(--border); }
.badge--info { background: color-mix(in srgb, var(--info) 12%, transparent); color: var(--info); border-color: color-mix(in srgb, var(--info) 26%, transparent); }
.card-media .badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.94); color: var(--brand-800); border: none; box-shadow: var(--shadow-sm); }

.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-5); transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ico {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700); margin-bottom: var(--sp-4);
}
.feature .ico svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.12rem; margin-bottom: var(--sp-2); }
.feature p { color: var(--text-soft); font-size: 0.94rem; }

.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-5); text-align: center;
}
.stat-card .num {
  font-size: clamp(2rem, 1.5rem + 1.7vw, 2.9rem); font-weight: 800;
  color: var(--brand-700); letter-spacing: -0.03em; line-height: 1.1;
}
html[data-theme="dark"] .stat-card .num { color: var(--brand-300); }
.stat-card .label { color: var(--text-soft); font-size: 0.92rem; margin-top: 4px; font-weight: 600; }
.section--brand .stat-card { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); }
.section--brand .stat-card .num { color: var(--accent-300); }
.section--brand .stat-card .label { color: #bfe9e3; }

/* 8. Components --------------------------------------------------------- */
.progress {
  height: 9px; border-radius: var(--r-full); background: var(--bg-sunk);
  overflow: hidden; position: relative;
}
.progress > span {
  display: block; height: 100%; border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  width: 0; transition: width 1.1s var(--ease-out);
}
.progress-meta { display: flex; justify-content: space-between; font-size: 0.86rem; margin-top: 8px; }
.progress-meta b { color: var(--brand-700); }
html[data-theme="dark"] .progress-meta b { color: var(--brand-300); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip {
  padding: 9px 17px; border-radius: var(--r-full); border: 1px solid var(--border);
  background: var(--surface); color: var(--text-soft); cursor: pointer;
  font-weight: 700; font-size: 0.87rem; transition: all 0.18s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--brand-400); color: var(--text); }
.chip.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-mute); pointer-events: none; }
.search-box input { padding-left: 44px !important; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab {
  padding: 13px 20px; border: none; background: none; cursor: pointer;
  font-weight: 700; color: var(--text-mute); border-bottom: 3px solid transparent;
  white-space: nowrap; transition: color 0.18s, border-color 0.18s;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--brand-700); border-bottom-color: var(--brand-700); }
html[data-theme="dark"] .tab.is-active { color: var(--brand-300); border-bottom-color: var(--brand-300); }

.accordion { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.accordion + .accordion { margin-top: 12px; }
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: 1.02rem; text-align: left; color: var(--text);
}
.accordion-btn .plus { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); transition: transform 0.28s var(--ease); font-size: 1.1rem; line-height: 1; }
.accordion.is-open .accordion-btn .plus { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.34s var(--ease); }
.accordion-panel > div { padding: 0 22px 21px; color: var(--text-soft); }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: var(--sp-6); }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--brand-600); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--brand-200);
}
.timeline-item .year { font-weight: 800; color: var(--brand-700); font-size: 0.92rem; letter-spacing: 0.04em; }
html[data-theme="dark"] .timeline-item .year { color: var(--brand-300); }
.timeline-item h4 { margin: 3px 0 6px; }
.timeline-item p { color: var(--text-soft); font-size: 0.95rem; }

.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-6); position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: 2px; left: 20px;
  font-size: 5rem; line-height: 1; color: var(--brand-200); font-family: Georgia, serif;
}
html[data-theme="dark"] .quote::before { color: var(--brand-800); }
.quote blockquote { position: relative; font-size: 1.04rem; color: var(--text-soft); font-style: italic; }
.quote figcaption { display: flex; align-items: center; gap: 13px; margin-top: var(--sp-5); }
.quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; font-size: 0.96rem; }
.quote figcaption span { font-size: 0.83rem; color: var(--text-mute); }

.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.55s var(--ease-out); }
.slider-track > * { flex: 0 0 100%; padding: 4px; }
.slider-nav { display: flex; gap: 9px; justify-content: center; margin-top: var(--sp-5); }
.slider-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border-strong); cursor: pointer; padding: 0; transition: all 0.22s; }
.slider-dot.is-active { background: var(--brand-600); width: 26px; border-radius: var(--r-full); }

.team-card { text-align: center; }
.team-card img { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 0 auto var(--sp-4); box-shadow: var(--shadow-md); }
.team-card h4 { margin-bottom: 2px; }
.team-card .role { color: var(--brand-700); font-weight: 700; font-size: 0.87rem; }
html[data-theme="dark"] .team-card .role { color: var(--brand-300); }
.team-card p { color: var(--text-soft); font-size: 0.9rem; margin-top: 9px; }
.socials { display: flex; gap: 8px; justify-content: center; margin-top: var(--sp-4); }
.socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-mute); border: 1px solid var(--border); }
.socials a:hover { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.socials svg { width: 16px; height: 16px; }

.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 18px; border-radius: var(--r-md); overflow: hidden;
  position: relative; cursor: zoom-in; display: block; border: 1px solid var(--border);
}
.gallery-item img { width: 100%; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 15px 13px; color: #fff; font-size: 0.88rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,0.75)); opacity: 0; transition: opacity 0.25s;
}
.gallery-item:hover figcaption { opacity: 1; }

.partners { display: flex; flex-wrap: wrap; gap: 34px 52px; align-items: center; justify-content: center; }
.partners img, .partners svg { height: 46px; width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity 0.25s, filter 0.25s; color: var(--text-soft); }
.partners a:hover img { opacity: 1; filter: none; }

.cta-band {
  background: linear-gradient(120deg, var(--brand-800), var(--brand-600));
  color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.55;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cbeee9; margin-top: var(--sp-3); max-width: 60ch; }

.note {
  border-left: 4px solid var(--brand-500); background: var(--brand-50);
  padding: var(--sp-4) var(--sp-5); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 0.94rem; color: var(--text-soft);
}
.note--warn { border-color: var(--accent-500); background: color-mix(in srgb, var(--accent-500) 9%, transparent); }
.note strong { color: var(--text); }

.empty-state { text-align: center; padding: var(--sp-8) var(--sp-4); color: var(--text-mute); }
.empty-state svg { width: 54px; height: 54px; margin: 0 auto var(--sp-4); opacity: 0.4; }

.prose { max-width: 72ch; }
.prose p, .prose ul, .prose ol { margin-bottom: var(--sp-4); color: var(--text-soft); font-size: 1.02rem; }
.prose h2 { margin: var(--sp-7) 0 var(--sp-3); font-size: 1.6rem; }
.prose h3 { margin: var(--sp-6) 0 var(--sp-3); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose blockquote {
  border-left: 4px solid var(--brand-400); padding: 6px 0 6px 20px; margin: var(--sp-5) 0;
  font-style: italic; color: var(--text); font-size: 1.08rem;
}
.prose img { border-radius: var(--r-md); margin: var(--sp-5) 0; }

/* 9. Forms -------------------------------------------------------------- */
.field { margin-bottom: var(--sp-4); }
.field label, .form-label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; }
.field .hint { font-size: 0.82rem; color: var(--text-mute); margin-top: 5px; }
.req { color: var(--danger); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="date"], input[type="search"], input[type="password"], input[type="url"],
select, textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
  font-size: 0.97rem;
}
input:hover, select:hover, textarea:hover { border-color: var(--brand-400); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: var(--ring); }
textarea { resize: vertical; min-height: 130px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371807f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px; padding-right: 40px;
}
input::placeholder, textarea::placeholder { color: var(--text-mute); opacity: 0.75; }

.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: 0.83rem; margin-top: 6px; display: none; font-weight: 600; }
.field.has-error .error-msg { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }

.check { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; font-size: 0.93rem; color: var(--text-soft); }
.check input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--brand-600); cursor: pointer; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 11px; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 11px; }
.option {
  position: relative; border: 2px solid var(--border); border-radius: var(--r-md);
  padding: 15px; cursor: pointer; background: var(--surface); transition: all 0.18s var(--ease); display: block;
}
.option:hover { border-color: var(--brand-400); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:checked) { border-color: var(--brand-600); background: var(--brand-50); }
.option:has(input:focus-visible) { box-shadow: var(--ring); }
.option .opt-title { display: block; font-weight: 800; font-size: 1.02rem; }
.option .opt-sub { display: block; font-size: 0.82rem; color: var(--text-mute); margin-top: 3px; }
.option--amount { text-align: center; padding: 17px 10px; }
.option--amount .opt-title { font-size: 1.24rem; }

.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(22px, 3.6vw, 38px); box-shadow: var(--shadow-sm);
}

.steps { display: flex; gap: 6px; margin-bottom: var(--sp-6); }
.step { flex: 1; text-align: center; position: relative; }
.step .dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px;
  background: var(--bg-sunk); color: var(--text-mute); font-weight: 800; font-size: 0.88rem;
  border: 2px solid transparent; transition: all 0.25s var(--ease);
}
.step .name { font-size: 0.79rem; font-weight: 700; color: var(--text-mute); }
.step.is-active .dot { background: var(--brand-700); color: #fff; }
.step.is-active .name { color: var(--brand-700); }
.step.is-done .dot { background: var(--ok); color: #fff; }
.step::after {
  content: ""; position: absolute; top: 17px; left: calc(50% + 24px); right: calc(-50% + 24px);
  height: 2px; background: var(--border);
}
.step:last-child::after { display: none; }
.step.is-done::after { background: var(--ok); }

.summary-box {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-5);
}
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 0.94rem; }
.summary-row + .summary-row { border-top: 1px dashed var(--border); }
.summary-row.total { border-top: 2px solid var(--border-strong); font-size: 1.16rem; font-weight: 800; padding-top: 14px; margin-top: 6px; }
.summary-row span:first-child { color: var(--text-soft); }
.summary-row.total span:last-child { color: var(--brand-700); }
html[data-theme="dark"] .summary-row.total span:last-child { color: var(--brand-300); }

.receipt {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md);
}
.receipt-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: var(--sp-5); border-bottom: 2px dashed var(--border); }
.receipt-id { font-family: var(--font-mono); font-size: 1.02rem; font-weight: 700; color: var(--brand-700); }
.receipt-amount { font-size: 2.4rem; font-weight: 800; color: var(--brand-700); letter-spacing: -0.03em; }
html[data-theme="dark"] .receipt-amount, html[data-theme="dark"] .receipt-id { color: var(--brand-300); }
.receipt dl { display: grid; grid-template-columns: max-content 1fr; gap: 11px 26px; margin-top: var(--sp-5); font-size: 0.95rem; }
.receipt dt { color: var(--text-mute); font-weight: 600; }
.receipt dd { margin: 0; font-weight: 600; }

.success-mark {
  width: 78px; height: 78px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 15%, transparent);
  color: var(--ok); display: grid; place-items: center; margin: 0 auto var(--sp-5);
  animation: pop 0.5s var(--ease-out);
}
.success-mark svg { width: 40px; height: 40px; }
@keyframes pop { 0% { transform: scale(0.5); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

.newsletter-form { display: flex; gap: 11px; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 220px; }

/* 10. Overlays ---------------------------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 24, 22, 0.62);
  backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.24s var(--ease);
  overflow-y: auto;
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface); border-radius: var(--r-lg); width: min(100%, 560px);
  box-shadow: var(--shadow-lg); transform: translateY(18px) scale(0.98);
  transition: transform 0.28s var(--ease-out); max-height: 90vh; overflow-y: auto; margin: auto;
}
.modal-backdrop.is-open .modal { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: var(--sp-5) var(--sp-5) 0; }
.modal-head h3 { font-size: 1.3rem; }
.modal-body { padding: var(--sp-5); }
.modal-foot { padding: 0 var(--sp-5) var(--sp-5); display: flex; gap: 11px; justify-content: flex-end; flex-wrap: wrap; }

.lightbox {
  position: fixed; inset: 0; z-index: 400; background: rgba(4, 14, 13, 0.94);
  display: grid; place-items: center; padding: 4vw;
  opacity: 0; pointer-events: none; transition: opacity 0.24s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox-cap { color: #dfeeec; text-align: center; margin-top: 16px; font-size: 0.95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.14); border: none; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background 0.18s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-close { top: 20px; right: 20px; font-size: 1.6rem; line-height: 1; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 22px; height: 22px; }

.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 500; display: flex; flex-direction: column; gap: 11px; max-width: min(92vw, 380px); }
.toast {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand-600);
  border-radius: var(--r-md); padding: 15px 18px; box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: flex-start;
  animation: toastIn 0.34s var(--ease-out);
}
.toast.is-out { animation: toastOut 0.28s var(--ease) forwards; }
.toast--success { border-left-color: var(--ok); }
.toast--error { border-left-color: var(--danger); }
.toast--warn { border-left-color: var(--warn); }
.toast .t-ico { flex: none; width: 22px; height: 22px; }
.toast b { display: block; font-size: 0.95rem; }
.toast p { font-size: 0.87rem; color: var(--text-soft); margin-top: 2px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

.back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--brand-700); color: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top svg { width: 20px; height: 20px; }

/* Scroll reveal — only applied when scripting is available, so content is
   never hidden from a no-JS visitor. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* 11. Footer & admin ---------------------------------------------------- */
.site-footer { background: #08201e; color: #b7d6d2; padding-top: var(--sp-8); margin-top: auto; }
html[data-theme="dark"] .site-footer { background: #060f0e; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: 0.94rem; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b7d6d2; text-decoration: none; font-size: 0.94rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 0.93rem; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: var(--sp-4); }
.footer-brand img { width: 42px; height: 42px; border-radius: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-bottom {
  margin-top: var(--sp-7); padding: var(--sp-5) 0; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-size: 0.87rem;
}
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--brand-400); }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #08201e; color: #b7d6d2; padding: var(--sp-5); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { color: #fff; margin-bottom: var(--sp-6); }
.admin-side .brand .brand-name { color: #fff; }
.admin-nav { list-style: none; padding: 0; }
.admin-nav button {
  width: 100%; text-align: left; padding: 11px 14px; border-radius: var(--r-sm);
  background: none; border: none; color: #b7d6d2; cursor: pointer; font-weight: 600;
  display: flex; align-items: center; gap: 11px; font-size: 0.94rem; margin-bottom: 3px;
}
.admin-nav button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-nav button.is-active { background: var(--brand-600); color: #fff; }
.admin-nav svg { width: 18px; height: 18px; flex: none; }
.admin-nav .count { margin-left: auto; background: rgba(255,255,255,0.16); border-radius: var(--r-full); padding: 1px 9px; font-size: 0.76rem; font-weight: 700; }
.admin-main { padding: var(--sp-6); background: var(--bg-alt); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead th {
  text-align: left; padding: 13px 16px; background: var(--surface-2);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-mute); white-space: nowrap; border-bottom: 1px solid var(--border);
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }
td .mono { font-family: var(--font-mono); font-size: 0.85rem; }
.row-actions { display: flex; gap: 6px; }
.icon-mini {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--r-xs);
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text-mute);
}
.icon-mini:hover { color: var(--danger); border-color: var(--danger); }
.icon-mini svg { width: 15px; height: 15px; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(150deg, var(--brand-900), var(--brand-700)); }
.login-card { background: var(--surface); border-radius: var(--r-lg); padding: 38px; width: min(100%, 420px); box-shadow: var(--shadow-lg); }

/* 12. Responsive + print ------------------------------------------------ */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; order: -1; }
  .hero-badge--tl { left: 8px; } .hero-badge--br { right: 8px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .admin-nav li { flex: 1 1 auto; }
  .topbar-links .hide-sm { display: none; }
}
@media (max-width: 700px) {
  /* Keep the header on one line: shrink the brand, drop the donate label. */
  .container, .container-narrow { width: min(100% - 28px, var(--container)); }
  .nav { gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1rem; }
  .brand-tag { display: none; }
  .nav-actions { gap: 7px; }
  .nav-actions .btn--donate { padding: 10px 13px; }
  .nav-actions .btn-label { display: none; }
  .icon-btn { width: 38px; height: 38px; }
  .topbar { font-size: 0.78rem; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .hero-badge { display: none; }
  .step .name { display: none; }
  .toast-wrap { right: 12px; left: 12px; bottom: 12px; }
  .back-to-top { bottom: 12px; left: 12px; }
  .btn { padding: 12px 20px; }
  .receipt dl { grid-template-columns: 1fr; gap: 4px 0; }
  .receipt dd { margin-bottom: 10px; }
}

@media print {
  .site-header, .site-footer, .topbar, .no-print, .back-to-top, .toast-wrap { display: none !important; }
  body { background: #fff; color: #000; }
  .receipt { box-shadow: none; border: 1px solid #999; }
  .section { padding-block: 0; }
}
