:root{
  --bg:#0b0f0d;
  --card:#0f1512;
  --text:#e9f1ec;
  --muted:#b9c6be;
  --line:rgba(233,241,236,.12);
  --link:#bfe7d0;
  --placeholder:#2a2f2c;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
  width:auto;
  height:auto;
  padding:10px 12px;
  border-radius:10px;
  background:#102219;
  color:var(--text);
  border:1px solid var(--line);
  z-index:1000;
}
.site-header .brand-title{
  color: inherit;
  font-weight:700;
  font-size:1.02rem;
  letter-spacing:.2px;
}
.site-header .brand-title:hover{ text-decoration:none; }
img{
  display:block;
  width:100%;
  height:auto;
}
.video-embed{
  width:100%;
  max-width:100%;
  min-height:315px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
}
a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width: 980px; margin:0 auto; padding: 18px}
header.site-header{
  position: sticky;
  top: 0;
  background: rgba(11,15,13,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 12px 18px;
  max-width: 980px;
  margin: 0 auto;
}
.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width: 220px;
}
.brand b{font-size:1.02rem; letter-spacing:.2px}
.brand span{font-size:.86rem; color: var(--muted)}
nav ul{
  list-style:none;
  display:flex;
  gap: 14px;
  padding:0;
  margin:0;
  flex-wrap: wrap;
  justify-content:flex-end;
}
nav a{
  display:inline-block;
  padding:8px 10px;
  border-radius: 10px;
}
nav a[aria-current="page"]{
  background: rgba(191,231,208,.10);
  border: 1px solid rgba(191,231,208,.18);
  text-decoration:none;
}
.hero{
  padding: 28px 0 8px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items:start;
}
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
h1{margin:0 0 10px; font-size: 2rem; line-height:1.2}
h2{margin:0 0 10px; font-size: 1.25rem}
p{margin:10px 0; color: var(--text)}
.muted{color: var(--muted)}
.badge-row{display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px}
.badge{
  display:inline-block;
  font-size:.86rem;
  padding:6px 10px;
  border-radius:999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.03);
}
.placeholder{
  width:100%;
  border-radius: 14px;
  background: var(--placeholder);
  border: 1px dashed rgba(255,255,255,.18);
  position: relative;
  overflow:hidden;
}
.placeholder::after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events: none;
}
.ph-hero{height: 260px}
.ph-wide{height: 320px}
.ph-wide-landscape{height: 460px;}
.ph-small{height: 160px}
.ph-hero-landscape{height: 530px}
.ph-hero-water{height: 520px}
.ph-hero-map{height: 277px;}

.section{
  padding: 18px 0;
  
}
section{
  margin-bottom: 18px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.kpi{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.kpi b{font-size:1.1rem}
.kpi span{color: var(--muted); font-size: .92rem}

.callouts{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 10px;
}
.callout{
  padding: 12px 14px;
  border-left: 4px solid rgba(191,231,208,.35);
  background: rgba(191,231,208,.06);
  border-radius: 12px;
  border: 1px solid rgba(191,231,208,.14);
}

footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 22px;
  color: var(--muted);
  font-size: .92rem;
}
.footer-grid{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 860px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .brand{min-width: unset}
}


@media (max-width: 560px) {
  /* Stack brand + nav */
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Make the brand take full width */
  .brand {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  /* Nav also full width */
  nav {
    width: 100%;
  }

  /* Better mobile nav layout */
  nav ul {
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
  }

  nav a {
    padding: 8px 10px;
  }
  
  .ph-wide-landscape, .ph-hero-water, .ph-hero-map, .ph-hero-landscape {
    height: auto !important;
  }
}


/* Biodiversity table helpers */
.table-wrap { overflow: auto; max-height: 70vh; border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
.table thead th { position: sticky; top: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(6px); z-index: 1; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0 12px; }
.input { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.35); color: inherit; }
.input:focus { outline: 2px solid rgba(160,255,180,0.25); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

