/* ======================================================================
   Help Danielle rebuild: GoFundMe banner (every page), homepage section
   and /rebuild page. Added Nov 2026.

   This file lives outside /assets on purpose so it is NOT cached
   forever. Edit it, redeploy, and every visitor gets the change.

   ON / OFF SWITCH
   To take the banner and the homepage section down, go to the line
   further down that starts with the word OFF. Delete the comment
   markers and the word OFF at the start, and the comment marker at
   the end, so only the two rules are left on that line. Redeploy. Nothing else needs to change. The /rebuild page
   stays reachable; point it at GoFundMe in _redirects if you want.
   ====================================================================== */
:root{--rbar:44px}
/* OFF: :root{--rbar:0px!important} .relief{display:none!important} */


/* ---------- top banner ---------- */
.relief-bar{display:block;background:var(--wine);color:var(--cream);font:600 15px/1 var(--body);letter-spacing:.01em;
  height:var(--rbar);transition:background .18s}
.relief-bar .wrap{display:flex;align-items:center;justify-content:center;gap:18px;height:100%;max-width:none}
.relief-bar .rb-msg{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.relief-bar .rb-short{display:none}
.relief-bar b{flex:none;display:inline-flex;align-items:center;gap:8px;font:700 13px/1 var(--body);letter-spacing:.14em;text-transform:uppercase;
  padding-bottom:5px;border-bottom:2px solid var(--gold)}
.relief-bar b::after{content:"\2192";font-size:17px;transition:transform .2s}
.relief-bar:hover{background:var(--winedk)}
.relief-bar:hover b::after{transform:translateX(4px)}

/* keep the homepage hero the same visible height with the banner above it */
.hero{height:calc(100vh - var(--hdr) - var(--rbar))}


/* ---------- section: homepage, below the hero, and on /rebuild ---------- */
.relief-home{display:grid;grid-template-columns:1fr 1fr;background:var(--ink);color:var(--cream)}
.relief-home .rh-photo{position:relative;min-height:520px;overflow:hidden}
.relief-home .rh-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% 45%}
.relief-home .rh-copy{padding:clamp(48px,6vw,96px) var(--gut) clamp(48px,6vw,96px) clamp(40px,5vw,80px);
  display:flex;flex-direction:column;justify-content:center;border-top:6px solid var(--wine)}
.relief-home .rh-kick{color:var(--gold);margin:0 0 22px}
.relief-home h2{color:var(--cream);max-width:10ch}
.relief-home h2 em{color:var(--blush)}
.relief-home p{color:var(--cream);opacity:.9;max-width:34em}
.relief-home .rh-first{margin-top:26px;font-size:clamp(19px,1.6vw,22px);line-height:1.5;opacity:1}
.relief-home .pair{margin-top:26px}
.relief-home .rh-news{margin:22px 0 0}
.relief-home .rh-news a{border-bottom:2px solid var(--gold);font-weight:700}
.relief-home .rh-still{margin:34px 0 0;padding-top:24px;border-top:1px solid rgba(254,250,240,.18);font-size:16px;opacity:.85}
.relief-home .rh-still .arrow{display:flex;width:max-content;margin:14px 0 0}
.relief-home .btn-ghost[data-copied]{background:var(--cream);color:var(--ink);border-color:var(--cream)}

/* /rebuild page: three ways to help */
.relief-ways{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(24px,3vw,48px)}
.relief-ways>div{border-top:4px solid var(--gold);padding-top:22px}
.relief-ways .n{font:600 56px/1 var(--disp);color:var(--wine);display:block;margin-bottom:14px}
.relief-ways h3{font-size:clamp(26px,2.4vw,32px);margin-bottom:12px}
.relief-ways p{color:var(--soft)}
.relief-ways .arrow{margin-top:6px}
.relief-ways button.arrow{background:none;border:0;cursor:pointer;padding:0 0 7px;font:700 13px/1 var(--body);letter-spacing:.14em;text-transform:uppercase}


/* ---------- responsive (this file only) ---------- */
@media (max-width:900px){
  .hero{height:auto;min-height:calc(100vh - var(--hdr) - 42px - var(--rbar));min-height:calc(100svh - var(--hdr) - 42px - var(--rbar))}
  .relief-home{grid-template-columns:1fr}
  .relief-home .rh-photo{min-height:0;aspect-ratio:4/3}
  .relief-home .rh-copy{padding:40px var(--gut) 48px;border-top:0}
  .relief-ways{grid-template-columns:1fr}
}
@media (max-width:760px){
  :root{--rbar:42px}
  .relief-bar{font-size:14px}
  .relief-bar .wrap{justify-content:space-between;gap:14px}
  .relief-bar .rb-full{display:none}
  .relief-bar .rb-short{display:inline}
  .relief-bar b{font-size:12px;letter-spacing:.12em}
  .hero{min-height:calc(100vh - var(--hdr) - 100px - var(--rbar));min-height:calc(100svh - var(--hdr) - 100px - var(--rbar))}
}
@media (hover:none){
  .relief-ways button.arrow{min-height:44px}
}
