:root{
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-raised: #19191b;
  --line: #28282a;
  --text: #f5f3ef;
  --text-muted: #97968f;
  --text-dim: #5c5b57;
  --accent: #b23a2f;
  --accent-bright: #cf4a3c;
  --accent-dim: rgba(178,58,47,0.14);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
::selection{ background:var(--accent); color:#fff; }
a{color:inherit;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
h1,h2,h3{font-family:'Big Shoulders Display', sans-serif; font-weight:800; letter-spacing:0.01em; text-transform:uppercase; line-height:0.98;}
.mono{font-family:'IBM Plex Mono', monospace;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--text-dim);
}
button{font-family:inherit; cursor:pointer;}
:focus-visible{outline:2px solid var(--accent-bright); outline-offset:3px;}

/* ---------- sticky header: helpline bar + nav ---------- */
.site-header{ position:sticky; top:0; z-index:60; }

/* ---------- helpline bar ---------- */
.helpline-bar{
  background:var(--surface);
  border-bottom:1px solid var(--line);
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  color:var(--text-muted);
}
.helpline-bar .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:9px; padding-bottom:9px; gap:16px;
}
.helpline-bar strong{color:var(--text); font-weight:500;}
.helpline-bar a{ text-decoration:none; }
.exit-btn{
  background:transparent;
  border:1px solid var(--line);
  color:var(--text-muted);
  padding:6px 14px;
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  border-radius:2px;
  white-space:nowrap;
  transition:border-color .15s, color .15s;
}
.exit-btn:hover{ border-color:var(--text-muted); color:var(--text); }
@media (max-width:560px){
  .helpline-bar{ font-size:11px; }
  .helpline-bar .wrap{ padding-left:16px; padding-right:16px; }
}

/* ---------- nav ---------- */
nav{
  background:rgba(10,10,11,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
nav .wrap{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.logo{ font-family:'Big Shoulders Display', sans-serif; font-weight:900; font-size:22px; letter-spacing:0.02em; text-transform:uppercase; }
.logo a{ text-decoration:none; }
.logo span{ color:var(--accent); }
.nav-links{ display:flex; gap:36px; list-style:none; align-items:center; }
.nav-links a{
  font-size:13px; letter-spacing:0.06em; text-transform:uppercase;
  text-decoration:none; color:var(--text-muted);
  font-weight:500;
  transition:color .15s;
}
.nav-links a:hover{ color:var(--text); }
.nav-right{ display:flex; align-items:center; gap:16px; }
.nav-help-link{
  display:none;
  font-size:12px; letter-spacing:0.06em; text-transform:uppercase;
  text-decoration:none; color:var(--text); font-weight:600;
  border:1px solid var(--accent); border-radius:2px;
  padding:8px 14px;
}
.nav-toggle{
  display:none;
  background:transparent; border:1px solid var(--line); border-radius:2px;
  width:40px; height:36px;
  color:var(--text);
  flex-direction:column; align-items:center; justify-content:center; gap:4px;
}
.nav-toggle span{ display:block; width:16px; height:1.5px; background:var(--text); transition:transform .15s, opacity .15s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-5.5px) rotate(-45deg); }
.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  background:var(--bg);
}
.mobile-menu.open{ display:block; }
.mobile-menu ul{ list-style:none; padding:8px 0 16px; }
.mobile-menu a{
  display:block; padding:13px 32px;
  font-size:14px; letter-spacing:0.06em; text-transform:uppercase;
  text-decoration:none; color:var(--text-muted); font-weight:500;
}
.mobile-menu a:hover{ color:var(--text); }
@media (max-width:760px){
  .nav-links{ display:none; }
  .nav-help-link{ display:inline-flex; }
  .nav-toggle{ display:flex; }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:88vh;
  display:flex; align-items:flex-end;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero-field{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(178,58,47,0.10), transparent 60%),
    linear-gradient(180deg, #0d0d0e 0%, #0a0a0b 55%, #0a0a0b 100%);
}
.hero-field::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 68px);
  animation: drift 22s linear infinite;
}
@keyframes drift{ from{ transform:translateX(0); } to{ transform:translateX(-140px); } }
.hero-media{
  position:absolute; inset:0;
  overflow:hidden;
}
.hero-media video, .hero-media img{
  width:100%; height:100%; object-fit:cover;
}
.hero-vignette{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(10,10,11,0.15) 0%, rgba(10,10,11,0.55) 70%, rgba(10,10,11,0.95) 100%);
}
.hero-content{ position:relative; z-index:2; width:100%; padding-bottom:72px; }
.hero-lines{ margin-bottom:28px; }
.hero-lines .line{
  display:block;
  font-size:clamp(38px, 7.4vw, 96px);
  opacity:0; transform:translateY(24px);
  animation: rise .7s cubic-bezier(.16,.84,.44,1) forwards;
}
.hero-lines .line:nth-child(1){ animation-delay:.05s; }
.hero-lines .line:nth-child(2){ animation-delay:.2s; color:var(--accent-bright); }
.hero-lines .line:nth-child(3){ animation-delay:.35s; -webkit-text-stroke:1.5px var(--text); color:transparent; }
.hero-lines .line:nth-child(4){ animation-delay:.5s; }
@keyframes rise{ to{ opacity:1; transform:translateY(0); } }
.hero-sub{
  max-width:520px;
  color:var(--text-muted);
  font-size:17px;
  margin-bottom:36px;
  opacity:0; animation: fadeIn .8s ease forwards .75s;
}
@keyframes fadeIn{ to{ opacity:1; } }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; opacity:0; animation: fadeIn .8s ease forwards .9s; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:15px 28px; font-size:14px; font-weight:600;
  letter-spacing:0.03em; text-transform:uppercase;
  border-radius:2px; border:1px solid transparent;
  text-decoration:none; transition:transform .15s, background .15s, border-color .15s;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-bright); }
.btn-ghost{ border-color:var(--line); color:var(--text); }
.btn-ghost:hover{ border-color:var(--text-muted); }

/* ---------- section shell ---------- */
section{ padding:96px 0; border-bottom:1px solid var(--line); }
.section-head{ margin-bottom:52px; max-width:640px; }
.section-head h2{ font-size:clamp(30px,4vw,46px); margin-top:10px; }
.section-head p{ color:var(--text-muted); margin-top:14px; font-size:15.5px; max-width:520px; }

/* ---------- counter ---------- */
.counter-section{ background:var(--surface); }
.counter-plaque{
  border:1px solid var(--line);
  background:var(--surface-raised);
  border-radius:3px;
  padding:44px 40px;
  display:flex; flex-wrap:wrap; gap:40px;
  align-items:flex-end; justify-content:space-between;
}
.counter-readout{ display:flex; align-items:baseline; gap:14px; }
.counter-digits{
  font-family:'IBM Plex Mono', monospace;
  font-size:clamp(52px,7vw,84px);
  font-weight:500;
  color:var(--accent-bright);
  letter-spacing:-0.02em;
  font-variant-numeric:tabular-nums;
}
.counter-label{ font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--text-muted); max-width:220px; }
.counter-source{
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--text-dim);
  max-width:380px; line-height:1.6; padding-top:6px; border-top:1px solid var(--line);
}
.counter-source strong{ color:var(--text-muted); }
.counter-caption{
  margin-top:16px; font-size:12.5px; color:var(--text-dim);
  display:flex; align-items:center; gap:8px;
}
.live-dot{ width:6px; height:6px; border-radius:50%; background:var(--accent-bright); animation:pulse 2s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.35; } }

/* ---------- stories ---------- */
.filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.filter-chip{
  background:transparent; border:1px solid var(--line); color:var(--text-muted);
  padding:9px 18px; border-radius:20px; font-size:12.5px; letter-spacing:0.04em;
  text-transform:uppercase; transition:all .15s;
}
.filter-chip.active, .filter-chip:hover{ border-color:var(--accent); color:var(--text); background:var(--accent-dim); }
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:860px){ .gallery{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .gallery{ grid-template-columns:1fr; } }
.video-card{
  background:var(--surface); border:1px solid var(--line); border-radius:3px; overflow:hidden;
  transition:border-color .15s, transform .15s;
  cursor:pointer;
}
.video-card:hover{ border-color:var(--text-dim); transform:translateY(-2px); }
.video-thumb{
  aspect-ratio:16/10; position:relative;
  background:linear-gradient(135deg, #17171a, #0c0c0d);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.video-thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.play-btn{
  position:relative; z-index:2;
  width:52px; height:52px; border-radius:50%; border:1.5px solid rgba(245,243,239,0.5);
  display:flex; align-items:center; justify-content:center; transition:all .15s;
}
.video-card:hover .play-btn{ border-color:var(--accent-bright); background:var(--accent-dim); }
.play-btn::after{ content:''; border-style:solid; border-width:8px 0 8px 13px; border-color:transparent transparent transparent #f5f3ef; margin-left:3px; }
.duration{ position:absolute; bottom:10px; right:10px; z-index:2; font-family:'IBM Plex Mono', monospace; font-size:10.5px; background:rgba(0,0,0,0.6); padding:3px 7px; border-radius:2px; color:var(--text-muted); }
.video-info{ padding:16px 18px 20px; }
.video-info .tag{ font-family:'IBM Plex Mono', monospace; font-size:10.5px; color:var(--accent-bright); text-transform:uppercase; letter-spacing:0.08em; }
.video-info h3{ font-size:20px; margin-top:8px; text-transform:none; font-family:'Inter'; font-weight:700; letter-spacing:0; }
.video-info p{ font-size:13px; color:var(--text-muted); margin-top:4px; }
.gallery-empty{
  border:1px dashed var(--line); border-radius:3px;
  padding:48px 32px; text-align:center;
  color:var(--text-dim); font-size:14px;
}

/* ---------- video modal ---------- */
.video-modal{
  position:fixed; inset:0; z-index:100;
  display:none;
  align-items:center; justify-content:center;
  background:rgba(10,10,11,0.92);
  padding:24px;
}
.video-modal.open{ display:flex; }
.video-modal-inner{ width:100%; max-width:920px; }
.video-modal-frame{ position:relative; aspect-ratio:16/9; background:#000; }
.video-modal-frame video, .video-modal-frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}
.video-modal-close{
  display:block; margin-left:auto; margin-bottom:12px;
  background:transparent; border:1px solid var(--line); color:var(--text-muted);
  padding:8px 16px; font-size:11px; letter-spacing:0.08em; text-transform:uppercase;
  border-radius:2px;
}
.video-modal-close:hover{ border-color:var(--text-muted); color:var(--text); }

/* ---------- pledge ---------- */
.pledge-section{ background:var(--surface); }
.pledge-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:64px; align-items:start; }
@media (max-width:860px){ .pledge-grid{ grid-template-columns:1fr; gap:40px; } }
.pledge-list{ list-style:none; }
.pledge-item{
  display:flex; gap:16px; align-items:flex-start;
  padding:18px 0; border-bottom:1px solid var(--line);
}
.pledge-item:first-child{ padding-top:0; }
.pledge-check{
  flex-shrink:0; width:22px; height:22px; margin-top:2px;
  border:1.5px solid var(--text-dim); border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  transition:all .15s;
}
.pledge-check.checked{ background:var(--accent); border-color:var(--accent); }
.pledge-check.checked::after{ content:'\2713'; font-size:13px; color:#fff; }
.pledge-item p{ font-size:15.5px; color:var(--text); cursor:pointer; }
.pledge-item span{ display:block; font-size:13px; color:var(--text-muted); margin-top:2px; }
.pledge-card{
  border:1px solid var(--line); border-radius:3px; padding:36px; background:var(--surface-raised);
}
.pledge-count{ font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--text-muted); margin-bottom:18px; }
.pledge-count strong{ color:var(--accent-bright); }
.pledge-card input[type=text]{
  width:100%; background:var(--bg); border:1px solid var(--line); color:var(--text);
  padding:13px 14px; border-radius:2px; font-size:14px; margin-bottom:14px; font-family:'Inter';
}
.pledge-card input::placeholder{ color:var(--text-dim); }
.btn-full{ width:100%; justify-content:center; }
.btn-full:disabled{ opacity:0.4; cursor:not-allowed; transform:none; }
.pledge-message{ font-size:13.5px; margin-top:14px; color:var(--text-muted); display:none; }
.pledge-message.error{ color:var(--accent-bright); }
.pledge-message.show{ display:block; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---------- tools ---------- */
.tools-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
@media (max-width:860px){ .tools-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .tools-grid{ grid-template-columns:1fr; } }
.tool-card{ background:var(--bg); padding:32px 26px; transition:background .15s; }
.tool-card:hover{ background:var(--surface); }
.tool-card .eyebrow{ color:var(--accent-bright); }
.tool-card h3{ font-size:19px; margin-top:12px; text-transform:none; font-family:'Inter'; font-weight:700; letter-spacing:0; line-height:1.3; }
.tool-card p{ font-size:13.5px; color:var(--text-muted); margin-top:10px; }
.tool-card .dl{ display:inline-flex; align-items:center; gap:6px; margin-top:18px; font-size:12.5px; color:var(--text); text-transform:uppercase; letter-spacing:0.05em; font-weight:600; text-decoration:none; }
.tool-card .dl::after{ content:'\2193'; }
.tools-more{ margin-top:36px; }

/* ---------- tools library page ---------- */
.library-list{ display:flex; flex-direction:column; gap:20px; }
.library-item{
  border:1px solid var(--line); border-radius:3px; background:var(--surface);
}
.library-item-head{ padding:28px 26px; }
.library-item-head h3{ font-size:22px; margin-top:10px; text-transform:none; font-family:'Inter'; font-weight:700; letter-spacing:0; }
.library-item-head p{ font-size:14px; color:var(--text-muted); margin-top:8px; max-width:640px; }
.library-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:20px; }
.library-btn{
  display:inline-flex; align-items:center; gap:8px;
  background:transparent; border:1px solid var(--line); color:var(--text);
  padding:10px 18px; font-size:12.5px; font-weight:600;
  letter-spacing:0.05em; text-transform:uppercase;
  border-radius:2px; text-decoration:none;
  transition:border-color .15s, background .15s;
}
.library-btn:hover{ border-color:var(--text-muted); }
.library-btn.primary{ background:var(--accent); border-color:var(--accent); color:#fff; }
.library-btn.primary:hover{ background:var(--accent-bright); }
.library-viewer{ display:none; border-top:1px solid var(--line); }
.library-viewer.open{ display:block; }
.library-viewer iframe, .library-viewer embed{ width:100%; height:75vh; border:0; display:block; background:#3a3a3c; }
.library-body{ display:none; border-top:1px solid var(--line); padding:28px 26px; max-width:760px; }
.library-body.open{ display:block; }
.library-body h3{ font-size:17px; text-transform:none; font-family:'Inter'; font-weight:700; letter-spacing:0; margin:22px 0 8px; }
.library-body h3:first-child{ margin-top:0; }
.library-body h4{ font-size:14.5px; margin:18px 0 6px; }
.library-body p{ font-size:14.5px; color:var(--text-muted); margin:10px 0; }
.library-body ul{ margin:10px 0 10px 20px; }
.library-body li{ font-size:14.5px; color:var(--text-muted); margin:6px 0; }
.library-body strong{ color:var(--text); }
.library-empty{
  border:1px dashed var(--line); border-radius:3px;
  padding:48px 32px; text-align:center;
  color:var(--text-dim); font-size:14px;
}
.desktop-only{ display:inline-flex; }
.mobile-only{ display:none; }
@media (max-width:760px){
  .desktop-only{ display:none; }
  .mobile-only{ display:inline-flex; }
}

/* ---------- help ---------- */
.help-section{ background:var(--surface); }
.help-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:860px){ .help-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .help-grid{ grid-template-columns:1fr; } }
.help-card{ border-left:2px solid var(--accent); padding-left:18px; }
.help-card .name{ font-weight:700; font-size:15px; }
.help-card .number{ font-family:'IBM Plex Mono', monospace; color:var(--accent-bright); font-size:17px; margin-top:6px; }
.help-card .number a{ text-decoration:none; }
.help-card .desc{ font-size:12.5px; color:var(--text-muted); margin-top:6px; }

/* ---------- footer ---------- */
footer{ padding:56px 0 40px; }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:24px; margin-bottom:40px; }
.footer-tie{ font-size:13.5px; color:var(--text-muted); max-width:400px; }
.footer-tie a{ color:var(--text); text-decoration:underline; text-underline-offset:3px; }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12px; color:var(--text-dim); }
