firn-locations.css:root{
  --txt:#0b1220;
  --mut:rgba(11,18,32,.74);
  --mut2:rgba(11,18,32,.62);

  --card:rgba(255,255,255,.81);
  --card2:rgba(255,255,255,.72);
  --brd:rgba(255,255,255,.62);

  --radius:22px;
  --shadow:0 18px 55px rgba(0,0,0,.16);
  --max:1180px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; margin:0; color:var(--txt); font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; }
a{ color:inherit; text-decoration:none; }
button, input, select, textarea{ font-family:inherit; }
html{ scroll-behavior:smooth; }

/* ===== Background video (mobile autoplay hardened) ===== */
#bgvid{
  position:fixed; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:-6;
  pointer-events:none;
  filter: brightness(1.10) saturate(1.12) contrast(1.04);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  transition: filter 700ms ease;
}

/* ===== Mobile full-video view: blurred fill behind + contain on top ===== */
#bgvidBlur{
  position:fixed; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:-7;
  pointer-events:none;
  filter: blur(26px) brightness(1.06) saturate(1.10);
  transform: scale(1.10) translateZ(0);
  -webkit-transform: scale(1.10) translateZ(0);
  opacity:0;
  transition: opacity 500ms ease;
  display:none;
}
@media (max-width: 820px){
  #bgvidBlur{ display:block; opacity:.92; }
  #bgvid{
    object-fit: contain;
    background: rgba(0,0,0,.22);
    filter: brightness(1.08) saturate(1.08) contrast(1.02);
  }
}

.overlay{
  position:fixed; inset:0; z-index:-5; pointer-events:none;
  background:
    radial-gradient(1100px 520px at 18% 8%, rgba(110,215,255,.26), transparent 62%),
    radial-gradient(900px 520px at 82% 14%, rgba(50,209,195,.16), transparent 66%),
    radial-gradient(900px 520px at 70% 82%, rgba(255,209,102,.12), transparent 66%),
    linear-gradient(to bottom, rgba(255,255,255,.06), rgba(255,255,255,.03));
  transition: opacity 700ms ease, background 700ms ease;
}
@media (max-width: 820px){
  .overlay{
    background:
      radial-gradient(1100px 520px at 18% 8%, rgba(110,215,255,.22), transparent 62%),
      radial-gradient(900px 520px at 82% 14%, rgba(50,209,195,.14), transparent 66%),
      radial-gradient(900px 520px at 70% 82%, rgba(255,209,102,.10), transparent 66%),
      linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.06));
  }
}

.blob{
  position:fixed; z-index:-4; pointer-events:none;
  width:54vmax; height:54vmax; border-radius:999px;
  filter: blur(42px);
  opacity:.22;
  mix-blend-mode: multiply;
  animation: drift 22s ease-in-out infinite;
  transition: opacity 700ms ease, filter 700ms ease;
}
.b1{ left:-18vmax; top:-16vmax; background: radial-gradient(circle at 30% 30%, rgba(110,215,255,.95), transparent 60%); }
.b2{ right:-22vmax; top:-18vmax; background: radial-gradient(circle at 30% 30%, rgba(167,139,250,.60), transparent 64%); animation-duration: 26s; }
.b3{ right:-14vmax; bottom:-18vmax; background: radial-gradient(circle at 30% 30%, rgba(255,209,102,.70), transparent 64%); animation-duration: 28s; }

@keyframes drift{
  0%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(4vmax,2vmax,0) scale(1.04); }
  100%{ transform: translate3d(0,0,0) scale(1); }
}

@media (prefers-reduced-motion: reduce){
  .blob{ animation:none !important; }
  html{ scroll-behavior:auto !important; }
}

.wrap{ min-height:100%; }
.container{ width:min(var(--max), 92vw); margin:0 auto; }

/* ===== Top nav ===== */
.topbar{
  position:relative;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.76);
  border-bottom: 1px solid rgba(255,255,255,.82);
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1 1 auto;
  min-width:0;
}

.logo{
  width:74px;
  height:74px;
  object-fit:contain;
  padding:3px;
  flex:0 0 auto;
}

.links{
  display:flex;
  align-items:center;
  gap:10px;
}

.links a{
  font-size:13px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.72);
  transition: background .15s ease, transform .15s ease;
  white-space:nowrap;
}
.links a:hover{ background: rgba(255,255,255,.88); transform: translateY(-1px); }
.links a.active{
  border-color: rgba(50,209,195,.45);
  background: rgba(50,209,195,.14);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.74);
  color: var(--txt);
  font-weight: 750;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.88); }
.btn.primary{
  border-color: rgba(50,209,195,.45);
  background: linear-gradient(135deg, rgba(110,215,255,.46), rgba(50,209,195,.26), rgba(255,209,102,.20));
}
.btn.success{
  border-color: rgba(34,197,94,.30);
  background: rgba(34,197,94,.14);
}

/* Locations dropdown (desktop) */
.locWrap{ position:relative; }
.locBtn{ font-size:13px; }
.locPanel{
  position:absolute; top: calc(100% + 10px); right:0;
  width: min(520px, 94vw);
  padding: 10px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.14);
  transform-origin: top right;
  opacity:0;
  transform: translateY(-8px) scale(.98);
  pointer-events:none;
  transition: opacity .16s ease, transform .16s ease;
  display:none;
}
.locWrap.open .locPanel{
  display:block;
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}
.locPanel a{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  font-size:14px; padding:14px 12px; border-radius:16px;
  border:1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.78);
}
.locPanel a:hover{ background: rgba(255,255,255,.92); }

/* ===== Mobile menu button + dropdown ===== */
.menuToggle{
  display:none;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:16px;
  border:1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.78);
  font-weight: 800;
  cursor:pointer;
  user-select:none;
  flex:0 0 auto;
  transition: transform .15s ease, background .15s ease;
}
.menuToggle:hover{ transform: translateY(-1px); background: rgba(255,255,255,.90); }

.menuToggle .bars{ width:18px; height:12px; position:relative; display:inline-block; }
.menuToggle .bars::before,
.menuToggle .bars::after,
.menuToggle .bars span{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  border-radius:99px;
  background: rgba(11,18,32,.78);
}
.menuToggle .bars::before{ top:0; }
.menuToggle .bars span{ top:5px; }
.menuToggle .bars::after{ bottom:0; }

.menu-backdrop{
  display:none;
  position:fixed; inset:0;
  z-index:45;
  background: rgba(15,23,42,.24);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav.open ~ .menu-backdrop{ display:block; }

.navPanel{
  display:none;
  position:absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(560px, 94vw);
  padding: 10px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.14);
  transform-origin: top right;
  opacity:0;
  transform: translateY(-8px) scale(.98);
  pointer-events:none;
  transition: opacity .16s ease, transform .16s ease;
}

.nav.open .navPanel{
  display:block;
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}

.navPanel a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:14px;
  padding:14px 12px;
  border-radius:16px;
  border:1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.78);
}
.navPanel a:hover{ background: rgba(255,255,255,.92); }
.navPanel .cta{
  margin-top:8px;
  width:100%;
  justify-content:center;
  padding:14px 12px;
  border-radius:16px;
}

@media (max-width: 980px){
  .links{ display:none; }
  .menuToggle{ display:inline-flex; }
  .logo{ width:70px; height:70px; }
}
@media (max-width: 520px){
  .logo{ width:66px; height:66px; }
  .menuToggle{ padding:10px 12px; border-radius:14px; }
  .navPanel{ left: 0; right: 0; margin: 0 auto; transform-origin: top center; }
}

section{ padding:56px 0; }
.hero{ padding-top:44px; padding-bottom:26px; }

h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 4.6vw, 54px);
  letter-spacing:-0.9px;
  line-height:1.04;
  text-shadow: 0 10px 30px rgba(255,255,255,.22);
}

.sub{
  margin:0 0 18px;
  color: rgba(11,18,32,.86);
  max-width: 80ch;
  font-size: clamp(15px, 1.9vw, 18px);
  line-height:1.55;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}
.actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:10px; }

.grid{ display:grid; grid-template-columns: repeat(12, 1fr); gap:14px; margin-top:18px; }
.card{
  grid-column: span 12;
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow:hidden;
}
.card.soft{ background: var(--card2); }
.c6{ grid-column: span 6; }
.c7{ grid-column: span 7; }
.c5{ grid-column: span 5; }

h2{ margin:0 0 10px; font-size:20px; letter-spacing:-.2px; }
h3{ margin:0 0 10px; font-size:16px; letter-spacing:-.2px; }
p, li{ color: rgba(11,18,32,.76); line-height:1.6; }
ul, ol{ margin:10px 0 0; padding-left:18px; }
.divider{ border:none; border-top:1px solid rgba(11,18,32,.10); margin:14px 0; }

/* “Local Updates” box */
.newsList{ list-style:none; padding:0; margin:10px 0 0; display:grid; gap:10px; }
.newsItem{
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.50);
  background: rgba(255,255,255,.42);
}
.newsMeta{ font-size:12px; color: rgba(11,18,32,.62); margin-bottom:6px; }
.newsTitle{ font-weight:900; color: rgba(11,18,32,.86); margin:0; }
.newsBody{ margin:6px 0 0; color: rgba(11,18,32,.74); font-size: 13.5px; line-height: 1.45; }

/* ===== Audio button ===== */
#soundBtn{
  position: static;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.74);
  color: var(--txt);
  font-weight: 750;
  font-size: 13px;
  letter-spacing: .2px;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  user-select:none;
  white-space:nowrap;
}
#soundBtn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.88); }
#soundBtn .ico{ width:14px; height:14px; display:inline-block; }

body.sound-on #bgvid{ filter: brightness(1.16) saturate(1.28) contrast(1.06); }
body.sound-on #soundBtn{
  border-color: rgba(50,209,195,.45);
  background: rgba(50,209,195,.14);
}

footer{
  border-top:1px solid rgba(255,255,255,.78);
  background: rgba(255,255,255,.74);
  padding:14px 0;
  color: rgba(11,18,32,.65);
  font-size:12px;
}
footer .container{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }

@media (max-width: 920px){
  .c6,.c7,.c5{ grid-column: span 12; }
}

/* basic “badge list” for neighborhoods */
.badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.badges span{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.70);
  color: rgba(11,18,32,.74);
}
