@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;
}

:root {
  --night: #0C1726;
  --harbor: #1E3756;
  --steel: #F2F4F7;
  --slate: #4E5D70;
  --lantern: #E0A43A;
  --exit: #B3263A;
  --ink: #142235;
  --line: #D5DCE5;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lantern); outline-offset: 3px; border-radius: 4px; }

/* Safety bar */
.safety-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem var(--gutter);
  background: #07101C; color: #C4CFDC;
  font-size: 0.875rem;
}
.quick-exit {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 0; border-radius: 6px;
  background: var(--exit); color: #fff;
  font: 600 0.875rem/1 var(--sans);
  cursor: pointer;
}
.quick-exit:hover { background: #961d30; }
.quick-exit kbd {
  font: 500 0.75rem/1 var(--sans);
  padding: 0.2rem 0.35rem; border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.25rem var(--gutter);
  background: var(--night); color: #fff;
}
.brand img { width: 190px; }
.site-header nav { display: flex; align-items: center; gap: 1.75rem; font-weight: 500; font-size: 0.975rem; }
.site-header nav a { text-decoration: none; color: #D7DFE9; }
.site-header nav a:hover { color: #fff; }
.site-header nav .nav-cta {
  color: var(--night); background: var(--lantern);
  padding: 0.55rem 1.1rem; border-radius: 6px; font-weight: 600;
}
.site-header nav .nav-cta:hover { color: var(--night); background: #EBB552; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) 0;
  background: var(--night); color: #fff;
  position: relative; overflow: hidden;
}
.hero-copy { padding-bottom: clamp(3rem, 7vw, 6rem); max-width: 40rem; }
.hero h1 {
  font-size: clamp(3.75rem, 9.5vw, 8.25rem);
  line-height: 0.92; letter-spacing: -0.035em;
}
.lede { margin-top: 1.75rem; font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: #D2DBE6; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero-where { margin-top: 1.5rem; color: #93A4BA; font-size: 0.95rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.4rem; border-radius: 8px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.button-lantern { background: var(--lantern); color: var(--night); }
.button-lantern:hover { background: #EBB552; }
.button-ghost { border-color: #3B587C; color: #fff; }
.button-ghost:hover { border-color: #8FA6C2; }

/* The arch: the sanctuary doorway from the logo, holding the warning signs */
.arch {
  align-self: end;
  background: var(--harbor);
  border-radius: 50% 50% 0 0 / 15rem 15rem 0 0;
  padding: clamp(5.5rem, 9vw, 7.5rem) clamp(1.75rem, 3.5vw, 3rem) clamp(2.5rem, 4vw, 3.5rem);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.arch::before {
  /* lantern light inside the doorway */
  content: ''; position: absolute; left: 50%; top: 2.4rem;
  width: 1.25rem; height: 1.25rem; margin-left: -0.625rem; border-radius: 50%;
  background: var(--lantern);
  box-shadow: 0 0 2.5rem 1.25rem rgba(224, 164, 58, 0.28), 0 0 8rem 4rem rgba(224, 164, 58, 0.1);
  animation: lantern 1.8s ease-out both;
}
@keyframes lantern {
  from { opacity: 0; box-shadow: 0 0 0 0 rgba(224, 164, 58, 0); }
}
.arch h2 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); text-align: center; }
.arch ul { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.arch li {
  padding: 0.85rem 0 0.85rem 2rem; position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #DCE4EE; line-height: 1.45;
}
.arch li::before {
  content: ''; position: absolute; left: 0.2rem; top: 1.3rem;
  width: 0.85rem; height: 2px; background: var(--lantern);
}
.arch-close {
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--serif); font-size: 1.2rem; color: #fff;
}

/* Stance */
.stance { background: var(--lantern); color: var(--night); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.stance p {
  max-width: 54rem; margin: 0 auto; text-align: center;
  font: 600 clamp(1.4rem, 2.6vw, 2.1rem)/1.3 var(--serif); letter-spacing: -0.01em;
}

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--slate); font-size: 1.125rem; max-width: 34rem; }
.section-dark { background: var(--night); color: #fff; }
.section-dark .section-head p { color: #A9B8CB; }

.threats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; margin-top: 0; margin-bottom: 0; }
.threats div { padding: 1.6rem 0; border-top: 2px solid var(--night); }
.threats dt { font: 600 1.3rem/1.3 var(--serif); }
.threats dd { margin: 0.5rem 0 0; color: var(--slate); max-width: 32rem; }

.steps { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; border-top: 2px solid #2D4A6E; padding-top: 1.25rem; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 1rem;
  font: 600 2.5rem/1 var(--serif); color: var(--lantern);
}
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 0.6rem; color: #B5C3D4; font-size: 0.975rem; }

.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.city { background: #fff; border-radius: 12px; padding: 2rem; border: 1px solid var(--line); }
.city h3 { font-size: 1.75rem; }
.city p { margin-top: 0.75rem; color: var(--slate); }
.city-remote { background: transparent; border-style: dashed; border-color: #AEBACB; }

.about { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: start; background: #fff; }
.about > div { max-width: 44rem; margin: 0; }
.about-mark { width: 96px; margin: 0; }
.about p { margin-top: 1.1rem; font-size: 1.125rem; color: #2C3B4F; }

.promises { background: var(--harbor); color: #fff; }
.promises ul { list-style: none; padding: 0; margin-top: 2.5rem; margin-bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; }
.promises li { color: #C5D1DF; padding-left: 1.25rem; border-left: 3px solid var(--lantern); }
.promises strong { display: block; color: #fff; font: 600 1.2rem/1.35 var(--serif); margin-bottom: 0.3rem; }

.faq { margin-top: 2.5rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; font: 600 1.2rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.6rem/1 var(--sans); color: var(--slate); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.5rem; color: var(--slate); max-width: 44rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; background: #fff; }
.contact > * { margin: 0; }
.contact-intro p { margin-top: 1rem; color: var(--slate); font-size: 1.1rem; }
.contact-intro .contact-warning {
  margin-top: 1.75rem; padding: 1rem 1.25rem; border-radius: 8px;
  background: #FBF1DF; color: #5A4113; font-size: 0.975rem; border-left: 4px solid var(--lantern);
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form label { display: grid; gap: 0.4rem; font-weight: 500; font-size: 0.95rem; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: 0.75rem 0.85rem; border: 1.5px solid #B9C4D2; border-radius: 8px; background: var(--steel);
  width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--harbor); background: #fff; box-shadow: 0 0 0 3px rgba(224, 164, 58, 0.45); }
.contact-form .check { display: flex; align-items: center; gap: 0.6rem; font-weight: 400; }
.contact-form .check input { width: 1.15rem; height: 1.15rem; accent-color: var(--harbor); }
.hidden-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--night); color: #C4CFDC; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem; }
.site-footer > * { max-width: var(--max); margin: 0 auto; }
.emergency h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.emergency ul { list-style: none; padding: 0; margin: 1.5rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.emergency li { font-size: 0.975rem; }
.emergency span { display: block; color: #fff; font-weight: 600; margin-bottom: 0.2rem; }
.emergency a { color: var(--lantern); font-weight: 600; text-decoration: none; white-space: nowrap; }
.emergency a:hover { text-decoration: underline; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid #22344C; font-size: 0.875rem; color: #8193AA; }

/* Responsive */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .site-header nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .arch { margin: 0 auto; max-width: 30rem; width: 100%; }
  .section-head, .threats, .promises ul, .cities, .contact, .contact-form, .emergency ul { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .safety-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .brand img { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arch::before { animation: none; }
}
