.home-page {
  --home-surface: #f7f6f2;
  --home-border: #d9ded5;
  --home-action: #173c32;
  --home-action-light: #d7e8ce;
  --home-map-water: #e8efee;
  --home-map-land: #c9d8c4;
  --home-sans: system-ui, sans-serif;
  --home-edge: clamp(16px, 4vw, 48px);
  background: var(--home-surface);
}

.home-page .stage { display: block; max-width: none; padding: 0; }
.home-page .sheet { display: block; margin: 0; min-height: 0; border: 0; border-radius: 0; background: var(--home-surface); }
.home-page .sheet > * { margin-inline: 0; }
.home-page .sheet .home-container { margin-inline: auto; }
.home-page .sheet-head {
  position: static;
  max-width: 1440px;
  margin-inline: auto;
  padding: 12px var(--home-edge);
  min-height: 68px;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.home-page .sheet-head nav { font: 600 0.875rem/1.3 var(--home-sans); gap: clamp(12px, 2vw, 28px); text-transform: none; letter-spacing: normal; }
.home-page .sheet-head nav a { display: inline-flex; align-items: center; min-height: 44px; }
.home-page .sheet-head .cta { background: transparent; border: 1px solid var(--home-border); border-radius: var(--radius-s); color: var(--ink); }
.home-page .sheet-head .cta:hover { background: white; color: var(--home-action); }
.home-page .brand { font-size: clamp(1.05rem, 2vw, 1.3rem); }
.home-page .brand .directory-mark { width: 42px; height: 42px; }

.home-page .sheet .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 380px;
  overflow: hidden;
  margin-inline: max(var(--home-edge), calc((100% - 1344px) / 2));
  border-radius: var(--radius);
  background: var(--home-action);
  color: white;
}
.home-hero-photo, .home-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-photo { object-fit: cover; object-position: center 56%; z-index: -2; }
.home-hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgb(13 27 22 / 93%) 0%, rgb(13 27 22 / 82%) 47%, rgb(13 27 22 / 14%) 100%); }
.home-hero-inner { width: 100%; padding: clamp(26px, 5.1vw, 76px); }
.home-hero h1 { max-width: 800px; color: white; font-size: clamp(2.1rem, 4.8vw, 4.65rem); line-height: 1.02; text-wrap: pretty; }
.home-hero p { margin: 14px 0 25px; font: 400 clamp(1rem, 1.6vw, 1.17rem)/1.45 var(--home-sans); color: white; }
.home-hero :focus-visible { outline: 3px solid white; outline-offset: 4px; }
.home-search { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 8px; max-width: 680px; }
.home-search-field { display: grid; min-width: 0; gap: 3px; padding: 9px 13px 5px; color: var(--ink); background: white; border-radius: var(--radius-s); font: 600 0.75rem/1.25 var(--home-sans); }
.home-search :is(input, select) { width: 100%; min-width: 0; min-height: 35px; padding: 0; border: 0; background: white; color: var(--ink); font: 400 1rem/1.35 var(--home-sans); }
.home-search :is(input, select):focus-visible { outline: 2px solid var(--home-action); outline-offset: 1px; }
.home-search input::placeholder { color: var(--ink-2); }
.home-search button { border: 0; border-radius: var(--radius-s); padding: 0 24px; min-height: 46px; background: var(--home-action-light); color: var(--home-action); font: 650 1rem/1.25 var(--home-sans); cursor: pointer; }
.home-search button:hover { background: white; }

.home-container { max-width: 1440px; padding-inline: var(--home-edge); }
.home-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.home-city-section { padding: clamp(22px, 3.6vw, 48px) 0 0; }
.home-city-links { display: flex; flex-wrap: wrap; gap: 18px; font: 600 0.875rem/1.4 var(--home-sans); }
.home-city-links a { display: inline-flex; align-items: center; min-height: 44px; }
.home-container :is(.home-city-links, .home-city-index, .home-map-key, .home-map-credit) a { color: var(--home-action); }
.home-city-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 0; margin-top: 15px; list-style: none; }
.home-city-cards a {
  position: relative;
  display: grid;
  align-content: center;
  height: 100%;
  min-height: 88px;
  gap: 5px;
  padding: 13px 28px 13px 14px;
  background: white;
  border: 1px solid var(--home-border);
  border-radius: var(--radius-s);
  color: var(--ink);
  text-decoration: none;
}
.home-city-cards a:hover { border-color: var(--home-action); background: var(--home-map-water); }
.home-city-cards strong { font: 600 clamp(1.08rem, 2vw, 1.3rem)/1.12 var(--serif); overflow-wrap: anywhere; }
.home-city-cards span { color: var(--ink-2); font: 500 0.82rem/1.25 var(--home-sans); }
.home-city-cards .home-city-arrow { position: absolute; right: 10px; top: 12px; color: var(--home-action); }

.home-top-rated, .home-map, .home-all-cities { padding-top: clamp(38px, 6vw, 78px); scroll-margin-top: 16px; }
.home-map-layout { display: grid; grid-template-columns: minmax(0, var(--map-width)) minmax(210px, 250px); gap: 16px; align-items: start; margin-top: 16px; }
.home-map-canvas {
  position: relative;
  aspect-ratio: var(--map-ratio);
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: var(--radius-s);
  background: var(--home-map-water);
}
.home-map-canvas svg { display: block; width: 100%; height: 100%; }
.home-map-land { fill: var(--home-map-land); stroke: #87998a; stroke-width: 1.4; }
.home-map-canvas ul, .home-map-key { padding: 0; list-style: none; }
.home-map-pin, .home-map-key-pin { display: grid; place-items: center; color: white; background: var(--home-action); font: 650 0.875rem/1 var(--home-sans); border-radius: 50%; }
.home-map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 2px solid white;
  text-decoration: none;
}
.home-map-pin:hover { color: white; background: #245343; }
.home-map-key a { display: flex; gap: 10px; align-items: center; padding: 6px 0; min-height: 44px; border-bottom: 1px solid var(--home-border); font: 600 0.9rem/1.4 var(--home-sans); text-decoration: none; }
.home-map-key a:hover { text-decoration: underline; }
.home-map-key-pin { width: 24px; height: 24px; flex: 0 0 24px; font-size: 0.75rem; }
.home-map-credit { margin-top: 8px; color: var(--ink-2); font: 400 0.75rem/1.4 var(--home-sans); }
.home-city-index { padding: 0; margin-top: 18px; columns: 4; column-gap: 26px; list-style: none; font: 500 0.925rem/1.4 var(--home-sans); }
.home-city-index li { break-inside: avoid; }
.home-city-index a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 5px 0; text-decoration: none; }
.home-city-name { min-width: 0; overflow-wrap: anywhere; }
.home-city-count { flex: none; color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 500; }
.home-city-index a:hover { text-decoration: underline; }
.home-details > .section { max-width: 880px; padding-top: 50px; }
.home-page .home-details > .section h2 { margin-bottom: 18px; }

@media (min-width: 721px) {
  .home-top-rated .row { grid-template-columns: 1.9rem 52px minmax(0, 1fr) auto; }
  .home-top-rated .logo { width: 52px; height: 52px; }
}
@media (max-width: 1060px) {
  .home-city-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .home-page .sheet-head nav > a { display: none; }
  .home-page .sheet-head nav > a.cta { display: inline-flex; padding: 8px 10px; white-space: nowrap; }
  .home-page .sheet .home-hero { min-height: 0; }
  .home-hero::after { background: rgb(13 27 22 / 80%); }
  .home-hero-inner { padding: 26px 18px; }
  .home-hero p { margin: 10px 0 18px; }
  .home-search { grid-template-columns: minmax(0, 1fr) auto; }
  .home-search-field:first-child { grid-column: 1 / -1; }
  .home-map-layout { grid-template-columns: 1fr; }
  .home-map-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .home-city-index { columns: 2; }
}
@media (max-width: 440px) {
  .home-city-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-city-cards a { min-height: 74px; }
}
