:root {
  color-scheme: dark;
  --bg: #08110d;
  --panel: #101b15;
  --panel-2: #16231b;
  --ink: #f4f3ea;
  --muted: #aeb8af;
  --line: rgba(255,255,255,.12);
  --accent: #c8f76a;
  --cyan: #00e7ec;
  --amber: #e2a916;
  --danger: #ff958b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 4%, rgba(89,128,65,.18), transparent 30rem), radial-gradient(circle at 8% 42%, rgba(0,231,236,.05), transparent 28rem); }
button, input, select { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 max(24px, calc((100vw - 1240px)/2)); border-bottom: 1px solid var(--line); background: rgba(8,17,13,.88); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-decoration: none; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: Georgia,serif; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a, .site-header nav button { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.site-header nav a:hover, .site-header nav button:hover { color: var(--accent); }

main { overflow: hidden; }
.hero, .section, .metrics, .notice { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px,6vw,84px); align-items: center; min-height: calc(100vh - 68px); padding: 72px 0; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 700px; margin-bottom: 24px; font-size: clamp(2.8rem,5.5vw,5.3rem); line-height: .98; }
h2 { margin-bottom: 12px; font-size: clamp(2.2rem,4vw,3.8rem); line-height: 1.02; }
.lede { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem,1.6vw,1.28rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 800; text-decoration: none; cursor: pointer; }
.button.primary { border-color: var(--accent); background: var(--accent); color: #10180d; }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-visual { margin: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--panel); box-shadow: 0 30px 90px rgba(0,0,0,.4); transform: rotate(.5deg); }
.hero-visual img { width: 100%; aspect-ratio: 2.42/1; object-fit: cover; }
.hero-visual figcaption { display: flex; align-items: center; gap: 8px; padding: 13px 16px; color: var(--muted); font-size: 11px; }
.cyan-key { width: 18px; height: 3px; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 10px rgba(0,231,236,.7); }

.metrics { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 18px; background: rgba(16,27,21,.78); }
.metrics article { padding: 24px; border-right: 1px solid var(--line); }
.metrics article:last-child { border: 0; }
.metrics strong { display: block; margin-bottom: 5px; font-family: Georgia,serif; font-size: clamp(1.75rem,3vw,2.6rem); font-weight: 400; }
.metrics span { color: var(--muted); font-size: 11px; line-height: 1.4; }

.section { padding: 120px 0 20px; }
.section-wide { width: min(1380px, calc(100% - 28px)); }
.section-heading { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: 50px; align-items: end; margin: 0 auto 34px; }
.section-heading > p { margin-bottom: 7px; color: var(--muted); line-height: 1.7; }
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: thin; }
.gallery-tab { flex: 0 0 auto; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); cursor: pointer; }
.gallery-tab.is-active { border-color: var(--accent); background: rgba(200,247,106,.11); color: var(--accent); }
.evidence-viewer { margin: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--panel); }
.image-button { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.evidence-viewer img { width: 100%; max-height: 760px; object-fit: contain; background: #070b09; }
.evidence-viewer figcaption { display: grid; grid-template-columns: .35fr 1fr; gap: 30px; padding: 20px 24px; }
.evidence-viewer figcaption span { color: var(--muted); line-height: 1.55; }

.map-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; min-height: 650px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--panel); }
.map-wrap { position: relative; min-height: 650px; }
#map { position: absolute; inset: 0; background: #152018; }
.map-toolbar { position: absolute; z-index: 500; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 7px; max-width: calc(100% - 28px); }
.map-toolbar label, .map-toolbar select { min-height: 38px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(10,17,13,.92); color: var(--ink); font-size: 11px; backdrop-filter: blur(12px); }
.map-toolbar label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.leaflet-control-attribution { background: rgba(8,15,11,.82)!important; color: #c1c8c1!important; }
.leaflet-control-attribution a { color: var(--accent)!important; }
.field-label { border: 0!important; background: rgba(7,15,11,.8)!important; color: #fff!important; box-shadow: none!important; font-size: 9px!important; font-weight: 800!important; }
.field-card { padding: 25px; border-left: 1px solid var(--line); background: linear-gradient(145deg,var(--panel),#0d1712); }
.field-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.field-card h3 { margin: 0; font-family: Georgia,serif; font-size: 32px; font-weight: 400; }
.badge { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.badge.cyan { border-color: var(--cyan); color: var(--cyan); }
.field-card dl { margin: 0 0 22px; }
.field-card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.field-card dt { color: var(--muted); font-size: 11px; }
.field-card dd { margin: 0; font-size: 12px; font-weight: 800; text-align: right; }
.microcopy { color: var(--muted); font-size: 10px; line-height: 1.55; }
.field-card .button { width: 100%; margin-top: 8px; }

.table-panel { margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.table-tools { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 20px; border-bottom: 1px solid var(--line); }
.table-tools h3 { margin-bottom: 3px; font-size: 18px; }
.table-tools p { margin: 0; color: var(--muted); font-size: 11px; }
.area-note { margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); background: rgba(226,169,22,.07); color: #d9c995; font-size: 10px; line-height: 1.55; }
.filters { display: flex; gap: 9px; }
.filters label { color: var(--muted); font-size: 10px; }
.filters input, .filters select { display: block; min-height: 38px; margin-top: 5px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--ink); }
.table-scroll { max-height: 560px; overflow: auto; }
table { width: 100%; min-width: 850px; border-collapse: collapse; }
thead { position: sticky; z-index: 2; top: 0; background: #17231c; }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: 11px; text-align: left; }
th button { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 850; cursor: pointer; }
th button:hover { color: var(--accent); }
.numeric { text-align: right; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: rgba(200,247,106,.05); }
tbody tr.is-selected { background: rgba(200,247,106,.1); box-shadow: inset 3px 0 var(--accent); }
tbody tr.is-clearing { box-shadow: inset 3px 0 var(--cyan); }
tbody tr.is-clearing.is-selected { outline: 1px solid var(--cyan); outline-offset: -1px; background: rgba(0,231,236,.08); }

.notice { margin-top: 80px; margin-bottom: 44px; padding: 28px; border: 1px solid rgba(226,169,22,.3); border-radius: 18px; background: rgba(226,169,22,.06); }
.notice h2 { font-family: inherit; font-size: 18px; font-weight: 800; letter-spacing: 0; }
.notice p, .notice li { color: var(--muted); font-size: 11px; line-height: 1.65; }
.notice summary { color: var(--accent); font-size: 11px; font-weight: 800; cursor: pointer; }
.site-footer { width: min(1240px,calc(100% - 40px)); margin: 0 auto; padding: 0 0 70px; }
.promo-card { display: grid; gap: 9px; width: min(340px,100%); margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--line); }
.promo-card img { display: block; width: 100%; height: 78px; object-fit: contain; border-radius: 8px; background: #101010; }
.promo-card a { display: block; padding: 11px 12px; border: 1px solid rgba(57,148,220,.52); border-radius: 10px; background: rgba(57,148,220,.12); color: #69baff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-align: center; text-decoration: none; text-transform: uppercase; }
.promo-card a:hover, .promo-card a:focus-visible { border-color: #69baff; background: rgba(57,148,220,.22); color: #b8deff; outline: none; }

#lightbox { width: min(96vw,1500px); max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #050907; }
#lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(7px); }
#lightbox img { width: 100%; max-height: 90vh; object-fit: contain; }
#lightbox-close { position: fixed; z-index: 2; top: 18px; right: 22px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #101713; color: #fff; font-size: 26px; cursor: pointer; }

.human-gate { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 20% 20%,rgba(132,169,75,.15),transparent 35%),rgba(7,12,9,.97); transition: opacity .3s,visibility .3s; }
.human-gate.is-verified { opacity: 0; visibility: hidden; }
.gate-card { position: relative; width: min(440px,100%); padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,#1b261e,#0f1712); box-shadow: 0 26px 90px rgba(0,0,0,.55); }
.gate-home { position: absolute; top: 16px; right: 16px; padding: 7px 9px; border: 1px solid rgba(200,247,106,.3); border-radius: 8px; color: var(--accent); font-size: 10px; font-weight: 800; text-decoration: none; }
.gate-icon { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 18px; border-radius: 50%; background: rgba(200,247,106,.1); color: var(--accent); font-size: 22px; }
.gate-card h2 { margin-bottom: 8px; font-size: 31px; }
.gate-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.captcha-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 18px; }
.captcha-cell { display: grid; aspect-ratio: 1; place-items: center; min-width: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: #050505; color: #fff; font-size: clamp(25px,8vw,36px); font-weight: 750; cursor: pointer; }
.captcha-cell:hover, .captcha-cell:focus-visible { border-color: var(--accent); outline: none; }
.captcha-cell.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 3px rgba(200,247,106,.72); transform: scale(.97); }
.captcha-submit { width: 100%; min-height: 46px; margin-top: 12px; border: 0; border-radius: 10px; background: var(--accent); color: #15200f; font-weight: 850; cursor: pointer; }
.captcha-submit:disabled { cursor: wait; opacity: .45; }
.gate-error { min-height: 17px; margin: 6px 0 0; color: var(--danger); font-size: 11px; }
.gate-card > small { display: block; margin-top: 14px; color: #817c74; font-size: 9px; line-height: 1.4; }
.bot-trap { position: absolute!important; left: -10000px!important; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { transform: none; }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 5px; }
  .map-layout { grid-template-columns: 1fr; }
  .field-card { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 640px) {
  .site-header nav a { display: none; }
  .hero, .section, .metrics, .notice { width: min(100% - 24px,1240px); }
  .hero { padding: 50px 0; }
  h1 { font-size: 2.7rem; }
  .metrics { grid-template-columns: 1fr; }
  .metrics article { border-right: 0; border-bottom: 1px solid var(--line)!important; }
  .metrics article:last-child { border-bottom: 0!important; }
  .section { padding-top: 82px; }
  .evidence-viewer figcaption { grid-template-columns: 1fr; gap: 7px; }
  .map-wrap { min-height: 520px; }
  .table-tools { align-items: stretch; flex-direction: column; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters input, .filters select { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none!important; } }
