/* 10 Silver Ridge Way, Fernie BC - single-listing page.
   Kit: Shepherd (industrial editorial) transformed for a mountain house: a big quiet serif on flat bands,
   ruled lists, small square marks. Palette from the photos: first-snow white, bark brown (the siding),
   Lizard Range slate (the blue-grey rock), aspen gold (the fall leaves).
   PLATE DESIGN: the listing photos are 1200px wide, so no photo is ever drawn wider than 1200 css px. */

@font-face { font-family: "Magister"; src: url(fonts/magister-regular.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Magister"; src: url(fonts/magister-italic.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "LT Superior"; src: url(fonts/lt-superior-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LT Superior"; src: url(fonts/lt-superior-medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --snow: #f4f2ed;
  --snow-2: #ebe8e1;
  --bark: #35291f;
  --bark-deep: #2b2119;
  --bark-mid: #6a594b;
  --bark-line: rgba(53, 41, 31, .18);
  --slate: #56636f;
  --slate-dk: #3d4851;
  --slate-lt: #dde1e3;
  --slate-ln: #8a96a0;
  --gold: #dfa02a;
  --gold-dk: #a9731a;
  --gold-lt: #f0d48d;
  --pad: clamp(20px, 7.5vw, 108px);
  --pad-hero: clamp(20px, 5vw, 72px);
  --pad-edge: clamp(20px, 2vw, 32px);
  --max: 1280px;
  --serif: "Magister", "LT Superior", serif;
  --sans: "LT Superior", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dock: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--snow); color: var(--bark); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, figure, blockquote, ul { margin: 0; }
p, li, dd, dt, figcaption, h1, h2, h3, blockquote, .label { text-wrap: balance; }
sup { font-size: .55em; line-height: 0; vertical-align: .62em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--bark-deep); padding: 10px 16px; border: 1px solid var(--gold-dk); }
.skip:focus { left: 12px; }
.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
/* three margin tiers: header and footer hug the edges, the hero sits inside them, the body sits inside the hero */
.wrap--hero { max-width: calc(1360px + 2 * var(--pad-hero)); padding-inline: var(--pad-hero); }
.wrap--edge { max-width: none; padding-inline: var(--pad-edge); }

/* ---------- type ---------- */
.label { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--bark-mid); }
.label::before { content: ""; width: 9px; height: 9px; background: var(--gold); flex: none; }
.label__n { font-variant-numeric: tabular-nums; color: var(--bark); }
.h2 { font: 400 clamp(36px, 4.3vw, 60px)/1.04 var(--serif); letter-spacing: -.012em; margin-top: 18px; }
.h2 em, .h3 em { font-style: italic; }
.h3 { font: 400 clamp(28px, 2.6vw, 38px)/1.1 var(--serif); letter-spacing: -.01em; }
.body { font-size: 18px; line-height: 1.6; max-width: 34em; }
.body + .body { margin-top: 14px; }
.cap { font-size: 14px; line-height: 1.45; color: var(--bark-mid); margin-top: 10px; max-width: 40ch; }
.q { font-family: var(--sans); font-style: normal; }
.from { display: block; margin-top: 14px; font: 500 12.5px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--bark-mid); }

/* ---------- buttons (fills are a colour; a fill is never the border's colour) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 14px 24px; font: 500 16.5px/1.2 var(--sans); letter-spacing: .005em; text-decoration: none; border: 1px solid; border-radius: 2px; transition: background-color .2s, border-color .2s, transform .2s; }
.btn--gold { background: var(--gold); border-color: var(--gold-dk); color: var(--bark-deep); }
.btn--gold:hover { background: #e8ad3c; }
.btn--slate { background: var(--slate-lt); border-color: var(--slate-ln); color: var(--bark-deep); }
.btn--slate:hover { background: #e7eaec; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 14.5px; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-dk); outline-offset: 3px; }
/* tel: on phones, mailto: everywhere else */
.cta-tel { display: none; }
@media (hover: none) and (pointer: coarse) { .cta-tel { display: inline-flex; } .cta-mail { display: none; } }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 68px; display: flex; align-items: center; gap: 28px; padding-inline: var(--pad-edge); background: rgba(244, 242, 237, 0); transition: transform .38s cubic-bezier(.3, .7, .2, 1), background-color .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(244, 242, 237, .96); box-shadow: 0 1px 0 var(--bark-line); }
.nav.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
.nav__mark { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 23px/1 var(--serif); white-space: nowrap; }
.nav__mark svg { width: 34px; height: 16px; flex: none; stroke: var(--bark); stroke-width: 1.4; fill: none; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a, .nav__tel { font-size: 15px; text-decoration: none; color: var(--bark); }
.nav__links a:hover, .nav__tel:hover { color: var(--gold-dk); }
.nav__act { display: flex; align-items: center; gap: 20px; }
.nav__photos { display: none; font-size: 15px; text-decoration: none; }

/* ---------- the skyline (one line traced from the ridge in photo 16) ---------- */
.sky { display: block; width: 100%; overflow: visible; }
.sky path { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sky .sky__base { opacity: .28; }
.hero__sky .sky__base { opacity: 0; }
.js .sky.draw .sky__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.45, .1, .2, 1); }
.js .sky.draw.is-drawn .sky__line { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .js .sky.draw .sky__line { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; } }
.nw { white-space: nowrap; }

/* ---------- photo frames ---------- */
.ph { position: relative; overflow: hidden; background: var(--snow-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--x, 50%) var(--y, 50%); }
.ph--r54 { aspect-ratio: 5 / 4; }
.ph--sq { aspect-ratio: 1 / 1; }
.ph--p45 { aspect-ratio: 4 / 5; }
.ph--p34 { aspect-ratio: 3 / 4; }

/* ---------- hero ---------- */
.hero { padding-top: 104px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; column-gap: clamp(40px, 6vw, 88px); align-items: end; }
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 12.5px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--bark-mid); margin-bottom: 22px; }
.hero__eyebrow span { display: inline-flex; align-items: center; gap: 10px; }
.hero__eyebrow span:first-child::before { content: ""; width: 9px; height: 9px; background: var(--gold); }
.hero__title { font: 400 clamp(40px, 6.15vw, 90px)/1 var(--serif); letter-spacing: -.018em; }
.hero__title span { display: block; }
.hero__title i { font-style: italic; }
.hero__lede { margin-top: 24px; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.5; max-width: 31em; color: var(--bark); }
.hero__lede > span { display: block; text-wrap: balance; }
.hero__deal { padding-bottom: 6px; }
.hero__price { font: 400 clamp(34px, 3.1vw, 44px)/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.hero__price small { font-size: 14px; letter-spacing: .04em; margin-left: 8px; color: var(--bark-mid); }
.hero__nums { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 22px; font-size: 15.5px; color: var(--bark); }
.hero__nums li { list-style: none; }
.hero__nums { padding: 0; }
.hero__nums li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--gold-dk); margin: 0 12px 3px -4px; }
.hero__deal .btn { width: 100%; }
.hero__by { margin-top: 16px; font-size: 13.5px; line-height: 1.45; color: var(--bark-mid); }
.hero__by b { font-weight: 500; color: var(--bark); }
.hero__media { grid-column: 1 / -1; }
.hero__sky { margin-top: 30px; height: clamp(54px, 6.4vw, 92px); color: var(--bark); }
.hero__panes { display: grid; grid-template-columns: 5fr 5fr 3fr; gap: 10px; margin-top: 10px; height: clamp(360px, calc(100svh - 470px), 560px); }
.hero__panes .ph { height: 100%; }

/* ---------- the front deck (view) ---------- */
.band { padding-block: clamp(84px, 9vw, 136px); }
.band--bark { background: var(--bark-deep); color: var(--snow); }
.band--bark .label, .band--bark .from { color: #c9bcaf; }
.band--bark .label__n { color: var(--snow); }
.band--bark .cap { color: #c9bcaf; }
.band--slate { background: var(--slate-dk); color: var(--snow); }
.band--slate .label, .band--slate .cap, .band--slate .from { color: #c3cbd1; }
.band--slate .label__n { color: var(--snow); }
.band--mist { background: var(--slate-lt); }
.band--mist .ph { background: #cfd4d7; }
.band--snow2 { background: var(--snow-2); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.head .body { justify-self: start; }
.view__quote { margin-top: clamp(48px, 6vw, 84px); font: italic 400 clamp(27px, 3vw, 42px)/1.2 var(--serif); max-width: 25em; color: var(--snow); }
.view__quote .q { color: var(--gold); }
.view__sky { margin-top: clamp(44px, 5vw, 72px); height: clamp(70px, 10vw, 150px); color: var(--gold-lt); }
.panes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.panes .ph { background: #3a2e25; }
.view__sill { height: 1px; background: rgba(244, 242, 237, .3); margin-top: 14px; }

/* ---------- inside ---------- */
.trio { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 16px; margin-top: clamp(44px, 5vw, 72px); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 16px; }
.kitchen { margin-top: clamp(84px, 9vw, 128px); align-items: start; }
.kitchen__txt { grid-column: 1 / span 4; align-self: center; padding-right: 12px; }
.kitchen__big { grid-column: 5 / span 8; }
.kitchen__big .ph { aspect-ratio: 1.3; }
.kitchen__a { grid-column: 1 / span 6; }
.kitchen__b { grid-column: 7 / span 6; }
.quote { margin-top: 18px; font: italic 400 clamp(21px, 1.8vw, 25px)/1.32 var(--serif); max-width: 22em; }
.quote .q { color: var(--gold-dk); }
.band--slate .quote .q, .band--bark .quote .q { color: var(--gold); }

/* ---------- suite ---------- */
.suite__big { grid-column: 1 / span 7; grid-row: 1; }
.suite__side { grid-column: 9 / span 4; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.suite__small { width: 62%; }

/* ---------- lower level ---------- */
.lower__side { grid-column: 1 / span 4; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.lower__small { width: 62%; }
.lower__big { grid-column: 6 / span 7; grid-row: 1; }

/* ---------- backyard (the skyline returns, lower and fainter) ---------- */
.yard__sky { height: clamp(36px, 4.6vw, 66px); color: var(--slate); opacity: .42; margin-bottom: clamp(40px, 5vw, 64px); }
.yard__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 16px; margin-top: clamp(44px, 5vw, 72px); }
.yard__grid .ph { aspect-ratio: auto; }
.yard__big .ph { aspect-ratio: 5 / 4; }
.yard__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.yard__side figure { display: flex; flex-direction: column; min-height: 0; }
.yard__side .ph { min-height: 0; }
.yard__side .ph img { position: absolute; inset: 0; }

/* ---------- solar + garage ---------- */
.sys__txt { grid-column: 1 / span 5; align-self: center; }
.sys__big { grid-column: 7 / span 6; }
.sys__small { grid-column: 1 / span 5; grid-row: 2; align-self: end; margin-top: 40px; }
.sys__list { margin-top: 26px; padding: 0; list-style: none; border-top: 1px solid rgba(244, 242, 237, .22); max-width: 30em; }
.sys__list li { padding: 14px 0; border-bottom: 1px solid rgba(244, 242, 237, .22); font-size: 17px; line-height: 1.5; }
.sys__list li span { display: block; font: 500 12.5px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #c3cbd1; margin-bottom: 4px; }

/* ---------- Silver Ridge ---------- */
.wide { max-width: 1200px; margin: clamp(44px, 5vw, 72px) auto 0; }
.wide .ph { aspect-ratio: 2.4; }
.street__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1200px; margin: 40px auto 0; }
.street__row .ph { aspect-ratio: 2.2; }

/* ---------- key facts ---------- */
.facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts__price { font: 400 clamp(44px, 5vw, 72px)/1 var(--sans); letter-spacing: -.025em; margin-top: 22px; }
.facts__addr { margin-top: 14px; font-size: 17px; color: #d8ccc0; max-width: 24em; }
.facts__lead { position: sticky; top: 100px; }
.facts__lead .btn { margin-top: 30px; }
.facts__list { border-top: 1px solid rgba(244, 242, 237, .24); }
.facts__list div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(244, 242, 237, .24); }
.facts__list dt { font: 500 12.5px/1.9 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #c9bcaf; }
.facts__list dd { font-size: 18px; line-height: 1.5; }

/* ---------- agent ---------- */
.agent { display: grid; grid-template-columns: 300px minmax(0, 1.4fr) minmax(0, .75fr); column-gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.agent__ph { position: relative; overflow: hidden; background: var(--slate-lt); }
.agent__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 16%; }
.agent__card { display: flex; flex-direction: column; justify-content: center; padding-block: 4px; }
.agent__name { font: 400 clamp(34px, 3.4vw, 48px)/1.05 var(--serif); margin-top: 14px; }
.agent__firm { margin-top: 10px; font-size: 16px; line-height: 1.45; color: var(--bark-mid); }
.agent__lines { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 17px; }
.agent__lines a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.agent__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.agent__note { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--bark-line); padding-left: clamp(24px, 3vw, 44px); }
.agent__quote { font: italic 400 clamp(24px, 2.2vw, 31px)/1.25 var(--serif); }
.agent__quote .q { color: var(--gold-dk); }
.agent__note p + p { margin-top: 16px; font-size: 16px; color: var(--bark-mid); max-width: 26em; }

/* ---------- all photos ---------- */
.photos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; }
.photos__head .body { color: var(--bark-mid); font-size: 16px; }
.grid { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.grid li { max-width: 240px; }
@media (max-width: 1099px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid li { max-width: none; } .grid li:first-child { grid-column: span 2; } }
.thumb { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #dcd8cf; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.thumb:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .thumb img { transition: none; } .thumb:hover img { transform: none; } }

/* ---------- footer ---------- */
.foot { background: var(--bark-deep); color: #d8ccc0; padding: 72px 0 40px; font-size: 15px; line-height: 1.55; }
.foot__sky { height: 40px; color: var(--gold); opacity: .55; margin-bottom: 40px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(244, 242, 237, .18); }
.foot__mark { font: 400 clamp(30px, 3vw, 40px)/1.05 var(--serif); color: var(--snow); }
.foot__line { color: #d8ccc0; }
.foot__line i { font-style: normal; color: var(--gold); margin: 0 6px; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 32px 48px; padding-top: 32px; }
.foot__k { font: 500 12px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #a99a8c; margin-bottom: 10px; }
.foot__cols p + p { margin-top: 6px; }
.foot a { color: var(--snow); text-decoration: none; border-bottom: 1px solid rgba(223, 160, 42, .6); }
.foot__legal { max-width: 33em; font-size: 13.5px; color: #bfb1a3; }
.foot__legal p + p { margin-top: 10px; }
.foot__base { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(244, 242, 237, .18); display: flex; justify-content: space-between; gap: 20px; font-size: 13.5px; color: #a99a8c; }

/* ---------- phone call bar ---------- */
.dock { display: none; }

/* ---------- photo viewer ---------- */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(32, 25, 19, .97); color: var(--snow); }
.lb::backdrop { background: rgba(32, 25, 19, .9); }
.lb[open] { display: grid; grid-template-rows: auto 1fr; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--pad); }
.lb__count { font-size: 14px; letter-spacing: .06em; color: #c9bcaf; }
.lb__x { font: 500 15px/1 var(--sans); color: var(--bark-deep); background: var(--gold); border: 1px solid var(--gold-dk); padding: 11px 18px; border-radius: 2px; cursor: pointer; }
.lb__fig { display: grid; place-items: center; align-content: center; gap: 12px; padding: 0 76px 24px; min-height: 0; }
.lb__fig img { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; }
.lb__fig figcaption { font-size: 15px; color: #d8ccc0; text-align: center; max-width: 60ch; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid #8a7a6c; background: rgba(86, 99, 111, .55); color: var(--snow); font-size: 20px; cursor: pointer; }
.lb__nav--prev { left: 14px; }
.lb__nav--next { right: 14px; }

/* =================== tablet =================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .agent { grid-template-columns: 280px minmax(0, 1fr); }
  .agent__note { grid-column: 1 / -1; border-left: 0; padding-left: 0; margin-top: 36px; }
}

/* =================== phone =================== */
@media (max-width: 760px) {
  :root { --dock: 66px; --pad: 20px; --pad-hero: 20px; --pad-edge: 20px; }
  .ph img { object-position: var(--xm, var(--x, 50%)) var(--ym, var(--y, 50%)); }
  body { font-size: 17px; }
  .nav { height: 58px; gap: 14px; }
  .nav__mark { font-size: 20px; }
  .nav__mark svg { width: 28px; }
  .nav__tel, .nav__act .btn { display: none; }
  .nav__photos { display: inline; margin-left: auto; }
  .nav__act { margin-left: auto; }

  .hero { padding-top: 66px; }
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; }
  .hero__top { order: 3; }
  .hero__deal { order: 4; margin-top: 22px; }
  .hero__media { order: 1; display: flex; flex-direction: column; }
  .hero__media .hero__sky { order: 2; }
  .hide-s { display: none !important; }
  .hero__eyebrow { margin-bottom: 14px; gap: 4px 16px; font-size: 11.5px; }
  .hero__title { font-size: clamp(36px, 10.8vw, 46px); }
  .hero__lede { margin-top: 14px; font-size: 16.5px; }
  .hero__price { font-size: 32px; }
  .hero__nums { margin: 10px 0 16px; font-size: 14.5px; }
  .hero__by { font-size: 12.5px; margin-top: 12px; }
  .hero__sky { height: 38px; margin-top: 14px; margin-bottom: 20px; }
  .hero__panes { grid-template-columns: 1.45fr 1fr; height: clamp(180px, 50vw, 230px); margin-top: 0; gap: 6px; }
  .hero__panes .ph--p10 { display: none; }

  .band { padding-block: 72px; }
  .head, .facts, .street__row { grid-template-columns: 1fr; row-gap: 18px; }
  .view__quote { font-size: 25px; }
  .view__sky { height: 64px; }
  .panes { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio figure:first-child { grid-column: 1 / -1; }
  .trio figure + figure .ph { aspect-ratio: 4 / 5; }
  .split > *, .suite__side > *, .lower__side > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .kitchen__txt { padding-right: 0; margin-bottom: 10px; }
  .kitchen__a, .kitchen__b { grid-column: auto / span 6 !important; }
  .kitchen__a .ph, .kitchen__b .ph { aspect-ratio: 4 / 5; }
  .suite__side, .lower__side { display: contents; }
  .suite__head, .lower__head { order: 1; }
  .suite__big, .lower__big { order: 2; margin-top: 12px; }
  .suite__small, .lower__small { order: 3; width: 70%; margin-top: 4px; }
  .sys__small { margin-top: 16px; grid-row: auto; }
  .sys__big { grid-row: auto; }
  .facts__lead { position: static; }
  .yard__grid { grid-template-columns: 1fr; }
  .yard__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 6px; }
  .yard__side .ph { aspect-ratio: 4 / 5; flex: none; }
  .wide .ph { aspect-ratio: 1.9; }
  .street__row .ph { aspect-ratio: 1.9; }
  .facts__list div { grid-template-columns: 1fr; gap: 2px; padding: 13px 0; }
  .agent { grid-template-columns: 1fr; }
  .agent__ph { width: min(300px, 78%); aspect-ratio: 1 / 1.05; min-height: 0; margin-bottom: 26px; }
  .agent__act .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .grid li:first-child { grid-column: 1 / -1; }
  .foot { padding: 56px 0 calc(40px + var(--dock) + env(safe-area-inset-bottom)); }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__base { flex-direction: column; }

  .dock { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 6px; position: fixed; inset: auto 0 0; z-index: 60; height: calc(var(--dock) + env(safe-area-inset-bottom)); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--slate-dk); box-shadow: 0 -1px 0 rgba(0, 0, 0, .12); }
  .dock__b { display: flex; align-items: center; justify-content: center; gap: 8px; font: 500 15px/1 var(--sans); text-decoration: none; border-radius: 2px; border: 1px solid #7d8a95; background: var(--slate); color: var(--snow); }
  .dock__b--main { background: var(--gold); border-color: var(--gold-dk); color: var(--bark-deep); }
  .dock__b svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .lb__fig { padding: 0 12px 20px; }
  .lb__nav { top: auto; bottom: 18px; transform: none; }
}
