:root {
  --ink: #26342a;
  --deep: #18372f;
  --paper: #f7f2df;
  --cream: #fffaf0;
  --leaf: #6f9271;
  --leaf-dark: #496d58;
  --moss: #98ad75;
  --sky: #b9d9d1;
  --sun: #efc66d;
  --clay: #bd765b;
  --wood: #765545;
  --blue: #638aa0;
  --shadow: rgba(45, 67, 51, .18);
  --serif: "Fraunces", Georgia, serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #e8edcf;
  font-family: var(--serif);
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.sky-wash {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 75% 8%, rgba(255, 241, 176, .82), transparent 23rem),
    linear-gradient(#b7d7d0 0 42%, #dce6c5 72%, #a9be83);
}
.sky-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background-image: url("/assets/meadow.png");
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #244438;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 13px var(--mono);
  letter-spacing: .06em;
  text-decoration: none;
}
.brand-orbit {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 20px;
  animation: drift 9s ease-in-out infinite;
}
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a,
.lantern-toggle {
  border: 0;
  padding: 5px 0;
  background: none;
  color: inherit;
  font: 500 10px var(--mono);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.site-header nav a:hover,
.lantern-toggle:hover { border-bottom: 1px solid currentColor; }

.hero {
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 150px clamp(24px, 7vw, 110px) 11vh;
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(240, 244, 217, .9), rgba(240, 244, 217, .34) 55%, transparent),
    linear-gradient(0deg, #dbe5c4 0, transparent 24%),
    url("/assets/meadow.png") center 43% / cover no-repeat;
  filter: saturate(.82) brightness(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(250, 246, 219, .08), rgba(91, 121, 79, .18));
}
.hero-copy { max-width: 790px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--leaf-dark);
  font: 500 10px var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; font-weight: 400; letter-spacing: -.045em; }
h1 {
  max-width: 850px;
  font-size: clamp(54px, 8.2vw, 122px);
  line-height: .88;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(250, 246, 225, .32);
}
.lede {
  max-width: 570px;
  margin: 32px 0 0;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 300;
  line-height: 1.35;
}
.wander-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
  font: 500 11px var(--mono);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.wander-link span { font-size: 22px; animation: bob 2s ease-in-out infinite; }
.weather-note {
  flex: none;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border: 1px solid rgba(54, 78, 57, .25);
  border-radius: 999px;
  background: rgba(251, 248, 226, .72);
  box-shadow: 0 15px 45px rgba(57, 75, 51, .12);
  backdrop-filter: blur(9px);
}
.weather-sun { color: #b57d27; font-size: 28px; }
.weather-note strong,
.weather-note small { display: block; }
.weather-note strong { font: 500 11px var(--mono); text-transform: uppercase; }
.weather-note small { color: #68766a; font-size: 13px; }

.village-section {
  padding: 100px clamp(16px, 5vw, 76px) 120px;
  background: #e8edcf;
}
.section-heading {
  max-width: 1320px;
  margin: 0 auto 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-heading h2,
.town-copy h2 { font-size: clamp(44px, 6vw, 82px); line-height: .95; }
.filters {
  display: flex;
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(52, 80, 61, .18);
  border-radius: 999px;
  background: rgba(255, 252, 236, .5);
}
.filter {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  color: var(--ink);
  font: 500 9px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter.active { background: var(--deep); color: var(--paper); }

.village-map {
  position: relative;
  max-width: 1420px;
  min-height: 850px;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(49, 75, 54, .16);
  border-radius: 42px;
  background:
    linear-gradient(rgba(243, 239, 201, .08), rgba(87, 122, 72, .2)),
    url("/assets/meadow.png") center / cover no-repeat;
  box-shadow: 0 28px 80px rgba(55, 76, 53, .17);
}
.village-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 90px rgba(53, 77, 51, .17);
}
.distant-hills {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(234, 245, 228, .28), transparent 34%);
  pointer-events: none;
}
.cloud {
  position: absolute;
  z-index: 1;
  width: 130px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 253, 234, .56);
  filter: blur(2px);
  animation: clouding 24s linear infinite;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  bottom: 4px;
  border-radius: 50%;
  background: inherit;
}
.cloud::before { left: 20px; width: 52px; height: 52px; }
.cloud::after { right: 18px; width: 66px; height: 66px; }
.cloud-one { top: 9%; left: 12%; }
.cloud-two { top: 16%; left: 69%; transform: scale(.72); animation-delay: -12s; }
.footpath { position: absolute; inset: 0; width: 100%; height: 100%; }
.footpath path {
  fill: none;
  stroke: rgba(232, 207, 149, .62);
  stroke-width: 65;
  stroke-linecap: round;
  filter: drop-shadow(0 2px rgba(94, 92, 59, .13));
}
.landmarks {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 35px 18px;
  align-items: end;
  min-height: 780px;
  padding: 100px 5% 62px;
}
.landmark {
  position: relative;
  min-width: 0;
  border: 0;
  padding: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform .3s ease, opacity .3s ease, filter .3s ease;
}
.landmark:nth-child(2),
.landmark:nth-child(7) { transform: translateY(88px); }
.landmark:nth-child(4),
.landmark:nth-child(9) { transform: translateY(-62px); }
.landmark:nth-child(6) { transform: translateY(-45px); }
.landmark:hover { filter: brightness(1.04); }
.landmark:nth-child(2):hover,
.landmark:nth-child(7):hover { transform: translateY(80px) scale(1.04); }
.landmark:nth-child(4):hover,
.landmark:nth-child(9):hover { transform: translateY(-70px) scale(1.04); }
.landmark:nth-child(6):hover { transform: translateY(-53px) scale(1.04); }
.landmark:not(:nth-child(2)):not(:nth-child(4)):not(:nth-child(6)):not(:nth-child(7)):not(:nth-child(9)):hover {
  transform: translateY(-8px) scale(1.04);
}
.landmark[hidden] { display: none; }
.place-label {
  display: inline-block;
  max-width: 190px;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(42, 66, 49, .18);
  border-radius: 13px;
  background: rgba(255, 251, 230, .88);
  box-shadow: 0 7px 18px rgba(52, 74, 50, .1);
  text-align: left;
}
.place-label strong,
.place-label small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-label strong { font-size: 15px; font-weight: 600; }
.place-label small {
  margin-top: 2px;
  color: #687568;
  font: 500 8px var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.miniature {
  --wall: #e8c98d;
  --roof: #a95f4d;
  --trim: #5c6049;
  position: relative;
  display: block;
  width: 150px;
  height: 145px;
  margin: auto;
  filter: drop-shadow(0 15px 12px rgba(45, 65, 43, .23));
}
.building {
  position: absolute;
  left: 27px;
  bottom: 15px;
  width: 96px;
  height: 76px;
  border: 2px solid rgba(66, 64, 48, .45);
  border-radius: 4px 4px 7px 7px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(99, 73, 47, .08) 50%, transparent 52%),
    var(--wall);
}
.roof {
  position: absolute;
  left: 14px;
  bottom: 82px;
  width: 122px;
  height: 49px;
  border: 2px solid rgba(67, 61, 46, .42);
  border-radius: 70% 70% 9px 9px;
  background: var(--roof);
  clip-path: polygon(50% 0, 100% 74%, 92% 100%, 8% 100%, 0 74%);
}
.door {
  position: absolute;
  left: 61px;
  bottom: 15px;
  width: 28px;
  height: 46px;
  border: 2px solid rgba(63, 54, 43, .42);
  border-radius: 14px 14px 2px 2px;
  background: var(--wood);
}
.door::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 23px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e8d08a;
}
.window {
  position: absolute;
  left: 37px;
  bottom: 43px;
  width: 18px;
  height: 21px;
  border: 3px solid var(--trim);
  background: #b8d8cf;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.chimney {
  position: absolute;
  left: 100px;
  bottom: 105px;
  width: 16px;
  height: 36px;
  border: 2px solid rgba(65, 57, 46, .38);
  background: #875f4f;
}
.chimney::before, .chimney::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(244, 239, 216, .65);
  animation: smoke 4s ease-out infinite;
}
.chimney::before { left: 9px; top: -19px; }
.chimney::after { left: 16px; top: -36px; animation-delay: -2s; }
.miniature::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 16px;
  border-radius: 50%;
  background: rgba(52, 80, 48, .18);
  z-index: -1;
}
.miniature.library { --wall:#d5b27d; --roof:#6c7c5c; }
.miniature.clock { --wall:#d9c69c; --roof:#65808a; }
.miniature.greenhouse .building {
  background: linear-gradient(135deg, rgba(217,246,225,.72), rgba(121,174,145,.66));
  border-color: #54765f;
}
.miniature.greenhouse .building::before {
  content:"";
  position:absolute;
  inset:0;
  background: repeating-linear-gradient(90deg, transparent 0 21px, rgba(64,101,75,.38) 22px 24px);
}
.miniature.greenhouse { --roof: rgba(161, 207, 174, .78); }
.miniature.tower .building { left:45px; width:62px; height:103px; }
.miniature.tower .roof { left:34px; bottom:109px; width:84px; height:33px; }
.miniature.tower .door { left:62px; }
.miniature.tower .window { left:67px; bottom:76px; }
.miniature.tower .chimney { display:none; }
.miniature.windmill .building { left:48px; width:58px; height:95px; border-radius:50% 50% 5px 5px; }
.miniature.windmill .roof { left:40px; bottom:103px; width:75px; height:38px; }
.blades {
  position:absolute;
  left:74px;
  bottom:72px;
  width:5px;
  height:92px;
  background:#6f5944;
  transform-origin:center;
  animation: blades 13s linear infinite;
  z-index:4;
}
.blades::after { content:""; position:absolute; inset:0; background:inherit; transform:rotate(90deg); }
.miniature.observatory { --wall:#d6d1b1; --roof:#66848a; }
.miniature.observatory .roof { border-radius:100px 100px 5px 5px; clip-path:none; height:42px; }
.miniature.observatory .roof::after {
  content:""; position:absolute; left:55%; top:3px; width:4px; height:47px; background:#465d62; transform:rotate(32deg); transform-origin:bottom;
}
.miniature.post { --wall:#e5c58e; --roof:#7d755a; }
.miniature.post .building::after {
  content:"✉"; position:absolute; right:10px; top:13px; color:#6a4f3d; font-size:21px;
}
.miniature.kiln { --wall:#c98965; --roof:#7d5544; }
.miniature.kiln .building { border-radius:44px 44px 5px 5px; }
.miniature.cottage { --wall:#ead39a; --roof:#9b684d; }
.miniature.townhall { --wall:#e3c681; --roof:#65795c; }
.miniature.townhall .building { width:108px; left:21px; }
.miniature.townhall .roof { width:136px; left:7px; }
.status-pin {
  position: absolute;
  right: 7px;
  top: 14px;
  z-index: 6;
  width: 13px;
  height: 13px;
  border: 3px solid rgba(255, 251, 226, .9);
  border-radius: 50%;
  background: #5e9b61;
  box-shadow: 0 0 0 1px rgba(41, 71, 45, .23);
}
.status-pin.ready { background: #d7a951; }
.map-hint {
  position: absolute;
  z-index: 3;
  left: 26px;
  bottom: 22px;
  margin: 0;
  color: rgba(42, 61, 45, .74);
  font: 500 9px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.town-hall-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
  padding: 130px clamp(24px, 7vw, 110px);
  background: var(--paper);
}
.town-copy { max-width: 580px; }
.town-copy > p:not(.eyebrow) {
  margin: 26px 0 34px;
  color: #5d6c60;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.5;
}
.machine-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--leaf-dark);
  font: 500 9px var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.machine-form > div {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #a5ad93;
  border-radius: 15px;
  background: #fffdf4;
}
.machine-form span { padding-left: 16px; color: #829081; font: 13px var(--mono); }
.machine-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 16px 7px;
  background: transparent;
  color: var(--deep);
  font: 500 15px var(--mono);
}
.machine-form button,
.machine-actions button,
.dialog-actions a,
.dialog-actions button {
  border: 0;
  border-radius: 11px;
  padding: 14px 17px;
  background: var(--deep);
  color: var(--cream);
  font: 500 9px var(--mono);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.machine-form button { margin-right: 5px; }
.machine-form button:disabled { opacity: .5; cursor: wait; }
.machine-window {
  overflow: hidden;
  border: 1px solid rgba(41, 66, 51, .22);
  border-radius: 24px;
  background: #203d36;
  box-shadow: 0 34px 80px rgba(36, 57, 43, .24);
}
.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  color: #cbd8c3;
  border-bottom: 1px solid rgba(235, 239, 209, .14);
  font: 9px var(--mono);
  letter-spacing: .06em;
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d58b68; }
.window-dots i:nth-child(2) { background: #d9bd67; }
.window-dots i:nth-child(3) { background: #78a578; }
.machine-state { justify-self: end; color: #a8b3a2; text-transform: uppercase; }
.machine-state.awake { color: #d9e983; }
.machine-garden {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(#678a87, #99aea0 55%, #526c51);
}
.machine-garden::before {
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 63% 26%, rgba(255,239,170,.22), transparent 23%);
}
.machine-moon { position:absolute; right:17%; top:23px; color:#f5e5a8; font-size:58px; opacity:.7; }
.machine-hill { position:absolute; bottom:-60px; width:75%; height:190px; border-radius:50%; background:#4f704f; }
.hill-a { left:-20%; transform:rotate(8deg); }
.hill-b { right:-25%; bottom:-77px; background:#3e6248; transform:rotate(-8deg); }
.machine-house { position:absolute; left:50%; bottom:31px; width:120px; height:100px; transform:translateX(-50%); }
.machine-wall { position:absolute; left:19px; bottom:0; width:83px; height:60px; background:#d5b974; border:2px solid #384f3f; }
.machine-roof { position:absolute; left:4px; bottom:53px; width:112px; height:52px; background:#805b49; border:2px solid #38463d; clip-path:polygon(50% 0,100% 84%,90% 100%,10% 100%,0 84%); }
.machine-window-light { position:absolute; z-index:2; left:49px; bottom:22px; width:24px; height:25px; border:4px solid #49604a; background:#9cb3a8; transition:background .3s, box-shadow .3s; }
.machine-window-light.on { background:#f0d575; box-shadow:0 0 28px #f0d575; }
.machine-smoke { position:absolute; left:86px; bottom:92px; width:10px; height:22px; background:#644d43; }
.machine-smoke::after { content:""; position:absolute; left:9px; top:-23px; width:22px; height:22px; border-radius:50%; background:rgba(233,238,217,.45); animation:smoke 4s infinite; }
.terminal {
  min-height: 190px;
  padding: 23px;
  color: #e6ead7;
  font: 12px/1.65 var(--mono);
}
.terminal p { margin: 0 0 9px; }
.terminal-soft { color: #aebcac; }
.terminal-line { display:grid; grid-template-columns:120px 1fr; gap:12px; margin:5px 0; }
.terminal-line span:first-child { color:#91a091; }
.terminal-line strong { color:#e5e77f; font-weight:400; overflow-wrap:anywhere; }
.machine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px;
  border-top: 1px solid rgba(235,239,209,.14);
}
.machine-actions button { border:1px solid rgba(237,242,217,.24); background:transparent; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: #29493e;
  color: #cbd6be;
  font: 9px var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.place-dialog {
  width: min(500px, calc(100vw - 28px));
  border: 1px solid rgba(39, 65, 48, .2);
  border-radius: 27px;
  padding: 34px;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 35px 110px rgba(27, 49, 37, .3);
}
.place-dialog::backdrop { background: rgba(34, 54, 43, .45); backdrop-filter: blur(5px); }
.dialog-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}
.dialog-miniature { height: 135px; display:grid; place-items:center; }
.dialog-miniature .miniature { transform:scale(.9); }
.dialog-kind {
  margin: 8px 0;
  color: var(--leaf-dark);
  font: 500 9px var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.place-dialog h2 { font-size: 40px; line-height: 1; }
.place-dialog > p:not(.dialog-kind) { color:#627065; font-size:17px; line-height:1.5; }
.place-dialog dl { margin: 23px 0; border-top:1px solid #d9dbc6; }
.place-dialog dl div { display:grid; grid-template-columns:130px 1fr; gap:15px; padding:10px 0; border-bottom:1px solid #d9dbc6; }
.place-dialog dt { color:#7a877c; font:500 9px var(--mono); text-transform:uppercase; }
.place-dialog dd { margin:0; font:500 11px var(--mono); overflow-wrap:anywhere; }
.dialog-actions { display:flex; flex-wrap:wrap; gap:8px; }
.dialog-actions .secondary { background:#e1e5ce; color:var(--deep); }

.fireflies { position:fixed; inset:0; z-index:30; pointer-events:none; opacity:0; transition:opacity .8s; }
body.lanterns .fireflies { opacity:1; }
.firefly {
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ffe77a;
  box-shadow:0 0 10px 4px rgba(255,226,104,.6);
  animation:firefly var(--duration) ease-in-out infinite alternate;
}
body.lanterns .sky-wash { filter:saturate(.85) brightness(.72); }
body.lanterns .hero::before { filter:saturate(.75) brightness(.72); }
body.lanterns .village-map { filter:saturate(.85) brightness(.82); }
body.lanterns .window,
body.lanterns .door::after { background:#f3d878; box-shadow:0 0 18px #f3d878; }

@keyframes bob { 50% { transform:translateY(6px); } }
@keyframes drift { 50% { transform:rotate(12deg) translateY(-2px); } }
@keyframes smoke { to { transform:translate(12px,-18px) scale(1.4); opacity:0; } }
@keyframes blades { to { transform:rotate(360deg); } }
@keyframes clouding { 50% { transform:translateX(35px); } }
@keyframes firefly {
  0% { transform:translate(0,0); opacity:.2; }
  50% { opacity:1; }
  100% { transform:translate(var(--dx),var(--dy)); opacity:.45; }
}

@media (max-width: 1050px) {
  .landmarks { grid-template-columns: repeat(3, 1fr); min-height: 1120px; }
  .landmark:nth-child(n) { transform:none; }
  .landmark:nth-child(n):hover { transform:translateY(-6px) scale(1.03); }
  .village-map { min-height:1180px; }
  .town-hall-section { grid-template-columns:1fr; }
  .town-copy { max-width:720px; }
}
@media (max-width: 700px) {
  .site-header { padding:18px; }
  .brand { font-size: 11px; }
  .site-header nav a { display:none; }
  .site-header nav { gap:0; }
  .lantern-toggle { display: none; }
  .hero { min-height:88vh; align-items:flex-end; padding:120px 22px 70px; }
  .hero::before { background-position:57% center; }
  .hero-copy { padding:22px; margin:-22px; background:linear-gradient(90deg,rgba(235,241,213,.76),transparent); }
  h1 { max-width: 100%; font-size:clamp(46px,13.2vw,66px); line-height: .92; }
  .lede { font-size:18px; max-width:90%; }
  .weather-note { display:none; }
  .village-section { padding:75px 12px; }
  .section-heading { align-items:flex-start; flex-direction:column; padding:0 10px; }
  .section-heading h2,.town-copy h2 { font-size:48px; }
  .filters { width:100%; }
  .filter { flex:1; }
  .village-map { min-height:auto; border-radius:26px; }
  .footpath { display:none; }
  .landmarks {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:35px 4px;
    min-height:0;
    padding:70px 3px 80px;
  }
  .miniature { transform:scale(.86); margin-left:auto; margin-right:auto; }
  .place-label { max-width:145px; margin-top:0; }
  .place-label strong { font-size:13px; }
  .town-hall-section { padding:80px 18px; }
  .machine-form > div { flex-wrap:wrap; }
  .machine-form button { width:100%; margin:0 5px 5px; }
  .machine-garden { height:190px; }
  .window-bar { grid-template-columns:1fr 1fr; }
  .window-bar > span:nth-child(2) { display:none; }
  .terminal-line { grid-template-columns:95px 1fr; }
  footer { flex-direction:column; }
  .place-dialog { padding:28px 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; transition:none!important; }
}
