/* ─────────────────────────────────────────────────────────────
   Mission for Christ — site styles
   Brand orange from the logo: #F47C20. Change the colors below to
   restyle the whole site.
   ───────────────────────────────────────────────────────────── */

:root {
  --primary: #f47c20;
  --primary-hover: #e06c12;
  --primary-dark: #c2560c;
  --primary-fg: #ffffff;
  --primary-soft: #fef1e6;     /* light orange tint */
  --accent: #fde7d3;
  --accent-fg: #8a3d08;
  --amber: #f59e0b;

  --bg: #fffdfa;
  --fg: #2a211b;
  --card: #ffffff;
  --muted: #f7f3ef;
  --muted-fg: #75685e;
  --border: #ece4dc;
  --input: #e5dbd1;
  --danger: #dc2626;
  --success: #15803d;

  --radius: 0.7rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgb(60 30 10 / 0.06);
  --shadow-md: 0 6px 20px -6px rgb(60 30 10 / 0.16);
  --shadow-lg: 0 24px 60px -32px rgb(60 30 10 / 0.45);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Source Serif 4", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: rgb(244 124 32 / 0.3); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── Layout ───────────────────────────────────────────────── */
.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.section { padding-top: 5rem; padding-bottom: 5rem; }
.section-sm { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.section-hub { padding-top: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 1024px) {
  .section { padding-top: 7rem; padding-bottom: 7rem; }
  .section-sm { padding-top: 5rem; padding-bottom: 5rem; }
}
.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-top { border-bottom: 0; }
.band-muted { background: rgb(247 243 239 / 0.6); }
.band-card { background: rgb(255 255 255 / 0.6); }
.glow-top { position: relative; overflow: hidden; }
.glow-top::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% -10%, #fde9d6, transparent);
}
.glow-top > *, .page-hero > * { position: relative; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: 1rem; }
.row { display: flex; align-items: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.row-between.wrap { flex-wrap: wrap; }
.row-between.align-end { align-items: flex-end; }
.row-between.align-start { align-items: flex-start; }
.gap-3 { gap: 0.75rem; }
.center { text-align: center; }
.btn-row.center { justify-content: center; }
.narrow { max-width: 36rem; margin-left: auto; margin-right: auto; }
.narrow-left { max-width: 36rem; }
.divided { border-top: 1px solid var(--border); padding-top: 3rem; }
.divided-sm { border-top: 1px solid var(--border); padding-top: 1rem; }
.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: block; } }

.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; } .mt-7 { margin-top: 1.75rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; } .mb-4 { margin-bottom: 1rem; }

/* ── Type ─────────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-optical-sizing: auto; letter-spacing: -0.022em; font-weight: 600; }
.h1 { margin-top: 1rem; font-size: clamp(2.25rem, 5vw, 3rem); line-height: 1.08; }
.h2 { margin-top: .75rem; font-size: clamp(1.875rem, 4vw, 2.25rem); line-height: 1.15; text-wrap: balance; }
.h2.sm { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.h3.lg { font-size: 1.125rem; }
.eyebrow { font-size: .75rem; line-height: 1.15; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.label-caps { display: flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-fg); }
.lede { margin-top: 1.25rem; max-width: 42rem; font-size: 1rem; line-height: 1.75; color: var(--muted-fg); text-wrap: pretty; }
@media (min-width: 640px) { .lede { font-size: 1.125rem; } }
.body { margin-top: 1rem; font-size: 1rem; line-height: 1.75; }
.small-body { margin-top: .6rem; font-size: .875rem; line-height: 1.6; }
.small { font-size: .875rem; }
.xs { font-size: .75rem; margin-top: .25rem; }
.muted { color: var(--muted-fg); }
.strong { font-weight: 600; }
.text-primary { color: var(--primary); }
.text-primary-soft { color: rgb(244 124 32 / 0.4); }
.link { color: var(--primary-dark); font-weight: 500; text-underline-offset: 4px; }
.link:hover { text-decoration: underline; }
.meta { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; color: var(--muted-fg); }
.prose { margin-top: 1.25rem; line-height: 1.75; }
.prose p + p { margin-top: 1rem; }
.fine-print { margin-top: 1.5rem; display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--muted-fg); }
.icon-line { display: flex; gap: .6rem; align-items: flex-start; }
.icon-line .icon { margin-top: .15rem; flex-shrink: 0; }

/* ── Icons ────────────────────────────────────────────────── */
.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-sm { width: .875rem; height: .875rem; }
.icon-xl { width: 2rem; height: 2rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  height: 2.5rem; padding: 0 1.1rem; border-radius: calc(var(--radius) - 2px);
  border: 1px solid transparent; background: var(--primary); color: var(--primary-fg);
  font-size: .875rem; font-weight: 500; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--primary-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { height: 2.1rem; padding: 0 .8rem; font-size: .8125rem; }
.btn-lg { height: 2.85rem; padding: 0 1.5rem; font-size: .9375rem; }
.btn-block { display: flex; width: 100%; }
.btn-outline { background: var(--card); color: var(--fg); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--muted); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--muted); }
.btn-secondary { background: var(--muted); color: var(--fg); }
.btn-secondary:hover { background: var(--muted); }
.btn-light { background: var(--bg); color: var(--fg); }
.btn-light:hover { background: rgb(255 253 250 / .9); }
.btn-on-primary { background: transparent; color: var(--primary-fg); border-color: rgb(255 255 255 / .35); }
.btn-on-primary:hover { background: rgb(255 255 255 / .12); }
.btn-row { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

/* busy state for forms (see main.js) */
.when-busy { display: none; align-items: center; gap: .5rem; }
.when-idle { display: inline-flex; align-items: center; gap: .4rem; }
.is-busy .when-busy { display: inline-flex; }
.is-busy .when-idle { display: none; }
.spinner { width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Badges & pills ───────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px;
  padding: .2rem .65rem; font-size: .6875rem; font-weight: 600; line-height: 1.4;
}
.badge-primary { background: var(--primary); color: var(--primary-fg); }
.badge-amber { background: var(--amber); color: #fff; }
.badge-on-primary { background: rgb(255 255 255 / .18); color: var(--primary-fg); margin-bottom: 1rem; }
.badge-float { position: absolute; left: 1rem; top: 1rem; }
.badge-type-prayer, .badge-type-field { background: var(--primary-soft); color: var(--primary-dark); }
.badge-type-training, .badge-type-giving { background: var(--accent); color: var(--accent-fg); }
.badge-type-report { background: var(--muted); color: var(--fg); }
.pill {
  display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--border);
  background: var(--muted); border-radius: 999px; padding: .25rem .75rem;
  font-size: .6875rem; font-weight: 600; letter-spacing: .03em;
}
.pill-block { display: flex; justify-content: center; padding: .5rem; font-size: .75rem; font-weight: 500; color: var(--muted-fg); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.count-pill {
  display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark); padding: .25rem .65rem; font-size: .75rem; font-weight: 600;
}

/* ── Cards ────────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-pad { padding: 1.75rem; }
.card-pad-sm { padding: 1.5rem; }
.card-pad-xs { padding: 1.25rem; }
.card-pad-lg { padding: 2rem; border-radius: var(--radius-xl); }
@media (min-width: 640px) { .card-pad-lg { padding: 2.5rem; } }
.card-hover { transition: box-shadow .2s; }
.card-hover:hover { box-shadow: var(--shadow-md); }
.card-dashed { border-style: dashed; box-shadow: none; }
.card-answered { border-color: rgb(244 124 32 / .3); background: rgb(244 124 32 / .05); }
.icon-tile {
  display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: .75rem; background: var(--primary-soft); color: var(--primary); margin-bottom: 1.25rem;
  transition: background-color .2s, color .2s;
}
.icon-tile .icon { width: 1.25rem; height: 1.25rem; }
.icon-tile.sm { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: .6rem; }
.icon-hover:hover .icon-tile { background: var(--primary); color: var(--primary-fg); }

/* ── Images ───────────────────────────────────────────────── */
.cover { width: 100%; height: 100%; object-fit: cover; }
.zoom { transition: transform .5s; }
.card-hover:hover .zoom, .photo-tile:hover .zoom { transform: scale(1.04); }
.ratio-4-3 { aspect-ratio: 4 / 3; overflow: hidden; }
.framed-photo { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--muted); }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border);
  background: rgb(255 253 250 / .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.wordmark { display: flex; align-items: center; gap: .65rem; line-height: 1.2; }
.wordmark-name { display: block; font-size: .95rem; font-weight: 600; letter-spacing: -.02em; }
.wordmark-sub { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-fg); }
.brand-mark { width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: .7rem; background: #fff; object-fit: contain; box-shadow: 0 0 0 1px rgb(0 0 0 / .06); }
.site-nav { display: none; align-items: center; gap: 1.25rem; }
.site-nav a { font-size: .875rem; font-weight: 500; color: var(--muted-fg); transition: color .15s; }
.site-nav a:hover { color: var(--fg); }
.site-header-actions { display: none; align-items: center; gap: .5rem; }
.menu-toggle { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--border); border-radius: .4rem; background: transparent; }
.menu-toggle .when-open { display: none; }
.menu-toggle[aria-expanded="true"] .when-open { display: block; }
.menu-toggle[aria-expanded="true"] .when-closed { display: none; }
.mobile-menu { border-top: 1px solid var(--border); background: var(--bg); padding: 1rem 1.25rem; }
.mobile-menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1rem; }
.mobile-menu-links a { font-size: .875rem; font-weight: 500; color: var(--muted-fg); padding: .25rem 0; }
@media (min-width: 768px) { .site-header-actions { display: flex; } }
@media (min-width: 1024px) { .site-nav { display: flex; } .menu-toggle, .mobile-menu { display: none !important; } }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: rgb(247 243 239 / .6); padding: 3.5rem 0; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-blurb { margin: 1rem 0; max-width: 20rem; font-size: .875rem; line-height: 1.6; color: var(--muted-fg); }
.footer-title { font-size: .875rem; font-weight: 600; }
.footer-links { margin-top: 1rem; font-size: .875rem; color: var(--muted-fg); }
.footer-links li + li { margin-top: .6rem; }
.footer-links a:hover { color: var(--fg); }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .75rem; color: var(--muted-fg); }

/* ── Page hero ────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); padding: 4rem 0; }
@media (min-width: 1024px) { .page-hero { padding: 6rem 0; } }
.page-hero::before { background: radial-gradient(ellipse 60% 60% at 80% -20%, #fde9d6, transparent); }
.page-hero-title { margin-top: 1rem; max-width: 48rem; font-size: clamp(2.25rem, 5vw, 3rem); line-height: 1.08; text-wrap: balance; }

/* ── Home: hero ───────────────────────────────────────────── */
.hero-grid { display: grid; gap: 3rem; padding-top: 4rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4rem; padding-top: 6rem; padding-bottom: 7rem; } }
.hero .pill { margin-bottom: 1.25rem; }
.hero-title { font-size: clamp(2.25rem, 5.5vw, 3.75rem); line-height: 1.06; text-wrap: balance; }
.hero-media { position: relative; }
.hero-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--muted); box-shadow: var(--shadow-lg); }
.photo-caption { position: absolute; inset: auto 0 0 0; padding: 4rem 1.5rem 1.5rem; background: linear-gradient(to top, rgb(0 0 0 / .7), rgb(0 0 0 / .25), transparent); }
.photo-place { display: flex; align-items: center; gap: .4rem; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .8); }
.photo-quote { margin-top: .4rem; font-size: 1.125rem; font-weight: 400; color: #fff; }
.float-card { display: none; position: absolute; left: -1rem; top: -1rem; background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: .75rem 1rem; box-shadow: var(--shadow-md); }
.float-card .strong { margin-top: .25rem; font-size: .875rem; }
@media (min-width: 640px) { .float-card { display: block; } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-size: clamp(1.875rem, 4vw, 2.25rem); color: var(--primary); }
.stats-cards .stat-value { color: var(--fg); font-size: 1.875rem; }

.section-intro { max-width: 42rem; margin-bottom: 3rem; }
.section-intro.center { margin-left: auto; margin-right: auto; }
.section-head { display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; margin-bottom: 3rem; }
@media (min-width: 640px) { .section-head { flex-direction: row; align-items: flex-end; } .section-head > p { text-align: right; } }

.field-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--muted); }
.story-quote { margin-top: 1rem; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 500; line-height: 1.3; text-wrap: balance; }

.give-card { position: relative; overflow: visible; }
.give-card.featured { border-color: rgb(244 124 32 / .6); box-shadow: 0 0 0 1px rgb(244 124 32 / .3), var(--shadow-sm); }
.give-flag { position: absolute; top: -.75rem; left: 1.5rem; }
.give-amount { font-size: 2.25rem; }
.give-amount span { font-family: var(--font-sans); font-size: 1rem; font-weight: 400; color: var(--muted-fg); letter-spacing: 0; }

.cta-band { overflow: hidden; border-radius: var(--radius-xl); background: var(--primary); color: var(--primary-fg); padding: 2rem; }
@media (min-width: 640px) { .cta-band { padding: 3rem; } }
.cta-band-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .cta-band-grid { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.cta-row { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; }
.cta-row .btn-row { margin-top: 0; }
@media (min-width: 1024px) { .cta-row { flex-direction: row; align-items: center; } }
.on-primary-soft { opacity: .85; }
.on-primary-strong { opacity: .95; }
.cta-panel { border-radius: var(--radius-lg); background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); padding: 1.5rem; }
.cta-list { margin-top: 1rem; }
.cta-list li { padding-bottom: 1rem; border-bottom: 1px solid rgb(255 255 255 / .2); }
.cta-list li + li { padding-top: 1rem; }
.cta-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cta-list-place { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }
.cta-list-text { margin-top: .25rem; font-size: .875rem; }

.faq-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-chevron { color: var(--muted-fg); transition: transform .2s; }
.faq details[open] .faq-chevron { transform: rotate(180deg); }
.faq details p { padding-bottom: 1rem; font-size: .875rem; line-height: 1.6; color: var(--muted-fg); }

/* ── About ────────────────────────────────────────────────── */
.principles li { display: flex; gap: 1.25rem; }
.principles li > div { flex: 1; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.principles li + li { margin-top: 1.5rem; }
.principles li:last-child > div { border-bottom: 0; padding-bottom: 0; }
.principle-num { font-size: 1.5rem; color: var(--primary); flex-shrink: 0; }

/* ── Calendar ─────────────────────────────────────────────── */
.segmented { display: inline-flex; border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: .25rem; }
.segmented > * { border: 0; background: transparent; border-radius: 999px; padding: .4rem 1rem; font-size: .875rem; font-weight: 500; color: var(--muted-fg); transition: background-color .15s, color .15s; }
.segmented > *:hover { color: var(--fg); }
.segmented > .active { background: var(--primary); color: var(--primary-fg); }
.segmented-block { display: flex; }
.segmented-block > * { flex: 1; text-align: center; }
.months { margin-top: 2.5rem; }
.month + .month { margin-top: 3rem; }
.month-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.month-head h2 { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--primary); }
.month-head span { flex: 1; height: 1px; background: var(--border); }
.event { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; }
@media (min-width: 640px) { .event { flex-direction: row; align-items: flex-start; } }
.event > .btn { align-self: flex-start; }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 4rem; height: 4rem; flex-shrink: 0; border: 1px solid var(--border); border-radius: .75rem; background: rgb(247 243 239 / .7); }
.event-date .display { font-size: 1.05rem; line-height: 1; }
.event-date span:last-child { margin-top: .25rem; font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-fg); }
.event-body { flex: 1; min-width: 0; }
.event-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.event-meta { margin-top: .5rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

/* ── Gallery ──────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: .4rem 1rem; font-size: .875rem; font-weight: 500; color: var(--muted-fg); transition: all .15s; }
.chip:hover { color: var(--fg); }
.chip.active { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.photo-tile { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; text-align: left; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--muted); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.photo-tile:hover { box-shadow: var(--shadow-md); }
.photo-tile-caption { position: absolute; inset: auto 0 0 0; padding: 3rem 1rem 1rem; background: linear-gradient(to top, rgb(0 0 0 / .75), rgb(0 0 0 / .35), transparent); }
.photo-tile-caption p { margin-top: .5rem; font-size: .875rem; font-weight: 500; color: #fff; }
.video-tile { display: block; width: 100%; padding: 0; text-align: left; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.video-shade { position: absolute; inset: 0; background: rgb(0 0 0 / .25); transition: background-color .2s; }
.video-tile:hover .video-shade { background: rgb(0 0 0 / .35); }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: rgb(255 255 255 / .95); color: var(--primary); box-shadow: var(--shadow-md); transition: transform .2s; }
.play-btn .icon { width: 1.5rem; height: 1.5rem; margin-left: 2px; }
.video-tile:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); }
.duration { position: absolute; right: .75rem; bottom: .75rem; border-radius: .375rem; background: rgb(0 0 0 / .7); padding: .2rem .5rem; font-size: .75rem; font-weight: 500; color: #fff; }

.overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgb(0 0 0 / .9); }
.overlay-btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; transition: background-color .15s; z-index: 1; }
.overlay-btn:hover { background: rgb(255 255 255 / .2); }
.overlay-btn .icon { width: 1.25rem; height: 1.25rem; }
.overlay-close { right: 1rem; top: 1rem; }
.overlay-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.overlay-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.overlay-figure { width: 100%; max-width: 56rem; }
.overlay-figure img { margin: 0 auto; max-height: 75vh; width: auto; border-radius: .75rem; object-fit: contain; }
.overlay-figure figcaption { margin-top: 1rem; text-align: center; font-size: .875rem; color: rgb(255 255 255 / .85); }
.overlay-figure figcaption strong { color: #fff; }
.overlay-video { width: 100%; max-width: 56rem; }
.overlay-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: .75rem; background: #000; }
.overlay-soft { color: rgb(255 255 255 / .7); }
.overlay-title { margin-top: .25rem; font-weight: 600; color: #fff; }

/* ── Forms ────────────────────────────────────────────────── */
.form > * + * { margin-top: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-row.tight { grid-template-columns: 1fr 1fr; gap: .75rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 500; }
input:not([type="hidden"]), select, textarea {
  display: block; width: 100%; min-height: 2.5rem; padding: .5rem .75rem;
  border: 1px solid var(--input); border-radius: calc(var(--radius) - 2px);
  background: var(--card); font-size: .9375rem; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 6rem; line-height: 1.5; }
select { appearance: none; padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2375685e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; }
input::placeholder, textarea::placeholder { color: #a99c91; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(244 124 32 / .2); }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--muted-fg); pointer-events: none; }
.input-icon input { padding-left: 2.25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }

/* ── Auth ─────────────────────────────────────────────────── */
.auth-page { background: rgb(247 243 239 / .5); }
.auth-layout { display: grid; min-height: 100vh; }
@media (min-width: 1024px) { .auth-layout { grid-template-columns: 1.1fr 1fr; } }
.auth-brand { display: none; position: relative; overflow: hidden; background: var(--primary); color: var(--primary-fg); padding: 3rem; flex-direction: column; justify-content: space-between; }
.auth-brand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 15% 110%, var(--primary-dark), transparent); pointer-events: none; }
.auth-brand > * { position: relative; }
@media (min-width: 1024px) { .auth-brand { display: flex; } }
.auth-brand-logo { display: flex; align-items: center; gap: .65rem; width: fit-content; font-size: .875rem; line-height: 1.3; }
.auth-brand-logo .eyebrow { display: block; }
.auth-brand-logo .strong { display: block; }
.auth-brand-title { margin: 1rem 0 1.25rem; max-width: 28rem; font-size: clamp(1.875rem, 3vw, 2.25rem); line-height: 1.15; }
.check-list { margin-top: 2rem; }
.check-list li { display: flex; align-items: center; gap: .6rem; font-size: .875rem; }
.check-list li + li { margin-top: .75rem; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; }
.back-link { display: flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; font-size: .75rem; font-weight: 500; color: var(--muted-fg); }
.back-link:hover { color: var(--fg); }
.auth-card { width: 100%; max-width: 28rem; padding: 2rem 1.75rem; box-shadow: var(--shadow-md); }
.auth-card-logo { width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 1rem; }
.or { position: relative; margin: 1.25rem 0; text-align: center; font-size: .75rem; text-transform: uppercase; color: var(--muted-fg); }
.or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--border); }
.or span { position: relative; background: var(--card); padding: 0 .5rem; }

/* ── Mission Hub ──────────────────────────────────────────── */
.hub { background: rgb(247 243 239 / .4); }
.stats-cards { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .stats-cards { grid-template-columns: repeat(4, 1fr); } }
.hub-grid { margin-top: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .hub-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.request-foot { margin-top: .75rem; display: flex; flex-direction: column; gap: 1rem; }
.request-foot .small-body { margin-top: 0; max-width: 36rem; }
.request-foot form { flex-shrink: 0; }
@media (min-width: 640px) { .request-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.kv p { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted-fg); }
.kv p + p { margin-top: .75rem; }
.kv strong { color: var(--fg); }

/* ── 404 ──────────────────────────────────────────────────── */
.not-found { background: rgb(247 243 239 / .4); }
.not-found-main { min-height: calc(100vh - 4rem); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 1.25rem; text-align: center; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: .6rem; width: max-content; max-width: calc(100vw - 2rem);
  padding: .85rem 1.1rem; border-radius: .75rem; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow-md); font-size: .875rem;
  animation: toast-in .35s var(--ease) both;
}
.toast-success .icon { color: var(--success); }
.toast-error { border-color: #fecaca; }
.toast-error .icon { color: var(--danger); }
.toast-info .icon { color: var(--primary); }
.toast.is-leaving { animation: toast-out .3s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 12px); } }

/* ── Animation ────────────────────────────────────────────── */
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fade-up .7s var(--ease) both; }
.js [data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--delay, 0ms); }
.js [data-animate].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in, .toast { animation: none; }
  .js [data-animate] { opacity: 1; transform: none; transition: none; }
}
