@font-face {
  font-family: 'Source Serif 4';
  src: url(fonts/Source-Serif-4.woff2) format('woff2');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url(fonts/IBM-Plex-Sans.woff2) format('woff2');
  font-weight: 100 700;
  font-display: swap;
}

/* Night outside, a lit doorway, a warm room once you're inside. */
:root {
  --night: #0C1726;
  --lamp: #E0A43A;
  --glow: #F3D39A;
  --paper: #F3EEE5;
  --putty: #E6DED1;
  --ink: #1B2230;
  --muted: #59544D;
  --rule: #D2C8B8;
  --mist: #C3CEDB;
  --night-rule: #1E314A;
  --exit: #B3263A;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 72rem;
  --wrap: calc(var(--max) + 2 * var(--gutter));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--night) url(assets/grain-night.svg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); margin: 0; line-height: 1.1; }
p, ul, ol, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 3px; }
.daylight :focus-visible, .form-panel :focus-visible { outline-color: var(--night); }

/* Safety bar: always on screen */
.safety-bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.45rem var(--gutter);
  background: #060E19; color: var(--mist);
  font-size: 0.875rem; line-height: 1.35;
  border-bottom: 1px solid var(--night-rule);
}
.safety-note { flex: 1; min-width: 0; }
.note-short { display: none; }
.safety-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
  border: 1px solid #3A4E68; border-radius: 6px;
  color: #fff; text-decoration: none; white-space: nowrap; font-weight: 500;
}
.safety-link:hover { border-color: var(--mist); }
.quick-exit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  min-height: 44px; padding: 0 1.15rem;
  border-radius: 6px; background: var(--exit); color: #fff;
  font: 600 0.95rem/1 var(--sans); text-decoration: none; white-space: nowrap;
}
.quick-exit:hover { background: #961d30; }
.exit-key { font-weight: 400; opacity: 0.85; }
@media (hover: none) { .exit-key { display: none; } }

/* Header */
.site-header {
  position: relative;
  display: flex; align-items: center; gap: 2rem;
  max-width: var(--wrap); margin: 0 auto;
  padding: 1.25rem var(--gutter);
  color: #fff;
}
.brand img { width: 180px; }
.site-nav { display: flex; gap: 1.75rem; margin-left: auto; font-size: 0.95rem; font-weight: 500; }
.site-nav a, .menu nav a { color: var(--mist); text-decoration: none; padding: 0.5rem 0; }
.site-nav a:hover, .menu nav a:hover { color: #fff; }
.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
  border: 1px solid #3A4E68; border-radius: 6px; color: #fff; font-weight: 500;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--mist); }
.menu nav {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 0.25rem); z-index: 40;
  display: grid; padding: 0.5rem 1.1rem;
  background: #0A1422; border: 1px solid #2A3E58; border-radius: 8px;
}
.menu nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--night-rule); }
.menu nav a:last-child { border-bottom: 0; }
.header-cta {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--night); background: var(--lamp); text-decoration: none;
  padding: 0 1.15rem; border-radius: 6px; font-weight: 600; white-space: nowrap;
}
.header-cta:hover { background: var(--glow); }

/* Hero: the lit doorway */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 2rem;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter) 0;
  color: #fff;
}
.hero-copy { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero h1 {
  font-weight: 560;
  font-size: clamp(3.3rem, 8.6vw, 6.75rem);
  line-height: 0.95; letter-spacing: -0.03em;
}
.lede { margin-top: 1.75rem; max-width: 34rem; font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: #D6DEE8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hero-where { margin-top: 1.75rem; color: #9DAEC3; font-size: 0.95rem; }

.doorway { width: 100%; max-width: 27rem; justify-self: center; height: auto; overflow: visible; }
.doorway .ground { stroke: rgba(224, 164, 58, 0.28); stroke-width: 1; }
.doorway .frame { fill: none; stroke: rgba(243, 211, 154, 0.35); stroke-width: 1.5; }
.doorway .lamp-halo { animation: lamp-on 2.4s ease-out 0.2s both; }
.doorway .spill { animation: spill-on 2.8s ease-out 0.6s both; }
@keyframes lamp-on { from { opacity: 0; } }
@keyframes spill-on { from { opacity: 0; } }

.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 0.9rem 1.5rem; border: 0; border-radius: 6px;
  font: 600 1rem/1.25 var(--sans); text-decoration: none; cursor: pointer;
}
.button-lamp { background: var(--lamp); color: var(--night); }
.button-lamp:hover { background: var(--glow); }
.button-night { background: var(--night); color: #fff; }
.button-night:hover { background: #1A2A42; }
.button[disabled] { opacity: 0.7; cursor: progress; }
.text-link { color: #fff; font-weight: 500; text-underline-offset: 4px; text-decoration-color: rgba(224, 164, 58, 0.85); padding: 0.5rem 0; }

/* Warning signs, still outside */
.signs {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 6.5rem);
  color: #fff;
}
.signs h2 { font-weight: 480; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.015em; }
.signs ul { list-style: none; padding: 0; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; }
.signs li { position: relative; padding: 0.95rem 0 0.95rem 1.65rem; border-top: 1px solid var(--night-rule); color: #D6DEE8; line-height: 1.45; }
.signs li::before {
  /* a small lit doorway */
  content: ''; position: absolute; left: 0.1rem; top: 1.2rem;
  width: 0.6rem; height: 0.8rem; border-radius: 0.3rem 0.3rem 0 0;
  background: var(--lamp); box-shadow: 0 0 0.7rem rgba(224, 164, 58, 0.55);
}
.signs-close { margin-top: 2.25rem; max-width: 40rem; font: italic 400 clamp(1.25rem, 2.1vw, 1.55rem)/1.4 var(--serif); color: var(--glow); }

/* Inside: the warm room */
.daylight { background: var(--paper) url(assets/grain.svg); }
.block { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.25rem, 7vw, 5.5rem) var(--gutter); }
.where + .about, .about + .faq-block { padding-top: clamp(1rem, 3vw, 2rem); }
.block h2 { font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.022em; }
.block > .button { margin-top: 2.5rem; }

/* What we stop: heading holds its place while the list scrolls */
.stop { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.stop-head { position: sticky; top: 6rem; }
.stop-head p { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; max-width: 26rem; }
.threats { list-style: none; padding: 0; }
.threats li {
  display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1.25rem;
  padding: 1.6rem 0; border-top: 1px solid var(--rule);
}
.threats li:last-child { border-bottom: 1px solid var(--rule); }
.mark { grid-row: span 2; width: 2.5rem; height: 3rem; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mark .arch { stroke: #B9812F; }
.mark .lit { fill: var(--lamp); stroke: none; }
.threats h3 { font: 600 1.3rem/1.3 var(--serif); }
.threats p { margin-top: 0.4rem; color: var(--muted); }

/* One statement, set large on night */
.stance { background: var(--night) url(assets/grain-night.svg); padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.stance p {
  max-width: var(--max); margin: 0 auto;
  font: 400 clamp(1.8rem, 4.2vw, 3.3rem)/1.18 var(--serif); letter-spacing: -0.02em;
  color: var(--glow); text-wrap: balance;
}

/* How it works: each step lets in more light */
.how-head { max-width: 40rem; }
.how-head p { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; }
.steps { list-style: none; padding: 0; margin-top: 3rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.steps li { position: relative; padding-top: 4rem; }
.step-n { display: block; margin-bottom: 0.3rem; font: 600 0.85rem/1.3 var(--sans); color: #8C6020; }
.steps li::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2.25rem; height: 2.9rem; border: 1.5px solid var(--ink); border-bottom-width: 3px;
  border-radius: 1.2rem 1.2rem 0 0;
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}
.steps .l2::before { transition-delay: 0.3s; }
.steps .l3::before { transition-delay: 0.6s; }
.steps .l4::before { transition-delay: 0.9s; }
.steps .l5::before { transition-delay: 1.2s; }
.steps .l1::before { background: rgba(224, 164, 58, 0); }
.steps .l2::before { background: rgba(224, 164, 58, 0.25); }
.steps .l3::before { background: rgba(224, 164, 58, 0.5); }
.steps .l4::before { background: rgba(224, 164, 58, 0.75); }
.steps .l5::before { background: var(--lamp); box-shadow: 0 0 1.2rem rgba(224, 164, 58, 0.55); }
.steps.dim li::before { background-color: transparent; box-shadow: none; }
.steps h3 { font-size: 1.25rem; font-weight: 600; }
.steps p { margin-top: 0.55rem; color: var(--muted); font-size: 1rem; }

/* How we document: set like a record */
.record { background: var(--putty); max-width: none; }
.record > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.record h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.record ul { list-style: none; padding: 0; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; counter-reset: rec; }
.record-scope { margin-top: 1rem; max-width: 40rem; color: var(--ink); font-size: 1.075rem; }
.record li { counter-increment: rec; padding: 1.1rem 0 1.1rem 1.6rem; border-top: 1px solid #C9BEAC; position: relative; color: var(--muted); }
.record li::before {
  content: ''; position: absolute; left: 0.1rem; top: 1.45rem;
  width: 0.55rem; height: 0.75rem; border-radius: 0.28rem 0.28rem 0 0; background: #B9812F;
}
.record strong { color: var(--ink); font-weight: 600; }

/* Where we work: an index of places */
.where h2 { margin-bottom: 2rem; }
.cities div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem 3rem; align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.cities div:last-child { border-bottom: 1px solid var(--rule); }
.cities dt { font: 400 clamp(1.9rem, 4vw, 3rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.cities dd { color: var(--muted); max-width: 30rem; }

/* About: a short letter, then the promises */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.letter p { margin-top: 1.2rem; font-size: 1.15rem; line-height: 1.65; color: #2B2A28; max-width: 34rem; }
.promises { padding: 2rem; border: 1px solid var(--rule); border-top: 3px solid var(--lamp); background: rgba(255, 255, 255, 0.45); }
.promises h3 { font-weight: 600; font-size: 1.4rem; }
.promises dl { margin-top: 0.5rem; }
.promises dt { margin-top: 1.25rem; font: 600 1.075rem/1.35 var(--serif); }
.promises dd { margin-top: 0.25rem; color: var(--muted); }
.promises a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

.faq { margin-top: 2.25rem; max-width: 52rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.3rem 0; font: 600 1.2rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.5rem/1 var(--sans); color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 1.5rem; color: var(--muted); max-width: 44rem; }

/* Contact: at the door */
.contact {
  overflow-x: clip;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7rem) var(--gutter);
  color: #fff;
}
.contact-intro { position: sticky; top: 6rem; }
.contact-intro h2 { font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -0.022em; }
.contact-intro p { margin-top: 1.25rem; color: #D6DEE8; font-size: 1.1rem; max-width: 30rem; }
.contact-intro .contact-warning { margin-top: 1.75rem; padding-left: 1rem; border-left: 3px solid var(--lamp); color: var(--mist); font-size: 0.975rem; }

/* the doorway again, lit behind the form */
.threshold { position: relative; isolation: isolate; max-width: 36rem; width: 100%; }
.threshold::before {
  content: ''; position: absolute; z-index: -1; left: -2.5rem; right: -2.5rem; top: -4.5rem; bottom: -2rem;
  border: 1px solid rgba(243, 211, 154, 0.22); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: radial-gradient(ellipse 75% 45% at 50% 18%, rgba(243, 211, 154, 0.2), transparent 70%), linear-gradient(to bottom, rgba(224, 164, 58, 0.08), rgba(224, 164, 58, 0.02));
}
.threshold::after {
  content: ''; position: absolute; z-index: -1; left: -30%; right: -30%; bottom: -5rem; height: 6rem;
  background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(224, 164, 58, 0.18), transparent 70%);
}
.form-panel {
  position: relative; width: 100%;
  background: var(--paper) url(assets/grain.svg); color: var(--ink);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(224, 164, 58, 0.5), 0 0 4rem rgba(224, 164, 58, 0.14);
}
.form-panel::before {
  /* light along the top edge, like a door left open */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, rgba(224, 164, 58, 0.2), var(--lamp) 50%, rgba(224, 164, 58, 0.2));
}
.contact-form { display: grid; gap: 1.35rem; }
.safe-contact { display: grid; gap: 1.35rem; margin: 0; padding: 1.25rem 0 0.25rem; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-bottom: 1.35rem; }
.safe-contact legend { float: left; width: 100%; padding: 0; font: 600 1.15rem/1.3 var(--serif); color: var(--ink); }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field > span { font-weight: 500; font-size: 0.95rem; }
.field em { font-style: normal; font-weight: 400; font-size: 0.8rem; color: var(--muted); margin-left: 0.35rem; white-space: nowrap; }
.field small { color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 48px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: 0.7rem 0.85rem; background: #fff;
  border: 1.5px solid #77706A; border-radius: 6px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible {
  outline: 3px solid var(--night); outline-offset: 1px; border-color: var(--night);
}
.contact-form [aria-invalid="true"] { border-color: var(--exit); }
.check { display: flex; align-items: center; gap: 0.7rem; min-height: 44px; cursor: pointer; }
.check input { width: 1.3rem; height: 1.3rem; min-height: 0; accent-color: var(--night); flex-shrink: 0; }
.form-status:empty { display: none; }
.form-status { padding: 0.85rem 1rem; border-radius: 6px; background: #FBE9EC; color: #7A1626; font-weight: 500; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done h3 { font-weight: 500; font-size: 2rem; }
.form-done p { margin-top: 1rem; color: var(--muted); }
.form-done:focus { outline: none; }

/* Footer: help now */
.site-footer {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem;
  color: var(--mist); border-top: 1px solid var(--night-rule);
}
.site-footer:focus { outline: none; }
.site-footer h2 { color: #fff; font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.015em; }
.call-911 {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 1.25rem; padding: 0 1.75rem;
  border-radius: 6px; background: #fff; color: var(--night); font: 700 1.1rem/1 var(--sans); text-decoration: none;
}
.call-911:hover { background: var(--glow); }
.hotlines { list-style: none; padding: 0; margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 2.5rem; }
.hotlines li { display: flex; flex-direction: column; align-items: flex-start; padding: 1.1rem 0 1.25rem; border-top: 1px solid var(--night-rule); }
.hotlines .region { color: #fff; font-weight: 600; font-size: 0.95rem; }
.hotlines .org { color: #93A3B8; font-size: 0.9rem; margin-bottom: 0.35rem; }
.hotlines a {
  display: inline-flex; align-items: baseline; gap: 0.5rem; min-height: 44px; padding: 0.35rem 0;
  color: var(--glow); font: 400 1.4rem/1.3 var(--serif); text-decoration: none;
  text-decoration-color: rgba(243, 211, 154, 0.5); text-underline-offset: 4px;
}
.hotlines a small { font: 500 0.8rem/1 var(--sans); color: #93A3B8; min-width: 2rem; }
.hotlines a:hover { text-decoration-line: underline; }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--night-rule);
  font-size: 0.875rem; color: #8FA0B6;
}
.footer-base img { width: 150px; }
.footer-base a { color: var(--mist); }

/* Simple pages */
.page {
  max-width: calc(44rem + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
  color: #fff;
}
.page h1 { font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -0.03em; }
.page h2 { font-weight: 500; font-size: 1.5rem; margin-top: 2.5rem; }
.page p, .page li { color: #D6DEE8; margin-top: 1rem; font-size: 1.075rem; }
.page ul { padding-left: 1.2rem; }
.page .button { margin-top: 2rem; }

/* Responsive */
@media (min-width: 1100px) {
  .hotlines { grid-template-columns: repeat(5, 1fr); gap: 0 1.75rem; }
  .hotlines a { font-size: 1.25rem; }
}
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .menu { display: block; }
  .header-cta { margin-left: 0; }
  .site-header { gap: 0.75rem; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 40rem; }
  .steps li { padding: 0 0 2rem 3.75rem; min-height: 3.5rem; }
  .steps li:last-child { padding-bottom: 0; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 1.75rem; }
  .hero-copy { padding-bottom: 2rem; }
  .doorway { max-width: 11rem; justify-self: start; margin-left: -0.25rem; }
  .threshold { margin-top: 3.5rem; }
  .threshold::before { left: -0.75rem; right: -0.75rem; top: -3rem; }
  .call-911 { width: 100%; }
  .signs ul, .stop, .about, .contact, .record ul { grid-template-columns: 1fr; }
  .stop-head, .contact-intro { position: static; }
  .cities div { grid-template-columns: 1fr; gap: 0.4rem; }
  .button-lamp { width: 100%; }
  .block > .button { width: 100%; }
  .promises { padding: 1.5rem; }
  .form-panel { padding: 1.5rem 1.15rem; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .note-long { display: none; }
  .note-short { display: inline; }
  .safety-bar { gap: 0.5rem; font-size: 0.8125rem; }
  .safety-link { padding: 0 0.6rem; }
  .brand img { width: 140px; }
  .threats li { grid-template-columns: 2rem 1fr; column-gap: 0.85rem; }
  .mark { grid-row: auto; width: 1.9rem; height: 2.3rem; }
  .threats p { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .brand img { width: 118px; }
  .menu summary, .header-cta { padding: 0 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .doorway .lamp-halo, .doorway .spill { animation: none; }
}
