:root {
  --ink: #1c1914;
  --muted: #5e574c;
  --line: #e3d8c6;
  --paper: #f4efe4;
  --card: #fffdf8;
  --deep: #102e2a;
  --deep-2: #1b4540;
  --clay: #c4622d;
  --clay-dark: #8d3e16;
  --gold: #c8962e;
  --sage: #3f6b52;
  --rose: #8d2f39;
  --shadow: 4px 4px 0 #102e2a;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(200, 150, 46, 0.18), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(16, 46, 42, 0.08), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; letter-spacing: -0.03em; line-height: 1.12; }
p { margin: 0 0 0.8rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--deep);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  background: var(--deep);
  color: #f6f1e7;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 8px 0 rgba(196, 98, 45, 0.9);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 4vw 0.7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 190px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #f3ead7;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.45rem;
  border-radius: 14px 4px 14px 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 650; }
.brand-text small { color: #d9c9a8; letter-spacing: 0.04em; }
.header-search { display: flex; flex: 1; max-width: 460px; }
.header-search input {
  flex: 1;
  border: 0;
  background: rgba(255, 253, 248, 0.12);
  color: white;
  border-radius: 999px 0 0 999px;
  padding: 0.65rem 1rem;
  outline: none;
}
.header-search input::placeholder { color: #cbbfa8; }
.header-search button {
  border: 0;
  background: var(--gold);
  color: #1c1914;
  border-radius: 0 999px 999px 0;
  padding: 0 0.95rem;
  font-weight: 650;
  cursor: pointer;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: #f6f1e7;
  border: 1px solid rgba(246, 241, 231, 0.4);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  align-items: center;
  padding: 0 4vw 0.85rem;
}
.main-nav > a, .more summary {
  color: #f6f1e7;
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.main-nav > a.is-active, .main-nav > a:hover, .more summary:hover {
  background: rgba(243, 234, 215, 0.14);
}
.more { position: relative; }
.more summary { cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  background: var(--card);
  color: var(--ink);
  min-width: 220px;
  padding: 0.45rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  z-index: 40;
}
.more-panel a {
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.more-panel a:hover, .more-panel a.is-active { background: #f3ead7; }

.flash-wrap { padding: 0.8rem 4vw 0; }
.flash {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #e7f3ea;
  border: 1px solid #b7d7c0;
}
.flash-err { background: #fdecea; border-color: #e4b4ae; }

main { padding: 1.4rem 4vw 3rem; }

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 1.6rem;
}
.kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--clay-dark);
  margin-bottom: 0.6rem;
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); margin: 0 0 0.8rem; max-width: 12ch; }
.lede { font-size: 1.15rem; max-width: 42rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.05rem;
  border: 1.5px solid var(--deep);
  background: var(--deep);
  color: #f6f1e7;
  cursor: pointer;
  font-weight: 650;
}
.btn-clay { background: var(--clay); border-color: var(--clay-dark); color: white; }
.btn-line { background: transparent; color: var(--deep); }
.btn-small { padding: 0.4rem 0.75rem; font-size: 0.92rem; }
.header-cta { white-space: nowrap; }
.board {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 1rem 1rem 0.4rem;
}
.board h2 { font-size: 1.35rem; margin: 0.2rem 0 0.8rem; }
.board-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-top: 1px dashed var(--line);
  text-decoration: none;
}
.board-row strong { display: block; }
.board-row span { color: var(--muted); font-size: 0.92rem; }
.pill {
  align-self: start;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: #efe6d4;
  text-align: center;
}
.pill-good { background: #d9efe0; color: #1d5a36; }
.pill-bad { background: #f8d9d4; color: #8d2f39; }
.pill-wait { background: #f3e6c4; color: #7a5a10; }

.section { margin: 2.2rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.section-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head a { color: var(--clay-dark); font-weight: 650; }
.index-num { color: var(--clay); font-family: var(--serif); margin-right: 0.35rem; }

.path-grid, .card-grid, .plan-grid, .service-grid {
  display: grid;
  gap: 0.9rem;
}
.path-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.plan-grid { grid-template-columns: repeat(4, 1fr); }
.service-grid { grid-template-columns: repeat(2, 1fr); }
.path, .card, .panel, .plan, .service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: inherit;
}
.path { box-shadow: var(--shadow); min-height: 160px; }
.path em { font-style: normal; color: var(--clay); font-family: var(--serif); font-size: 1.3rem; }
.card h3, .panel h3, .path h3, .service h3 { margin: 0.2rem 0 0.4rem; font-size: 1.28rem; }
.meta { color: var(--muted); font-size: 0.92rem; }
.topic {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--sage);
}

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.2rem; }
.story-list { display: grid; gap: 0; }
.story {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.story time { color: var(--clay-dark); font-size: 0.85rem; font-weight: 650; }
.lead-story {
  display: block;
  background: var(--deep);
  color: #f6f1e7;
  padding: 1.3rem;
  border-radius: 18px;
  text-decoration: none;
  min-height: 220px;
}
.lead-story .topic { color: #e7c56a; }
.lead-story h3 { font-size: 2rem; margin: 0.4rem 0; }

.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
}
.scroller .card { scroll-snap-align: start; }

.biz-row, .home-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.price {
  background: var(--deep);
  color: #f6f1e7;
  border-radius: 12px;
  padding: 0.7rem;
  text-align: center;
  font-weight: 650;
}
.price small { display: block; font-weight: 380; color: #d9c9a8; }
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  background: #efe6d4;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}
.badge-verified { background: #d9efe0; color: #1d5a36; }
.badge-featured { background: #f8e3c8; color: #8d3e16; }
.badge-partner { background: var(--deep); color: #f6f1e7; }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 1rem; }
.filters a, .filters button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
}
.filters a.is-on, .filters button.is-on { background: var(--deep); color: #f6f1e7; border-color: var(--deep); }

.layout {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 1.3rem;
  align-items: start;
}
.prose { font-size: 1.08rem; }
.prose p { margin-bottom: 1rem; }
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  position: sticky;
  top: 7.2rem;
}
.page-hero { max-width: 46rem; margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin: 0.2rem 0 0.6rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field span { font-size: 0.88rem; font-weight: 650; }
.field input, .field select, .field textarea, .stack textarea, .stack input, .stack select {
  width: 100%;
  border: 1px solid #d9cdb8;
  background: white;
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
}
.field textarea, .stack textarea { min-height: 130px; resize: vertical; }
.stack { margin-top: 0.75rem; }
.form-actions { margin-top: 0.9rem; display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.timeline { display: grid; gap: 0.8rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
}
.step input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; }
.phase {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-dark);
  font-weight: 650;
}

.map-layout { display: grid; grid-template-columns: 320px 1fr; gap: 0.8rem; }
#place-map, #emergency-map { height: 560px; border-radius: 16px; border: 1px solid var(--line); background: #ddd4c4; }
.place-list { max-height: 560px; overflow: auto; display: grid; gap: 0.55rem; align-content: start; }
.place-list article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  background:
    radial-gradient(circle at 0 28px, transparent 12px, var(--card) 13px),
    var(--card);
  border: 1px dashed #c9b89a;
  border-radius: 16px;
  padding: 1rem 1rem 1rem 1.4rem;
  text-decoration: none;
  color: inherit;
}
.status-banner {
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  color: #f6f1e7;
  background: var(--deep);
}
.status-banner.good { background: #1d5a36; }
.status-banner.bad { background: #8d2f39; }
.status-banner h1, .status-banner h2 { margin: 0.2rem 0; }

.admin-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.admin-bar a {
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.admin-bar a.is-on { background: var(--deep); color: #f6f1e7; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.stat { background: var(--card); border-radius: 14px; padding: 0.9rem; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: 1.8rem; }
.comment { border-top: 1px solid var(--line); padding: 0.8rem 0; }
.warning {
  background: #fff6e4;
  border: 1px solid #ecd7a2;
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.radio-dock {
  position: fixed;
  z-index: 45;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #102e2a;
  color: #f6f1e7;
  border-radius: 999px;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  box-shadow: 4px 4px 0 #c4622d;
}
.radio-play {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #c4622d;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.radio-play svg { width: 22px; height: 22px; fill: currentColor; }
.radio-play .icon-pause { display: none; }
.radio-play.is-on { background: #e3b23c; color: #1c1914; }
.radio-play.is-on .icon-play { display: none; }
.radio-play.is-on .icon-pause { display: block; }
.radio-open {
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 8.5rem;
  padding: 0;
}
.radio-open strong { display: block; font-family: var(--serif); font-size: 1.05rem; line-height: 1.1; }
.radio-open span { display: block; color: #d9c9a8; font-size: 0.78rem; }
.radio-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.55rem);
  width: 250px;
  background: #fffdf8;
  color: #1c1914;
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  box-shadow: 4px 4px 0 #102e2a;
}
.radio-panel label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  cursor: pointer;
}
.radio-panel input { margin-top: 0.25rem; }

.site-footer {
  background: var(--deep);
  color: #e7dece;
  padding: 2rem 4vw 5.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.2rem; }
.footer-brand { font-family: var(--serif); font-size: 1.8rem; color: white; margin: 0 0 0.4rem; }
.footer-label { color: #e7c56a; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; font-weight: 650; }
.site-footer a { display: block; color: #f6f1e7; text-decoration: none; padding: 0.15rem 0; }
.fine, .footer-base { color: #cbbfa6; font-size: 0.92rem; }
.footer-base { border-top: 1px solid rgba(246, 241, 231, 0.15); margin-top: 1.2rem; padding-top: 0.8rem; }

@media (max-width: 980px) {
  .hero, .split, .layout, .map-layout, .path-grid, .card-grid, .plan-grid, .footer-grid, .stats {
    grid-template-columns: 1fr;
  }
  .service-grid { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; }
  .header-search { display: flex; order: 3; flex: 1 1 100%; max-width: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .main-nav { display: none; padding-bottom: 0.8rem; }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .more-panel { position: static; box-shadow: none; background: transparent; color: #f6f1e7; }
  .more-panel a { color: #f6f1e7; }
  .biz-row, .home-row, .story, .form-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  #place-map, #emergency-map { height: 380px; }
  .header-cta { display: none; }
}

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