/* pvlandslide.com — civic/authoritative theme */
:root {
  --navy: #16283e;
  --navy-2: #1f3a5c;
  --slate: #43566e;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --line: #dde4ec;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-tint: #eaf0f6;
  --accent: #b7791f;
  --accent-soft: #fdf3e0;
  --alert: #9c3a2e;
  --alert-soft: #fbeeec;
  --ok: #2e6b46;
  --ok-soft: #e9f4ee;
  --link: #1d5ba1;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(22, 40, 62, 0.08), 0 6px 20px rgba(22, 40, 62, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy);
  color: #cfdae8;
  font-size: 13.5px;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #ffffff; font-weight: 600; }

header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 9px; flex: none;
  background: linear-gradient(160deg, var(--navy) 55%, var(--navy-2));
  display: grid; place-items: center;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0.2px; line-height: 1.15; }
.brand-name span { color: var(--accent); }
.brand-tag { font-size: 12px; color: var(--muted); letter-spacing: 0.4px; text-transform: uppercase; }

nav.main { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
nav.main a {
  color: var(--slate);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 11px;
  border-radius: 7px;
}
nav.main a:hover { background: var(--bg-tint); color: var(--navy); text-decoration: none; }
nav.main a.active { color: var(--navy); background: var(--bg-tint); }
nav.main a.cta {
  background: var(--accent);
  color: #ffffff;
  margin-left: 6px;
}
nav.main a.cta:hover { background: #9a6519; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font-size: 15px; font-weight: 700; color: var(--navy); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 70%, #2a4a71 100%);
  color: #ffffff;
  padding: 58px 0 54px;
}
.hero .kicker {
  color: #e9c98a;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.15;
  max-width: 780px;
  margin-bottom: 16px;
}
.hero p.lede { font-size: 18.5px; color: #d5dfeb; max-width: 720px; margin-bottom: 26px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15.5px;
}
.btn.primary { background: var(--accent); color: #ffffff; }
.btn.primary:hover { background: #9a6519; text-decoration: none; }
.btn.ghost { background: rgba(255,255,255,0.1); color: #ffffff; border: 1px solid rgba(255,255,255,0.35); }
.btn.ghost:hover { background: rgba(255,255,255,0.18); text-decoration: none; }

/* ---------- Status band ---------- */
.status-band { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 34px 0 38px; }
.status-band h2 { margin-bottom: 4px; }
.status-note { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.stat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.stat .num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.stat.good .num { color: var(--ok); }

/* ---------- Sections ---------- */
section.block { padding: 46px 0; }
section.block.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-family: var(--serif); font-size: 28px; color: var(--navy); line-height: 1.25; margin-bottom: 14px; }
h3 { font-family: var(--serif); font-size: 21px; color: var(--navy-2); margin: 26px 0 10px; }
p + p { margin-top: 12px; }
.section-intro { max-width: 780px; color: var(--slate); margin-bottom: 24px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { color: var(--slate); font-size: 15px; flex: 1; }
.card .more { margin-top: 14px; font-weight: 700; font-size: 14.5px; }
.card .icon { font-size: 24px; margin-bottom: 10px; }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 20px 0;
  border: 1px solid;
}
.callout.alert { background: var(--alert-soft); border-color: #e5c1bb; }
.callout.alert strong { color: var(--alert); }
.callout.info { background: var(--bg-tint); border-color: var(--line); }
.callout.gold { background: var(--accent-soft); border-color: #ecd6a8; }
.callout.ok { background: var(--ok-soft); border-color: #bcd9c8; }
.callout h3 { margin-top: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 24px 0; position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline li { position: relative; padding: 0 0 26px 14px; }
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline .when {
  font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent);
}
.timeline h3 { margin: 3px 0 6px; }
.timeline p { color: var(--slate); font-size: 15.5px; max-width: 720px; }

/* ---------- Updates feed ---------- */
.update {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 20px; background: var(--bg); box-shadow: var(--shadow);
}
.update .date {
  font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
}
.update h3 { margin: 4px 0 10px; }
.update ul { margin: 10px 0 0 20px; color: var(--slate); }
.update ul li { margin-bottom: 6px; }
.badge {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.8px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 20px; margin-left: 8px; vertical-align: 2px;
}
.badge.city { background: var(--bg-tint); color: var(--navy-2); }
.badge.meeting { background: var(--accent-soft); color: var(--accent); }
.badge.data { background: var(--ok-soft); color: var(--ok); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--bg); }
th {
  background: var(--navy); color: #ffffff; text-align: left;
  padding: 11px 16px; font-size: 13.5px; letter-spacing: 0.5px; text-transform: uppercase;
}
td { padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--bg-soft); }

/* ---------- Resource lists ---------- */
.resource-list { list-style: none; margin: 14px 0; }
.resource-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.resource-list li:last-child { border-bottom: none; }
.resource-list .r-title { font-weight: 700; color: var(--navy); }
.resource-list .r-desc { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* ---------- FAQ ---------- */
details.faq {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--bg); box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy);
  list-style: none; position: relative; padding-right: 44px; font-size: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--accent); font-weight: 400;
}
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 20px 18px; color: var(--slate); }
details.faq .a p + p { margin-top: 10px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #ffffff; padding: 40px 0 36px;
}
.page-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.page-hero p { color: #d5dfeb; max-width: 760px; font-size: 17px; }
.crumb { font-size: 13px; color: #a9bcd2; margin-bottom: 10px; }
.crumb a { color: #cfdae8; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy); color: #b9c8da; margin-top: 56px;
  padding: 44px 0 26px; font-size: 14.5px;
}
footer.site h4 { color: #ffffff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
footer.site a { color: #dbe5f0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 30px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 8px; }
.foot-note {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px; font-size: 13px; color: #8fa2b8; line-height: 1.6;
}

/* ---------- Utility ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mt0 { margin-top: 0; }
.small { font-size: 13.5px; color: var(--muted); }
.updated-line { font-size: 13px; color: var(--muted); margin-top: 6px; }

@media (max-width: 880px) {
  .masthead { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  nav.main {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding: 8px 0 14px;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 11px 12px; }
  nav.main a.cta { margin-left: 0; text-align: center; }
  .two-col { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Map figure ---------- */
.map-figure {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin: 22px 0;
}
.map-scroll { overflow-x: auto; }
.map-scroll svg { min-width: 720px; width: 100%; height: auto; display: block; }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px;
  font-size: 13.5px; color: var(--slate);
}
.map-legend .key { display: inline-flex; align-items: center; gap: 7px; }
.map-legend .sw {
  width: 16px; height: 16px; border-radius: 4px; flex: none; display: inline-block;
  border: 1px solid rgba(28,39,51,0.25);
}
.map-caption { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.55; }

/* ---------- Embedded live maps ---------- */
.embed-figure {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin: 22px 0;
}
.embed-figure h3 { margin-top: 0; }
.embed-figure iframe {
  width: 100%; height: 540px; border: 1px solid var(--line); border-radius: 8px; display: block;
  background: var(--bg-soft);
}
.embed-figure .img-frame { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.embed-figure .img-frame img { display: block; width: 100%; height: auto; }
.embed-credit { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.55; }
@media (max-width: 640px) { .embed-figure iframe { height: 420px; } }
