:root{
  --bg:#f7f4ef;
  --surface:#ffffff;
  --surface-alt:#f3efe7;
  --text:#1f2328;
  --muted:#5c6773;
  --line:#d6d0c5;
  --brand:#7a163d;
  --brand-dark:#5f1230;
  --accent:#e8c84a;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:20px;
  --max:1200px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter, Arial, Helvetica, sans-serif;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}

img{
  max-width:100%;
  display:block;
  height:auto;
}

#screwworm-map{
  object-position:50% 0%;
}

a{
  color:var(--brand);
  text-underline-offset:.18em;
}

a:hover{
  color:var(--brand-dark);
}

a:focus-visible,
button:focus-visible{
  outline:3px solid #111;
  outline-offset:3px;
}

a,
button,
.nav-toggle,
.btn{
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background-color .15s ease,
    color .15s ease,
    border-color .15s ease;
}

a:hover,
button:hover,
.nav-toggle:hover,
.btn:hover{
  transform:translateY(-2px);
}

a.textlink:hover{
  font-weight:bold;
}

h1{
  font-family:Inter, Arial, Helvetica, sans-serif;
  font-weight:700;
}

h2, h3{
  font-family:Inter, Arial, Helvetica, sans-serif;
  font-weight:700;
}

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

.skip-link{
  position:absolute;
  left:1rem;
  top:-100%;
  z-index:10000;
  background:#111;
  color:#fff;
  padding:.75rem 1rem;
  border-radius:.5rem;
  text-decoration:none;
}

.skip-link:focus{
  top:1rem;
}

.container{
  width:min(calc(100% - 2rem), var(--max));
  margin-inline:auto;
}

/* Brand bar */

.brand-bar{
  background:var(--brand);
  color:#fff;
  border-bottom:4px solid var(--accent);
}

.brand-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  min-height:90px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  font-weight:700;
}

.brand:hover,
.brand:focus-visible{
  color:#fff;
}

.brand img{
  height:60px;
  width:auto;
  object-fit:contain;
}

.brand span{
  font-size:1.4rem;
  line-height:1.2;
}

/* Navigation */

.site-header{
  background:#fff;
  border-bottom:3px solid var(--accent);
  position:sticky;
  top:0;
  z-index:1000;
}

/* Status bar */

.status-bar{
  background:var(--brand);
  padding:10px 0;
  text-align:center;
}

.status-bar p{
  margin:0;
  color:#ffffff;
  font-size:0.95rem;
  font-weight:600;
}

.nav-wrapper{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-height:64px;
}

.site-nav{
  margin:0 auto;
}

.site-nav > ul{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  padding:0;
  margin:0;
}

.site-nav > ul > li{
  display:flex;
  align-items:center;
}

.site-nav li{
  position:relative;
}

.site-nav a{
  text-decoration:none;
  font-weight:600;
  color:#333;
  display:flex;
  align-items:center;
  gap:6px;
  padding:.5rem 0;
  position:relative;
  line-height:1.2;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li > a:focus-visible{
  color:var(--brand);
  font-weight:700;
}

.site-nav > ul > li > a::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:3px;
  background:var(--accent);
  transition:width .2s ease;
}

.site-nav > ul > li > a:hover::before,
.site-nav > ul > li > a:focus-visible::before{
  width:100%;
}

.dropdown{
  padding-bottom:0;
}

.dropdown > a::after{
  content:"▾";
  font-size:.75rem;
  margin-left:.2rem;
  line-height:1;
  position:relative;
  top:1px;
}

.dropdown-menu{
  list-style:none;
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:6px 0;
  min-width:170px;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
  margin-top:0;
  z-index:1000;
}

.dropdown-menu li{
  margin:0;
}

.dropdown-menu a{
  display:block;
  padding:10px 16px;
  color:var(--text);
  font-weight:600;
  text-decoration:none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible{
  background:var(--surface-alt);
  color:var(--brand);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  display:block;
}

.dropdown-menu::before{
  content:"";
  position:absolute;
  top:-12px;
  left:0;
  right:0;
  height:12px;
}

/* Menu button */

.nav-toggle{
  display:none;
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  padding:.65rem 1rem;
  font-weight:700;
  color:#333;
  cursor:pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

/* Hero */

.hero{
  padding:80px 0;
  position:relative;
  overflow:hidden;
  background:linear-gradient(#f9f5ef,#eee7dc);
}

.hero::after{
  content:'';
  position:absolute;
  bottom:-80px;
  right:-60px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:var(--accent);
  opacity:0.22;
  pointer-events:none;
}

.hero-watermark{
  position:absolute;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  pointer-events:none;
  opacity:.05;
}

.hero-watermark img{
  width:min(800px,80vw);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:40px;
  position:relative;
  z-index:1;
}

.eyebrow{
  margin:0 0 .5rem 0;
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--brand);
  display:flex;
  align-items:center;
  gap:10px;
}

.eyebrow::before{
  content:'';
  display:inline-block;
  width:24px;
  height:3px;
  background:var(--accent);
  border-radius:2px;
  flex-shrink:0;
}

.hero-title{
  font-size:4rem;
  line-height:1.05;
  margin:0 0 12px;
}

.tagline{
  max-width:54ch;
  color:var(--muted);
  margin:0 0 1.25rem;
}

.hero-list{
  padding-left:0;
  max-width:650px;
  margin:0;
  list-style:none;
}

.hero-list li{
  border-left:3px solid var(--accent);
  padding-left:.75rem;
  margin-bottom:.8rem;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

/* Buttons */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 20px;
  border:2px solid transparent;
  border-radius:30px;
  text-decoration:none;
  font-weight:700;
  box-shadow:var(--shadow);
}

.btn-alert,
.btn-report-hero,
.btn-report{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

.btn-alert:hover,
.btn-alert:focus-visible,
.btn-report-hero:hover,
.btn-report-hero:focus-visible,
.btn-report:hover,
.btn-report:focus-visible{
  background:#fff;
  color:var(--brand);
  border-color:var(--brand);
  box-shadow:0 6px 14px rgba(0,0,0,.15);
}

/* Hero card */

.hero-card{
  border-radius:18px;
  box-shadow:0 10px 20px rgba(0,0,0,.1);
  overflow:hidden;
}

.hero-card.current-card{
  background:#8b1538;
  color:#ffffff;
}

.current-card-body{
  padding:0;
}

.status-label{
  background:var(--accent);
  padding:10px 20px;
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--brand);
  display:flex;
  align-items:center;
  gap:8px;
}

.status-label a{
  color:var(--brand);
  font-weight:700;
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand);
  flex-shrink:0;
  animation:pulse 2s infinite;
}

@keyframes pulse{
  0%, 100%{ opacity:1; }
  50%{ opacity:0.35; }
}

.current-card-content{
  padding:20px 24px 24px;
}

.current-card h2{
  font-size:1.4rem;
  font-weight:700;
  color:#ffffff;
  background:none;
  padding:0;
  border-radius:0;
  margin:0 0 10px 0;
}

.current-card .alert-message{
  font-size:1rem;
  line-height:1.5;
  color:#ffffff;
  margin:0;
}

.status-update{
  font-size:0.82rem;
  color:rgba(255,255,255,0.6);
  border-top:1px solid rgba(255,255,255,0.15);
  padding-top:14px;
  margin:0;
  line-height:1.5;
}

.status-update strong{
  color:var(--accent);
}

.current-card .alert-subtext{
  font-size:0.95rem;
  color:#f2dede;
}

.fly-photo{
  width:100%;
  aspect-ratio:4 / 2.6;
  object-fit:cover;
}

.hero-card-body{
  padding:20px;
}

.hero-card-body h2{
  margin-top:0;
  margin-bottom:12px;
}

/* Contact banner */

.contact-banner{
  background:#8b1538;
  padding:48px 0;
  position:relative;
  overflow:hidden;
}

.contact-banner::before{
  content:'';
  position:absolute;
  right:-40px;
  top:-40px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:var(--accent);
  opacity:0.15;
  pointer-events:none;
}

.contact-banner-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  position:relative;
  z-index:1;
}

.contact-banner-text h2{
  font-size:1.6rem;
  font-weight:700;
  color:#ffffff;
  background:none;
  padding:0;
  border-radius:0;
  margin:0 0 6px 0;
}

.contact-banner-text p{
  color:rgba(255,255,255,0.75);
  font-size:0.97rem;
  margin:0;
}

.btn-contact{
  background:var(--accent);
  color:#5f1230;
  font-weight:700;
  font-size:0.95rem;
  padding:13px 28px;
  border-radius:30px;
  text-decoration:none;
  display:inline-block;
  min-height:44px;
  white-space:nowrap;
  flex-shrink:0;
  transition:background 0.15s, color 0.15s;
}

.btn-contact:hover{
  background:#e8d48a;
  color:#3d0a1e;
}

/* Sections */

.section{
  padding:44px 0 52px;
  background:#fff;
}

.section.alt{
  background:var(--surface-alt);
}

.section h2{
  margin:0 0 24px 0;
  font-size:1.9rem;
  line-height:1.2;
  color:var(--brand);
  background:var(--accent);
  padding:16px 24px;
  border-left:none;
  border-radius:16px 16px 0 0;
}

.grid-3,
.grid-2,
.grid-4{
  margin-top:8px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

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

.card{
  background:#fff;
  padding:20px;
  border-radius:16px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  border-top:3px solid var(--accent);
}

.card h3{
  margin:0 0 10px 0;
}

.card h2{
  font-size:1.1rem;
  font-weight:700;
  color:var(--brand);
  background:var(--accent);
  padding:8px 12px;
  border-radius:8px 8px 0 0;
  margin:0 0 10px 0;
}

.resource-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  overflow:hidden;
}

.resource-card h2{
  font-size:1rem;
  font-weight:700;
  color:var(--brand);
  background:var(--accent);
  padding:12px 16px;
  margin:0;
  border-radius:0;
}

.resource-card-body{
  padding:16px 20px 20px;
}

.resource-list-plain{
  list-style:none;
  padding:0;
  margin:0;
}

.resource-list-plain li{
  padding:12px 0;
  border-bottom:none;
}

.report-card .btn-report{
  margin-top:6px;
}

/* News cards */

#news h2{
  margin-bottom:10px;
}

.news-card{
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-top:3px solid var(--accent);
}

.news-image{
  width:100%;
  height:180px;
  object-fit:cover;
}

.news-card-body{
  padding:16px 18px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.news-card h3{
  margin:0;
  font-size:1.2rem;
  line-height:1.3;
}

.news-date{
  margin:0;
  font-size:.85rem;
  font-weight:600;
  color:var(--muted);
}

.news-card p{
  margin:0;
  font-size:.95rem;
}

.news-link{
  margin-top:8px;
  font-weight:700;
  text-decoration:none;
  color:var(--brand);
}

.news-link:hover,
.news-link:focus-visible{
  text-decoration:underline;
  color:var(--brand-dark);
}

/* Report section */

.report-grid{
  display:block;
  margin-top:20px;
}

.report-text{
  margin-bottom:24px;
}

.report-text p{
  margin:0 0 14px 0;
}

.report-text p:last-child{
  margin-bottom:0;
}

.report-qr{
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
  align-items:stretch;
  gap:20px;
  flex-wrap:nowrap;
}

.qr-card{
  background:#fff;
  padding:12px;
  border-radius:12px;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  width:180px;
  margin:0;
  text-align:center;
  border-top:3px solid var(--accent);
}

.qr-card img{
  width:100%;
  height:auto;
}

.qr-card figcaption{
  font-size:.9rem;
  font-weight:600;
  margin-top:8px;
  line-height:1.3;
}

/* WTD image cards */

.wtd-cards{
  margin-top:32px;
  margin-bottom:32px;
}

.wtd-card{
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.wtd-card a{
  display:block;
  text-decoration:none;
}

.wtd-card-img{
  position:relative;
  height:180px;
  overflow:hidden;
}

.wtd-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .3s ease;
}

.wtd-card:hover .wtd-card-img img{
  transform:scale(1.03);
}

.wtd-card-img::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 40%, transparent 70%);
  z-index:1;
}

.wtd-card-label{
  position:absolute;
  bottom:14px;
  left:0;
  right:0;
  text-align:center;
  font-size:1.1rem;
  font-weight:700;
  color:#ffffff;
  z-index:2;
  letter-spacing:0.02em;
  text-shadow:0 1px 4px rgba(0,0,0,.5);
}

/* Footer */

.site-footer{
  background:#1f1418;
  color:#fff;
  text-align:center;
  padding:40px 20px;
  border-top:4px solid var(--accent);
}

.footer-text{
  margin:0 0 16px 0;
  color:rgba(255,255,255,.75);
  font-size:0.88rem;
}

.footer-logos{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
  margin-top:24px;
}

.footer-logos img{
  height:60px;
  width:auto;
  object-fit:contain;
}

.footer-logos img.logo-wide{
  height:40px;
}

/* Responsive */

@media (max-width:1024px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .grid-4{
    grid-template-columns:repeat(2,1fr);
  }

  .grid-3{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:900px){
  .nav-toggle{
    display:block;
  }

  .nav-wrapper{
    justify-content:flex-start;
  }

  .site-nav{
    display:none;
    position:absolute;
    background:#fff;
    padding:20px;
    top:64px;
    left:20px;
    border:1px solid #ddd;
    border-radius:16px;
    box-shadow:var(--shadow);
    z-index:1000;
    min-width:280px;
    margin:0;
  }

  .site-nav.open{
    display:block;
  }

  .site-nav > ul{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:15px;
  }

  .site-nav > ul > li{
    width:100%;
  }

  .site-nav > ul > li > a::before{
    display:none;
  }

  .dropdown{
    width:100%;
    padding-bottom:0;
  }

  .dropdown > a::after{
    content:"";
    margin-left:0;
  }

  .dropdown-menu{
    display:none;
    position:static;
    border:0;
    box-shadow:none;
    padding:.25rem 0 .25rem 1rem;
    background:transparent;
    min-width:0;
    margin:0;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu{
    display:block;
  }

  .hero-title{
    font-size:2.8rem;
  }
}

@media (max-width:640px){
  .grid-3,
  .grid-2,
  .grid-4{
    grid-template-columns:1fr;
  }

  .news-image{
    height:180px;
  }

  .brand span{
    font-size:1.05rem;
  }

  .footer-logos img{
    height:45px;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-buttons .btn,
  .report-card .btn-report{
    width:100%;
    text-align:center;
  }

  .report-qr{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }

  .qr-card{
    width:180px;
  }
}

@media (prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    transform:none !important;
  }
}