:root {
  --sage-deep:  #2e3f2c;
  --sage-mid:   #667d64;
  --sage-soft:  #8fa68d;
  --sage-light: #c4d4c2;
  --sage-pale:  #e4ece2;
  --sage-white: #f2f5f1;
  --amber:      #d4960a;
  --amber-bright: #f5c400;
  --text-dark:  #1e2b1c;
  --text-mid:   #4a5e48;
  --text-soft:  #7a907a;
  --white:      #f2f5f1;
  --fog:        #7a907a;
  --bone:       #2e3f2c;

  /* legacy aliases zodat bestaande code niet breekt */
  --black: var(--sage-deep);
  --ink:   #dce5da;
  --iron:  #e4ece2;
  --steel: #d4dfd2;
  --accent: var(--amber);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--sage-white);
  color: var(--text-dark);
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle film grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }

/* ======================================================
   NAV
====================================================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .4s, backdrop-filter .4s, padding .4s;
}
#nav.scrolled {
  background: rgba(242,245,241,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(102,125,100,.15);
}
@media (max-width: 900px) {
  #nav.scrolled { padding: 14px 20px; }
}
.brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 5px;
  display: flex; align-items: baseline; gap: 4px;
  color: var(--sage-white);
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 12px rgba(0,0,0,.45);
  white-space: nowrap;
  flex-shrink: 0;
}
#nav.scrolled .brand { color: var(--text-dark); text-shadow: none; }
.brand em {
  color: var(--amber-bright);
  font-style: normal;
  font-size: 28px;
  line-height: 0;
}
.nav-menu {
  display: flex; gap: 36px;
  list-style: none;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
}
.nav-menu a {
  color: var(--sage-white);
  opacity: .75;
  transition: opacity .25s, color .25s;
  position: relative;
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
#nav.scrolled .nav-menu a { color: var(--text-dark); text-shadow: none; }
.nav-menu a:hover { opacity: 1; color: var(--amber); }
#nav.scrolled .nav-menu a:hover { color: var(--amber); }
.nav-cta {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--sage-white);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  transition: all .3s;
}
#nav.scrolled .nav-cta { border-color: var(--sage-mid); color: var(--text-dark); text-shadow: none; }
.nav-cta:hover { background: var(--amber); color: var(--text-dark); border-color: var(--amber); }

/* === Altijd zichtbare navbalk (ook bovenaan, op alle schermbreedtes) === */
#nav {
  background: rgba(242,245,241,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(102,125,100,.15);
  padding-top: 14px; padding-bottom: 14px;
}
#nav .brand { color: var(--text-dark); text-shadow: none; }
#nav .nav-menu a { color: var(--text-dark); text-shadow: none; opacity: .8; }
#nav .nav-menu a:hover { color: var(--amber); opacity: 1; }
#nav .nav-cta { border-color: var(--sage-mid); color: var(--text-dark); text-shadow: none; }
#nav .nav-cta:hover { background: var(--amber); color: var(--text-dark); border-color: var(--amber); }
#nav .nav-burger span { background: var(--text-dark); }
body.nav-open #nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
body.nav-open #nav .brand { color: var(--sage-white); text-shadow: 0 1px 8px rgba(0,0,0,.45); }
body.nav-open #nav .nav-burger span { background: var(--sage-white); }

@media (max-width: 1180px) and (min-width: 901px) {
  .nav-menu { gap: 20px; font-size: 10px; }
  #nav { padding: 20px 28px; }
}

/* ======================================================
   HERO — scroll-driven "zoom out to map" reveal
   Scroll progress shrinks the building photo into a place-
   card while a schematic regional map (A16 / A17 / A59,
   water, towns) fades in behind it. Letters rise up & out.
====================================================== */
#hero-stage {
  position: relative;
  height: 260vh;            /* extra scroll height drives the animation */
  background: var(--black);
}
#hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--black);
}

/* shrinking photo layers share an origin so they scale as one unit */
.hero-bg, .hero-sky-grad, .hero-cutout { transform-origin: center center; will-change: transform; }

/* --- the regional map behind the photo --- */
.hero-map {
  position: absolute; inset: 0;
  z-index: 0;
  opacity: 0;
  background: #28341f;
}
.map-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform-origin: center center;
  will-change: transform;
}
.map-chrome { position: absolute; inset: 0; pointer-events: none; }
.map-search {
  position: absolute; top: 22px; left: 22px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(10,10,9,.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 13px 18px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  color: var(--white);
  max-width: 72vw;
}
.map-search svg { flex: none; }
.map-search .hint { color: var(--fog); letter-spacing: 1px; }
.map-zoom {
  position: absolute; right: 22px; bottom: 86px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,10,9,.82);
  backdrop-filter: blur(8px);
}
.map-zoom button {
  width: 40px; height: 40px;
  background: transparent; border: none; color: var(--white);
  font-size: 20px; font-family: 'Space Mono', monospace;
  cursor: pointer; line-height: 1;
}
.map-zoom button:first-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.map-scale {
  position: absolute; left: 22px; bottom: 26px;
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 2px; color: var(--fog);
  display: flex; flex-direction: column; gap: 5px;
}
.map-scale .bar { width: 88px; height: 5px; border: 1px solid rgba(255,255,255,.3); border-top: none; }
.map-attr {
  position: absolute; right: 22px; bottom: 28px;
  font-family: 'Space Mono', monospace;
  font-size: 8px; letter-spacing: 1px; color: rgba(154,154,136,.6);
}

/* --- the place-card the photo lands inside --- */
.place-card {
  position: absolute;
  left: 50%; top: 50%;
  width: 22vw; height: 22vh;
  transform: translate(-50%, -50%);
  z-index: 5;
  opacity: 0;
  border: 2px solid var(--amber);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  pointer-events: none;
}
.place-card::before {
  content: '';
  position: absolute; inset: -10px;
  border: 1px solid rgba(245,196,0,.5);
  animation: cardPulse 2.6s ease-in-out infinite;
}
@keyframes cardPulse {
  0%,100% { transform: scale(1);    opacity: .5; }
  50%     { transform: scale(1.06); opacity: .15; }
}
.place-card .pc-label {
  position: absolute;
  top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--amber);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 3px;
  padding: 6px 14px;
}
.place-card .pc-sub {
  position: absolute;
  top: calc(100% + 48px); left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 3px; color: var(--fog);
  text-transform: uppercase;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: none;
  z-index: 1;
  transform: scale(1);
  animation: heroBgFadeIn 1.6s cubic-bezier(.16,1,.3,1) both;
}
@keyframes heroBgFadeIn {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}

/* Atmospheric gradient on the sky for legibility of the rising text */
.hero-sky-grad {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom,
      rgba(10,10,9,0) 0%,
      rgba(10,10,9,0) 46%,
      rgba(10,10,9,.3) 100%);
  pointer-events: none;
}

/* The text that emerges from behind the buildings.
   The wrapper height ends roughly at the buildings' roofline so the text
   block bottom-aligns to it. Buildings (cutout, z-index 4) sit on top and
   mask whichever part of the text crosses into them — letters peek out of
   the sky exactly along the silhouette. */
.hero-text {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 40vh; /* lower edge sits IN the buildings so they mask the bottom — text peeks out from behind the silhouette */
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-top: 8vh;
  pointer-events: none;
  /* Initial state: parked deep below the viewport, hidden by buildings/ground */
  transform: translateY(75vh);
  animation: heroRise 2.4s cubic-bezier(.2,.85,.2,1) .5s forwards;
  will-change: transform;
}
@keyframes heroRise {
  from { transform: translateY(75vh); }
  to   { transform: translateY(0);    }
}
.hero-text .line {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 10.8vw, 205px);
  line-height: .88;
  letter-spacing: -1px;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.4);
  display: block;
  white-space: nowrap;
}
.hero-text .line.l2 {
  font-size: clamp(22px, 5.4vw, 100px);
  color: var(--amber);
  letter-spacing: 4px;
  font-weight: 400;
  margin-top: .04em;
  text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.3);
}

/* The cutout layer with transparent sky — masks lower part of text */
.hero-cutout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: 4;
  pointer-events: none;
  filter: none;
  animation: heroCutoutIn 1.6s cubic-bezier(.16,1,.3,1) both;
}
@keyframes heroCutoutIn {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1);    }
}

/* Foreground meta */
.hero-meta {
  position: absolute;
  z-index: 6;
  bottom: 36px;
  left: 40px;
  right: 40px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(246,244,239,.7);
  opacity: 0;
  animation: fadeUp 1s ease 2.6s forwards;
}
.hero-meta .col { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .col strong { color: var(--amber); font-weight: 400; }
.hero-meta .scroll {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
}
.hero-meta .scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50%     { opacity: 1;  transform: scaleY(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Tiny corner label top-right */
.hero-corner {
  position: absolute; top: 90px; right: 40px;
  z-index: 6;
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(246,244,239,.6);
  text-align: right;
  opacity: 0;
  animation: fadeUp 1s ease 2.2s forwards;
}
.hero-corner div + div { margin-top: 4px; color: var(--amber); }



/* ======================================================
   MARQUEE
====================================================== */
.marquee {
  background: var(--amber-bright);
  color: var(--text-dark);
  padding: 18px 0;
  overflow: hidden;
  border-bottom: 1px solid #c8a000;
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: scroll-marquee 38s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 4px;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track span::after {
  content: '◆';
  font-family: serif;
  font-size: 12px;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ======================================================
   SECTION SHELLS
====================================================== */
section { position: relative; }

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage-mid);
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: '';
  width: 36px; height: 1px; background: var(--sage-mid);
}

.h-display {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4.5vw, 80px);
  line-height: .95;
  letter-spacing: -1px;
  font-weight: 400;
  color: var(--sage-deep);
}
.h-display em {
  font-family: 'Bebas Neue', sans-serif;
  font-style: normal;
  color: var(--amber);
  font-weight: 400;
  letter-spacing: -1px;
}

/* ======================================================
   MANIFESTO
====================================================== */
.manifesto {
  padding: 160px 60px 140px;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  background: var(--sage-white);
}
.manifesto .left { display: flex; flex-direction: column; gap: 28px; }
.manifesto .left .section-label { margin-bottom: 8px; }
.manifesto p.lede {
  font-family: 'Space Mono', monospace;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 520px;
  font-weight: 400;
}
.manifesto p.lede em {
  color: var(--amber);
}
.manifesto .stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--sage-light);
  border: 1px solid var(--sage-light);
}
.stat-cell {
  background: var(--sage-pale);
  padding: 36px 28px;
  position: relative;
  transition: background .4s;
}
.stat-cell:hover { background: var(--sage-light); }
.stat-cell:nth-child(1) { background: rgba(212,150,10,.1); }
.stat-cell:nth-child(1):hover { background: rgba(212,150,10,.18); }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  color: var(--sage-deep);
  letter-spacing: -1px;
}
.stat-num span { font-size: 16px; color: var(--text-soft); margin-left: 3px; vertical-align: top; }
.stat-cell:nth-child(1) .stat-num { color: var(--amber); }
.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 14px;
}
.stat-tag {
  position: absolute; top: 14px; right: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 8px; letter-spacing: 2px;
  color: var(--text-soft);
  opacity: .55;
}

/* ======================================================
   AVAILABLE UNITS
====================================================== */
.units-section {
  padding: 120px 60px;
  position: relative;
  background: var(--sage-pale);
  border-top: 1px solid var(--sage-light);
  border-bottom: 1px solid var(--sage-light);
}
.units-head {
  max-width: 1480px;
  margin: 0 auto 70px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.units-head .lhs { display: flex; flex-direction: column; gap: 22px; }
.units-head .rhs {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-soft);
  max-width: 320px;
  line-height: 1.7;
}
.units-head .rhs strong { color: var(--text-dark); font-weight: 700; }

.units-grid {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sage-light);
  border: 1px solid var(--sage-light);
}
.unit-card {
  background: var(--sage-white);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background .4s;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.unit-card:hover { background: var(--sage-pale); }
.unit-card.featured { background: linear-gradient(165deg, rgba(212,150,10,.06), var(--sage-white)); }

.unit-bg-num {
  position: absolute;
  bottom: -50px; right: -20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 280px;
  color: rgba(102,125,100,.06);
  line-height: 1;
  pointer-events: none;
  transition: color .4s;
}
.unit-card:hover .unit-bg-num { color: rgba(212,150,10,.08); }

.unit-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  position: relative; z-index: 2;
}
.unit-status {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(212,150,10,.4);
  background: rgba(212,150,10,.08);
  color: var(--amber);
}
.unit-id {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px;
  color: var(--text-soft);
}

.unit-body {
  position: relative; z-index: 2;
  margin-top: 28px;
}
.unit-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 0;
  margin-bottom: 4px;
  color: var(--sage-deep);
}
.unit-size {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 86px;
  line-height: 1;
  color: var(--sage-deep);
  margin-top: 6px;
}
.unit-size span { font-size: 18px; color: var(--text-soft); margin-left: 4px; }

.unit-feats {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-mid);
  border-top: 1px solid var(--sage-light);
  padding-top: 20px;
}
.unit-feat { display: flex; gap: 10px; }
.unit-feat::before {
  content: '+'; color: var(--amber); width: 12px;
}

.unit-cta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dark);
  transition: color .25s, gap .25s;
  position: relative; z-index: 2;
}
.unit-card:hover .unit-cta { color: var(--amber); gap: 16px; }
.unit-cta svg { transition: transform .25s; }
.unit-card:hover .unit-cta svg { transform: translateX(4px); }

/* ======================================================
   INTERACTIVE PLATTEGROND
====================================================== */
.plat-section {
  padding: 120px 60px 140px;
  position: relative;
  background: var(--sage-white);
  border-top: 1px solid var(--sage-light);
  border-bottom: 1px solid var(--sage-light);
}
.plat-head {
  max-width: 1480px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.plat-head-l { display: flex; flex-direction: column; gap: 22px; }
.plat-head-r {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px;
}
.plat-counter { display: flex; flex-direction: column; gap: 6px; }
.plat-counter-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 76px;
  line-height: .9;
  color: var(--amber);
  letter-spacing: -1px;
}
.plat-counter-num em {
  font-style: normal;
  color: var(--fog);
  font-size: 28px;
  margin-left: 6px;
}
.plat-counter-lbl {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--fog);
  text-transform: uppercase;
}
.plat-admin-btn {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  padding: 14px 20px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all .25s;
  height: fit-content;
}
.plat-admin-btn .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: all .25s;
}
.plat-admin-btn:hover { border-color: rgba(245,196,0,.5); color: var(--amber); }
.plat-admin-btn.active {
  background: rgba(245,196,0,.12);
  border-color: var(--amber);
  color: var(--amber);
}
.plat-admin-btn.active .dot { background: var(--amber); box-shadow: 0 0 12px var(--amber); }

.plat-wrap {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--sage-light);
  border: 1px solid var(--sage-light);
}
.plat-wrap.has-selection { grid-template-columns: 1fr; }
.plat-canvas {
  background: #e8ede5;
  position: relative;
  padding: 32px;
  min-height: 600px;
}
.plat-canvas.admin { cursor: crosshair; }
.plat-meta-tl, .plat-meta-tr {
  position: absolute; top: 18px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-soft);
}
.plat-meta-tl { left: 18px; }
.plat-meta-tr { right: 18px; color: var(--amber); }

#plat-svg { width: 100%; height: auto; display: block; }

/* unit styling */
.plat-unit { cursor: pointer; }
.plat-unit .unit-fill { transition: fill .25s, stroke .25s; }
.plat-unit .unit-roof { transition: fill .25s, opacity .25s; }
.plat-unit .unit-num { transition: fill .25s; }

.plat-unit .unit-fill  { fill: rgba(46,63,44,.13); stroke: rgba(46,63,44,.42); }
.plat-unit .unit-roof  { fill: rgba(46,63,44,.25); }
.plat-unit .unit-num   { fill: rgba(46,63,44,.72); }

.plat-unit:hover .unit-fill { fill: rgba(212,150,10,.25) !important; stroke: var(--amber) !important; }
.plat-unit:hover .unit-roof { fill: rgba(212,150,10,.5) !important; }

.plat-unit.selected .unit-fill {
  stroke: var(--sage-deep) !important;
  stroke-width: 1.6 !important;
}
.plat-unit.selected::after { content: ''; }

/* Selection ring */
.plat-unit .selection-ring {
  display: none;
}
.plat-unit.selected .selection-ring {
  display: block;
  fill: none;
  stroke: var(--sage-deep);
  stroke-width: 0.8;
  stroke-dasharray: 4 3;
  animation: ringRot 30s linear infinite;
}
@keyframes ringRot { to { stroke-dashoffset: -120; } }

.plat-canvas.admin .plat-unit:hover { filter: drop-shadow(0 0 8px var(--amber)); }

/* ASIDE */
.plat-aside {
  background: var(--sage-pale);
  display: flex;
  flex-direction: column;
  padding: 28px;
  gap: 24px;
  min-height: 600px;
}
.plat-legend {
  display: flex; flex-direction: column; gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sage-light);
}
.plat-legend .leg {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-mid);
  text-transform: uppercase;
}
.plat-legend .dot {
  width: 12px; height: 12px;
  border: 1px solid;
  display: inline-block;
}
.plat-legend .dot.avail { background: rgba(212,150,10,.15); border-color: var(--amber); }
.plat-legend .dot.rent  { background: rgba(102,125,100,.1); border-color: var(--sage-mid); }
.plat-legend .dot.maint { background: rgba(180,77,18,.1); border-color: #b84d12; }

.plat-detail { flex: 1; display: flex; flex-direction: column; }
.plat-detail-empty {
  margin: auto 0;
  display: flex; flex-direction: column; gap: 14px;
  text-align: left;
  padding: 30px 0;
}
.plat-detail-empty .ed-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 90px;
  line-height: 1;
  color: var(--sage-light);
}
.plat-detail-empty .ed-msg {
  font-family: 'Space Mono', monospace;
  font-style: italic;
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.4;
  max-width: 240px;
}

.plat-detail.has-unit {
  display: flex; flex-direction: column; gap: 18px;
  animation: detFade .4s ease;
}
@keyframes detFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.plat-detail .pd-top { display: flex; justify-content: space-between; align-items: flex-start; }
.plat-detail .pd-id {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px; color: var(--text-soft);
  text-transform: uppercase;
}
.plat-detail .pd-status {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid;
}
.plat-detail .pd-status[data-s="beschikbaar"] {
  color: var(--amber); border-color: rgba(212,150,10,.4); background: rgba(212,150,10,.08);
}
.plat-detail .pd-status[data-s="verhuurd"] {
  color: var(--text-soft); border-color: var(--sage-light); background: rgba(102,125,100,.06);
}
.plat-detail .pd-status[data-s="onderhoud"] {
  color: #b84d12; border-color: rgba(184,77,18,.3); background: rgba(184,77,18,.06);
}
.plat-detail .pd-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: .95;
  letter-spacing: 0;
  color: var(--sage-deep);
}
.plat-detail .pd-size {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--amber);
}
.plat-detail .pd-size em { font-style: normal; font-size: 13px; color: var(--text-soft); margin-left: 4px; }

.plat-detail .pd-feats {
  display: flex; flex-direction: column; gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-mid);
  border-top: 1px solid var(--sage-light);
  padding-top: 14px;
}
.plat-detail .pd-feats div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.plat-detail .pd-feats span:first-child { color: var(--text-soft); text-transform: uppercase; letter-spacing: 2px; font-size: 9px; }

.plat-detail .pd-toggle {
  margin-top: 4px;
  display: flex; gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
}
.plat-detail .pd-toggle button {
  flex: 1;
  background: transparent;
  border: 1px solid var(--sage-light);
  color: var(--text-mid);
  padding: 12px 8px;
  cursor: pointer;
  transition: all .2s;
}
.plat-detail .pd-toggle button:hover { color: var(--text-dark); border-color: var(--sage-mid); }
.plat-detail .pd-toggle button.active { background: var(--amber); color: var(--text-dark); border-color: var(--amber); font-weight: 700; }
.plat-detail .pd-toggle button.active[data-s="verhuurd"] { background: var(--sage-mid); color: var(--sage-white); border-color: var(--sage-mid); }
.plat-detail .pd-toggle button.active[data-s="onderhoud"] { background: #b84d12; color: white; border-color: #b84d12; }

.plat-detail .pd-cta {
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amber);
  color: var(--text-dark);
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700;
  padding: 14px 18px;
  text-decoration: none;
  transition: background .2s;
}
.plat-detail .pd-cta:hover { background: var(--sage-deep); color: var(--sage-white); }
.plat-detail .pd-cta.disabled {
  background: var(--sage-pale); color: var(--text-soft); pointer-events: none;
}

.plat-foot {
  border-top: 1px solid var(--sage-light);
  padding-top: 16px;
}
.plat-tip {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--text-soft);
  line-height: 1.7;
  letter-spacing: 1px;
}
.plat-tip strong { color: var(--amber); font-weight: 400; }

@media (max-width: 1000px) {
  .plat-wrap, .plat-wrap.has-selection { grid-template-columns: 1fr; }
  .plat-head { grid-template-columns: 1fr; }
  .plat-head-r { flex-direction: column; align-items: flex-start; gap: 16px; }
  .plat-canvas { min-height: 420px; padding: 18px; }
  .plat-aside { min-height: auto; }
}

/* ======================================================
   FACILITIES — icon cards
====================================================== */
.facilities {
  padding: 120px 60px 120px;
  position: relative;
  background: var(--sage-pale);
}
.facilities .head {
  max-width: 1480px; margin: 0 auto 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
}
.facilities .head .desc {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 520px;
}
.fac-cards {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--sage-light);
  border: 1px solid var(--sage-light);
}
.fac-card {
  background: var(--sage-white);
  padding: 38px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .25s;
  position: relative;
  overflow: hidden;
}
.fac-card--contact {
  background: #4a6b48;
  cursor: default;
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
  padding: 40px 48px;
}
.fac-card--contact .fac-card-icon { order: 0; }
.fac-card--contact .fac-card-tag { order: 1; margin: 0; }
.fac-card--contact .fac-card-name { order: 2; font-size: 40px; flex-basis: 100%; }
.fac-card--contact .fac-card-desc { order: 3; flex: 1 1 320px; min-width: 260px; }
.fac-card--contact .fac-cta-btn { order: 4; margin-left: auto; }
.fac-card.fac-card--contact:hover { background: #4a6b48; }
.fac-card--contact::after { display:none; }
.fac-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 20px;
  background: var(--amber-bright);
  color: var(--text-dark);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
  align-self: flex-start;
}
.fac-cta-btn:hover { background: var(--sage-white); }
.fac-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.fac-card:hover { background: var(--sage-pale); }
.fac-card:hover::after { transform: scaleX(1); }
.fac-card-icon {
  width: 44px; height: 44px;
  color: var(--amber);
  flex-shrink: 0;
}
.fac-card-icon svg { width: 100%; height: 100%; }
.fac-card-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--sage-light);
  padding: 4px 10px;
  display: inline-block;
  align-self: flex-start;
}
.fac-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0;
  color: var(--sage-deep);
  line-height: 1;
}
.fac-card-desc {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  line-height: 1.85;
  color: var(--text-soft);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s;
  opacity: 0;
}
.fac-card:hover .fac-card-desc { max-height: 140px; opacity: 1; }

/* verouderde fac-row stijlen verwijderd */
.fac-list, .fac-row { display: none; }

/* ======================================================
   LOCATION
====================================================== */
.location {
  padding: 140px 60px;
  position: relative;
  background: var(--sage-white);
  border-top: 1px solid var(--sage-light);
}
.loc-wrap {
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.loc-info { display: flex; flex-direction: column; gap: 28px; }
.loc-address {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--sage-deep);
}
.loc-address span {
  display: block;
  font-size: 24px;
  color: var(--text-soft);
  margin-top: 8px;
}
.loc-coords {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 1px;
}
.loc-info ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 8px;
}
.loc-info ul li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--sage-light);
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--text-mid);
}
.loc-info ul li span:first-child {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft);
}

/* Stylized map */
.loc-map {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--sage-white);
  border: 1px solid var(--sage-light);
  overflow: hidden;
}
.loc-map::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 60% 40%, rgba(212,150,10,.06), transparent 70%),
    repeating-linear-gradient(0deg, rgba(102,125,100,.06) 0, rgba(102,125,100,.06) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(102,125,100,.06) 0, rgba(102,125,100,.06) 1px, transparent 1px, transparent 48px);
}
.loc-map svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.map-label {
  position: absolute;
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-soft);
}
.map-pin-wrap {
  position: absolute;
  top: 48%; left: 58%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.map-pin {
  width: 16px; height: 16px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(212,150,10,.18), 0 0 0 20px rgba(212,150,10,.07);
  animation: pinPulse 2.4s ease-in-out infinite;
}
@keyframes pinPulse {
  0%,100% { box-shadow: 0 0 0 8px rgba(212,150,10,.18), 0 0 0 20px rgba(212,150,10,.07); }
  50%     { box-shadow: 0 0 0 14px rgba(212,150,10,.1),  0 0 0 32px rgba(212,150,10,.04); }
}
.map-pin-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
}
.map-pin-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--amber);
  background: var(--sage-white);
  padding: 4px 12px;
  border: 1px solid rgba(212,150,10,.3);
  white-space: nowrap;
}

/* ======================================================
   CONTACT CTA
====================================================== */
.contact {
  padding: 160px 60px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--sage-mid);
  isolation: isolate;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(255,255,255,.06), transparent 70%);
  pointer-events: none;
}
.contact-eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--sage-white);
  margin-bottom: 28px;
  opacity: .7;
}
.contact-eyebrow::before, .contact-eyebrow::after {
  content: ''; width: 40px; height: 1px; background: var(--sage-white); opacity: .5;
}
.contact h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 90px);
  line-height: .95;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--sage-white);
  white-space: nowrap;
}
.contact h2 em {
  font-family: 'Bebas Neue', sans-serif;
  font-style: normal;
  color: var(--amber-bright);
  font-weight: 400;
}
.contact p {
  font-family: 'Space Mono', monospace;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242,245,241,.75);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.contact-btns {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.btn-big {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 22px 32px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all .25s;
}
.btn-big.primary { background: var(--amber-bright); color: var(--text-dark); font-weight: 700; }
.btn-big.primary:hover { background: var(--sage-white); }
.btn-big.outline { border: 1px solid rgba(242,245,241,.35); color: var(--sage-white); }
.btn-big.outline:hover { border-color: var(--amber-bright); color: var(--amber-bright); }

/* ======================================================
   FOOTER
====================================================== */
footer {
  padding: 60px 40px 36px;
  background: var(--sage-deep);
  border-top: 1px solid rgba(255,255,255,.08);
}
.foot-wrap {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.foot-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: .9;
  letter-spacing: 1px;
  color: var(--sage-white);
}
.foot-brand em { color: var(--amber-bright); font-style: normal; }
.foot-brand + .tagline {
  margin-top: 14px;
  font-family: 'Space Mono', monospace;
  font-style: italic;
  color: var(--sage-soft);
  font-size: 16px;
}
.foot-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 16px;
}
.foot-col p,
.foot-col a {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--sage-soft);
  line-height: 1.9;
  transition: color .25s;
}
.foot-col a:hover { color: var(--sage-white); }
.foot-bot {
  max-width: 1480px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 2px;
  color: var(--sage-soft);
  text-transform: uppercase;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  /* Vaste balk achter de nav, ook op mobiel (zoals de scroll-staat) */
  #nav {
    padding: 14px 20px; gap: 12px;
    background: rgba(242,245,241,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(102,125,100,.15);
  }
  .brand { color: var(--text-dark); text-shadow: none; }
  .nav-burger span { background: var(--text-dark); }
  .nav-cta { font-size: 9px; letter-spacing: 1.5px; padding: 10px 14px; white-space: nowrap; }

  .nav-burger { filter: none; }

  .manifesto,
  .units-section,
  .facilities { padding: 72px 20px; }
  .facilities .head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .fac-cards { grid-template-columns: 1fr 1fr; }
  .fac-card { padding: 24px 18px; gap: 10px; }
  .fac-card-name { font-size: 24px; }
  .fac-card-desc { max-height: none; opacity: 1; }
  .fac-card::after { display: none; }
  .location,
  .contact { padding: 72px 20px; }

  .manifesto,
  .facilities .head,
  .loc-wrap { grid-template-columns: 1fr; gap: 32px; }

  /* Stats: 2x2 blijft maar kleiner */
  .stat-cell { padding: 22px 16px; }
  .stat-num { font-size: 52px; }
  .stat-num span { font-size: 16px; }

  /* Unit cards */
  .units-grid { grid-template-columns: 1fr; }
  .unit-card { min-height: auto; padding: 28px 22px; }
  .unit-size { font-size: 56px; }

  /* Faciliteiten: toon beschrijving ook op mobile */
  .fac-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 14px;
    align-items: start;
    padding: 24px 0;
  }
  .fac-row .num  { grid-column: 1; grid-row: 1; }
  .fac-row .name { grid-column: 2; grid-row: 1; font-size: 26px; color: var(--sage-deep); }
  .fac-row .desc { grid-column: 1 / -1; grid-row: 2; display: block; font-size: 12px; line-height: 1.6; color: var(--text-mid); }
  .fac-row .tag  { display: none; }

  /* Plattegrond */
  .plat-head { grid-template-columns: 1fr; }
  .plat-head-r { flex-direction: column; align-items: flex-start; gap: 14px; }
  .plat-counter-num { font-size: 52px; }
  .plat-admin-btn { display: none; }
  .plat-section { padding: 72px 0 80px; }
  .plat-head { padding: 0 20px 48px; margin: 0; }

  /* Locatie */
  .loc-address { font-size: 40px; }
  .loc-info ul li { grid-template-columns: 80px 1fr; }

  /* Contact */
  .contact-btns { flex-direction: column; width: 100%; }
  .btn-big { width: 100%; justify-content: center; padding: 20px 24px; font-size: 12px; }
  .contact h2 { font-size: clamp(32px, 8vw, 70px); white-space: normal; }
  .contact p { font-size: 18px; }

  /* Hero */
  .hero-meta { left: 20px; right: 20px; bottom: 88px; font-size: 9px; letter-spacing: 2px; }
  .hero-corner { right: 20px; top: 80px; font-size: 9px; }

  /* Footer */
  .foot-wrap { grid-template-columns: 1fr; gap: 26px; }
  .foot-bot { flex-direction: column; gap: 8px; align-items: flex-start; }
  .foot-brand { font-size: 38px; }
  footer { padding: 48px 20px 28px; }

  /* Ruimte voor sticky bel-balk onderaan */
  body { padding-bottom: 76px; }

  /* Hero tekst: hoger plaatsen zodat de kop boven de daklijn uitkomt + groter */
  .hero-text { height: 30vh; }
  .hero-text .line { font-size: clamp(56px, 17vw, 84px); }
  .hero-text .line.l2 { font-size: clamp(25px, 7.5vw, 38px); }

}

/* Sticky bel-balk alleen op mobile */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 900px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: #667d64;
    height: 64px;
    align-items: stretch;
    border-top: 2px solid var(--amber);
  }
  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: background .2s;
  }
  .mobile-cta-bar a:active { background: rgba(255,255,255,.06); }
  .mobile-cta-bar .divider {
    width: 1px;
    background: rgba(255,255,255,.1);
    margin: 14px 0;
  }
  .mobile-cta-bar .wa { color: var(--amber); }
}

/* reveal-on-scroll util */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .22s; }
.reveal.d3 { transition-delay: .32s; }
.reveal.d4 { transition-delay: .42s; }

#tweaks-root { position: fixed; z-index: 10000; }

/* ======================================================
   MOBIELE HAMBURGER + MENU  (alleen <=900px)
====================================================== */
.nav-burger {
  display: none;
  position: relative; z-index: 2;
  width: 44px; height: 44px;
  margin: -6px -8px -6px 0;
  background: transparent; border: 0; padding: 0;
  cursor: pointer; flex-shrink: 0;
}
.nav-burger span {
  position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--sage-white); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, background .3s ease;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
#nav.scrolled .nav-burger span { background: var(--text-dark); }

.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-cta { display: none; }

  body.nav-open #nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
  body.nav-open #nav .brand { color: var(--sage-white); text-shadow: 0 1px 8px rgba(0,0,0,.45); }
  body.nav-open #nav .nav-burger span { background: var(--sage-white); }
  body.nav-open .nav-burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

  .mobile-menu {
    display: flex; position: fixed; inset: 0; z-index: 80;
    flex-direction: column; justify-content: center;
    gap: 2px; padding: 0 28px;
    background: var(--sage-deep);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
  }
  body.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .mobile-cta-bar { display: none; }

  .mobile-menu .mm-link {
    display: flex; align-items: baseline; gap: 16px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(34px, 12vw, 60px); line-height: 1.1; letter-spacing: 1px;
    color: var(--sage-white);
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .mobile-menu .mm-link .idx {
    font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 2px;
    color: var(--amber-bright); transform: translateY(-2px);
  }
  .mobile-menu .mm-link[aria-current="page"] { color: var(--amber-bright); }
  .mobile-menu .mm-funda {
    margin-top: 34px; align-self: flex-start;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 3px;
    text-transform: uppercase; font-weight: 700;
    color: var(--text-dark); background: var(--amber-bright);
    padding: 16px 26px;
  }
}
