/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:root {
  --paper: #FAF7F2;
  --paper-2: #F2EDE4;
  --ink: #1B2410;        /* near-black with warm green undertone */
  --ink-2: #2A3A1C;
  --ink-soft: #5C6452;
  --rule: #D6CFBE;
  --rule-soft: #E7E0D2;
  --green: #24480C;       /* MSFS logo green */
  --green-dark: #162C07;
  --green-deep: #0E1F05;  /* near-black green for hero/dark slabs */
  --green-mid: #3D6121;
  --sage: #7B8F5F;
  --brass: #B68A35;
  --brass-soft: #C8A867;
  --cream: #F5F1EA;
  --white: #FFFFFF;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 132px);

  /* Tree imagery from MSFS Webflow CDN */
  --tree-1: url('https://cdn.prod.website-files.com/678fdf67c75ef33355eae72a/680007173de05901dc393dcf_vecteezy_a-lone-tree-on-a-hill-with-a-blue-sky_59224978-min.jpeg');
  --tree-2: url('https://cdn.prod.website-files.com/678fdf67c75ef33355eae72a/68001704324a3d0f501fda06_vecteezy_a-lone-tree-stands-on-top-of-a-hill_55961818.jpg');
  --tree-3: url('https://cdn.prod.website-files.com/678fdf67c75ef33355eae72a/680017582994876f6af61e39_vecteezy_lone-tree-on-a-rolling-green-hill_59898523.jpg');
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Typography ---------- */
.serif { font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-optical-sizing: auto; }
h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;            /* equal-length lines where supported */
  -webkit-text-wrap: balance;
}
h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; }
h4 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass);
}
.eyebrow--green { color: var(--green); }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-soft); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: -9999px;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 4px; z-index: 999;
}
.skip:focus { left: 16px; top: 16px; outline: 2px solid var(--brass); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name {
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--green);
  letter-spacing: -0.005em;
  line-height: 1;
}
.brand-text .sub {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink-soft); margin-top: 5px;
  font-weight: 600;
}

/* Primary nav */
.nav-links {
  display: flex; align-items: center; gap: 26px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.nav-trigger {
  font-size: 14.5px; color: var(--ink-2);
  background: transparent; border: 0; cursor: pointer;
  padding: 6px 0; font-family: inherit;
  transition: color .15s ease;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-links a:hover, .nav-links button.nav-trigger:hover,
.nav-links a:focus-visible, .nav-links button.nav-trigger:focus-visible {
  color: var(--green);
}
.nav-links a.is-current {
  color: var(--green);
  font-weight: 600;
}
.nav-trigger .caret {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  transition: transform .2s ease;
}
.has-dropdown:hover .nav-trigger .caret,
.has-dropdown:focus-within .nav-trigger .caret { transform: rotate(225deg) translateY(-2px); }

/* Desktop dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -16px;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(36,72,12,0.10);
  padding: 12px 0;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 60;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.dropdown li a:hover { background: var(--paper-2); color: var(--green); }
.dropdown li .dd-sub {
  display: block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--brass); font-weight: 600;
  margin-bottom: 2px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--green-dark); }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: background .15s ease;
}
.menu-toggle:hover { background: var(--paper-2); }
.menu-toggle .icon-bar { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 2.5px 0; transition: transform .2s ease, opacity .2s ease; border-radius: 2px; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
  pointer-events: none;
}
.mobile-drawer.is-open { display: block; pointer-events: auto; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(14,31,5,0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 86vw);
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(14,31,5,0.18);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
}
.mobile-drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--paper);
  position: sticky; top: 0; z-index: 1;
}
.drawer-close {
  width: 38px; height: 38px; border-radius: 999px;
  background: transparent; border: 1px solid var(--rule);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
}
.drawer-close:hover { background: var(--paper-2); }
.drawer-close svg { width: 16px; height: 16px; }
.drawer-nav {
  list-style: none; padding: 8px 0 24px; margin: 0;
}
.drawer-nav > li { border-bottom: 1px solid var(--rule-soft); }
.drawer-nav > li > a,
.drawer-nav > li > button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  background: transparent; border: 0;
  text-align: left; cursor: pointer;
}
.drawer-nav > li > a:hover,
.drawer-nav > li > button:hover { color: var(--green); background: var(--paper-2); }
.drawer-nav > li > a.is-current { color: var(--green); }
.drawer-sub {
  list-style: none; padding: 0; margin: 0;
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease;
  background: var(--paper-2);
}
.drawer-nav > li.is-expanded .drawer-sub { max-height: 400px; }
.drawer-sub li a {
  display: block;
  padding: 12px 36px;
  font-size: 15px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule-soft);
}
.drawer-sub li a:hover { color: var(--green); }
.drawer-sub li a .dd-sub {
  display: block;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--brass); font-weight: 600; margin-bottom: 2px;
}
.drawer-trigger .caret {
  display: inline-block;
  width: 9px; height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.drawer-nav > li.is-expanded .drawer-trigger .caret { transform: rotate(225deg) translateY(0); }
.drawer-cta-wrap {
  padding: 20px 22px 32px;
  border-top: 1px solid var(--rule-soft);
  background: var(--paper);
  position: sticky; bottom: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.drawer-cta-wrap a { width: 100%; justify-content: center; }
.drawer-contact {
  padding: 0 22px 24px;
  font-size: 13px; color: var(--ink-soft);
  display: flex; flex-direction: column; gap: 4px;
}
.drawer-contact a { color: var(--ink-2); }
.drawer-contact a:hover { color: var(--green); }

/* Lock body scroll when drawer open */
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(80px, 11vw, 160px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(1200px 600px at 110% -10%, rgba(182,138,53,.10), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero h1 { max-width: 18ch; }
.hero h1 .accent { color: var(--brass); font-style: italic; font-weight: 300; }
.hero-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-eyebrow-row .line { display: inline-block; width: 36px; height: 1px; background: var(--brass); }
.hero-lede { margin-top: 28px; max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  border: 1px solid transparent;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-side {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--green-deep) var(--tree-3) center/cover no-repeat;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 60px rgba(36,72,12,0.18);
}
.hero-side::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,31,5,0.05) 0%, rgba(14,31,5,0.30) 45%, rgba(14,31,5,0.88) 100%);
}
.hero-side > * { position: relative; z-index: 1; }
.hero-pullquote {
  font-family: 'Source Serif 4', serif; font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; color: #FBF8F2;
  margin: 0 0 18px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.25);
}
.hero-pullquote .open { color: var(--brass-soft); }
.hero-cite {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(245,241,234,0.85);
}
.hero-photo-credit {
  position: absolute; top: 20px; right: 20px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(14,31,5,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(245,241,234,0.95); font-weight: 600;
}
.hero-photo-credit::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--brass-soft);
}

/* Stats strip */
.stats-strip {
  margin-top: clamp(60px, 7vw, 100px);
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.stat .num {
  font-family: 'Source Serif 4', serif; font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1; color: var(--ink);
  letter-spacing: -0.02em;
}
.stat .num sup { font-size: 0.5em; color: var(--brass); vertical-align: super; margin-left: 2px; font-weight: 400; }
.stat .lab {
  margin-top: 10px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft);
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { min-height: 360px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Section common ---------- */
section { padding: var(--section-y) 0; }
.section-head {
  display: grid; grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .label { padding-top: 8px; }
.section-head h2 { max-width: 22ch; }
.section-head .lede { margin-top: 18px; max-width: 60ch; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Why partner / 3 pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); }
.pillar { padding-top: 28px; border-top: 1px solid var(--rule); }
.pillar .num {
  font-family: 'Source Serif 4', serif; font-weight: 400;
  font-size: 14px; color: var(--brass);
  letter-spacing: 0.04em;
}
.pillar h3 { margin-top: 12px; max-width: 14ch; }
.pillar p { margin-top: 16px; color: var(--ink-soft); }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Services ---------- */
.services { background: var(--green-dark); color: #E8E5DD; position: relative; }
.services h2, .services h3, .services h4 { color: #FBF8F2; }
.services .eyebrow { color: var(--brass-soft); }
.services .lede { color: rgba(232, 229, 221, 0.85); }
.service-groups {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  overflow: hidden;
}
.service-group { background: var(--green-dark); padding: clamp(32px, 4vw, 56px); }
.service-group .group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 24px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.service-group .group-num {
  font-family: 'Source Serif 4', serif; font-size: 14px;
  color: var(--brass-soft); letter-spacing: 0.04em;
}
.service-group h3 { font-size: clamp(20px, 1.9vw, 26px); }
.service-list { display: flex; flex-direction: column; gap: 22px; }
.service-item h4 { margin-bottom: 8px; font-size: 17px; font-family: 'Inter'; font-weight: 600; letter-spacing: 0; }
.service-item p { margin: 0; color: rgba(232, 229, 221, 0.72); font-size: 15px; line-height: 1.55; }
@media (max-width: 820px) {
  .service-groups { grid-template-columns: 1fr; }
}

/* ---------- Process / Transition ---------- */
.process-steps {
  list-style: none;
  padding: 64px 0 0;
  margin: 8px 0 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  counter-reset: process;
}
/* Horizontal connector line that visually links the four steps */
.process-steps::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 6px; right: 6px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--rule) 8%,
    var(--rule) 92%,
    transparent 100%);
}
.process-step {
  position: relative;
  padding: 0;
}
/* Dot marker sitting on the connector line, aligned to each column */
.process-step::before {
  content: "";
  position: absolute;
  top: -52px;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--paper);
}
.process-step .num {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.process-step h3 {
  font-size: clamp(22px, 2vw, 28px);
  margin: 0 0 18px;
  line-height: 1.18;
}
.process-step p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 30ch;
}
@media (max-width: 980px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px clamp(32px, 4vw, 56px);
    padding-top: 0;
  }
  .process-steps::before { display: none; }
  .process-step {
    border-top: 1px solid var(--rule);
    padding-top: 32px;
  }
  .process-step::before {
    top: -7px;
    left: 0;
    box-shadow: 0 0 0 4px var(--paper);
  }
  .process-step .num { font-size: 44px; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; gap: 40px; }
  .process-step { padding-top: 28px; }
}

/* ---------- Editorial photo band (between Process and Team) ---------- */
.photo-band {
  position: relative; overflow: hidden;
  padding: 0;
  min-height: clamp(360px, 42vw, 520px);
  display: flex; align-items: center;
  background: var(--green-deep) var(--tree-2) center/cover no-repeat;
}
.photo-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,31,5,0.78) 0%, rgba(14,31,5,0.55) 45%, rgba(14,31,5,0.20) 100%);
}
.photo-band > .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; width: 100%; }
.photo-band .band-wrap { max-width: 56ch; color: #FBF8F2; }
.photo-band .eyebrow { color: var(--brass-soft); }
.photo-band h2 {
  color: #FBF8F2;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  margin-top: 22px;
  letter-spacing: -0.01em;
}
.photo-band h2 em { font-style: italic; font-weight: 300; color: var(--brass-soft); }
.photo-band p {
  margin-top: 22px;
  color: rgba(245,241,234,0.92);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 52ch;
}
.photo-band .band-attrib {
  margin-top: 28px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245,241,234,0.6);
  display: inline-flex; align-items: center; gap: 10px;
}
.photo-band .band-attrib::before {
  content: ""; display: inline-block; width: 28px; height: 1px; background: var(--brass-soft);
}

/* ---------- Home office team ---------- */
.team { background: var(--paper-2); }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.team-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(36,72,12,0.07); border-color: var(--rule); }
.team-photo {
  aspect-ratio: 1 / 1; background: var(--paper);
  overflow: hidden; position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-meta { padding: 22px 22px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.team-role {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--brass); margin-bottom: 8px; font-weight: 600;
}
.team-name { font-family: 'Source Serif 4', serif; font-size: 22px; line-height: 1.15; color: var(--ink); margin-bottom: 8px; }
.team-blurb { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.team-actions {
  margin-top: auto; padding-top: 16px;
  display: flex; gap: 18px; align-items: center;
  border-top: 1px solid var(--rule-soft);
  margin-top: 16px; padding-top: 14px;
}
.team-actions a {
  font-size: 13px; font-weight: 500; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.team-actions a:hover { color: var(--brass); }
.team-actions svg { width: 14px; height: 14px; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Insights / News editorial grid ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 3vw, 48px);
}
.insight-feature {
  background: var(--green-deep);
  color: #F5F1EA;
  padding: clamp(36px, 4vw, 56px);
  border-radius: 4px;
  display: flex; flex-direction: column;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.insight-feature::before {
  content: ""; position: absolute; inset: 0;
  background: var(--tree-1) center/cover no-repeat;
  opacity: 0.30;
  filter: saturate(0.85) hue-rotate(15deg);
}
.insight-feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,31,5,0.55) 0%, rgba(14,31,5,0.85) 80%);
}
.insight-feature > * { position: relative; z-index: 1; }
.insight-feature .category {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--brass-soft); font-weight: 600;
}
.insight-feature h3 {
  color: #FBF8F2;
  font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1;
  margin: 18px 0 18px; max-width: 22ch;
}
.insight-feature p { color: rgba(245, 241, 234, 0.85); max-width: 50ch; margin: 0 0 28px; }
.insight-feature .insight-meta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(245,241,234,0.18);
  font-size: 13px; color: rgba(245,241,234,0.7);
}

.insight-list { display: flex; flex-direction: column; gap: 0; }
.insight-row {
  padding: 22px 0; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: center;
}
.insight-row:first-child { border-top: 0; padding-top: 0; }
.insight-row:last-child { border-bottom: 1px solid var(--rule); }
.insight-row .date {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft);
}
.insight-row h4 { font-family: 'Source Serif 4', serif; font-weight: 400; font-size: 19px; line-height: 1.25; }
.insight-row .cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brass); margin-top: 8px; font-weight: 600; }

@media (max-width: 820px) {
  .insights-grid { grid-template-columns: 1fr; }
  .insight-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- LinkedIn activity ---------- */
.linkedin { background: var(--paper-2); }
.li-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.li-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.li-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.li-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(36,72,12,0.06); }
.li-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
  padding-bottom: 18px; border-bottom: 1px solid var(--rule-soft);
}
.li-avatar {
  width: 40px; height: 40px; border-radius: 4px; overflow: hidden;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Source Serif 4', serif; font-size: 16px;
}
.li-byline {
  font-size: 13px; line-height: 1.35;
}
.li-byline strong { display: block; color: var(--ink); font-weight: 600; font-size: 13.5px; }
.li-byline .when { color: var(--ink-soft); font-size: 12px; }
.li-body {
  font-family: 'Source Serif 4', serif; font-weight: 400;
  font-size: 19px; line-height: 1.35; color: var(--ink-2);
  flex-grow: 1; margin: 0 0 22px;
}
.li-tag {
  display: inline-block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--brass); font-weight: 600;
}
.li-link {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule-soft);
  font-size: 13px; color: var(--green); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 1000px) { .li-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .li-grid { grid-template-columns: 1fr; } }

/* ---------- Proof / numbers band ---------- */
.proof {
  background: var(--green-deep);
  color: #F5F1EA;
  padding: clamp(72px, 8vw, 110px) 0;
  position: relative; overflow: hidden;
}
.proof::before {
  content: ""; position: absolute;
  top: 0; right: 0; bottom: 0; width: 38%;
  background: radial-gradient(circle at 100% 50%, rgba(123,143,95,0.18), transparent 70%);
}
.proof > .container { position: relative; z-index: 1; }
.proof .eyebrow { color: var(--brass-soft); }
.proof h2 { color: #FBF8F2; max-width: 26ch; }
.proof .lede { color: rgba(245, 241, 234, 0.85); }
.proof-numbers {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; padding-top: 36px;
  border-top: 1px solid rgba(245,241,234,0.18);
}
.proof-numbers .num {
  font-family: 'Source Serif 4', serif; font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px); line-height: 1;
  color: #FBF8F2; letter-spacing: -0.02em;
}
.proof-numbers .num sup { color: var(--brass-soft); font-size: 0.45em; vertical-align: super; }
.proof-numbers .lab {
  margin-top: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(245,241,234,0.7);
}
@media (max-width: 820px) {
  .proof-numbers { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid {
  display: grid; grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
details.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 24px);
  color: var(--ink);
  line-height: 1.25;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 30px; line-height: 1; color: var(--brass);
  transition: transform .2s ease;
}
details.faq-item[open] summary::after { content: "−"; }
details.faq-item .answer {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 65ch;
  font-size: 16px; line-height: 1.6;
}
details.faq-item .answer ul { padding-left: 20px; margin: 12px 0; }
details.faq-item .answer li { margin-bottom: 6px; }
@media (max-width: 820px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.cta-final {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(800px 400px at 20% 110%, rgba(182,138,53,.12), transparent 70%),
    var(--paper);
  border-top: 1px solid var(--rule);
}
.cta-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.cta-wrap h2 { max-width: 18ch; }
.cta-wrap .lede { margin-top: 24px; max-width: 50ch; }
.cta-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 36px;
}
.cta-card .label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brass); font-weight: 600; }
.cta-card h3 { margin-top: 12px; }
.cta-card .row { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule-soft); font-size: 14.5px; }
.cta-card .row:first-of-type { border-top: 1px solid var(--rule-soft); margin-top: 22px; }
.cta-card .row strong { font-weight: 600; color: var(--ink); min-width: 90px; display: inline-block; }
.cta-card .row a { color: var(--ink-2); }
.cta-card .row a:hover { color: var(--brass); }
@media (max-width: 820px) {
  .cta-wrap { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--green-dark); color: rgba(245,241,234,0.78);
  padding: 72px 0 36px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-mark { width: 48px; height: 48px; flex: 0 0 48px; }
.footer-brand .brand-text .name { color: #FBF8F2; font-size: 20px; }
.footer-brand .brand-text .sub { color: rgba(245,241,234,0.6); }
.footer-brand p { font-size: 13px; line-height: 1.55; max-width: 38ch; color: rgba(245,241,234,0.65); margin-top: 4px; }
footer h5 {
  font-family: 'Inter', sans-serif; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--brass-soft);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { font-size: 14px; color: rgba(245,241,234,0.85); }
.footer-list a:hover { color: var(--brass-soft); }
.footer-bottom {
  padding-top: 28px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: rgba(245,241,234,0.55); line-height: 1.6;
}
.footer-bottom .disclosure { max-width: 75ch; }
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cta-final, .nav-cta { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Legal / policy pages (SMS Terms, Privacy, Disclosures) ---------- */
.legal-hero {
  padding: clamp(72px, 8vw, 120px) 0 clamp(32px, 4vw, 56px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--rule);
}
.legal-hero .eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.legal-hero .eyebrow-row .line { display: inline-block; width: 36px; height: 1px; background: var(--brass); }
.legal-hero h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; margin: 0; max-width: 22ch; }
.legal-hero .sub { margin-top: 20px; font-size: 15px; color: var(--ink-soft); }
.legal-hero .sub strong { color: var(--ink-2); font-weight: 600; }

.legal-body {
  padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 9vw, 132px);
}
.legal-body .prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal-body .prose h2 {
  font-size: clamp(22px, 2vw, 28px);
  margin: 44px 0 16px;
  color: var(--ink);
}
.legal-body .prose h2:first-child { margin-top: 0; }
.legal-body .prose p { margin: 0 0 18px; }
.legal-body .prose strong { color: var(--ink); font-weight: 600; }
.legal-body .prose a { color: var(--green); border-bottom: 1px solid rgba(36,72,12,0.3); }
.legal-body .prose a:hover { color: var(--green-mid); border-color: var(--green-mid); }
.legal-body .prose .rule { border: 0; height: 1px; background: var(--rule); margin: 32px 0; }
.legal-body .prose ul { padding-left: 22px; margin: 0 0 20px; }
.legal-body .prose li { margin-bottom: 8px; }
.legal-body .keycode {
  display: inline-block;
  padding: 2px 10px; margin: 0 2px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: 'Inter', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.03em;
}

/* ---------- Team card link + "More info" hover overlay ---------- */
a.team-card { text-decoration: none; color: inherit; }
a.team-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(36,72,12,0.10); border-color: var(--rule); }
.team-photo {
  position: relative;
}
.team-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,31,5,0) 55%, rgba(14,31,5,0.62) 100%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.team-photo .more-info {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -30%);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--green-deep);
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}
.team-photo .more-info svg { width: 12px; height: 12px; }
a.team-card:hover .team-photo::after,
a.team-card:focus-visible .team-photo::after { opacity: 1; }
a.team-card:hover .team-photo .more-info,
a.team-card:focus-visible .team-photo .more-info {
  opacity: 1;
  transform: translate(-50%, -50%);
}
a.team-card:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* ---------- Interactive locations map ---------- */
.locations-block {
  background: var(--paper-2);
  padding: clamp(56px, 7vw, 100px) 0;
  border-top: 1px solid var(--rule-soft);
}
.locations-head {
  display: grid; grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.locations-head h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 22ch; }
.locations-head .lede { margin-top: 20px; max-width: 60ch; }
.locations-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.locations-stats .stat .num {
  font-family: 'Source Serif 4', serif; font-weight: 400;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1;
  color: var(--green); letter-spacing: -0.02em;
}
.locations-stats .stat .num sup { font-size: 0.5em; color: var(--brass); vertical-align: super; }
.locations-stats .stat .lab {
  margin-top: 10px; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink-soft);
}
.map-shell {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(36,72,12,0.08);
}
/* Map container height applies wherever it's placed (inside .map-shell OR .map-with-list) */
.map-container {
  width: 100%;
  height: clamp(420px, 60vh, 640px);
  background: var(--paper-2);
  min-height: 420px;
}
.map-container.compact {
  height: clamp(320px, 40vh, 460px);
  min-height: 320px;
}
.map-legend {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
  font-size: 13px; color: var(--ink-soft);
}
.map-legend .keys { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.map-legend .key { display: inline-flex; align-items: center; gap: 8px; }
.map-legend .key .dot {
  width: 14px; height: 14px; border-radius: 999px;
  display: inline-block;
}
.map-legend .key .dot.hq {
  background: var(--brass);
  border: 2px solid var(--green-deep);
  box-shadow: 0 0 0 2px var(--brass);
}
.map-legend .key .dot.office {
  background: var(--green);
}
.map-legend .cta a {
  color: var(--green); font-weight: 600; font-size: 13px;
}
.map-legend .cta a:hover { color: var(--brass); }
@media (max-width: 820px) {
  .locations-head { grid-template-columns: 1fr; }
  .map-legend { flex-direction: column; align-items: flex-start; }
}

/* Leaflet overrides — MSFS-branded */
.leaflet-container {
  font-family: 'Inter', sans-serif !important;
  background: var(--paper-2) !important;
}
.leaflet-popup-content-wrapper {
  border-radius: 4px !important;
  padding: 4px !important;
  box-shadow: 0 8px 24px rgba(36,72,12,0.15) !important;
  border: 1px solid var(--rule) !important;
  background: var(--white) !important;
}
.leaflet-popup-tip { background: var(--white) !important; border: 1px solid var(--rule) !important; }
.leaflet-popup-content {
  margin: 12px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--ink) !important;
}
.leaflet-popup-content .popup-city {
  font-family: 'Source Serif 4', serif; font-weight: 500;
  font-size: 16px; color: var(--ink); display: block; margin-bottom: 2px;
}
.leaflet-popup-content .popup-state {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brass); font-weight: 600;
}
.leaflet-popup-content .popup-hq {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--green); font-weight: 700; display: inline-block; margin-top: 4px;
  padding: 2px 8px; background: var(--paper-2); border-radius: 999px;
}
.leaflet-control-attribution {
  background: rgba(250, 247, 242, 0.85) !important;
  font-size: 10px !important;
  color: var(--ink-soft) !important;
  padding: 4px 8px !important;
}
.leaflet-control-attribution a { color: var(--green) !important; }
.leaflet-control-zoom a {
  background: var(--white) !important;
  border: 1px solid var(--rule) !important;
  color: var(--ink) !important;
  border-radius: 4px !important;
  transition: background .15s ease, color .15s ease;
}
.leaflet-control-zoom a:hover { background: var(--green) !important; color: #fff !important; border-color: var(--green) !important; }
.msfs-pin {
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--green);
  border: 3px solid var(--paper);
  box-shadow: 0 2px 8px rgba(14,31,5,0.35);
  cursor: pointer;
  transition: transform .15s ease;
}
.msfs-pin:hover { transform: scale(1.2); }
.msfs-pin.hq {
  width: 26px; height: 26px;
  background: var(--brass);
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px var(--brass), 0 4px 12px rgba(14,31,5,0.4);
}


/* Larger, richer popups for enriched location data */
.leaflet-popup-content-wrapper {
  min-width: 260px;
  max-width: 340px;
}
.leaflet-popup-content { margin: 14px 18px !important; }
.leaflet-popup-content .popup-address {
  font-size: 13px; color: var(--ink-soft);
  margin: 6px 0 10px; line-height: 1.4;
}
.leaflet-popup-content .popup-hq {
  display: inline-block; margin: 6px 0 10px !important;
}
.leaflet-popup-content .popup-advisors {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.leaflet-popup-content .popup-advisors-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--brass); font-weight: 700; margin-bottom: 8px;
}
.leaflet-popup-content .popup-advisor {
  padding: 8px 0;
  border-top: 1px dashed var(--rule-soft);
}
.leaflet-popup-content .popup-advisor:first-of-type { border-top: 0; padding-top: 0; }
.leaflet-popup-content .popup-advisor-name {
  font-family: 'Source Serif 4', serif; font-weight: 500;
  font-size: 14px; color: var(--ink); display: block;
}
.leaflet-popup-content .popup-advisor-name a { color: var(--ink); text-decoration: none; }
.leaflet-popup-content .popup-advisor-name a:hover { color: var(--green); }
.leaflet-popup-content .popup-advisor-role {
  font-size: 11px; color: var(--ink-soft); display: block; margin-top: 1px;
}
.leaflet-popup-content .popup-advisor-contact {
  display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap;
}
.leaflet-popup-content .popup-advisor-contact a {
  font-size: 11px; color: var(--green);
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none;
}
.leaflet-popup-content .popup-advisor-contact a:hover { color: var(--brass); }
.leaflet-popup-content .popup-advisor-contact svg { width: 11px; height: 11px; }
.leaflet-popup-content .popup-more {
  font-size: 11.5px; color: var(--ink-soft); font-style: italic;
  margin-top: 8px; display: block;
}
.leaflet-popup-content .popup-empty {
  font-size: 12.5px; color: var(--ink-soft); font-style: italic;
  margin: 8px 0 0;
}
.leaflet-popup-content .popup-cta {
  display: inline-block; margin-top: 10px;
  font-size: 12px; font-weight: 600; color: var(--green);
  text-decoration: none;
}
.leaflet-popup-content .popup-cta:hover { color: var(--brass); }


/* Map + sidebar layout */
.map-with-list {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(36,72,12,0.08);
}
.map-with-list .location-list-wrap {
  border-right: 1px solid var(--rule-soft);
  background: var(--paper);
  display: flex; flex-direction: column;
  max-height: clamp(520px, 70vh, 780px);
}
.map-with-list .location-list-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--paper);
}
.map-with-list .location-list-header .eyebrow {
  font-size: 11px; letter-spacing: 0.16em;
}
.map-with-list .location-list-header h4 {
  font-family: 'Source Serif 4', serif; font-weight: 400;
  font-size: 20px; margin: 6px 0 0; color: var(--ink);
}
.map-with-list .location-list-header .list-count {
  font-size: 12px; color: var(--ink-soft); margin-top: 4px;
}
.map-with-list .location-list {
  list-style: none; padding: 0; margin: 0;
  overflow-y: auto;
  flex: 1;
}
.map-with-list .location-list li {
  border-bottom: 1px solid var(--rule-soft);
}
.map-with-list .location-list button.location-item {
  display: block; width: 100%; text-align: left;
  padding: 16px 24px; border: 0; background: transparent;
  cursor: pointer; font-family: inherit;
  transition: background .15s ease;
  position: relative;
}
.map-with-list .location-list button.location-item:hover,
.map-with-list .location-list button.location-item:focus-visible {
  background: var(--paper-2);
  outline: none;
}
.map-with-list .location-list button.location-item.is-active {
  background: var(--paper-2);
}
.map-with-list .location-list button.location-item.is-active::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--green);
}
.map-with-list .li-city {
  font-family: 'Source Serif 4', serif; font-weight: 500;
  font-size: 15px; color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.map-with-list .li-state {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brass); font-weight: 600;
}
.map-with-list .li-hq-badge {
  display: inline-block;
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--green-deep); font-weight: 700;
  padding: 1px 6px; border-radius: 999px;
  background: var(--brass);
  margin-left: 6px;
}
.map-with-list .li-advisors {
  margin-top: 6px;
  font-size: 12px; color: var(--ink-soft); line-height: 1.4;
}
.map-with-list .li-none {
  margin-top: 6px;
  font-size: 12px; color: var(--ink-soft); font-style: italic;
}
.map-with-list .map-shell-map-only { position: relative; min-height: 420px; }
.map-with-list .map-container { border-radius: 0; height: 100%; min-height: 420px; }
.map-with-list.compact .map-shell-map-only { min-height: 320px; }
.map-with-list.compact .map-container { min-height: 320px; }
@media (max-width: 900px) {
  .map-with-list { grid-template-columns: 1fr; }
  .map-with-list .location-list-wrap {
    max-height: 320px; border-right: 0; border-bottom: 1px solid var(--rule-soft);
    order: 2;
  }
  .map-with-list .map-shell-map-only { order: 1; }
}

/* Ensure Leaflet's inner container always has height (defensive) */
.leaflet-container {
  height: 100% !important;
  min-height: 320px;
  width: 100% !important;
}


/* Simplified popup + list contact rows */
.leaflet-popup-content .popup-contact {
  margin: 12px 0 6px;
  padding: 10px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.leaflet-popup-content .popup-contact-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 4px 0;
  font-size: 13px;
}
.leaflet-popup-content .popup-contact-row .lbl {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--brass); font-weight: 600;
  min-width: 44px;
}
.leaflet-popup-content .popup-contact-row a {
  color: var(--ink-2); text-decoration: none;
}
.leaflet-popup-content .popup-contact-row a:hover { color: var(--green); }

/* Sidebar contact line */
.map-with-list .li-contact {
  margin-top: 6px;
  font-size: 12px; color: var(--ink-soft); line-height: 1.4;
  display: flex; gap: 6px; align-items: baseline;
  flex-wrap: wrap;
}
.map-with-list .li-contact a { color: var(--ink-2); text-decoration: none; }
.map-with-list .li-contact a:hover { color: var(--green); }


/* Plain-text email (mailto: intentionally removed per client) */
.leaflet-popup-content .popup-value,
.map-with-list .li-value {
  color: var(--ink-2);
  font-size: inherit;
}


/* Elfsight embed wrapper — MSFS-branded chrome around the widget */
.elfsight-shell {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(36,72,12,0.08);
  min-height: 520px;
}
.elfsight-shell .elfsight-app-ee697e49-98fe-4ddb-9394-71a35cac0f0c {
  min-height: 480px;
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .elfsight-shell { padding: 10px; min-height: 460px; }
}


/* Sidebar list — location name + city/state + address + phone */
.map-with-list .li-city { display: block; }
.map-with-list .li-state { display: block; margin-top: 3px; }
.map-with-list .li-addr {
  margin-top: 4px;
  font-size: 12px; color: var(--ink-soft); line-height: 1.35;
}


/* Elfsight-style popup: green header, white body, icon rows, directions button */
.leaflet-popup-content-wrapper {
  padding: 0 !important;
  overflow: hidden !important;
}
.leaflet-popup-content { margin: 0 !important; }
.leaflet-popup-content .popup-header {
  background: var(--green);
  color: #FBF8F2;
  padding: 16px 20px 14px;
  position: relative;
}
.leaflet-popup-content .popup-header .popup-name {
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  color: #FBF8F2;
  display: block;
  padding-right: 24px;
}
.leaflet-popup-content .popup-header .popup-hq-label {
  display: inline-block;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brass-soft); font-weight: 700;
  margin-top: 4px;
}
.leaflet-popup-content .popup-body { padding: 8px 20px 12px; }
.leaflet-popup-content .popup-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 13px; line-height: 1.4; color: var(--ink-2);
}
.leaflet-popup-content .popup-row:last-child { border-bottom: 0; }
.leaflet-popup-content .popup-row .popup-icon {
  flex: 0 0 18px;
  color: var(--green);
  margin-top: 1px;
}
.leaflet-popup-content .popup-row .popup-icon svg { width: 16px; height: 16px; }
.leaflet-popup-content .popup-row a { color: var(--green); text-decoration: none; }
.leaflet-popup-content .popup-row a:hover { color: var(--brass); }
.leaflet-popup-content .popup-row .popup-value { color: var(--ink-2); }
.leaflet-popup-content .popup-directions-btn {
  position: absolute; top: 12px; right: 40px;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--paper);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background .15s ease, color .15s ease;
}
.leaflet-popup-content .popup-directions-btn:hover {
  background: var(--brass); color: var(--green-deep);
}
.leaflet-popup-content .popup-directions-btn svg { width: 15px; height: 15px; }
.leaflet-popup-close-button {
  color: rgba(251,248,242,0.9) !important;
  right: 8px !important; top: 8px !important;
  padding: 6px 10px !important;
  font-size: 20px !important;
  z-index: 2 !important;
}
.leaflet-popup-close-button:hover { color: #fff !important; }
