/* Dr. MLK Jr. Elementary PTA — site styles
   Palette: ink (night indigo), gold (The Dream / sunrise), vermilion, warm paper. */
:root {
  --ink: #15172e;
  --ink-2: #262a4d;
  --ink-3: #3a3f6b;
  --paper: #fbf7ee;
  --paper-2: #f3ecdd;
  --card: #ffffff;
  --gold: #f6c62f;
  --gold-soft: #fdeeb5;
  --gold-deep: #8a5d00;
  --red: #d8452e;
  --red-deep: #b23320;
  --text: #1d1f33;
  --muted: #5b5e75;
  --line: #e4dccb;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(21, 23, 46, .06), 0 8px 28px rgba(21, 23, 46, .07);
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --u: clamp(54px, 10vw, 140px); /* sunrise unit */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--red-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font: 700 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); margin: 0 0 14px; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 700 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd84f; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.arrow::after { content: "→"; transition: transform .15s ease; }
a:hover > .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--gold); color: var(--ink); font-size: .95rem; font-weight: 500; }
.announce.is-empty { display: none; }
.announce .wrap { padding-block: 9px; text-align: center; }
.announce p { margin: 0; }
.announce a { color: var(--ink); font-weight: 700; }

.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 238, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 46px; width: auto; flex: none; display: block; }
.brand b { display: block; font: 600 1.12rem/1.1 var(--display); letter-spacing: -.01em; }
.brand small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
#nav { display: flex; align-items: center; gap: 4px; }
#nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 9px 13px; border-radius: 999px; }
#nav a:not(.btn):hover { background: var(--paper-2); }
#nav a[aria-current="page"]:not(.btn) { background: var(--ink); color: #fff; }
#nav .btn { margin-left: 8px; padding: 11px 18px; }
.nav-toggle { display: none; font: 700 .95rem var(--body); background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; box-shadow: 0 18px 30px rgba(21, 23, 46, .12); }
  #nav.open { display: flex; }
  #nav a:not(.btn) { padding: 13px 14px; font-size: 1.05rem; }
  #nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Heroes ---------- */
.hero, .page-hero { background-color: var(--ink); color: #e9e7f5; position: relative; overflow: hidden; }
.hero {
  background-image:
    radial-gradient(circle at 82% 100%, var(--gold) 0 calc(var(--u) * 1), transparent calc(var(--u) * 1 + 1px)),
    radial-gradient(circle at 82% 100%, var(--red) 0 calc(var(--u) * 1.6), transparent calc(var(--u) * 1.6 + 1px)),
    radial-gradient(circle at 82% 100%, var(--ink-3) 0 calc(var(--u) * 2.3), transparent calc(var(--u) * 2.3 + 1px)),
    radial-gradient(circle at 82% 100%, var(--ink-2) 0 calc(var(--u) * 3.1), transparent calc(var(--u) * 3.1 + 1px));
  padding: clamp(40px, 5.5vw, 72px) 0 clamp(110px, 13vw, 150px);
}
.hero h1, .page-hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.hero .lead, .page-hero .lead { color: #cfcde6; }
.hero-copy { max-width: 640px; }
.hello { font: 500 1.05rem var(--display); font-style: italic; color: #b9b6d6; margin-bottom: 18px; }
.hello span { color: var(--gold); padding: 0 .5em; font-style: normal; }
@media (max-width: 720px) { .hero { background-position: 0 0; padding-bottom: calc(var(--u) * 2.6); } .hero { --u: 62px; } }

.page-hero {
  --u: clamp(40px, 6vw, 78px);
  background-image:
    radial-gradient(circle at 100% 100%, var(--gold) 0 calc(var(--u) * 1), transparent calc(var(--u) * 1 + 1px)),
    radial-gradient(circle at 100% 100%, var(--red) 0 calc(var(--u) * 1.6), transparent calc(var(--u) * 1.6 + 1px)),
    radial-gradient(circle at 100% 100%, var(--ink-3) 0 calc(var(--u) * 2.3), transparent calc(var(--u) * 2.3 + 1px)),
    radial-gradient(circle at 100% 100%, var(--ink-2) 0 calc(var(--u) * 3.1), transparent calc(var(--u) * 3.1 + 1px));
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
}
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); max-width: 16ch; }
.page-hero .lead { max-width: 54ch; }
@media (max-width: 720px) { .page-hero { padding-bottom: 120px; } }

/* ---------- School-day strip ---------- */
.strip { margin-top: calc(clamp(56px, 8vw, 84px) * -1); position: relative; z-index: 2; }
.strip-grid { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.strip-grid > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.strip-grid > div:first-child { border-left: 0; }
.strip-grid b { display: block; font: 600 1.7rem/1.1 var(--display); color: var(--ink); }
.strip-grid span { font-size: .86rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.strip-grid a { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .strip-grid { grid-template-columns: 1fr 1fr; } .strip-grid > div:nth-child(odd) { border-left: 0; } .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } .strip-grid b { font-size: 1.4rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: #dcdaf0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--gold); }
.section.dark a:not(.btn) { color: var(--gold); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.center.section-head { margin-inline: auto; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font: 700 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; background: var(--gold-soft); color: var(--gold-deep); padding: 6px 10px; border-radius: 999px; margin-bottom: 14px; }
.card .tag.red { background: #fbe1db; color: var(--red-deep); }
.card .tag.ink { background: #e3e4f3; color: var(--ink-2); }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink); }
a.card::after { content: "→"; position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 1rem/1 var(--body); color: var(--ink); background: var(--paper-2); transition: background .15s ease, color .15s ease, transform .15s ease; }
a.card:hover::after, a.card:focus-visible::after { background: var(--ink); color: #fff; transform: translateX(3px); }
.card.gold { background: var(--gold); border-color: var(--gold); }
.card.dark { background: var(--ink); border-color: var(--ink); color: #dcdaf0; }
.card.dark h3 { color: #fff; }
.card.dark a { color: var(--gold); }

.duo { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.duo .card { padding: 34px; }
.duo .card h3 { font-size: 1.7rem; }
.han { font-family: "Noto Serif SC", "Songti SC", "PingFang SC", serif; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.bigquote { font: 500 clamp(1.6rem, 3.4vw, 2.5rem)/1.2 var(--display); color: #fff; letter-spacing: -.015em; margin: 0 0 .5em; }
.bigquote em { color: var(--gold); }
.bignum { font: 600 clamp(5rem, 13vw, 9.5rem)/.9 var(--display); color: var(--gold); letter-spacing: -.04em; }

/* ---------- Checklists, callouts ---------- */
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 4px var(--ink); }
.callout { background: var(--gold-soft); border-left: 5px solid var(--gold); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 1.2em; }
.callout p:last-child { margin: 0; }
.callout.red { background: #fbe9e4; border-color: var(--red); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 28px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); }
.timeline b:first-child { display: block; font: 600 1.25rem var(--display); color: var(--ink); }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
.tbl-wrap table { min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
thead th { font: 700 .76rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--ink); }
td.time { font: 600 1.15rem var(--display); color: var(--ink); white-space: nowrap; }

/* ---------- People ---------- */
.people { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.person { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.person small { display: block; font: 700 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 4px; }
.person b { display: block; font: 600 1.15rem var(--display); color: var(--ink); }
.person a { font-size: .9rem; word-break: break-word; }

/* ---------- Handbook layout ---------- */
.hb { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hb-side { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow: auto; padding-right: 6px; }
.hb-side input { width: 100%; font: 500 .98rem var(--body); padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); margin-bottom: 14px; }
.hb-side input:focus { border-color: var(--ink); outline: none; }
#toc { list-style: none; padding: 0; margin: 0; }
#toc li { margin: 0; }
#toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .96rem; line-height: 1.3; border-left: 3px solid transparent; }
#toc a:hover { color: var(--ink); background: var(--paper-2); }
#toc a.on { color: var(--ink); border-left-color: var(--red); background: var(--paper-2); }
.hb-section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.hb-section:last-of-type { border-bottom: 0; }
.hb-section h3 { margin-top: 1.5em; }
.hb-none { display: none; padding: 30px; text-align: center; color: var(--muted); }
@media (max-width: 860px) {
  .hb { grid-template-columns: minmax(0, 1fr); }
  .hb-side { position: static; max-height: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
  #toc { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  #toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; }
  #toc a.on { border-color: var(--ink); }
}

/* ---------- Prose (history, long text) ---------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h3 { margin-top: 1.5em; }
.prose .src { font-size: .88rem; color: var(--muted); }
.sources { font-size: .92rem; }
.sources li { margin-bottom: .5em; }

.calendar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.calendar iframe { display: block; width: 100%; height: 560px; border: 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #bdbbd6; padding: 60px 0 28px; font-size: .95rem; }
.site-foot a { color: #fff; }
.site-foot h4 { color: var(--gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.foot-name { font: 600 1.4rem/1.2 var(--display); color: #fff; margin-bottom: 10px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
.foot-base a { color: #bdbbd6; }

/* ---------- Admin notes + editor ---------- */
.todo { display: none; }
body.editing .todo, .needs .todo {
  display: inline-block; background: var(--red-deep); color: #fff; border: 1.5px solid var(--red-deep); border-radius: 6px;
  padding: 0 7px; font: 600 .84em/1.6 var(--body); font-style: normal; letter-spacing: 0; text-transform: none; cursor: pointer; margin: 1px 2px;
}
/* Three kinds of note: info needed (solid), check this (tinted), optional (outline). */
body.editing .todo.check, .needs .todo.check { background: #fde3dd; color: #7a1c0f; }
body.editing .todo.opt, .needs .todo.opt { background: #fff; color: #7a1c0f; border-style: dashed; }
body.editing .todo::before, .needs .todo::before { content: "Info needed: "; font-weight: 800; }
body.editing .todo.check::before, .needs .todo.check::before { content: "Check this: "; }
body.editing .todo.opt::before, .needs .todo.opt::before { content: "Optional: "; }
body.editing .announce.is-empty { display: block; }
body.editing [data-edit] { outline: 2px dashed rgba(216, 69, 46, .45); outline-offset: 6px; border-radius: 6px; min-height: 1.4em; }
body.editing [data-edit]:hover { outline-color: var(--red); }
body.editing [data-edit]:focus { outline: 3px solid var(--red); }
body.editing [data-edit]:empty::before { content: "Click to add text (leave empty to hide)"; opacity: .5; }
body.editing a.card { transform: none; }
body.has-adminbar { padding-bottom: 76px; }
.adminbar {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 200; max-width: calc(100vw - 20px);
  background: var(--ink); color: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; font: 600 .9rem var(--body);
}
.adminbar .who { padding: 0 8px; color: #bdbbd6; font-weight: 500; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adminbar button, .adminbar a.ab {
  font: 700 .9rem var(--body); color: #fff; background: rgba(255, 255, 255, .1); border: 0; border-radius: 10px; padding: 9px 12px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.adminbar button:hover, .adminbar a.ab:hover { background: rgba(255, 255, 255, .22); }
.adminbar button.primary { background: var(--gold); color: var(--ink); }
.adminbar button.primary:hover { background: #ffd84f; }
.adminbar button:disabled { opacity: .4; cursor: default; }
.adminbar .sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .2); margin: 0 4px; }
.toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 300; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.toast.bad { background: var(--red-deep); }

.admin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); margin-bottom: 22px; }
.admin-card input[type=email] { font: 500 1rem var(--body); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; width: min(340px, 100%); }
.admin-card form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.admin-list { list-style: none; padding: 0; margin: 0; }
.admin-list li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; }
.admin-list li:first-child { border-top: 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--red-deep); font: 600 .92rem var(--body); text-decoration: underline; cursor: pointer; }

@media print {
  .site-head, .announce, .site-foot, .hb-side, .adminbar, .btn-row { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 12px; } .page-hero h1 { color: #000; } .page-hero .lead { color: #333; }
  .hb { display: block; } body { background: #fff; font-size: 11.5pt; } .hb-section { break-inside: avoid-page; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

#mission h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 500; line-height: 1.3; }

/* ---------- Photo ---------- */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: clamp(180px, 26vw, 330px); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.photo.bleed img { border-radius: 0; box-shadow: none; height: clamp(170px, 24vw, 340px); }

/* Shop and donate band */
.support { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; align-items: stretch; }
.support > .card { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.support > .card .btn-row { margin-top: auto; padding-top: 22px; }
.support h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.shop-logo { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 22px; }
.support > .shop-logo { margin-bottom: 0; align-self: center; }
.shop-logo img { width: 100%; max-width: 380px; height: auto; display: block; }
.card.gold .btn-ghost:hover { color: #fff; }
@media (max-width: 760px) { .support { grid-template-columns: 1fr; } }
.section#support { padding-top: clamp(28px, 3vw, 40px); }
@media (max-width: 520px) {
  .brand { gap: 10px; }
  .brand img { height: 36px; }
  .brand b { font-size: 1rem; white-space: nowrap; }
  .brand small { font-size: .66rem; white-space: nowrap; }
}
@media (max-width: 380px) { .brand span { display: none; } }
.hero-copy { max-width: 800px; } .hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); } .hero .lead { max-width: 640px; }
.hero h1 { font-size: clamp(1.4rem, 6.6vw, 3.7rem); } .hero h1 em { display: block; white-space: nowrap; }
.photo.bleed.top img { height: clamp(130px, 19vw, 250px); object-position: 50% 45%; }
.photo.top + .hero { padding-top: clamp(28px, 4vw, 48px); }
.hero.plain, .page-hero.plain { background-image: none; }
.hero .lead a { color: var(--gold); }
.hero .lead + .hello { margin: 18px 0 0; }
@media (max-width: 520px) { .brand small { display: none; } }
.brand small, #nav a { white-space: nowrap; }
@media (max-width: 520px) { .brand b { white-space: normal; max-width: 9.5em; line-height: 1.15; } .brand span { display: block; } }
@media (max-width: 380px) { .brand span { display: none; } }

/* Draft review bar (see draft flag in js/firebase-config.js) */
.draft-bar { background: var(--red-deep); color: #fff; font-size: .9rem; font-weight: 600; }
.draft-bar .wrap { padding-block: 7px; text-align: center; }
@media print { .draft-bar { display: none; } }

/* Editor: note dialog */
.note-dialog { border: 0; border-radius: var(--radius); padding: 24px; width: min(480px, calc(100vw - 32px)); background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); font: 500 1rem/1.5 var(--body); }
.note-dialog::backdrop { background: rgba(21, 23, 46, .55); }
.note-dialog p { margin: 0 0 12px; }
.note-dialog .note-head { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-deep); }
.note-dialog .note-text { font-weight: 600; }
.note-dialog label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.note-dialog textarea, .note-dialog select { display: block; width: 100%; margin-top: 5px; font: 500 1rem var(--body); padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.note-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.note-btns .btn { padding: 10px 14px; font-size: .92rem; }

/* Editor: drag sections into a new order */
body.editing section.movable { position: relative; }
.sec-move { position: absolute; top: 6px; right: 10px; z-index: 40; display: flex; align-items: center; gap: 4px; background: var(--ink); border-radius: 10px; padding: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.hb-section > .sec-move { top: -8px; right: 0; }
.sec-move button { font: 700 .82rem var(--body); color: #fff; background: rgba(255, 255, 255, .12); border: 0; border-radius: 7px; padding: 6px 9px; cursor: pointer; white-space: nowrap; }
.sec-move button:hover { background: rgba(255, 255, 255, .26); }
.sec-move .grip { cursor: grab; touch-action: none; }
.sec-move .sec-name { display: none; }
body.sorting { user-select: none; -webkit-user-select: none; cursor: grabbing; }
body.sorting .sort-item { padding: 0 !important; margin: 8px auto !important; min-height: 0; max-width: min(720px, calc(100vw - 32px)); background: var(--card) !important; background-image: none !important; border: 2px dashed var(--line) !important; border-radius: 12px; }
body.sorting .sort-item > :not(.sec-move) { display: none !important; }
body.sorting .sort-item > .sec-move { position: static; background: none; box-shadow: none; padding: 8px; }
body.sorting .sort-item .sec-move button { color: var(--ink); background: rgba(21, 23, 46, .08); }
body.sorting .sort-item .sec-name { display: block; flex: 1; order: 2; padding: 0 8px; font: 700 1rem var(--body); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.sorting .sort-item .grip { order: 1; }
body.sorting .sort-item .sec-move button:not(.grip) { order: 3; }
body.sorting .sort-item.dragging { border: 2px solid var(--red) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
body.sorting .sort-item.dragging .grip { cursor: grabbing; }
@media print { .sec-move { display: none !important; } }

/* ---------- Things admins can add: bubbles, photos, videos, forms ---------- */
.callout.ink { background: var(--ink); border-color: var(--gold); color: #eceaf8; }
.callout.ink a { color: var(--gold); }
.callout.plain { background: var(--card); border-color: var(--line); }
.callout.bubble { border-left: 0; border-radius: 22px; padding: 20px 24px; }
.callout.circle { border-left: 0; border-radius: 50%; width: 210px; height: 210px; max-width: 100%; padding: 26px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 600; line-height: 1.3; overflow: hidden; }
.btn-line { margin: 0 0 1.2em; }
.section.gold { background: var(--gold-soft); }
figure.media { margin: 0 0 1.4em; }
figure.media img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--paper-2); min-height: 40px; }
figure.media.mid { max-width: 520px; margin-inline: auto; }
figure.media.small { max-width: 300px; margin-inline: auto; }
figure.media figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
figure.media figcaption:empty { display: none; }
.embed { margin: 0 0 1.4em; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.embed iframe { display: block; width: 100%; border: 0; }
.embed.video { aspect-ratio: 16 / 9; }
.embed.video iframe { height: 100%; }
.embed.form iframe { height: min(900px, 85vh); background: #fff; }
@media print { .embed { display: none; } }

/* Editor: active part, its small bar, and the Add menu */
body.editing .embed { cursor: pointer; }
body.editing .embed iframe { pointer-events: none; }
body.editing .is-active { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.blockbar { position: absolute; z-index: 150; display: flex; gap: 3px; background: var(--ink); border-radius: 10px; padding: 4px; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.blockbar button, .sec-move .bg-btn { font: 700 .8rem var(--body); color: #fff; background: rgba(255, 255, 255, .12); border: 0; border-radius: 7px; padding: 6px 9px; cursor: pointer; white-space: nowrap; }
.blockbar button:hover { background: rgba(255, 255, 255, .26); }
.blockbar button:last-child { background: var(--red-deep); }
.adminbar button.add { background: #fff; color: var(--ink); }
.addmenu { position: fixed; z-index: 210; background: var(--card); color: var(--ink); border-radius: 14px; padding: 10px; box-shadow: 0 14px 44px rgba(0, 0, 0, .35); display: grid; gap: 2px; min-width: 210px; }
.addmenu p { margin: 2px 8px 6px; font: 600 .78rem var(--body); color: var(--muted); }
.addmenu button { font: 600 .95rem var(--body); text-align: left; background: none; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; color: var(--ink); }
.addmenu button:hover { background: var(--paper-2); }
body.sorting .blockbar { display: none; }
@media print { .blockbar, .addmenu { display: none !important; } }

/* Past events: tucked away, greyed out when shown */
table.hide-past tr[data-past] { display: none; }
body.editing table.hide-past tr[data-past] { display: table-row; }
table.by-date td:first-child { font-weight: 600; width: 17%; }
table.by-date th[scope=row] { width: 19%; }
table.by-date td:nth-child(3) { width: 34%; }
tr[data-past] > * { color: var(--muted); opacity: .6; }
tr[data-past] a { color: inherit; }
.past-toggle { font: 600 .92rem var(--body); color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin: 0 0 14px; cursor: pointer; }
.past-toggle:hover { background: var(--gold-soft); }
@media print { .past-toggle { display: none; } }

/* ---------- Compact page hero: title on the left, facts on the right ---------- */
.page-hero.compact { padding: clamp(26px, 3.6vw, 44px) 0 clamp(28px, 4vw, 48px); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero.compact h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero.compact .lead { font-size: 1.05rem; margin-bottom: 0; }
.page-hero .people { grid-template-columns: 1fr 1fr; gap: 10px; }
.page-hero .person { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); padding: 12px 16px; color: #cfcde6; font-size: .9rem; }
.page-hero .person small { color: var(--gold); }
.page-hero .person b { color: #fff; font-size: 1.05rem; }
.page-hero .person a { color: #fff; }
@media (max-width: 820px) { .hero-split { grid-template-columns: 1fr; } .page-hero.compact { padding-bottom: 28px; } }
@media (max-width: 400px) { .page-hero .person { padding: 10px 12px; } }
@media print { .page-hero .person { border-color: #999; color: #333; } .page-hero .person b, .page-hero .person a, .page-hero .person small { color: #000; } }

/* Header name is the formal name over two lines; keep both lines on phones. */
.brand small { color: var(--ink); font-weight: 700; }
@media (max-width: 520px) { .brand small { display: block; } .brand b { max-width: none; white-space: nowrap; } }
@media (max-width: 520px) { .brand img { height: 30px; } .brand b { font-size: .86rem; } .brand small { font-size: .6rem; } }

/* Home page hero: text on the left, the whole building photo on the right. */
.hero.with-photo .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero.with-photo h1 { font-size: clamp(1.4rem, 3.5vw, 2.9rem); }
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
@media (max-width: 820px) { .hero.with-photo .hero-split { grid-template-columns: 1fr; } .hero.with-photo h1 { font-size: clamp(1.4rem, 6.6vw, 2.6rem); } .hero-photo { order: -1; } }

/* ---------- Home: events in the next four weeks ---------- */
.upcoming-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.upcoming-head h2 { margin-bottom: 0; }
.upcoming { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.upcoming li { display: grid; grid-template-columns: 13.5em minmax(0, 1fr); gap: 4px 24px; padding: 14px 22px; margin: 0; border-top: 1px solid var(--line); }
.upcoming li:first-child { border-top: 0; }
.upcoming li > b { font: 600 1rem var(--display); color: var(--red-deep); }
.upcoming li strong { color: var(--ink); }
.upcoming li.upcoming-empty { display: block; color: var(--muted); }
@media (max-width: 640px) { .upcoming li { grid-template-columns: 1fr; padding: 12px 16px; } }
.upcoming li small { display: block; font-size: .92rem; color: var(--muted); margin-top: 2px; }

/* ---------- Volunteer jobs: sign-up link on the right ---------- */
.checks li.has-signup { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 18px; }
.checks li.has-signup > span { flex: 1 1 auto; min-width: 0; }
.signup { flex: none; display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.signup:hover { background: var(--red-deep); color: #fff; }
.signup[href="#"], .signup:not([href]) { display: none; }
body.editing .signup { cursor: pointer; }
body.editing .signup[href="#"], body.editing .signup:not([href]) { display: inline-block; background: none; color: var(--red-deep); border: 2px dashed var(--red-deep); padding: 3px 12px; }
body.editing .signup[href="#"]::after, body.editing .signup:not([href])::after { content: " link needed: click to add"; font-weight: 400; }
@media (max-width: 560px) { .checks li.has-signup { flex-direction: column; } }

/* ---------- Admin: volunteer sign-up links ---------- */
.admin-card form.vol-form { display: block; margin-top: 14px; }
.vol-row { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 6px 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.vol-row:first-child { border-top: 0; }
.vol-form input[type=url], .vol-form input[type=text] { font: 500 1rem var(--body); padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; width: 100%; background: #fff; color: var(--ink); }
.vol-new { display: grid; gap: 8px; margin: 18px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.vol-new h3 { margin: 0 0 2px; }
@media (max-width: 560px) { .vol-row { grid-template-columns: 1fr; } }
.vol-interest { margin-top: clamp(24px, 4vw, 44px); }
.vol-interest:empty { display: none; }
.callout .btn-line { margin: .8em 0 0; }

/* ---------- Events table: Volunteer column ---------- */
table.by-date th.vol, table.by-date td.vol { width: 9%; min-width: 92px; text-align: center; }
table.by-date td.vol .signup { font-size: .82rem; padding: 4px 12px; }
body.editing td.vol .signup[href="#"]::after { content: " + link"; }
body.editing td.vol .signup[href="#"] { white-space: nowrap; }
tr[data-past] td.vol .signup { display: none; }
body.editing tr[data-past] td.vol .signup { display: inline-block; }
table.by-date td:nth-child(3) { width: 30%; }
.tbl-wrap table.by-date { min-width: 640px; }
.upcoming li.has-go { grid-template-columns: 13.5em minmax(0, 1fr) auto; align-items: start; }
@media (max-width: 640px) { .upcoming li.has-go { grid-template-columns: 1fr; } .upcoming li.has-go .signup { justify-self: start; } }

/* ---------- Handbook: easier to scan ----------
   Each topic is its own white card; sub-topics sit in tinted boxes; lists that start
   with a bold label become rows with the label on its own line. */
.hb-section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.2vw, 38px); margin-bottom: 26px; box-shadow: 0 1px 0 rgba(20,20,45,.03); }
.hb-section:last-of-type { border-bottom: 1px solid var(--line); }
.hb-section h2 { margin-top: 0; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 3px solid var(--gold); display: inline-block; }
.hb-section [data-edit] > h2 + * { clear: both; }
.hb-section [data-edit] > :last-child, .hb-box > :last-child { margin-bottom: 0; }
.hb-section p, .hb-section li { max-width: 68ch; }
.hb-box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 0 0 16px; }
.hb-section .hb-box h3 { margin-top: 0; margin-bottom: .5em; }
.hb-box .callout, .hb-box .tbl-wrap { background: var(--card); }
ul.facts { list-style: none; padding: 0; margin: 0 0 1.1em; }
ul.facts > li { margin: 0; padding: 11px 0; border-top: 1px solid var(--line); }
ul.facts > li:first-child { border-top: 0; padding-top: 2px; }
ul.facts > li > strong:first-child { display: block; color: var(--ink); font: 600 1.02rem var(--display); margin-bottom: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 .9em; }
.chips > span:not(.todo) { background: var(--gold-soft); color: var(--ink); border-radius: 999px; padding: 3px 12px; font-weight: 600; font-size: .88rem; }
@media print { .hb-section, .hb-box { border: 0; padding: 0; background: none; box-shadow: none; } }

/* Header: tighter menu on mid-width screens so the name and seven links fit */
@media (min-width: 1061px) and (max-width: 1220px) {
  #nav { gap: 2px; }
  #nav a:not(.btn) { padding: 8px 9px; font-size: .94rem; }
  #nav .btn { margin-left: 4px; padding: 10px 14px; }
}
.brand { flex: none; }

/* PTA: suggestion box, a white box covered in kids' drawings and stickers, full width under the Connect cards */
.cards .card.suggest { grid-column: 1 / -1; margin-top: 44px; text-align: center; border: 4px solid var(--ink); border-radius: 22px; padding: 100px 28px 36px;
  background:
    url(../assets/suggest-left.svg?v=2) left 22px bottom 14px / auto 72% no-repeat,
    url(../assets/suggest-right.svg) right 22px bottom 14px / auto 72% no-repeat,
    linear-gradient(to bottom, #a5d8f7 0 66px, var(--ink) 66px 70px, #c6e8fc 70px);
  box-shadow: 0 10px 0 rgba(21,23,46,.10), var(--shadow); }
.card.suggest::before { content: ""; position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: min(320px, 62%); height: 16px; border-radius: 8px; background: var(--ink); }
.card.suggest a.slip { font-size: 0; color: transparent; position: absolute; top: -36px; left: 50%; width: min(190px, 38%); height: 112px; border-radius: 4px; border: 3px solid var(--ink);
  transform: translateX(-50%) rotate(-3deg); transform-origin: 50% 100%;
  /* the sheet is whole; the clip hides the part that is inside the slot, and follows the sheet as it lifts */
  clip-path: polygon(-4px -4px, calc(100% + 4px) -4px, calc(100% + 4px) 75px, -4px 65px);
  transition: transform .2s ease, clip-path .2s ease;
  background: repeating-linear-gradient(to bottom, transparent 0 12px, #a9c4ef 12px 14px) 0 8px, var(--gold-soft); }
.card.suggest a.slip:hover, .card.suggest a.slip:focus-visible { transform: translateX(-50%) translateY(-24px) rotate(-3deg); clip-path: polygon(-4px -4px, calc(100% + 4px) -4px, calc(100% + 4px) 99px, -4px 89px); }
.card.suggest h3 { display: inline-block; margin: 0 0 16px; padding: 10px 32px; font-size: clamp(1.6rem, 3.2vw, 2rem); background: var(--gold); border-radius: 4px; transform: rotate(-1.5deg); box-shadow: 0 2px 0 rgba(21,23,46,.18); }
.card.suggest p { max-width: 30ch; margin-left: auto; margin-right: auto; }
.card.suggest p:not(.small) { font-size: 1.12rem; }
@media (max-width: 900px) {
  .cards .card.suggest { padding-bottom: 150px; background-size: auto 120px, auto 120px, auto; background-position: left 8px bottom 10px, right 8px bottom 10px, 0 0; }
}
.card ul.facts > li:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 500px) {
  .card.suggest a.slip { clip-path: polygon(-4px -4px, calc(100% + 4px) -4px, calc(100% + 4px) 74px, -4px 67px); }
  .card.suggest a.slip:hover, .card.suggest a.slip:focus-visible { clip-path: polygon(-4px -4px, calc(100% + 4px) -4px, calc(100% + 4px) 98px, -4px 91px); }
}

/* Phones: nothing may be wider than the screen */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}
@media (max-width: 360px) { .hero h1 em { white-space: normal; } }

/* Phones: tables become stacked rows instead of scrolling sideways */
@media (max-width: 640px) {
  .tbl-wrap { overflow-x: visible; }
  .tbl-wrap table, .tbl-wrap table.by-date { min-width: 0; display: block; }
  .tbl-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl-wrap tbody { display: block; }
  .tbl-wrap tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .tbl-wrap tbody tr:last-child { border-bottom: 0; }
  body.editing table.hide-past tr[data-past] { display: block; }
  .tbl-wrap th, .tbl-wrap td,
  table.by-date td:first-child, table.by-date th[scope=row], table.by-date td:nth-child(3), table.by-date th.vol, table.by-date td.vol { display: block; width: auto; min-width: 0; padding: 0; border: 0; text-align: left; }
  .tbl-wrap td:empty { display: none; }
  .tbl-wrap tbody th { font-size: 1.02rem; }
  .tbl-wrap tbody th + td, .tbl-wrap tbody td + td { margin-top: 4px; }
  .tbl-wrap td.time { white-space: normal; }
  table.by-date td:first-child { font: 600 .92rem var(--display); color: var(--red-deep); margin-bottom: 3px; }
  table.by-date tbody th { font-size: 1.1rem; }
  table.by-date td.vol { margin-top: 0; }
  table.by-date td.vol .signup { margin-top: 10px; font-size: .9rem; padding: 8px 16px; }

  /* Handbook: less nested padding so the text column is wider */
  .hb-section { padding: 20px 16px; margin-bottom: 18px; }
  .hb-box { padding: 14px 14px; }
}

.btn-red { background: var(--red-deep); color: #fff; }
.btn-red:hover { background: var(--red); color: #fff; }

.hello .han { color: inherit; }

/* Shop photo: a small tilted snapshot beside the words */
.shop-logo.photo { padding: 7px 7px 7px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0; transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(21,23,46,.08), 0 12px 26px rgba(21,23,46,.14); transition: transform .2s ease; }
.shop-logo.photo:hover { transform: rotate(0deg) scale(1.03); }
.shop-logo.photo img { max-width: none; width: 100%; border-radius: 7px; background: var(--gold-soft); }
.support > .card.shop { display: grid; grid-template-columns: minmax(0, 190px) 1fr; column-gap: 30px; align-items: center; align-content: center; }
.support > .card.shop > .shop-logo.photo { grid-row: 1 / span 2; }
.support > .card.shop > .btn-row { margin-top: 0; padding-top: 18px; align-self: start; }
.support > .card.shop > [data-edit] { align-self: end; }
.support > .shop-logo.photo { width: 100%; max-width: 250px; justify-self: center; }
.support:has(> .shop-logo.photo) { grid-template-columns: minmax(0, 270px) 1fr; column-gap: 40px; align-items: center; }
@media (max-width: 1000px) and (min-width: 761px), (max-width: 480px) {
  .support > .card.shop { grid-template-columns: 1fr; row-gap: 22px; }
  .support > .card.shop > .shop-logo.photo { grid-row: auto; max-width: 200px; }
}
@media (max-width: 760px) { .support:has(> .shop-logo.photo) { grid-template-columns: 1fr; row-gap: 26px; } .support > .shop-logo.photo { max-width: 220px; justify-self: start; } }

/* King pride: red, to match the logo and the Shop button */
.support > .card.shop, #shop.section { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.support > .card.shop h2, #shop.section h2 { color: #fff; }
.support > .card.shop .tag, #shop.section .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
#shop.section .eyebrow { display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: .72rem; }
.support > .card.shop .btn-ink, #shop.section .btn-ink { background: var(--gold); color: var(--ink); }
.support > .card.shop .btn-ink:hover, #shop.section .btn-ink:hover { background: #ffd84f; color: var(--ink); }
.support > .card.shop .shop-logo.photo, #shop.section .shop-logo.photo { border-color: transparent; box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 14px 28px rgba(0,0,0,.28); }

.bignum-wrap .bignum { margin: 0; }
.bignum-note { margin: 14px 0 0; font: 600 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--display); color: #fff; }

/* Ice cream party callout under the fundraiser result */
.bignum-sub { display: flex; align-items: center; gap: 16px; margin: 20px 0 0; max-width: 520px; font-size: 1.06rem; padding: 12px 20px 12px 12px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; color: #fff; font-weight: 600; line-height: 1.45; }
.bignum-sub::before { content: ""; flex: none; width: 150px; height: 123px; background: url(../assets/ice-cream-sandwich.svg) center / contain no-repeat; animation: treat-wiggle 1.8s ease-in-out infinite; }
@keyframes treat-wiggle { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .bignum-sub::before { animation: none; } }
@media (max-width: 480px) { .bignum-sub::before { width: 104px; height: 85px; } .bignum-sub { gap: 12px; padding-right: 14px; } }
