@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #20322e;
  --muted: #50615b;
  --green: #205451;
  --light: #eef5f2;
  --line: #dce7e1;
  --red: #9b1d2c;
  --header-h: 58px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: white;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: var(--green); text-underline-offset: .18em; }
button, select, input, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #076a89; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.025em; margin: 0 0 .55em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.27rem; }
p { margin: 0 0 1em; }
.wrap, .top-inner, .crumbs { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.top { height: var(--header-h); background: white; border-bottom: 1px solid #eee; }
.top-inner { width: calc(100% - 56px); }
.top-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand, .footer-brand { font-weight: 760; letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.brand { font-family: Outfit, Inter, sans-serif; display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.top nav { font-family: Inter, system-ui, sans-serif; display: flex; align-items: center; gap: 31px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: .69rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.top nav a:hover, .top nav [aria-current] { text-decoration: underline; }
.search-icon { justify-content: center; min-width: 36px; }
.skip { position: absolute; z-index: 1000; top: 6px; left: 8px; background: white; padding: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* —— Hero: photo fills the viewport, no dark overlay —— */
.hero {
  position: relative;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.45;
  height: calc(100svh - var(--header-h));
  min-height: 520px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-photo { object-position: 50% 100%; }

/* Headline + slim search, grouped, low and left-of-center. No white card. */
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 7.5%;
  bottom: 4.5%;
  width: min(620px, 84%);
  text-align: left;
}
.hero-copy h1 {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 650;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 8px;
  text-shadow:
    0 1px 2px rgba(0,0,0,.55),
    0 2px 14px rgba(0,0,0,.4),
    0 0 28px rgba(0,0,0,.28);
}
.hero-copy .sub {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 3px rgba(0,0,0,.5),
    0 1px 2px rgba(0,0,0,.75),
    0 2px 6px rgba(0,0,0,.55),
    0 0 14px rgba(0,0,0,.4);
}

/* One slim horizontal row: two white dropdowns + bold button.
   A thin translucent light strip sits behind the row only. */
.search {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 48px;
  width: min(560px, 100%);
  padding: 4px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  gap: 4px;
}
.search label { position: relative; flex: 1 1 0; min-width: 0; display: block; }
.search label span.vh {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.search select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 3px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23333' stroke-width='1.4' d='M1.5 1.5L6 6l4.5-4.5'/></svg>") no-repeat right 12px center;
  padding: 0 32px 0 12px;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.search select:focus { outline: 2px solid var(--green); outline-offset: 0; }
.search button[type="submit"] {
  flex: 0 0 auto;
  border: 0;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 22px;
  cursor: pointer;
  white-space: nowrap;
}
.search button[type="submit"]:hover { filter: brightness(1.07); }
.section { padding-block: 56px; }
.section-heading p, .intro > p { max-width: 73ch; }
.section-heading p, .intro p, .card p, .note, .map-note { color: var(--muted); }
.intro { padding-block: 47px 34px; }
.intro > p { font-size: 1.075rem; }
.standalone { min-height: 64vh; }
.region-list { padding-top: 8px; }
.region-links, .filters, .actions { display: flex; flex-wrap: wrap; gap: 9px 12px; align-items: center; }
.region-links { margin-top: 22px; gap: 10px 24px; font-weight: 650; }
.filters { margin: 22px 0 14px; }
.filters button, .status button { background: white; color: var(--green); font-weight: 650; border: 1px solid #b6c9c0; padding: 7px 13px; min-height: 42px; border-radius: 5px; }
.filters button[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.map-panel { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
#map { height: clamp(260px, 39vw, 360px); background: #dbe8e8; }
.map-note, .sources, .note { font-size: .9rem; }
.map-note { margin: 8px 0; }
.status { margin: 15px 0; color: var(--muted); }
.status:empty { display: none; }
.status button { margin-left: 8px; }
.map-pin { background: var(--green); border: 2px solid white; border-radius: 50%; box-shadow: 0 1px 4px #20322e8a; }
.map-pin.is-selected { background: var(--red); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 7px; padding: 22px; background: white; min-width: 0; }
.card h3 a { color: var(--ink); text-decoration-color: #9bb5aa; }
.card h3 a:hover { text-decoration-color: currentColor; }
.card .operator { font-size: .82rem; }
.card .eyebrow { font-size: .7rem; letter-spacing: .085em; color: var(--green); font-weight: 740; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 17px; padding: 0; font-size: .78rem; }
.tags li { background: var(--light); border-radius: 4px; padding: 3px 7px; }
.card .actions { margin-top: auto; }
.action { display: inline-flex; align-items: center; min-height: 40px; border: 1px solid var(--green); padding: 6px 10px; border-radius: 5px; background: var(--green); color: white; text-decoration: none; font-size: .86rem; font-weight: 670; }
.action:hover { background: #173d39; }
.action.secondary { color: var(--green); background: white; }
.action.secondary:hover { background: var(--light); }
.note { margin-top: 21px; }
.home-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; border-top: 1px solid var(--line); }
.home-notes h2, .threats h2 { font-size: 1.55rem; }
.threats { margin-block: 22px; }
.threats .sources { margin-top: auto; margin-bottom: 0; }
.crumbs { padding-top: 23px; color: var(--muted); font-size: .84rem; }
.crumbs span[aria-hidden] { margin-inline: 5px; }
.detail dl { padding: 16px 20px; margin: 24px 0; background: var(--light); max-width: 720px; border-radius: 7px; }
.detail dt { font-weight: 700; }
.detail dd { margin: 0 0 10px; }
.detail dd:last-child { margin-bottom: 0; }
.detail .actions { margin-block: 19px; }
.intro .sources { font-size: .9rem; }
.suggest-form { max-width: 570px; display: grid; justify-items: start; gap: 13px; }
.suggest-form label { display: grid; width: 100%; gap: 4px; font-weight: 650; }
.suggest-form input, .suggest-form select, .suggest-form textarea { padding: 9px; border: 1px solid #a5b7af; border-radius: 4px; width: 100%; color: var(--ink); background: white; }
.suggest-form button:disabled { opacity: .6; cursor: default; }
footer { background: #f4f7f5; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 28px; }
.footer-inner div { text-align: right; font-size: .88rem; }
.footer-inner p { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .wrap, .top-inner, .crumbs { width: calc(100% - 36px); }
  .top-inner { width: calc(100% - 24px); gap: 7px; }
  .brand { font-size: .9rem; gap: 4px; }
  .brand img { width: 20px; height: 20px; }
  .top nav { gap: clamp(6px, 2.4vw, 16px); }
  .top nav a { font-size: .61rem; letter-spacing: .035em; }
  .search-icon { min-width: 26px; }
  .section { padding-block: 36px; }
  .region-list { padding-top: 5px; }
  .intro { padding-block: 34px 21px; }
  .grid, .home-notes { grid-template-columns: 1fr; }
  .home-notes { gap: 18px; }
  .footer-inner { flex-direction: column; }
  .footer-inner div { text-align: left; }
}

.sites-nav {
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 8px 12px;
  font-family: Inter, system-ui, sans-serif;
}
.sites-nav-inner {
  display: flex;
  gap: 6px;
  width: max-content;
  margin-inline: auto;
}
.hero .sites-nav {
  position: absolute;
  inset: 6px 0 auto;
  z-index: 3;
}
.site-pill {
  flex: none;
  white-space: nowrap;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 999px;
  color: #111;
  background: rgba(235, 235, 235, .6);
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.site-pill:hover { background: rgba(255, 255, 255, .82); }
.site-pill[aria-current="page"] { background: var(--green); color: white; }

@media (max-width: 800px) {
  .hero { min-height: 540px; }
  .hero-copy { inset: auto 16px 12px; width: auto; text-align: center; }
  .hero-copy h1 { font-size: 1.85rem; }
  .hero-copy .sub { font-size: 12px; font-weight: 750; letter-spacing: .07em; margin: 0 auto 10px; max-width: 39ch; }
  .hero-photo { object-position: 50% 50%; }
  .search { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; margin-inline: auto; }
  .search select, .search button[type="submit"] { height: 40px; }
  .search button[type="submit"] { grid-column: 1 / -1; }
  .hero .sites-nav { top: 4px; }
  .site-pill { padding-inline: 11px; }
}

@media (min-width: 801px) {
  .hero .sites-nav { padding-inline-start: 7.5%; }
  .hero .sites-nav-inner { margin-inline-start: 0; }
}
@media (max-width: 620px) {
  .hero { min-height: 760px; }
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 16px;
}
.editorial h1 { font-size: clamp(1.85rem, 7vw, 4rem); overflow-wrap: anywhere; }
.editorial h2 { margin-top: 1.2em; }
.editorial .card p:last-child { margin-bottom: 0; }
@media (max-width: 620px) {
  .footer-inner nav { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .top-inner { width: calc(100% - 16px); gap: 5px; }
  .top .brand { font-size: .78rem; gap: 2px; }
  .brand img { width: 16px; height: 16px; }
  .top nav { gap: 5px; }
  .top nav a { font-size: .56rem; letter-spacing: 0; }
  .search-icon { min-width: 21px; }
}
