/* Melrose Manors Stormwater — site styles. Mobile first. */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/Inter-Medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/Inter-Bold.woff2) format("woff2"); }

:root {
  --accent: #0B63CE;
  --accent-dark: #0952ab;
  --accent-soft: #e8f1fc;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: #d2d2d7;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --amber: #b25000;
  --amber-soft: #fff4e5;
  --green: #1e7b34;
  --tbd: #fff3b0;
  --radius: 16px;
  --radius-sm: 12px;
  /* Type scale (6 sizes) */
  --t-caption: 13px;
  --t-small: 15px;
  --t-body: 17px;
  --t-title: 22px;
  --t-lead: clamp(17px, 2vw, 22px);
  --t-headline: clamp(28px, 4.4vw, 44px);
  --t-display: clamp(36px, 6.4vw, 64px);
  /* Control borders need 3:1 against their background */
  --line-strong: #86868b;
  --wrap: 1120px;
  --gutter: 24px;
  --header-h: 104px;
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.5 Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
mark.tbd { background: var(--tbd); color: inherit; padding: 0 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { color: var(--accent); font-size: var(--t-caption); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.h2 { font-size: var(--t-headline); margin-top: 12px; }
.h3 { font-size: var(--t-title); letter-spacing: -0.015em; }
.lead { color: var(--text-2); font-size: var(--t-lead); line-height: 1.45; margin-top: 12px; max-width: 40em; }
.muted { color: var(--text-2); }
.small { font-size: var(--t-small); }

/* ---------- Loading: hide text until content is in place ---------- */
html.i18n-pending main, html.i18n-pending .site-header, html.i18n-pending .site-footer { visibility: hidden; }

/* ---------- Header and tabs ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.hdr-row { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: var(--t-small); font-weight: 700; letter-spacing: -0.01em; }
.brand-txt span { font-size: var(--t-caption); color: var(--text-2); }
.lang { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: none; min-width: 44px; min-height: 40px; border-radius: 999px; font-size: var(--t-small); font-weight: 600; color: var(--text-2); }
.lang button[aria-pressed="true"] { background: var(--text); color: #fff; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 calc(var(--gutter) - 8px); scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; display: flex; align-items: center; min-height: 46px; padding: 0 12px;
  color: var(--text-2); text-decoration: none; font-size: var(--t-small); font-weight: 600; white-space: nowrap;
  border-bottom: 2px solid transparent; scroll-snap-align: start;
}
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.tabs a.tab-report[aria-current="page"], .tabs a.tab-report { color: var(--accent); }
@media (min-width: 900px) {
  :root { --header-h: 64px; }
  .hdr { display: flex; align-items: center; gap: 24px; }
  .hdr-row { display: contents; }
  .brand { order: 0; }
  .tabs { order: 1; margin: 0; padding: 0; overflow: visible; }
  .tabs a { min-height: 64px; padding: 0 12px; }
  .hdr .lang { order: 2; }
}

/* ---------- Mobile contact bar ---------- */
.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line);
}
.contact-bar a { min-height: 48px; }
main { padding-bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .contact-bar { display: none; } main { padding-bottom: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: var(--t-body); font-weight: 600; text-decoration: none; letter-spacing: -0.005em;
  transition: background-color .2s, transform .15s var(--ease), border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: #f0f0f2; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-dark { background: var(--text); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: #1d1d1f; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: 32px; }
@media (min-width: 900px) { .section { padding: 96px 0; } .section-head { margin-bottom: 48px; } }
.page-head { padding-top: 48px; padding-bottom: 8px; }
.page-head .h2 { font-size: var(--t-display); }
@media (min-width: 900px) { .page-head { padding-top: 64px; padding-bottom: 16px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(78svh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2b3a4a; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 66% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.30) 30%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.80) 100%); }
.hero-body { position: relative; z-index: 1; width: 100%; padding-top: 128px; padding-bottom: 32px; }
.hero .kicker { color: #fff; opacity: .92; }
.hero h1 { font-size: var(--t-display); max-width: 13em; margin-top: 12px; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.hero-lead { font-size: var(--t-lead); line-height: 1.45; max-width: 34em; margin-top: 16px; color: rgba(255,255,255,.94); }
.pill {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px;
  padding: 8px 16px; border-radius: 999px; font-size: var(--t-small); font-weight: 600;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #ffcc4d; box-shadow: 0 0 0 4px rgba(255,204,77,.25); flex: none; }
.pill mark.tbd { background: rgba(255,243,176,.9); color: #1d1d1f; }
@media (min-width: 900px) { .hero-img { object-position: 50% 50%; } .hero-body { padding-bottom: 64px; } }

/* ---------- Street finder ---------- */
.finder { position: relative; z-index: 2; margin-top: -28px; }
.finder-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
}
@media (min-width: 900px) { .finder { margin-top: -56px; } .finder-card { padding: 32px 32px; } }
.finder-card .h3 { margin-top: 8px; font-size: var(--t-title); }
.search { position: relative; margin-top: 16px; }
.search svg.search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-2); pointer-events: none; }
.search input {
  width: 100%; min-height: 56px; padding: 0 48px 0 48px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--bg-alt); font-size: var(--t-body); appearance: none;
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(11,99,206,.15); }
.search .clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: none; color: var(--text-2); display: none; align-items: center; justify-content: center; }
.search .clear svg { width: 18px; height: 18px; }
.search.has-value .clear { display: flex; }
.suggest { list-style: none; margin-top: 8px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; max-height: 300px; overflow-y: auto; }
.suggest:empty { display: none; }
.suggest li + li { border-top: 1px solid var(--line); }
.suggest button { width: 100%; min-height: 50px; padding: 0 16px; border: 0; background: none; text-align: left; font-size: var(--t-body); display: flex; align-items: center; justify-content: space-between; }
.suggest button:hover, .suggest button[aria-selected="true"] { background: var(--accent-soft); }
.suggest button svg { width: 16px; height: 16px; color: var(--text-2); }
.help { font-size: var(--t-small); color: var(--text-2); margin-top: 8px; }
.result { margin-top: 16px; border-radius: 16px; background: var(--bg-alt); padding: 16px; animation: rise .3s var(--ease); }
.result:empty { display: none; }
.result-street { font-size: var(--t-title); font-weight: 700; letter-spacing: -0.015em; }
.result-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: var(--t-small); }
.result p { margin-top: 8px; color: var(--text-2); font-size: var(--t-small); }
.result .btn-row { margin-top: 16px; }
.result .btn { min-height: 44px; font-size: var(--t-small); padding: 0 16px; }

/* ---------- Status chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; border-radius: 999px; font-size: var(--t-caption); font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.active { background: var(--accent-soft); color: var(--accent); }
.chip.next { background: var(--amber-soft); color: var(--amber); }
.chip.complete { background: #eaf6ec; color: var(--green); }
.chip.tbd { background: #f0f0f2; color: #636366; }

/* ---------- Impact tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.tile {
  display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 16px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.tile:hover { border-color: #b8b8bf; box-shadow: 0 6px 24px rgba(0,0,0,.06); transform: translateY(-2px); }
.tile .ic { width: 36px; height: 36px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.tile .ic svg { width: 20px; height: 20px; }
.tile-title { font-size: var(--t-caption); font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
.tile-value { font-size: var(--t-body); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.tile-detail { font-size: var(--t-small); color: var(--text-2); line-height: 1.4; margin-top: 2px; }
@media (min-width: 760px) { .tile { padding: 24px 24px; } .tile-value { font-size: var(--t-title); } }

/* ---------- Why / build ---------- */
.why-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; } }
.why-body { font-size: var(--t-title); line-height: 1.4; letter-spacing: -0.012em; font-weight: 400; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { border-top: 1px solid var(--line); padding-top: 16px; }
.stat b { display: block; font-size: var(--t-headline); letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
.stat span { display: block; font-size: var(--t-small); color: var(--text-2); margin-top: 8px; line-height: 1.4; }
.cards { display: grid; gap: 12px; margin-top: 48px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px; }
.section.alt .card { border-color: transparent; }
.card .ic { width: 44px; height: 44px; color: var(--accent); margin-bottom: 16px; }
.card .ic svg { width: 44px; height: 44px; }
.card h3 { font-size: var(--t-title); letter-spacing: -0.015em; }
.card p { color: var(--text-2); font-size: var(--t-small); margin-top: 8px; line-height: 1.5; }
.footnote { margin-top: 24px; font-size: var(--t-small); color: var(--text-2); }

/* ---------- Segmented control (before / during / after) ---------- */
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #e8e8ed; border-radius: 12px; padding: 3px; width: 100%; max-width: 480px; }
.seg button { border: 0; background: none; min-height: 44px; border-radius: 12px; font-weight: 600; font-size: var(--t-small); color: var(--text-2); transition: background-color .2s, color .2s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.seg-panel { margin-top: 24px; }
.checks { list-style: none; display: grid; gap: 12px; }
@media (min-width: 760px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 16px; font-size: var(--t-body); animation: rise .3s var(--ease) both; }
.checks li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); }
.gallery::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shot { scroll-snap-align: start; margin: 0; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.shot button:hover img { transform: scale(1.04); }
.shot figcaption { margin-top: 12px; font-size: var(--t-small); font-weight: 600; line-height: 1.35; }
.shot figcaption span { display: block; font-weight: 400; color: var(--text-2); font-size: var(--t-caption); margin-top: 2px; }
.swipe-hint { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.swipe-hint i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: background-color .2s, transform .2s var(--ease); }
.swipe-hint i.on { background: var(--text); transform: scaleX(2.5); }
@media (min-width: 760px) { .swipe-hint { display: none; } }
.video-wrap { margin-top: 48px; display: grid; gap: 16px; }
@media (min-width: 900px) { .video-wrap { grid-template-columns: 2fr 1fr; align-items: end; gap: 48px; } }
.video-wrap video { width: 100%; border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; }

/* ---------- Area and maps ---------- */
.area-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 2fr 1fr; gap: 48px; } }
.map { position: relative; width: 100%; height: 380px; border-radius: var(--radius); overflow: hidden; background: #e9eef3; border: 1px solid var(--line); }
.map.tall { height: min(62svh, 560px); }
.map-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--text-2); font-size: var(--t-small); }
.limits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.limits li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.limits li:nth-child(odd) { padding-right: 12px; }
.limits b { display: block; font-size: var(--t-caption); text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); font-weight: 600; }
.limits span { display: block; font-weight: 600; margin-top: 2px; font-size: var(--t-body); line-height: 1.3; }
.thumb-btn { display: block; width: 100%; padding: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; text-align: left; }
.thumb-btn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.thumb-btn span { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px; font-weight: 600; color: var(--accent); min-height: 48px; }
.thumb-btn span svg { width: 18px; height: 18px; }
.placeholder { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; background: #fff; }
.placeholder svg { width: 44px; height: 44px; color: var(--text-2); margin: 0 auto 16px; }
.placeholder h3 { font-size: var(--t-title); }
.placeholder p { color: var(--text-2); font-size: var(--t-small); margin-top: 8px; }
.caption { font-size: var(--t-small); color: var(--text-2); margin-top: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- Updates ---------- */
.updates { list-style: none; border-top: 1px solid var(--line); }
.updates li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
@media (min-width: 760px) { .updates li { grid-template-columns: 180px 1fr; gap: 24px; } }
.updates time { font-size: var(--t-small); font-weight: 600; color: var(--text-2); }
.updates h3 { font-size: var(--t-title); letter-spacing: -0.015em; }
.updates p { color: var(--text-2); margin-top: 8px; font-size: var(--t-body); }

/* ---------- Alerts and contact ---------- */
.alert-card { display: grid; gap: 24px; background: var(--text); color: #fff; border-radius: 20px; padding: 32px 24px; }
.alert-card .kicker { color: #8fbaf0; }
.alert-card .h2 { font-size: var(--t-headline); }
.alert-card p { color: rgba(255,255,255,.78); margin-top: 12px; }
.alert-card .soon { font-size: var(--t-small); color: rgba(255,255,255,.8); }
.alert-card mark.tbd { color: #1d1d1f; }
@media (min-width: 900px) { .alert-card { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 48px 64px; } .alert-card .btn-row { justify-content: flex-end; margin: 0; } }
.contact-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.contact-tile { display: flex; flex-direction: column; gap: 8px; padding: 24px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); min-height: 120px; transition: border-color .2s, transform .2s var(--ease); }
.contact-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-tile svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: auto; }
.contact-tile b { font-size: var(--t-caption); text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); font-weight: 600; margin-top: 16px; }
.contact-tile span { font-weight: 700; font-size: var(--t-body); letter-spacing: -0.01em; word-break: break-word; }

/* ---------- Timeline ---------- */
.track { list-style: none; position: relative; margin-top: 8px; }
.track li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding-bottom: 32px; }
.track li::before { content: ""; position: absolute; left: 13px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.track li:last-child::before { display: none; }
.track li.done::before { background: var(--accent); }
.node { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.node svg { width: 14px; height: 14px; color: #fff; }
.track li.next .node { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.track li.next .node::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-in-out infinite; }
.track li.active .node, .track li.done .node { border-color: var(--accent); background: var(--accent); }
.track h3 { font-size: var(--t-title); letter-spacing: -0.015em; }
.track p { color: var(--text-2); font-size: var(--t-small); margin-top: 4px; }
.track .when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: var(--t-small); font-weight: 600; }
@media (min-width: 900px) {
  .track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .track li { grid-template-columns: 1fr; gap: 16px; padding: 0; align-content: start; }
  .track li::before { left: 28px; right: -20px; top: 13px; bottom: auto; width: auto; height: 2px; }
}
.two-up { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 760px) { .two-up { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 24px; }
.panel h3 { font-size: var(--t-title); margin-top: 8px; }
.panel p { color: var(--text-2); margin-top: 8px; font-size: var(--t-body); }
.panel .kicker { color: var(--text-2); }

/* ---------- Look-ahead lists ---------- */
.weeks { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 760px) { .weeks { grid-template-columns: 1fr 1fr; gap: 32px; } }
.week h3 { font-size: var(--t-body); display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.week h3 span { font-size: var(--t-small); font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.zones { list-style: none; }
.zones li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.zones button { all: unset; cursor: pointer; display: grid; gap: 4px; width: 100%; min-height: 44px; }
.zones button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.zones .z-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.zones b { font-size: var(--t-body); }
.zones span { color: var(--text-2); font-size: var(--t-small); }
.empty { color: var(--text-2); padding: 16px 0; font-size: var(--t-small); }
.notice { background: var(--amber-soft); color: var(--amber); border-radius: 12px; padding: 12px 16px; font-size: var(--t-small); font-weight: 600; margin-top: 16px; }
.empty-card { background: var(--bg-alt); border-radius: var(--radius); padding: 32px 24px; text-align: center; color: var(--text-2); }
.empty-card svg { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-tools { position: sticky; top: var(--header-h); z-index: 5; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 12px 0; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: var(--t-small); font-weight: 600; color: var(--text); white-space: nowrap; }
.chips button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.faq-group h2 { font-size: var(--t-caption); text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); font-weight: 600; margin: 32px 0 4px; }
.qa { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 150px); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; font-size: var(--t-body); font-weight: 600; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background-color .2s; }
.qa summary .plus svg { width: 14px; height: 14px; }
.qa[open] summary .plus { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.qa .ans { padding: 0 48px 24px 0; color: #3a3a3c; font-size: var(--t-body); animation: rise .3s var(--ease); }
.qa:target summary, .qa.flash summary { color: var(--accent); }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 640px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.field > label, .field legend { font-weight: 600; font-size: var(--t-body); padding: 0; }
.field .req { color: var(--text-2); font-weight: 400; font-size: var(--t-small); margin-left: 8px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: var(--t-body); appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 48px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11,99,206,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c4271b; }
.err { color: #c4271b; font-size: var(--t-small); font-weight: 600; }
.err:empty { display: none; }
.pair { display: grid; gap: 24px; }
@media (min-width: 640px) { .pair { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radios span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: var(--t-small); background: #fff; }
.radios input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.radios input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.field input[type="file"] { font-size: var(--t-small); width: 100%; min-height: 48px; color: var(--text-2); }
.field input[type="file"]::file-selector-button { min-height: 44px; margin-right: 12px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--accent); font: 600 15px Inter, "Helvetica Neue", Arial, sans-serif; cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: var(--t-small); color: var(--text-2); display: flex; gap: 12px; align-items: flex-start; }
.privacy svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.urgent { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-soft); border-radius: 12px; padding: 16px 16px; margin-top: 24px; font-size: var(--t-small); font-weight: 600; max-width: 640px; }
.urgent svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }
.urgent a { font-weight: 700; }
.sent { max-width: 640px; text-align: center; padding: 48px 24px; background: var(--bg-alt); border-radius: 20px; animation: rise .3s var(--ease); }
.sent .check { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.sent .check svg { width: 30px; height: 30px; }
.sent h2 { font-size: var(--t-title); }
.sent p { color: var(--text-2); margin-top: 12px; }
.sent .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0 calc(var(--bar-h) + 48px + env(safe-area-inset-bottom)); font-size: var(--t-small); color: var(--text-2); }
@media (min-width: 900px) { .site-footer { padding-bottom: 48px; } }
.foot { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot { grid-template-columns: 1fr auto; align-items: end; } }
.foot b { color: var(--text); font-weight: 600; }
.foot p + p { margin-top: 8px; }
.foot p a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; }
.foot-links a { color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; }
.foot-qr { display: flex; align-items: center; gap: 16px; }
.foot-qr img { width: 84px; height: 84px; background: #fff; padding: 8px; border-radius: 8px; border: 1px solid var(--line); }

/* ---------- Lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100%; margin: 0; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lb { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 12px 24px; color: #fff; }
.lb img { max-width: 100%; max-height: calc(100% - 72px); object-fit: contain; border-radius: 8px; }
.lb figcaption { margin-top: 16px; text-align: center; font-size: var(--t-small); font-weight: 600; }
.lb figcaption span { display: block; font-weight: 400; color: rgba(255,255,255,.7); font-size: var(--t-caption); margin-top: 2px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 24px; left: 0; right: 0; text-align: center; font-size: var(--t-small); color: rgba(255,255,255,.7); pointer-events: none; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .6; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Project Map (home page)
   ========================================================= */
.mapx { position: relative; background: #f2f2ef; }
.map-panel { padding: 24px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--line); }
.map-panel h1 { font-size: var(--t-title); line-height: 1.12; margin-top: 8px; }
.map-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: var(--t-small); font-weight: 600; color: var(--text-2); }
.map-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #f5a623; box-shadow: 0 0 0 4px rgba(245,166,35,.18); flex: none; }
.map-panel .finder { margin-top: 16px; }
.map-panel .search { margin-top: 0; }
.map-panel .help { margin-top: 8px; }
.map-stage { position: relative; height: 66svh; min-height: 420px; }
.pmap { position: absolute; inset: 0; background: #f2f2ef; }
@media (min-width: 900px) {
  .mapx { height: calc(100svh - 65px); min-height: 640px; max-height: 1000px; }
  .map-stage { position: absolute; inset: 0; height: auto; min-height: 0; }
  .map-panel {
    position: absolute; z-index: 600; top: 24px; left: 24px; width: 400px; max-height: calc(100% - 48px); overflow-y: auto;
    padding: 32px 32px 24px; border: 0; border-radius: 20px;
    background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
  }
  .map-panel h1 { font-size: 28px; }
}


/* Floating map buttons (zoom, locate, whole project) */
.map-tools { position: absolute; z-index: 500; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.map-tools .grp { display: flex; flex-direction: column; background: rgba(255,255,255,.95); border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.16); overflow: hidden; }
.map-tools .grp button + button { border-top: 1px solid #e5e5ea; }
.map-btn { width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.95); color: var(--text); display: flex; align-items: center; justify-content: center; }
.map-btn svg { width: 20px; height: 20px; }
.map-btn:hover { background: #f2f2f7; }
.map-btn.solo { border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.16); }
.map-btn.on { color: var(--accent); }
.map-chip { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(0,0,0,.16); font-size: var(--t-caption); font-weight: 600; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.map-chip svg { width: 15px; height: 15px; }

/* Map key (legend); each item toggles its layer */
.map-key { position: absolute; z-index: 500; left: 12px; right: 12px; bottom: 14px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.map-key::-webkit-scrollbar { display: none; }
.map-key button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(0,0,0,.14); font-size: var(--t-caption); font-weight: 600; color: var(--text); white-space: nowrap; transition: opacity .2s; }
.map-key button[aria-pressed="false"] { opacity: .5; }
.map-key button[aria-pressed="false"] .sw { filter: grayscale(1); }
.map-key .hint { flex: none; align-self: center; font-size: var(--t-caption); color: var(--text-2); background: rgba(255,255,255,.85); padding: 4px 12px; border-radius: 999px; }
@media (min-width: 900px) { .map-key { left: auto; right: 24px; bottom: 24px; flex-direction: column; align-items: stretch; background: rgba(255,255,255,.95); border-radius: 16px; padding: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.14); gap: 2px; overflow: visible; }
  .map-key .ttl { font-size: var(--t-caption); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding: 2px 8px 8px; }
  .map-key button { box-shadow: none; background: transparent; border-radius: 12px; min-height: 36px; }
  .map-key button:hover { background: #f2f2f7; }
  .map-key .hint { background: none; padding: 8px 8px 0; } }
@media (max-width: 899px) { .map-key .ttl { display: none; } }
.sw { width: 22px; height: 12px; flex: none; position: relative; }
.sw.pipes::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 4px; border-radius: 2px; background: var(--accent); }
.sw.drains::before { content: ""; position: absolute; left: 6px; top: 1px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px var(--accent); }
.sw.zones::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 6px; border-radius: 3px; background: #f5a623; }
.sw.limits::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 2px dashed var(--accent); }

/* Pins */
.pin-home { width: 22px; height: 22px; border-radius: 50%; background: #1d1d1f; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); }
.pin-me { width: 18px; height: 18px; border-radius: 50%; background: #0a84ff; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(10,132,255,.5), 0 2px 6px rgba(0,0,0,.3); animation: me 2s ease-out infinite; }
@keyframes me { 0% { box-shadow: 0 0 0 0 rgba(10,132,255,.45), 0 2px 6px rgba(0,0,0,.3); } 100% { box-shadow: 0 0 0 18px rgba(10,132,255,0), 0 2px 6px rgba(0,0,0,.3); } }

/* Result card in the map panel */
.place { margin-top: 16px; border-radius: 16px; background: var(--bg-alt); padding: 16px; animation: rise .3s var(--ease); position: relative; }
.place:empty { display: none; }
.place .x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; background: none; color: var(--text-2); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.place .x svg { width: 16px; height: 16px; }
.place .x:hover { background: #e8e8ed; }
.place .t { font-size: var(--t-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.place h2 { font-size: var(--t-title); letter-spacing: -0.015em; margin: 4px 48px 0 0; }
.place .sub { color: var(--text-2); font-size: var(--t-small); margin-top: 2px; }
.place .row { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; font-size: var(--t-small); line-height: 1.45; }
.place .row svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.place .row b { font-weight: 600; }
.place .note { font-size: var(--t-caption); color: var(--text-2); margin-top: 12px; }
.place .btn-row { margin-top: 16px; gap: 8px; }
.place .btn { min-height: 44px; font-size: var(--t-small); padding: 0 16px; }
.locate-msg { font-size: var(--t-small); color: var(--text-2); margin-top: 12px; }
.locate-msg:empty { display: none; }
.finder .locate-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; border: 0; background: none; padding: 0; color: var(--accent); font-weight: 600; font-size: var(--t-small); }
.finder .locate-link svg { width: 18px; height: 18px; }
.suggest .ic-sm { width: 16px; height: 16px; color: var(--text-2); flex: none; margin-right: 12px; }
.suggest button span { flex: 1; }
.suggest button small { color: var(--text-2); font-size: var(--t-caption); margin-left: 8px; }

/* Key facts strip under the map */
.facts-strip { border-bottom: 1px solid var(--line); }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { padding-right: 16px; }
.facts li:nth-last-child(-n+2) { border-bottom: 0; }
.facts b { display: block; font-size: var(--t-caption); text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); font-weight: 600; }
.facts span, .facts a { display: block; font-weight: 700; font-size: var(--t-body); margin-top: 4px; letter-spacing: -0.01em; line-height: 1.3; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts li { border-bottom: 0; padding: 24px 24px 24px 0; } .facts li + li { padding-left: 24px; border-left: 1px solid var(--line); } }

/* Short hero on The Project page */
.hero-short { min-height: min(62svh, 620px); }

/* MapLibre pins, labels and popups */
.pin-wrap { display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.pin-label { background: #fff; color: var(--text); border-radius: 12px; padding: 8px 12px; font: 600 13px Inter, Arial, sans-serif; box-shadow: 0 6px 20px rgba(0,0,0,.18); white-space: nowrap; margin-bottom: 8px; position: relative; }
.pin-label::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: #fff; }
.maplibregl-popup.st-tip .maplibregl-popup-content { background: rgba(29,29,31,.88); color: #fff; padding: 4px 8px; border-radius: 8px; font: 600 13px Inter, Arial, sans-serif; box-shadow: none; }
.maplibregl-popup.st-tip .maplibregl-popup-tip { display: none; }
.pmap .maplibregl-popup-content { border-radius: 16px; padding: 12px 16px; font: 400 15px/1.4 Inter, Arial, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.pmap .maplibregl-popup-close-button { font-size: var(--t-body); width: 32px; height: 32px; }
.pmap .maplibregl-ctrl-attrib { font-size: var(--t-caption); }
.pmap .maplibregl-cooperative-gesture-screen { font: 600 17px Inter, Arial, sans-serif; background: rgba(29,29,31,.55); }
.map-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--text-2); font-size: var(--t-small); z-index: 5; }

/* Phone: compact header so the map gets most of the screen */
@media (max-width: 899px) {
  .map-panel { padding: 16px var(--gutter) 16px; }
  .map-panel .kicker { font-size: var(--t-caption); }
  .map-panel h1 { font-size: var(--t-title); margin-top: 4px; }
  .map-status { margin-top: 8px; font-size: var(--t-caption); }
  .map-panel .finder { margin-top: 12px; }
  .map-panel .help, .map-panel .locate-link { display: none; }
  .map-panel .search input { min-height: 50px; }
  .map-stage { height: calc(100svh - 104px - 240px - 70px); min-height: 380px; }
}

/* Phone: result card sits under the map; map key at the top of the map */
.place-m:empty { display: none; }
.place-m { padding: 0 var(--gutter) 8px; background: #fff; }
.place-m .place { margin-top: -18px; position: relative; z-index: 2; background: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.12); border-radius: 20px; }
@media (min-width: 900px) { .place-m { display: none; } }
@media (max-width: 899px) { .map-key { top: 12px; bottom: auto; left: 12px; right: 64px; } }

/* Pump station marker and key swatch */
.pump-pin { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(0,0,0,.3); cursor: pointer; padding: 0; }
.pump-pin svg { width: 20px; height: 20px; }
.pump-pin:hover { transform: scale(1.06); }
.sw.pump::before { content: ""; position: absolute; left: 5px; top: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0,0,0,.3); }
/* Placeholder text at 4.5:1 on the gray search field */
::placeholder { color: #6e6e73; opacity: 1; }
.search input { border-color: var(--line-strong); }

/* =========================================================
   Header: Man-Con brand bar, project bar, pinned tab bar
   ========================================================= */
:root { --header-h: 48px; }
@media (min-width: 900px) { :root { --header-h: 56px; } }
.site-header { position: static; background: #fff; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.brandbar { border-bottom: 1px solid var(--line); }
.brandbar-in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo . lang" "slogan slogan slogan"; align-items: center; column-gap: 16px; row-gap: 4px; padding-top: 12px; padding-bottom: 12px; }
.mc-logo { grid-area: logo; display: flex; align-items: center; min-height: 44px; }
.mc-logo img { height: 22px; width: auto; }
.slogan { grid-area: slogan; font-size: var(--t-caption); color: var(--text-2); letter-spacing: 0.01em; }
.brandbar .lang { grid-area: lang; }
@media (min-width: 900px) {
  .brandbar-in { grid-template-columns: auto auto 1fr auto; grid-template-areas: "logo slogan . lang"; padding-top: 12px; padding-bottom: 12px; }
  .mc-logo img { height: 26px; }
  .slogan { padding-left: 16px; border-left: 1px solid var(--line); font-size: var(--t-small); }
}
.projbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.projbar-in { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; padding-top: 12px; padding-bottom: 12px; }
.proj-name { color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--t-small); letter-spacing: -0.01em; line-height: 1.3; }
.proj-no { color: var(--text-2); font-size: var(--t-caption); }
@media (min-width: 900px) { .proj-name { font-size: var(--t-body); } }
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.site-nav .tabs { margin: 0 calc(var(--gutter) * -1); padding: 0 calc(var(--gutter) - 8px); }
@media (min-width: 900px) { .site-nav .tabs { margin: 0 -12px; padding: 0; overflow: visible; } .site-nav .tabs a { min-height: 56px; } }
/* Map page sizing with the taller header */
@media (min-width: 900px) { .mapx { height: calc(100svh - 168px); } }
@media (max-width: 899px) { .map-stage { height: calc(100svh - 48px - 160px - 72px); } }
/* Aerial photos on The Project page */
.aerials { display: grid; gap: 12px; }
.aerials { grid-template-columns: 1fr 1fr; }
.aerials .shot:first-child { grid-column: 1 / -1; }
.aerials .shot button { aspect-ratio: 3 / 2; }
.aerials .shot:first-child button { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .aerials { gap: 16px; } .aerials .shot:first-child button { aspect-ratio: 21 / 9; } }
.limits-fig { margin: 48px 0 0; }
.limits-fig .thumb-btn { margin-top: 0; }
.limits-fig .thumb-btn img { aspect-ratio: auto; max-height: 720px; object-fit: contain; background: #e9ecef; }
.limits-fig figcaption { margin-top: 12px; font-size: var(--t-small); color: var(--text-2); }
/* =========================================================
   Phase 1 segments, map note, sign-up
   ========================================================= */
.map-note { position: absolute; z-index: 400; left: 50%; transform: translateX(-50%); bottom: 12px; margin: 0; max-width: calc(100% - 120px); padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--text-2); font-size: var(--t-caption); line-height: 1.4; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.1); pointer-events: none; }
@media (min-width: 900px) { .map-note { left: 448px; right: auto; transform: none; bottom: 16px; max-width: 420px; text-align: left; } }
.start-wrap { pointer-events: none; }
.start-pin { display: inline-block; white-space: nowrap; background: #1d1d1f; color: #fff; font: 600 12px Inter, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.25); position: relative; }
.start-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: #1d1d1f; }
.sw.zones::before { background: #7d8bb8; opacity: .6; }
.chip.planned { background: #eef0f7; color: #3d4a73; }
.zp { display: grid; gap: 4px; }
.zp .zk { font-size: var(--t-caption); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.zp .chip { justify-self: start; margin-top: 4px; }
.next-up { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; justify-items: start; margin-bottom: 24px; }
.next-up p { font-size: var(--t-body); }
.next-up .btn { min-height: 44px; }

/* Timeline: Phase 1 sequence */
.segs { list-style: none; display: grid; gap: 12px; }
.seg { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.seg-n { width: 40px; height: 40px; border-radius: 50%; background: #1d1d1f; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.seg.active .seg-n { background: var(--accent); } .seg.next .seg-n { background: #d4860b; } .seg.complete .seg-n { background: #8e8e93; }
.seg.complete { opacity: .75; }
.seg-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.seg-top b { font-size: var(--t-body); }
.seg-body p { margin-top: 4px; color: var(--text); font-size: var(--t-small); }
.seg-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: var(--t-caption); color: var(--text-2); align-items: center; }
.seg-meta a { margin-left: auto; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) { .segs { grid-template-columns: 1fr 1fr; gap: 16px; } }
.phases-next { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 760px) { .phases-next { grid-template-columns: 1fr 1fr; gap: 16px; } }
.phase-card { padding: 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.phase-card p { margin-top: 8px; color: var(--text-2); font-size: var(--t-small); }
.phases-projected { grid-column: 1 / -1; font-size: var(--t-small); color: var(--text); font-weight: 600; }

/* Stay informed: sign-up card (light, so the form reads clearly) */
.alert-card#alerts { background: #fff; color: var(--text); border: 1px solid var(--line); align-items: start; }
.alert-card#alerts .kicker { color: var(--accent); }
.alert-card#alerts p { color: var(--text-2); }
.alerts-privacy { font-size: var(--t-small); margin-top: 16px !important; }
.alerts-form { max-width: none; gap: 16px; }
.alerts-form .radios span { min-height: 44px; padding: 0 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-caption); color: var(--text-2); line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--accent); }
.consent.invalid .check { color: #c4271b; }
.alerts-done { display: flex; gap: 12px; align-items: center; padding: 24px; border-radius: var(--radius); background: #eaf6ec; color: var(--green); font-weight: 600; }
.alerts-done .ok { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }

/* Timeline: Phase 1 sequence diagram */
.seq-map { margin: 0 0 32px; }
.seq-map svg { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.seq-map figcaption { margin-top: 8px; font-size: var(--t-caption); color: var(--text-2); }

/* Timeline: two-year overview bar */
.ov { margin: 0 0 56px; }
.ov-status { font-size: var(--t-title); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 24px; }
.ov-status:empty { display: none; }
.ov-axis { position: relative; height: 18px; font-size: var(--t-caption); font-weight: 600; color: var(--text-2); }
.ov-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ov-axis span:first-child { transform: none; }
.ov-axis span:last-child { transform: translateX(-100%); }
.ov-lane { position: relative; height: 40px; margin-top: 8px; }
.ov-bar { position: absolute; top: 0; bottom: 0; border-radius: 8px; }
.ov-bar.p1, .sw.p1 { background: var(--accent); }
.ov-bar.p23, .sw.p23 { background: repeating-linear-gradient(135deg, #e8e8ed 0 6px, #f5f5f7 6px 12px); box-shadow: inset 0 0 0 1px #d2d2d7; }
.ov-tick { position: absolute; top: -8px; bottom: -8px; width: 1px; background: var(--line-strong); z-index: 1; }
.ov-now { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; background: #1d1d1f; z-index: 2; }
.ov-now span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font-size: var(--t-caption); font-weight: 700; white-space: nowrap; }
.ov-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: var(--t-small); color: var(--text-2); }
.ov-legend b { color: var(--text); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 8px; }

/* Timeline: Phase 1 Gantt */
.gantt { margin-bottom: 8px; }
.gt-head, .gt-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; align-items: center; }
.gt-head { padding-bottom: 8px; }
.gt-row { padding: 16px 0; border-top: 1px solid var(--line); }
.gt-row .seg-n { width: 32px; height: 32px; font-size: var(--t-small); align-self: start; }
.gt-row.active .seg-n { background: var(--accent); } .gt-row.next .seg-n { background: #d4860b; } .gt-row.complete .seg-n { background: #8e8e93; }
.gt-name b { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--t-body); }
.gt-name small { display: block; margin-top: 2px; font-size: var(--t-small); color: var(--text); }
.gt-name small.gt-when { font-size: var(--t-caption); color: var(--text-2); }
.gt-lane { grid-column: 2; position: relative; height: 8px; margin-top: 12px; border-radius: 4px; background: #e8e8ed; }
.gt-months { height: 16px; margin: 0; background: none; font-size: var(--t-caption); font-weight: 600; color: var(--text-2); }
.gt-months span { position: absolute; top: 0; }
.gt-bar { position: absolute; top: 0; bottom: 0; min-width: 6px; border-radius: 4px; background: var(--accent); }
.gt-row.next .gt-bar { background: #d4860b; } .gt-row.complete .gt-bar { background: #aeaeb2; }
.gt-today { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #1d1d1f; z-index: 1; }
@media (min-width: 760px) {
  .gt-head, .gt-row { grid-template-columns: 32px minmax(0, 340px) minmax(0, 1fr); }
  .gt-head .gt-lane, .gt-row .gt-lane { grid-column: 3; margin-top: 0; }
  .gt-row .gt-lane { align-self: center; }
}

/* Timeline: when is my street */
.mystreet { margin: 0 0 48px; padding: 24px; border-radius: var(--radius); background: var(--bg-alt); }
.ms-label { display: block; font-size: var(--t-title); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 16px; }
.mystreet select { width: 100%; max-width: 420px; min-height: 48px; padding: 0 16px; font: inherit; font-size: var(--t-body); border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--text); }
.ms-result:not(:empty) { margin-top: 16px; display: grid; gap: 8px; }
.ms-hit { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: #fff; text-decoration: none; color: var(--text); }
.ms-hit .seg-n { width: 32px; height: 32px; flex: none; font-size: var(--t-small); }
.ms-hit b { display: block; font-size: var(--t-body); }
.ms-hit small { display: block; font-size: var(--t-small); color: var(--text-2); }
.ms-result p { font-size: var(--t-small); color: var(--text-2); }
.gt-row.hit { background: var(--accent-soft); border-radius: 12px; }
.gt-row.hit { padding-left: 8px; padding-right: 8px; margin: 0 -8px; }

/* Map place card: when we'll be in front of your home */
.place .when { margin-top: 16px; padding: 16px; border-radius: 12px; background: #fff; }
.place .when .wk { font-size: var(--t-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.place .when .wd { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; font-size: var(--t-title); font-weight: 700; letter-spacing: -0.015em; }
.place .when .ws { margin-top: 4px; font-size: var(--t-small); color: var(--text-2); }
.wdots { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.wdots::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: #e8e8ed; }
.wdots i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #d2d2d7; box-shadow: 0 0 0 2px #fff; font-style: normal; }
.wdots i.complete { background: #8e8e93; }
.wdots i.active, .wdots i.next { background: #d4860b; }
.wdots i.me { width: 24px; height: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wends { display: flex; justify-content: space-between; margin-top: 4px; font-size: var(--t-caption); color: var(--text-2); }

/* Map: Map / Aerial switch */
.map-view { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(0,0,0,.16); }
.map-view button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: var(--t-caption); font-weight: 600; color: var(--text-2); }
.map-view button[aria-pressed="true"] { background: #1d1d1f; color: #fff; }
.limits-top .limits-fig { margin-top: 0; }

/* Timeline: plain-language plan */
.narrow-tl { max-width: 760px; }
.tl-h { margin-top: 8px; }
.path-status { margin-top: 8px; font-size: var(--t-title); font-weight: 700; color: var(--accent); }
.path-status:empty { display: none; }
.path { list-style: none; margin-top: 32px; }
.path li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-bottom: 32px; }
.path li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.path li:last-child::before { display: none; }
.path .ic { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; }
.path .ic svg { width: 22px; height: 22px; }
.path .soon .ic { background: #fff; color: var(--text-2); border: 2px dashed #c7c7cc; }
.path .done .ic { background: #8e8e93; }
.path li:not(.here) .when { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--t-small); font-weight: 700; color: var(--accent); padding-top: 4px; }
.path .soon .when { color: var(--text-2); }
.path h3 { margin-top: 4px; font-size: var(--t-title); letter-spacing: -0.015em; }
.path p { margin-top: 4px; color: var(--text-2); font-size: var(--t-body); }
.path .here { grid-template-columns: 48px 1fr; align-items: center; padding-bottom: 24px; }
.path .here .dot { justify-self: center; width: 20px; height: 20px; border-radius: 50%; background: #d4860b; box-shadow: 0 0 0 6px rgba(212,134,11,.18); }
.path .here b { display: block; font-size: var(--t-body); }
.path .here small { color: var(--text-2); font-size: var(--t-small); }
.path .here::before { top: 32px; }

/* Timeline: Phase 1 month by month */
.months { display: grid; gap: 16px; }
.mo { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.mo h3 { padding: 16px 20px; font-size: var(--t-body); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mo ul { list-style: none; }
.mo-row { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: center; padding: 16px 20px; }
.mo-row + .mo-row { border-top: 1px solid var(--line); }
.mo-row .seg-n { width: 36px; height: 36px; font-size: var(--t-small); }
.mo-row.active .seg-n { background: var(--accent); } .mo-row.next .seg-n { background: #d4860b; } .mo-row.complete .seg-n { background: #8e8e93; }
.mo-txt b { display: block; font-size: var(--t-body); font-weight: 600; line-height: 1.35; }
.mo-txt small { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; font-size: var(--t-small); color: var(--text-2); }
.mo-row.hit { background: var(--accent-soft); }

/* Map finder: choose from a list, tap tip */
.finder .pick { margin-top: 12px; }
.finder .pick-l { display: block; font-size: var(--t-caption); font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.finder .pick-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.finder .pick select { width: 100%; min-height: 44px; padding: 0 12px; font: inherit; font-size: var(--t-small); color: var(--text); border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; }
.finder .pick select:disabled { color: var(--text-2); background: var(--bg-alt); }
.finder .tap-tip { margin-top: 4px; font-size: var(--t-caption); color: var(--text-2); }
.zp .zd { font-size: var(--t-title); letter-spacing: -0.015em; }
.ms-one b { display: block; font-size: var(--t-title); letter-spacing: -0.015em; }
.ms-one small { display: block; margin-top: 4px; font-size: var(--t-small); color: var(--text-2); }
@media (max-width: 899px) { .map-panel .tap-tip { display: none; } }
.finder .find-lead { margin-bottom: 8px; font-size: var(--t-body); font-weight: 600; color: var(--text); }

/* =========================================================
   Project Map: the map fills the screen, nothing below it
   ========================================================= */
body[data-page="map"] { overflow: hidden; }
body[data-page="map"] main { padding-bottom: 0; }
body[data-page="map"] .site-footer, body[data-page="map"] .contact-bar { display: none; }
body[data-page="map"] .mapx { height: calc(100svh - var(--map-top, 152px)); min-height: 0; max-height: none; }
body[data-page="map"] .map-stage { position: absolute; inset: 0; height: auto; min-height: 0; }
.pmap .maplibregl-canvas { touch-action: none; }

/* Links to the other tabs: small, translucent pills along the bottom of the map */
.map-links { position: absolute; z-index: 550; left: 44px; right: 12px; bottom: 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.map-links::-webkit-scrollbar { display: none; }
.map-links a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: var(--t-caption); font-weight: 600; color: var(--text); text-decoration: none;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.map-links a:hover { background: rgba(255,255,255,.92); }
@media (min-width: 900px) { .map-links { left: 48px; right: 280px; bottom: 24px; } }

/* Phone: header slims down, search floats on the map, buttons bottom-right, legend on demand */
.key-btn { display: none; }
@media (max-width: 899px) {
  body[data-page="map"] .slogan { display: none; }
  body[data-page="map"] .brandbar-in { grid-template-areas: "logo . lang"; padding-top: 8px; padding-bottom: 8px; }
  body[data-page="map"] .projbar-in { padding-top: 8px; padding-bottom: 8px; flex-wrap: nowrap; overflow: hidden; }
  body[data-page="map"] .proj-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--t-caption); }
  body[data-page="map"] .proj-no { white-space: nowrap; }
  .map-panel { position: absolute; z-index: 600; top: 12px; left: 12px; right: 12px; padding: 12px; border: 0; border-radius: 16px;
    background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 4px 20px rgba(0,0,0,.14); }
  .map-panel .kicker, .map-panel h1, .map-panel .map-status, .finder .pick-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .map-panel .finder { margin-top: 0; }
  .finder .find-lead { font-size: var(--t-small); margin-bottom: 8px; }
  .map-panel .search input { min-height: 44px; }
  .finder .pick { margin-top: 8px; }
  .map-panel .place { display: none; }
  .map-tools { top: auto; bottom: 60px; right: 12px; gap: 8px; }
  .key-btn { display: inline-flex; }
  .map-key { display: none; }
  .map-key.open { display: flex; flex-direction: column; align-items: stretch; top: auto; left: auto; right: 64px; bottom: 60px; padding: 8px; border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: 0 4px 20px rgba(0,0,0,.14); overflow: visible; }
  .map-key.open button { box-shadow: none; background: transparent; min-height: 40px; }
  .map-key.open .hint { background: none; }
  .place-m { position: absolute; z-index: 700; left: 0; right: 0; bottom: 0; max-height: 46%; overflow-y: auto; padding: 0 12px 12px; background: none; }
  .place-m .place { margin-top: 0; border-radius: 20px; box-shadow: 0 -4px 24px rgba(0,0,0,.18); }
}

/* Map panel, minimal: status line, one prompt, search. Title stays for screen readers only (the header already names the project). */
.map-panel .kicker, .map-panel h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.map-panel .map-status { margin-top: 0; }
.map-panel .finder .help { display: none; }
@media (min-width: 900px) { .map-panel { padding: 24px; } .map-panel .finder { margin-top: 16px; } .finder .find-lead { font-size: var(--t-title); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 16px; } }

.contact-line { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.contact-line .btn { min-height: 44px; }
body[data-page="report"] .contact-bar { display: none; }
body[data-page="report"] main { padding-bottom: 0; }

/* =========================================================
   Calm sections: a pinned title block opens each section
   ========================================================= */
.block { padding-bottom: 72px; }
.block + .block { border-top: 1px solid var(--line); }
.tblock { position: sticky; top: var(--header-h); z-index: 6; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.tblock .wrap { display: flex; align-items: baseline; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.tblock h2 { font-size: var(--t-title); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.tb-n { font-size: var(--t-caption); font-weight: 600; letter-spacing: .12em; color: var(--accent); font-variant-numeric: tabular-nums; }
.block-body { padding-top: 40px; }
.block-lead { max-width: 680px; font-size: var(--t-body); line-height: 1.6; color: var(--text-2); margin-bottom: 32px; }
.block-lead.small { font-size: var(--t-small); margin-bottom: 24px; }
@media (min-width: 900px) { .block { padding-bottom: 104px; } .block-body { padding-top: 56px; } .block-lead { font-size: 21px; } .block-lead.small { font-size: var(--t-body); } }

/* Project area: full-width aerial, limits in one quiet row, three photos */
.area3d { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.area3d img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.area3d:hover img { transform: scale(1.015); }
.limits-row { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
@media (min-width: 760px) { .limits-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .limits-row li { border-bottom: 0; } .limits-row li + li { padding-left: 24px; border-left: 1px solid var(--line); } }
#area .aerials { margin-top: 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#area .aerials figcaption { display: none; }
#area .aerials img { border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; }
#project .stats { margin-top: 0; }

/* Phase 1 sequence: cards slide in as you swipe */
.slider { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 8px 0 24px; outline: none; }
.slider::-webkit-scrollbar { display: none; }
.sl-track { display: flex; gap: 16px; padding: 0 var(--gutter); width: max-content; }
@media (min-width: 1200px) { .sl-track { padding-left: calc((100vw - 1120px) / 2); padding-right: calc((100vw - 1120px) / 2); } }
.sl-card { scroll-snap-align: start; scroll-margin-left: var(--gutter); width: 272px; min-height: 248px; display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: var(--bg-alt); border: 1px solid var(--line);
  opacity: 0; transform: translateX(32px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sl-card.in { opacity: 1; transform: none; }
.sl-n { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #1d1d1f; color: #fff; font-weight: 700; font-size: var(--t-small); }
.sl-card.active .sl-n { background: var(--accent); } .sl-card.next .sl-n { background: #d4860b; } .sl-card.complete .sl-n { background: #8e8e93; }
.sl-m { margin-top: 20px; font-size: var(--t-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.sl-card h3 { margin-top: 6px; font-size: var(--t-title); letter-spacing: -0.015em; line-height: 1.2; }
.sl-card p { margin-top: 6px; font-size: var(--t-small); color: var(--text-2); line-height: 1.45; }
.sl-when { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--t-small); font-weight: 600; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .sl-card { opacity: 1; transform: none; transition: none; } }
#seq .seq-map { margin-bottom: 8px; }
#area .aerials .shot:first-child { grid-column: auto; } #area .aerials .shot button, #area .aerials .shot:first-child button { aspect-ratio: 3 / 2; }
@media (max-width: 759px) {
  #expect .tiles { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  #expect .tile { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
  #expect .tile .ic { grid-row: span 3; }
}

/* Project tab landing: title, then the aerial with the project limits */
.landing { padding: 40px 0 72px; }
.landing-head { margin-bottom: 32px; }
.landing-head > * { max-width: 760px; }
.landing-head h1 { margin-top: 8px; font-size: var(--t-display); letter-spacing: -0.03em; line-height: 1.05; }
.landing-lead { margin-top: 16px; font-size: var(--t-body); line-height: 1.6; color: var(--text-2); }
.landing-head .map-status { margin-top: 16px; }
@media (min-width: 900px) { .landing { padding: 64px 0 104px; } .landing-lead { font-size: 21px; } }
.landing + .block { border-top: 1px solid var(--line); }

/* Project tab landing: the aerial fills the screen; project information sits quietly over it */
.landing-full { position: relative; height: calc(100svh - var(--lf-top, 152px)); min-height: 520px; overflow: hidden; background: #0b1a2b; color: #fff; }
.landing-full .lf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.landing-full::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6,14,26,.86) 0%, rgba(6,14,26,.55) 30%, rgba(6,14,26,0) 58%); }
.lf-over { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: 28px; }
.lf-over .kicker { color: rgba(255,255,255,.75); }
.lf-over h1 { margin-top: 8px; max-width: 720px; font-size: var(--t-display); line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.lf-lead { margin-top: 12px; max-width: 620px; font-size: var(--t-body); line-height: 1.55; color: rgba(255,255,255,.86); }
.lf-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 999px; font-size: var(--t-caption); font-weight: 600;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lf-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #f5a623; flex: none; }
.lf-limits { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); }
.lf-limits b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.lf-limits span { display: block; margin-top: 2px; font-size: var(--t-small); font-weight: 600; color: #fff; line-height: 1.3; }
.lf-zoom { position: absolute; z-index: 3; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(0,0,0,.32); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: zoom-in; }
.lf-zoom svg { width: 18px; height: 18px; }
@media (min-width: 760px) { .lf-limits { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lf-limits li + li { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.22); } }
@media (min-width: 900px) { .lf-over { padding-bottom: 40px; } .lf-lead { font-size: 19px; } .landing-full .lf-img { object-position: 50% 50%; } }
.landing-full + .block { border-top: 0; }
.lf-over h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; }
.landing-full::after { background: linear-gradient(to top, rgba(6,14,26,.84) 0%, rgba(6,14,26,.5) 22%, rgba(6,14,26,0) 42%); }
@media (max-width: 759px) {
  .landing-full { height: auto; min-height: 0; }
  .landing-full .lf-img { position: static; height: auto; aspect-ratio: 1000 / 619; }
  .landing-full::after { display: none; }
  .lf-over { position: relative; padding: 4px 0 32px; background: #0b1a2b; }
  .lf-over::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 72px; background: linear-gradient(to top, #0b1a2b, rgba(11,26,43,0)); }
}
@media (min-width: 900px) { .landing-full .lf-img { object-position: 50% 80%; } }

/* Landing: the whole aerial is always visible; information sits in the band just below it */
.landing-full { height: auto; min-height: 0; }
.landing-full .lf-img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1000 / 619; object-fit: cover; object-position: 50% 50%; }
.landing-full::after { display: none; }
.lf-over { position: relative; padding: 4px 0 32px; background: #0b1a2b; }
.lf-over::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 72px; background: linear-gradient(to top, #0b1a2b, rgba(11,26,43,0)); pointer-events: none; }
@media (min-width: 900px) {
  .landing-full .lf-img { max-height: none; object-position: 50% 50%; }
  .lf-over { padding: 8px 0 40px; }
  .lf-over .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 48px; align-items: end; }
  .lf-over .kicker, .lf-over h1, .lf-status { grid-column: 1; }
  .lf-limits { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-top: 0; }
}
.lf-over::before { height: 32px; }

/* Landing info: soft, translucent blue glass instead of a dark band */
.landing-full { background: #fff; color: var(--text); overflow: visible; }
.lf-over { background: none; padding: 0 0 8px; margin-top: -56px; }
.lf-over::before { display: none; }
.lf-over .wrap { position: relative; padding: 24px; border-radius: 20px;
  background: rgba(236, 244, 253, .72); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 8px 32px rgba(11, 60, 120, .08); width: calc(100% - 2 * var(--gutter)); }
.lf-over .kicker { color: var(--accent); }
.lf-over h1 { color: var(--text); font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.025em; }
.lf-status { background: rgba(255,255,255,.7); color: var(--text-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.lf-limits { border-top-color: rgba(11, 60, 120, .12); }
.lf-limits b { color: var(--text-2); }
.lf-limits span { color: var(--text); }
@media (min-width: 760px) { .lf-limits li + li { border-left-color: rgba(11, 60, 120, .12); } }
@media (min-width: 900px) {
  .lf-over { margin-top: -72px; padding-bottom: 16px; }
  .lf-over .wrap { padding: 28px 32px; max-width: 1120px; width: calc(100% - 48px); }
  .lf-limits { padding-top: 0; border-top: 0; }
}
.landing-full + .block { border-top: 1px solid var(--line); margin-top: 48px; }
@media (max-width: 899px) { .lf-over { margin-top: -24px; } }
#photos .video-wrap { margin-top: 48px; align-items: end; } #photos .video-wrap video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; background: #000; }

/* Bottom video: full width, embedded, quiet caption */
.vid-full { position: relative; margin: 56px 0 0; background: #0b1a2b; }
.vid-full video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; max-height: 80svh; }
.vid-cap { position: absolute; left: var(--gutter); bottom: 16px; max-width: calc(100% - 2 * var(--gutter) - 56px); padding: 10px 14px; border-radius: 14px;
  background: rgba(236, 244, 253, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255,255,255,.7); }
.vid-cap b { display: block; font-size: var(--t-small); color: var(--text); }
.vid-cap span { display: block; margin-top: 2px; font-size: var(--t-caption); color: var(--text-2); }
.vid-btn { position: absolute; right: var(--gutter); bottom: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text);
  background: rgba(236, 244, 253, .72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.vid-btn svg { width: 16px; height: 16px; }
@media (min-width: 900px) { .vid-cap { left: 32px; bottom: 28px; } .vid-btn { right: 32px; bottom: 28px; } }
#photos.block { padding-bottom: 0; }

/* Video: inset, rounded, top edge fades softly into the page */
.vid-full { background: none; margin: 56px var(--gutter) 64px; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px rgba(11, 60, 120, .10);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 9%, #000 24%); mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 9%, #000 24%); }
.vid-full video { border-radius: 28px; }
@media (min-width: 900px) { .vid-full { max-width: 1120px; margin: 72px auto 96px; } }
@media (min-width: 900px) and (max-width: 1180px) { .vid-full { margin-left: 24px; margin-right: 24px; } }
.vid-full { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.85) 5%, #000 10%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.85) 5%, #000 10%); }
.vid-cap { max-width: min(520px, calc(100% - 2 * var(--gutter) - 56px)); }
.vid-cap span { line-height: 1.45; }

/* Phone: video fills the width at a taller crop; caption sits below it, not on it */
@media (max-width: 759px) {
  .vid-full { margin: 32px var(--gutter) 40px; border-radius: 22px; overflow: visible; box-shadow: none; -webkit-mask-image: none; mask-image: none; }
  .vid-full video { aspect-ratio: 4 / 5; max-height: 70svh; border-radius: 22px; box-shadow: 0 12px 40px rgba(11, 60, 120, .12);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, #000 8%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, #000 8%); }
  .vid-cap { position: static; max-width: none; margin-top: 12px; padding: 0 4px; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .vid-cap b { font-size: var(--t-small); }
  .vid-btn { right: 12px; bottom: auto; top: 12px; width: 36px; height: 36px; background: rgba(255,255,255,.7); }
  #photos .block-body { padding-bottom: 0; }
}

/* Phone polish: slimmer header on every page, compact contact row */
@media (max-width: 759px) {
  .brandbar-in { padding-top: 8px; padding-bottom: 8px; row-gap: 2px; }
  .mc-logo { min-height: 40px; }
  .projbar-in { padding-top: 8px; padding-bottom: 8px; }
  .proj-name { font-size: var(--t-caption); line-height: 1.35; }
  .contact-line { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-line .btn { min-height: 44px; padding: 0 12px; font-size: var(--t-small); justify-content: center; }
  .contact-line .btn:last-child { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  #lookahead .empty-card { display: flex; align-items: center; gap: 12px; padding: 16px; text-align: left; }
  #lookahead .empty-card svg { width: 22px; height: 22px; flex: none; margin: 0; }
  #lookahead .empty-card p { margin: 0; font-size: var(--t-small); }
  #lookahead.block { padding-bottom: 40px; }
  .page-head { padding-top: 28px; }
}

/* iPhone: no auto-zoom on form fields, 44pt touch targets, clear of the home indicator */
@media (max-width: 899px) {
  input, select, textarea { font-size: 16px; }
  .finder .pick select { font-size: 16px; }
  .map-view button { min-height: 40px; padding: 0 16px; }
  .map-view { padding: 2px; }
  .map-links a { min-height: 44px; padding: 0 16px; }
  .map-chip { min-height: 44px; }
  .map-links { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .map-tools { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .map-key.open { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .place-m { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .pmap .maplibregl-ctrl-bottom-left { bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 899px) { #reset-btn { width: 44px; padding: 0; justify-content: center; } #reset-btn span { display: none; } #reset-btn svg { width: 18px; height: 18px; } }

/* Search card: a dropdown bar on phones, always open on larger screens */
.find-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--text); font: inherit; }
.find-toggle svg { width: 18px; height: 18px; flex: none; color: var(--text-2); transform: rotate(90deg); transition: transform .25s var(--ease); }
@media (min-width: 900px) { .find-toggle { pointer-events: none; } .find-toggle svg { display: none; } .find-toggle .find-lead { margin-bottom: 16px; } }
@media (max-width: 899px) {
  .map-panel { padding: 4px 8px 4px 16px; }
  .find-toggle { min-height: 48px; }
  .find-toggle .find-lead { margin: 0; font-size: var(--t-small); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .find-body { display: none; padding: 4px 8px 12px 0; }
  .map-panel.open { padding-bottom: 4px; }
  .map-panel.open .find-body { display: block; }
  .map-panel.open .find-toggle svg { transform: rotate(-90deg); }
}
/* Slow, soft slide-in */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.sl-card { transition-duration: .9s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Lighter, more translucent floating panels on the map */
.map-panel { background: rgba(255,255,255,.74) !important; -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 4px 24px rgba(11,60,120,.10) !important; border: 1px solid rgba(255,255,255,.6) !important; }
.map-tools .grp, .map-btn.solo, .map-chip, .map-view, .map-links a { background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 2px 12px rgba(11,60,120,.10); }
.map-btn { background: transparent; }
.map-btn.solo { background: rgba(255,255,255,.78); }
.search input { background: rgba(255,255,255,.7); }
@media (max-width: 899px) { .find-toggle .find-lead { font-size: 14px; } }@media (max-width: 899px) { .find-toggle .find-lead { white-space: normal; overflow: visible; text-overflow: clip; font-size: 15px; line-height: 1.25; padding: 8px 0; } }

/* =========================================================
   Lighter, more translucent glass throughout
   ========================================================= */
/* Map: floating controls */
.map-panel { background: rgba(255,255,255,.58) !important; border-color: rgba(255,255,255,.55) !important; box-shadow: 0 4px 20px rgba(11,60,120,.08) !important; }
.map-tools .grp, .map-btn.solo, .map-chip, .map-view, .map-links a { background: rgba(255,255,255,.6); box-shadow: 0 2px 10px rgba(11,60,120,.08); border: 1px solid rgba(255,255,255,.55); }
.map-links a:hover, .map-chip:hover { background: rgba(255,255,255,.8); }
.map-view button[aria-pressed="true"] { background: rgba(29,29,31,.82); }
.search input { background: rgba(255,255,255,.55); border-color: rgba(11,60,120,.10); }
.finder .pick select { background: rgba(255,255,255,.55); border-color: rgba(11,60,120,.12); }
.map-key.open, .map-key { background-color: transparent; }
@media (min-width: 900px) { .map-key { background: rgba(255,255,255,.62); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 4px 20px rgba(11,60,120,.08); } }
@media (max-width: 899px) { .map-key.open { background: rgba(255,255,255,.66); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); } }
.place-m .place, .place { background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); }

/* Pinned tab bar and section title bars */
.site-nav { background: rgba(255,255,255,.68); }
.tblock { background: rgba(255,255,255,.62); border-bottom-color: rgba(11,60,120,.08); }

/* Project landing panel */
.lf-over .wrap { background: rgba(236,244,253,.55); border-color: rgba(255,255,255,.6); box-shadow: 0 6px 28px rgba(11,60,120,.06); }
.lf-status { background: rgba(255,255,255,.55); }

/* Phone contact bar: frosted glass, light buttons */
.contact-bar { background: rgba(255,255,255,.6); border-top: 1px solid rgba(11,60,120,.08); }
.contact-bar .btn-dark { background: rgba(255,255,255,.7); color: var(--text); border: 1px solid rgba(11,60,120,.12); box-shadow: none; }
.contact-bar .btn-primary { background: rgba(11,99,206,.88); box-shadow: none; }

/* Map page on phones: keep the slogan under the logo, like every other page */
@media (max-width: 899px) {
  body[data-page="map"] .slogan { display: block; }
  body[data-page="map"] .brandbar-in { grid-template-areas: "logo . lang" "slogan slogan slogan"; }
}
.map-links a.ml-contact { color: var(--accent); }@media (max-width: 899px) and (max-height: 780px) { #reset-btn { display: none; } .map-tools { gap: 6px; } .map-chip, .map-view button { min-height: 40px; } .map-btn { width: 42px; height: 42px; } }

/* Typical iPhone (390 x ~660 visible in Safari): tighter header and search card */
@media (max-width: 899px) {
  .brandbar-in { padding-top: 6px; padding-bottom: 6px; row-gap: 0; }
  .mc-logo { min-height: 36px; }
  .mc-logo img { height: 20px; }
  .brandbar .lang button, .lang button { min-height: 36px; min-width: 44px; }
  .slogan { font-size: 11px; line-height: 1.3; }
  .projbar-in { padding-top: 6px; padding-bottom: 6px; }
  .site-nav .tabs a { min-height: 44px; }
  .map-panel { top: 8px; left: 8px; right: 8px; padding: 2px 6px 2px 14px; border-radius: 16px; }
  .find-toggle { min-height: 44px; }
  .find-toggle .find-lead { font-size: 14px; padding: 6px 0; }
  .find-body { padding: 0 8px 10px 0; }
  .map-panel .search input { min-height: 44px; }
  .finder .pick { margin-top: 6px; }
  .finder .pick select { min-height: 44px; }
}
@media (max-width: 759px) { .page-head .h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.025em; } .page-head .lead { font-size: var(--t-small); } }

/* Map page header matches the other tabs: full project name and City project number */
@media (max-width: 899px) {
  body[data-page="map"] .projbar-in { flex-wrap: wrap; overflow: visible; padding-top: 6px; padding-bottom: 6px; }
  body[data-page="map"] .proj-name { white-space: normal; overflow: visible; text-overflow: clip; }
  body[data-page="map"] .proj-no { white-space: normal; }
}

/* =========================================================
   Ask (landing): one translucent card with the project assistant
   ========================================================= */
body[data-page="ask"] .contact-bar { display: none; }
body[data-page="ask"] main { padding-bottom: 0; }
.ask { position: relative; min-height: calc(100svh - var(--ask-top, 160px)); display: flex; align-items: center; overflow: hidden; }
.ask-bg { position: absolute; inset: 0; background: url(/assets/maps/project-area-3d-sm.webp) center 55% / cover no-repeat; filter: saturate(1.1); opacity: .55; }
.ask-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(236,244,253,.7) 45%, rgba(255,255,255,.92) 100%); }
.ask-wrap { position: relative; width: 100%; padding-top: 40px; padding-bottom: 40px; }
.ask-card { max-width: 680px; margin: 0 auto; padding: 32px; border-radius: 28px; background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: saturate(180%) blur(26px); backdrop-filter: saturate(180%) blur(26px); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 20px 60px rgba(11,60,120,.12); }
.ask-head h1 { margin-top: 8px; font-size: clamp(26px, 4vw, 36px); line-height: 1.12; letter-spacing: -0.025em; }
.ask-lead { margin-top: 10px; color: var(--text-2); font-size: var(--t-body); line-height: 1.55; }
.ask.chatting .ask-lead { display: none; }
.ask-log { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; max-height: 52svh; overflow-y: auto; scroll-behavior: smooth; }
.ask-log:empty { display: none; }
.msg { display: flex; }
.msg.me { justify-content: flex-end; }
.bubble { max-width: 86%; padding: 12px 16px; border-radius: 20px; font-size: var(--t-body); line-height: 1.5; animation: rise .35s var(--ease); }
.msg.me .bubble { background: rgba(11,99,206,.92); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot .bubble { background: rgba(255,255,255,.85); color: var(--text); border: 1px solid rgba(11,60,120,.08); border-bottom-left-radius: 6px; }
.msg.bot .bubble a { color: var(--accent); }
.dots { display: inline-flex; gap: 5px; padding: 4px 2px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6b8; animation: dot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ask-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ask-suggest button { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(11,60,120,.12); background: rgba(255,255,255,.7); color: var(--text); font: inherit; font-size: var(--t-small); text-align: left; cursor: pointer; }
.ask-suggest button:hover { background: #fff; border-color: rgba(11,99,206,.35); }
.ask-form { display: flex; align-items: flex-end; gap: 8px; margin-top: 20px; padding: 6px 6px 6px 18px; border-radius: 26px; background: rgba(255,255,255,.85); border: 1px solid rgba(11,60,120,.14); box-shadow: 0 2px 10px rgba(11,60,120,.06); }
.ask-form:focus-within { border-color: rgba(11,99,206,.55); box-shadow: 0 0 0 4px rgba(11,99,206,.12); }
.ask-form textarea { flex: 1; min-height: 44px; max-height: 140px; padding: 11px 0; border: 0; background: none; resize: none; font: inherit; font-size: 16px; line-height: 1.4; color: var(--text); outline: none; }
.ask-send { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ask-send svg { width: 20px; height: 20px; }
.ask-send:disabled { opacity: .45; cursor: default; }
.ask-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-top: 14px; }
.ask-note { font-size: var(--t-caption); color: var(--text-2); line-height: 1.45; flex: 1 1 260px; }
.ask-reset { border: 0; background: none; padding: 8px 0; color: var(--accent); font: inherit; font-size: var(--t-caption); font-weight: 600; cursor: pointer; }
@media (max-width: 759px) {
  .ask { align-items: flex-start; }
  .ask-wrap { padding-top: 16px; padding-bottom: 24px; }
  .ask-card { padding: 22px 18px; border-radius: 24px; }
  .ask-log { max-height: 48svh; }
  .bubble { max-width: 92%; font-size: var(--t-small); }
}
@media (max-width: 759px) {
  .ask-head h1 { font-size: 24px; }
  .ask-lead { font-size: var(--t-small); line-height: 1.45; margin-top: 6px; }
  .ask-suggest { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 16px -18px 0; padding: 0 18px 2px; }
  .ask-suggest::-webkit-scrollbar { display: none; }
  .ask-suggest button { flex: none; white-space: nowrap; }
  .ask-form { margin-top: 14px; }
  .ask-foot { margin-top: 10px; }
}

/* City of Fort Lauderdale seal beside the project name (header bar and footer) */
.projbar-in { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; }
.projbar .city-seal { width: 40px; height: 40px; flex: none; }
.proj-txt { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; min-width: 0; }
.foot-title { display: flex; align-items: center; gap: 10px; }
.foot-title .city-seal { width: 36px; height: 36px; flex: none; }
@media (max-width: 899px) { .projbar .city-seal { width: 34px; height: 34px; } .proj-txt { display: block; } .proj-txt .proj-no { display: block; } }
@media (max-width: 899px) { body[data-page="map"] .projbar-in { flex-wrap: nowrap; } }

/* Ask: "How to navigate this site" link and translucent video player */
.howto-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; min-height: 44px; padding: 6px 16px 6px 6px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.75); background: rgba(236,244,253,.7); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  color: var(--text); font: inherit; font-size: var(--t-small); font-weight: 600; box-shadow: 0 2px 10px rgba(11,60,120,.08); transition: background .2s, box-shadow .2s; }
.howto-btn:hover { background: rgba(255,255,255,.9); box-shadow: 0 4px 16px rgba(11,60,120,.12); }
.hb-play { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; flex: none; }
.hb-play svg { width: 14px; height: 14px; margin-left: 2px; }
.hb-len { color: var(--text-2); font-weight: 500; }
.ask.chatting .howto-btn { margin-top: 10px; }
dialog.howto { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; margin: auto; }
dialog.howto::backdrop { background: rgba(236,244,253,.55); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
dialog.howto[open] { animation: rise .35s var(--ease); }
.howto-frame { border-radius: 24px; overflow: hidden; background: #0b1a2b; box-shadow: 0 24px 70px rgba(11,40,90,.28); border: 1px solid rgba(255,255,255,.6); }
.howto-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b1a2b; }
dialog.howto.tall .howto-frame { width: min(92vw, calc(82svh * 9 / 16)); aspect-ratio: 9 / 16; }
dialog.howto.wide .howto-frame { width: min(88vw, calc(78vh * 16 / 9)); aspect-ratio: 16 / 9; }
.howto-x { position: absolute; z-index: 2; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); box-shadow: 0 4px 14px rgba(11,40,90,.18); }
.howto-x svg { width: 16px; height: 16px; }
.howto-cap { margin-top: 12px; text-align: center; font-size: var(--t-small); font-weight: 600; color: var(--text); }
@media (max-width: 759px) { .howto-x { top: 8px; right: 8px; } .howto-btn { margin-top: 12px; } }

/* Construction progress: completed work in a soft green, with its date */
.sw.done::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 6px; border-radius: 3px; background: #28a745; opacity: .55; }
.sl-card.complete .sl-n { background: #28a745; }
.zp .zd.done, .place .when.done .wd { color: var(--green); }
.prog { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.prog-t { font-size: var(--t-body); font-weight: 600; color: var(--text); }
.prog-bar { display: block; height: 6px; border-radius: 3px; background: rgba(40,167,69,.14); overflow: hidden; }
.prog-bar i { display: block; height: 100%; border-radius: 3px; background: #28a745; transition: width .8s var(--ease); }

/* Timeline: phase tabs for the construction sequence */
.ph-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 24px; border-radius: 16px; background: rgba(118,118,128,.1); width: fit-content; max-width: 100%; }
.ph-tabs:empty { display: none; }
.ph-tabs button { flex: 1 1 0; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 12px; background: transparent; color: var(--text); font: inherit; cursor: pointer; text-align: center; line-height: 1.2; transition: background .2s, box-shadow .2s; }
.ph-tabs button b { display: block; font-size: var(--t-small); font-weight: 600; }
.ph-tabs button span { display: block; font-size: var(--t-caption); color: var(--text-2); margin-top: 2px; white-space: nowrap; }
.ph-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
@media (max-width: 480px) { .ph-tabs { width: 100%; } .ph-tabs button { padding: 8px 6px; } }

/* Project yard marker */
.yard-pin { width: 32px; height: 32px; border-radius: 10px; border: 2.5px solid #fff; background: #3a3a3c; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(0,0,0,.28); cursor: pointer; padding: 0; }
.yard-pin svg { width: 18px; height: 18px; }
.yard-pin:hover { transform: scale(1.06); }
.sw.yard::before { content: ""; position: absolute; left: 5px; top: -1px; width: 13px; height: 13px; border-radius: 4px; background: #3a3a3c; box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0,0,0,.3); }

/* Ask on every page: floating button and translucent panel */
.ask-fab { position: fixed; z-index: 60; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff; font: inherit; font-size: var(--t-body); font-weight: 600; box-shadow: 0 8px 24px rgba(11,99,206,.32), 0 2px 6px rgba(0,0,0,.12); transition: transform .2s var(--ease), box-shadow .2s; }
.ask-fab svg { width: 20px; height: 20px; }
.ask-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,99,206,.36), 0 2px 6px rgba(0,0,0,.12); }
@media (max-width: 759px) { .ask-fab { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); min-height: 48px; padding: 0 18px 0 15px; } }
.ml-ask { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: inherit; color: #fff !important; background: var(--accent) !important; }
.ml-ask svg { width: 16px; height: 16px; }
dialog.ask-sheet { border: 0; padding: 0; margin: auto 24px 24px auto; width: min(420px, calc(100vw - 32px)); max-height: min(680px, calc(100svh - 48px)); overflow: hidden; border-radius: 24px;
  background: rgba(250,252,255,.88); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 64px rgba(11,40,90,.24); color: var(--text); }
dialog.ask-sheet::backdrop { background: rgba(236,244,253,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.ask-sheet[open] { display: flex; flex-direction: column; animation: rise .3s var(--ease); }
.ask-sheet .as-in { display: flex; flex-direction: column; min-height: 0; flex: 1; padding: 20px 20px calc(16px + env(safe-area-inset-bottom)); }
.ask-sheet .as-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ask-sheet .as-head h2 { font-size: var(--t-title); line-height: 1.2; margin-top: 4px; letter-spacing: -0.01em; }
.as-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(118,118,128,.12); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.as-x svg { width: 16px; height: 16px; }
.ask-sheet .ask-log { flex: 1; max-height: none; min-height: 0; overflow-y: auto; }
.ask-sheet .ask-suggest { margin-top: 16px; }
@media (max-width: 759px) {
  dialog.ask-sheet { margin: auto 0 0; width: 100vw; max-width: 100vw; max-height: 86svh; border-radius: 24px 24px 0 0; }
  dialog.ask-sheet[open] { animation: sheet-up .32s var(--ease); }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Look-ahead list: description and dates on their own lines */
.zones li a > span:not(.z-top) { display: block; margin-top: 2px; }

