/* ============================================================
   Deidox.org — Give. Media is a new missions field.
   Dark, cinematic, one ask: become a monthly partner.
   Hosts the Donately embed (#donately-embed) — NEVER a custom form.
   Shared chrome in site.css.
   ============================================================ */

/* Cyan viewfinder corner-ticks (brand signature) */
.vf { position: relative; }
.vf > .vf__c { position: absolute; width: 22px; height: 22px; z-index: 4; pointer-events: none; }
.vf__c--tl { top: 12px; left: 12px; border-top: 1.5px solid var(--cyan-400); border-left: 1.5px solid var(--cyan-400); }
.vf__c--tr { top: 12px; right: 12px; border-top: 1.5px solid var(--cyan-400); border-right: 1.5px solid var(--cyan-400); }
.vf__c--bl { bottom: 12px; left: 12px; border-bottom: 1.5px solid var(--cyan-400); border-left: 1.5px solid var(--cyan-400); }
.vf__c--br { bottom: 12px; right: 12px; border-bottom: 1.5px solid var(--cyan-400); border-right: 1.5px solid var(--cyan-400); }

/* 1 · Hero */
.give-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: var(--ink-950) url("/assets/stills/fbr-hero.jpg") center 28%/cover no-repeat; }
.give-hero__overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,20,0.55) 0%, rgba(10,15,20,0.3) 40%, rgba(7,11,15,0.96) 100%),
    radial-gradient(70% 60% at 80% 12%, rgba(12,192,223,0.18), transparent 60%); }
.give-hero__in { position: relative; z-index: 2; width: 100%; max-width: var(--container-wide); margin-inline: auto; padding: 0 var(--gutter) clamp(3rem, 7vh, 6rem); }
.give-hero h1 { font-family: var(--font-display); font-weight: var(--weight-medium); font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.03; letter-spacing: -0.025em; margin: var(--space-6) 0 0; max-width: 15ch; text-wrap: balance; }
.give-hero p { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.55; color: rgba(255,255,255,0.84); margin: var(--space-6) 0 0; max-width: 52ch; }

/* 2 · Proof strip */
.give-proof { background: var(--ink-950); padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid rgba(255,255,255,0.08); }
.give-proof__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); text-align: center; max-width: 60rem; margin-inline: auto; }
.give-proof__row li { display: flex; flex-direction: column; gap: var(--space-2); position: relative; }
.give-proof__row li + li::before { content: ""; position: absolute; left: calc(var(--space-6) / -2); top: 50%; transform: translateY(-50%); width: 1px; height: 42px; background: rgba(255,255,255,0.1); }
.give-proof__num { font-family: var(--font-mono); font-size: clamp(1.75rem, 4vw, 2.75rem); color: var(--cyan-400); letter-spacing: 0.01em; font-weight: var(--weight-medium); line-height: 1; }
.give-proof__lab { font-family: var(--font-mono); font-size: var(--text-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.58); }
.give-proof__note { text-align: center; margin: var(--space-6) auto 0; font-size: var(--text-body-sm); color: rgba(255,255,255,0.48); }
@media (max-width: 620px) {
  .give-proof__row { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); }
  .give-proof__row li:nth-child(odd) + li::before { display: none; }
}

/* 3 · The field is ripe */
.give-field { background: var(--ink-950); }
.give-field__in { max-width: 54rem; margin-inline: auto; text-align: center; }
.give-field__in .eyebrow { justify-content: center; color: var(--cyan-400); }
.give-field__lead { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.32; color: #fff; margin: var(--space-6) auto 0; max-width: 42ch; text-wrap: pretty; }
.give-field__lead i { font-style: italic; }
.give-field__lead b { color: var(--cyan-400); font-weight: var(--weight-medium); }
.give-field__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: var(--leading-relaxed); color: rgba(255,255,255,0.7); margin: var(--space-6) auto 0; max-width: 40ch; }

/* 4 · Giving module (the amber moment) */
.give-give { position: relative; background: var(--ink-950); overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem); }
.give-give__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(64% 55% at 50% 22%, rgba(235,160,70,0.13), transparent 62%),
    radial-gradient(60% 50% at 50% 104%, rgba(235,160,70,0.09), transparent 60%); }
.give-give .container { position: relative; z-index: 1; }
/* Giving band — two columns: narrative + Fundraise Up form */
.give-band { box-sizing: border-box; width: 100%; position: relative; max-width: 64rem; margin-inline: auto; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.022); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head form" "more form"; column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.give-band__head { grid-area: head; min-width: 0; }
.give-band__form { grid-area: form; align-self: start; min-width: 0; }
.give-band__more { grid-area: more; margin-top: var(--space-6); }
.give-band__head .eyebrow { color: var(--cyan-400); }
.give-band__head h2 { font-family: var(--font-display); font-weight: var(--weight-medium); font-size: clamp(1.8rem, 3.5vw, 2.75rem); color: #fff; margin: var(--space-4) 0 0; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
.give-band__head p { color: rgba(255,255,255,0.8); line-height: var(--leading-relaxed); margin: var(--space-5) 0 0; max-width: 42ch; }
.give-band__more p { color: rgba(255,255,255,0.72); line-height: var(--leading-relaxed); margin: 0; max-width: 42ch; }
.give-band .give-trustline { justify-content: flex-start; margin-top: var(--space-5); }
.give-designate { font-size: var(--text-body-sm); color: rgba(255,255,255,0.72); margin: var(--space-5) 0 0; }
.give-designate b { color: #fff; font-weight: var(--weight-semibold); }

/* Donately embed host — a clean slot, NOT a custom form */
.give-slot { margin: 0; border: 1.5px dashed rgba(12,192,223,0.4); border-radius: var(--radius-md); min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); text-align: center; padding: var(--space-10) var(--space-6); background: rgba(255,255,255,0.015); }
.give-slot .material-symbols-sharp { font-family: 'Material Symbols Sharp'; font-size: 44px; color: var(--cyan-400); font-variation-settings: 'FILL' 1, 'wght' 300; }
.give-slot b { font-family: var(--font-sans); font-size: var(--text-body); color: #fff; }
.give-slot > span { font-family: var(--font-mono); font-size: var(--text-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.give-slot small { font-size: var(--text-body-sm); color: rgba(255,255,255,0.55); max-width: 40ch; line-height: var(--leading-relaxed); }

.give-campaigns__line { font-family: var(--font-display); font-style: italic; color: var(--amber, #EBA046); margin: var(--space-4) 0 0; font-size: var(--text-body-lg); }
.give-trustline { display: flex; align-items: center; justify-content: center; gap: 8px; margin: var(--space-6) 0 0; font-size: var(--text-body-sm); color: rgba(255,255,255,0.6); }
.give-trustline .material-symbols-sharp { font-size: 18px; color: var(--cyan-400); flex: none; }
@media (max-width: 860px) { .give-band { grid-template-columns: 1fr; grid-template-areas: "head" "form" "more"; } .give-band__form { margin-top: var(--space-6); } }

/* 5 · What your partnership sends */
.give-sends { background: var(--ink-950); }
.give-sends__head { text-align: center; margin-bottom: var(--space-10); }
.give-sends__head .eyebrow { justify-content: center; color: var(--cyan-400); }
.give-sends__rows { max-width: 46rem; margin-inline: auto; }
.give-send { display: flex; gap: var(--space-6); align-items: baseline; padding: var(--space-8) 0; border-top: 1px solid rgba(255,255,255,0.1); }
.give-send:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.give-send__n { font-family: var(--font-mono); font-size: var(--text-body-sm); color: var(--cyan-400); letter-spacing: 0.1em; flex: none; padding-top: 6px; }
.give-send h3 { font-family: var(--font-display); font-weight: var(--weight-medium); font-size: var(--text-h3); color: #fff; margin: 0; letter-spacing: var(--tracking-tight); }
.give-send p { color: rgba(255,255,255,0.72); line-height: var(--leading-relaxed); margin: var(--space-2) 0 0; max-width: 48ch; }

/* 6 · Ministry leader hook */
.give-leader { background: linear-gradient(135deg, #173A52 0%, #0E2739 100%); border-top: 1px solid rgba(12,192,223,.25); border-bottom: 1px solid rgba(12,192,223,.25); }
.give-leader__in { max-width: var(--container); margin-inline: auto; padding: clamp(2rem, 4vw, 3rem) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.give-leader__in p { font-family: var(--font-display); font-size: var(--text-h4); color: #fff; margin: 0; max-width: 40ch; }

/* 7 · Soft close */
.give-close { background: var(--ink-950); text-align: center; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(255,255,255,0.08); }
.give-close__tag { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.5rem); color: #fff; margin: 0; }
.give-close__link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-6); font-family: var(--font-mono); font-size: var(--text-body-sm); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-400); text-decoration: none; border-bottom: 1px solid rgba(12,192,223,0.4); padding-bottom: 4px; transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out); }
.give-close__link .material-symbols-sharp { font-size: 18px; text-transform: none; }
.give-close__link:hover { color: #fff; border-color: #fff; }

@media (max-width: 560px) { .vf > .vf__c { width: 16px; height: 16px; } }

/* --- production pass: clear fixed header + breathing room --- */
.give-hero{min-height:58vh}
.give-hero__in{padding-top:clamp(7.5rem,14vh,10rem)}

/* ============ the 100 families — progress module ============ */
.goal{padding-block:clamp(3.5rem,7vh,5.5rem);border-bottom:1px solid rgba(255,255,255,.08)}
.goal__head h2{font-family:var(--font-display);font-weight:var(--weight-medium);font-size:clamp(1.7rem,3.2vw,2.6rem);line-height:1.12;letter-spacing:-.02em;margin:var(--space-5) 0 0;max-width:24ch}
.goal__num{color:var(--cyan-400)}
.goal__grid{display:grid;grid-template-columns:repeat(20,1fr);gap:clamp(6px,.9vw,12px);max-width:56rem;margin-top:var(--space-10)}
.goal__dot{
  position:relative;
  aspect-ratio:1;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.02);
  transition:background .35s var(--ease-out),border-color .35s var(--ease-out),box-shadow .35s var(--ease-out);
  display:flex;align-items:center;justify-content:center;
}
.goal__dot::before{
  content:"family_restroom";
  font-family:'Material Symbols Sharp';
  font-variation-settings:'FILL' 0,'wght' 300;
  font-size:62%;
  color:rgba(255,255,255,.16);
  transition:color .35s var(--ease-out),transform .35s var(--ease-out);
  line-height:1;
}
.goal__dot.is-fill.is-on{
  background:rgba(12,192,223,.14);
  border-color:var(--cyan-400);
  box-shadow:0 0 10px rgba(12,192,223,.35);
}
.goal__dot.is-fill.is-on::before{
  content:"family_restroom";
  font-variation-settings:'FILL' 1,'wght' 400;
  color:var(--cyan-400);
  transform:scale(1.08);
}
.goal__dot.is-fill.is-on::after{
  content:"check";
  font-family:'Material Symbols Sharp';
  font-variation-settings:'FILL' 1,'wght' 500;
  position:absolute;
  bottom:-4px;right:-4px;
  font-size:44%;
  color:#06232B;
  background:var(--cyan-400);
  border-radius:50%;
  width:1.15em;height:1.15em;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 0 2px #0A0F14;
}
.goal__dot.is-next{border-color:rgba(12,192,223,.7);background:rgba(12,192,223,.05)}
.goal__dot.is-next::before{color:rgba(12,192,223,.5)}
@media (prefers-reduced-motion: no-preference){.goal__dot.is-next{animation:goalPulse 2.2s ease-in-out infinite}}
@keyframes goalPulse{0%,100%{box-shadow:0 0 0 0 rgba(12,192,223,0)}50%{box-shadow:0 0 0 5px rgba(12,192,223,.18);border-color:var(--cyan-400)}}
.goal__meta{display:flex;align-items:center;gap:var(--space-5);flex-wrap:wrap;margin-top:var(--space-8);font-family:var(--font-mono);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.55)}
.goal__meta b{color:#fff;font-size:1.05rem;letter-spacing:0}
.goal__sep{width:24px;height:1px;background:rgba(255,255,255,.2)}
.goal__copy{margin-top:var(--space-6);font-size:clamp(1.05rem,1.4vw,1.25rem);color:rgba(255,255,255,.84);max-width:44ch}
.goal__cta{margin-top:var(--space-6)}
@media (max-width:700px){.goal__grid{grid-template-columns:repeat(10,1fr)}}
/* trust row under giving buttons */
.trust-row{margin-top:var(--space-4);display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:var(--space-3) var(--space-5)}
.trust-row__item{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.trust-row__item .material-symbols-sharp{font-size:15px;color:var(--cyan-400,#0CC0DF);font-variation-settings:'FILL' 1,'wght' 400}

.goal__amber{font-style:italic;color:var(--amber,#EBA046)}

/* ============ embedded Fundraise Up Donation Form container ============ */
.give-slot--embedded{
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(12,192,223,.22);
  background: #0E141B;
  padding: var(--space-6);
  min-height: 0;
  display: block;
  text-align: left;
  max-width: 34rem;
  margin-inline: auto;
}
.give-slot--embedded [data-fu-embed],
.give-slot--embedded > div:not(.trust-row){
  max-width: 100%;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  overflow-y: hidden;
}
@media (max-width: 480px){
  .give-slot--embedded{ padding: var(--space-4); }
}
.give-slot__note{
  margin-top: var(--space-5);
  font-size: var(--text-body-sm);
  color: rgba(255,255,255,.6);
  line-height: var(--leading-relaxed);
  text-align: center;
}
.give-slot--embedded .trust-row{ text-align: center; }
