/* Bienvenido USA, Giving Tuesday 2026. See DESIGN.md for the rules behind these choices.
   Shares the brand system first built for the bienvenido-in-action project. */
@font-face{font-family:"Archivo";src:url("/assets/fonts/archivo-var-latin.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("/assets/fonts/inter-700-latin.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{
  --navy:#02255D;
  --navy-deep:#011A44;
  --red:#D90011;
  --red-dark:#AE000E;
  --ink:#0B1D45;
  --slate:#46557A;
  --mist:#EEF2F8;
  --line:#D3DBEA;
  --white:#fff;
  --wrap:70rem;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;font-family:"Archivo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:1.0625rem;line-height:1.6;color:var(--ink);background:var(--white)}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy);text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{color:var(--red)}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:2px}
.on-dark :focus-visible{outline-color:var(--white)}
h1,h2,h3{font-stretch:76%;font-weight:800;line-height:1.02;letter-spacing:-.012em;margin:0;text-wrap:balance}
h1{font-size:clamp(2.6rem,6.2vw,4.9rem)}
h2{font-size:clamp(2rem,4vw,3.1rem)}
h3{font-size:1.5rem;line-height:1.1}
p{margin:0 0 1rem}
ul{margin:0;padding:0}
[id]{scroll-margin-top:5.75rem}
.wrap{width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
.lede{font-size:clamp(1.125rem,1.6vw,1.3rem);line-height:1.5;max-width:36rem}
.skip{position:absolute;left:-999rem;top:1rem;background:var(--white);color:var(--navy);padding:.6rem 1rem;z-index:100;font-weight:700}
.skip:focus{left:1rem}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--white);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.75rem}
.brand{display:inline-flex;align-items:center;text-decoration:none;color:var(--navy)}
.brand:hover{color:var(--navy)}
.brand img{height:3rem;width:auto;flex:none}
.brand-word{font-family:"Inter",Arial,sans-serif;font-weight:700;font-size:1.4rem;letter-spacing:.025em;line-height:1;margin-left:-.38rem;padding-top:.2rem}
.brand-light,.brand-light:hover{color:var(--white)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:700;font-size:1rem;line-height:1.1;padding:.95rem 1.5rem;border-radius:3px;border:2px solid transparent;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.btn-red{background:var(--red);border-color:var(--red);color:var(--white)}
.btn-red:hover{background:var(--red-dark);border-color:var(--red-dark);color:var(--white)}
.btn-navy{background:var(--navy);border-color:var(--navy);color:var(--white)}
.btn-navy:hover{background:var(--navy-deep);border-color:var(--navy-deep);color:var(--white)}
.btn-ghost{color:var(--white);border-color:rgba(255,255,255,.65)}
.btn-ghost:hover{background:var(--white);border-color:var(--white);color:var(--navy)}
.btn-small{padding:.62rem 1.15rem;font-size:.95rem}
.btn-large{padding:1.1rem 2.1rem;font-size:1.12rem}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:.9rem 1.25rem;margin:1.9rem 0 0}

/* The swoosh: the one loud element, taken from the logo */
.swoosh{position:absolute;left:-2%;bottom:-1px;width:112%;height:clamp(64px,12vw,170px);fill:var(--red);pointer-events:none}
@media (prefers-reduced-motion:no-preference){
  .swoosh{animation:sweep .9s cubic-bezier(.2,.7,.2,1) .15s both}
  @keyframes sweep{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
}

/* Hero */
.hero{position:relative;overflow:hidden;background:var(--navy);color:var(--white)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(1.5rem,4vw,4rem);align-items:center;padding-block:clamp(3rem,6vw,5rem) clamp(6.5rem,13vw,11rem)}
.day{display:inline-block;margin:0 0 1.25rem;padding:.15rem 0 .15rem .8rem;border-left:4px solid var(--red);font-weight:700;font-size:1.05rem;line-height:1.3;color:var(--white)}
.hero h1{max-width:14ch}
.hero .lede{margin:1.5rem 0 0;color:#DCE5F6}
.hero .lede strong{color:var(--white);font-weight:700}
.hero-photo{position:relative;z-index:1;margin:0}
.hero-photo img{width:100%;aspect-ratio:12/11;object-fit:cover;border-radius:3px}

/* Sections */
.section{padding-block:clamp(3.5rem,7vw,6rem)}
.section-mist{background:var(--mist)}
.kicker{font-weight:700;color:var(--red);margin:0 0 .6rem}
.section-intro{max-width:40rem;margin-top:1.1rem;color:var(--slate);font-size:1.125rem}

/* Why it matters: three figures */
.stats{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.25rem;margin-top:2.5rem}
.stats li{border-top:4px solid var(--red);padding-top:1.1rem}
.stat-num{font-stretch:76%;font-weight:800;font-size:clamp(3rem,6.4vw,4.75rem);line-height:.95;letter-spacing:-.02em;color:var(--navy);margin:0}
.stat-pre{display:block;font-stretch:100%;font-weight:700;font-size:1rem;letter-spacing:0;line-height:1.3;color:var(--slate);margin-bottom:.35rem}
.stat-label{margin:.7rem 0 0;font-size:1.1rem;line-height:1.45;max-width:20rem}
.statement{font-size:clamp(1.4rem,2.6vw,2rem);line-height:1.3;font-weight:500;font-stretch:96%;margin:clamp(2.5rem,5vw,4rem) 0 0;max-width:46rem}
.statement strong{font-weight:800}

/* Valentina's story */
.story{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);gap:clamp(2rem,6vw,5.5rem);align-items:start}
.story-who{position:sticky;top:6.5rem}
.story-who img{width:min(100%,15rem);aspect-ratio:1;object-fit:cover;border-radius:50%;border:5px solid var(--white);box-shadow:0 0 0 1px var(--line)}
.story-name{font-weight:800;font-stretch:90%;font-size:1.35rem;line-height:1.2;margin:1.1rem 0 .15rem}
.story-role{margin:0;color:var(--slate)}
.story-copy h2{max-width:17ch;margin-bottom:1.5rem}
.story-copy p{max-width:39rem;font-size:1.125rem}
.pull{margin:1.9rem 0;border-left:8px solid var(--red);padding-left:clamp(1.1rem,2.6vw,2rem)}
.pull p{font-size:clamp(1.6rem,3.2vw,2.4rem);line-height:1.12;font-weight:700;font-stretch:80%;margin:0;max-width:22ch;text-wrap:balance}
.signoff{margin-top:1.5rem;font-weight:700}

/* What your gift does */
.gift-head{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(1.5rem,5vw,5rem);align-items:start}
.gift-head p{font-size:clamp(1.15rem,1.9vw,1.4rem);line-height:1.45;margin:0;max-width:38rem}
.gift-head p+p{margin-top:1rem}
.gifts{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin-top:clamp(2.25rem,4.5vw,3.5rem)}
.gifts li{border-top:4px solid var(--red);padding-top:1rem}
.gift-cta{margin:clamp(1.75rem,3.5vw,2.5rem) 0 0}
.gift-amt{font-stretch:76%;font-weight:800;font-size:clamp(2.6rem,5vw,3.6rem);line-height:1;color:var(--navy);margin:0 0 .8rem}

/* Draft notes: for reviewers only, removed before launch */
.draft-note{background:#FFF4CC;border-left:5px solid #D9A400;color:#3B2F00;padding:.85rem 1rem;font-size:.98rem;line-height:1.45;max-width:44rem;margin:0}
.draft-note+.draft-note{margin-top:.75rem}
.draft-wide{margin-top:2rem}

/* Give */
.give-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}
.give-copy{position:sticky;top:6.5rem}
.give-copy h2{max-width:15ch}
.give-copy .lede{margin:1.25rem 0 0;color:var(--slate)}
.give-alt{margin:1.5rem 0 0}
.give-form{background:var(--white);border:1px solid var(--line);border-top:4px solid var(--red);padding:clamp(.5rem,1.5vw,1rem)}
.give-form iframe{display:block;width:100%;border:0}

/* Footer */
.site-footer{background:var(--navy-deep);color:#DCE5F6;padding-block:clamp(2.75rem,5vw,4rem) 2rem}
.site-footer a{color:var(--white)}
.site-footer a:hover{color:var(--white);text-decoration-thickness:.14em}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.7fr);gap:2.5rem}
.footer-blurb{margin:1.25rem 0 0;max-width:40rem;font-size:.98rem}
.footer-h{font-size:1.2rem;color:var(--white);margin-bottom:.9rem;font-stretch:90%;letter-spacing:0}
.site-footer ul{list-style:none;display:grid;gap:.5rem}
.footer-base{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.2)}
.footer-base .draft-note{margin-bottom:1rem}
.copyright{margin:0;font-size:.95rem}

/* Not found */
.plain{padding-block:clamp(4rem,10vw,8rem)}
.plain p{margin-top:1.25rem}

/* Smaller screens */
@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr;padding-bottom:clamp(5rem,22vw,8rem)}
  .hero-photo img{aspect-ratio:16/12;object-position:50% 8%}
  .stats,.gifts{grid-template-columns:1fr;gap:1.75rem}
  .stat-label{max-width:30rem}
  .story,.gift-head,.give-grid,.footer-grid{grid-template-columns:1fr}
  .story-who,.give-copy{position:static}
  .story-who{display:grid;grid-template-columns:auto 1fr;gap:0 1.1rem;align-items:center}
  .story-who img{width:6.5rem;grid-row:1/3}
  .story-name{margin:0;align-self:end}
  .story-role{align-self:start}
}
@media (max-width:520px){
  .brand img{height:2.4rem}
  .brand-word{font-size:1.08rem;margin-left:-.3rem}
  .actions .btn{flex:1 1 100%}
  .give-form{margin-inline:-.6rem;padding:.25rem}
}
