/* Construction Works: illustrated site explorer. */
.map-page { --map-yellow: #ffce32; --map-muted: #a6afb1; background: #111718; }
.map-hero { position: relative; color: #fff; padding: 30px 0 28px; background: #111718; border-top: 5px solid var(--map-yellow); }
.map-hero .wrap { max-width: 1600px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-inline: 36px; }
.map-hero__kicker, .map-eyebrow { display: block; font: 700 11px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--map-yellow); }
.map-hero__kicker { margin-bottom: 10px; }
.map-hero h1 { font-size: clamp(38px, 4.3vw, 66px); line-height: .94; letter-spacing: -.01em; }
.map-hero h1 br { display: none; }
.map-hero h1 span { color: var(--map-yellow); }
.map-hero p { margin-top: 14px; max-width: 650px; color: #b6c0c2; font-size: 13px; }
.map-hero__link { color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; border-bottom: 1px solid #657070; padding-bottom: 8px; }
.map-hero__link span { color: var(--map-yellow); margin-left: 20px; font-size: 22px; }
.map-hero__link:hover { color: var(--map-yellow); }
.map-shell { background: #111718; padding: 0 20px 20px; }
.map-layout { display: grid; grid-template-columns: 292px minmax(0, 1fr); height: clamp(660px, 82svh, 920px); max-width: 1560px; margin: auto; border: 1px solid #34403f; border-radius: 16px; overflow: hidden; }
.map-panel { display: flex; flex-direction: column; gap: 17px; padding: 22px 18px; background: #172021; color: #fff; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #495352 transparent; }
.map-panel__heading h2 { font-size: 29px; margin-top: 8px; }
.map-panel__heading p { color: var(--map-muted); font-size: 11px; margin-top: 5px; }
.map-panel__heading .map-eyebrow { font-size: 9px; }
.map-progress__label { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 10px; color: var(--map-muted); }
.map-progress__label b { font-size: 15px; color: #fff; }
.map-progress__label button { color: #9ba7a8; cursor: pointer; background: none; border: 0; padding: 8px 0; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.map-progress__bar { margin-top: 5px; height: 3px; background: #35403f; overflow: hidden; }
.map-progress__bar span { display: block; height: 100%; background: var(--map-yellow); width: 0; transition: width .6s ease; }
.map-progress__done { display: none; font-size: 11px; color: var(--map-yellow); margin-top: 8px; }
.map-progress.is-complete .map-progress__done { display: block; }
.map-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.map-filters button { border: 1px solid #3c4948; border-radius: 4px; background: transparent; color: #b6c0c2; padding: 7px 9px; font: 700 10px var(--font-body); cursor: pointer; }
.map-filters button[aria-pressed="true"] { background: var(--map-yellow); color: #152021; border-color: var(--map-yellow); }
.map-zones { list-style: none; display: grid; gap: 4px; padding: 0; margin: 0; }
.map-zones li[hidden], .map-chips button[hidden], .map-brief[hidden], .map-welcome[hidden] { display: none; }
.map-zone { display: grid; grid-template-columns: 31px 1fr; gap: 3px 10px; align-items: center; width: 100%; background: transparent; color: #fff; border: 1px solid transparent; border-radius: 6px; padding: 8px; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.map-zone::after { content: '↗'; grid-column: 3; grid-row: 1 / 3; color: #728180; font-size: 14px; }
.map-zone:hover, .map-zone.is-hover { background: #263231; transform: translateX(2px); }
.map-zone__num { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #485450; border-radius: 5px; color: var(--map-yellow); font: 700 18px var(--font-head); }
.map-zone__name { font: 700 18px/1.05 var(--font-head); text-transform: uppercase; letter-spacing: .025em; }
.map-zone__cat { font-size: 8px; text-transform: uppercase; letter-spacing: .12em; color: var(--map-muted); }
.map-zone__desc { display: none; }
.map-zone.is-active { background: #ffce3214; border-color: #ffce3266; }
.map-zone.is-active .map-zone__num { background: var(--map-yellow); color: #14201c; border-color: var(--map-yellow); }
.map-zone.is-done .map-zone__cat::after { content: ' · explored'; color: #c8ba74; }
.map-panel__actions { display: grid; gap: 9px; margin-top: auto; }
.map-panel__actions .btn { padding: 10px; font-size: 16px; border-radius: 5px; }
.map-panel__actions .btn-yellow { background: var(--map-yellow); }
.map-panel__actions .dl { text-align: center; color: var(--map-muted); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.map-stage { position: relative; isolation: isolate; overflow: hidden; min-width: 0; background-color: #293430; background-image: linear-gradient(#b6c5a308 1px, transparent 1px), linear-gradient(90deg, #b6c5a308 1px, transparent 1px), radial-gradient(ellipse at 50% 40%, #566347, #1a2423 75%); background-size: 44px 44px, 44px 44px, 100% 100%; }
.map-stage::after { content: ''; position: absolute; z-index: 2; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px #0d16174d; background: linear-gradient(#10191888, transparent 17%, transparent 75%, #10191866); }
#cw-map { position: absolute; inset: 0; z-index: 1; background: transparent; font-family: var(--font-body); }
.map-fallback { width: 100%; height: 100%; object-fit: contain; }
.map-stage .leaflet-image-layer { max-width: none; box-shadow: 0 10px 80px #0005; }
.map-stage__top { position: absolute; z-index: 4; top: 20px; left: 22px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
.map-stage__label { color: #fff; text-transform: uppercase; font: 700 10px var(--font-body); letter-spacing: .15em; text-shadow: 0 1px 6px #000; }
.map-stage__label i { display: inline-block; margin-right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--map-yellow); box-shadow: 0 0 12px #ffce3280; }
#cwm-motion { pointer-events: auto; border: 1px solid #ffffff38; border-radius: 20px; padding: 7px 10px; color: #fff; background: #182422d9; font: 600 10px var(--font-body); cursor: pointer; }
.map-controls { position: absolute; z-index: 5; right: 18px; top: 76px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.map-controls button { background: #172320eb; color: #fff; border: 1px solid #ffffff38; cursor: pointer; font: 700 11px var(--font-body); border-radius: 6px; backdrop-filter: blur(10px); }
.map-controls button:hover { background: var(--map-yellow); color: #111; }
.map-controls .zoom { display: flex; flex-direction: column; }
.map-controls .zoom button { width: 40px; height: 39px; font-size: 21px; border-radius: 6px 6px 0 0; }
.map-controls .zoom button + button { border-radius: 0 0 6px 6px; border-top: 0; }
.map-controls button:disabled { opacity: .4; cursor: default; }
.map-controls .txt { padding: 10px; }
.map-welcome { position: absolute; z-index: 4; left: 24px; bottom: 32px; width: 290px; padding: 23px; border: 1px solid #ffffff26; border-radius: 10px; background: #14201eef; box-shadow: 0 16px 40px #0003; backdrop-filter: blur(16px); }
.map-welcome h2 { margin-top: 10px; color: #fff; font-size: 39px; line-height: .96; }
.map-welcome p { margin: 12px 0 18px; color: #b8c4c0; font-size: 11px; line-height: 1.6; }
.map-welcome button { width: 100%; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 9px; border: 0; border-radius: 4px; background: var(--map-yellow); color: #17211c; font: 700 12px var(--font-body); cursor: pointer; }
.map-welcome__time { font-size: 9px; border-left: 1px solid #17211c44; padding-left: 9px; }
.map-compass { position: absolute; right: 22px; bottom: 77px; z-index: 3; color: #fff; display: grid; justify-items: center; gap: 5px; }
.map-compass span { font: 600 8px var(--font-body); letter-spacing: .2em; }
.map-compass svg { width: 40px; fill: none; stroke: #ffffff80; }
.map-compass svg path { fill: var(--map-yellow); stroke: none; }
.map-brief { padding: 0; position: absolute; z-index: 5; bottom: 72px; left: 24px; width: min(430px, calc(100% - 100px)); color: #fff; background: #15211ff2; border: 1px solid #ffffff38; border-radius: 10px; overflow: hidden; backdrop-filter: blur(16px); box-shadow: 0 16px 45px #0005; }
.map-brief.is-entering { animation: cw-card-in .45s cubic-bezier(.2,.8,.2,1) both; }
.map-brief__body { display: flex; gap: 16px; padding: 21px 34px 19px 20px; position: relative; }
.map-brief__num { font: 800 54px/.9 var(--font-head); color: var(--map-yellow); opacity: .85; }
.map-brief__copy { min-width: 0; }
.map-brief__copy .map-eyebrow { font-size: 9px; }
.map-brief h2 { font-size: 28px; margin: 5px 0 8px; }
.map-brief p { font-size: 12px; color: #c2ceca; line-height: 1.6; }
.map-brief__close { position: absolute; top: 5px; right: 5px; width: 30px; height: 30px; border: 0; background: transparent; color: #c2ceca; font-size: 24px; cursor: pointer; }
.map-brief__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 13px 9px 20px; border-top: 1px solid #ffffff1a; }
.map-brief__footer > span { font-size: 10px; color: var(--map-muted); }
.map-brief__footer > div { display: flex; gap: 6px; }
.map-brief__footer button { width: 35px; height: 32px; border: 1px solid #ffffff2e; background: transparent; color: #fff; border-radius: 4px; cursor: pointer; }
.map-brief__footer #cwm-pause { background: var(--map-yellow); border-color: var(--map-yellow); color: #17211c; }
.map-tour-progress { height: 3px; background: #ffffff0c; }
.map-tour-progress span { height: 100%; width: 0; display: block; background: var(--map-yellow); }
.map-chips { position: absolute; z-index: 4; bottom: 15px; left: 24px; right: 80px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.map-chips::-webkit-scrollbar { display: none; }
.map-chips button { flex: 0 0 auto; width: 29px; height: 29px; border: 1px solid #ffffff66; border-radius: 50%; background: #1b2828e6; color: #fff; font: 700 13px var(--font-head); cursor: pointer; }
.map-chips button.is-active { background: var(--map-yellow); color: #16201e; border-color: var(--map-yellow); }
.map-chips button.is-done:not(.is-active) { border-color: var(--map-yellow); color: var(--map-yellow); }
.cw-pin { border: none; background: transparent; }
.cw-pin__dot { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #162420; color: var(--map-yellow); border: 2px solid var(--map-yellow); box-shadow: 0 3px 10px #0009, 0 0 0 3px #14201e66; font: 800 21px var(--font-head); transform: scale(var(--pin-s, 1)); transition: transform .25s, background .25s, color .25s; }
.cw-pin__label { position: absolute; left: 50%; bottom: 47px; transform: translate(-50%, 6px); opacity: 0; pointer-events: none; white-space: nowrap; background: #15211f; color: #fff; border: 1px solid #ffce3288; border-radius: 4px; padding: 6px 9px; font: 700 11px var(--font-body); transition: opacity .2s, transform .2s; }
.cw-pin:hover .cw-pin__label, .cw-pin:focus-visible .cw-pin__label, .cw-pin.is-hover .cw-pin__label { opacity: 1; transform: translate(-50%,0); }
.cw-pin:hover .cw-pin__dot, .cw-pin.is-hover .cw-pin__dot, .cw-pin.is-active .cw-pin__dot { transform: scale(1.1); background: var(--map-yellow); color: #13231e; box-shadow: 0 0 0 5px #ffce3240, 0 8px 18px #0006; }
.cw-pin.is-active .cw-pin__dot::after { content: ''; position: absolute; inset: -9px; border: 1px solid #ffe492; border-radius: 50%; animation: cw-signal 2.8s ease-out infinite; pointer-events: none; }
.cw-pin.is-dim { opacity: .18; pointer-events: none; }
.map-stage .cw-world { pointer-events: none; overflow: visible; }
.cw-road-base { fill: none; stroke: #1d322d; stroke-width: 14; opacity: .32; }
.cw-road { fill: none; stroke: #fff2ae; stroke-width: 3; stroke-dasharray: 5 12; opacity: .8; }
.cw-truck { filter: drop-shadow(3px 5px 3px #0007); }
.cw-beacon { fill: #ffcf34; opacity: .9; animation: cw-beacon 2.4s ease-in-out infinite; }
.cw-target { fill: #ffce321a; stroke: #ffdf6d; stroke-width: 2; stroke-dasharray: 8 6; }
.map-hint { position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%); width: max-content; max-width: 80%; padding: 10px 16px; border-radius: 6px; background: #15211feF; color: #fff; font-size: 12px; opacity: 0; z-index: 6; pointer-events: none; transition: opacity .2s; }
.map-hint.is-on { opacity: 1; }
.map-stage:fullscreen { width: 100vw; height: 100dvh; }
.map-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.map-page button:focus-visible, .map-page a:focus-visible, .cw-pin:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.map-page .section-tight { background: #f4f6f8; }
.map-stage.is-still *, .map-stage.is-still *::after, .map-stage.is-sleeping *, .map-stage.is-sleeping *::after { animation-play-state: paused !important; }
.no-js-map .map-zone__desc { display: block; grid-column: 2; font-size: 11px; }
.no-js-map .map-stage__top, .no-js-map .map-controls, .no-js-map .map-welcome, .no-js-map #cwm-tour, .no-js-map .map-filters, .no-js-map .map-progress { display: none; }
@keyframes cw-signal { 0% { opacity: .7; transform: scale(.8); } 80%,100% { opacity: 0; transform: scale(1.6); } }
@keyframes cw-beacon { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes cw-card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1450px) { .map-panel { padding: 26px 22px; } .map-layout { grid-template-columns: 320px minmax(0, 1fr); } .map-zone { padding-block: 10px; } }
@media (max-width: 1100px) { .map-hero__link { display: none; } .map-hero h1 br { display: block; } .map-layout { grid-template-columns: 260px minmax(0, 1fr); } .map-panel { padding: 18px 13px; } .map-panel__heading h2 { font-size: 25px; } .map-welcome { width: 260px; } }
@media (max-width: 900px) {
  .map-hero { padding: 22px 0; } .map-hero .wrap { padding-inline: 20px; } .map-hero h1 { font-size: 44px; } .map-hero__kicker { font-size: 9px; } .map-hero p { font-size: 12px; max-width: 420px; }
  .map-shell { padding: 0 10px 10px; } .map-layout { grid-template-columns: 1fr; height: auto; border-radius: 10px; }
  .map-stage { order: -1; height: clamp(600px, 85svh, 800px); }
  .map-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 20px; border-top: 1px solid #3a4541; overflow: visible; }
  .map-filters, .map-zones, .map-panel__actions { grid-column: 1 / -1; } .map-zones { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .map-panel__heading h2 { font-size: 27px; } .map-progress { align-self: center; } .map-progress__label { flex-wrap: wrap; }
  .map-panel__actions { grid-template-columns: 1fr 1fr; } .map-panel__actions .dl { grid-column: 1 / -1; }
  .map-stage__top { top: 15px; left: 16px; right: 14px; } .map-stage__label { font-size: 9px; letter-spacing: .08em; }
  .map-controls { top: 65px; right: 14px; } .map-controls .txt { font-size: 10px; }
  .map-welcome { left: 16px; bottom: 62px; width: 265px; padding: 19px; } .map-welcome h2 { font-size: 34px; }
  .map-brief { left: 14px; bottom: 59px; width: calc(100% - 28px); max-width: 450px; }
  .map-chips { left: 16px; bottom: 16px; right: 16px; gap: 7px; } .map-chips button { width: 31px; height: 31px; }
  .map-compass { right: 18px; bottom: 79px; }
  .map-controls #cwm-full { display: none; } .map-stage:fullscreen .map-controls #cwm-full { display: block; }
}
@media (max-width: 420px) {
  .map-hero h1 { font-size: 39px; } .map-stage { height: 660px; }
  .map-panel { padding: 20px 12px; } .map-panel__heading h2 { font-size: 25px; } .map-panel__heading .map-eyebrow { font-size: 8px; } .map-panel__heading p { font-size: 10px; }
  .map-zones { gap: 3px; } .map-zone { padding: 8px 4px; gap: 3px 7px; grid-template-columns: 26px 1fr; } .map-zone__num { width: 26px; height: 29px; } .map-zone__name { font-size: 16px; } .map-zone::after { display: none; } .map-zone__cat { font-size: 7px; }
  .map-brief__body { padding: 16px 30px 14px 15px; gap: 12px; } .map-brief__num { font-size: 46px; } .map-brief h2 { font-size: 25px; } .map-brief p { font-size: 11px; } .map-brief__footer { padding-left: 15px; }
  .map-chips { gap: 5px; } .map-chips button { width: 29px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) { .map-page *, .map-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Teaser on the Construction Works page ---------- */
.map-teaser { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 4px solid #111; box-shadow: var(--shadow-lg); background: #111; color: #fff; }
.map-teaser img { width: 100%; height: clamp(260px, 38vw, 440px); object-fit: cover; object-position: 50% 45%; transition: transform 0.8s var(--ease-out); }
.map-teaser:hover img { transform: scale(1.04); }
.map-teaser::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px; background: var(--hazard); z-index: 2; }
.map-teaser__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  padding: 70px 28px 24px; background: linear-gradient(180deg, transparent, rgba(13, 14, 16, 0.92) 60%);
}
.map-teaser__kicker { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.85rem; color: var(--yellow); }
.map-teaser__title { display: block; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.05; color: #fff; }
.map-teaser:hover { color: #fff; }
@media (max-width: 600px) { .map-teaser__body { padding: 60px 18px 18px; } .map-teaser__body .btn { width: 100%; text-align: center; } }

