/* Mending Minds & Hearts Grief Support Group — built by WilPowerED AI Solutions */
:root {
  --ink: #1a1214;
  --crimson: #8b1e2d;
  --wine: #5c1420;
  --rose: #b54a56;
  --blush: #f3e2df;
  --cream: #f7f1e6;
  --paper: #fdfbf6;
  --display: "Fraunces", Georgia, serif;
  --body: "Nunito Sans", -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--crimson); }

/* ---------- Stitch motif (signature) ---------- */
.stitch { border: none; height: 14px; margin: 0 auto; max-width: 220px;
  background-image: repeating-linear-gradient(105deg, transparent 0 7px, var(--rose) 7px 9px, transparent 9px 16px);
  background-size: 100% 3px; background-position: center; background-repeat: no-repeat; opacity: .8; }
.stitch.wide { max-width: 100%; }

/* ---------- Header ---------- */
header { background: var(--paper); border-bottom: 1px solid #e8ded0; position: sticky; top: 0; z-index: 50; }
.nav { max-width: 1060px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav-logo img { width: 46px; height: 46px; }
.nav-logo span { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
nav.menu { margin-left: auto; display: flex; gap: 26px; }
nav.menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.menu a:hover, nav.menu a[aria-current] { border-bottom-color: var(--crimson); color: var(--crimson); }
.menu-btn { margin-left: auto; display: none; background: none; border: 1px solid var(--wine); color: var(--wine); border-radius: 6px; padding: 6px 12px; font: inherit; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--wine) 0%, var(--crimson) 70%, #a13040 100%); color: var(--cream); padding: 84px 24px 96px; text-align: center; }
.hero .kicker { letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; font-weight: 700; color: #eecdc9; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15; margin: 18px auto 20px; max-width: 17ch; }
.hero p { max-width: 56ch; margin: 0 auto 34px; font-size: 1.1rem; color: #f6e8e0; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 14px 30px; font-size: 1rem; }
.btn-cream { background: var(--cream); color: var(--wine); }
.btn-cream:hover { background: #fff; }
.btn-outline { border: 2px solid var(--cream); color: var(--cream); margin-left: 12px; }
.btn-crimson { background: var(--crimson); color: var(--cream); border: none; cursor: pointer; font-family: var(--body); }
.btn-crimson:hover { background: var(--wine); }

/* ---------- Sections ---------- */
section { padding: 64px 24px; }
.wrap { max-width: 1060px; margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--wine); margin-bottom: 14px; }
.center { text-align: center; }
.lede { font-size: 1.08rem; }
.alt { background: var(--cream); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 34px; }
.card { background: var(--paper); border: 1px solid #eadfce; border-radius: 14px; padding: 26px; }
.alt .card { background: #fff; }
.card h3 { font-family: var(--display); font-weight: 600; color: var(--crimson); margin-bottom: 8px; font-size: 1.15rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 30px; }
.gallery figure { border-radius: 12px; overflow: hidden; background: var(--blush); border: 1px solid #eadfce; }
.gallery img { width: 100%; height: 220px; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: .9rem; color: var(--wine); }
.gallery .placeholder { height: 220px; display: flex; align-items: center; justify-content: center; color: var(--rose); font-weight: 700; }

/* ---------- Assessment ---------- */
.quiz-shell { background: #fff; border: 1px solid #eadfce; border-radius: 16px; padding: 34px; margin-top: 26px; }
.seam { height: 18px; position: relative; margin-bottom: 26px; background-image: linear-gradient(var(--blush), var(--blush)); background-size: 100% 3px; background-position: center; background-repeat: no-repeat; }
.seam .thread { position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background-image: repeating-linear-gradient(105deg, transparent 0 6px, var(--crimson) 6px 8px, transparent 8px 14px);
  background-size: 100% 3px; background-position: center; background-repeat: no-repeat; transition: width .4s ease; }
.domain-tag { letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; font-weight: 800; color: var(--rose); }
.q-text { font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--ink); margin: 10px 0 24px; }
.opts { display: grid; gap: 10px; }
.opts button { text-align: left; font: inherit; font-weight: 600; background: var(--paper); border: 1.5px solid #e2d5c2; border-radius: 10px; padding: 13px 18px; cursor: pointer; color: var(--ink); }
.opts button:hover { border-color: var(--crimson); background: var(--blush); }
.q-count { font-size: .85rem; color: #8a7a6d; margin-top: 18px; }
.result h3 { font-family: var(--display); color: var(--crimson); font-size: 1.6rem; margin-bottom: 12px; }
.result p { margin-bottom: 14px; }
.notice { background: var(--blush); border-left: 4px solid var(--crimson); border-radius: 0 10px 10px 0; padding: 16px 18px; font-size: .92rem; margin-top: 26px; }
.notice strong { color: var(--wine); }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid #eadfce; border-radius: 16px; padding: 34px; text-align: center; margin-top: 26px; }
.contact-card .email { font-family: var(--display); font-size: 1.25rem; word-break: break-all; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #d9c9c1; padding: 44px 24px; text-align: center; font-size: .9rem; }
footer .crisis { max-width: 640px; margin: 0 auto 22px; color: #f0dcd4; }
footer a { color: #f0b9ad; }
footer .fine { opacity: .7; margin-top: 14px; }

@media (max-width: 760px) {
  nav.menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; gap: 0; border-bottom: 1px solid #e8ded0; }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 14px 24px; border-bottom: 1px solid #f0e8da; }
  .menu-btn { display: block; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .seam .thread { transition: none; } html { scroll-behavior: auto; } }

/* ---------- Events feature ---------- */
.feature-event { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: center; margin-top: 30px; background: #fff; border: 1px solid #eadfce; border-radius: 16px; padding: 34px; }
.feature-copy h3 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--crimson); margin: 8px 0 12px; }
.feature-img img { border-radius: 12px; border: 1px solid #eadfce; }
@media (max-width: 760px) { .feature-event { grid-template-columns: 1fr; padding: 22px; } }

/* ============ v2 Visual Direction: crimson + gold + candlelight ============ */
:root { --gold: #c9962e; --gold-light: #e8c98a; --night: #1c0e10; }

/* Gold-tipped stitch */
.stitch { background-image: repeating-linear-gradient(105deg, transparent 0 7px, var(--gold) 7px 9px, transparent 9px 16px); }

/* Hero v2 — night sky with candle glow */
.hero-v2 { position: relative; overflow: hidden; padding: 52px 24px 60px; background:
  radial-gradient(ellipse 900px 520px at 50% 118%, rgba(233,164,73,.38), rgba(139,30,45,.18) 45%, transparent 70%),
  linear-gradient(168deg, var(--night) 0%, #3d1119 55%, var(--wine) 100%);
  color: var(--cream); text-align: center; }
.hero-v2 .kicker { letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; font-weight: 800; color: var(--gold-light); }
.hero-v2 h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; margin: 14px auto 16px; max-width: 26ch; }
.hero-v2 h1 em { font-style: italic; color: var(--gold-light); }
.hero-v2 h1 em.keep { white-space: nowrap; }
.hero-v2 p.sub { max-width: 54ch; margin: 0 auto 26px; font-size: 1.12rem; color: #f3e3d5; }
.hero-heart { width: min(280px, 60vw); margin: 6px auto 26px; filter: drop-shadow(0 18px 45px rgba(0,0,0,.55)); animation: heartrise 1.2s ease both; }
@keyframes heartrise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.btn-gold { background: linear-gradient(150deg, var(--gold-light), var(--gold)); color: var(--night); font-weight: 800; }
.btn-gold:hover { filter: brightness(1.08); }
.hero-v2 .btn-outline { border-color: var(--gold-light); color: var(--gold-light); }
.hero-v2 .btn-outline:hover { background: rgba(232,201,138,.12); }

/* Typographic journey — words as texture */
.journey { padding: 74px 24px; background: var(--paper); text-align: center; }
.journey .line { font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.5; max-width: 21ch; margin: 0 auto; color: var(--wine); font-weight: 400; }
.journey .dark-w { color: #9a8f8a; text-decoration: line-through; text-decoration-color: rgba(139,30,45,.45); text-decoration-thickness: 2px; }
.journey .light-w { color: var(--crimson); font-weight: 600; }
.journey .gold-w { color: var(--gold); font-weight: 600; font-style: italic; }
.journey .caption { margin-top: 22px; font-size: 1.02rem; color: var(--ink); }

/* Dark community band */
.band { position: relative; background:
  radial-gradient(ellipse 640px 420px at 82% 50%, rgba(233,164,73,.30), transparent 65%),
  linear-gradient(105deg, var(--night) 30%, #45121b 100%);
  color: var(--cream); padding: 78px 24px; }
.band h2 { color: var(--gold-light); }
.band .lede { color: #f3e3d5; }
.band .script { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-light); margin-bottom: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Card polish */
.card { box-shadow: 0 1px 0 rgba(92,20,32,.05); border-top: 3px solid var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .hero-heart { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================================================================
   v3 LUXURY LAYER — cinematic candlelight, gold foil, editorial type
   ================================================================ */
:root {
  --champagne: #f0dcb4; --plum: #3d1024; --ember: #e9a449;
  --gold-foil: linear-gradient(100deg, #9a6d1c 0%, #e8c98a 30%, #f7e7bf 50%, #e2b45c 70%, #9a6d1c 100%);
}

/* Skip link + focus (ADA) */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--night); padding: 10px 18px; font-weight: 800; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

/* ---------- Cinematic hero ---------- */
.hero-v2 { isolation: isolate; }
.hero-v2::before, .hero-v2::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-v2::before { background:
  radial-gradient(ellipse 760px 480px at 22% 108%, rgba(233,164,73,.26), transparent 62%),
  radial-gradient(ellipse 760px 480px at 78% 112%, rgba(181,74,86,.30), transparent 62%);
  animation: glowdrift 9s ease-in-out infinite alternate; }
.hero-v2::after { background: radial-gradient(ellipse 420px 300px at 50% 118%, rgba(247,231,191,.20), transparent 70%);
  animation: glowdrift 7s ease-in-out infinite alternate-reverse; }
@keyframes glowdrift { from { opacity: .65; transform: translateY(6px); } to { opacity: 1; transform: translateY(-8px); } }

.hero-v2 > * { animation: riseIn .9s ease both; }
.hero-v2 .kicker { animation-delay: .1s; }
.hero-v2 .hero-heart { animation: riseIn .9s .25s ease both, heartbreathe 5.5s 1.2s ease-in-out infinite; }
.hero-v2 h1 { animation-delay: .45s; }
.hero-v2 p.sub { animation-delay: .62s; }
.hero-v2 .btn { animation: riseIn .9s .8s ease both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heartbreathe { 0%,100% { filter: drop-shadow(0 18px 45px rgba(0,0,0,.55)); transform: scale(1); }
  50% { filter: drop-shadow(0 22px 60px rgba(233,164,73,.35)); transform: scale(1.025); } }

/* Gold-foil headline word */
.hero-v2 h1 em { background: var(--gold-foil); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s linear infinite; }
@keyframes foil { to { background-position: 200% center; } }

/* Embers (index hero) */
.ember { position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); opacity: 0; z-index: -1;
  animation: emberfloat var(--dur,9s) var(--delay,0s) ease-in infinite; box-shadow: 0 0 10px 2px rgba(233,164,73,.55); }
@keyframes emberfloat {
  0% { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
  12% { opacity: .85; }
  60% { opacity: .5; }
  100% { opacity: 0; transform: translateY(-72vh) translateX(var(--sway,30px)) scale(.4); } }

/* ---------- Luxe buttons: shine sweep ---------- */
.btn { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { box-shadow: 0 6px 22px rgba(201,150,46,.35); }
.btn-gold::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transition: left .6s ease; }
.btn-gold:hover::after { left: 130%; }
.btn-crimson { box-shadow: 0 6px 20px rgba(139,30,45,.28); }

/* ---------- Editorial headings ---------- */
h2 { position: relative; letter-spacing: .01em; }
section h2.center::before, .band h2::before { content: "◆"; display: block; color: var(--gold); font-size: .65rem; letter-spacing: 0; margin-bottom: 10px; }

/* ---------- Luxe cards ---------- */
.card { position: relative; border: 1px solid #e6d8bf; border-top: none; border-radius: 16px; padding: 30px 28px;
  background: linear-gradient(180deg, #fff 0%, #fdf9f0 100%); transition: transform .35s ease, box-shadow .35s ease; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 16px 16px 0 0; background: var(--gold-foil); background-size: 200% auto; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(61,16,36,.14); }
.card:hover::before { animation: foil 3s linear infinite; }
.card h3 { font-size: 1.2rem; }

/* ---------- Journey: larger, foil peace ---------- */
.journey { padding: 86px 24px; }
.journey .line { font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.55; }
.journey .gold-w { background: var(--gold-foil); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s linear infinite; }

/* ---------- Band: living glow ---------- */
.band { isolation: isolate; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 560px 380px at 18% 40%, rgba(181,74,86,.35), transparent 62%);
  animation: glowdrift 10s ease-in-out infinite alternate; }
.band .script { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

/* ---------- Gallery luxe ---------- */
.gallery figure { transition: transform .35s ease, box-shadow .35s ease; }
.gallery figure:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(61,16,36,.16); }
.gallery .placeholder { background: linear-gradient(140deg, var(--blush), #f8ecd8); }

/* ---------- Assessment luxe ---------- */
.quiz-shell { box-shadow: 0 24px 60px rgba(61,16,36,.10); border-top: 3px solid transparent; border-image: linear-gradient(100deg,#9a6d1c,#e8c98a,#9a6d1c) 1; }
.opts button { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.opts button:hover { transform: translateX(6px); border-color: var(--gold); }

/* ---------- Feature event luxe ---------- */
.feature-event { box-shadow: 0 22px 55px rgba(61,16,36,.10); }
.feature-img img { transition: transform .4s ease; }
.feature-img:hover img { transform: scale(1.02); }

/* ---------- Nav polish ---------- */
header { backdrop-filter: blur(8px); background: rgba(253,251,246,.92); }
nav.menu a { transition: color .2s ease; }

/* ---------- Reduced motion: stillness with dignity ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-v2::before, .hero-v2::after, .band::before, .hero-v2 > *, .hero-v2 .hero-heart,
  .hero-v2 h1 em, .journey .gold-w, .ember, .card::before { animation: none !important; }
  .btn, .card, .gallery figure, .opts button, .feature-img img { transition: none; }
  .hero-v2 > * { opacity: 1; transform: none; }
}

/* ---------- Newsletter (modest footer signup) ---------- */
.newsletter { max-width: 520px; margin: 0 auto 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(240,220,180,.18); }
.newsletter p.nl-title { font-family: var(--display); font-size: 1.15rem; color: var(--gold-light); margin-bottom: 4px; }
.newsletter p.nl-sub { font-size: .88rem; color: #d9c9c1; margin-bottom: 14px; }
.nl-row { display: flex; gap: 10px; justify-content: center; }
.nl-row input[type=email] { flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(240,220,180,.35); background: rgba(255,255,255,.06); color: var(--cream); }
.nl-row input[type=email]::placeholder { color: #b9a49b; }
.nl-row input[type=email]:focus { outline: 3px solid var(--ember); outline-offset: 2px; }
.nl-row button { font: inherit; font-weight: 800; font-size: .95rem; padding: 12px 22px; border: none; border-radius: 999px; cursor: pointer; background: linear-gradient(150deg, var(--gold-light), var(--gold)); color: var(--night); }
.nl-row button:hover { filter: brightness(1.08); }
.newsletter .nl-privacy { font-size: .78rem; color: #a8938b; margin-top: 10px; }
@media (max-width: 520px) { .nl-row { flex-direction: column; } }

/* ---------- About: mission + beliefs side by side ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.two-col h2 { text-align: left; }
.two-col h2::before { content: none; }
.belief-stack { display: grid; gap: 16px; margin-top: 20px; }
.belief-stack .card { padding: 22px 24px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* ================= Sponsorship: luxury tiers ================= */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; margin-top: 40px; }
.tier { position: relative; border-radius: 20px; padding: 36px 30px 30px; background: linear-gradient(175deg, #241016 0%, #3a1420 60%, #2a0f16 100%);
  color: var(--cream); overflow: hidden; border: 1px solid rgba(201,150,46,.35); transition: transform .35s ease, box-shadow .35s ease; }
.tier:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(20,8,10,.5); }
.tier::before { content: ""; position: absolute; inset: 0; border-radius: 20px; padding: 2px;
  background: var(--gold-foil); background-size: 300% auto;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; animation: foil 7s linear infinite; pointer-events: none; }
.tier::after { content: ""; position: absolute; top: -60%; left: -80%; width: 60%; height: 220%;
  transform: rotate(22deg); background: linear-gradient(90deg, transparent, rgba(255,246,220,.14), transparent);
  animation: tiershine 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes tiershine { 0%, 55% { left: -80%; } 85%, 100% { left: 140%; } }
.tier .tier-name { font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; color: var(--gold-light); }
.tier .tier-amt { font-family: var(--display); font-size: 2.6rem; font-weight: 600; margin: 10px 0 4px;
  background: var(--gold-foil); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s linear infinite; }
.tier .tier-sub { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #d8b98f; margin-bottom: 18px; }
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; }
.tier li { padding: 9px 0 9px 26px; position: relative; font-size: .95rem; border-bottom: 1px solid rgba(240,220,180,.12); }
.tier li::before { content: "◆"; position: absolute; left: 2px; color: var(--gold); font-size: .6rem; top: 13px; }
.tier .btn { width: 100%; text-align: center; }
/* Platinum: silver-white foil variant */
.tier.platinum { background: linear-gradient(175deg, #1d1a22 0%, #35303c 55%, #211d27 100%); }
.tier.platinum::before { background: linear-gradient(100deg, #8f8f98 0%, #e8e8ee 30%, #ffffff 50%, #cfcfd8 70%, #8f8f98 100%); background-size: 300% auto; animation: foil 7s linear infinite; }
.tier.platinum .tier-name { color: #eceaf2; }
.tier.platinum .tier-amt { background: linear-gradient(100deg, #a7a7b2, #f4f4f8 45%, #ffffff 55%, #a7a7b2); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; }
.tier.platinum .tier-sub { color: #c9c7d2; }
.tier.platinum li::before { color: #dcdce4; }
.tier .ribbon { position: absolute; top: 18px; right: -34px; transform: rotate(38deg); background: var(--gold-foil); background-size: 200% auto; animation: foil 5s linear infinite; color: var(--night); font-size: .7rem; font-weight: 800; letter-spacing: .12em; padding: 6px 44px; }
.tier.platinum .ribbon { background: linear-gradient(100deg,#bfbfc9,#fff,#bfbfc9); color: #1d1a22; }

/* Payment methods row */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.pay-card { background: #fff; border: 1px solid #e6d8bf; border-radius: 16px; padding: 26px; text-align: center; }
.pay-card h3 { font-family: var(--display); color: var(--wine); margin-bottom: 8px; font-size: 1.1rem; }
.pay-card .pay-id { font-weight: 800; color: var(--crimson); word-break: break-all; }

/* 501c3 badge */
.badge-501 { display: inline-block; border: 1.5px solid var(--gold); color: var(--gold-light); border-radius: 999px; padding: 8px 20px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
section .badge-501, .pay-note .badge-501 { color: #8a6a1e; border-color: #c9962e; }

/* Shimmer divider for fundraiser page */
.shimmer-rule { height: 2px; max-width: 420px; margin: 0 auto; background: var(--gold-foil); background-size: 300% auto; animation: foil 5s linear infinite; border: none; }

@media (prefers-reduced-motion: reduce) { .tier::before, .tier::after, .tier .tier-amt, .tier .ribbon, .shimmer-rule { animation: none !important; } .tier { transition: none; } }

/* ---------- Gathering calendar ---------- */
.cal-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cal-table th { text-align: left; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); padding: 8px 10px; border-bottom: 2px solid var(--gold); }
.cal-table td { padding: 12px 10px; border-bottom: 1px solid #eadfce; vertical-align: top; }
.cal-table tr:hover td { background: var(--blush); }
.cal-note { font-size: .85rem; color: var(--crimson); }
@media (max-width: 640px) {
  .cal-table thead { display: none; }
  .cal-table tr { display: block; border-bottom: 2px solid var(--gold); padding: 10px 0; }
  .cal-table td { display: block; border: none; padding: 3px 6px; }
  .cal-table td:first-child { font-weight: 800; color: var(--wine); }
}

/* ================================================================
   v4 DAWN LAYER — from midnight to morning light
   ================================================================ */
:root { --dawn-hi: #fdf9f3; --dawn-mid: #f7e7dc; --dawn-low: #f0d3c2; --gold-deep: #a06a1e;
  --gold-foil-dark: linear-gradient(100deg, #7c5714 0%, #b9861f 35%, #d9a83c 50%, #b9861f 65%, #7c5714 100%); }

/* Hero: dawn gradient, dark type */
.hero-v2 { background:
  radial-gradient(ellipse 900px 480px at 50% 116%, rgba(233,164,73,.34), rgba(238,200,188,.25) 45%, transparent 72%),
  linear-gradient(168deg, var(--dawn-hi) 0%, var(--dawn-mid) 55%, var(--dawn-low) 100%);
  color: var(--ink); }
.hero-v2::before { background:
  radial-gradient(ellipse 760px 480px at 22% 108%, rgba(233,164,73,.22), transparent 62%),
  radial-gradient(ellipse 760px 480px at 78% 112%, rgba(226,148,132,.22), transparent 62%); }
.hero-v2::after { background: radial-gradient(ellipse 420px 300px at 50% 118%, rgba(247,231,191,.45), transparent 70%); }
.hero-v2 .kicker { color: var(--gold-deep); }
.hero-v2 h1 { color: var(--wine); }
.hero-v2 h1 em, .hero-v2 h1 em.keep { background: var(--gold-foil-dark); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-v2 p.sub { color: #4a3a34; }
.hero-v2 .btn-outline { border-color: var(--wine); color: var(--wine); }
.hero-v2 .btn-outline:hover { background: rgba(92,20,32,.07); }
.hero-heart { filter: drop-shadow(0 16px 34px rgba(92,20,32,.28)); }
@keyframes heartbreathe { 0%,100% { filter: drop-shadow(0 16px 34px rgba(92,20,32,.28)); transform: scale(1); }
  50% { filter: drop-shadow(0 20px 44px rgba(233,164,73,.45)); transform: scale(1.025); } }
.ember { background: var(--gold); box-shadow: 0 0 10px 2px rgba(201,150,46,.5); }
.badge-501 { color: var(--gold-deep); border-color: var(--gold-deep); }

/* Journey: keep light, deepen gold word for contrast */
.journey .gold-w { background: var(--gold-foil-dark); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; }

/* Alt sections: soft blush instead of flat cream */
.alt { background: linear-gradient(180deg, #f9efe4 0%, #f6e6da 100%); }

/* Header: warm light */
header { background: rgba(253,250,245,.92); }

/* Founder bio: justified block text */
.bio-block { text-align: justify; text-justify: inter-word; hyphens: auto; }

/* ---------- Email chooser modal ---------- */
#mail-chooser { position: fixed; inset: 0; z-index: 300; display: none; }
#mail-chooser.open { display: block; }
.mc-backdrop { position: absolute; inset: 0; background: rgba(28,14,16,.55); backdrop-filter: blur(3px); }
.mc-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(420px, 92vw);
  background: var(--paper); border-radius: 18px; padding: 30px 28px 24px; text-align: center;
  border-top: 3px solid transparent; border-image: linear-gradient(100deg,#9a6d1c,#e8c98a,#9a6d1c) 1;
  box-shadow: 0 30px 70px rgba(20,8,10,.45); }
.mc-title { font-family: var(--display); font-size: 1.25rem; color: var(--wine); margin-bottom: 4px; }
.mc-to { font-size: .88rem; color: #7a675e; word-break: break-all; margin-bottom: 18px; }
.mc-opts { display: grid; gap: 10px; }
.mc-opt { display: block; width: 100%; box-sizing: border-box; font: inherit; font-weight: 700; font-size: .98rem;
  padding: 12px 16px; border-radius: 10px; border: 1.5px solid #e2d5c2; background: #fff; color: var(--ink);
  text-decoration: none; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.mc-opt:hover, .mc-opt:focus-visible { border-color: var(--gold); background: var(--blush); transform: translateX(4px); }
.mc-close { margin-top: 16px; font: inherit; font-weight: 700; font-size: .9rem; background: none; border: none;
  color: var(--crimson); cursor: pointer; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .mc-opt { transition: none; } }

/* ---------- Footer social links ---------- */
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 26px; max-width: 560px; }
.social-row a { color: var(--gold-light); text-decoration: none; font-weight: 700; font-size: .88rem; letter-spacing: .06em;
  border: 1.5px solid rgba(232,201,138,.4); border-radius: 999px; padding: 8px 18px; transition: border-color .2s ease, background .2s ease; }
.social-row a:hover, .social-row a:focus-visible { border-color: var(--gold-light); background: rgba(232,201,138,.1); }
@media (prefers-reduced-motion: reduce) { .social-row a { transition: none; } }

/* ---------- Social icons v2 ---------- */
.social-block { margin: 0 auto 26px; }
.social-lede { font-family: var(--display); font-size: 1.02rem; color: var(--gold-light); margin-bottom: 14px; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1.5px solid rgba(232,201,138,.4); color: var(--gold-light); }
.social-row a svg { width: 20px; height: 20px; }
.social-row a:hover, .social-row a:focus-visible { border-color: var(--gold-light); background: rgba(232,201,138,.12); transform: translateY(-3px); }
.social-row a { transition: border-color .2s ease, background .2s ease, transform .2s ease; }
@media (prefers-reduced-motion: reduce) { .social-row a { transition: none; transform: none; } }

/* ---------- Donate nav pill + responsive QR ---------- */
nav.menu a.nav-donate { background: linear-gradient(150deg, var(--gold-light), var(--gold)); color: var(--night);
  border-radius: 999px; padding: 8px 20px !important; border-bottom: none !important; font-weight: 800; }
nav.menu a.nav-donate:hover, nav.menu a.nav-donate:focus-visible { filter: brightness(1.08); color: var(--night); }
.qr-desktop { display: block; }
.qr-mobile { display: none; }
@media (max-width: 760px) {
  .qr-desktop { display: none; }
  .qr-mobile { display: block; }
  nav.menu a.nav-donate { margin: 10px 24px; text-align: center; }
}

/* ---------- Tier metal identities: platinum / gold / silver / bronze ---------- */
:root {
  --foil-silver: linear-gradient(100deg, #6e737e 0%, #b9bec9 30%, #eef1f6 50%, #a7adb8 70%, #6e737e 100%);
  --foil-bronze: linear-gradient(100deg, #6e3f1c 0%, #a8672f 30%, #d99a5b 50%, #a8672f 70%, #6e3f1c 100%);
}
/* Gold (explicit, matches default) */
.tier.gold { background: linear-gradient(175deg, #241016 0%, #3a1420 60%, #2a0f16 100%); }

/* Silver — steel slate card, cool silver foil */
.tier.silver { background: linear-gradient(175deg, #14181e 0%, #262d38 60%, #171c24 100%); }
.tier.silver::before { background: var(--foil-silver); background-size: 300% auto; }
.tier.silver .tier-name { color: #dde3ec; }
.tier.silver .tier-amt { background: var(--foil-silver); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier.silver .tier-sub { color: #aeb6c4; }
.tier.silver li::before { color: #c3cad6; }
.tier.silver .btn { background: linear-gradient(150deg, #eef1f6, #a7adb8); color: #14181e; }

/* Bronze — deep coffee card, copper foil */
.tier.bronze { background: linear-gradient(175deg, #1c120a 0%, #33200f 60%, #201409 100%); }
.tier.bronze::before { background: var(--foil-bronze); background-size: 300% auto; }
.tier.bronze .tier-name { color: #ecc79e; }
.tier.bronze .tier-amt { background: var(--foil-bronze); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier.bronze .tier-sub { color: #cf9c66; }
.tier.bronze li::before { color: #d99a5b; }
.tier.bronze .btn { background: linear-gradient(150deg, #d99a5b, #a8672f); color: #1c120a; }
