/* MAD Rescue public site + adopter portal. Same night-sky look as the request system's landing card. */
:root {
  --bg: #0b1220; --bg2: #0f1830;
  --ink: rgba(255,255,255,.94); --muted: rgba(255,255,255,.66); --faint: rgba(255,255,255,.42);
  --glass: rgba(255,255,255,.055); --glass2: rgba(255,255,255,.09); --stroke: rgba(255,255,255,.12); --stroke2: rgba(255,255,255,.2);
  --violet: #8b6cff; --cyan: #5fd4ff; --mint: #45e0a0; --amber: #ffc561; --rose: #ff7a8a;
  --grad: linear-gradient(135deg, #8b6cff 0%, #5fd4ff 100%);
  --radius: 22px; --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden; margin: 0; min-height: 100vh; color: var(--ink); font: 16px/1.55 var(--font); background: var(--bg);
  background-image:
    radial-gradient(1100px 650px at 12% -5%, rgba(124,77,255,.28), transparent 60%),
    radial-gradient(900px 560px at 95% 8%, rgba(95,212,255,.18), transparent 62%),
    radial-gradient(1200px 900px at 50% 110%, rgba(69,224,160,.07), transparent 60%);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header */
.p-top { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(11,18,32,.62); border-bottom: 1px solid var(--stroke); }
.p-top-in { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.p-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; letter-spacing: -.01em; }
.p-brand:hover { text-decoration: none; }
.p-brand img { height: 42px; width: auto; }
.p-brand span { font-size: 15px; line-height: 1.1; }
.p-brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.p-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.p-nav a { color: var(--muted); padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 550; }
.p-nav a.btn-go, .p-nav a.btn-go:hover { color: #0b1020; background: var(--grad); }
.p-nav a:hover, .p-nav a.on { color: var(--ink); background: var(--glass2); text-decoration: none; }
.p-menu { display: none; margin-left: auto; background: none; border: 1px solid var(--stroke); color: var(--ink); border-radius: 12px; padding: 8px 12px; font: inherit; }
@media (max-width: 860px) {
  .p-menu { display: inline-flex; }
  .p-nav { display: none; position: absolute; left: 12px; right: 12px; top: 64px; flex-direction: column; align-items: stretch;
    background: rgba(15,24,48,.97); border: 1px solid var(--stroke); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); }
  .p-nav.open { display: flex; }
  .p-nav a { padding: 12px 14px; }
}

/* ---------- buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 650 15px/1 var(--font); border: 1px solid var(--stroke2); background: var(--glass2); color: var(--ink); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); background: rgba(255,255,255,.14); }
.btn-go { background: var(--grad); border: 0; color: #0b1020; box-shadow: 0 10px 30px rgba(139,108,255,.35); }
.btn-go:hover { background: var(--grad); box-shadow: 0 14px 36px rgba(95,212,255,.35); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--glass2); border: 1px solid var(--stroke); color: var(--ink); white-space: nowrap; }
.chip.ok { color: var(--mint); border-color: rgba(69,224,160,.35); background: rgba(69,224,160,.08); }
.chip.warn { color: var(--amber); border-color: rgba(255,197,97,.35); background: rgba(255,197,97,.08); }
.chip.stop { color: var(--rose); border-color: rgba(255,122,138,.35); background: rgba(255,122,138,.08); }
.chip.go { color: var(--cyan); border-color: rgba(95,212,255,.35); background: rgba(95,212,255,.08); }

/* ---------- layout */
.wrap { max-width: 1240px; margin: 0 auto; padding: 28px 20px 60px; }
.glass { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035)); border: 1px solid var(--stroke);
  border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pad { padding: 26px; }
@media (max-width: 600px) { .pad { padding: 20px; } .wrap { padding: 20px 16px 48px; } }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0 0 10px; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--cyan); margin-bottom: 10px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 44px 0 16px; flex-wrap: wrap; }
.section-h h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }

/* ---------- hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 34px; align-items: center; padding: 34px 0 8px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); margin-bottom: 16px; }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; margin: 0 0 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 1.7rem; letter-spacing: -.02em; }
.hero-stats span { color: var(--muted); font-size: 13.5px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; justify-self: end; width: 100%; }
.hero-art .ph { position: absolute; border-radius: 28px; overflow: hidden; border: 1px solid var(--stroke2); box-shadow: var(--shadow); background: var(--bg2); }
.hero-art .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .a { inset: 0 22% 22% 0; transform: rotate(-3deg); }
.hero-art .b { inset: 40% 0 0 42%; transform: rotate(4deg); }
.hero-art .glow { position: absolute; inset: 10%; background: var(--grad); filter: blur(70px); opacity: .35; border-radius: 50%; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero-art { max-width: 380px; justify-self: center; } }

/* ---------- search bar */
.searchbar { display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--stroke2); max-width: 560px; }
.searchbar input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: inherit; padding: 0 14px; outline: none; }
.searchbar input::placeholder { color: var(--faint); }

/* ---------- filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 18px 0 22px; }
.filters select, .filters input[type=search] { appearance: none; -webkit-appearance: none; background: rgba(255,255,255,.07); color: var(--ink);
  border: 1px solid var(--stroke); border-radius: 999px; padding: 10px 16px; font: 500 14px var(--font); }
.filters select { padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.filters select option { color: #111; }
.filters input[type=search] { flex: 1; min-width: 200px; }
.pill-toggle { display: inline-flex; gap: 6px; }
.pill-toggle a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--stroke); color: var(--muted); font-size: 14px; font-weight: 550; }
.pill-toggle a.on, .pill-toggle a:hover { color: var(--ink); background: var(--glass2); text-decoration: none; }

/* ---------- dog cards */
.dogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.dog { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; color: var(--ink);
  background: var(--bg2); border: 1px solid var(--stroke); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.dog:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 26px 50px rgba(0,0,0,.5); border-color: rgba(139,108,255,.55); }
.dog-ph { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(circle at 30% 20%, #2a2f5e, #121a30 70%); overflow: hidden; }
.dog-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dog:hover .dog-ph img { transform: scale(1.05); }
.dog-ph .none { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; opacity: .55; }
.dog-ph::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(8,12,24,.92)); }
.dog-over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 16px 14px; }
.dog-name { font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.dog-sub { color: rgba(255,255,255,.8); font-size: 13.5px; }
.dog-tags { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.dog-tags .chip { background: rgba(11,18,32,.6); backdrop-filter: blur(8px); }
.dog-foot { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 14px 14px; border-top: 1px solid var(--stroke); align-items: center; }
.dog-foot .fee { margin-left: auto; font-weight: 700; }

/* ---------- dog page */
.dp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .dp { grid-template-columns: minmax(0, 1fr); } .dp > aside { order: -1; position: static; } }
.gallery-main { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg2); border: 1px solid var(--stroke); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 84px; height: 66px; border-radius: 12px; overflow: hidden; padding: 0; border: 2px solid transparent; background: var(--bg2); cursor: pointer; opacity: .7; }
.thumbs button.on { border-color: var(--cyan); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.fact { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--stroke); }
.fact small { display: block; color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.fact b { font-weight: 650; }
.sticky { position: sticky; top: 86px; }
.prose { color: rgba(255,255,255,.84); font-size: 1.02rem; }
.prose p { margin: 0 0 14px; }
.prose a, .kv dd { overflow-wrap: anywhere; }

/* ---------- steps (application progress) */
.steps { display: flex; gap: 0; margin: 14px 0 4px; }
.step { flex: 1; position: relative; text-align: center; font-size: 12px; color: var(--faint); font-weight: 600; padding-top: 26px; }
.step::before { content: ""; position: absolute; top: 8px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--stroke2); z-index: 1; }
.step::after { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--stroke2); }
.step:first-child::after { display: none; }
.step.done { color: var(--ink); }
.step.done::before { background: var(--grad); border-color: transparent; box-shadow: 0 0 14px rgba(95,212,255,.6); }
.step.done::after { background: var(--grad); }
.step.now::before { box-shadow: 0 0 0 5px rgba(95,212,255,.18), 0 0 18px rgba(95,212,255,.7); }
@media (max-width: 640px) { .step { font-size: 0; } .step.now, .steps:not(:has(.now)) .step.done:last-child { font-size: 11px; white-space: nowrap; } }

/* ---------- my MAD */
.my-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.my-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.todo { display: grid; gap: 10px; }
.todo-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(139,108,255,.16), rgba(95,212,255,.06)); border: 1px solid rgba(139,108,255,.35); }
.todo-item .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.08); }
.todo-item .tx { flex: 1; min-width: 0; }
.todo-item .tx b { display: block; }
.todo-item .tx span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 560px) { .todo-item { flex-wrap: wrap; } .todo-item .btn { width: 100%; } }
.cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.app-card { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--stroke); color: var(--ink); }
.app-card + .app-card { margin-top: 10px; }
a.app-card:hover { text-decoration: none; border-color: rgba(95,212,255,.45); }
.app-card .av { flex: none; width: 74px; height: 74px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 30% 20%, #2a2f5e, #121a30 70%); display: grid; place-items: center; font-size: 30px; }
.app-card .av img { width: 100%; height: 100%; object-fit: cover; }
.app-card .bd { flex: 1; min-width: 0; }
.mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mine .dog-ph { aspect-ratio: 16 / 11; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--stroke); font-size: 14.5px; }
.list li:last-child { border-bottom: 0; }
.list li .grow { flex: 1; min-width: 0; }

/* ---------- forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; background: rgba(0,0,0,.25); color: var(--ink); border: 1px solid var(--stroke2);
  border-radius: 12px; padding: 12px 14px; font: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(95,212,255,.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.25); border: 1px solid var(--stroke); margin-bottom: 18px; }
.seg a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; }
.seg a.on { background: var(--glass2); color: var(--ink); text-decoration: none; }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 14.5px; }
.alert.err { background: rgba(255,122,138,.1); border: 1px solid rgba(255,122,138,.4); }
.alert.ok { background: rgba(69,224,160,.1); border: 1px solid rgba(69,224,160,.4); }
details.drawer { border-radius: var(--radius-sm); border: 1px solid var(--stroke); background: var(--glass); }
details.drawer > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-weight: 650; }
details.drawer > summary::-webkit-details-marker { display: none; }
details.drawer > summary::after { content: "＋"; margin-left: auto; color: var(--muted); }
details.drawer[open] > summary::after { content: "－"; }
details.drawer > .in { padding: 0 16px 16px; }
details.drawer + details.drawer { margin-top: 10px; }

/* ---------- auth card */
.auth { max-width: 460px; margin: 40px auto; }
.auth .logo { width: 140px; margin: 0 auto 18px; }

/* ---------- how it works */
.how { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; counter-reset: s; }
.how li { list-style: none; padding: 20px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke); }
.how li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #0b1020; font-weight: 800; margin-bottom: 12px; }
.how b { display: block; margin-bottom: 4px; }
.how span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }
.cta-band { margin-top: 44px; padding: 34px; border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(139,108,255,.28), rgba(95,212,255,.14)); border: 1px solid rgba(139,108,255,.4); }
.cta-band h2 { margin: 0 0 4px; }

/* ---------- footer */
.p-foot { border-top: 1px solid var(--stroke); margin-top: 30px; }
.p-foot-in { max-width: 1240px; margin: 0 auto; padding: 26px 20px 40px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; color: var(--faint); font-size: 13.5px; }
.p-foot a { color: var(--muted); }

/* ---------- good to know */
.gtk { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 700px) { .gtk { grid-template-columns: minmax(0,1fr); } }
.gtk-item { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--stroke); }
.gtk-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); font-size: 18px; }
.gtk-item b { display: block; margin-bottom: 2px; }
.gtk-item p, .gtk-text { margin: 0; color: var(--muted); font-size: 14px; }
.gtk-text p { margin: 0 0 .5em; } .gtk-text p:last-child { margin: 0; }
.fb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fb-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--stroke); color: var(--ink); }
.fb-list a:hover { text-decoration: none; border-color: rgba(95,212,255,.45); }
.fb-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #1877f2; color: #fff; display: grid; place-items: center; font-weight: 800; font-family: Georgia, serif; }

/* ---------- foster & volunteer */
.paths { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; margin-top: 8px; }
.path { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.path h3 { font-family: var(--display); font-size: 1.55rem; margin: 0; letter-spacing: -.01em; }
.path p, .path .pp { color: var(--muted); margin: 0; }
.path .btn { align-self: flex-start; margin-top: 6px; }
.path .big-ic { font-size: 30px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--glass2); border: 1px solid var(--stroke); }
.path::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--grad); filter: blur(60px); opacity: .22; pointer-events: none; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #0b1220; background: var(--mint); margin-top: 2px; }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.role { padding: 18px 18px 16px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--stroke); }
.role b { display: block; margin-bottom: 4px; }
.role p { margin: 0; color: var(--muted); font-size: 14.5px; }
.role .ic { font-size: 22px; margin-bottom: 8px; display: block; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--stroke2);
  background: rgba(0,0,0,.2); cursor: pointer; font-size: 14px; font-weight: 550; color: var(--ink); }
.picks input { accent-color: var(--cyan); width: 16px; height: 16px; margin: 0; }
.picks label:has(input:checked) { border-color: var(--cyan); background: rgba(95,212,255,.12); }
.faq details { border-bottom: 1px solid var(--stroke); padding: 14px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.thanks-card { text-align: center; padding: 40px 24px; }
.thanks-card .big-ic { font-size: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .paths { grid-template-columns: minmax(0,1fr); } }
.powered { margin-top: 34px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--stroke2);
  background: linear-gradient(135deg, rgba(139,108,255,.18), rgba(95,212,255,.10)); }
.powered-n { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.powered .pp { margin: 0; color: var(--ink); font-size: clamp(1.02rem, 1.8vw, 1.25rem); }
a.powered:hover { text-decoration: none; border-color: var(--cyan); }
.powered strong { color: var(--ink); }

/* ---------- about / faq / donate / contact */
.about-hero { padding: 34px 0 6px; max-width: 46em; }
.about-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); margin-bottom: 16px; }
.about-hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; margin-top: 30px; }
.stat { padding: 20px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--stroke); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }
.prose h2 { margin-top: 0; }
.prose p { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--stroke2); display: grid; gap: 16px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); }
.timeline li.now::before { background: var(--grad); border-color: transparent; }
.timeline time { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.timeline span { color: var(--ink); }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.bar { display: flex; flex-direction: column; text-align: center; }
.bar-col { height: 200px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; border-bottom: 1px solid var(--stroke2); }
.bar-n { font-size: 13px; font-weight: 700; color: var(--ink); }
.bar-fill { width: min(56px, 70%); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--cyan), var(--violet)); min-height: 3px; }
.bar:hover .bar-fill { filter: brightness(1.2); }
.bar-y { font-size: 13px; color: var(--muted); padding-top: 6px; min-height: 36px; }
.bar-y small { display: block; font-size: 11px; color: var(--faint); }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.person { margin: 0; max-width: 340px; width: 100%; justify-self: center; border-radius: var(--radius); overflow: hidden; background: var(--glass); border: 1px solid var(--stroke); }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; }
.person figcaption span { color: var(--muted); font-size: 14px; }
.faq-tools { display: grid; gap: 12px; margin: 22px 0; }
.faq-tools input { width: 100%; max-width: 520px; padding: 13px 16px; border-radius: 999px; background: rgba(0,0,0,.25); color: var(--ink); border: 1px solid var(--stroke2); font: inherit; }
.faq-tools input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(95,212,255,.18); }
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-jump a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--stroke); color: var(--muted); font-size: 14px; }
.faq-jump a:hover { color: var(--ink); background: var(--glass2); text-decoration: none; }
.faq-groups { display: grid; gap: 16px; }
.faq-groups > section { scroll-margin-top: 90px; }
.faq h2 { margin-top: 0; font-size: 1.3rem; }
.give { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 24px; }
.give-card { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
a.give-card:hover { text-decoration: none; border-color: var(--stroke2); transform: translateY(-2px); }
.give-card { transition: transform .15s, border-color .15s; }
.give-card > span:not(.btn):not(.big-ic) { color: var(--muted); font-size: 14.5px; flex: 1; }
.give-card .btn { align-self: flex-start; margin-top: 6px; }
.give-card .big-ic { font-size: 26px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--glass2); border: 1px solid var(--stroke); }
.give-card.main { background: linear-gradient(135deg, rgba(139,108,255,.22), rgba(95,212,255,.10)); border-color: var(--stroke2); }
.p-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 28px 44px; }
.p-foot-cols b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 8px; }
.p-foot-cols a { display: block; padding: 3px 0; }
@media (max-width: 760px) { .p-foot-cols { grid-template-columns: 1fr 1fr; } .bars { gap: 6px; } .bar-col { height: 160px; } .bar-n { font-size: 11.5px; } }
.lead p, .muted > p:last-child { margin: 0 0 .7em; } .lead p:last-child { margin-bottom: 0; }

.faq-a { color: var(--muted); margin: 10px 0 0; }
.faq-a p { margin: 0 0 .7em; } .faq-a p:last-child { margin-bottom: 0; }
.faq-a ul, .faq-a ol { margin: .3em 0 .7em; padding-left: 1.3em; }
.pp p { margin: 0 0 .6em; } .pp p:last-child { margin: 0; }
/* staff: preview bar and edit button on public pages */
.site-preview { position: sticky; top: 0; z-index: 60; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 10px 16px; background: #ffc561; color: #1b1300; font-weight: 600; font-size: 14px; }
.site-preview a, .site-preview button { color: #1b1300; }
.site-preview .btn { background: #1b1300; color: #ffc561; border: 0; }
.site-edit { position: fixed; right: 18px; bottom: 18px; z-index: 50; box-shadow: var(--shadow); }

/* ---------- the volunteer name river */
.river { position: relative; margin-top: 34px; height: clamp(300px, 34vw, 380px); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--stroke); background: radial-gradient(120% 90% at 50% 50%, rgba(139,108,255,.10), transparent 70%), rgba(255,255,255,.02); isolation: isolate; }
.river-lanes { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-evenly; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.river-lane { overflow: hidden; white-space: nowrap; }
.river-track { display: inline-flex; gap: 0; animation: river-drift 90s linear infinite; will-change: transform; }
.river.paused .river-track, .river-lanes.still .river-track { animation-play-state: paused; }
@keyframes river-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.river-name { position: relative; display: inline-block; padding: 0 .9em; color: rgba(255,255,255,.13); font-weight: 450; letter-spacing: .01em; transition: color 1.4s ease; }
.river-lane.l0 .river-name { font-size: 15px; }
.river-lane.l1 .river-name { font-size: 22px; font-family: var(--display); }
.river-lane.l2 .river-name { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.river-lane.l3 .river-name { font-size: 18px; }
.river-name::after { content: attr(data-n); position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; font-weight: 800;
  color: #fff; opacity: 0; transition: opacity 1.4s ease, text-shadow 1.4s ease; text-shadow: 0 0 0 rgba(95,212,255,0); pointer-events: none; }
.river-name.lit { color: rgba(255,255,255,0); }
.river-name.lit::after { opacity: 1; text-shadow: 0 0 18px rgba(95,212,255,.55), 0 0 2px rgba(139,108,255,.6); }
.river-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: min(520px, calc(100% - 32px));
  display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px 26px; border-radius: var(--radius);
  background: rgba(11,18,32,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--stroke2); color: var(--ink); box-shadow: var(--shadow); }
.river-card:hover { text-decoration: none; border-color: var(--cyan); }
.river-n { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.river-text { font-size: clamp(1rem, 1.8vw, 1.2rem); }
.river-text strong { color: #fff; }
.river-card .btn { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .river-name, .river-name::after { transition-duration: 2.4s; } }
.river-name.lit::after { text-shadow: 0 0 22px rgba(95,212,255,.75), 0 0 3px rgba(139,108,255,.8); }
@media (max-width: 640px) {
  .river { height: 440px; }
  .river-card { width: calc(100% - 64px); padding: 16px 18px; gap: 4px; }
  .river-n { font-size: 2.4rem; }
  .river-text { font-size: .98rem; }
}

/* ---------- donate / planned giving */
.give-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; margin-top: 30px; }
@media (max-width: 900px) { .give-grid { grid-template-columns: minmax(0, 1fr); } }
.give-form { display: grid; gap: 12px; }
.give-form .field { margin-bottom: 0; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(0,0,0,.25); border: 1px solid var(--stroke); }
.seg2 label { position: relative; cursor: pointer; }
.seg2 input { position: absolute; opacity: 0; pointer-events: none; }
.seg2 span { display: block; text-align: center; padding: 10px 12px; border-radius: 999px; font-weight: 650; color: var(--muted); transition: background .15s, color .15s; }
.seg2 input:checked + span { background: var(--grad); color: #0b1020; }
.seg2 input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.seg2.small span { padding: 7px 10px; font-size: 14px; }
.amounts { border: 0; margin: 0; padding: 0; min-width: 0; }
.amt-set { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.amt-set[hidden] { display: none; }
@media (max-width: 480px) { .amt-set { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amt-set label { position: relative; cursor: pointer; }
.amt-set input { position: absolute; opacity: 0; pointer-events: none; }
.amt-set span { display: block; text-align: center; padding: 13px 4px; border-radius: 14px; border: 1px solid var(--stroke2); background: rgba(0,0,0,.2); font-weight: 750; font-size: 1.05rem; }
.amt-set span small { font-size: .7em; font-weight: 600; color: var(--muted); }
.amt-set input:checked + span { border-color: var(--cyan); background: rgba(95,212,255,.14); box-shadow: 0 0 0 3px rgba(95,212,255,.15); }
.amt-set input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dollar { position: relative; }
.dollar span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.dollar input { padding-left: 26px !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--cyan); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.check b { color: var(--ink); }
.tribute { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--stroke); }
.tribute[hidden] { display: none; }
.more-fields summary { cursor: pointer; color: var(--cyan); font-size: 14.5px; }
.picks.col { flex-direction: column; align-items: stretch; }
.picks.col label { border-radius: 14px; }
.picks input[type=radio] { accent-color: var(--cyan); width: 16px; height: 16px; margin: 0; }
.bequest { margin: 14px 0 12px; padding: 16px 18px; border-left: 3px solid var(--cyan); border-radius: 0 12px 12px 0; background: rgba(0,0,0,.25);
  font-family: var(--display); font-size: 1.05rem; line-height: 1.6; color: var(--ink); white-space: pre-wrap; }
.cta-band.legacy { background: linear-gradient(135deg, rgba(139,108,255,.28), rgba(95,212,255,.10)), var(--glass); }
.packet-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--stroke); font-size: 14px; color: var(--muted); }
.pay-by span { font-size: 13.5px; }
@media (max-width: 480px) { .pay-by { grid-template-columns: 1fr; border-radius: 18px; } .pay-by span { border-radius: 14px; } }

/* ---------- fundraising campaigns */
.camp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 30px; align-items: start; }
@media (max-width: 960px) { .camp { grid-template-columns: minmax(0, 1fr); } .camp-side { order: -1; } }
.camp-side { position: sticky; top: 86px; display: grid; gap: 14px; }
@media (max-width: 960px) { .camp-side { position: static; } }
.camp-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke); aspect-ratio: 16 / 9; background: var(--bg2); }
.camp-photo img { width: 100%; height: 100%; object-fit: cover; }
.camp-story { margin-top: 20px; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 16px 0 0; }
.share .chip { cursor: pointer; font: inherit; font-size: 12.5px; background: transparent; color: var(--ink); }
.progress-card .raised b { font-family: var(--display); font-size: 2.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.progress-card .raised span { display: block; color: var(--muted); margin-top: 4px; }
.bar-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 14px; }
.bar-done { height: 100%; border-radius: 999px; background: var(--grad); min-width: 4px; }
.prog-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-size: 14px; }
.prog-meta b { color: var(--ink); }
.match { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,197,97,.10); border: 1px solid rgba(255,197,97,.3); font-size: 14px; }
.updates { display: grid; gap: 14px; }
.update { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--stroke); }
.update h3 { margin: 4px 0 6px; }
.board { display: grid; gap: 8px; }
.board-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--stroke); color: var(--ink); }
.board-row:hover { text-decoration: none; border-color: var(--stroke2); }
.wall { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wall li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--stroke); font-size: 14.5px; }
.wall-note { flex-basis: 100%; color: var(--muted); font-style: italic; }
.camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 24px; }
.camp-card { display: block; overflow: hidden; color: var(--ink); padding: 0; }
.camp-card:hover { text-decoration: none; border-color: var(--stroke2); }
.camp-card-ph { aspect-ratio: 16 / 9; background: var(--bg2); }
.camp-card-ph img { width: 100%; height: 100%; object-fit: cover; }
.camp-card-t { font-size: 1.1rem; }
.camp .give-form { margin: 0; }

/* ---------- auctions */
.bidbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--stroke); }
.bidbar-t { display: grid; color: var(--ink); } .bidbar-t:hover { text-decoration: none; }
.bidbar-me { font-size: 14px; color: var(--muted); } .bidbar-me b { color: var(--ink); }
.auc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; }
@media (max-width: 700px) { .auc-head { grid-template-columns: minmax(0, 1fr); } }
.auc-clock { display: grid; gap: 2px; text-align: center; min-width: 220px; }
.auc-clock b { font-family: var(--display); font-size: 1.8rem; }
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 24px; }
.lot { display: block; overflow: hidden; padding: 0; color: var(--ink); }
.lot:hover { text-decoration: none; border-color: var(--stroke2); }
.lot-ph { position: relative; aspect-ratio: 4 / 3; background: var(--bg2); }
.lot-ph img { width: 100%; height: 100%; object-fit: cover; }
.lot-no { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(11,18,32,.75); font-size: 12.5px; font-weight: 700; }
.lot-flag { position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.lot-flag.win { background: var(--mint); color: #062; }
.lot-flag[hidden] { display: none; }
.lot-body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.lot-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.lot-time { font-size: 13px; }
.soon { color: var(--amber) !important; font-weight: 700; }
.pkgs { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.pkgs span small { display: block; }
.tix { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tix span { padding: 8px 14px; border-radius: 12px; border: 1px dashed var(--cyan); font-family: var(--display); font-size: 1.3rem; }
.npn { margin-top: 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(69,224,160,.35); background: rgba(69,224,160,.08); font-weight: 700; font-size: 14.5px; }
