/* Rally for Ron -- rustic western meets modern event. */
:root {
  --forest: #143d2b;
  --forest-deep: #0b2418;
  --pine: #1f5a3c;
  --moss: #2f6e4a;
  --wood: #7a4a26;
  --wood-mid: #a06a3c;
  --wood-light: #c99464;
  --gold: #f0bf4c;
  --gold-deep: #c9921f;
  --cream: #fbf6ea;
  --paper: #f3ead5;
  --paper-edge: #e4d6b5;
  --ink: #1b2a21;
  --ink-soft: #46574b;
  --red: #b3342b;
  --red-deep: #8e241d;
  --ok: #1f7a46;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 36, 24, .14), 0 2px 6px rgba(11, 36, 24, .08);
  --shadow-lg: 0 24px 60px rgba(11, 36, 24, .28);
  --font-display: 'Rye', 'Rockwell Extra Bold', Georgia, serif;
  --font-head: 'Bitter', 'Rockwell', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --max: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 19px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--forest-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 18px; } }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(11, 36, 24, .96); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--wood-mid);
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); flex-shrink: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold); object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--gold); letter-spacing: .02em; }
.brand-text span { font-size: .85rem; color: #d9e6dc; letter-spacing: .08em; text-transform: uppercase; }
.brand:hover { color: var(--cream); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: #e9f1ea; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 11px; border-radius: 10px; white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(240, 191, 76, .16); color: var(--gold); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: var(--gold); color: var(--ink); border: 0; border-radius: 12px; font: 700 1.05rem var(--font-body); padding: 12px 16px; min-height: 52px; cursor: pointer; align-items: center; gap: 10px; }
.menu-btn .bars { width: 22px; height: 16px; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars i { content: ''; position: absolute; left: 0; right: 0; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars i { top: 6.5px; } .menu-btn .bars::after { bottom: 0; }
.menu-open .menu-btn .bars::before { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-btn .bars::after { transform: translateY(-6.5px) rotate(-45deg); }
.menu-open .menu-btn .bars i { opacity: 0; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--forest-deep); padding: 20px 20px 40px; overflow-y: auto;
    opacity: 0; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; visibility: hidden;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 1.3rem; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-text span { display: none; } .brand img { width: 46px; height: 46px; } .menu-btn .label { display: none; } }

.announce { background: var(--red); color: #fff; text-align: center; font-weight: 700; padding: 10px 16px; font-size: 1.02rem; }
.announce[hidden] { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.1rem/1.1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(180deg, #ffd56a, var(--gold) 55%, var(--gold-deep)); color: #2a1d05; box-shadow: 0 6px 18px rgba(201, 146, 31, .45), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold:hover { color: #2a1d05; box-shadow: 0 10px 26px rgba(201, 146, 31, .55), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(179, 52, 43, .35); }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-green { background: var(--forest); color: #fff; }
.btn-green:hover { background: var(--pine); color: #fff; }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(251, 246, 234, .55); }
.btn-ghost:hover { background: rgba(251, 246, 234, .12); color: #fff; border-color: var(--cream); }
.btn-outline { background: #fff; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-lg { min-height: 64px; font-size: 1.25rem; padding: 16px 34px; }
.btn-sm { min-height: 44px; font-size: .98rem; padding: 10px 18px; }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(1200px 600px at 75% 30%, rgba(47, 110, 74, .55), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(122, 74, 38, .35), transparent 60%),
    linear-gradient(180deg, var(--forest-deep), var(--forest) 70%, #1a4a33);
}
.hero::after { /* pine silhouette ridge */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath fill='%23fbf6ea' d='M0 90V70l30-22 22 16 26-40 30 38 20-14 34 30 40-50 34 44 26-20 30 26 44-56 38 50 26-18 34 28 42-48 32 40 30-22 36 32 46-60 40 54 28-20 32 26 40-44 34 36 26-16 40 34 44-52 36 44 30-24 34 30 42-50 38 44 30-18 40 30 36-40 32 34V90z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; padding: 56px 20px 120px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); color: var(--gold); font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 14px; }
.kicker::before { content: ''; width: 34px; height: 3px; background: var(--gold); border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1; margin-bottom: .2em; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero h1 .accent { color: var(--gold); display: block; font-family: var(--font-display); font-weight: 400; font-size: .62em; letter-spacing: .02em; margin-top: .25em; }
.hero-lede { font-size: 1.28rem; color: #e3ede5; max-width: 34ch; margin: 18px 0 26px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 26px; padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; background: rgba(251, 246, 234, .1); border: 1px solid rgba(251, 246, 234, .22); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 1.05rem; }
.hero-facts svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.hero-art::before { content: ''; position: absolute; inset: 8% 6% 4%; background: radial-gradient(circle, rgba(240, 191, 76, .35), transparent 65%); filter: blur(10px); }
.hero-art img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(0,0,0,.45)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-10px) rotate(.4deg); } }
.hero-note { margin-top: 18px; font-size: 1rem; color: #cfdcd2; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 30px 16px 110px; gap: 10px; }
  .hero-art { order: -1; max-width: 340px; }
  .hero h1 .accent { display: none; } /* the artwork right above already says it */
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-facts, .hero .btn-row { justify-content: center; }
  .kicker { justify-content: center; }
}

/* ---------- countdown ---------- */
.countdown { display: flex; gap: 10px; margin: 0 0 28px; }
.countdown .unit { background: linear-gradient(180deg, #8a5630, var(--wood)); border: 2px solid #5a3417; border-radius: 12px; min-width: 82px; padding: 10px 8px 8px; text-align: center; box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 6px 14px rgba(0,0,0,.3); }
.countdown .num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; line-height: 1; color: #fff7e3; font-variant-numeric: tabular-nums; }
.countdown .lbl { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #f6dfb4; margin-top: 4px; }
.countdown-done { font-family: var(--font-display); color: var(--gold); font-size: 1.5rem; margin-bottom: 24px; }
@media (max-width: 900px) { .countdown { justify-content: center; } }
@media (max-width: 420px) { .countdown .unit { min-width: 70px; } .countdown .num { font-size: 1.7rem; } }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }
.eyebrow { display: inline-block; font-family: var(--font-display); color: var(--red); letter-spacing: .05em; font-size: 1.05rem; margin-bottom: 6px; }
.bg-paper { background: var(--paper); background-image: radial-gradient(rgba(122, 74, 38, .06) 1px, transparent 1px); background-size: 18px 18px; }
.bg-forest { background: linear-gradient(180deg, var(--forest), var(--forest-deep)); color: var(--cream); }
.bg-forest h2, .bg-forest h3 { color: #fff; }
.bg-forest .section-head p { color: #d6e3d9; }
.page-hero { background: linear-gradient(180deg, var(--forest-deep), var(--forest)); color: var(--cream); padding: 54px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--cream); clip-path: polygon(0 100%, 0 40%, 6% 70%, 12% 30%, 19% 66%, 26% 22%, 33% 60%, 41% 28%, 49% 70%, 56% 34%, 63% 64%, 71% 24%, 79% 62%, 86% 32%, 93% 66%, 100% 36%, 100% 100%); }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #d6e3d9; font-size: 1.2rem; max-width: 60ch; margin: 12px 0 0; }
.page-hero .wrap { position: relative; z-index: 1; }

/* wood plank sign heading */
.plank { display: inline-block; position: relative; background: linear-gradient(180deg, #b47a46, #8a5630 55%, #74441f); color: #fff8e6; font-family: var(--font-display); font-weight: 400; padding: 10px 26px; border-radius: 8px; box-shadow: inset 0 2px 0 rgba(255,255,255,.2), inset 0 -3px 0 rgba(0,0,0,.2), 0 8px 18px rgba(0,0,0,.25); text-shadow: 0 2px 0 rgba(0,0,0,.35); letter-spacing: .03em; }
.plank::before, .plank::after { content: ''; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ddd, #555); }
.plank::before { left: 9px; } .plank::after { right: 9px; }

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border: 1px solid rgba(122, 74, 38, .12); position: relative; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card-link:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.card-link .go { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.card-link:hover .go span { transform: translateX(4px); }
.card-link .go span { transition: transform .2s; }
.icon-badge { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(135deg, var(--forest), var(--moss)); color: var(--gold); box-shadow: 0 6px 14px rgba(20, 61, 43, .3); }
.icon-badge svg { width: 30px; height: 30px; }
.icon-badge.gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--forest-deep); }
.icon-badge.red { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; }
.icon-badge.wood { background: linear-gradient(135deg, var(--wood-mid), var(--wood)); color: #fff4dc; }

/* ---------- progress ---------- */
.progress-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 28px 32px; margin: -70px auto 0; position: relative; z-index: 3; max-width: 980px; border: 1px solid rgba(122, 74, 38, .14); }
.progress-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.raised { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--forest); line-height: 1; font-variant-numeric: tabular-nums; }
.raised small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink-soft); margin-top: 6px; }
.progress-stats { display: flex; gap: 28px; text-align: right; }
.progress-stats b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.progress-stats span { font-size: .95rem; color: var(--ink-soft); }
.bar { height: 26px; background: #efe5cd; border-radius: 999px; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,.12); position: relative; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--moss), var(--forest) 40%, var(--gold-deep) 85%, var(--gold)); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); position: relative; }
.bar-fill::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 12px, transparent 12px 24px); animation: stripes 1.4s linear infinite; }
@keyframes stripes { to { background-position: 34px 0; } }
.progress-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 640px) { .progress-card { padding: 22px 20px; margin-top: -60px; } .progress-stats { text-align: left; } }

/* ---------- story ---------- */
.story-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.story-photo { position: relative; }
.story-photo img { border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--forest); padding: 18px; }
.story-photo .tag { position: absolute; bottom: -18px; right: 18px; }
@media (max-width: 860px) { .story-split { grid-template-columns: 1fr; gap: 36px; } }
.quote { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.35; color: var(--forest); border-left: 6px solid var(--gold); padding: 6px 0 6px 22px; margin: 24px 0; font-style: italic; }
.prose { max-width: 70ch; margin: 0 auto; font-size: 1.15rem; }
.prose p { margin-bottom: 1.2em; }
.prose h3 { font-size: 1.7rem; margin-top: 1.6em; color: var(--red); font-family: var(--font-display); font-weight: 400; }
.prose .dropcap { font-size: 1.32rem; line-height: 1.55; color: var(--forest-deep); font-weight: 600; border-left: 6px solid var(--gold); padding-left: 20px; }
.strength-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px 0; }
.strength { text-align: center; background: #fff; border-radius: 16px; padding: 22px 12px; box-shadow: var(--shadow); }
.strength b { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--forest); line-height: 1; }
.strength span { font-size: .98rem; color: var(--ink-soft); }
@media (max-width: 760px) { .strength-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- event info ---------- */
.info-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.info-list .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.info-list .ic svg { width: 26px; height: 26px; }
.info-list b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--forest-deep); }
.cash-banner { display: flex; gap: 16px; align-items: center; background: #fff4d6; border: 2px dashed var(--gold-deep); border-radius: 16px; padding: 18px 22px; font-weight: 600; }
.cash-banner svg { width: 40px; height: 40px; color: var(--gold-deep); flex-shrink: 0; }
.map-frame { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: 16px; box-shadow: var(--shadow); background: #e6e0cf; }
.placeholder { background: #fff0c2; border: 1px dashed #c9921f; padding: 0 6px; border-radius: 6px; color: #6b4a00; font-weight: 600; }

/* ---------- forms ---------- */
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 34px; border: 1px solid rgba(122, 74, 38, .14); }
@media (max-width: 600px) { .form-card { padding: 22px 18px; } }
label { display: block; font-weight: 700; margin: 0 0 6px; font-size: 1.05rem; }
.field { margin-bottom: 20px; }
.hint { font-size: .95rem; color: var(--ink-soft); font-weight: 400; margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=datetime-local], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: 1.1rem; padding: 14px 16px; min-height: 56px; border: 2px solid #cdbf9e; border-radius: 12px; background: #fffdf7; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(31, 90, 60, .18); }
.check { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; cursor: pointer; padding: 12px 14px; border-radius: 12px; border: 2px solid #e6dcc3; background: #fffdf7; margin-bottom: 12px; }
.check input { width: 26px; height: 26px; flex-shrink: 0; accent-color: var(--forest); margin-top: 1px; }
.check span small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 18px; border-radius: 12px; font-weight: 600; margin-top: 16px; }
.form-msg.ok { background: #e3f4e8; color: #14532d; border: 2px solid #8cc9a0; }
.form-msg.err { background: #fde8e6; color: #7f1d1d; border: 2px solid #f0a49c; }
.form-msg:empty { display: none; }

/* donation amounts */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.amount-btn { min-height: 74px; border-radius: 14px; border: 2px solid #cdbf9e; background: #fffdf7; font: 800 1.6rem var(--font-head); color: var(--forest); cursor: pointer; transition: all .15s ease; }
.amount-btn:hover { border-color: var(--forest); transform: translateY(-2px); }
.amount-btn[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); box-shadow: 0 8px 18px rgba(20, 61, 43, .35); }
.amount-btn.other { font-size: 1.15rem; font-family: var(--font-body); }
.custom-amount { position: relative; }
.custom-amount span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 1.3rem; color: var(--ink-soft); }
.custom-amount input { padding-left: 38px; font-size: 1.4rem; font-weight: 700; }
@media (max-width: 440px) { .amounts { grid-template-columns: repeat(2, 1fr); } }
.secure-note { display: flex; gap: 10px; align-items: center; color: var(--ink-soft); font-size: .95rem; margin-top: 14px; }
.secure-note svg { width: 20px; height: 20px; color: var(--ok); flex-shrink: 0; }
.fineprint { font-size: .95rem; color: var(--ink-soft); background: var(--paper); border-radius: 12px; padding: 14px 16px; margin-top: 18px; }

/* ---------- supporter wall / guestbook ---------- */
.wall { columns: 3 280px; column-gap: 20px; }
.wall-item { break-inside: avoid; background: #fff; border-radius: 14px; padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.wall-item.plain { border-top-color: var(--moss); }
.wall-item b { font-family: var(--font-head); color: var(--forest); }
.wall-item p { margin: 8px 0 0; color: var(--ink); font-size: 1.05rem; }
.wall-item small { color: var(--ink-soft); }
.names-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.names-cloud span { background: rgba(251, 246, 234, .1); border: 1px solid rgba(251, 246, 234, .25); color: var(--cream); padding: 8px 16px; border-radius: 999px; font-weight: 600; }

/* ---------- raffles / auction ---------- */
.item-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(122, 74, 38, .12); transition: transform .2s, box-shadow .2s; }
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.item-media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--forest), var(--moss)); display: grid; place-items: center; position: relative; overflow: hidden; }
.item-media img { width: 100%; height: 100%; object-fit: cover; }
.item-media .ph { color: rgba(240, 191, 76, .8); width: 70px; height: 70px; }
.item-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.item-body h3 { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.chip-green { background: #dff1e5; color: #14532d; } .chip-gold { background: #fff0c2; color: #6b4a00; } .chip-red { background: #fde2df; color: #8e241d; } .chip-gray { background: #ebe7dc; color: #4b4b4b; }
.item-media .chip { position: absolute; top: 14px; left: 14px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.packages { display: flex; flex-wrap: wrap; gap: 8px; }
.pkg { background: var(--paper); border: 1px solid var(--paper-edge); border-radius: 10px; padding: 8px 12px; font-weight: 700; color: var(--forest-deep); }
.pkg small { font-weight: 600; color: var(--ink-soft); }
.bid-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bid-line .amt { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--forest); }
.time-left { font-weight: 700; color: var(--red); }
.notice { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-left: 6px solid var(--gold-deep); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 30px; }
.notice svg { width: 28px; height: 28px; color: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); background: #fff; border-radius: 18px; border: 2px dashed var(--paper-edge); }
.empty b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--forest); margin-bottom: 6px; }

/* dialog */
dialog { border: 0; border-radius: 20px; padding: 0; width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: var(--shadow-lg); background: var(--cream); color: var(--ink); }
dialog::backdrop { background: rgba(11, 36, 24, .7); backdrop-filter: blur(3px); }
.dlg-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--forest); color: #fff; padding: 16px 22px; }
.dlg-head h2 { color: #fff; font-size: 1.4rem; margin: 0; }
.dlg-close { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; flex-shrink: 0; }
.dlg-close:hover { background: rgba(255,255,255,.26); }
.dlg-body { padding: 24px; }
.gallery-main { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--forest); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { border: 3px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; width: 74px; height: 58px; flex-shrink: 0; cursor: pointer; background: none; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.history { list-style: none; padding: 0; margin: 0; max-height: 240px; overflow: auto; border-radius: 12px; background: #fff; }
.history li { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #eee5d1; }
.history li:first-child { background: #fff6dc; font-weight: 700; }

/* ---------- boards ---------- */
.board-wrap { background: linear-gradient(180deg, #a06a3c, #7a4a26); padding: 18px; border-radius: 18px; box-shadow: var(--shadow-lg), inset 0 2px 0 rgba(255,255,255,.18); }
.board-grid { display: grid; gap: 6px; }
.sq { aspect-ratio: 1; border-radius: 8px; border: 0; padding: 4px; font: 700 1rem var(--font-body); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.05; transition: transform .12s, box-shadow .12s; min-width: 0; overflow: hidden; }
.sq .n { font-family: var(--font-head); font-size: clamp(.85rem, 2.1vw, 1.35rem); }
.sq .who { font-size: clamp(.55rem, 1.1vw, .72rem); font-weight: 600; margin-top: 2px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sq.available { background: #fffaf0; color: var(--forest); box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.sq.available:hover { transform: scale(1.06); box-shadow: 0 6px 14px rgba(0,0,0,.25); z-index: 1; position: relative; }
.sq.selected { background: var(--gold); color: var(--ink); transform: scale(1.04); box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.3); }
.sq.reserved { background: #f5d48a; color: #5a3e00; cursor: default; }
.sq.sold { background: var(--forest); color: #e8f2ea; cursor: default; }
.sq.disabled { background: #6b5844; color: #b9a991; cursor: not-allowed; }
.sq.winner { background: var(--red); color: #fff; box-shadow: 0 0 0 3px var(--gold); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0; font-size: .98rem; }
.legend i { display: inline-block; width: 22px; height: 22px; border-radius: 6px; vertical-align: -5px; margin-right: 6px; border: 1px solid rgba(0,0,0,.15); }
.sticky-cta { position: sticky; bottom: 12px; z-index: 20; margin-top: 18px; background: var(--forest-deep); color: #fff; border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-lg); }
.sticky-cta[hidden] { display: none; }
@media (max-width: 560px) { .board-wrap { padding: 8px; } .board-grid { gap: 3px; } .sq { border-radius: 5px; padding: 1px; } .sq .who { display: none; } }

/* ---------- sponsors ---------- */
.tier { margin-bottom: 50px; }
.tier-title { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 24px; }
.tier-title::before, .tier-title::after { content: ''; height: 2px; flex: 1; max-width: 160px; background: linear-gradient(90deg, transparent, var(--wood-light)); }
.tier-title::after { transform: scaleX(-1); }
.sponsor { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: inherit; border-top: 5px solid var(--moss); transition: transform .2s; }
.sponsor:hover { transform: translateY(-4px); color: inherit; }
.sponsor img { max-height: 110px; width: auto; object-fit: contain; }
.sponsor.platinum { border-top-color: #8fa3b0; } .sponsor.gold { border-top-color: var(--gold); } .sponsor.silver { border-top-color: #b8b8b8; }
.sponsor .name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--forest-deep); }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 34px; }
.logo-strip a, .logo-strip span { font-family: var(--font-head); font-weight: 800; color: var(--forest); text-decoration: none; font-size: 1.15rem; }
.logo-strip img { max-height: 64px; width: auto; filter: grayscale(.2); }

/* ---------- share ---------- */
.share-grid { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.qr-box { background: #fff; padding: 18px; border-radius: 18px; box-shadow: var(--shadow-lg); width: 230px; }
.qr-box svg, .qr-box img { width: 100%; height: auto; display: block; }
.share-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.share-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1.02rem; font-family: var(--font-body); color: #fff; }
.share-btn svg { width: 22px; height: 22px; }
.share-btn.fb { background: #1877f2; } .share-btn.x { background: #111; } .share-btn.sms { background: #2f6e4a; } .share-btn.mail { background: #7a4a26; } .share-btn.copy { background: var(--gold); color: var(--ink); }
.share-btn:hover { filter: brightness(1.08); color: #fff; } .share-btn.copy:hover { color: var(--ink); }
@media (max-width: 760px) { .share-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } .share-btns { justify-content: center; } }

/* ---------- updates / photos ---------- */
.update { background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.update time { color: var(--red); font-weight: 700; font-size: .95rem; }
.update img { border-radius: 12px; max-height: 360px; object-fit: cover; width: 100%; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.photo-grid figure { margin: 0; background: #fff; padding: 10px 10px 14px; border-radius: 6px; box-shadow: var(--shadow); transform: rotate(var(--r, 0deg)); transition: transform .2s; }
.photo-grid figure:hover { transform: rotate(0) scale(1.03); }
.photo-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 3px; }
.photo-grid figcaption { font-size: .95rem; text-align: center; margin-top: 8px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-deep); color: #cddbd1; padding: 60px 0 30px; border-top: 6px solid var(--wood-mid); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--gold); font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.site-footer a { color: #f0f5f1; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .92rem; }
.footer-brand img { width: 170px; margin-bottom: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-brand img { margin: 0 auto 12px; } }

/* mobile sticky donate */
.mobile-donate { display: none; }
@media (max-width: 760px) {
  .mobile-donate { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transform: translateY(140%); transition: transform .3s; }
  .mobile-donate.show { transform: none; }
  body.has-mobile-donate .site-footer { padding-bottom: 100px; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.spinner { width: 22px; height: 22px; border: 3px solid rgba(0,0,0,.15); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(calc(100% + 40px)); visibility: hidden; background: var(--forest-deep); color: #fff; padding: 14px 22px; border-radius: 12px; font-weight: 700; z-index: 200; transition: transform .3s; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.toast.show { transform: translateX(-50%); visibility: visible; }

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .mobile-donate, .no-print, .announce, .skip { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .page-hero { background: none; color: #000; padding: 0 0 10px; }
  .page-hero::after { display: none; }
  .page-hero h1 { color: #000; }
  .card, .item-card, .board-wrap { box-shadow: none; }
  .board-wrap { background: none; border: 2px solid #000; padding: 4px; }
  .sq { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .sq.sold, .sq.reserved { background: #e8e8e8 !important; }
  .sq .who { display: block !important; font-size: 7pt; }
  .reveal { opacity: 1; transform: none; }
}
