/* =========================================================
   Wykoka County Sheriff's Office - Light Theme (Palette)
   White  #FFFFFF
   Green  #008000
   Black  #000000
   Orange #FF6600
   ========================================================= */

:root{
  --white:#FFFFFF;
  --green:#008000;
  --black:#000000;
  --orange:#FF6600;

  --bg: var(--white);
  --text: #111111;
  --muted: #4b4b4b;
  --border: #e6e6e6;

  --card: #ffffff;
  --shadow: 0 10px 22px rgba(0,0,0,.08);

  --radius: 16px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:#fff; border:2px solid var(--green); border-radius:10px; z-index:9999;
}

/* Top banner */
.topbar{
  background: #0a0a0a;
  color: #fff;
  font-size: 14px;
}
.topbar .row{
  display:flex;
  gap:12px;
  justify-content: space-between;
  align-items:center;
  padding:10px 0;
}
.topbar .pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
}
.dot{
  width:10px; height:10px; border-radius:99px; background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,102,0,.18);
}

/* Header / nav */
.header{
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding:14px 0;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 260px;
}
.badge{
  width:44px; height:44px;
  border-radius: 14px;
  background: var(--green);
  position: relative;
  box-shadow: 0 10px 20px rgba(0,128,0,.15);
}
.badge:before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius: 10px;
  border: 2px solid #fff;
}
.brand h1{
  font-size: 16px;
  margin:0;
  letter-spacing:.2px;
}
.brand .sub{
  font-size: 12px;
  color: var(--muted);
  margin-top:2px;
}

.nav{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content:flex-end;
}
.nav a{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover{
  border-color: var(--border);
  background: #fafafa;
  text-decoration:none;
}
.nav a.active{
  border-color: rgba(0,128,0,.25);
  background: rgba(0,128,0,.08);
}

.cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,102,0,.35);
  background: rgba(255,102,0,.10);
  font-weight: 800;
  white-space: nowrap;
}
.cta:hover{
  background: rgba(255,102,0,.15);
  text-decoration:none;
}

/* Hero */
.hero{
  background:
    radial-gradient(800px 300px at 10% 10%, rgba(0,128,0,.12), transparent 60%),
    radial-gradient(700px 280px at 90% 20%, rgba(255,102,0,.12), transparent 55%),
    linear-gradient(#ffffff, #ffffff);
  border-bottom: 1px solid var(--border);
}
.hero .grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 28px 0;
  align-items: stretch;
}
.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,128,0,.22);
  background: rgba(0,128,0,.08);
  font-weight: 700;
  font-size: 13px;
}
.kicker .tiny{
  width:10px; height:10px; border-radius:99px; background: var(--green);
}

.hero h2{
  margin: 12px 0 8px 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.hero p{
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:#fff;
  font-weight: 800;
  cursor: pointer;
}
.btn:hover{ background:#fafafa; text-decoration:none; }

.btn-primary{
  border-color: rgba(0,128,0,.35);
  background: rgba(0,128,0,.10);
}
.btn-primary:hover{ background: rgba(0,128,0,.14); }

.btn-accent{
  border-color: rgba(255,102,0,.45);
  background: rgba(255,102,0,.12);
}
.btn-accent:hover{ background: rgba(255,102,0,.16); }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card{
  padding: 16px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.hero-card h3{
  margin: 0;
  font-size: 16px;
}
.notice{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.notice strong{ display:block; }
.notice p{ margin: 3px 0 0 0; color: var(--muted); font-size: 14px; }

/* Sheriff placeholder */
.sheriff-box{
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,.18);
  background:
    linear-gradient(180deg, rgba(0,128,0,.07), rgba(255,102,0,.06));
  padding: 14px;
}
.photo{
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 16px;
  color: var(--muted);
  font-weight: 700;
}
.caption{
  margin-top:10px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.caption b{ color: #222; }

/* Sections */
.section{
  padding: 26px 0;
}
.section h3{
  font-size: 18px;
  margin: 0 0 12px 0;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tile{
  padding: 16px;
}
.tile h4{
  margin: 0 0 6px 0;
  font-size: 16px;
}
.tile p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,128,0,.25);
  background: rgba(0,128,0,.08);
  margin-bottom: 10px;
}
.tag.orange{
  border-color: rgba(255,102,0,.35);
  background: rgba(255,102,0,.10);
}

.hr{
  height:1px;
  background: var(--border);
  border:0;
  margin: 18px 0;
}

/* Forms */
.form{
  display:grid;
  gap: 10px;
}
.input{
  display:flex;
  flex-direction: column;
  gap: 6px;
}
label{
  font-size: 13px;
  font-weight: 800;
}
input, textarea, select{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}
textarea{ min-height: 120px; resize: vertical; }

/* Footer */
.footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
  background: #fff;
}
.footer .row{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.footer small{ display:block; }

/* Responsive */
@media (max-width: 980px){
  .hero .grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .brand{ min-width: unset; }
  .nav{ justify-content:flex-start; }
}
