/* 2 Treehouse LLC — main stylesheet */

@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Overpass draws the middle dot with no advance width; take that one glyph from Overpass Mono */
@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+00B7;
}
@font-face {
  font-family: "Overpass Mono";
  src: url("assets/fonts/overpass-mono-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* REPLACEABLE IMAGES
     Every picture on this site is an <img src="assets/..."> in the HTML, so each
     one can be swapped by replacing a single file (see assets/manifest.json).
     No images are set from CSS. */

  --green-950: #0b2419;
  --green-900: #0f2e21;
  --green: #17432f;
  --green-700: #22573e;
  --green-500: #3f7a5c;
  --sign: #f3f5f1;
  --sign-2: #e7ebe4;
  --granite: #c7b195;
  --granite-700: #8d7558;
  --yellow: #f2c230;
  --yellow-600: #d9a915;
  --ink: #11241b;
  --ink-2: #3a4d43;
  --on-green-2: #b9cdbf;

  --font: "Overpass", "Segoe UI", system-ui, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.4vw, 4.75rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 78rem;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--sign);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  accent-color: var(--green);
  caret-color: var(--green);
}
img { max-width: 100%; display: block; }
::selection { background: var(--yellow); color: var(--green-950); }
a { color: var(--green); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { color: var(--green-700); text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: var(--radius-sm); }
html { scrollbar-color: var(--green-500) var(--sign-2); }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; font-weight: 800; }
h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--yellow); color: var(--green-950); padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Buttons (one CTA vocabulary: "Ask about your dates") ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.85rem 1.4rem 0.75rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 800 var(--step-0)/1 var(--font); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--yellow); color: var(--green-950); }
.btn-primary:hover { background: #ffd34a; color: var(--green-950); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: var(--yellow-600); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(243, 245, 241, 0.1); color: inherit; }
.on-light .btn-line:hover { background: rgba(23, 67, 47, 0.08); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green-900); color: var(--sign);
  border-bottom: 1px solid rgba(243, 245, 241, 0.12);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--sign); text-decoration: none; margin-right: auto; }
.brand-plate { background: #fff; border-radius: 10px; padding: 3px; display: block; flex: none; }
.brand-plate img { width: 2.75rem; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand-name span { white-space: nowrap; font: 600 0.8rem/1.2 var(--font); color: var(--on-green-2); letter-spacing: 0.02em; margin-top: 0.2rem; }
.brand:hover { color: var(--sign); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a { white-space: nowrap; display: block; padding: 0.55rem 0.75rem 0.45rem; color: var(--sign); text-decoration: none; font-weight: 600; font-size: 0.98rem; border-radius: 999px; }
.nav a:hover { background: rgba(243, 245, 241, 0.1); color: #fff; }
.nav a[aria-current="page"] { background: var(--sign); color: var(--green-900); }
.header-call { color: var(--sign); text-decoration: none; font: 600 0.95rem/1 var(--mono); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.4rem; }
.header-call:hover { color: var(--yellow); }
.header-call svg { width: 1.05rem; height: 1.05rem; }
.header-cta { white-space: nowrap; min-height: 2.75rem; padding: 0.7rem 1.1rem 0.6rem; font-size: 0.98rem; }
.nav-toggle { display: none; }

@media (max-width: 1520px) {
  .header-call span { display: none; }
}
@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.9rem;
    background: transparent; color: var(--sign); border: 2px solid rgba(243, 245, 241, 0.5); border-radius: 999px;
    font: 700 0.95rem/1 var(--font); cursor: pointer;
  }
  .nav-toggle svg { width: 1.1rem; height: 1.1rem; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--green-900); border-bottom: 1px solid rgba(243, 245, 241, 0.15); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 0.75rem var(--gutter) 1.25rem; gap: 0.15rem; }
  .nav a { padding: 0.85rem 1rem; font-size: 1.1rem; border-radius: var(--radius-sm); }
  .no-js .nav { position: static; display: block; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .nav-toggle { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 4rem; }
  .header-cta { display: none; }
  .brand-name span { display: none; }
  .brand-plate img { width: 2.4rem; }
  .header-inner { gap: 0.75rem; }
}

/* ---------- Route (the recurring wayfinding component) ---------- */
.route { position: relative; }
.route-zones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.route-zones::before { /* the trail strip */
  content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 10px; border-radius: 10px;
  background: var(--granite);
}
.route-zone { position: relative; padding-top: 3.25rem; padding-right: 1rem; }
.route-post {
  position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--sign); color: var(--green-900); border: 3px solid var(--green-900);
  display: grid; place-items: center; font: 700 0.95rem/1 var(--mono);
  box-shadow: 0 0 0 4px var(--green);
}
.route-zone dt, .route-label { font: 600 var(--step--1)/1.3 var(--mono); color: var(--on-green-2); letter-spacing: 0.02em; }
.route-fare { display: block; font-weight: 800; font-size: var(--step-3); line-height: 1; letter-spacing: -0.03em; margin-top: 0.35rem; }
.route-fare small { font: 500 0.42em/1 var(--mono); letter-spacing: 0; margin-left: 0.2em; color: var(--on-green-2); }
.route-who { margin-top: 0.4rem; font-size: var(--step--1); color: var(--on-green-2); max-width: 22ch; line-height: 1.45; }

/* ---------- Hero ---------- */
.hero { background: var(--green); color: var(--sign); position: relative; padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 4vw, 3.25rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: "text photo" "route photo"; column-gap: clamp(1.5rem, 4vw, 4.5rem); row-gap: clamp(1.75rem, 3vw, 2.5rem); align-items: start; }
.hero-grid > div:first-child { grid-area: text; }
.hero-route { grid-area: route; }
.hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.9rem); }
.hero-promise { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.45; color: #dfe8e1; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; align-items: center; }
.hero-photo { grid-area: photo; margin: 0; position: relative; z-index: 2; width: 100%; max-width: 25rem; justify-self: end; align-self: start; }
.plate { background: #fff; border-radius: var(--radius); padding: 10px; }
.plate img { border-radius: var(--radius-sm); width: 100%; height: auto; }
.plate figcaption { font: 600 0.875rem/1.35 var(--font); color: var(--ink-2); padding: 0.65rem 0.3rem 0.15rem; }
.route-track { position: relative; }
.route-range { position: absolute; left: 0; right: 0; top: calc(1.05rem + 5px - 1.375rem); width: 100%; height: 2.75rem; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; z-index: 3; }
.route-range[hidden] { display: none; }
.route-range::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--yellow) 0 var(--fill, 3%), transparent var(--fill, 3%)); }
.route-range::-moz-range-track { height: 10px; background: transparent; }
.route-range::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--yellow); }
.route-range::-webkit-slider-thumb { -webkit-appearance: none; width: 2.2rem; height: 2.2rem; margin-top: calc(5px - 1.1rem); border-radius: 50%; background: var(--yellow); border: 4px solid var(--green-950); transition: transform 0.35s var(--ease); }
.route-range::-moz-range-thumb { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--yellow); border: 4px solid var(--green-950); }
.route-range:active::-webkit-slider-thumb, .route-range:hover::-webkit-slider-thumb { transform: scale(1.12); }
.route-range:focus-visible { outline-offset: 2px; }
.finder-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(243, 245, 241, 0.18); }
.finder-row[hidden] { display: none; }
.finder-readout { font-size: var(--step-1); line-height: 1.35; }
.finder-readout strong { color: var(--yellow); font-weight: 800; }
.finder-note { display: block; font-size: var(--step--1); color: var(--on-green-2); margin-top: 0.2rem; }
.head-route { margin-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "photo" "route"; }
  .hero-photo { max-width: 20rem; justify-self: start; align-self: start; margin-bottom: 0; }
  .finder-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .route-fare { font-size: 1.85rem; }
  .route-fare small { display: block; margin: 0.3rem 0 0; font-size: 0.8rem; }
  .route-who { display: none; }
  .route-zone { padding-right: 0.5rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 46rem; }
.section-head p { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.band-granite { background: var(--granite); --ink-2: #283830; }
.band-granite .section-head p { color: #2f3d34; }
.band-green { background: var(--green); color: var(--sign); }
.band-green .section-head p { color: #dfe8e1; }
.band-deep { background: var(--green-900); color: var(--sign); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 40rem; }

/* Fare table (stays) — timetable rows, price at full size */
.fares { border-top: 3px solid var(--green-900); }
.fare-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 0.5rem 2rem; align-items: baseline; padding-block: 1.75rem; border-bottom: 1px solid rgba(17, 36, 27, 0.25); }
.fare-nights { font: 700 var(--step-0)/1.2 var(--mono); }
.fare-name { font-weight: 800; font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.1; }
.fare-desc { grid-column: 2; color: #2f3d34; max-width: 52ch; }
.fare-price { grid-column: 3; grid-row: 1 / span 2; font-weight: 800; font-size: var(--step-3); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; text-align: right; }
.fare-price-unit { display: block; font: 500 var(--step--1)/1.3 var(--mono); letter-spacing: 0; margin-top: 0.35rem; }
.fares-foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; margin-top: 2rem; }
.fares-foot p { max-width: 48ch; }
@media (max-width: 720px) {
  .fare-row { grid-template-columns: minmax(0, 1fr) auto; }
  .fare-nights { grid-column: 1 / -1; }
  .fare-name { grid-column: 1; }
  .fare-desc { grid-column: 1 / -1; }
  .fare-price { grid-column: 2; grid-row: 2; }
}

/* The home: photos + claim/fact rows */
.home-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.photo-stack .plate:first-child { grid-column: 1 / -1; }
.photo-stack .plate:nth-child(3) { margin-top: 3rem; }
.facts-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--green-900); }
.facts-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0.25rem 1.5rem; padding-block: 1rem; border-bottom: 1px solid rgba(17, 36, 27, 0.18); }
.facts-list strong { font-weight: 800; font-size: 1.1rem; }
.facts-list span { color: var(--ink-2); }
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .facts-list li { grid-template-columns: 1fr; }
}

/* House facts panel — each tile owns one truth, same order everywhere */
.house-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: rgba(243, 245, 241, 0.16); border: 2px solid rgba(243, 245, 241, 0.16); border-radius: var(--radius); overflow: hidden; }
.house-fact { background: var(--green-900); padding: 1.5rem 1.5rem 1.4rem; display: grid; gap: 0.35rem; align-content: start; }
.house-fact dt { font: 700 var(--step--1)/1.3 var(--font); color: var(--on-green-2); }
.house-fact dd { margin: 0; font-weight: 800; font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.02em; }
.house-fact dd small { display: block; font: 400 var(--step--1)/1.4 var(--font); letter-spacing: 0; color: var(--on-green-2); margin-top: 0.35rem; }
.on-light .house-facts { background: rgba(17, 36, 27, 0.2); border-color: var(--green-900); }
@media (max-width: 860px) { .house-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .house-fact { padding: 1.1rem 1rem; } }

/* Rooms (suites) */
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.room { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.room > .room-plate { justify-self: stretch; margin-bottom: 0.25rem; }
.room-plate { background: var(--green-900); color: var(--sign); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.25rem; display: grid; gap: 0.4rem; }
.room-plate h2, .room-plate h3 { font-size: var(--step-3); letter-spacing: -0.03em; }
.room .room-plate p { color: var(--on-green-2); font-weight: 600; }
.room-plate .num { color: var(--yellow); font-weight: 700; }
.room-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font: 600 var(--step--1)/1.3 var(--mono); color: var(--ink-2); }
.room h3 { font-size: var(--step-2); }
.room p { color: var(--ink-2); }
.room ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.room ul li + li { margin-top: 0.3rem; }
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr; } }

/* Neighbourhood */
.hood { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hood figure { margin: 0; }
.hood .plate { background: var(--sign); }
@media (max-width: 860px) { .hood { grid-template-columns: 1fr; } }

/* Closing CTA */
.close { padding-block: clamp(4rem, 8vw, 6.5rem); }
.close-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.close h2 { max-width: 16ch; }
.close p { margin-top: 1rem; font-size: var(--step-1); color: #dfe8e1; max-width: 38ch; }
.close-actions { display: grid; gap: 1rem; justify-items: start; }
.close-actions a.tel { color: var(--sign); font: 700 var(--step-2)/1.1 var(--mono); text-decoration: none; letter-spacing: -0.01em; }
.close-actions a.tel:hover { color: var(--yellow); }
.close-actions a.mail { color: var(--sign); }
@media (max-width: 860px) { .close-inner { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-head { background: var(--green); color: var(--sign); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.75rem); }
.page-head h1 { font-size: var(--step-4); max-width: 18ch; }
.page-head p { margin-top: 1.1rem; font-size: var(--step-1); line-height: 1.45; color: #dfe8e1; max-width: 44ch; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.page-head figure { margin: 0 0 calc(-1 * clamp(4.5rem, 9vw, 7rem)); position: relative; z-index: 2; }
.page-head .plate { background: var(--sign); }
.page-head-grid + .route-strip { margin-top: 2rem; }
@media (max-width: 860px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head figure { margin-bottom: -6rem; }
}
.page-head.has-figure + .section, .page-head.has-figure + main > .section:first-child { padding-top: clamp(6.5rem, 12vw, 10rem); }

.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Numbered trail-sign list (rules, check-out) */
.sign-list { list-style: none; margin: 0; padding: 0; counter-reset: sign; display: grid; gap: 0; border-top: 3px solid var(--green-900); }
.sign-list li { counter-increment: sign; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.25rem 1.25rem; padding-block: 1.35rem; border-bottom: 1px solid rgba(17, 36, 27, 0.2); }
.sign-list li::before {
  content: counter(sign); grid-row: 1 / span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-900); color: var(--sign); font: 700 0.95rem/1 var(--mono);
}
.sign-list strong { font-weight: 800; font-size: var(--step-1); line-height: 1.25; }
.sign-list span { color: var(--ink-2); }

.note-plate { background: #fff; border: 2px solid var(--green-900); border-radius: var(--radius); padding: 1.5rem 1.6rem; display: grid; gap: 0.6rem; }
.note-plate h2, .note-plate h3 { font-size: var(--step-1); }
.note-plate p { color: var(--ink-2); }

/* Directory lists (crib rentals, teams) */
.directory { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--green-900); }
.directory li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 1rem; border-bottom: 1px solid rgba(17, 36, 27, 0.2); }
.directory strong { font-weight: 700; }
.directory a.num { white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.25rem; background: #fff; border: 2px solid var(--green-900); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 700; font-size: 1rem; }
.field label small { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font: 400 1.0625rem/1.4 var(--font); color: var(--ink); background: var(--sign);
  border: 2px solid #6b7c72; border-radius: var(--radius-sm); padding: 0.8rem 0.9rem 0.7rem; width: 100%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5d6e64; }
.field input:hover, .field textarea:hover { border-color: var(--green-700); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(242, 194, 48, 0.55); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #a3341f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #dcebdf; color: var(--green-900); }
.form-status.err { background: #f6e1d9; color: #6b2112; }
.form-fine { font-size: var(--step--1); color: var(--ink-2); }

.contact-card { display: grid; gap: 1.5rem; }
.contact-card .tel { font: 700 var(--step-2)/1.1 var(--mono); color: var(--green-900); text-decoration: none; }
.contact-card .tel:hover { color: var(--green-700); }
.hours { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--green-900); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid rgba(17, 36, 27, 0.2); }
.hours .num { color: var(--ink-2); }
.hours [data-ss-field]:empty { display: none; }
.hours [data-ss-field="note"] { font-family: var(--font); }
.hours [data-ss-field="open"]:not(:empty) + [data-ss-field="close"]:not(:empty)::before { content: " – "; }
.hours [data-ss-field="close"]:not(:empty) + [data-ss-field="note"]:not(:empty)::before { content: " · "; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: var(--sign); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.site-footer h2 { font: 700 var(--step--1)/1.3 var(--font); color: var(--on-green-2); letter-spacing: 0.02em; margin-bottom: 0.9rem; }
.site-footer a { color: var(--sign); }
.site-footer a:hover { color: var(--yellow); }
.site-footer a.btn-primary, .site-footer a.btn-primary:hover, .close-actions a.btn-primary { color: var(--green-950); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand .brand-plate img { width: 4.5rem; }
.footer-brand p { color: var(--on-green-2); max-width: 30ch; }
.footer-fine { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(243, 245, 241, 0.14); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; font-size: 0.875rem; color: var(--on-green-2); }
.footer-fine a { color: var(--on-green-2); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion: panels settle in once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .settle { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .settle.is-in { opacity: 1; transform: none; }
  .js .hero-photo .plate { animation: plate-in 0.9s var(--ease) both 0.1s; }
  @keyframes plate-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
  .route-post { transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease); }
  .route-zone.is-active .route-post { transform: scale(1.12); }
}
.route-zone.is-active .route-post { background: var(--yellow); }
.route-zone.is-active .route-fare { color: var(--yellow); }

@media print {
  .site-header, .nav, .finder, .close, .hero-actions { display: none !important; }
  body { background: #fff; }
}
.page-head .route-who { font-size: var(--step--1); margin-top: 0.4rem; max-width: 22ch; color: var(--on-green-2); }
