:root {
  --navy: #0f2846;
  --navy-2: #173b63;
  --gold: #b08d5b;
  --gold-pale: #eee5d7;
  --ink: #17202b;
  --muted: #626a73;
  --paper: #ffffff;
  --warm: #f6f3ed;
  --line: #d9d6cf;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 18px 50px rgba(15, 40, 70, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.58 var(--sans);
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; background: white; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(15,40,70,.12);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 180px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.confidential { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: white;
  background: var(--navy);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--navy);
}
.button:hover { background: var(--navy-2); }
.button-small { min-height: 40px; font-size: 14px; }

.hero {
  color: white;
  background:
    linear-gradient(115deg, rgba(15,40,70,.98), rgba(15,40,70,.91)),
    radial-gradient(circle at 82% 24%, rgba(176,141,91,.38), transparent 40%);
  padding: 112px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); gap: 80px; align-items: end; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
h1 { max-width: 820px; margin: 0; font-size: clamp(56px, 7.2vw, 100px); line-height: .93; }
h1 em { color: #d8bd92; font-weight: 400; }
.hero-lede { max-width: 700px; margin: 32px 0 0; color: rgba(255,255,255,.82); font-size: 19px; line-height: 1.6; }
.hero-note { padding: 28px 0 4px 28px; border-left: 1px solid rgba(216,189,146,.55); }
.hero-note p { margin: 0; color: rgba(255,255,255,.85); }
.hero-note .note-kicker { margin-bottom: 12px; color: #d8bd92; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.date-line { margin-top: 28px; color: rgba(255,255,255,.54); font-size: 13px; }

.kpi-band { background: var(--warm); border-bottom: 1px solid var(--line); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { min-height: 130px; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; border-left: 1px solid var(--line); }
.kpi:last-child { border-right: 1px solid var(--line); }
.kpi strong { color: var(--navy); font-family: var(--serif); font-size: clamp(34px, 3vw, 48px); font-weight: 400; line-height: 1; }
.kpi span { margin-top: 9px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.section { padding: 96px 0; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
h2 { margin: 0; color: var(--navy); font-size: clamp(42px, 5vw, 66px); line-height: 1.02; }
.intro-copy p { margin: 0 0 20px; font-size: 19px; }
.intro-copy .fine, .fine { color: var(--muted); font-size: 13px; line-height: 1.6; }

.map-section { padding-top: 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 34px; }
.section-heading > p { max-width: 480px; margin: 0 0 8px; color: var(--muted); }
.portfolio-map { height: 510px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-legend { display: flex; gap: 36px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.map-legend a { color: var(--navy); text-decoration: none; font-weight: 600; }
.map-legend span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 9px;
  color: white;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 10px;
}
.map-pin-wrap { background: transparent; border: 0; }
.map-pin {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border: 3px solid #d8bd92;
  border-radius: 50% 50% 50% 10%;
  box-shadow: 0 7px 18px rgba(0,0,0,.32);
  transform: rotate(-45deg);
  font: 700 12px var(--sans);
}
.map-pin span { display: block; transform: rotate(45deg); }
.leaflet-popup-content { font-family: var(--sans); line-height: 1.45; }
.leaflet-popup-content a { color: var(--navy); font-weight: 700; }

.site-profile { padding: 96px 0 108px; border-top: 1px solid var(--line); }
.site-profile-alt { background: var(--warm); }
.profile-header { display: grid; grid-template-columns: 110px 1fr; gap: 30px; align-items: start; margin-bottom: 42px; }
.profile-number { color: var(--gold); font-family: var(--serif); font-size: 76px; line-height: .8; }
.profile-header h2 { font-size: clamp(46px, 5.4vw, 74px); }
.profile-subtitle { margin: 12px 0 0; color: var(--muted); font-size: 16px; }

.visual-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.property-figure, .aerial-card { margin: 0; background: white; border: 1px solid var(--line); overflow: hidden; }
.property-figure img { width: 100%; height: 430px; object-fit: cover; }
.property-figure figcaption, .map-actions { min-height: 58px; display: flex; align-items: center; gap: 16px; padding: 14px 18px; color: var(--muted); font-size: 12px; }
.property-figure figcaption a, .map-actions a { color: var(--navy); font-weight: 700; text-decoration: none; }
.property-figure figcaption a:hover, .map-actions a:hover { text-decoration: underline; }
.aerial-map { height: 430px; }
.map-actions span { margin-right: auto; color: var(--ink); font-weight: 600; }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 54px; border: 1px solid var(--line); background: white; }
.fact-grid > div { min-height: 130px; padding: 24px; border-right: 1px solid var(--line); }
.fact-grid > div:last-child { border-right: 0; }
.fact-grid span, .contact-label { display: block; color: var(--gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.fact-grid strong { display: block; margin-top: 7px; color: var(--navy); font-size: 25px; }
.fact-grid small { display: block; margin-top: 4px; color: var(--muted); }

.analysis-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 70px; row-gap: 0; }
.analysis-block { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.analysis-block h3 { margin: 0 0 10px; color: var(--navy); font-size: 18px; }
.analysis-block p { margin: 0; color: var(--muted); }

.executive-panel {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 70px;
  margin-top: 34px;
  padding: 42px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.executive-panel h3 { margin: 0 0 14px; font: 400 34px/1.15 var(--serif); }
.executive-panel p { margin: 0; color: rgba(255,255,255,.76); }
.contact-card { padding-left: 30px; border-left: 1px solid rgba(216,189,146,.42); }
.contact-card strong, .contact-card small, .contact-card a { display: block; }
.contact-card strong { margin-top: 8px; font-size: 18px; }
.contact-card small { margin-bottom: 12px; color: rgba(255,255,255,.62); }
.contact-card a { color: white; text-decoration: none; }
.contact-card a:hover { color: #d8bd92; }
.contact-card hr { height: 1px; margin: 22px 0; background: rgba(255,255,255,.18); border: 0; }
.contact-links { display: flex; gap: 18px; margin-top: 16px; }
.contact-links a { color: #d8bd92; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.execution { background: white; }
.execution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.execution-grid > div { padding: 30px 26px 34px; border-right: 1px solid var(--line); }
.execution-grid > div:last-child { border-right: 0; }
.execution-grid span { color: var(--gold); font: 400 30px var(--serif); }
.execution-grid h3 { margin: 22px 0 9px; color: var(--navy); font-size: 17px; }
.execution-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.cta { padding: 76px 0; color: white; background: var(--navy); }
.cta-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; }
.cta h2 { max-width: 760px; color: white; }
.cta p:not(.eyebrow) { max-width: 700px; color: rgba(255,255,255,.72); }
.eyebrow-light { color: #d8bd92; }
.cta-contact { padding-left: 30px; border-left: 1px solid rgba(216,189,146,.45); }
.cta-contact span, .cta-contact a { display: block; }
.cta-contact span { color: #d8bd92; font-weight: 700; }
.cta-contact a { margin-top: 8px; color: white; text-decoration: none; }
.sources { padding: 22px 0; background: #091b30; color: rgba(255,255,255,.6); }
.sources p { margin: 0; font-size: 11px; }
.sources a { color: rgba(255,255,255,.78); }

@media (max-width: 900px) {
  .hero-grid, .intro-grid, .section-heading, .executive-panel, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 82px 0 72px; }
  .hero-note { max-width: 620px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-right: 1px solid var(--line); }
  .visual-grid { grid-template-columns: 1fr; }
  .analysis-grid { column-gap: 40px; }
  .contact-card, .cta-contact { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(216,189,146,.42); }
  .execution-grid { grid-template-columns: repeat(2, 1fr); }
  .execution-grid > div:nth-child(2) { border-right: 0; }
  .execution-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 30px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 145px; }
  .confidential { display: none; }
  .button-small { min-height: 38px; padding: 0 14px; }
  .hero { padding: 68px 0 62px; }
  h1 { font-size: 51px; }
  .hero-lede { font-size: 17px; }
  .hero-note { padding-left: 20px; }
  .kpi { min-height: 108px; padding: 18px 16px; }
  .kpi strong { font-size: 30px; }
  .section, .site-profile { padding: 70px 0; }
  h2 { font-size: 42px; }
  .intro-copy p { font-size: 17px; }
  .portfolio-map { height: 420px; }
  .map-legend { flex-direction: column; gap: 14px; }
  .profile-header { grid-template-columns: 62px 1fr; gap: 16px; margin-bottom: 28px; }
  .profile-number { font-size: 52px; }
  .profile-header h2 { font-size: 42px; line-height: 1; }
  .property-figure img, .aerial-map { height: 310px; }
  .map-actions { flex-wrap: wrap; }
  .map-actions span { flex-basis: 100%; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-grid > div:nth-child(2) { border-right: 0; }
  .fact-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact-grid strong { font-size: 21px; }
  .analysis-grid { grid-template-columns: 1fr; }
  .executive-panel { padding: 30px 24px; }
  .executive-panel h3 { font-size: 29px; }
  .execution-grid { grid-template-columns: 1fr; }
  .execution-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .execution-grid > div:last-child { border-bottom: 0; }
  .cta h2 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header { position: static; }
  .button, .map-actions a { display: none; }
  .hero { padding: 50px 0; }
  .section, .site-profile { padding: 48px 0; }
  .portfolio-map, .aerial-map { break-inside: avoid; }
  .site-profile { break-before: page; }
  .executive-panel { break-inside: avoid; }
}
