/* Noise-ordinance hub and city pages (.om-*). Loaded only by those pages as
   /styles/ordinances.css?v=… ; bump the stamp on every page that loads it.
   The map card and panel are built by /scripts/ordinance-map.js. */

.om {
  --om-navy: #193546;
  --om-orange: #EF783B;
  --om-orange-dark: #d96828;
  --om-text: rgba(25, 53, 70, 0.7);
  --om-label: #6B7C87;
  --om-line: #E6E9EC;
  --om-surface: #F5F6F8;
  --om-land: #E2E6EA;
  --om-required: #1FA97B;
  --om-rewarded: #3E6FD1;
  --om-fines: #EF783B;
}

/* Tier colour, set once from data-tier and reused by dots, pins and badges. */
.om [data-tier="required"] { --om-tier: var(--om-required); --om-badge-bg: #E3F6EF; --om-badge-fg: #167A58; }
.om [data-tier="rewarded"] { --om-tier: var(--om-rewarded); --om-badge-bg: #E8EEF9; --om-badge-fg: #2A4F9A; }
.om [data-tier="fines"]    { --om-tier: var(--om-fines);    --om-badge-bg: #FDEEE5; --om-badge-fg: #B4521F; }

.om-dot {
  display: inline-block; flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--om-tier, var(--om-navy));
}
.om-badge {
  display: inline-block;
  padding: 5px 9px; border-radius: 999px;
  font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--om-badge-bg, var(--om-surface)); color: var(--om-badge-fg, var(--om-navy));
}
.om-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.om [hidden] { display: none !important; }

/* ---- Layout: map card (left) + panel (right) ---------------------------- */
.om-app { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
.om-has-map .om-app { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 960px) { .om-has-map .om-app { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 719.98px) { .om .om-map { display: none !important; } }

/* ---- Map card ------------------------------------------------------------ */
.om-map {
  background: var(--om-surface); border-radius: 24px; padding: 16px;
  display: flex; flex-direction: column; justify-content: center;
}
.om-maphead {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; padding: 4px 6px 10px; min-height: 44px;
}
.om-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--om-navy); }
.om-legend span { display: inline-flex; align-items: center; gap: 6px; }
.om-legend .om-dot { width: 11px; height: 11px; }
.om-zoomout, .om-back {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border-radius: 8px; border: 1px solid var(--om-line);
  background: #fff; color: var(--om-navy); padding: 8px 14px;
}
.om-zoomout::before, .om-back::before { content: "\2039\00a0"; }
.om-zoomout:hover, .om-back:hover { border-color: var(--om-navy); }
.om-svg { display: block; width: 100%; height: auto; aspect-ratio: 975 / 640; touch-action: manipulation; }
.om-hint { font-size: 13.5px; color: var(--om-label); text-align: center; margin: 8px 0 2px; }

.om-st { fill: var(--om-land); stroke: #fff; stroke-width: 0.8; vector-effect: non-scaling-stroke; transition: fill 0.15s; }
.om-st.on { fill: #FBDCCB; cursor: pointer; }
.om-st.on:hover, .om-st.on:focus-visible { fill: #F4A57A; }
.om-st.on.sel { fill: #FFF3EB; stroke: var(--om-orange); stroke-width: 1.5; }
.om-st:focus { outline: none; }
.om-st.on:focus-visible { stroke: var(--om-navy); stroke-width: 2.5; }

.om-pins { transition: opacity 0.2s; }
.om-pin, .om-cluster { cursor: pointer; }
.om-pin circle { fill: var(--om-tier); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.om-pin.sel circle, .om-pin:hover circle { stroke: var(--om-navy); stroke-width: 3; }
.om-cluster circle { fill: var(--om-navy); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.om-cluster:hover circle { fill: var(--om-orange); }
.om-cluster text {
  fill: #fff; font-family: inherit; font-weight: 700;
  text-anchor: middle; dominant-baseline: central; pointer-events: none;
}
.om-pin:focus, .om-cluster:focus { outline: none; }
.om-pin:focus-visible circle, .om-cluster:focus-visible circle { stroke: var(--om-orange); stroke-width: 4; }
.om-lbl {
  fill: var(--om-navy); font-family: inherit; font-weight: 600; pointer-events: none;
  paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round;
}
@media (hover: hover) and (pointer: fine) {
  .om-svg { cursor: grab; }
  .om-svg.dragging { cursor: grabbing; }
  .om-svg .om-st.on, .om-svg .om-pin, .om-svg .om-cluster { cursor: pointer; }
}

/* ---- Panel ---------------------------------------------------------------- */
.om-panel {
  background: #fff; border: 1px solid var(--om-line); border-radius: 24px;
  box-shadow: 0 20px 50px -30px rgba(25, 53, 70, 0.25);
  padding: 22px 22px 0; display: flex; flex-direction: column; min-width: 0;
}
@media (min-width: 961px) { .om-has-map .om-panel { height: 0; min-height: 100%; } }
.om-scroll {
  flex: 1; overflow-y: auto; margin: 0 -22px; padding: 0 22px 22px;
  scrollbar-width: thin;
}
@media (max-width: 960px) { .om-scroll { overflow: visible; } }

.om-search { position: relative; margin-bottom: 14px; }
.om-search::before, .om-search::after { content: ""; position: absolute; pointer-events: none; }
.om-search::before { /* magnifier lens */
  left: 15px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border: 2px solid var(--om-label); border-radius: 50%;
}
.om-search::after { /* magnifier handle */
  left: 27px; top: 50%; width: 2px; height: 7px; margin-top: 2px;
  background: var(--om-label); transform: rotate(-45deg);
}
.om-q {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--om-navy);
  background: #fff; border: 1px solid #D9DEE2; border-radius: 12px; padding: 12px 14px 12px 42px;
}
.om-q:focus { outline: none; border-color: var(--om-orange); box-shadow: 0 0 0 3px rgba(239, 120, 59, 0.2); }
.om-sugg {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5;
  list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 1px solid var(--om-line); border-radius: 12px; box-shadow: 0 16px 40px -20px rgba(25, 53, 70, 0.35);
}
.om-sugg li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--om-navy);
}
.om-sugg li small { color: var(--om-label); white-space: nowrap; }
.om-sugg li[aria-selected="true"], .om-sugg li:hover { background: var(--om-surface); }
.om-sugg li.om-none { cursor: default; color: var(--om-label); background: none; }

.om-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.om-filters button {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--om-navy);
  background: #fff; border: 1px solid var(--om-line); border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.om-filters button:hover { border-color: var(--om-navy); }
.om-filters button[aria-pressed="true"] { background: var(--om-navy); border-color: var(--om-navy); color: #fff; }
.om-count { opacity: 0.6; font-weight: 500; }

.om-group {
  margin: 18px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--om-label);
}
.om-view > .om-group:first-child { margin-top: 4px; }
.om-rows { list-style: none; margin: 0; padding: 0; }
.om-rows li { border-top: 1px solid var(--om-line); }
.om-rows li:last-child { border-bottom: 1px solid var(--om-line); }
.om-row {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: flex; align-items: baseline; gap: 10px; padding: 11px 4px;
}
.om-row span { min-width: 0; }
.om-row b { display: block; font-weight: 600; color: var(--om-navy); }
.om-row small {
  display: block; font-size: 13.5px; color: var(--om-label);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.om-row:hover b { color: var(--om-orange); }
.om-row:focus-visible { outline: 3px solid var(--om-orange); outline-offset: -2px; border-radius: 6px; }

.om-back { margin: 0 0 14px; }
.om-title { font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--om-navy); margin: 0 0 12px; }
.om-title:focus { outline: none; }
.om-eyebrow {
  margin: 0 0 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--om-orange);
}
.om-detail .om-summary { margin: 14px 0 6px; color: var(--om-navy); font-size: 16px; }
.om-detail .om-facts { margin: 10px 0 0; }
.om-facts > div { display: grid; grid-template-columns: 118px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--om-line); }
.om-facts dt { font-size: 11.5px; line-height: 1.6; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--om-label); }
.om-facts dd { margin: 0; font-size: 15px; color: var(--om-navy); }
@media (max-width: 460px) { .om-facts > div { grid-template-columns: 1fr; gap: 2px; } }
.om-guide {
  display: inline-block; margin-top: 16px;
  background: var(--om-orange); color: #fff; border: 1px solid transparent; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none; padding: 10px 18px;
}
.om-guide:hover { background: var(--om-orange-dark); }
.om-guide::after { content: "\00a0\2192"; }
.om-panel :focus-visible { outline: 3px solid var(--om-orange); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .om-st, .om-pins { transition: none; }
}

/* =========================================================================
   Hub page sections (/compliance). The rules above style the map and panel.
   The rules below lay out the hero, the counts strip, the static
   "Find your city" list (the crawlable, no-JS browsing UI), How Alertify
   helps and the FAQ.
   ========================================================================= */
.om { color: var(--om-navy); }
.om-wrap { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.om .accent { color: var(--om-orange); }
.om-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin: 0;
  background: rgba(239, 120, 59, 0.1); color: #EF783B;
  padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.om-kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #EF783B; box-shadow: 0 0 0 3px rgba(239, 120, 59, 0.2);
}
.om-h2 {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12;
  color: var(--om-navy); margin: 0.8rem 0 0; text-wrap: balance;
}
.om-sub { font-size: 15.5px; line-height: 1.6; color: var(--om-text); font-weight: 500; margin: 0.9rem 0 0; max-width: 62ch; }
.om-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.om-head .om-sub { margin-left: auto; margin-right: auto; }

/* ---- Hero + map ---------------------------------------------------------- */
.om-hero {
  position: relative; overflow: hidden;
  padding: calc(64px + clamp(2.5rem, 5vw, 4rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(760px 420px at 92% 0%, rgba(239, 120, 59, 0.13), transparent 64%),
    radial-gradient(640px 380px at 0% 100%, rgba(25, 53, 70, 0.06), transparent 70%),
    #fff;
}
.om-hero-text { max-width: 780px; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
@media (min-width: 1080px) {
  /* Headline left, lede right, so the map starts higher on the screen. */
  .om-hero-text {
    max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "kicker kicker" "h1 lede" "h1 meta"; column-gap: clamp(2.5rem, 5vw, 5rem); align-items: end;
  }
  .om-hero-text .om-kicker { grid-area: kicker; justify-self: start; }
  .om-hero-text .om-h1 { grid-area: h1; align-self: end; }
  .om-hero-text .om-lede { grid-area: lede; margin-top: 0; }
  .om-hero-text .om-hero-meta { grid-area: meta; margin-top: 1rem; }
}
.om-h1 {
  font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04;
  color: var(--om-navy); margin: 1.1rem 0 0; text-wrap: balance;
}
.om-lede { font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.62; color: var(--om-text); font-weight: 500; margin: 1.1rem 0 0; max-width: 60ch; }
.om-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 1.4rem 0 0; font-size: 14px; font-weight: 600; }
.om-checked { display: inline-flex; align-items: center; gap: 8px; color: var(--om-label); }
.om-checked::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--om-required); box-shadow: 0 0 0 3px rgba(31, 169, 123, 0.18); }
.om-jump { color: var(--om-orange); text-decoration: none; }
.om-jump::after { content: "\00a0\2193"; }
.om-jump:hover { text-decoration: underline; }

/* ---- Three kinds of rule ------------------------------------------------- */
.om-kinds { background: var(--om-navy); color: #fff; padding: clamp(3.25rem, 6vw, 5rem) 0; }
.om-kinds-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 3rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.om-kinds .om-h2 { color: #fff; margin: 0; }
.om-kinds .om-sub { color: rgba(255, 255, 255, 0.7); margin: 0; max-width: 46ch; }
.om-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.om-stat {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--om-tier); border-radius: 20px; padding: 1.5rem 1.5rem 1.35rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.om-stat-num { font-size: clamp(44px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.om-stat-label { margin: 0.2rem 0 0.9rem; font-size: 16px; line-height: 1.4; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.om-stat-tag {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66);
}

/* ---- Find your city (static list) ---------------------------------------- */
.om-find { padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem); }
.om-regions { display: flex; flex-direction: column; gap: clamp(0.9rem, 1.6vw, 1.2rem); }
.om-listsearch { max-width: 520px; margin: 0 auto 1.6rem; }
.om-listnone { margin: 0 0 1.2rem; font-size: 15px; color: var(--om-text); text-align: center; }
.om-regionblock[open] { margin-bottom: clamp(1rem, 2.5vw, 2rem); }
summary.om-region-photo { display: block; cursor: pointer; list-style: none; margin-bottom: 0; }
summary.om-region-photo::-webkit-details-marker { display: none; }
summary.om-region-photo:focus-visible { outline: 3px solid var(--om-orange); outline-offset: 3px; }
.om-regionblock[open] > summary.om-region-photo { margin-bottom: 1.1rem; }
summary.om-region-photo > .om-region-cap { right: clamp(1.1rem, 2.5vw, 1.75rem); padding-right: 52px; }
summary.om-region-photo::before { /* expand / collapse chevron */
  content: ""; position: absolute; z-index: 2; right: clamp(1.1rem, 2.5vw, 1.75rem); bottom: clamp(0.9rem, 2vw, 1.4rem);
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23193546%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform 0.2s ease;
}
.om-regionblock[open] > summary.om-region-photo::before { transform: rotate(180deg); }
summary.om-region-photo:hover img { transform: scale(1.03); }
.om-region-photo img { transition: transform 0.4s ease; }
.om-region-photo {
  position: relative; overflow: hidden; border-radius: 20px; background: var(--om-land);
  aspect-ratio: 6 / 1; min-height: 120px; max-height: 210px; margin-bottom: 1.1rem;
}
.om-region-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.om-region-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 27, 37, 0.72) 0%, rgba(11, 27, 37, 0.32) 42%, rgba(11, 27, 37, 0) 70%);
}
.om-region-cap {
  position: absolute; left: clamp(1.1rem, 2.5vw, 1.75rem); bottom: clamp(0.9rem, 2vw, 1.4rem); z-index: 1;
  display: flex; flex-direction: column; gap: 2px; color: #fff;
}
.om-region { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3); }
.om-region-count { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }

.om-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; align-items: start; }
.om-place {
  position: relative; background: #fff; border: 1px solid var(--om-line); border-left: 4px solid var(--om-tier);
  border-radius: 16px; padding: 1.05rem 1.2rem 0.95rem; box-shadow: 0 14px 34px -30px rgba(25, 53, 70, 0.35);
}
.om-place-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 8px; }
.om-list .om-name { font-size: 17px; font-weight: 700; color: var(--om-navy); text-decoration: none; }
.om-list a.om-name::after { content: "\00a0\2192"; color: var(--om-orange); }
.om-list a.om-name:hover { color: var(--om-orange); }
.om-list a.om-name:focus-visible { outline: 3px solid var(--om-orange); outline-offset: 3px; border-radius: 4px; }
.om-where { font-size: 13px; font-weight: 600; color: var(--om-label); }
.om-list .om-summary { margin: 9px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--om-text); }
.om-more { margin-top: 8px; }
.om-more > summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 700; color: var(--om-navy); padding: 4px 0;
}
.om-more > summary::-webkit-details-marker { display: none; }
.om-more > summary::after { content: "+"; font-size: 15px; line-height: 1; color: var(--om-orange); }
.om-more[open] > summary::after { content: "\2212"; }
.om-more > summary:hover { color: var(--om-orange); }
.om-more > summary:focus-visible { outline: 3px solid var(--om-orange); outline-offset: 2px; border-radius: 4px; }
.om-more .om-facts { margin: 6px 0 2px; }
.om-list .om-facts dd { font-size: 14px; line-height: 1.5; }
.om-facts dd a { color: var(--om-navy); text-decoration: underline; text-decoration-color: rgba(25, 53, 70, 0.3); text-underline-offset: 2px; }
.om-facts dd a:hover { color: var(--om-orange); text-decoration-color: currentColor; }
.om-ref { margin-left: 3px; font-size: 10.5px; font-weight: 700; color: var(--om-label); }
.om-src { display: block; font-size: 13.5px; line-height: 1.45; }
.om-src + .om-src { margin-top: 5px; }
.om-detail .om-src { font-size: 14px; }

.om-region-more { margin: 1rem 0 0; font-size: 14.5px; font-weight: 700; }
.om-region-more a { color: var(--om-orange); text-decoration: none; }
.om-region-more a::after { content: "\00a0\2192"; }
.om-region-more a:hover { text-decoration: underline; }
.om-region-more a:focus-visible { outline: 3px solid var(--om-orange); outline-offset: 3px; border-radius: 4px; }

.om-disclaimer {
  max-width: 560px; margin: clamp(2rem, 3.5vw, 2.5rem) auto 0; box-sizing: border-box;
  background: var(--om-surface); border-radius: 20px; padding: clamp(1.25rem, 2.2vw, 1.6rem);
  font-size: 14.5px; line-height: 1.6; color: var(--om-text);
}
.om-disclaimer p { margin: 0; }
.om-disclaimer .om-disclaimer-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 0.7rem; }
.om-disclaimer-h strong { font-size: clamp(18px, 1.7vw, 20px); font-weight: 800; letter-spacing: -0.015em; color: var(--om-navy); }
.om-disclaimer-h .om-checked { font-size: 13px; font-weight: 600; }

/* ---- How Alertify helps -------------------------------------------------- */
.om-helps { background: var(--om-surface); padding: clamp(4rem, 7vw, 6rem) 0; }
.om-helps-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.om-helps-media { border-radius: 24px; overflow: hidden; box-shadow: 0 26px 60px -36px rgba(11, 27, 37, 0.4); aspect-ratio: 4 / 5; background: var(--om-land); }
.om-helps-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.om-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1.75rem; }
.om-card { background: #fff; border: 1px solid var(--om-line); border-radius: 18px; padding: 1.3rem 1.3rem 1.2rem; }
.om-card-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(239, 120, 59, 0.1); color: var(--om-orange); display: grid; place-items: center; }
.om-card-ic svg { width: 21px; height: 21px; }
.om-card h3 { margin: 0.9rem 0 0; font-size: 16px; line-height: 1.3; font-weight: 800; color: var(--om-navy); }
.om-card p { margin: 0.4rem 0 0; font-size: 14px; line-height: 1.55; color: var(--om-text); }
.om-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.om-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--om-navy); color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 11px; border: 1px solid var(--om-navy);
  transition: filter 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.om-btn:hover { filter: brightness(1.13); transform: translateY(-1px); }
.om-btn--ghost { background: #fff; color: var(--om-navy); border-color: #d9dbe1; }
.om-btn--ghost:hover { filter: none; border-color: var(--om-navy); }

/* ---- FAQ (outside .om, so colours are literal) --------------------------- */
.om-faq { background: #fff; padding: clamp(4rem, 7vw, 6rem) 0; }
.om-faq-inner { max-width: 840px; margin: 0 auto; padding: 0 1.5rem; }
.om-faq-head { text-align: center; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.om-faq-title {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12;
  color: #193546; margin: 0.8rem 0 0; text-wrap: balance;
}
.om-faq-title .accent { color: #EF783B; }
.om-faq-list { border-top: 1px solid #e3e4e8; }
.om-faq-item { border-bottom: 1px solid #e3e4e8; }
.om-faq-item > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 19px 4px; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: #193546;
}
.om-faq-item > summary::-webkit-details-marker { display: none; }
.om-faq-item > summary:hover { color: #EF783B; }
.om-faq-item > summary:focus-visible { outline: 3px solid #EF783B; outline-offset: 2px; border-radius: 6px; }
.om-faq-ic {
  flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #d9dbe1;
  transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.om-faq-ic::before, .om-faq-ic::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: #193546; border-radius: 2px;
}
.om-faq-ic::after { transform: rotate(90deg); }
.om-faq-item[open] .om-faq-ic { transform: rotate(45deg); background: #193546; border-color: #193546; }
.om-faq-item[open] .om-faq-ic::before, .om-faq-item[open] .om-faq-ic::after { background: #fff; }
.om-faq-item > p { margin: 0; padding: 0 4px 20px; font-size: 15px; line-height: 1.65; color: rgba(25, 53, 70, 0.72); max-width: 70ch; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
  .om-helps-grid { grid-template-columns: minmax(0, 1fr); }
  .om-helps-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .om-stats { grid-template-columns: minmax(0, 1fr); }
  .om-stat { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; padding: 1.1rem 1.25rem; }
  .om-stat-num { font-size: 40px; min-width: 1.6em; }
  .om-stat-label { margin: 0; flex: 1; min-width: 0; }
  .om-stat-tag { flex-basis: 100%; margin-top: 0.35rem; }
  .om-list { grid-template-columns: minmax(0, 1fr); }
  .om-region-photo { aspect-ratio: 16 / 5.5; }
  .om-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .om-wrap, .om-faq-inner { padding: 0 1rem; }
  .om-place { padding: 0.95rem 1rem 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .om-btn, .om-faq-ic, summary.om-region-photo::before, .om-region-photo img { transition: none; }
}

/* =========================================================================
   City pages (/<city>-noise-ordinance, /<city>-noise-bylaw) and the Florida
   overview. They reuse the hub's kicker, headings, badges, How Alertify helps
   cards and FAQ; the rules below add the hero, At a glance, the checklist,
   sources and further reading.
   ========================================================================= */
.om-city-hero {
  padding: calc(64px + clamp(2rem, 4.5vw, 3.5rem)) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(760px 420px at 92% 0%, rgba(239, 120, 59, 0.12), transparent 64%),
    #fff;
}
.om-crumbs ol { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; font-weight: 600; color: var(--om-label); }
.om-crumbs li + li::before { content: "\203A"; margin: 0 9px; color: var(--om-label); }
.om-crumbs a { color: var(--om-label); text-decoration: none; }
.om-crumbs a:hover { color: var(--om-orange); text-decoration: underline; }
.om-crumbs a:focus-visible { outline: 3px solid var(--om-orange); outline-offset: 2px; border-radius: 4px; }
.om-crumbs [aria-current] { color: var(--om-navy); }
.om-city-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; font-weight: 600; }
.om-city-meta .om-where { font-size: 14px; }
.om-city-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.om-city-hero .om-h1 { max-width: 20ch; }
.om-city-hero .om-lede { max-width: 52ch; margin: 0; }
@media (max-width: 900px) {
  .om-city-head { grid-template-columns: minmax(0, 1fr); }
  .om-city-hero .om-lede { max-width: 66ch; }
}
.om-city-photo {
  position: relative; overflow: hidden; border-radius: 20px; background: var(--om-land);
  aspect-ratio: 6 / 1; min-height: 120px; max-height: 210px; margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.om-city-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.om-h3 { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; color: var(--om-navy); }

/* ---- At a glance + checklist --------------------------------------------- */
.om-glance-sec { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5rem); }
.om-glance-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.om-glance { margin: 1.4rem 0 0; border-top: 1px solid var(--om-line); }
.om-glance > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--om-line); }
.om-glance dt { font-size: 12px; line-height: 1.7; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--om-label); }
.om-glance dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--om-navy); }
.om-glance sup { margin-left: 2px; font-size: 11px; font-weight: 700; line-height: 0; }
.om-glance sup a { color: var(--om-orange); text-decoration: none; padding: 0 1px; }
.om-glance sup a:hover { text-decoration: underline; }
.om-glance sup a:focus-visible { outline: 2px solid var(--om-orange); outline-offset: 1px; border-radius: 3px; }
.om-means {
  background: var(--om-surface); border-radius: 20px; padding: clamp(1.4rem, 2.5vw, 1.9rem);
  position: sticky; top: 88px;
}
.om-checklist { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.om-checklist li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; color: var(--om-navy); }
.om-checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--om-orange) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 12l5 5L20 7%27/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---- How Alertify helps (city wording) ----------------------------------- */
.om-fit { margin: 1rem 0 0; font-size: 16px; line-height: 1.6; font-weight: 600; color: var(--om-navy); max-width: 62ch; }

/* ---- Florida overview: city cards ---------------------------------------- */
.om-flcities { padding: 0 0 clamp(3.5rem, 6vw, 5rem); }
.om-flcities .om-h2 { margin: 0 0 1.4rem; }

/* ---- Sources ------------------------------------------------------------- */
.om-sources-sec { padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 5.5rem); }
.om-sources { list-style: none; counter-reset: om-src; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--om-line); }
.om-sources li {
  counter-increment: om-src; position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 0 14px 44px; border-bottom: 1px solid var(--om-line); scroll-margin-top: 96px;
}
.om-sources li::before {
  content: counter(om-src); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: #FFF3EB; color: var(--om-orange); font-size: 13px; font-weight: 800;
}
.om-sources li:target::before { background: var(--om-orange); color: #fff; }
.om-sources a { font-size: 15.5px; line-height: 1.5; font-weight: 600; color: var(--om-navy); text-decoration: none; overflow-wrap: anywhere; }
.om-sources a::after { content: "\00a0\2197"; color: var(--om-orange); }
.om-sources a:hover { color: var(--om-orange); text-decoration: underline; }
.om-sources a:focus-visible { outline: 3px solid var(--om-orange); outline-offset: 2px; border-radius: 4px; }
.om-src-host { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-label); }
.om-sources-grid .om-disclaimer { margin: 0; max-width: none; position: sticky; top: 88px; }
@media (max-width: 960px) {
  .om-sources-grid .om-disclaimer { position: static; }
}

@media (max-width: 960px) {
  .om-glance-grid { grid-template-columns: minmax(0, 1fr); }
  .om-means { position: static; }
}
@media (max-width: 760px) {
  .om-city-photo { aspect-ratio: 16 / 5.5; }
}
@media (max-width: 560px) {
  .om-glance > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
