/* ==========================================================================
   AMBERLEY NORTH · UNIFIED LIGHT ARCHITECTURAL MONOGRAPH STYLESHEET
   Self-hosted WOFF2 fonts (E3) · Zero inline styles (E2: style-src 'self')
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-normal.woff2") format("woff2");
}

:root {
  --paper: #F4F1EA;
  --paper-elevated: #FAF8F4;
  --travertine: #EAE3D8;
  --travertine-deep: #DFD7CA;
  --sheet: #F9F7F2;

  --ink: #0F172A;
  --ink-soft: #1E293B;
  --stone: #5A6270;
  --stone-dim: #7B828E;
  --stone-faint: #949AA4;

  --bronze: #8A6D51;
  --bronze-bright: #A38262;
  --bronze-pale: rgba(138, 109, 81, 0.12);

  --emerald: #1F6E5C;
  --emerald-bright: #288A73;
  --emerald-pale: rgba(31, 110, 92, 0.10);

  --line: rgba(138, 109, 81, 0.16);
  --line-strong: rgba(138, 109, 81, 0.28);

  --glass-bg: rgba(250, 248, 244, 0.72);
  --glass-bg-hover: rgba(252, 251, 248, 0.90);
  --glass-border: rgba(138, 109, 81, 0.20);
  --glass-border-hover: rgba(138, 109, 81, 0.42);
  --glass-inset: inset 0 1px 0 0 rgba(255, 255, 255, 0.90);
  --glass-inset-hover: inset 0 1px 0 0 rgba(255, 255, 255, 1);
  --glass-shadow: 0 20px 50px -14px rgba(15, 23, 42, 0.06), 0 4px 16px -2px rgba(15, 23, 42, 0.025);
  --glass-shadow-hover: 0 28px 60px -14px rgba(15, 23, 42, 0.105), 0 8px 22px -4px rgba(15, 23, 42, 0.04);

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --margin: 20px;
  --gutter: 20px;
  --max: 1400px;
  --header-h: 68px;
  --space: 88px;
  --space-s: 44px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.24s;
  --dur-ui: 0.42s;
  --dur-enter: 0.85s;
  --dur-mask: 1.15s;

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --margin: 40px; --gutter: 24px; --header-h: 74px; --space: 112px; --space-s: 56px; }
}
@media (min-width: 1024px) {
  :root { --margin: 64px; --gutter: 32px; --space: 136px; --space-s: 68px; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 18px);
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: no-preference) {
  html.is-loaded { scroll-behavior: smooth; }
}

body {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(226, 215, 198, 0.45) 0%, transparent 65%),
    radial-gradient(100% 70% at 88% 12%, rgba(208, 222, 214, 0.36) 0%, transparent 60%),
    linear-gradient(180deg, #F5F2EB 0%, #EFEAE0 48%, #F4F1EA 100%);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--travertine-deep); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
[hidden] { display: none !important; }

.mono,
.eyebrow__n,
.kpi-card__val,
.kpi-card__unit,
.spec-val,
.prox-list dd,
.plan__level,
.coord-tag,
.zone-num,
.lightbox__count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
}

/* Fixed Ambient Spatial Layer */
.v2-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.v2-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(115px);
  -webkit-filter: blur(115px);
}
.v2-ambient__orb--warm {
  width: 56vw; height: 56vw; max-width: 840px; max-height: 840px;
  top: -14%; left: -10%;
  background: radial-gradient(circle, rgba(196, 164, 124, 0.22) 0%, rgba(196, 164, 124, 0) 70%);
}
.v2-ambient__orb--cool {
  width: 50vw; height: 50vw; max-width: 760px; max-height: 760px;
  top: 14%; right: -12%;
  filter: blur(125px);
  background: radial-gradient(circle, rgba(64, 118, 102, 0.14) 0%, rgba(64, 118, 102, 0) 70%);
}
.v2-ambient__orb--dusk {
  width: 58vw; height: 58vw; max-width: 880px; max-height: 880px;
  bottom: -18%; left: 20%;
  filter: blur(120px);
  background: radial-gradient(circle, rgba(176, 142, 104, 0.16) 0%, rgba(176, 142, 104, 0) 72%);
}
.v2-ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.22) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.22) 62%, transparent 100%);
}
.v2-ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

main, .header, .footer { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--margin);
}

/* Breathing Status Indicator Dots */
@keyframes v2-breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
    box-shadow: 0 0 0 0 rgba(31, 110, 92, 0.50), 0 0 8px rgba(31, 110, 92, 0.35);
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(31, 110, 92, 0), 0 0 12px rgba(31, 110, 92, 0.65);
  }
}
@keyframes v2-breathe-bronze {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
    box-shadow: 0 0 0 0 rgba(138, 109, 81, 0.50), 0 0 8px rgba(138, 109, 81, 0.35);
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(138, 109, 81, 0), 0 0 12px rgba(138, 109, 81, 0.65);
  }
}
.status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  flex: none;
  animation: v2-breathe 2.8s var(--ease-in-out) infinite;
}
.status-dot--bronze {
  background: var(--bronze);
  animation: v2-breathe-bronze 2.8s var(--ease-in-out) infinite;
}

/* 11–12px Micro-Capsule Eyebrow Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), 0 2px 8px rgba(15, 23, 42, 0.03);
  font: 500 0.71875rem/1.3 var(--font-body);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 18px;
}
.eyebrow--flush { margin-bottom: 6px; }
.eyebrow__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  margin-left: -4px;
  border-radius: 999px;
  background: var(--bronze-pale);
  color: var(--bronze);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.eyebrow__icon {
  width: 13px; height: 13px;
  stroke: var(--bronze);
  stroke-width: 1.6;
  fill: none;
  flex: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }
h2 {
  font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
}
.lede {
  margin-top: 14px;
  font-size: clamp(1.04rem, 0.98rem + 0.32vw, 1.2rem);
  line-height: 1.64;
  color: var(--stone);
  max-width: 42em;
}
.lede--flush { margin-top: 0; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.20);
  background: rgba(250, 248, 244, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-inset), 0 4px 14px rgba(15, 23, 42, 0.04);
  color: var(--ink);
  font: 600 0.75rem/1 var(--font-display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--dur-ui) var(--ease-out);
}
.btn svg {
  width: 15px; height: 15px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  flex: none;
  transition: transform var(--dur-ui) var(--ease-out);
}
.btn:hover {
  transform: translateY(-1.5px);
  background: var(--paper-elevated);
  border-color: var(--bronze);
  box-shadow: var(--glass-inset-hover), 0 12px 26px -6px rgba(15, 23, 42, 0.10);
}
.btn:hover svg { transform: translateX(2px); }

.btn--solid {
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  border-color: rgba(250, 248, 244, 0.16);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.20), 0 10px 26px -4px rgba(15, 23, 42, 0.22);
  color: var(--paper-elevated);
}
.btn--solid:hover {
  background: linear-gradient(180deg, #9A7B56 0%, #7E6245 100%);
  border-color: rgba(250, 248, 244, 0.28);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.32), 0 14px 30px -4px rgba(138, 109, 81, 0.30);
  color: var(--paper-elevated);
}
.btn--small { min-height: 38px; padding: 0 16px; font-size: 0.71875rem; }
.btn--flex { flex: 1; min-width: 240px; }

/* ==========================================================================
   SECTION 1 · LIGHT GLASSMORPHIC NAVIGATION BAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 241, 234, 0.80);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(138, 109, 81, 0.18);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.75), 0 4px 24px rgba(15, 23, 42, 0.035);
}
@supports (animation-timeline: scroll()) {
  .header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--emerald), var(--bronze));
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: an-progress linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes an-progress { to { transform: scaleX(1); } }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.brand:hover {
  opacity: 0.92;
}
.brand__lockup {
  display: inline-flex;
  align-items: center;
}
.brand__logo {
  display: block;
  height: clamp(36px, 4.2vw, 46px);
  width: auto;
  object-fit: contain;
}
.footer__logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 6px;
}
.brand__monogram {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(138, 109, 81, 0.35);
  background: linear-gradient(160deg, #FAF8F4 0%, #EAE3D8 100%);
  box-shadow: var(--glass-inset), 0 2px 6px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font: 700 0.78rem/1 var(--font-display);
  letter-spacing: 0.08em;
  color: var(--ink);
}
.brand__monogram::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 8px; right: 8px;
  height: 1.5px;
  background: var(--bronze);
}
.brand__monogram span { transform: translateY(-2px); }
.brand__word { display: flex; flex-direction: column; }
.brand__name {
  font: 600 0.92rem/1.15 var(--font-display);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__sub {
  font: 500 0.625rem/1.2 var(--font-mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--stone-dim);
  margin-top: 2px;
}
.brand-pill {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.78);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset);
  font: 500 0.6875rem/1 var(--font-mono);
  color: var(--stone);
}
@media (min-width: 1120px) { .brand-pill { display: inline-flex; } }

.nav { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.75);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  font: 500 0.71875rem/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav__list a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  text-decoration: none;
  font: 500 0.76rem/1 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color var(--dur-fast) ease;
}
.nav__list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 3px;
  height: 1.5px;
  background: var(--bronze);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease-out);
}
.nav__list a:not(.btn):hover,
.nav__list a:not(.btn)[aria-current="true"] {
  color: var(--ink);
}
.nav__list a:not(.btn):hover::after,
.nav__list a:not(.btn)[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

@media (max-width: 920px) {
  .nav__list {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px var(--margin) 28px;
    background: rgba(244, 241, 234, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__list { display: flex; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list li:last-child { border-bottom: 0; padding-top: 16px; }
  .nav__list a:not(.btn) { display: block; padding: 15px 0; font-size: 0.95rem; }
  .nav__list .btn { width: 100%; }
}
@media (min-width: 921px) {
  .nav__toggle { display: none; }
}

/* ==========================================================================
   SECTION 2 · LIGHT ARCHITECTURAL HERO SECTION + REAL ESTATE PHOTOGRAPHY
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}
.hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.hero__meta-row .eyebrow { margin-bottom: 0; }
.coord-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.65);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--stone-dim);
}

.hero__main-grid {
  display: grid;
  gap: 32px;
  align-items: end;
}
@media (min-width: 1024px) {
  .hero__main-grid {
    grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr);
    gap: 44px;
  }
}

.hero__title {
  font-size: clamp(2.15rem, 1.45rem + 2.8vw, 3.65rem);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero__title-accent { color: var(--bronze); }
.hero__sub {
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.14rem);
  line-height: 1.72;
  color: var(--stone);
  margin-bottom: 24px;
}
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  list-style: none;
}
.status li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), 0 4px 12px rgba(15, 23, 42, 0.03);
  font: 500 0.6875rem/1.2 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stone);
}
.status li strong { color: var(--ink); font-weight: 600; }

/* Key Metrics Strip (4 Translucent Light Bento Stat Cards) */
.kpi-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
@media (max-width: 540px) {
  .kpi-bento { grid-template-columns: 1fr; }
}
@media (min-width: 960px) {
  .kpi-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}
.kpi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  transition: all var(--dur-ui) var(--ease-out);
}
.kpi-card:hover {
  transform: translateY(-2.5px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-inset-hover), var(--glass-shadow-hover);
}
.kpi-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.kpi-card__tag {
  font: 500 0.6875rem/1.2 var(--font-mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--stone-dim);
}
.kpi-card__icon {
  width: 17px; height: 17px;
  stroke: var(--bronze);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.9;
}
.kpi-card__val {
  font-size: clamp(1.75rem, 1.4rem + 1.15vw, 2.35rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.kpi-card__unit {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bronze);
  margin-left: 3px;
}
.kpi-card__title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.kpi-card__desc {
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--stone-dim);
}

/* Full-Width Hero Architectural Photography Frame */
.hero__figure { margin-top: 28px; }
.fig__link { display: block; text-decoration: none; cursor: zoom-in; }
.fig__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8.2;
  background: var(--travertine);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  overflow: hidden;
  transition: border-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
.fig__link:hover .fig__frame {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-inset-hover), var(--glass-shadow-hover);
}
.fig__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out);
}
.fig__link:hover .fig__frame img { transform: scale(1.028); }
.fig__badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(138, 109, 81, 0.28);
  box-shadow: var(--glass-inset);
  color: var(--ink);
  font: 500 0.6875rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fig__caption {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.79rem;
  color: var(--stone-dim);
  padding-inline: 4px;
}

/* ==========================================================================
   SECTION 3 · PRECINCT MASTERPLAN VISION (#precincts)
   ========================================================================== */
.section { position: relative; padding-block: var(--space); }
.section--alt {
  background: linear-gradient(180deg, rgba(234, 227, 216, 0.68) 0%, rgba(228, 220, 208, 0.80) 50%, rgba(234, 227, 216, 0.68) 100%);
  border-top: 1px solid rgba(138, 109, 81, 0.16);
  border-bottom: 1px solid rgba(138, 109, 81, 0.16);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.75);
}

.section__head-split {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}
@media (min-width: 1024px) {
  .section__head-split {
    grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
    align-items: end;
    gap: var(--gutter);
  }
}

.delivery-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  margin-bottom: 28px;
}
.delivery-ribbon__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.875rem/1.3 var(--font-display);
  color: var(--ink);
}
.delivery-ribbon__label svg {
  width: 17px; height: 17px;
  stroke: var(--bronze);
  stroke-width: 1.65;
  fill: none;
}
.delivery-ribbon__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.delivery-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.045);
  border: 1px solid rgba(15, 23, 42, 0.09);
  font: 500 0.6875rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.precinct-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 32px;
}
@media (min-width: 960px) {
  .precinct-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.zone-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--dur-ui) var(--ease-out);
}
.zone-card:hover,
.zone-card.is-active {
  transform: translateY(-3px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-inset-hover), var(--glass-shadow-hover);
}
.zone-card.is-active {
  border-color: var(--bronze);
  box-shadow: inset 0 1px 0 0 #fff, 0 0 0 1px rgba(138, 109, 81, 0.25), var(--glass-shadow-hover);
}
.zone-card__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--travertine);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.zone-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out);
}
.zone-card:hover .zone-card__photo img { transform: scale(1.045); }
.zone-card__photo-pill {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 109, 81, 0.28);
  box-shadow: var(--glass-inset);
  font: 600 0.6875rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
}
.zone-card__photo-pill--emerald {
  color: var(--emerald);
  border-color: rgba(31, 110, 92, 0.28);
}
.zone-card__zoom-btn {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(138, 109, 81, 0.26);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  transition: transform var(--dur-fast) ease, background var(--dur-fast) ease;
}
.zone-card__zoom-btn:hover { transform: scale(1.08); background: #fff; }
.zone-card__zoom-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}
.zone-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.zone-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.26;
  color: var(--ink);
  margin-bottom: 10px;
}
.zone-card__desc {
  font-size: 0.91rem;
  line-height: 1.64;
  color: var(--stone);
  margin-bottom: 20px;
}
.zone-card__specs {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.spec-key {
  display: block;
  font: 500 0.64rem/1.3 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stone-dim);
  margin-bottom: 2px;
}
.spec-val { font-size: 0.78rem; font-weight: 600; color: var(--ink); }

/* Interactive Light-Paper Masterplan Cadastre Stage */
.cadastre-stage {
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(135%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
}
.cadastre-stage__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cadastre-stage__pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(234, 227, 216, 0.75);
  border: 1px solid rgba(138, 109, 81, 0.18);
}
.cadastre-pill {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  font: 500 0.71875rem/1 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--stone);
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}
.cadastre-pill:hover { color: var(--ink); }
.cadastre-pill.is-active {
  background: var(--paper-elevated);
  color: var(--ink);
  border-color: rgba(138, 109, 81, 0.28);
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(15, 23, 42, 0.06);
}

.plan__tools { display: flex; align-items: center; gap: 6px; }
.plan__tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--paper-elevated);
  box-shadow: var(--glass-inset);
  font: 500 0.7rem/1 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}
.plan__tools button svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}
.plan__tools button:hover:not(:disabled) { border-color: var(--bronze); transform: translateY(-1px); }
.plan__tools button:disabled { opacity: 0.38; cursor: default; }
.plan__level {
  min-width: 5.2em;
  text-align: right;
  font-size: 0.72rem;
  color: var(--stone);
  margin-right: 4px;
}

.plan__viewport {
  position: relative;
  aspect-ratio: 16 / 8.6;
  min-height: 340px;
  overflow: hidden;
  background: var(--sheet);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  touch-action: pan-x pan-y;
}
.plan.is-zoomed .plan__viewport { overflow: auto; cursor: grab; }
.plan.is-dragging .plan__viewport { cursor: grabbing; user-select: none; }
.plan__stage {
  position: relative;
  width: 100%; height: 100%;
  min-height: 340px;
  transition: width 0.22s var(--ease-out);
}
.plan__svg { display: block; width: 100%; height: 100%; }
.zone-poly { transition: fill-opacity 0.28s ease, stroke-width 0.28s ease; cursor: pointer; }
.zone-poly.is-highlighted { fill-opacity: 0.28 !important; stroke-width: 2.5px !important; }

.cadastre-readout {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(234, 227, 216, 0.65);
  border: 1px solid rgba(138, 109, 81, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--stone);
}
.cadastre-readout strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   SECTION 4 · STRATEGIC LOCATION & INFRASTRUCTURE HIGHLIGHTS (#connectivity)
   ========================================================================== */
.connectivity-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1024px) {
  .connectivity-layout {
    grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr);
    gap: 40px;
  }
}

.connectivity-bullets { list-style: none; display: grid; gap: 12px; }
.connectivity-bullet {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  transition: all var(--dur-fast) var(--ease-out);
}
.connectivity-bullet:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(3px);
  background: var(--glass-bg-hover);
}
.connectivity-bullet__icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--bronze-pale);
  border: 1px solid rgba(138, 109, 81, 0.24);
  color: var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
}
.connectivity-bullet__icon svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
}
.connectivity-bullet__text {
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.52;
  color: var(--ink);
}

.prox-card {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(135%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  padding: 22px 24px;
}
.prox-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.prox-card__origin { font-size: 0.72rem; color: var(--stone-dim); }
.prox-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--emerald-pale);
  border: 1px solid rgba(31, 110, 92, 0.24);
  color: var(--emerald);
  font: 600 0.6875rem/1.2 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.prox-card__badge svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}
.prox-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 8px;
  margin-inline: -8px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-fast) ease;
}
.prox-list > div:last-child { border-bottom: 0; padding-bottom: 2px; }
.prox-list > div:hover { background: rgba(250, 248, 244, 0.88); }
.prox-list dt { display: flex; flex-direction: column; gap: 1px; }
.prox-list dt strong { font-weight: 500; font-size: 0.89rem; color: var(--ink); }
.prox-list dt span { font-size: 0.75rem; color: var(--stone-dim); }
.prox-list dd { text-align: right; flex: none; }
.prox-list dd strong { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.prox-list dd span { font-size: 0.7rem; color: var(--emerald); }

/* Warm Light Cartographic Map Stage Centered on -27.600, 152.685 */
.carto-stage {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
}
.carto-stage__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.carto-stage__tag { font-size: 0.7rem; color: var(--bronze); }
.carto-stage__frame {
  position: relative;
  aspect-ratio: 1200 / 860;
  min-height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sheet);
  border: 1px solid var(--glass-border);
}
.carto-pane { width: 100%; height: 100%; display: none; }
.carto-pane.is-active { display: block; }
.carto-stage__foot {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font: 500 0.72rem/1.4 var(--font-mono);
  color: var(--stone-dim);
}

/* ==========================================================================
   SECTION 5 · CONFIDENTIAL ENQUIRY FORM & LIGHT INSTITUTIONAL FOOTER
   ========================================================================== */
.enquire-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}
@media (min-width: 1024px) {
  .enquire-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }
}

.enquire__privileges {
  margin-top: 24px;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
}
.enquire__privileges > div {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.enquire__privileges > div:last-child { border-bottom: 0; }
.enquire__privileges dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.enquire__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bronze-pale);
  font: 600 0.6875rem/1.2 var(--font-mono);
  color: var(--bronze);
}
.enquire__privileges dd {
  padding-left: 34px;
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.52;
  color: var(--stone);
}

.form-card {
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  display: grid;
  gap: 18px;
}
.form-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.form-card__title { font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.form-card__loc { font-size: 0.72rem; color: var(--stone-dim); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 7px; }
.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
}
.field__note {
  font: 500 0.6875rem/1 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--stone-dim);
}
.input-shell { position: relative; display: flex; align-items: center; }
.input-shell__icon {
  position: absolute;
  left: 14px;
  width: 15px; height: 15px;
  stroke: var(--stone-dim);
  stroke-width: 1.6;
  fill: none;
  pointer-events: none;
  transition: stroke var(--dur-fast) ease;
}
.field input, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 15px 11px 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(138, 109, 81, 0.28);
  background: rgba(250, 248, 244, 0.86);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  transition: all var(--dur-fast) ease;
}
.field textarea {
  padding-left: 15px;
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}
.field input:hover, .field textarea:hover {
  border-color: rgba(138, 109, 81, 0.48);
  background: var(--paper-elevated);
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 110, 92, 0.14), inset 0 1px 0 #fff;
}
.input-shell:focus-within .input-shell__icon { stroke: var(--emerald); }

.segmented-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  border-radius: var(--radius-md);
  background: rgba(234, 227, 216, 0.72);
  border: 1px solid rgba(138, 109, 81, 0.22);
}
@media (max-width: 600px) {
  .segmented-roles { grid-template-columns: 1fr; }
}
.role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--stone);
  font: 500 0.8rem/1.2 var(--font-body);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.role-pill svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  flex: none;
}
.role-pill:hover { color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.role-pill[aria-checked="true"] {
  background: var(--paper-elevated);
  color: var(--ink);
  border-color: rgba(138, 109, 81, 0.35);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(15, 23, 42, 0.07);
}
.role-pill[aria-checked="true"] svg { stroke: var(--bronze); }

/* Custom Accessible Checkbox for APP Privacy Consent (B9) */
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(250, 248, 244, 0.62);
  border: 1px solid rgba(138, 109, 81, 0.18);
}
.check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 5px;
  border: 1px solid rgba(138, 109, 81, 0.45);
  background: var(--paper-elevated);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.check input[type="checkbox"]::after {
  content: "";
  width: 10px; height: 5.5px;
  border-left: 1.8px solid var(--paper-elevated);
  border-bottom: 1.8px solid var(--paper-elevated);
  transform: translateY(-1.5px) rotate(-45deg);
  opacity: 0;
}
.check input[type="checkbox"]:checked {
  background: var(--emerald);
  border-color: var(--emerald);
}
.check input[type="checkbox"]:checked::after { opacity: 1; }
.check label {
  font-weight: 400;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--stone);
  display: block;
}
.check label a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form__actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.form__status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.55;
}
.form__status.is-visible { display: block; }
.form__status--ok {
  background: rgba(31, 110, 92, 0.08);
  border: 1px solid rgba(31, 110, 92, 0.26);
  border-left: 3px solid var(--emerald);
  color: var(--ink);
}
.form__status--err {
  background: rgba(158, 59, 40, 0.08);
  border: 1px solid rgba(158, 59, 40, 0.26);
  border-left: 3px solid #9E3B28;
  color: #9E3B28;
}

/* ==========================================================================
   LIGHT TRAVERTINE INSTITUTIONAL FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 44px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(244, 241, 234, 0.55) 0%, rgba(234, 227, 216, 0.88) 100%);
}
.footer__mark {
  container-type: inline-size;
  margin-bottom: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(18px, 2.5vw, 32px);
}
.wordmark {
  display: flex;
  justify-content: space-between;
  font: 700 clamp(2.1rem, 7.1vw, 6.4rem)/0.88 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(138, 109, 81, 0.16);
  white-space: nowrap;
  user-select: none;
}
@supports (width: 1cqi) {
  .wordmark { font-size: calc(100cqi / 9.2); }
}
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
    gap: 44px;
  }
}
.footer__entity { display: grid; gap: 12px; }
.footer__kv span {
  display: block;
  font: 500 0.65rem/1.3 var(--font-mono);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 2px;
}
.footer__kv strong { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.footer__kv a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(138, 109, 81, 0.45);
  text-underline-offset: 0.22em;
}
.footer__disclaimer {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(250, 248, 244, 0.62);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset);
  font-size: 0.8125rem;
  line-height: 1.66;
  color: var(--stone);
  font-style: italic;
}
.footer__fineprint {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(138, 109, 81, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--stone-faint);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__links button,
.footer__links a {
  background: none;
  border: 0;
  padding: 0;
  color: var(--stone-dim);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.footer__links button:hover,
.footer__links a:hover { color: var(--bronze); }

/* ==========================================================================
   NATIVE <dialog> LIGHTBOX & PRIVACY MODAL
   ========================================================================== */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--ink);
}
.lightbox::backdrop { background: rgba(244, 241, 234, 0.92); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h); padding-inline: var(--margin);
  border-bottom: 1px solid var(--line);
}
.lightbox__actions { display: flex; gap: 8px; }
.lightbox__stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px var(--margin);
  min-height: 0;
  overflow: hidden;
}
.lightbox__stage img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-hover);
}
.lightbox__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 12px var(--margin);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--stone);
}
.lightbox__note { font-size: 0.72rem; color: var(--stone-dim); }

.modal-dialog {
  width: min(92vw, 50rem);
  max-height: 86vh;
  margin: auto;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border-hover);
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(24px);
  color: var(--ink);
  box-shadow: var(--glass-inset), 0 32px 80px rgba(15, 23, 42, 0.18);
}
.modal-dialog::backdrop {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
}
.modal-dialog__head,
.modal-dialog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.modal-dialog__title { font-family: var(--font-display); font-size: 1.05rem; }
.modal-dialog__foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(234, 227, 216, 0.55);
}
.modal-dialog__email { font-size: 0.75rem; color: var(--stone); }
.modal-dialog__body {
  padding: 24px;
  overflow-y: auto;
  max-height: 64vh;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone);
}
.modal-dialog__body h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 16px 0 6px;
}
.modal-dialog__body h3:first-child { margin-top: 0; }
.modal-dialog__fineprint { margin-top: 14px; font-size: 0.75rem; color: var(--stone-faint); }

/* Standalone Legal / 404 Page Helpers */
.legal-card {
  max-width: 54rem;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
}
.legal-card h1 {
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.65rem);
  margin-bottom: 12px;
}
.legal-card h2 {
  font-size: 1.2rem;
  margin: 26px 0 8px;
}
.legal-card p, .legal-card li {
  color: var(--stone);
  font-size: 0.93rem;
  line-height: 1.7;
}
.legal-card ul { padding-left: 20px; margin-top: 6px; }
.legal-card__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Choreographed Opening & Scroll Reveal Animations */
.mask { display: block; overflow: hidden; padding-block: 0.04em 0.1em; margin-block: -0.04em -0.1em; }
.mask > span { display: block; }

@keyframes an-fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes an-unveil { from { clip-path: inset(100% 0 0 0); } }
@keyframes an-settle { from { transform: scale(1.08); } }

@media (prefers-reduced-motion: no-preference) {
  .hero__meta-row { animation: an-fade-up var(--dur-enter) var(--ease-out) 60ms both; }
  .hero__title { animation: an-fade-up 1s var(--ease-out) 160ms both; }
  .hero__aside { animation: an-fade-up 1s var(--ease-out) 280ms both; }
  .status li { animation: an-fade-up var(--dur-enter) var(--ease-out) 380ms both; }
  .kpi-bento { animation: an-fade-up var(--dur-enter) var(--ease-out) 480ms both; }
  .hero__figure .fig__frame { animation: an-unveil 1.35s var(--ease-out) 260ms both; }
  .hero__figure .fig__frame img { animation: an-settle 2.3s var(--ease-out) 260ms both; }

  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  html.js [data-reveal].is-in { opacity: 1; transform: none; }
  html.js [data-reveal="mask"] { opacity: 1; transform: none; }

  html.js [data-reveal="mask"] .mask > span {
    transform: translateY(108%);
    transition: transform var(--dur-mask) var(--ease-out) var(--d, 0ms);
  }
  html.js [data-reveal="mask"].is-in .mask > span { transform: none; }
}

/* A4 @media print Executive Summary Brochure */
@page { size: A4; margin: 12mm 14mm; }
@media print {
  html, body { background: #FAF8F5 !important; color: #0F172A !important; font-size: 9.5pt !important; }
  .v2-ambient, .header, .hero__actions, .plan__tools, .cadastre-stage__pills, .footer__mark, .footer__links, .lightbox, .modal-dialog { display: none !important; }
  .kpi-card, .zone-card, .prox-card, .form-card { box-shadow: none !important; border: 1px solid #ccc !important; background: #fff !important; break-inside: avoid; }
  html.js [data-reveal], html.js [data-reveal] * { opacity: 1 !important; transform: none !important; animation: none !important; }
}
