/* =========================================================
   Vermont Comforts of Home — Redesign (multi-page)
   Faithful to the original simple, paged layout.
   Brand palette taken from the live site:
     nav green #517E02 · plum accent #613246 · coffee brown · cream
   ========================================================= */

:root {
  --green:      #517e02;   /* original nav green */
  --green-dark: #416402;
  --green-deep: #35520a;   /* logo forest / headings */
  --plum:       #613246;   /* original active-tab accent */
  --plum-dark:  #4c2637;
  --brown:      #5b4128;   /* coffee cup */
  --gold:       #c79a4c;

  --cream:  #f7f2e8;
  --cream-2:#efe6d4;
  --paper:  #fffdf8;
  --ink:    #303030;       /* body text, as on the original */
  --muted:  #6f6a5e;
  --line:   rgba(48,48,48,.12);

  --shadow-sm: 0 2px 10px rgba(48,40,23,.08);
  --shadow-md: 0 14px 36px rgba(48,40,23,.15);
  --shadow-lg: 0 26px 64px rgba(53,82,10,.22);

  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1040px;

  --serif: "Fraunces","Georgia","Times New Roman",serif;
  --sans:  "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--cream); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--plum); }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .45em; color: var(--green-deep); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--green); color: #fff; }

.wrap { width: min(var(--wrap), 90vw); margin-inline: auto; }
.wrap-narrow { width: min(760px, 90vw); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; cursor: pointer;
  font-family: var(--sans); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 4px; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--green-deep); transform: translateY(-2px); }
.btn-outline { border-color: var(--green); color: var(--green-deep); }
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

/* =========================================================
   HEADER  — centered logo (like original) + sticky green nav
   ========================================================= */
.site-header { background: var(--cream); text-align: center; padding: 22px 16px 0; }
.brand { display: inline-block; }
.brand img { height: 92px; width: auto; margin: 0 auto; }

.mainnav {
  position: sticky; top: 0; z-index: 90; margin-top: 18px;
  background: var(--green);
  box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 8px 22px rgba(53,82,10,.18);
}
.mainnav .nav-inner {
  width: min(var(--wrap), 94vw); margin-inline: auto;
  display: flex; align-items: stretch; justify-content: center; gap: 2px; position: relative;
}
.mainnav a {
  color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  padding: 16px 22px; display: inline-flex; align-items: center;
  transition: background .2s, color .2s;
}
.mainnav a:hover { background: var(--green-dark); color: #fff; }
.mainnav a.active { background: var(--plum); color: #fff; }
.mainnav a.active:hover { background: var(--plum); }

.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer; width: 46px; height: 44px;
}
.nav-toggle span { display: block; width: 24px; height: 2.6px; background: #fff; margin: 5px auto; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1){ transform: translateY(7.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7.6px) rotate(-45deg); }

/* =========================================================
   HERO — video background (muted). Tall on home, slim inside.
   ========================================================= */
.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero video, .hero .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero .poster { background-size: cover; background-position: center; z-index: -3; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(53,82,10,.55) 0%, rgba(53,82,10,.20) 30%, rgba(43,30,20,.35) 70%, rgba(35,52,10,.78) 100%),
    radial-gradient(120% 100% at 50% 50%, rgba(38,34,20,.18), rgba(38,34,20,.45));
}
.hero-home { min-height: 78vh; }
.hero-slim { min-height: 300px; }
.hero-inner { padding: 64px 20px; max-width: 860px; }
.hero .eyebrow { color: #ffe9b8; font-weight: 800; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; display: inline-block; margin-bottom: 14px; }
.hero h1 {
  color: #fff; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.08; text-shadow: 0 3px 26px rgba(0,0,0,.4); margin: 0;
}
.hero-home h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.hero h1 .accent { font-style: italic; color: #ffe9b8; }
.hero-sub { color: rgba(255,255,255,.95); font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 18px auto 0; max-width: 620px; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-breadcrumb { color: rgba(255,255,255,.85); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 14px; }
.hero-breadcrumb a { color: rgba(255,255,255,.85); } .hero-breadcrumb a:hover { color: #fff; }

.muted-badge {
  position: absolute; bottom: 14px; right: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,0,0,.32); color: #fff; border: 1px solid rgba(255,255,255,.26);
  padding: 5px 11px; border-radius: 100px; font-size: .7rem; letter-spacing: .04em; backdrop-filter: blur(6px);
}

/* =========================================================
   SECTIONS / content blocks
   ========================================================= */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section.tint { background: var(--paper); }
.section.plum-tint { background: linear-gradient(180deg, #f3ecdb, var(--cream)); }
.eyebrow-line { display: inline-flex; align-items: center; gap: .6em; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--plum); margin-bottom: .5em; }
.eyebrow-line::before { content: ""; width: 26px; height: 2px; background: var(--gold); }

.lead-center { text-align: center; max-width: 720px; margin: 0 auto; }
.lead-center h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.lead-center .italic { font-style: italic; color: var(--brown); }
.lead-center p { color: var(--muted); font-size: 1.1rem; }

/* alternating text + image block (the original interior pattern) */
.block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.block + .block { margin-top: clamp(40px, 6vw, 72px); }
.block.reverse .block-media { order: -1; }
.block-copy h2, .block-copy h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.block-copy p { color: var(--ink); }
.block-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.block-media.tall img { aspect-ratio: 4/5; }

/* bullet / check lists */
.tick { list-style: none; margin: .3em 0 1em; padding: 0; display: grid; gap: 11px; }
.tick li { display: flex; gap: 12px; align-items: flex-start; }
.tick li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }

/* two cards (Participants / Providers on home) */
.card-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pcard .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 1.5rem; }
.pcard p { color: var(--muted); flex: 1; }
.pcard .learn { color: var(--plum); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; display: inline-flex; align-items: center; gap: .5em; }
.pcard .learn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.pcard:hover .learn svg { transform: translateX(4px); }

/* info card grid (cost, placement, qualifications) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.info {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.info h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.info h3 svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.info p { color: var(--muted); margin: 0; }
.info .big { font-family: var(--serif); font-size: 2rem; color: var(--green-deep); line-height: 1; margin-bottom: .2em; }

/* highlight callout (new opportunity) */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  background: linear-gradient(120deg, #fff4dd, #f7ecd6); border: 1px solid rgba(199,154,76,.4);
  border-radius: var(--radius); padding: 22px 26px;
}
.callout .badge { background: var(--gold); color: var(--brown); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; padding: 6px 12px; border-radius: 100px; white-space: nowrap; }
.callout p { margin: 0; color: var(--ink); }

/* youtube embed */
.video-embed { max-width: 820px; margin: 0 auto; }
.video-frame {
  position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 5px solid var(--paper);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* click-to-play facade (keeps heavy YouTube iframe off the page until clicked) */
.yt-facade {
  position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; cursor: pointer;
  border: 5px solid var(--paper); border-radius: var(--radius); overflow: hidden; background: #1a1a1a;
  box-shadow: var(--shadow-lg);
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s var(--ease), transform .6s var(--ease); }
.yt-facade:hover img { opacity: .68; transform: scale(1.04); }
.yt-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: var(--plum); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.4); transition: transform .25s var(--ease), background .25s;
}
.yt-play svg { width: 34px; height: 34px; margin-left: 4px; }
.yt-facade:hover .yt-play { transform: scale(1.1); background: var(--plum-dark); }
.yt-label {
  position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 700; font-size: .92rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.7); background: rgba(0,0,0,.32); padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(4px);
}

/* who-we-serve list */
.serve-list { display: grid; gap: 12px; max-width: 720px; margin: 8px auto 0; }
.serve-list .row { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.serve-list .row svg { width: 22px; height: 22px; color: var(--plum); flex: none; margin-top: 2px; }
.county-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.county-tags span { background: var(--cream-2); border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; font-size: .84rem; font-weight: 700; color: var(--green-deep); }

/* quote band */
.quote-band { background: var(--plum); color: #fff; text-align: center; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.3; margin: 0 auto; max-width: 860px; font-weight: 500; }
.quote-band .mark { color: var(--gold); font-size: 3rem; line-height: 0; }
.quote-band cite { display: block; margin-top: 20px; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: #e9c987; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem,3.4vw,2.4rem); }
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 1.4em; }

/* staff (about) */
.staff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.staff-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.staff-col .head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.staff-col .head img { height: 46px; width: auto; background: #fff; padding: 4px 8px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.staff-col .head strong { font-family: var(--serif); color: var(--green-deep); font-size: 1.2rem; display: block; }
.staff-col .head a { color: var(--green); font-weight: 700; font-size: .86rem; }
.staff-names { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-names span { background: var(--cream); border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px; font-size: .85rem; font-weight: 700; }
.staff-contact { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.staff-contact a { color: var(--green); font-weight: 700; }

/* team (about) — role hierarchy */
.team { display: grid; gap: 26px; }
.team-org { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-sm); }
.org-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.org-head img { height: 52px; width: auto; background: #fff; padding: 5px 9px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.org-head .org-name { font-family: var(--serif); font-size: 1.5rem; color: var(--green-deep); line-height: 1.1; }
.org-head .org-meta { font-size: .9rem; }
.org-head .org-meta a { color: var(--green); font-weight: 700; }
.org-head .org-contact { margin-left: auto; text-align: right; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.org-head .org-contact a { color: var(--green); font-weight: 700; }

.tier { margin-top: 22px; }
.tier-label { display: flex; align-items: center; gap: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--plum); margin-bottom: 14px; }
.tier-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 12px; }
.person { display: flex; align-items: center; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.person:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.person .avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: .95rem; color: #fff; background: var(--green); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.person strong { display: block; font-size: .98rem; color: var(--ink); line-height: 1.15; }
.person span { font-size: .8rem; color: var(--muted); }
/* leadership emphasis */
.tier-lead .people { grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); }
.tier-lead .person { background: linear-gradient(120deg, #f3ecdb, var(--cream)); border-color: rgba(97,50,70,.22); }
.tier-lead .avatar { background: var(--plum); width: 48px; height: 48px; font-size: 1.05rem; }
.tier-lead strong { font-size: 1.08rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px,4vw,50px); align-items: start; }
.office-cards { display: grid; gap: 18px; }
.office { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.office h3 { font-size: 1.25rem; margin-bottom: .4em; }
.office p { color: var(--muted); margin: 0 0 .3em; display: flex; gap: 10px; align-items: flex-start; }
.office p svg { width: 17px; height: 17px; color: var(--plum); flex: none; margin-top: 4px; }
.office .tel { font-family: var(--serif); font-size: 1.3rem; color: var(--green-deep); font-weight: 600; }
.office .tel a { color: var(--green-deep); }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 700; font-size: .82rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--sans); font-size: 1rem; background: var(--cream); color: var(--ink); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(81,126,2,.15); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.form-success { display: none; background: #e7f0d8; border: 1px solid var(--green); color: var(--green-deep); padding: 13px 15px; border-radius: 8px; font-weight: 700; margin-top: 8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--green-deep); color: rgba(255,255,255,.82); padding: 52px 0 26px; margin-top: 10px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-brand img { height: 58px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.footer-brand p { font-size: .94rem; max-width: 320px; }
.footer h5 { color: #fff; font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: rgba(255,255,255,.82); } .footer ul a:hover { color: #ffe9b8; }
.footer-partners { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-partners img { height: 42px; background: #fff; padding: 6px 8px; border-radius: 8px; }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.6); }

/* =========================================================
   WHERE WE WORK — interactive Vermont map
   ========================================================= */
.where { background:
  radial-gradient(70% 50% at 0% 0%, rgba(81,126,2,.06), transparent 55%),
  radial-gradient(60% 50% at 100% 100%, rgba(97,50,70,.06), transparent 55%),
  var(--cream); }
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,56px); align-items: center; }

.vt-map { position: relative; display: flex; justify-content: center; }
.vt-map-svg { width: 100%; height: auto; max-width: 400px; overflow: visible; filter: drop-shadow(0 20px 34px rgba(53,82,10,.16)); }

.vt-county {
  stroke: #fbf8f0; stroke-width: 2.4; stroke-linejoin: round;
  cursor: pointer; transition: fill .25s var(--ease), transform .25s var(--ease);
  transform-box: fill-box; transform-origin: center;
}
.vt-uvs  { fill: #a6c078; }
.vt-lsi  { fill: #b98ea6; }
.vt-none { fill: #ddd5c3; }
.vt-county:hover, .vt-county:focus-visible { outline: none; transform: scale(1.03); }
.vt-uvs:hover,  .vt-uvs:focus-visible  { fill: var(--green); }
.vt-lsi:hover,  .vt-lsi:focus-visible  { fill: var(--plum); }
.vt-none:hover, .vt-none:focus-visible { fill: #c3b89d; }

.vt-label {
  fill: #33440f; font-family: var(--sans); font-weight: 800; font-size: 19px;
  text-anchor: middle; dominant-baseline: middle; pointer-events: none;
  paint-order: stroke; stroke: rgba(255,253,246,.9); stroke-width: 3.4px; letter-spacing: .3px;
}
.vt-lsi + .vt-lsi { } /* noop */

/* office markers */
.vt-office { pointer-events: none; }
.vt-office--uvs { color: var(--green); }
.vt-office--lsi { color: var(--plum); }
.vt-pulse { fill: currentColor; opacity: .4; transform-box: fill-box; transform-origin: center; animation: vtpulse 2.4s var(--ease) infinite; }
@keyframes vtpulse { 0% { transform: scale(.5); opacity: .55; } 70% { transform: scale(2.1); opacity: 0; } 100% { opacity: 0; } }
.vt-pin { fill: #fff; stroke: currentColor; stroke-width: 3.4; }
.vt-pin-dot { fill: currentColor; }

/* tooltip */
.vt-tooltip {
  position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, -115%);
  background: var(--ink); color: #fff; padding: 9px 13px; border-radius: 10px; box-shadow: var(--shadow-md);
  font-size: .84rem; white-space: nowrap; line-height: 1.25;
}
.vt-tooltip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--ink); }
.vt-tooltip strong { display: block; font-family: var(--serif); font-size: 1rem; }
.vt-tooltip .vt-tt-org { color: #ffe9b8; font-weight: 700; }

/* side panel */
.where-side { display: grid; gap: 16px; }
.map-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.leg { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.sw { width: 18px; height: 18px; border-radius: 5px; flex: none; border: 1px solid rgba(0,0,0,.08); }
.sw-uvs { background: #a6c078; } .sw-lsi { background: #b98ea6; } .sw-none { background: #ddd5c3; }
.sw-pin { border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: 0 0 0 3px rgba(81,126,2,.2); }

.area-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.area-head { font-family: var(--serif); font-size: 1.28rem; color: var(--green-deep); display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.area-head .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot-uvs { background: var(--green); } .dot-lsi { background: var(--plum); }
.area-office { margin: 14px 0 0; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.area-office svg { width: 16px; height: 16px; color: var(--plum); flex: none; }
.area-office a { color: var(--green); font-weight: 700; }

/* reveal (subtle) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .block, .card-2, .staff-grid, .contact-grid, .footer-top, .where-grid { grid-template-columns: 1fr; }
  .block.reverse .block-media { order: 0; }
  .block-media { max-width: 520px; margin: 0 auto; }
  .vt-map-svg { max-width: 340px; }
  .where-side { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .brand img { height: 74px; }
  .nav-toggle { display: block; margin: 6px 4px 6px auto; order: -1; }
  .mainnav .nav-inner { flex-wrap: wrap; justify-content: flex-start; }
  .mainnav a { display: none; flex-basis: 100%; justify-content: center; }
  .mainnav.open a { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
