:root {
  --ink: #1b1714;
  --ink-soft: #4a433b;
  --cream: #f4efe6;
  --cream-deep: #e8e0d2;
  --paper: #fbf8f3;
  --studio: #3c3c3c;
  --denim: #2a4560;
  --denim-deep: #172838;
  --denim-bright: #3d6286;
  --red: #a3141c;
  --red-hot: #c41922;
  --line: rgba(27, 23, 20, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(23, 40, 56, 0.16);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(61, 98, 134, 0.08), transparent 50%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--denim); }
a:hover { color: var(--red); }
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
::selection { background: #f0c9c6; color: var(--ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }


.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.brand { order: 1; }
.nav-links { order: 2; }
.nav-phone { order: 3; }
.nav-toggle { order: 4; }
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-width: 12rem;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.brand-role {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--red);
  margin-top: 0.12rem;
  font-weight: 600;
}
.brand-broker {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 0.18rem;
  color: var(--ink);
}
.brand-office {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-soft);
  margin-top: 0.12rem;
  font-weight: 500;
}
.nav-wrap { align-items: center; }
.nav-links { flex-wrap: nowrap; }
.broker-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem 0.65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.8rem;
}
.broker-bar .brand-broker { margin-top: 0; }
.broker-bar .brand-office { margin-top: 0; }
.portrait-caption {
  margin: 0;
  padding: 0.7rem 0.85rem 0.8rem;
  background: var(--ink);
  color: #f4efe6;
}
.portrait-caption .cap-role {
  display: block;
  color: #e7c4c2;
  font-weight: 600;
  font-size: 0.92rem;
}
.portrait-caption .cap-broker {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 560;
  line-height: 1.25;
  margin-top: 0.12rem;
}
.portrait-caption .cap-office {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.12rem;
  color: #e7d5d2;
}
.about-name, .about-broker {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.about-broker { margin-top: 0.2rem; }
.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav-links a[aria-current="page"] {
  color: var(--red);
  box-shadow: inset 0 -2px 0 var(--red);
}
.nav-phone {
  text-decoration: none;
  background: var(--red);
  color: #fff !important;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--ink); color: #fff !important; }

.player {
  background: var(--denim-deep);
  color: #f7f3ec;
}
.player-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.15rem;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.25rem;
  align-items: center;
}
.player-now {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: var(--red-hot);
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.play-btn:hover { background: #fff; color: var(--denim-deep); }
.icon-play, .icon-pause { display: block; }
.play-btn .icon-pause { display: none; }
.play-btn.is-playing .icon-play { display: none; }
.play-btn.is-playing .icon-pause { display: block; }
.player-kicker, .player-status {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7c4b4;
}
.now-title, .track-title {
  display: block;
  margin: 0.1rem 0 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
.now-byline, .track-byline {
  display: block;
  margin: 0.2rem 0 0;
  color: #f0d7d4;
  font-size: 0.98rem;
}
.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.track {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  font: inherit;
  min-height: 76px;
}
.track:hover, .track.is-current {
  background: rgba(255, 255, 255, 0.1);
  border-color: #e7b7b4;
}
.track-title { font-size: 1.2rem; }
.progress {
  margin-top: 0.55rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  cursor: pointer;
  width: min(220px, 46vw);
}
.progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: #f0d7d4;
  border-radius: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  min-height: 78vh;
  background: var(--cream);
}
.hero-copy {
  padding: 3.2rem 6vw 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}
.kicker {
  margin: 0 0 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5rem); margin: 0 0 0.4rem; }
h1 .rule, .section-title .rule {
  display: block;
  width: 4.4rem;
  height: 4px;
  background: var(--red);
  margin-top: 1rem;
  border-radius: 99px;
}
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 40rem; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--denim-deep); }
.btn-light:hover { background: var(--cream); color: var(--ink); }

.portrait {
  margin: 0;
  background: var(--studio);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portrait img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 480px;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  position: relative;
  inset: auto;
}
.photo-fallback {
  display: none;
  min-height: 520px;
  height: 100%;
  padding: 2.5rem;
  color: #f4efe6;
  align-content: end;
  background:
    radial-gradient(420px 220px at 50% 42%, rgba(255,255,255,0.06), transparent 70%),
    var(--studio);
}
.portrait.is-missing .photo-fallback { display: grid; }
.portrait.is-missing img { display: none; }
.photo-fallback strong {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.photo-fallback span { color: #e7c4c2; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }

.fact-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--denim);
  color: #f7f3ec;
}
.fact {
  padding: 1.3rem 1.2rem 1.4rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.fact:last-child { border-right: 0; }
.fact b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}
.fact span { display: block; margin-top: 0.4rem; color: #e4d5cc; font-size: 0.92rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 4.2rem 1.25rem; }
.wrap.tight { padding-top: 2.4rem; }
h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.55rem; margin: 0 0 0.4rem; }
.section-intro { font-size: 1.12rem; color: var(--ink-soft); max-width: 42rem; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: 0 10px 30px rgba(27, 23, 20, 0.04);
  text-decoration: none;
  color: inherit;
  display: block;
}
a.card:hover { border-color: var(--denim-bright); transform: translateY(-2px); }
.card .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.card p { color: var(--ink-soft); margin: 0.4rem 0 0; }

.land-panel {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.land-panel svg { width: 100%; height: auto; display: block; }
.land-caption {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.band {
  background: var(--denim-deep);
  color: #f7f3ec;
}
.band a { color: #f3d2cf; }
.band h2 { color: #fff; }
.tagline {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  margin: 0.2rem 0 0.6rem;
}
.tagline em { font-style: normal; color: #ffd0cc; }

.steps { list-style: none; margin: 1.2rem 0 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--red);
  line-height: 1;
  width: 1.6rem;
}

.compare { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.98rem; }
.compare th, .compare td {
  text-align: left;
  vertical-align: top;
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid var(--line);
}
.compare th { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.compare td:first-child { font-weight: 600; width: 18%; }

.school-list, .plain-list { padding-left: 1.1rem; }
.school-list li, .plain-list li { margin: 0.35rem 0; }

.rates { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.rates th, .rates td { text-align: left; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); }
.rates th { background: var(--cream); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.note {
  background: var(--cream);
  border-left: 4px solid var(--red);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}

.page-hero { padding: 3.2rem 1.25rem 0.4rem; max-width: var(--max); margin: 0 auto; }
.portrait-inline {
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  background: var(--studio);
  position: relative;
}
.portrait-inline img { width: 100%; height: 520px; object-fit: cover; object-position: center 15%; }
.portrait-inline .photo-fallback { min-height: 420px; }
.brand-shot {
  margin-top: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.listing-shot {
  margin: 1.2rem 0 0;
  max-width: 720px;
}
.listing-shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.listing-shot figcaption {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}


form.contact {
  display: grid;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
}
label { font-weight: 600; font-size: 0.92rem; display: grid; gap: 0.35rem; }
input, select, textarea {
  font: inherit;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #cfc6b8;
  background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
button.btn { cursor: pointer; }
#form-note[hidden] { display: none; }

.source-list { font-size: 0.92rem; color: var(--ink-soft); }
.source-list li { margin: 0.4rem 0; }

.site-footer {
  background: #11100e;
  color: #f4efe6;
  padding: 2rem 1.25rem 2.4rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.site-footer p { margin: 0 0 0.7rem; }
.site-footer a { color: #f4efe6; }
.eho {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}
.eho svg { width: 36px; height: 36px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; margin-top: 1rem; font-size: 0.92rem; }
.footer-links a { color: #e7d5d2; }

@media (max-width: 980px) {
  .hero, .split, .cards, .fact-rail { grid-template-columns: 1fr; }
  .track-list { grid-template-columns: 1fr; }
  .track-title { font-size: 1.35rem; }
  .fact { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .player-inner { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .nav-phone { order: 3; margin-left: 0; }
  .nav-links {
    display: none;
    order: 5;
    margin-left: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.2rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.is-open { display: flex; }
  .compare { display: block; }
  .compare thead { display: none; }
  .compare tr { display: block; margin-bottom: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .compare td { display: block; width: auto; border: 0; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.2rem;
  }
}
@media (max-width: 640px) {
  .nav-wrap { padding-inline: 0.9rem; }
  .brand { min-width: 0; }
  .hero-copy, .page-hero, .wrap { padding-inline: 1rem; }
  h1 { font-size: 2.5rem; }
  .now-title { font-size: 1.35rem; }
  .play-btn { width: 56px; height: 56px; }
}

/* ==== Explore Union features (generated by features-build) ==== */
/* Header: brokerage as a clear secondary line under Craig's name */
.brand-sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.55rem; margin-top: 0.14rem; }
.brand-sub .brand-role { margin-top: 0; font-size: 0.86rem; }
.brand-kw {
  font-size: 0.86rem; font-weight: 600; color: var(--denim-deep); letter-spacing: 0.01em;
  padding-left: 0.55rem; border-left: 2px solid var(--red);
}
.broker-bar { display: none; }
/* Footer brokerage block */
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 0.9fr; gap: 1.4rem; align-items: start; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(244,239,230,0.14); }
.footer-name, .footer-kw { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 0.3rem !important; }
.footer-kw { color: #f0b9b5; }
.footer-small { font-size: 0.86rem; color: #cfc6b8; }
.footer-links { margin-top: 1.1rem; }
.footer-resources { margin-top: 0.9rem !important; font-size: 0.9rem; color: #cfc6b8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page furniture */
.crumb { margin: 0 0 0.4rem; font-size: 0.9rem; }
.crumb a { text-decoration: none; font-weight: 600; }
.crumb a::before { content: "\2190  "; }
.band-slim .wrap { padding-top: 2.6rem; padding-bottom: 2.8rem; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; box-shadow: 0 10px 30px rgba(27,23,20,0.04); }
.tool + .tool { margin-top: 1.2rem; }
.tool h2, .tool h3 { margin-top: 0; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.9rem 1rem; }
.tool label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; }
.tool input, .tool select { width: 100%; font: inherit; padding: 0.65rem 0.75rem; border: 1px solid rgba(27,23,20,0.25); border-radius: 12px; background: #fff; }
.tool .check { display: flex; gap: 0.5rem; align-items: center; font-weight: 500; }
.tool .check input { width: auto; }
.hint { font-size: 0.86rem; color: var(--ink-soft); margin: 0.3rem 0 0; }
.result { margin-top: 1.2rem; padding: 1.2rem; border-radius: 16px; background: var(--cream); }
.result .big { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin: 0.2rem 0 0.4rem; color: var(--denim-deep); }
.result table, .data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table th, .data-table td, .result td, .result th { text-align: left; padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.pill { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--cream-deep); font-size: 0.82rem; font-weight: 600; margin: 0 0.3rem 0.3rem 0; }
.muted { color: var(--ink-soft); }

/* Hub */
.hub-group { margin-top: 2.6rem; }
.hub-group:first-of-type { margin-top: 0.6rem; }
.hub-group h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.hub-group .section-intro { margin-top: 0; }
.hub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.1rem; }
.hub-card { display: flex; flex-direction: column; gap: 0.35rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem 1.2rem 1.3rem; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.hub-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.hub-card .eyebrow { margin: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--red); }
.hub-card h3 { margin: 0; font-size: 1.2rem; }
.hub-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.hub-card .go { margin-top: auto; padding-top: 0.5rem; font-weight: 600; color: var(--denim); font-size: 0.92rem; }
.resources-card { background: var(--cream); }
.resources-card ul { margin: 0.2rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
@media (max-width: 980px) { .hub-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hub-cards { grid-template-columns: 1fr; } }

/* Home teaser */
.explore-teaser .hub-cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .explore-teaser .hub-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .explore-teaser .hub-cards { grid-template-columns: 1fr; } }

/* Maps */
.fmap { height: 560px; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--cream-deep); }
.fmap.short { height: 440px; }
@media (max-width: 640px) { .fmap { height: 420px; } .fmap.short { height: 360px; } }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } }
.side-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; min-height: 200px; }
.side-panel h3 { margin-top: 0; }
.side-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.8rem; margin: 0.6rem 0 0; font-size: 0.95rem; }
.side-panel dt { color: var(--ink-soft); }
.side-panel dd { margin: 0; font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.9rem; }
.filters button { appearance: none; font: inherit; font-size: 0.9rem; font-weight: 600; padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--denim-deep); border-color: var(--denim-deep); color: #fff; }
.leaflet-popup-content { font-family: var(--sans); font-size: 0.92rem; line-height: 1.45; }
.leaflet-popup-content h4 { margin: 0 0 0.25rem; font-family: var(--serif); font-size: 1.05rem; }
.place-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.8rem; }
.place-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 0.95rem; }
.place-list b { display: block; font-family: var(--serif); font-weight: 560; }
.place-list span { display: block; font-size: 0.9rem; color: var(--ink-soft); }
.dot { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 50%; margin-right: 0.35rem; vertical-align: -0.05rem; }

/* Bars for commute */
.bar-row { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr 4.5rem; gap: 0.7rem; align-items: center; padding: 0.35rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.bar { height: 0.7rem; border-radius: 999px; background: var(--denim-bright); }
.bar-row .num { font-weight: 600; }

/* Quiz */
.quiz-q { border: 0; padding: 0; margin: 0 0 1.4rem; }
.quiz-q legend { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.6rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.55rem; }
.choices label { display: flex; gap: 0.55rem; align-items: center; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 500 !important; cursor: pointer; margin: 0 !important; }
.choices input { width: auto !important; }
.choices label:has(input:checked) { border-color: var(--denim-deep); background: #eef3f8; }
.match { border-left: 4px solid var(--red); padding: 0.8rem 1rem; background: #fff; border-radius: 12px; margin-top: 0.8rem; }
.match h3 { margin: 0 0 0.3rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; height: 220px; object-fit: cover; }
.gallery figcaption { padding: 0.7rem 0.85rem 0.85rem; font-size: 0.88rem; color: var(--ink-soft); }
.gallery figcaption b { display: block; color: var(--ink); font-size: 0.96rem; }
.coming-soon { display: grid; place-items: center; height: 220px; background: repeating-linear-gradient(135deg, var(--cream) 0 14px, var(--cream-deep) 14px 28px); color: var(--ink-soft); font-weight: 600; text-align: center; padding: 1rem; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.checklist input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; }
.checklist b { display: block; }
.checklist span { color: var(--ink-soft); font-size: 0.95rem; }
.progress-line { height: 0.5rem; background: var(--cream-deep); border-radius: 999px; overflow: hidden; margin: 0.4rem 0 1rem; }
.progress-line span { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s; }

/* Events */
.event { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.event .date { background: var(--denim-deep); color: #fff; border-radius: 14px; text-align: center; padding: 0.5rem 0.3rem; line-height: 1.1; }
.event .date b { display: block; font-family: var(--serif); font-size: 1.7rem; }
.event .date small { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.event h3 { margin: 0 0 0.2rem; font-size: 1.15rem; }
.event p { margin: 0.15rem 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--red); }
.timeline li { position: relative; padding: 0 0 1.3rem 1.4rem; }
.timeline li::before { content: ""; position: absolute; left: -0.45rem; top: 0.35rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--red); }
.timeline b { font-family: var(--serif); font-size: 1.2rem; display: block; }
.chart-box { position: relative; height: 340px; }
/* ==== end Explore Union features ==== */
