:root {
  --bg: #0f1f1c;
  --card: #1a332e;
  --card-border: #2a4a43;
  --text: #e8f2ef;
  --muted: #9bb5ad;
  --emerg: #c45c4a;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: #0b1614;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  background: transparent;
}
/* Fixed full-viewport photo — svh stops mobile URL-bar jump/glitch */
.site-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #0b1614;
  width: 100%;
  height: 100vh; /* fallback */
  height: 100svh; /* stable when browser chrome shows/hides */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.site-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
  display: block;
  transform: translateZ(0);
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 20, 0.28) 0%, rgba(11, 22, 20, 0.42) 55%, rgba(11, 22, 20, 0.55) 100%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card { background: rgba(26, 51, 46, 0.72); }
}
/* backdrop-filter flickers on many phones while scrolling */
@media (max-width: 900px) {
  .card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(26, 51, 46, 0.62);
  }
  .emergencies {
    background: linear-gradient(135deg, rgba(196, 92, 74, 0.18), transparent 55%), rgba(26, 51, 46, 0.58);
  }
  .directory {
    background: linear-gradient(135deg, rgba(61, 155, 122, 0.14), transparent 55%), rgba(26, 51, 46, 0.58);
  }
}
.site-content {
  position: relative;
  z-index: 1;
}
a { color: #7ec8ff; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #b8e0ff; }
.wrap { width: min(960px, calc(100% - 2rem)); margin-inline: auto; }

.hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}
.eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.tagline { margin: 0.4rem 0 0; font-size: 1.1rem; color: #c5e4d8; font-weight: 500; }
.note { margin: 1rem 0 0; max-width: 38rem; color: var(--muted); font-size: 0.95rem; }

main { padding: 1.75rem 0 3rem; }
section { margin-bottom: 2rem; }
h2 { margin: 0 0 0.75rem; font-size: 1.3rem; letter-spacing: -0.01em; }
.section-intro { margin: -0.25rem 0 1rem; color: var(--muted); font-size: 0.92rem; }

.card {
  background: rgba(26, 51, 46, 0.52);
  border: 1px solid rgba(42, 74, 67, 0.55);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.emergencies {
  border-color: color-mix(in srgb, var(--emerg) 45%, transparent);
  background: linear-gradient(135deg, rgba(196, 92, 74, 0.18), transparent 55%), rgba(26, 51, 46, 0.48);
}
.emergencies h2 { color: #ffc9c0; }
.911 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(196, 92, 74, 0.18);
  border: 1px solid rgba(196, 92, 74, 0.35);
}
.911 a { color: #fff; font-size: 1.2rem; }

.directory {
  background: linear-gradient(135deg, rgba(61, 155, 122, 0.14), transparent 55%), rgba(26, 51, 46, 0.48);
}
.directory h2 { color: #c5e8d8; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.contact-list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list .label { font-weight: 650; color: #dceee7; }
.contact-list .hint { font-weight: 500; color: var(--muted); font-size: 0.88em; }
.contact-list .addr { display: block; color: var(--muted); font-size: 0.88rem; }
.contact-list a { font-weight: 600; color: #fff; }
.contact-list .sep { color: var(--muted); margin: 0 0.25rem; }
.contact-list .muted-dash { color: var(--muted); }

@media (min-width: 700px) {
  .contact-list li {
    grid-template-columns: minmax(14rem, 1.35fr) 1fr;
    align-items: baseline;
    column-gap: 1rem;
  }
}

.contact p { margin: 0; color: #d5e8e1; }
.site-footer {
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer p { margin: 0.25rem 0; }
.site-footer .fine { font-size: 0.8rem; opacity: 0.85; }
.site-footer a { color: #9bb5ad; }


/* Printable one-pager entry */
.print-actions { margin: 1rem 0 0; }
.print-btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.14);
  color: #fff !important;
  font-weight: 650;
  text-decoration: none !important;
}
.print-btn:hover { background: rgba(255,255,255,0.22); color: #fff !important; }

@media print {
  .site-bg { display: none !important; }
  html, body {
    background: #fff !important;
    color: #111 !important;
  }
  .site-content { background: #fff; }
  .card, .emergencies, .directory, .contact {
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  a { color: #111 !important; }
  .print-actions { display: none !important; }
  .hero, .site-footer, #contact { display: none !important; }
}
