/* v4 (Nov 23, 2026): homepage order + area pages. Same palette and map look as v3. */

/* Shared headings for centered sections */
.v4-head { text-align: center; max-width: 46rem; margin: 0 auto 40px; }
.v4-head .v3-intro { margin: 0 auto; }
.v4-rule-top { border-top: 1px solid var(--v3-line); padding-top: var(--v3-space); }
.v3-section.v4-guides, .v3-section.v4-reviews, .v3-section.v4-contact { padding-top: 0; }
.v4-live { display: inline-block; margin-left: 8px; padding: 1px 6px; border: 1px solid var(--v3-line); border-radius: 3px; color: var(--v3-gray); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; text-decoration: none; }

/* 3. Pathways: four columns of text links on a thin gold rule */
.v4-paths { padding-top: var(--v3-space); }
.v4-paths-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; }
.v4-paths-row li { border-top: 2px solid var(--v3-gold-soft); padding-top: 22px; display: flex; flex-direction: column; }
.v4-num { color: var(--v3-gold-text); font: 700 12px/1 Arial, sans-serif; letter-spacing: .16em; margin-bottom: 12px; }
.v4-paths-row h3 { margin: 0 0 10px; color: var(--v3-navy); font: 500 23px/1.2 Georgia, "Times New Roman", serif; }
.v4-paths-row p { margin: 0 0 16px; color: var(--v3-text); font-size: 15px; line-height: 1.65; flex: 1; }
.v4-textlink, .v4-textlink:link, .v4-textlink:visited, .v4-links a, .v4-links a:link, .v4-links a:visited { color: var(--v3-navy); font-weight: 700; font-size: 15px; text-decoration: underline; text-decoration-color: var(--v3-gold-soft); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.v4-textlink:hover, .v4-links a:hover { color: #233e68; text-decoration-color: var(--v3-navy); }
.v4-textlink:focus-visible, .v4-links a:focus-visible, .v4-arealist a:focus-visible, .v4-guides-row a:focus-visible { outline: 3px solid var(--v3-gold); outline-offset: 3px; }

/* 4. Map key + accessible area list (in sync with the map) */
.v4-key { margin: 14px 0 0; text-align: center; color: var(--v3-gray); font: 13px/1.5 Arial, sans-serif; }
.v4-key-city, .v4-key-research { display: inline-block; width: 22px; height: 0; margin-right: 8px; vertical-align: middle; }
.v4-key-city { border-top: 2px solid var(--v3-gold-soft); }
.v4-key-research { border-top: 2px dashed #8a94a6; }
.v4-key-dot { margin: 0 10px; }
.v4-arealist ul { list-style: none; margin: 18px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; font: 14.5px/1.4 Arial, sans-serif; }
.v4-arealist li { border-right: 1px solid var(--v3-line); }
.v4-arealist li:last-child { border-right: 0; }
.v4-arealist a { display: inline-block; padding: 6px 14px; color: var(--v3-text); text-decoration: none; }
.v4-arealist a:hover, .v4-arealist a[aria-current] { color: var(--v3-navy); text-decoration: underline; text-decoration-color: var(--v3-gold-soft); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Map markers: hover state shared by the shape and its label */
.cm-marker.is-hover .cm-dot { transform: scale(1.3); }
.cm-marker.is-hover .cm-label { color: var(--v3-gold-soft); }
.cm-panel .cm-actions .cm-meta { margin: 0; }
.cm-panel .cm-source { margin-top: 14px; font-size: 12px; }
.cm-frame.is-loading .cm-poster { opacity: .9; }

/* Place markers (area pages): navy disc, gold ring, white line icon */
.cm-marker.is-place .cm-dot { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--v3-navy-0); color: #ffffff; box-shadow: 0 0 0 2px var(--v3-gold-soft), 0 2px 6px rgba(0,0,0,.4); }
.cm-marker.is-place .cm-dot svg { width: 13px; height: 13px; }
.cm-marker.is-place .cm-label { left: 34px; }
.cm-marker.is-place.is-active .cm-dot, .cm-marker.is-place:hover .cm-dot { background: var(--v3-gold-soft); color: var(--v3-navy-0); }

/* 5/6. Feature link lists */
.v4-links { list-style: none; margin: 22px 0 0; padding: 0; }
.v4-links li { padding: 12px 0; border-top: 1px solid var(--v3-line); }
.v4-links li:last-child { border-bottom: 1px solid var(--v3-line); }
.v4-links a::after { content: " \2192"; color: var(--v3-gold-soft); text-decoration: none; display: inline-block; margin-left: 6px; }

/* 7. Guides: simple text row */
.v4-guides-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; }
.v4-guides-row li { border-top: 2px solid var(--v3-gold-soft); padding-top: 18px; }
.v4-guides-row a { color: var(--v3-navy); font: 500 19px/1.35 Georgia, "Times New Roman", serif; text-decoration: none; }
.v4-guides-row a:hover { text-decoration: underline; text-decoration-color: var(--v3-gold-soft); text-underline-offset: 5px; }
.v4-guides-row a::after { content: "\2192"; display: block; margin-top: 10px; color: var(--v3-gold-soft); font-family: Arial, sans-serif; }

/* 8. Reviews */
.v4-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; max-width: 1060px; margin: 0 auto; }
.v4-quotes figure { margin: 0; border-left: 2px solid var(--v3-gold-soft); padding-left: 28px; }
.v4-quotes blockquote { margin: 0; }
.v4-quotes blockquote p { margin: 0 0 16px; color: var(--v3-navy); font: 400 19px/1.6 Georgia, "Times New Roman", serif; }
.v4-quotes figcaption { color: var(--v3-gray); font: 14px/1.5 Arial, sans-serif; }
.v4-quotes figcaption strong { color: var(--v3-text); }

/* 9. Contact: copy left, form right */
.v4-contact { padding-bottom: var(--v3-space); }
.v4-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.v4-direct { margin: 26px 0 0; font: 400 clamp(19px, 1.9vw, 23px)/1.8 Georgia, "Times New Roman", serif; }
.v4-direct a { color: var(--v3-navy); text-decoration: none; border-bottom: 2px solid var(--v3-gold-soft); }
.v4-form { font: 15px/1.5 Arial, sans-serif; color: var(--v3-text); }
.v4-form p { margin: 0 0 16px; }
.v4-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.v4-form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 13.5px; color: var(--v3-navy); }
.v4-form input[type=text], .v4-form input[type=email], .v4-form input[type=tel], .v4-form select, .v4-form textarea { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 12px; border: 1px solid #c8ced8; border-radius: 3px; background: #fff; color: var(--v3-text); font: inherit; }
.v4-form input:focus, .v4-form select:focus, .v4-form textarea:focus { outline: 2px solid var(--v3-gold); outline-offset: 1px; border-color: var(--v3-navy); }
.v4-consent { margin: 4px 0 18px; }
.v4-consent p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.v4-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--v3-navy); }
.v4-consent label { display: inline; font-weight: 400; font-size: 13px; line-height: 1.55; color: var(--v3-text); margin: 0; }
.v4-pending { color: var(--v3-gold-text); font-size: 12px; font-style: italic; }
.v4-form .form-thanks { margin-top: 12px; font-size: 14px; color: var(--v3-navy); }

/* ---------- Area pages ---------- */
.v4-area-hero { background: var(--v3-navy-0); color: #fff; padding: 56px 28px 60px; }
.v4-area-hero .v3-wrap { max-width: 1180px; }
.v4-crumbs ol { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font: 13px/1.4 Arial, sans-serif; color: #c9d1de; }
.v4-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--v3-gold-soft); }
.v4-crumbs a { color: #ffffff; }
.v4-area-hero .v3-eyebrow { color: var(--v3-gold-soft); }
.v4-area-hero h1 { margin: 0 0 14px; font: 500 clamp(38px, 5vw, 58px)/1.08 Georgia, "Times New Roman", serif; color: #fff; }
.v4-area-hero .v3-rule { background: var(--v3-gold-soft); }
.v4-area-hero p.v4-lead { max-width: 46rem; margin: 0 0 14px; font: 18px/1.7 Arial, sans-serif; color: #e8ecf3; }
.v4-area-hero .v4-tradeoffs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 52rem; margin: 26px 0 0; padding: 0; list-style: none; }
.v4-area-hero .v4-tradeoffs div { border-top: 1px solid rgba(213,172,99,.6); padding-top: 14px; }
.v4-area-hero .v4-tradeoffs h2 { margin: 0 0 8px; color: var(--v3-gold-soft); font: 700 12px/1.3 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.v4-area-hero .v4-tradeoffs p { margin: 0; color: #e8ecf3; font: 15px/1.65 Arial, sans-serif; }
.v4-area-map .v3-head { text-align: left; border-top: 0; padding-top: 0; }
.v4-area-map .v3-head .v3-rule { margin-left: 0; }
.v4-area-map .v3-intro { margin: 0 0 26px; }
.v4-explorer { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; grid-template-areas: "map filters" "map list"; gap: 0 24px; align-items: start; }
.v4-explorer .cm-frame { grid-area: map; }
.v4-filterbox { grid-area: filters; }
.v4-listbox { grid-area: list; }
.v4-explorer .v4-placelist { max-height: 360px; }
.v4-explorer .cm-frame { height: clamp(520px, 72vh, 720px); }
.v4-side { font: 14px/1.5 Arial, sans-serif; color: var(--v3-text); }
.v4-filters { border: 0; margin: 0 0 14px; padding: 0; }
.v4-filters legend { padding: 0; margin-bottom: 10px; color: var(--v3-navy); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.v4-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v4-chip { position: relative; }
.v4-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.v4-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid #c8ced8; border-radius: 18px; background: #fff; color: var(--v3-text); cursor: pointer; font-size: 13.5px; }
.v4-chip input:checked + span { background: var(--v3-navy-0); border-color: var(--v3-navy-0); color: #fff; }
.v4-chip input:checked + span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--v3-gold-soft); }
.v4-chip input:focus-visible + span { outline: 3px solid var(--v3-gold); outline-offset: 2px; }
.v4-search { margin: 0 0 12px; }
.v4-search label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--v3-navy); font-size: 13px; }
.v4-search input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 12px; border: 1px solid #c8ced8; border-radius: 3px; font: inherit; }
.v4-count { margin: 0 0 8px; color: var(--v3-gray); font-size: 13px; }
.v4-placelist { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; border-top: 1px solid var(--v3-line); }
.v4-placelist li { border-bottom: 1px solid var(--v3-line); }
.v4-placelist li[hidden] { display: none; }
.v4-placelist button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 11px 6px; cursor: pointer; font: inherit; color: var(--v3-text); }
.v4-placelist button:hover, .v4-placelist button:focus-visible { background: #f6f7f9; }
.v4-placelist button:focus-visible { outline: 3px solid var(--v3-gold); outline-offset: -3px; }
.v4-placelist strong { display: block; color: var(--v3-navy); font-size: 14.5px; }
.v4-placelist small { color: var(--v3-gray); font-size: 12.5px; }
.v4-placelist .v4-noloc { padding: 11px 6px; }
.v4-schoolnote { margin: 12px 0 0; color: var(--v3-gray); font-size: 12.5px; }
.v4-routes { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; color: var(--v3-navy); }
.v4-routes input { width: 20px; height: 20px; accent-color: var(--v3-navy); }
.v4-prose { max-width: 46rem; }
.v4-prose h2 { margin-top: 0; }
.v4-prose p, .v4-prose li { font: 16.5px/1.75 Arial, sans-serif; color: var(--v3-text); }
.v4-prose ul { padding-left: 20px; }
.v4-prose li { margin-bottom: 8px; }
.v4-prose li strong { color: var(--v3-navy); }
.v4-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.v3-section.v4-tight { padding-top: 0; }
.v4-soon { padding: var(--v3-space) 28px; }
.v4-soon .v4-prose { margin: 0 auto; text-align: left; }

@media (max-width: 959px) {
  .v4-paths-row, .v4-guides-row { grid-template-columns: 1fr 1fr; gap: 28px 28px; }
  .v4-contact-grid, .v4-two { grid-template-columns: 1fr; gap: 32px; }
  .v4-explorer { grid-template-columns: 1fr; grid-template-areas: "filters" "map" "list"; }
  .v4-listbox { margin-top: 20px; }
  .v4-explorer .v4-placelist { max-height: none; }
}
@media (max-width: 767px) {
  .v4-paths-row, .v4-guides-row, .v4-quotes { grid-template-columns: 1fr; gap: 26px; }
  .v4-head { margin-bottom: 30px; }
  .v4-paths-row h3 { font-size: 21px; }
  .v4-row2 { grid-template-columns: 1fr; }
  .v4-arealist ul { font-size: 14px; padding: 0 12px; }
  .v4-arealist a { padding: 8px 10px; min-height: 24px; }
  .v4-quotes blockquote p { font-size: 17.5px; }
  .v4-area-hero { padding: 40px 22px 44px; }
  .v4-area-hero .v4-tradeoffs { grid-template-columns: 1fr; gap: 18px; }
  .v4-explorer .cm-frame { height: 520px; }
  .v4-area-map .v3-head, .v4-area-map .v4-side { padding: 0 22px; }
  .v4-form .v3-btn { width: 100%; }
}

/* Area page rhythm fixes */
.area-page { --v3-space: clamp(52px, 6vw, 84px); }
.v3-section.v4-area-map { padding-top: var(--v3-space); }
.v4-prose p.v3-eyebrow, .v3-copy p.v3-eyebrow { font: 700 13px/1.4 Arial, sans-serif; color: var(--v3-gold-text); letter-spacing: .17em; margin: 0 0 14px; }
.v4-prose ul.v4-links { padding-left: 0; }
.v4-prose ul.v4-links li { margin-bottom: 0; }
#area-map, #hall-map { scroll-margin-top: 96px; }
