:root {
  --forest-950: #071914;
  --forest-900: #0c241e;
  --forest-800: #12362e;
  --forest-700: #1d4c40;
  --green: #3f7563;
  --cream: #f0eadc;
  --sand: #d8bd80;
  --muted: #a9b8b2;
  --line: rgba(240, 234, 220, .16);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  background: var(--forest-950);
  color: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  overflow: hidden;
}
button, a { color: inherit; font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.experience { min-height: 100svh; position: relative; overflow: hidden; background: var(--forest-900); }
.topbar {
  height: 92px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(24px, 4.5vw, 72px);
  border-bottom: 1px solid #dfe2dc;
  background: #fff;
  color: #353735;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; width: max-content; text-decoration: none; line-height: 1; }
.brand-word { font-family: Arial, Helvetica, sans-serif; font-size: 2.1rem; font-weight: 750; letter-spacing: -.055em; }
.brand-word em { color: #90ad1c; font-style: normal; }
.brand small { margin-top: 7px; color: #676b64; font-size: .5rem; letter-spacing: .2em; text-transform: uppercase; }
.topbar-copy { display: flex; gap: 28px; align-items: center; color: #777a73; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { padding-right: 28px; border-right: 1px solid #dfe2dc; }
.project-count b { color: #90ad1c; margin-right: 7px; font-weight: 600; }
.menu-button { justify-self: end; width: 46px; height: 46px; border: 1px solid #dfe2dc; border-radius: 50%; background: #fff; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu-button:hover { background: #f4f6ee; }
.menu-button span { display: block; width: 17px; height: 1px; background: #353735; }

.map-stage { height: 100svh; min-height: 620px; position: relative; isolation: isolate; background: #071914; }
.map-stage::before { display: none; }
.ambient { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 38vw; height: 38vw; right: 17%; top: 21%; background: rgba(69,126,105,.08); }
.ambient-two { width: 280px; height: 280px; left: 4%; bottom: -120px; background: rgba(216,189,128,.04); }

.intro { position: absolute; z-index: 5; left: clamp(24px, 4.5vw, 72px); top: 142px; width: min(470px, 38vw); transform: none; pointer-events: none; transition: opacity .35s, transform .35s; }
.intro.dimmed { opacity: .34; transform: scale(.98); }
.kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 26px; color: var(--sand); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.kicker span { width: 28px; height: 1px; background: var(--sand); }
h1 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(3.4rem, 5.3vw, 6.1rem); font-weight: 400; line-height: .92; letter-spacing: -.065em; }
.intro-copy { max-width: 340px; margin: 28px 0 0 6px; color: var(--muted); font-size: clamp(.95rem, 1.15vw, 1.08rem); line-height: 1.65; }

.map-viewport { position: absolute; inset: 92px 0 0; overflow: hidden; }
#map { display: block; width: 100%; height: 100%; overflow: visible; }
#mapWorld { transform-origin: 50% 50%; will-change: transform; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.cinematic-map { opacity: .94; }
.country, .terrain { display: none; }
.map-viewport::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6,20,16,.72) 0%, rgba(6,20,16,.28) 25%, transparent 46%), linear-gradient(180deg, rgba(4,16,13,.15), transparent 45%, rgba(4,16,13,.3)); }
.map-labels { pointer-events: none; }
.country-labels { filter: url(#terrainDisplace); }
.country-labels text { fill: rgba(235,233,221,.62); font: 500 12px "Manrope", sans-serif; letter-spacing: .48em; text-anchor: middle; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
.country-labels .belgium-label { fill: rgba(255,250,237,.86); font-size: 17px; font-weight: 400; letter-spacing: .52em; }
.city-labels circle { fill: #fffdf5; stroke: rgba(255,255,255,.5); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 3px rgba(0,0,0,.7)); }
.city-labels text { fill: rgba(255,253,246,.88); font: 500 11.5px "DM Sans", sans-serif; text-anchor: middle; filter: drop-shadow(0 1px 2px rgba(0,0,0,.38)); }
.city-labels g:nth-child(4) text { text-anchor: start; }
.terrain > path { fill: none; stroke: rgba(191,220,208,.13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.terrain .river { stroke: rgba(100,170,164,.34); stroke-width: 2.6; }
.terrain .river.secondary { stroke-width: 1.5; }
.city-dots { fill: rgba(218,232,225,.28); }
.map-tick { pointer-events: none; opacity: .48; transition: opacity .2s; }
.map-tick line { stroke: #b2cf2e; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-tick circle { fill: #b2cf2e; filter: drop-shadow(0 0 5px rgba(178,207,46,.8)); }
.map-tick.active { opacity: 1; }
.map-tick.active line { stroke-width: 2.5; }
.marker { cursor: pointer; outline: none; }
.marker .pulse { fill: rgba(178,207,46,.24); filter: url(#markerGlow); transform-box: fill-box; transform-origin: center; animation: pulse 2.5s ease-out infinite; }
.marker .ring { fill: rgba(7,25,20,.76); stroke: #b2cf2e; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.marker .dot { fill: #b2cf2e; }
.marker .label-bg,
.marker text { opacity: 0; transform: translateX(-8px); transition: opacity .22s ease, transform .28s ease; }
.marker .label-bg { fill: rgba(7,25,20,.92); stroke: rgba(178,207,46,.5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.marker text { fill: var(--cream); font: 500 14px "DM Sans", sans-serif; letter-spacing: .02em; pointer-events: none; }
.marker:hover .label-bg,
.marker:hover text,
.marker:focus .label-bg,
.marker:focus text,
.marker.active .label-bg,
.marker.active text { opacity: 1; transform: translateX(0); }
.marker:hover .ring, .marker:focus .ring, .marker.active .ring { fill: #b2cf2e; }
.marker:hover .dot, .marker:focus .dot, .marker.active .dot { fill: var(--forest-950); }
.compact-marker .label-bg { display: none; }
.compact-marker text { pointer-events: none; fill: #fff; font-weight: 500; filter: drop-shadow(0 1px 2px rgba(0,0,0,.72)); }
.marker-label { pointer-events: none; opacity: 0; fill: #fff; font: 500 12px "DM Sans", sans-serif; letter-spacing: .02em; filter: drop-shadow(0 1px 2px rgba(0,0,0,.78)); transform: translateX(-5px); transition: opacity .18s ease, transform .22s ease; }
.marker-label.visible { opacity: 1; transform: translateX(0); }
.local-leader { stroke: rgba(255,255,255,.56); stroke-width: .8; vector-effect: non-scaling-stroke; pointer-events: none; }
.child-marker { opacity: 0; visibility: hidden; pointer-events: none; transform-box: fill-box; transform-origin: center; transition: opacity .18s ease, visibility .18s; }
.marker.has-children:hover .child-marker, .marker.has-children:focus-within .child-marker { opacity: 1; visibility: visible; pointer-events: all; }
.child-marker circle { fill: #b2cf2e; stroke: rgba(255,255,255,.9); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.child-marker rect { fill: rgba(7,25,20,.94); stroke: rgba(178,207,46,.42); stroke-width: 1; vector-effect: non-scaling-stroke; }
.child-marker text { opacity: 1; transform: none; fill: var(--cream); font-size: 10px; pointer-events: none; }
.child-marker:hover circle, .child-marker:focus circle { fill: #fff; stroke: #b2cf2e; stroke-width: 2; }
@keyframes pulse { 0% { transform: scale(.55); opacity: .8; } 80%,100% { transform: scale(1.5); opacity: 0; } }

.location-grid { position: absolute; z-index: 12; left: clamp(24px,4.5vw,72px); bottom: 62px; display: grid; grid-template-columns: repeat(4, 32px); gap: 12px 14px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.2); background: rgba(7,25,20,.56); backdrop-filter: blur(10px); }
.connector-layer { position: absolute; z-index: 9; inset: 92px 0 0; width: 100%; height: calc(100% - 92px); overflow: visible; pointer-events: none; }
.connector-layer line { stroke: rgba(255,255,255,.42); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .18s, stroke-width .18s, opacity .18s; }
.connector-layer line.active { stroke: #b2cf2e; stroke-width: 1.7; opacity: 1; }
.location-item { position: relative; width: 32px; height: 32px; }
.location-orb { width: 32px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: #b2cf2e; color: #26310d; font-size: .64rem; font-weight: 600; box-shadow: 0 0 0 3px rgba(178,207,46,.14); cursor: pointer; }
.location-orb:hover, .location-orb:focus-visible, .location-item.open > .location-orb { background: #fff; box-shadow: 0 0 0 4px rgba(178,207,46,.48); outline: none; }
.orb-name { position: absolute; left: 42px; top: 50%; z-index: 4; transform: translate(-6px,-50%); width: max-content; max-width: 190px; padding: 7px 10px; border: 1px solid rgba(178,207,46,.4); background: rgba(7,25,20,.94); color: #fff; font-size: .68rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s, transform .18s, visibility .18s; }
.location-item:hover .orb-name, .location-item:focus-within .orb-name { opacity: 1; visibility: visible; transform: translate(0,-50%); }
.orb-children { position: absolute; left: 42px; bottom: 0; z-index: 5; display: grid; gap: 5px; width: max-content; max-width: 230px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.location-item:hover .orb-children, .location-item:focus-within .orb-children, .location-item.open .orb-children { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.location-item:has(.orb-children):hover .orb-name, .location-item:has(.orb-children):focus-within .orb-name { opacity: 0; visibility: hidden; }
.orb-child { min-height: 29px; padding: 6px 10px; border: 1px solid rgba(178,207,46,.42); background: rgba(7,25,20,.95); color: #fff; font-size: .67rem; text-align: left; white-space: nowrap; cursor: pointer; }
.orb-child:hover, .orb-child:focus-visible { background: #b2cf2e; color: #26310d; outline: none; }

.map-controls { position: absolute; z-index: 14; right: clamp(22px, 4vw, 64px); bottom: 34px; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(7,25,20,.68); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(0,0,0,.24); }
.map-controls button { width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 1.15rem; cursor: pointer; }
.map-controls button:hover:not(:disabled) { background: rgba(178,207,46,.18); }
.map-controls button:disabled { opacity: .35; cursor: default; }
.map-controls span { min-width: 48px; color: rgba(255,255,255,.75); font-size: .67rem; text-align: center; letter-spacing: .04em; }

.preview-card { position: absolute; z-index: 15; left: clamp(24px, 4.5vw, 72px); bottom: 62px; width: min(340px, calc(100vw - 44px)); transform: translateY(12px); opacity: 0; visibility: hidden; pointer-events: none; border: 1px solid rgba(178,207,46,.32); border-top: 3px solid #b2cf2e; background: rgba(9,30,24,.94); box-shadow: 0 18px 55px rgba(0,0,0,.34); backdrop-filter: blur(18px); transition: opacity .2s ease, transform .24s ease, visibility .2s; }
.preview-card.open { transform: translateY(0); opacity: 1; visibility: visible; }
.project-picker { position: absolute; z-index: 18; left: 16px; top: 120px; width: min(390px,calc(100vw - 44px)); padding: 23px 56px 20px 23px; transform: translateY(10px); opacity: 0; visibility: hidden; pointer-events: none; color: #fff; background: linear-gradient(90deg,rgba(7,25,20,.84),rgba(7,25,20,.62) 76%,rgba(7,25,20,.18)); border-left: 2px solid #b2cf2e; box-shadow: 0 14px 38px rgba(0,0,0,.2); backdrop-filter: blur(12px); transition: opacity .2s ease,transform .24s ease,visibility .2s; }
.project-picker.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
.picker-close { position: absolute; top: 13px; right: 17px; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(7,25,20,.22); color: #fff; font-size: 1.15rem; cursor: pointer; }
.picker-close:hover,.picker-close:focus-visible { border-color: #b2cf2e; color: #b2cf2e; outline: none; }
.picker-kicker { margin: 0 0 5px; color: #b2cf2e; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.project-picker h2 { margin: 0 0 15px; font: 400 1.2rem/1.2 Manrope,sans-serif; }
.picker-wheel { display: grid; gap: 2px; overflow: visible; outline: none; }
.picker-option { display: flex; min-height: 53px; padding: 7px 10px; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.76); text-decoration: none; transition: color .2s,transform .2s,border-color .2s,background .2s; }
.picker-option span { font: 400 1.18rem/1.1 Manrope,sans-serif; letter-spacing: -.025em; }
.picker-option small { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.picker-option:hover,.picker-option:focus-visible { border-color: #b2cf2e; background: rgba(178,207,46,.07); color: #b2cf2e; transform: translateX(4px); outline: none; }
.card-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(240,234,220,.25); background: rgba(7,25,20,.38); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.card-visual { height: 190px; position: relative; overflow: hidden; background: linear-gradient(145deg, #496f62, #16362e 68%); }
.card-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 15%, rgba(255,255,255,.08) 15.2%, transparent 15.8%), linear-gradient(to top, rgba(4,18,14,.64), transparent); }
.card-index { position: absolute; left: 20px; top: 17px; font-size: .72rem; letter-spacing: .16em; color: rgba(255,255,255,.64); }
.card-status { position: absolute; right: 18px; bottom: 16px; padding: 7px 10px; border: 1px solid rgba(240,234,220,.32); background: rgba(7,25,20,.4); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.building-lines { position: absolute; left: 27%; right: 15%; bottom: 0; height: 78%; transform: skewY(-3deg); }
.building-lines i { position: absolute; bottom: 0; border: 1px solid rgba(240,234,220,.42); background: linear-gradient(130deg, rgba(255,255,255,.1), rgba(0,0,0,.1)); }
.building-lines i:nth-child(1) { left: 0; width: 47%; height: 72%; }
.building-lines i:nth-child(2) { left: 40%; width: 42%; height: 96%; }
.building-lines i:nth-child(3) { right: 0; width: 28%; height: 58%; }
.card-body { padding: 22px 23px 20px; }
.card-region { margin: 0 0 7px; color: var(--sand); font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; }
.card-body h2 { margin: 0; font: 400 2rem/1.12 Manrope, sans-serif; letter-spacing: -.045em; }
.card-body > p:not(.card-region) { min-height: auto; margin: 12px 0 18px; color: var(--muted); font-size: .89rem; line-height: 1.55; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid var(--line); color: rgba(240,234,220,.68); font-size: .68rem; letter-spacing: .05em; }

.footer-note { position: absolute; left: clamp(24px, 4.5vw, 72px); bottom: 29px; display: flex; gap: 12px; align-items: center; color: rgba(240,234,220,.32); font-size: .64rem; letter-spacing: .12em; }
.footer-note i { width: 26px; height: 1px; background: currentColor; }

@media (max-width: 900px) {
  .topbar { height: 76px; grid-template-columns: 1fr auto; }
  .topbar-copy { display: none; }
  .brand-word { font-size: 1.85rem; }
  .map-viewport { inset: 76px -25% 0 -25%; opacity: .96; }
  .intro { top: 116px; width: calc(100% - 48px); }
  .intro-copy { max-width: 290px; }
  .preview-card { left: 16px; right: auto; top: auto; bottom: 20px; width: min(340px, calc(100% - 32px)); transform: translateY(28px); display: block; }
  .preview-card.open { transform: none; }
  .project-picker { width: min(390px,calc(100% - 32px)); }
  .card-visual { height: 100%; min-height: 188px; }
  .card-body { padding: 22px 19px 18px; }
  .card-body h2 { font-size: 1.55rem; }
  .card-body > p:not(.card-region) { min-height: auto; margin: 10px 0 14px; }
  .card-meta { display: block; }
  .card-meta span:last-child { display: none; }
  .footer-note { bottom: 24px; }
  .location-grid { left: 18px; bottom: 26px; grid-template-columns: repeat(4,28px); gap: 9px 11px; padding: 12px; }
  .connector-layer { inset: 76px 0 0; height: calc(100% - 76px); }
  .location-item, .location-orb { width: 28px; height: 28px; }
  h1 { font-size: clamp(3.4rem, 14vw, 5.2rem); }
}

@media (max-width: 560px) {
  .map-stage { min-height: 560px; }
  .topbar { padding: 0 20px; }
  .intro { left: 22px; top: 106px; }
  .intro.dimmed { opacity: 0; }
  .intro-copy { font-size: .92rem; }
  .preview-card { display: block; }
  .card-body > p:not(.card-region) { display: none; }
  .card-visual { min-height: 154px; }
  .footer-note { display: none; }
  .location-grid { grid-template-columns: repeat(8,24px); left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  .location-item, .location-orb { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
