:root {
  --navy: #0a2540;
  --navy-dark: #061628;
  --navy-light: #143a5c;
  --paper: #ffffff;
  --off: #f7f9fc;
  --mist: #e8eef4;
  --line: #d0d9e4;
  --ink: #1a2b3c;
  --muted: #4a5b6c;
  --slate: #6b7c8f;
  --sky: #7eb8ff;
  --danger: #9b1c2c;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-card: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lift: 0 12px 40px rgba(10, 37, 64, 0.12);
  --wrap: 1200px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
address { font-style: normal; }
h1, h2, h3, h4 {
  text-wrap: balance;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
}
p { text-wrap: pretty; margin: 0; }
button, [role="button"] { cursor: pointer; }
button { font-family: inherit; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand img { height: 44px; width: auto; }
.brand-kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.brand-name {
  display: block;
  font-size: clamp(0.92rem, 1.6vw, 1.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 13.5rem;
}
.brand-text { display: none; }
.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--navy); font-weight: 600; }
.main-nav a.nav-cta,
.main-nav a.nav-cta:hover,
.main-nav a.nav-cta.is-active {
  color: #fff;
}
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .main-nav[data-open="true"] {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
  }
  .main-nav[data-open="true"] a {
    border-bottom: 1px solid var(--mist);
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }
  .main-nav[data-open="true"] .nav-cta {
    margin-top: 0.75rem;
    border: 0;
    text-align: center;
    color: #fff;
  }
}

@media (min-width: 640px) {
  .brand-text { display: block; }
  .brand img { height: 56px; }
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .nav-cta { margin-left: 0.25rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease-out, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn svg { flex-shrink: 0; }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--sky);
}
.btn-primary {
  background: var(--navy);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--paper); }
.btn-white {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--navy);
}
.btn-white:hover {
  background: transparent;
  color: var(--paper);
}
.btn-outline-white {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn-outline-white:hover { background: var(--paper); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-md { min-height: 44px; padding: 0.75rem 1.75rem; font-size: 1rem; }
.btn-lg { min-height: 48px; padding: 1rem 2.25rem; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .btn-row { flex-direction: row; justify-content: center; }
  .btn-row-left { justify-content: flex-start; }
}

/* Hero */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--paper);
  text-align: center;
}
.hero { padding: 4rem 1.25rem; }
.page-hero { padding: 3.5rem 1.25rem; }
.hero h1, .page-hero h1 { color: var(--paper); font-size: clamp(2rem, 4.5vw, 3.5rem); }
.hero-orb {
  pointer-events: none;
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.pill {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: var(--paper);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.kicker {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}
.kicker-navy { color: rgba(10,37,64,0.8); }
.lede {
  margin: 1.25rem auto 0;
  max-width: 540px;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
}
.page-hero .lede { margin-top: 0.75rem; max-width: 560px; color: rgba(255,255,255,0.85); }
.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: min(100%, var(--wrap));
  margin-inline: auto;
}
.hero-crest { display: flex; justify-content: center; }
.hero-crest img {
  width: min(100%, 260px);
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.35));
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--paper); }
.hero-stats span { font-size: 0.875rem; color: rgba(255,255,255,0.7); }

@media (min-width: 768px) {
  .hero { padding: 6rem 1.5rem; }
  .page-hero { padding: 4rem 1.5rem; }
  .hero-crest img { width: min(100%, 380px); }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero .copy { text-align: left; }
  .hero .lede { margin-left: 0; }
  .hero .btn-row { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; }
}

/* Cards / sections */
main { flex: 1; }
.section { padding: 4rem 0; }
.section-off { background: var(--off); }
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.section-head p { margin-top: 0.75rem; color: var(--muted); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

.value-grid {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 1rem;
  margin-top: -2.5rem;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 640px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.card-hover { transition: transform 0.2s, box-shadow 0.2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--off);
  color: var(--navy);
}
.card h3 { font-size: 1.15rem; }
.card p, .muted { color: var(--muted); }
.card .short {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.fund-grid, .impact-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .fund-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .fund-grid { grid-template-columns: repeat(3, 1fr); }
}
.card .btn { margin-top: 1.25rem; width: 100%; }

.memorial-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--paper);
  text-align: center;
  padding: 4rem 1.25rem;
}
.memorial-band h2 { color: var(--paper); }
.memorial-band img {
  margin: 2rem auto 0;
  max-width: 280px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  outline: 1px solid rgba(255,255,255,0.1);
  outline-offset: -1px;
}
.memorial-band p { margin: 1.5rem auto 0; max-width: 640px; color: rgba(255,255,255,0.9); }
.motto { font-weight: 600; color: var(--paper); }

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.mini-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
.mini { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.mini .icon { color: var(--navy); margin-bottom: 0.75rem; }
.cta-band {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
  padding: 4rem 1.25rem;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { margin: 0.75rem auto 0; max-width: 560px; font-size: 1.125rem; color: rgba(255,255,255,0.85); }

/* Give checkout */
.checkout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .checkout { grid-template-columns: 1fr minmax(0, 28rem); align-items: start; }
}
.fund-pick { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .fund-pick { grid-template-columns: 1fr 1fr; } }
.fund-btn {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.fund-btn:hover { border-color: rgba(10,37,64,0.4); }
.fund-btn.is-on {
  border-color: var(--navy);
  background: var(--off);
  box-shadow: var(--shadow-card);
}
.fund-btn strong { color: var(--navy); display: block; }
.fund-btn span { display: block; margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted); }
.live-tag {
  float: right;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
}
.fund-btn .live-tag {
  color: #fff;
  display: inline-block;
}
.note {
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: var(--off);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.amount-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 44px;
  min-width: 4.5rem;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.chip.is-on { border-color: var(--navy); background: var(--navy); color: var(--paper); }
.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.seg button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--navy);
  border-radius: 6px;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.seg button.is-on { background: var(--navy); color: var(--paper); }
.gift-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.price { font-size: 1.875rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; margin-top: 1rem; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.embed-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.embed-frame iframe {
  width: 100%;
  height: min(820px, 90vh);
  border: 0;
  background: var(--off);
}
.embed-foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: var(--off);
  padding: 0.75rem 1rem;
}
@media (min-width: 640px) {
  .embed-foot { flex-direction: row; align-items: center; }
}

/* Forms */
.form-layout {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .form-layout { grid-template-columns: minmax(0, 20rem) 1fr; align-items: start; }
}
.aside-card { background: var(--off); }
.aside-card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.875rem; }
.aside-card li + li { margin-top: 0.6rem; }
.form-card { padding: 1.25rem; box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.fields { display: grid; gap: 1rem; }
@media (min-width: 640px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.span-2 { grid-column: 1 / -1; }
label.lbl {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
label.lbl .req { color: var(--navy); }
label.lbl .hint { margin-left: 0.5rem; font-weight: 400; color: var(--slate); }
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="reset"]):not([type="color"]):not([type="range"]),
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--off);
  color: var(--ink);
  padding: 0.7rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a2540' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
textarea { min-height: 6.5rem; resize: vertical; appearance: auto; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  background: var(--paper);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.15);
}
.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink);
}
.check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--navy); flex-shrink: 0; }
.err { color: var(--danger); font-size: 0.875rem; margin-top: 0.3rem; }
.banner-err {
  border: 1px solid #f1c4c8;
  background: #fdecec;
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.consent-box {
  border: 1px solid var(--line);
  background: var(--off);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}
.success {
  text-align: center;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
}
.success h2 { margin-top: 1rem; }
.success p { margin: 0.5rem auto 0; max-width: 28rem; color: var(--muted); }
.check-mark {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  color: var(--navy);
}

/* Memorial / impact extras */
.memorial-split {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .memorial-split { grid-template-columns: minmax(0, 18rem) 1fr; }
}
.portrait { max-width: 20rem; margin-inline: auto; }
@media (min-width: 1024px) { .portrait { margin-inline: 0; } }
.portrait img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  outline: 1px solid rgba(10,37,64,0.1);
  outline-offset: -1px;
}
.caption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--slate); text-align: center; }
@media (min-width: 1024px) { .caption { text-align: left; } }
.prose p + p { margin-top: 1rem; }
.stack { display: grid; gap: 2.5rem; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { height: 50px; width: auto; }
.footer-tag, .footer-homeof { margin-top: 1rem; max-width: 280px; color: rgba(255,255,255,0.65); }
.footer-address { margin-top: 1rem; line-height: 1.75; }
.footer-address span, .footer-address a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-address a:hover { color: var(--paper); }
.site-footer h4 {
  color: var(--paper);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.site-footer a { display: block; margin-bottom: 0.6rem; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
  font-size: 0.875rem;
}

.mobile-give-bar {
  display: none;
}
@media (max-width: 767px) {
  body.has-give-bar { padding-bottom: 5.5rem; }
  .mobile-give-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.95);
    padding: 0.75rem 0.75rem max(0.75rem, env(safe-area-inset-bottom));
    backdrop-filter: blur(8px);
  }
}

/* Admin */
.admin-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
table.admin {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.admin th, table.admin td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--mist);
  vertical-align: top;
}
table.admin th { background: var(--off); color: var(--navy); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
table.admin tr:last-child td { border-bottom: 0; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--muted); }

.raffle-band {
  background: linear-gradient(160deg, #3a1f12 0%, var(--navy-dark) 55%, var(--navy) 100%);
  color: var(--paper);
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  overflow-x: hidden;
}
.raffle-band .wrap { width: 100%; max-width: var(--wrap); }
@media (min-width: 640px) {
  .raffle-band { padding: 3.5rem 1.25rem 4rem; }
}
.raffle-band h2 { color: var(--paper); font-size: clamp(1.45rem, 7vw, 2.5rem); }
.raffle-price {
  margin: 0.65rem auto 0;
  font-weight: 600;
  color: #f3d19a;
  font-size: clamp(0.92rem, 3.6vw, 1.05rem);
}
.raffle-ticket-link,
.raffle-ticket-wrap {
  display: block;
  margin: 1.15rem auto 0;
  max-width: 1100px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  outline: 1px solid rgba(255,255,255,0.12);
}
.raffle-ticket-wrap picture,
.raffle-ticket-link picture,
.raffle-ticket-wrap img,
.raffle-ticket-link img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.prize-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 1.15rem;
}
@media (min-width: 480px) {
  .prize-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}
@media (min-width: 640px) {
  .prize-grid { gap: 1rem; margin-top: 1.75rem; }
}
.prize-card {
  background: #f7f0e1;
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  border: 1px solid #e2d3b3;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
@media (min-width: 480px) {
  .prize-card {
    display: block;
    text-align: center;
    padding: 0.85rem 0.35rem;
  }
}
@media (min-width: 640px) {
  .prize-card { padding: 1.25rem 1rem; }
}
.prize-place {
  font-size: 1.15rem;
  font-weight: 800;
  color: #9b1c2c;
  line-height: 1;
  margin: 0;
}
.prize-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.prize-amt {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
@media (min-width: 480px) {
  .prize-place { font-size: clamp(1.1rem, 4vw, 1.5rem); }
  .prize-label { display: block; margin-top: 0.35rem; font-size: 0.65rem; }
  .prize-amt { display: block; margin-top: 0.35rem; font-size: clamp(1rem, 4.2vw, 1.85rem); }
}
@media (min-width: 640px) {
  .prize-label { font-size: 0.75rem; }
}
.raffle-total {
  margin: 1.15rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 1rem;
  color: var(--ink);
  padding: 0 0.15rem;
}
.raffle-total-light { color: rgba(255,255,255,0.92); }
.raffle-facts {
  margin: 1.15rem auto 0;
  max-width: 36rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.raffle-facts li {
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}
.raffle-hero { padding: 2.15rem 1.15rem 2.35rem; }
.raffle-hero h1 { font-size: clamp(1.6rem, 8vw, 3.25rem); }
.raffle-hero .lede { font-size: 1rem; max-width: 36rem; }
.raffle-hero-actions { margin-top: 1.35rem; width: min(100%, 22rem); margin-inline: auto; }
.raffle-hero-actions .btn { width: 100%; }
.raffle-main .section { padding: 1.75rem 0 2.25rem; }
.raffle-buy h2 { text-align: center; margin-bottom: 0.5rem; font-size: 1.35rem; }
.raffle-buy-lede { text-align: center; margin-bottom: 1.25rem; }
.raffle-buy-wrap { max-width: 800px; }
.raffle-mobile-buy { display: grid; gap: 0.75rem; }
.raffle-mobile-buy .muted { text-align: center; font-size: 0.9rem; }
.raffle-embed { display: none; }
@media (min-width: 640px) {
  .raffle-hero { padding: 3.5rem 1.5rem; }
  .raffle-hero-actions { width: auto; }
  .raffle-hero-actions .btn { width: auto; }
  .raffle-main .section { padding: 3.5rem 0; }
  .raffle-buy h2 { font-size: 1.5rem; }
  .raffle-mobile-buy { display: none; }
  .raffle-embed { display: block; }
}
.raffle-callout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: #f7f0e1;
  box-shadow: var(--shadow-card);
}
.raffle-callout img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.raffle-callout strong { display: block; color: var(--navy); font-size: 1.05rem; }
.raffle-callout .muted { display: block; margin-top: 0.25rem; font-size: 0.9rem; }
.raffle-callout .btn { width: 100%; }
@media (max-width: 479px) {
  .raffle-callout img { display: none; }
}
@media (min-width: 768px) {
  .raffle-callout {
    flex-direction: row;
    align-items: center;
  }
  .raffle-callout img { display: block; width: 220px; flex-shrink: 0; }
  .raffle-callout span:last-child { margin-left: auto; width: auto; }
}
@media (max-width: 639px) {
  .raffle-band .btn-row { width: 100%; }
  .raffle-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
