/* Whitefish Outpost v2 — one page per house, light theme only (white background by request).
   Editorial column, Austin Seback's photography carrying the story, counts and distances in mono like a trailhead sign. */
:root {
  --bg: #ffffff;
  --surface: #f4f5f1;
  --ink: #1c2629;
  --muted: #536165;
  --line: #d3dad5;
  --accent: #7f5614;
  --accent-ink: #fff9ee;
  --teal: #2e5a5e;
  --scrim: rgba(12, 18, 20, 0.62);
  --font-display: "Gloock", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.2vw, 2.9rem);
  --step-4: clamp(2.3rem, 5.6vw, 4.2rem);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 0; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.preview-bar { background: var(--teal); color: #fff; font-size: var(--step--1); padding: 8px var(--gutter); text-align: center; }

/* Header + nav */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.wordmark strong { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; }
.wordmark span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; gap: 18px; align-items: center; font-size: var(--step--1); }
.site-nav a { text-decoration: none; color: var(--muted); white-space: nowrap; padding-block: 6px; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
  font: 600 var(--step--1)/1 var(--font-body); letter-spacing: 0.02em;
  padding: 13px 20px; border-radius: 2px; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { padding: 10px 14px; }
.head-cta { padding: 10px 16px; margin-left: 12px; }
@media (max-width: 860px) {
  .site-head .wrap { padding-block: 10px; }
  .site-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .site-nav::-webkit-scrollbar { display: none; }
  .head-cta { margin-left: auto; }
  .site-nav { order: 3; }
}

/* Hero (home) */
.hero { padding-top: clamp(36px, 6vw, 72px); }
.hero-copy { display: grid; gap: 20px; }
.hero h1 { max-width: 17ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 44ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo { margin: clamp(28px, 5vw, 52px) 0 0; position: relative; }
.hero-photo img { width: 100%; height: clamp(300px, 52vw, 640px); object-fit: cover; object-position: 50% 58%; }
.hero-photo figcaption { position: absolute; right: var(--gutter); bottom: 14px; font-family: var(--font-mono); font-size: 0.72rem; color: #f3f1ea; background: var(--scrim); padding: 6px 10px; border-radius: 2px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.facts div { padding: 16px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }

/* Sections */
section.block { padding-block: clamp(48px, 8vw, 96px); }
.section-head { display: grid; gap: 14px; max-width: 64ch; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.section-head .actions { margin-top: 6px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.sub-head { margin: clamp(40px, 6vw, 72px) 0 22px; display: grid; gap: 10px; max-width: 64ch; }
.sub-head h2 { font-size: var(--step-2); }
.sub-head p { color: var(--muted); }

/* Photos + tap-to-open galleries */
.photo { margin: 0; position: relative; overflow: hidden; border-radius: 2px; background: color-mix(in srgb, var(--teal) 10%, var(--surface)); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.tap { cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; }
.tap img { transition: transform 0.4s ease; }
.tap:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .tap img { transition: none; } .tap:hover img { transform: none; } }
.badge {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink); border: 1px solid var(--line); border-radius: 2px;
  font: 600 0.8rem/1 var(--font-body); padding: 9px 12px; pointer-events: none;
}
.badge svg { width: 14px; height: 14px; }
.badge.lg { font-size: 0.9rem; padding: 11px 14px; left: 16px; bottom: 16px; }

/* House cards (home) */
.houses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.house { display: grid; gap: 12px; align-content: start; min-width: 0; }
.house .aka { font-size: var(--step--1); color: var(--muted); margin-top: -6px; }
.house .spec { font-family: var(--font-mono); font-size: 0.82rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 8px; font-variant-numeric: tabular-nums; }
.house ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 0.97rem; display: grid; gap: 4px; }
.house .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.house .rating { font-family: var(--font-mono); font-size: 0.8rem; color: var(--teal); font-variant-numeric: tabular-nums; }
.house .foot .links { display: flex; gap: 10px; flex-wrap: wrap; }
.note { margin-top: 28px; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--surface); max-width: 72ch; }

/* House page */
.house-hero { padding-top: clamp(28px, 5vw, 56px); display: grid; gap: 18px; }
.house-hero .top { display: grid; gap: 10px; max-width: 64ch; }
.house-hero .spec { font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.house-hero .photo img { aspect-ratio: auto; height: clamp(280px, 48vw, 600px); }
.house-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.house-strip .photo img { aspect-ratio: 4 / 3; height: auto; }
.house-strip .more { aspect-ratio: 4 / 3; }
.house-strip .photo:nth-child(n+4) { display: none; }
.house-strip .more { display: grid; place-items: center; font: 600 0.9rem/1.3 var(--font-body); color: var(--teal); background: var(--surface); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; text-align: center; padding: 12px; }
.house-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.house-body .prose { grid-column: 1; grid-row: 1; }
.house-body .house-side { grid-column: 2; grid-row: 1; }
.house-side { display: grid; gap: 18px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.house-side .box { background: var(--surface); border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; }
.house-side .rating { font-family: var(--font-mono); font-size: 0.85rem; color: var(--teal); }
.beds { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.beds caption { text-align: left; padding-bottom: 8px; }
.beds th, .beds td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.beds th { font-weight: 600; padding-right: 12px; white-space: nowrap; }
.beds td { color: var(--muted); }
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 0.85rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.prose { display: grid; gap: 16px; max-width: 62ch; }
.prose p { color: var(--muted); }
.prose ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.room { margin: 0; display: grid; gap: 6px; min-width: 0; }
.room .tap img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.room figcaption { font-size: 0.85rem; color: var(--muted); }
.room.empty span { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 2px; background: color-mix(in srgb, var(--teal) 6%, var(--surface)); }
.other-houses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.other-houses a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; border: 1px solid var(--line); padding: 10px; border-radius: 2px; }
.other-houses a:hover { border-color: var(--teal); }
.other-houses img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 2px; }
.other-houses strong { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); display: block; }
.other-houses span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }

/* Availability calendar */
.avail { display: grid; gap: 18px; }
.avail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.avail-nav { display: flex; gap: 6px; }
.cal-btn { font: 600 0.85rem/1 var(--font-body); padding: 10px 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 2px; cursor: pointer; }
.cal-btn:disabled { opacity: 0.4; cursor: default; }
.months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.month { display: grid; gap: 8px; min-width: 0; }
.month h3 { font-size: var(--step-0); font-family: var(--font-body); font-weight: 600; }
.month table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.month th { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-bottom: 6px; }
.month td { text-align: center; padding: 0; }
.month td span { display: block; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 2px; margin: 2px; }
.month td.free span { background: var(--bg); border: 1px solid var(--line); }
.month td.busy span { background: var(--line); color: var(--muted); text-decoration: line-through; }
.month td.past span { color: var(--line); }
.month td.today span { outline: 2px solid var(--teal); outline-offset: -2px; }
.cal-key { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.cal-key span { display: inline-flex; align-items: center; gap: 8px; }
.cal-key i { width: 14px; height: 14px; border-radius: 2px; border: 1px solid var(--line); background: var(--bg); display: inline-block; }
.cal-key i.busy { background: var(--line); }
.avail-note { padding: 14px 16px; border-left: 3px solid var(--teal); background: var(--surface); font-size: 0.95rem; color: var(--muted); }
.avail-note.err { border-left-color: var(--accent); }

/* Booking page */
.booking { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
form.book { background: var(--bg); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: var(--step--1); font-weight: 600; margin-bottom: 10px; padding: 0; }
.house-options { display: grid; gap: 8px; }
.house-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); padding: 12px 14px; border-radius: 2px; cursor: pointer; background: var(--surface); }
.house-opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.house-opt input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.house-opt .name { font-weight: 600; }
.house-opt .sub { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.house-opt .cap { font-family: var(--font-mono); font-size: 0.8rem; color: var(--teal); white-space: nowrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 0.85rem; color: var(--teal); text-decoration: underline; cursor: pointer; justify-self: start; margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: var(--step--1); font-weight: 600; }
.hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 11px 12px; width: 100%; min-width: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.summary { border-left: 3px solid var(--teal); background: var(--surface); padding: 12px 14px; font-size: 0.95rem; display: grid; gap: 4px; }
.summary .line { font-family: var(--font-mono); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.summary .warn, .warn { color: var(--accent); font-size: 0.88rem; }
.form-status { padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--surface); font-size: 0.95rem; }
.perks { display: grid; gap: 22px; }
.host-card { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.host-photo { width: 96px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); border: 1px dashed var(--line); background: color-mix(in srgb, var(--teal) 6%, var(--surface)); }
.host-photo img { width: 100%; height: 100%; object-fit: cover; }
.host-card figcaption { display: grid; gap: 4px; }
.host-card strong { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); }
.host-card figcaption span { color: var(--muted); font-size: 0.95rem; }
.perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.perks li strong { font-weight: 600; }
.perks li span { color: var(--muted); font-size: 0.97rem; }
.stay-rules { margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.stay-rules div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; font-size: 0.95rem; }
.stay-rules dt { font-weight: 600; }
.stay-rules dd { margin: 0; color: var(--muted); }

/* Weddings */
.photo-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-bottom: clamp(36px, 5vw, 60px); }
.photo-pair .photo img { aspect-ratio: auto; height: 100%; min-height: 260px; max-height: 560px; }
.wed-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wed-gallery .photo img { aspect-ratio: 4 / 5; }
.weekend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.weekend::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; border-top: 1px solid var(--line); }
.weekend li { position: relative; padding: 36px 20px 0 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.weekend li::before { content: ""; position: absolute; top: 5px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal); }
.weekend li.main::before { background: var(--accent); border-color: var(--accent); }
.weekend .day { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.weekend li.main .day { color: var(--accent); }
.weekend p { color: var(--muted); font-size: 0.97rem; }
.pricing { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.fee-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fee-table caption { text-align: left; padding-bottom: 10px; }
.fee-table th, .fee-table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.fee-table td.amt, .fee-table th.amt { text-align: right; padding-right: 0; }
.fee-table td.amt { font-family: var(--font-display); font-size: 1.7rem; white-space: nowrap; }
.fee-table .season { font-weight: 600; }
.fee-table .dates { color: var(--muted); font-size: 0.95rem; }
.stack { display: grid; gap: 22px; }
.stack h3 { margin-bottom: 6px; }
.stack p { color: var(--muted); }
.ballpark { background: var(--surface); border: 1px solid var(--line); padding: 22px; display: grid; gap: 8px; }
.ballpark .figure { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.ballpark p { color: var(--muted); font-size: 0.95rem; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.rules div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.rules dt { font-weight: 600; margin-bottom: 4px; }
.rules dd { margin: 0; color: var(--muted); font-size: 0.97rem; }
.inquire { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 60px); align-items: start; margin-top: clamp(48px, 7vw, 80px); }
.inquire-side { display: grid; gap: 14px; }
.inquire-side p { color: var(--muted); }
form.inq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); }
form.inq .form-status { grid-column: 1 / -1; background: var(--bg); }

/* Teasers (home) */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.teaser .photo img { aspect-ratio: 4 / 3; }

/* Seasons */
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.season-card { display: grid; gap: 8px; align-content: start; border-top: 3px solid var(--teal); padding-top: 16px; min-width: 0; }
.season-card.peak { border-top-color: var(--accent); }
.season-card .when { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.season-card p { color: var(--muted); font-size: 0.97rem; }
.season-card .photo { margin-bottom: 6px; }
.season-card .photo img { aspect-ratio: 4 / 3; }

/* Getting here */
.distances { display: grid; gap: 12px; }
.distance { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.distance .mi { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; }
.distance .mi small { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin-left: 4px; }
.distance span:last-child { color: var(--muted); }
.here-notes { margin-top: 18px; display: grid; gap: 8px; color: var(--muted); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: #0c1214; color: #f3f1ea; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; inset: 0; }
.lightbox::backdrop { background: rgba(8, 12, 14, 0.96); }
.lightbox figure { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lightbox .stage { display: grid; place-items: center; min-height: 0; touch-action: pan-y; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 12px max(16px, env(safe-area-inset-left, 0px)) 14px max(16px, env(safe-area-inset-right, 0px)); }
.lb-cap { font-size: 0.95rem; color: #c9d0cc; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { font-family: var(--font-mono); font-size: 0.8rem; color: #9aa8a9; white-space: nowrap; }
.lb-btn { font: 600 var(--step--1)/1 var(--font-body); padding: 10px 14px; border: 1px solid #2b383c; background: #172125; color: #e4e9e6; border-radius: 2px; cursor: pointer; }
.lb-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 12px); right: max(12px, env(safe-area-inset-right, 0px)); }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; font-size: 1.4rem; }
.lb-arrow.prev { left: max(8px, env(safe-area-inset-left, 0px)); }
.lb-arrow.next { right: max(8px, env(safe-area-inset-right, 0px)); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 36px; margin-top: clamp(40px, 6vw, 72px); }
.site-foot .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: var(--step--1); }
.site-foot strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.site-foot a { text-decoration: none; }
.foot-nav { display: flex; flex-direction: column; gap: 4px; }

@media (max-width: 960px) {
  .houses, .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking, .pricing, .inquire, .teaser, .house-body { grid-template-columns: 1fr; }
  .house-body .house-side { position: static; grid-column: 1; grid-row: 1; }
  .house-body .prose { grid-column: 1; grid-row: 2; }
  .weekend { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .weekend::before { display: none; }
  .weekend li { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .houses, .seasons, .photo-pair, .months, .other-houses { grid-template-columns: 1fr; }
  .wed-gallery, .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .house-strip .photo:nth-child(3) { display: none; }
  .weekend, .grid-2, form.inq { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stay-rules div { grid-template-columns: 1fr; gap: 2px; }
  .lb-arrow { display: none; }
}
