:root {
  --paper: #EFE6D2;
  --paper-2: #E6DBC2;
  --night: #151A1E;
  --night-2: #1D242A;
  --ink: #2B2B2B;
  --muted: #5A5347;
  --fern: #3F5E3A;
  --sienna: #A0522D;
  --ochre: #D4A017;
  --cyan: #19E3E3;
  --rule: rgba(43, 43, 43, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper); color: var(--ink); }

body {
  font-family: 'Cairo', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  overflow-x: hidden;
  padding-top: 62px;
  letter-spacing: 0;
}

.wl-ltr {
  direction: ltr;
  display: inline-block;
  unicode-bidi: isolate;
  font-family: 'IBM Plex Mono', monospace;
}

.wl-wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* Fixed 62px Field-Journal Navbar */
.wl-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 62px;
  z-index: 60;
  background: rgba(239, 230, 210, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--ink);
}

.wl-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.wl-tel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(25, 227, 227, 0.28);
  animation: wlBlink 2s infinite;
}

@keyframes wlBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.28); }
}

.wl-brand-name {
  font-family: 'Amiri', serif;
  font-size: 1.32rem;
  font-weight: 700;
}

.wl-brand-code {
  font-size: 0.68rem;
  color: var(--sienna);
  padding: 2px 7px;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.wl-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.wl-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.wl-links a:hover { color: var(--fern); }

.wl-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.wl-mini {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 3px;
  background: var(--paper-2);
}

.wl-mini:hover { background: #DACCAE; }

.wl-cta-nav {
  text-decoration: none;
  background: var(--fern);
  color: #F6F1E4;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 3px;
  border: 1px solid #263A23;
}

.wl-cta-nav:hover { background: #2F492B; }

/* Hero Asymmetric Split */
.wl-hero {
  padding: 48px 0 68px;
  border-bottom: 1.5px solid var(--rule);
}

.wl-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.wl-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--night);
  color: #EFE6D2;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(25, 227, 227, 0.35);
}

.wl-live-badge .wl-ltr { color: var(--cyan); }

.wl-h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(2.5rem, 4.2vw, 3.7rem);
  font-weight: 700;
  line-height: 1.44;
  margin-bottom: 18px;
}

.wl-h1 em {
  font-style: italic;
  color: var(--sienna);
}

.wl-lead {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 54ch;
  margin-bottom: 26px;
}

.wl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 3px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.wl-btn-primary {
  background: var(--fern);
  color: #F6F1E4;
  border: 1.5px solid #263A23;
}

.wl-btn-primary:hover { transform: translateY(-2px); background: #314B2C; }

.wl-btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.wl-btn-outline:hover { background: var(--paper-2); transform: translateY(-2px); }

.wl-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wl-metric {
  border: 1px solid var(--rule);
  background: rgba(255, 251, 242, 0.45);
  padding: 12px 10px;
}

.wl-metric strong {
  display: block;
  font-family: 'Amiri', serif;
  font-size: 1.42rem;
  color: var(--fern);
  line-height: 1.25;
}

.wl-metric span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

/* Engraved Copperplate Specimen Plate */
.wl-plate-frame {
  border: 2px solid var(--ink);
  background: #F6EFE0;
  padding: 14px;
  box-shadow: 8px 8px 0 rgba(43, 43, 43, 0.12);
}

.wl-plate-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--muted);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.wl-plate-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  cursor: crosshair;
}

.wl-plate-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wl-reticle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(150px circle at var(--rx, 50%) var(--ry, 45%), rgba(25, 227, 227, 0.14), transparent 62%),
    linear-gradient(to right, rgba(43, 43, 43, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 43, 43, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
}

.wl-plate-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  font-size: 0.76rem;
  color: var(--ink);
}

/* Sections */
.wl-sec {
  padding: 72px 0;
}

.wl-eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--sienna);
  margin-bottom: 8px;
}

.wl-h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(1.95rem, 3.1vw, 2.7rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* #species 3-Col Engraved Wildlife Cards */
.wl-species-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.wl-sp-card {
  background: #F6EFE0;
  border: 1.5px solid var(--ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wl-sp-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(63, 94, 58, 0.24);
}

.wl-sp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wl-status {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(63, 94, 58, 0.14);
  color: var(--fern);
  border: 1px solid var(--fern);
}

.wl-status.warn {
  background: rgba(160, 82, 45, 0.14);
  color: var(--sienna);
  border-color: var(--sienna);
}

.wl-sp-card h3 {
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  line-height: 1.35;
}

.wl-sp-latin {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

.wl-sp-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.wl-adopt-btn {
  margin-top: auto;
  padding: 9px 14px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.wl-adopt-btn.is-adopted, .wl-adopt-btn:hover {
  background: var(--fern);
  border-color: var(--fern);
  color: #F6F1E4;
}

/* #corridor 30-Day GPS Scrubber Band */
.wl-corridor-band {
  background: var(--paper-2);
  border-block: 1.5px solid var(--ink);
}

.wl-corridor-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 26px;
}

.wl-map-box {
  background: var(--night);
  border: 2px solid var(--ink);
  padding: 18px;
  color: #EFE6D2;
}

.wl-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.wl-scrubber-panel {
  background: #F6EFE0;
  border: 1.5px solid var(--ink);
  padding: 26px;
}

.wl-day-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.wl-day-big {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: var(--sienna);
  font-weight: 700;
}

.wl-range {
  width: 100%;
  accent-color: var(--fern);
  cursor: pointer;
  margin: 12px 0 18px;
}

.wl-tel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.wl-tel-cell {
  border: 1px solid var(--rule);
  padding: 10px 12px;
  background: var(--paper);
}

.wl-tel-cell small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.wl-tel-cell strong {
  font-size: 0.92rem;
  color: var(--ink);
}

/* #night Nocturnal Anti-Poaching Band */
.wl-night-band {
  background: var(--night);
  color: #EFE6D2;
}

.wl-night-band .wl-eyebrow { color: var(--cyan); }
.wl-night-band .wl-h2 { color: #FAF5E8; }

.wl-beats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 38px;
}

.wl-beat {
  background: var(--night-2);
  border: 1px solid rgba(25, 227, 227, 0.24);
  padding: 18px;
}

.wl-beat .wl-ltr {
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 700;
}

.wl-beat h4 {
  font-family: 'Amiri', serif;
  font-size: 1.24rem;
  color: #FAF5E8;
  margin: 6px 0;
}

.wl-beat p {
  font-size: 0.85rem;
  color: #C7C0B0;
}

.wl-calc-night {
  background: var(--night-2);
  border: 1.5px solid rgba(212, 160, 23, 0.5);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.wl-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.wl-mode-btn {
  padding: 8px 14px;
  border: 1px solid rgba(239, 230, 210, 0.35);
  background: transparent;
  color: #EFE6D2;
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.wl-mode-btn.is-active {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #151A1E;
}

.wl-night-out {
  background: #0E1215;
  border: 1px solid rgba(25, 227, 227, 0.35);
  padding: 24px;
  text-align: center;
}

.wl-night-num {
  font-family: 'Amiri', serif;
  font-size: 3.1rem;
  color: var(--cyan);
  line-height: 1.15;
  font-weight: 700;
}

.wl-quote {
  margin-top: 34px;
  padding: 22px 26px;
  border-inline-start: 3px solid var(--ochre);
  background: rgba(239, 230, 210, 0.05);
}

.wl-quote blockquote {
  font-family: 'Amiri', serif;
  font-size: 1.38rem;
  color: #FAF5E8;
  margin-bottom: 6px;
}

.wl-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ochre);
  font-weight: 700;
}

/* Footer */
.wl-footer {
  background: #0F1316;
  color: #EFE6D2;
  border-top: 1px solid rgba(239, 230, 210, 0.16);
  padding: 40px 0 32px;
}

.wl-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.wl-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wl-footer-links a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .wl-links { display: none; }
  .wl-hero-grid, .wl-species-grid, .wl-corridor-grid,
  .wl-beats, .wl-calc-night { grid-template-columns: 1fr; }
  .wl-metrics { grid-template-columns: repeat(2, 1fr); }
}
