/* Donation page. Reuses the site's navy and gold look (styles.css). */
.don-hero{ text-align:center; }
.don-hero .kicker{ color:var(--gold-light, #e4cf9a); }
.don-hero h1{ margin:10px 0 14px; }
.don-hero .lede{ max-width:620px; margin:0 auto 22px; }
.don-section{ padding:10px 16px 80px; }
.don-card, .don-msg{ max-width:560px; margin:0 auto; background:rgba(11,18,54,.78); border:1px solid rgba(214,185,120,.55); box-shadow:0 18px 50px rgba(0,0,0,.45); padding:30px 30px 26px; text-align:center; }
.don-msg{ margin-bottom:22px; padding:22px 26px; color:#f3e9d2; line-height:1.7; }
.don-thanks h2{ margin:0 0 8px; color:#e8cf95; font-size:1.6rem; }
.don-thanks p, .don-canceled{ margin:0; }
.don-freq{ display:inline-flex; border:1px solid rgba(214,185,120,.5); border-radius:999px; overflow:hidden; margin-bottom:24px; }
.don-freq button{ background:none; border:0; color:#f3e9d2; font:inherit; letter-spacing:.06em; padding:9px 26px; cursor:pointer; }
.don-freq button.is-active{ background:rgba(201,162,74,.2); color:#e8cf95; box-shadow:inset 0 0 0 1px rgba(201,162,74,.55); }
.don-label{ margin:0 0 12px; color:#e8cf95; font-size:.85rem; letter-spacing:.14em; text-transform:uppercase; }
.don-amounts{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-bottom:18px; }
.don-amounts button{ background:rgba(20,33,90,.5); border:.75px solid rgba(214,185,120,.5); color:#f3e9d2; font:inherit; font-size:1.05rem; padding:12px 6px; border-radius:3px; cursor:pointer; transition:border-color .2s, background .2s; }
.don-amounts button:hover{ border-color:rgba(232,207,149,.9); }
.don-amounts button.is-active{ background:rgba(201,162,74,.2); border-color:#d6b978; color:#e8cf95; box-shadow:inset 0 0 0 1px rgba(201,162,74,.45); }
.don-field{ text-align:start; margin:0 0 16px; }
.don-field label{ display:block; margin-bottom:6px; font-size:.82rem; letter-spacing:.04em; color:rgba(243,233,210,.92); }
.don-field input{ width:100%; height:46px; padding:0 14px; background:rgba(20,33,90,.55); border:1px solid rgba(214,185,120,.35); color:#fbf7ec; border-radius:3px; font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; font-size:1rem; box-sizing:border-box; }
.don-field input::placeholder{ color:rgba(243,233,210,.6); }
.don-field input:focus{ outline:none; border-color:#d6b978; box-shadow:0 0 0 3px rgba(214,185,120,.22); }
.don-money{ display:flex; align-items:center; gap:8px; } .don-money span{ color:#e8cf95; font-size:1.2rem; }
.don-error{ margin:0 0 14px; color:#f2b3a6; font-size:.95rem; }
.don-submit{ width:100%; max-width:none; margin-top:6px; }
.don-note{ margin:16px 0 0; font-size:.84rem; line-height:1.6; color:rgba(243,233,210,.72); }
.nav-donate-spacer{ display:none; }
@media (max-width:600px){
  .don-hero{ padding-top:120px; }
  .don-card{ padding:24px 18px 20px; }
  .don-amounts{ grid-template-columns:repeat(3,1fr); }
  .don-amounts button[data-amt="other"]{ grid-column:span 1; }
}
.don-intro{ max-width:700px; margin:0 auto 26px; text-align:center; }
.don-intro p{ font-size:1.12rem; line-height:1.8; margin:0 0 1.05em; color:#f7f1e1; text-shadow:0 1px 3px rgba(4,10,38,.9), 0 0 18px rgba(4,10,38,.8); }
.don-intro p:first-child{ font-size:1.28rem; color:#fffaf0; }
.don-intro .don-closing{ font-style:italic; font-weight:300; color:#e8d6a6; margin-bottom:0; }
@media (max-width:600px){ .don-intro p{ font-size:1.02rem; line-height:1.72; } .don-intro p:first-child{ font-size:1.12rem; } }
.don-manage{ margin-top:10px; font-size:.78rem; }
.don-manage a{ color:rgba(228,207,154,.8); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:.5px; }
.don-manage a:hover{ color:#e4cf9a; }

/* The hero is exactly as tall as the home hero on this screen (--home-h is remembered from the home page), so it
   shows the same artwork with the same crop and melts into the same light sky, which flows into Mount Shasta
   behind the donation card. */
.don-hero{ min-height:var(--home-h, 890px); display:flex; flex-direction:column; align-items:center; justify-content:center; }
@media (max-width:700px){ .don-hero{ min-height:var(--home-h, 905px); } }
.don-section.don-sky{
  position:relative; isolation:isolate; overflow:hidden; overflow:clip; background:#a6c4ee;
  --sceneH:max(70vw, 400px);
  margin-top:calc(-1 * var(--melt, 130px)); padding:calc(var(--melt, 130px) + 30px) 16px calc(var(--sceneH) * .30 + 120px);
}
/* the same lake-and-Mount-Shasta photograph as the home page's About Us, fading in out of the sky */
.don-section.don-sky::before{
  content:""; position:absolute; z-index:-1; pointer-events:none; left:0; right:0; bottom:0; height:var(--sceneH);
  background:url("/assets/about-lake.webp") center / cover no-repeat;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.55) 9%,#000 22%,#000 100%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.55) 9%,#000 22%,#000 100%);
}
@media (max-width:600px){ .don-section.don-sky{ padding-bottom:calc(var(--sceneH) * .78); } }
.don-intro-sky{ margin-bottom:34px; }
.don-intro-sky p, .don-intro-sky p:first-child{ color:#10204a; text-shadow:none; font-size:1.2rem; line-height:1.8; }
.don-intro-sky p.don-closing{ font-style:italic; color:#1d3d78; }
@media (max-width:600px){ .don-intro-sky p, .don-intro-sky p:first-child{ font-size:1.12rem; } }

/* ===== Softer framing: the card is an archway with a fine double gold line and a star at the crown,
   the same family as the arched frames on the other pages. Amount buttons are small arches too. ===== */
.don-card{
  position:relative; border-radius:280px 280px 22px 22px; padding:84px 34px 30px;
  border:1px solid rgba(214,185,120,.8); background:rgba(9,20,62,.93);
  box-shadow:0 0 60px rgba(201,162,74,.10), 0 26px 60px rgba(0,0,0,.45);
}
.don-card::before{ content:""; position:absolute; inset:8px; border:1px solid rgba(214,185,120,.28); border-radius:272px 272px 15px 15px; pointer-events:none; }
.don-card::after{ content:"\2726"; position:absolute; top:26px; left:50%; transform:translateX(-50%); color:#e8cf95; font-size:1rem; line-height:1; opacity:.9; pointer-events:none; }
.don-msg{ border-radius:26px; }
.don-amounts button{ border-radius:999px 999px 8px 8px; padding:14px 6px 11px; border-color:rgba(214,185,120,.6); }
.don-field input{ border-radius:24px; padding:0 20px; border-color:rgba(214,185,120,.5); }
.btn.don-submit, .don-card .btn.don-submit{ border-radius:999px !important; overflow:hidden; }
@media (max-width:600px){
  .don-card{ padding:92px 20px 24px; }
}
