/* vimty.com home: the village map (2026-11-21). One screen: heading, the portfolio line, the village, one next step.
   Houses are drawn full by default; only when village.js has run (.vjs) do unvisited houses go quiet. */
.vv { padding: clamp(14px, 3vw, 36px) 0 clamp(18px, 3vw, 36px); }
.vv-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: grid; gap: 10px; grid-template-areas: "t" "m" "a"; }
.vv-t { grid-area: t; } .vv-map { grid-area: m; } .vv-acts { grid-area: a; }
.vv-h1 { font-size: clamp(1.75rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 8px; color: #162433; text-wrap: balance; max-width: 16ch; }
.vv-line { font-size: clamp(1rem, 1.9vw, 1.3rem); line-height: 1.4; margin: 0; color: #2c3a48; max-width: 34ch; }
.vv-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.vv-how { font-weight: 700; color: #24555e; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.vv-svg { display: block; width: auto; max-width: 100%; height: auto; max-height: max(400px, calc(100svh - 330px)); margin: 0 auto; }
@media (min-width: 900px) {
  .vv-in { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "t m" "a m"; align-items: end; column-gap: 56px; }
  .vv-acts { align-self: start; }
  .vv-svg { max-height: calc(100vh - 120px); width: auto; max-width: 100%; }
}
.vv-node { fill: #f5efe3; stroke: #d9cdb6; stroke-width: 1.5; stroke-dasharray: 5 5; }
.vv-road { fill: none; stroke: #e6d9bf; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.vv-tree rect { fill: #8a6a45; } .vv-tree circle { fill: #9cbf8f; }
.vv-sign { font: 600 12px system-ui, -apple-system, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; fill: #6a5a40; text-anchor: middle; }
.vv-walker { fill: #0D7377; stroke: #0D7377; stroke-width: 3; stroke-linecap: round; } .vv-walker .vv-bag { stroke-width: 1.5; fill: #f2c14e; stroke: #7a5a1e; }
.vh, .vo { cursor: pointer; transition: opacity 0.6s ease, filter 0.6s ease; }
.vh:focus, .vo:focus { outline: none; }
.vh-hit { fill: transparent; stroke: transparent; stroke-width: 3; }
.vh:hover .vh-hit, .vo:hover .vh-hit { fill: rgba(13, 115, 119, 0.07); }
.vh:focus-visible .vh-hit, .vo:focus-visible .vh-hit { stroke: #0D7377; fill: rgba(13, 115, 119, 0.1); }
.vh-roof { stroke: #162433; stroke-width: 1.5; stroke-linejoin: round; }
.vh-body { fill: #fffdf8; stroke: #162433; stroke-width: 1.5; }
.vh-win { fill: #f2c14e; stroke: #162433; stroke-width: 1; }
.vh-label { font: 600 14px system-ui, -apple-system, sans-serif; fill: #162433; text-anchor: middle; paint-order: stroke; stroke: #f5efe3; stroke-width: 4px; stroke-linejoin: round; }
.vh:hover .vh-label, .vh:focus-visible .vh-label, .vo:hover .vh-label { text-decoration: underline; }
.vo-roof { fill: #fffdf8; stroke: #162433; stroke-width: 1.5; stroke-dasharray: 3 3; } .vo-door { fill: #f2c14e; stroke: #162433; stroke-width: 1; }
/* quiet until visited: only with JS (the list lives in this browser), never with JS off */
.vjs .vh:not(.seen) .vh-roof, .vjs .vh:not(.seen) .vh-body, .vjs .vh:not(.seen) .vh-door { opacity: 0.45; filter: grayscale(1); transition: opacity 0.6s ease, filter 0.6s ease; }
.vjs .vh:not(.seen) .vh-win { fill: #d8d2c6; }
.vjs .vh:not(.seen) .vh-label { fill: #4a5563; font-weight: 500; }
.vjs .vh:not(.seen):hover .vh-roof, .vjs .vh:not(.seen):hover .vh-body, .vjs .vh:not(.seen):hover .vh-door,
.vjs .vh:not(.seen):focus-visible .vh-roof, .vjs .vh:not(.seen):focus-visible .vh-body, .vjs .vh:not(.seen):focus-visible .vh-door { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { .vh, .vo, .vh * { transition: none !important; } }
@media print { .vjs .vh:not(.seen) * { opacity: 1 !important; filter: none !important; } }
