/* ============================================================
   Woodlake Properties — Corporate Site
   Color study: mineral blue + limestone + sea-glass accents.
   Editorial, institutional, and contemporary.
   Fonts: Sentient (display serif) + Switzer (body grotesk) via Fontshare.
   ============================================================ */

/* ---- Tokens ---- */
:root {
  /* Brand — mineral blue */
  --forest: #1d3039;
  --forest-2: #29434d;
  --forest-deep: #14242b;
  --moss: #38535a;
  --sage: #739295;
  --lime: #a7bbb5;
  --lime-soft: #c4d1cc;
  --champagne: #8f7952;
  --champagne-soft: #cbbd9c;

  /* Neutrals — cream / stone */
  --cream: #f7f1e3;         /* warm cream background */
  --cream-2: #fbf7ee;       /* lighter cream surface */
  --stone: #efe8d6;         /* stone panel */
  --stone-line: #ddd3bd;    /* borders on cream */
  --white: #ffffff;

  /* Text */
  --ink: #202a2d;
  --ink-muted: #596467;
  --ink-faint: #879194;
  --on-forest: #f4efe3;
  --on-forest-muted: #becbc8;

  /* Semantic */
  --error: #a4472e;
  --success: #4d7777;

  /* Type */
  --font-display: "Sentient", Georgia, "Times New Roman", serif;
  --font-body: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-hero: clamp(2.6rem, 6vw, 5rem);
  --text-2xl: clamp(2rem, 4vw, 3.25rem);
  --text-xl: clamp(1.5rem, 2.6vw, 2.1rem);
  --text-lg: clamp(1.2rem, 1.8vw, 1.45rem);
  --text-md: 1.0625rem;
  --text-sm: 0.9375rem;
  --text-xs: 0.8125rem;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  --maxw: 1200px;
  --radius: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(24,36,23,0.06);
  --shadow-md: 0 8px 30px rgba(24,36,23,0.10);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* role mappings (light) */
  --bg: var(--cream);
  --surface: var(--cream-2);
  --panel: var(--stone);
  --line: var(--stone-line);
  --text: var(--ink);
  --text-muted: var(--ink-muted);
}

/* ---- Dark theme (brand-first light is primary; dark is subdued) ---- */
[data-theme="dark"] {
  --bg: #10181c;
  --surface: #162127;
  --panel: #1d2b31;
  --line: #31434a;
  --text: #e7ebea;
  --text-muted: #a8b6b6;
  --ink: #e7ebea;
  --ink-muted: #a8b6b6;
  --cream: #10181c;
  --cream-2: #162127;
  --stone: #1d2b31;
  --stone-line: #31434a;
  --forest: #0e1b21;
  --forest-2: #182b33;
  --on-forest: #edf3f1;
  --on-forest-muted: #afc1bf;
  --white: #162127;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
p { max-width: 68ch; }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--champagne);
}
[data-theme="dark"] .eyebrow { color: var(--champagne-soft); }
.lede { font-size: var(--text-lg); color: var(--text-muted); line-height: 1.55; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section { padding: var(--space-7) 0; }
.section--tight { padding: var(--space-6) 0; }
.stack > * + * { margin-top: var(--space-3); }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--forest); color: var(--on-forest);
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- Focus states ---- */
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 3px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 44px; padding: 0.7rem 1.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  letter-spacing: 0.01em; border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  border: 1.5px solid transparent; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn--primary { background: var(--forest); color: var(--on-forest); }
.btn--primary:hover { background: var(--forest-2); }
.btn--lime { background: var(--lime); color: var(--forest-deep); }
.btn--lime:hover { background: var(--sage); color: var(--white); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--forest); background: var(--forest); color: var(--on-forest); }
.btn--ghost-light { background: transparent; color: var(--on-forest); border-color: rgba(242,236,221,0.35); }
.btn--ghost-light:hover { background: rgba(242,236,221,0.12); border-color: var(--on-forest); }
.btn--lg { min-height: 52px; padding: 0.9rem 1.9rem; font-size: var(--text-md); }
.btn .ext-ico { width: 15px; height: 15px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream-2);
  color: var(--ink);
  border-bottom: 1px solid var(--stone-line);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; color: var(--on-forest); }
.brand-logo-primary { width: 68px; height: 68px; object-fit: contain; flex-shrink: 0; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-desktop a { font-size: var(--text-sm); font-weight: 500; color: var(--ink); padding: 0.4rem 0; position: relative; }
.nav-desktop a::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
.site-header .nav-desktop a::after { background: var(--champagne); }

.header-utils { display: none; align-items: center; gap: 0.5rem; }
.util-btn {
  min-height: 40px; padding: 0.45rem 0.9rem; font-size: var(--text-xs); font-weight: 600;
  border-radius: var(--radius); border: 1px solid var(--stone-line); color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.4rem; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.util-btn:hover { background: var(--stone); border-color: var(--forest-2); }
.util-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.theme-toggle { min-width: 40px; min-height: 40px; justify-content: center; padding: 0.4rem; }
.theme-toggle svg { width: 18px; height: 18px; }

.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); border-radius: var(--radius); }
.menu-btn:hover { background: var(--stone); }
.menu-btn svg { width: 24px; height: 24px; }
[data-theme="dark"] .site-header .brand-logo-primary { filter: invert(1); }

/* mobile drawer */
.nav-mobile {
  position: fixed; inset: 0; z-index: 150; background: var(--forest);
  padding: 5.5rem clamp(1.5rem,6vw,3rem) 3rem; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--on-forest); padding: 0.6rem 0; border-bottom: 1px solid rgba(242,236,221,0.12); }
.nav-mobile-utils { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.nav-mobile-utils .btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-mobile .close-btn { position: absolute; top: 1.4rem; right: clamp(1.25rem,4vw,2.5rem); width: 44px; height: 44px; color: var(--on-forest); display:flex; align-items:center; justify-content:center; }
.nav-mobile .close-btn svg { width: 26px; height: 26px; }

@media (min-width: 940px) {
  .nav-desktop { display: block; }
  .header-utils { display: flex; }
  .menu-btn { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; background: var(--forest-deep); color: var(--on-forest); overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
.hero-grid--full { width: 100%; }
.hero-content { padding: var(--space-6) clamp(1.25rem, 4vw, 2.5rem); }
.hero h1 { color: var(--on-forest); max-width: 14ch; }
.hero .eyebrow { color: var(--champagne-soft); }
.hero .hero-brand-title { max-width: 12ch; }
.hero .hero-descriptor { display: block; margin-top: var(--space-4); }
.hero .hero-tagline {
  font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--on-forest); font-size: clamp(1.55rem, 3.2vw, 2.35rem); max-width: 18ch; margin-top: var(--space-3);
}
.hero-lede { font-size: var(--text-lg); color: var(--on-forest-muted); max-width: 46ch; margin-top: var(--space-3); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: var(--space-4); }
.hero-media { position: relative; min-height: 340px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide figcaption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  padding: 0.45rem 0.7rem; border-radius: var(--radius);
  background: rgba(15,29,34,0.72); color: #fff; backdrop-filter: blur(5px);
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-media::after {
  content:""; position:absolute; inset:0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,36,43,0.05), rgba(20,36,43,0.32));
}
.hero-slideshow-controls {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 3;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem; border-radius: 999px;
  background: rgba(15,29,34,0.72); backdrop-filter: blur(5px);
}
.hero-dot {
  width: 44px; height: 44px; position: relative; border-radius: 999px;
}
.hero-dot::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%,-50%);
  background: rgba(255,255,255,0.48); transition: transform .2s var(--ease), background .2s var(--ease);
}
.hero-dot.is-active::after { background: #fff; transform: translate(-50%,-50%) scale(1.35); }
.hero-pause {
  min-height: 44px; padding: 0 0.75rem; border-radius: 999px;
  color: #fff; font-size: var(--text-xs); font-weight: 600;
}
.hero-pause:hover, .hero-dot:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 600px) {
  .hero-slide figcaption { top: 0.8rem; bottom: auto; left: 0.8rem; }
  .hero-slideshow-controls { left: 50%; right: auto; bottom: 0.75rem; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-5); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid rgba(242,236,221,0.18); }
.stat .stat-num { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.9rem); line-height:1; color: var(--champagne-soft); }
.stat .stat-num--since { font-size: clamp(1.45rem,2.7vw,2.2rem); white-space: nowrap; }
.stat .stat-label { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-forest-muted); margin-top: 0.5rem; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0,46fr) minmax(0,54fr); }
  .hero-content {
    display: flex; flex-direction: column; justify-content: center;
    padding: var(--space-7) clamp(3rem,4vw,5rem) var(--space-7) clamp(3rem,8vw,9rem);
  }
  .hero-media { min-height: 760px; }
}
@media (min-width: 860px) and (max-width: 1199px) {
  .hero-grid { grid-template-columns: minmax(0,49fr) minmax(0,51fr); }
  .hero-content { padding-left: 2.25rem; padding-right: 2.25rem; }
  .hero h1 { font-size: clamp(3.4rem,6vw,4.2rem); }
  .hero-cta .btn { padding-left: 1.15rem; padding-right: 1.15rem; }
}

/* ============================================================
   Sections / editorial
   ============================================================ */
.section-head { max-width: 60ch; margin-bottom: var(--space-5); }
.section-head .eyebrow { display:block; margin-bottom: 0.9rem; }
.section-head p { color: var(--text-muted); margin-top: var(--space-2); font-size: var(--text-lg); }
.section-head-with-action {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-4); margin-bottom: var(--space-5);
}
.section-head-with-action > div { max-width: 60ch; }
@media (max-width: 700px) {
  .section-head-with-action { align-items: flex-start; flex-direction: column; }
}

.split { display: grid; grid-template-columns: 1fr; gap: var(--space-5); align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .split--wide-left { grid-template-columns: 1.2fr 0.8fr; } }
.split figure { border-radius: var(--radius-lg); overflow: hidden; }
.split figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
figcaption { font-size: var(--text-xs); color: var(--text-muted); padding-top: 0.6rem; }

/* approach list — NOT identical feature cards; editorial numbered rows */
.approach { border-top: 1px solid var(--line); }
.approach-item { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.approach-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--champagne); line-height: 1; }
[data-theme="dark"] .approach-num { color: var(--champagne-soft); }
.approach-item h3 { font-size: var(--text-lg); margin-bottom: 0.4rem; }
.approach-item p { color: var(--text-muted); font-size: var(--text-md); }
@media (min-width: 720px) {
  .approach-item { grid-template-columns: 2.5rem 16rem 1fr; gap: var(--space-4); align-items: baseline; }
}

/* ============================================================
   Portfolio preview / cards
   ============================================================ */
.portfolio-band { background: var(--forest); color: var(--on-forest); }
.portfolio-band h2, .portfolio-band .section-head p { color: var(--on-forest); }
.portfolio-band .section-head p { color: var(--on-forest-muted); }
.portfolio-band .eyebrow { color: var(--champagne-soft); }

.preview-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 640px) { .preview-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .preview-grid { grid-template-columns: repeat(4,1fr); } }

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: var(--space-4); }
.search-wrap { position: relative; flex: 1 1 240px; min-width: 200px; }
.search-wrap svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.search-input { width: 100%; min-height: 46px; padding: 0.6rem 1rem 0.6rem 2.6rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.search-input:focus-visible { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px rgba(120,143,82,0.25); }
.chip {
  min-height: 44px; padding: 0.5rem 1.05rem; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--surface); font-size: var(--text-sm); font-weight: 600; color: var(--text-muted);
  transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: 0.4rem;
}
.chip:hover { border-color: var(--sage); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--champagne); }

.results-meta { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-3); }

.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(3,1fr); } }

.p-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.p-card:hover { border-color: var(--sage); transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* typographic branded placeholder header */
.p-card-visual {
  position: relative; aspect-ratio: 5/3; background: var(--forest);
  display: flex; align-items: flex-end; padding: 1.1rem; overflow: hidden;
}
.p-card-visual.tone-0 { background: linear-gradient(150deg, #1d3039, #29434d); }
.p-card-visual.tone-1 { background: linear-gradient(150deg, #29434d, #38535a); }
.p-card-visual.tone-2 { background: linear-gradient(150deg, #14242b, #29434d); }
.p-card-visual.tone-3 { background: linear-gradient(150deg, #38535a, #506a70); }
.p-card-visual.has-photo { background: var(--forest); }
.p-card-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.p-card:hover .p-card-photo { transform: scale(1.035); }
.p-card-photo-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,29,16,0.72) 0%, rgba(15,29,16,0.06) 62%);
}
.p-card-mark {
  position: absolute; top: -12px; right: -6px; font-family: var(--font-display);
  font-size: 6.5rem; line-height: 1; color: rgba(157,184,95,0.16); user-select: none; pointer-events: none;
}
.p-card-visual .wl-corner { display: none; }
.p-card-state-tag { position: relative; z-index:1; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-soft); font-weight: 600; }
.p-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.p-card h3 { font-size: 1.2rem; line-height: 1.15; }
.p-card .p-loc { font-size: var(--text-sm); color: var(--text-muted); margin-top: 0.4rem; display:flex; align-items:center; gap:0.4rem; }
.p-card .p-loc svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--sage); }
.p-card-type {
  display: inline-flex; align-items: center; align-self: flex-start;
  margin-top: 0.65rem; padding: 0.3rem 0.55rem;
  border: 1px solid var(--stone-line); border-radius: 999px;
  color: var(--ink-muted); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.p-card-action { margin-top: auto; padding-top: var(--space-3); }
.former-status { margin-top: auto; padding-top: var(--space-3); color: var(--ink-muted); font-size: var(--text-sm); font-weight: 600; }
.former-assets-section { background: var(--stone); border-top: 1px solid var(--stone-line); }
.p-card-link {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 600; font-size: var(--text-sm);
  color: var(--forest); border-bottom: 2px solid transparent; align-self: flex-start; transition: border-color .2s var(--ease), gap .2s var(--ease);
}
[data-theme="dark"] .p-card-link { color: var(--lime); }
.p-card-link:hover { border-color: currentColor; gap: 0.75rem; }
.p-card-link svg { width: 15px; height: 15px; }

/* ============================================================
   Footprint / live map
   ============================================================ */
.map-wrap { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: center; }
@media (min-width: 860px) { .map-wrap { grid-template-columns: 1.3fr 0.7fr; gap: var(--space-6); } }
.live-map {
  min-height: 420px; width: 100%; overflow: hidden; z-index: 0;
  background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.live-map .leaflet-tile-pane { filter: saturate(0.38) contrast(0.92) brightness(1.05); }
[data-theme="dark"] .live-map .leaflet-tile-pane { filter: saturate(0.3) contrast(0.9) brightness(0.66); }
.live-map .leaflet-control-zoom a {
  color: var(--forest); background: var(--cream-2); border-color: var(--line);
}
.live-map .leaflet-control-attribution {
  background: rgba(247,241,227,0.82); color: var(--ink-muted); font-size: 10px;
}
.market-marker { background: transparent; border: 0; }
.market-marker__pin {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--forest); color: var(--champagne-soft);
  border: 2px solid var(--cream-2); box-shadow: 0 5px 16px rgba(20,36,43,0.3);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.market-marker__pin:hover { transform: scale(1.08); }
.market-marker__pin.active { background: var(--champagne); color: var(--forest-deep); }
.live-map .leaflet-tooltip {
  background: var(--forest); color: var(--on-forest); border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
}
.live-map .leaflet-tooltip-top::before { border-top-color: var(--forest); }
.map-fallback {
  min-height: 320px; display: grid; grid-template-columns: repeat(2,1fr);
  gap: 0.7rem; align-content: center; padding: var(--space-4);
}
.map-fallback a {
  min-height: 54px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 600;
}
@media (max-width: 600px) { .live-map { min-height: 330px; } }
.footprint-list li { border-bottom: 1px solid var(--line); }
.footprint-list li a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; }
.footprint-list li a:hover { color: var(--champagne); }
.footprint-list li span:first-child { font-weight: 600; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--lime-soft); }
[data-theme="dark"] .cta-band { background: var(--panel); }
.cta-inner { display: grid; grid-template-columns: 1fr; gap: var(--space-3); align-items: center; }
@media (min-width: 780px) { .cta-inner { grid-template-columns: 1fr auto; gap: var(--space-5); } }
.cta-inner h2 { color: var(--forest-deep); max-width: 20ch; }
[data-theme="dark"] .cta-inner h2 { color: var(--text); }
.cta-inner p { color: var(--moss); margin-top: 0.75rem; }
[data-theme="dark"] .cta-inner p { color: var(--text-muted); }

/* ============================================================
   Leadership
   ============================================================ */
.leader-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 720px) { .leader-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.leader-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.leader-portrait {
  min-height: 160px; background: linear-gradient(160deg, var(--forest), var(--forest-2));
  position: relative; display: flex; align-items: center; justify-content: center;
}
.leader-portrait img { width: 92px; height: 92px; object-fit: contain; opacity: 0.9; }
.leader-body { padding: 1.25rem 1.4rem 1.5rem; }
.leader-role { font-size: var(--text-xl); font-family: var(--font-display); }
.leader-kicker { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); font-weight: 600; margin-bottom: 0.6rem; }
[data-theme="dark"] .leader-kicker { color: var(--champagne-soft); }
.leader-body p { color: var(--text-muted); margin-top: 0.75rem; font-size: var(--text-md); }

/* ============================================================
   Contact form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: var(--space-6); } }
.contact-paths li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-paths h3 { font-size: var(--text-lg); margin-bottom: 0.3rem; }
.contact-paths p { color: var(--text-muted); font-size: var(--text-sm); }
.contact-paths .path-tag { display:inline-block; font-size: var(--text-xs); font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color: var(--champagne); margin-bottom:0.4rem; }
[data-theme="dark"] .contact-paths .path-tag { color: var(--champagne-soft); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.5rem); }
.field { margin-bottom: var(--space-3); }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: 0.4rem; }
.field .req { color: var(--error); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 0.65rem 0.9rem; border: 1.5px solid var(--line);
  border-radius: var(--radius); background: var(--bg); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(120,143,82,0.22);
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--text-xs); margin-top: 0.35rem; display: none; }
.field.invalid .field-error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: var(--text-xs); color: var(--text-muted); margin-top: 0.5rem; }
.form-success {
  display: none; background: rgba(85,122,45,0.10); border: 1.5px solid var(--success);
  border-radius: var(--radius); padding: var(--space-3); margin-bottom: var(--space-3);
}
.form-success.show { display: block; }
.form-success h3 { color: var(--success); font-family: var(--font-body); font-size: var(--text-md); margin-bottom: 0.3rem; }
.form-success p { font-size: var(--text-sm); color: var(--text-muted); }
.form-error {
  display: none; background: rgba(164,71,46,0.10); border: 1.5px solid var(--error);
  border-radius: var(--radius); padding: var(--space-3); margin-bottom: var(--space-3);
}
.form-error.show { display: block; }
.form-error h3 { color: var(--error); font-family: var(--font-body); font-size: var(--text-md); margin-bottom: 0.3rem; }
.form-error p { font-size: var(--text-sm); color: var(--text-muted); }
.botcheck { display: none; }

/* ============================================================
   Modal
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(24,36,23,0.55);
  display: none; align-items: center; justify-content: center; padding: 1.25rem; backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg); border-radius: var(--radius-lg); max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-header { padding: 1.5rem 1.6rem 1rem; border-bottom: 1px solid var(--line); position: relative; }
.modal-header .m-eyebrow { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); font-weight: 700; }
[data-theme="dark"] .modal-header .m-eyebrow { color: var(--champagne-soft); }
.modal-header h3 { font-size: var(--text-xl); margin-top: 0.4rem; padding-right: 2.5rem; }
.modal-close { position: absolute; top: 1.1rem; right: 1.1rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--text-muted); }
.modal-close:hover { background: var(--panel); color: var(--text); }
.modal-close svg { width: 22px; height: 22px; }
.modal-body { padding: 1.4rem 1.6rem 1.7rem; }
.modal-body dl { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem 1rem; margin-bottom: var(--space-3); }
.modal-body dt { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; padding-top: 2px; }
.modal-body dd { font-size: var(--text-md); }
.modal-body dd a { color: var(--forest); border-bottom: 1px solid var(--line); }
[data-theme="dark"] .modal-body dd a { color: var(--lime); }
.modal-body dd a:hover { border-color: currentColor; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: var(--space-3); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--forest); color: var(--on-forest); padding: var(--space-6) 0 var(--space-4); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--space-4); padding-bottom: var(--space-5); border-bottom: 1px solid rgba(242,236,221,0.14); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-5); } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--on-forest-muted); font-size: var(--text-sm); max-width: 38ch; }
.footer-col h4 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne-soft); margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a, .footer-col button { color: var(--on-forest-muted); font-size: var(--text-sm); transition: color .2s var(--ease); text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--on-forest); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center; padding-top: var(--space-4); }
.footer-bottom p { color: var(--on-forest-muted); font-size: var(--text-xs); }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Privacy / legal content */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: var(--text-xl); margin-top: var(--space-5); margin-bottom: var(--space-2); }
.legal-content p + p { margin-top: var(--space-2); }
.legal-content ul { list-style: disc; padding-left: 1.25rem; margin: var(--space-2) 0; }
.legal-content li + li { margin-top: 0.5rem; }
.legal-content a { color: var(--forest-2); text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .legal-content a { color: var(--champagne-soft); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* utility */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.empty-state { text-align: center; padding: var(--space-6) 0; color: var(--text-muted); }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto var(--space-2); color: var(--line); }
