:root {
  /* colour: warm paper and charcoal, a deep coastal blue, lime kept for the money that comes back */
  --bg: #f1f1ee;
  --surface: #e5e6e1;
  --ink: #14171a;
  --muted: #4b5158;
  --field: #132131;
  --field-2: #1b2d42;
  --field-ink: #eef0ec;
  --field-muted: #b3bfcc;
  --accent: #d4ee6e;
  --link: #24578a;

  /* type: a light display serif for headlines and figures, a quiet sans for everything you read or press */
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --display: "Newsreader", "Times New Roman", Georgia, serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.15rem + 0.8vw, 2rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.2vw, 4.5rem);
  --step-display: clamp(2.25rem, 6.6vw, 7.25rem);
  --step-name: clamp(4.5rem, 21vw, 22rem);

  /* corners: one quiet scale, nothing pill-shaped */
  --r-lg: clamp(16px, 1.8vw, 28px);  /* held sections, the city, the hero as it leaves */
  --r-md: clamp(10px, 1vw, 16px);    /* photographs and panels */
  --r-sm: 6px;                        /* buttons and price tags */

  --margin: clamp(20px, 4vw, 64px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(120px, 14vw, 220px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -0.022em; line-height: 1.04; text-wrap: balance; }
h3 { font-weight: 400; letter-spacing: -0.012em; }
p, figure, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--margin);
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; }
.skip:focus { left: 8px; }

/* controls: one small radius, one weight */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font: 500 var(--step-small)/1 var(--font); letter-spacing: .005em; text-decoration: none;
  border: 0; border-radius: var(--r-sm); cursor: pointer; touch-action: manipulation;
  transition: background-color .25s, color .25s, transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: var(--step-body); }
/* the quiet call to action: words in the display serif, a fine underline, a small arrow */
.cta-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none;
  font-family: var(--display); font-weight: 400; font-size: var(--step-body); letter-spacing: -0.005em; }
.cta-link span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em;
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); transition: text-decoration-color .3s; }
.cta-link:hover span, .cta-link:focus-visible span { text-decoration-color: currentColor; }
.cta-arrow { width: 18px; height: 10px; flex: none; transition: transform .35s var(--ease); }
.cta-link:hover .cta-arrow, .cta-link:focus-visible .cta-arrow { transform: translateX(5px); }
.cta-lg { font-size: var(--step-lead); gap: 14px; }
.cta-lg .cta-arrow { width: 22px; height: 12px; }
.cta-bar { font-size: 1.0625rem; white-space: nowrap; }
.link {
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em;
  transition: color .2s, text-decoration-color .2s;
}
.link:hover { color: var(--link); }

/* bar: transparent over the photograph, plain paper after it */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--margin);
  color: var(--field-ink);
  transition: background-color .35s, color .35s, padding .35s;
}
section[id] { scroll-margin-top: 64px; }
main p { max-width: 62ch; }
.bar.away { transform: translateY(-110%); }
.bar { transition: background-color .35s, color .35s, padding .35s, transform .45s var(--ease); }
.bar.solid { background: var(--bg); color: var(--ink); padding-block: 10px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.wordmark-name { font-family: var(--display); font-size: 1.625rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.wordmark-kind { font-size: var(--step-small); opacity: .72; }
.bar-links { display: flex; gap: clamp(20px, 2.4vw, 36px); font-size: var(--step-small); margin-left: auto; }
.bar-links a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; text-decoration-color: transparent; transition: text-decoration-color .25s; }
.bar-links a:hover { text-decoration-color: currentColor; }
.menu-toggle { display: none; min-height: 44px; padding: 0 12px; margin-left: auto; background: none; border: 0; color: inherit; font: inherit; font-size: var(--step-small); text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }

/* HERO */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--field); color: var(--field-ink); }
.hero-photos { position: absolute; inset: -4% 0; }
.hero-photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  opacity: 0; transition: opacity 1.6s ease-in-out;
}
.hero-photos img.is-on { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 16, 24, .8) 0%, rgba(10, 16, 24, .52) 30%, rgba(10, 16, 24, .16) 58%, rgba(10, 16, 24, .3) 100%); } /* taste-skill-ignore: neutral scrim under type on a photograph */
.hero-foot {
  position: absolute; inset: auto 0 0; padding: 0 var(--margin) clamp(28px, 5vh, 56px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.hero-text { max-width: min(1000px, 72vw); }
.hero h1 { font-size: var(--step-display); line-height: .98; letter-spacing: -0.03em; }
.hero-text p { margin-top: 32px; max-width: 34em; font-size: var(--step-body); color: var(--field-ink); }
.hero-act { display: grid; justify-items: end; gap: 14px; text-align: right; flex: none; }
/* the home on screen, captioned like a print: name, price, what comes back */
.listing { display: grid; gap: 2px; justify-items: end; color: var(--field-ink); }
.listing p { transition: opacity .45s, transform .45s var(--ease); }
.listing.swap p { opacity: 0; transform: translateY(6px); }
.listing-name { font-size: var(--step-small); color: rgba(238, 240, 236, .82); }
.listing-price { font-family: var(--display); font-weight: 300; font-size: var(--step-lead); line-height: 1.15; font-variant-numeric: tabular-nums; }
.listing-credit { font-size: var(--step-small); color: var(--accent); font-variant-numeric: tabular-nums; }
.listing-switch { display: flex; gap: 6px; margin: 2px 0 6px; }
.listing-switch button { width: 36px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.listing-switch span { display: block; height: 3px; border-radius: 2px; background: rgba(238, 240, 236, .45); overflow: hidden; transition: background-color .25s; }
.listing-switch button:hover span { background: rgba(238, 240, 236, .6); }
.listing-switch [aria-pressed="true"] span::after { content: ""; display: block; height: 100%; background: var(--field-ink); transform-origin: 0 50%; animation: listing-fill 6s linear forwards; }
@keyframes listing-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* INTRO */
.intro { padding-block: var(--section); }
.intro-title { grid-row: 1; grid-column: 7 / 13; font-size: var(--step-head); margin-bottom: 32px; }
.statement { grid-row: 2; grid-column: 7 / 13; font-family: var(--display); font-size: var(--step-lead); font-weight: 300; line-height: 1.3; }
.statement .w { color: rgba(20, 23, 26, .22); transition: color .2s; }
.intro-photo { grid-column: 1 / 5; grid-row: 1 / 4; align-self: start; overflow: hidden; border-radius: var(--r-md); }
.intro-photo-b { grid-column: 5 / 7; grid-row: 2 / 4; align-self: end; margin-top: 140px; overflow: hidden; border-radius: var(--r-md); }
.intro-photo-b img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.intro-note { grid-column: 7 / 10; grid-row: 3; align-self: end; margin-top: 64px; font-size: var(--step-small); color: var(--muted); }

/* HOW: a deep-blue field, held while three moments pass */
.how { padding-inline: 10px; color: var(--field-ink); }
.how-stage {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); align-items: center; padding: 96px calc(var(--margin) - 10px) 64px;
  background: var(--field); border-radius: var(--r-lg);
}
.how-text { grid-column: 1 / 6; }
.how h2 { font-size: var(--step-head); }
.how-track { height: 4px; background: var(--field-2); margin: 32px 0 40px; border-radius: 3px; overflow: hidden; }
.how-track span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.333); }
.moments { list-style: none; padding: 0; display: grid; gap: 32px; }
.moment h3 { font-size: var(--step-lead); }
.moment p { font-size: var(--step-body); }
.motion .moment { transition: opacity .5s var(--ease); }
.motion .moment:not(.is-active) { opacity: .5; }
.moment p { margin-top: 8px; color: var(--field-muted); max-width: 30em; }
.how-frame { grid-column: 7 / 13; position: relative; aspect-ratio: 4 / 5; max-height: 78svh; justify-self: end; width: 100%; overflow: hidden; background: var(--field-2); border-radius: var(--r-md); }
.how-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* HOMES: a run of frames, one lifted */
.homes { padding-block: var(--section) clamp(72px, 7vw, 112px); }
.homes-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.homes-side h2 { grid-column: 1 / 7; grid-row: 1; }
.homes-side .homes-note { grid-column: 7 / 10; grid-row: 1; }
.homes-side .link { grid-column: 10 / 13; grid-row: 1; justify-self: end; }
.homes h2 { font-size: var(--step-head); }
.homes-note { font-size: var(--step-small); color: var(--muted); max-width: 30em; }
.run { grid-column: 1 / -1; display: grid; grid-template-columns: 2.1fr 1fr 1fr 1fr; gap: var(--gap); align-items: end; }
.frame-img { overflow: hidden; background: var(--surface); border-radius: var(--r-md); }
.frame-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.frame-link { display: block; color: inherit; text-decoration: none; }
.frame-link:hover .frame-img img { transform: scale(1.05); }
.frame-link:focus-visible { outline-offset: 6px; border-radius: var(--r-md); }
.frame figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding-top: 12px; font-size: var(--step-small); }
.frame figcaption span:last-child { font-variant-numeric: tabular-nums; }
.credit { font-style: normal; color: var(--link); display: block; text-align: right; }
.frame-name { display: block; font-family: var(--display); font-size: var(--step-lead); line-height: 1.2; }
.frame-lifted .facts { font-family: var(--font); margin-top: 4px; }
.facts { display: block; font-size: var(--step-small); color: var(--muted); }
.frame:not(.frame-lifted) figcaption { display: grid; gap: 2px; }
.frame:not(.frame-lifted) .credit { text-align: left; }
.frame-lifted figcaption { font-size: var(--step-body); }

/* KEEP: a menu of what comes back to you */
.keep { padding-block: clamp(96px, 9vw, 150px) var(--section); background: var(--surface); }
.keep-side { grid-column: 1 / 4; }
.keep h2 { font-size: var(--step-head); }
.keep-photo { margin-top: 48px; overflow: hidden; border-radius: var(--r-md); }
.keep-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.keep-main { grid-column: 5 / 13; }
.calc { background: var(--field); color: var(--field-ink); border-radius: var(--r-md); padding: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: baseline; }
.calc label { font-size: var(--step-body); }
.calc-price { font-family: var(--display); font-size: var(--step-lead); font-variant-numeric: tabular-nums; text-align: right; }
.calc input { grid-column: 1 / -1; width: 100%; height: 44px; margin: 4px 0 8px; accent-color: var(--accent); cursor: pointer; }
.calc-result { font-family: var(--display); grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: var(--step-body); }
.calc-result output { font-family: var(--display); font-weight: 300; font-size: var(--step-head); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-help { grid-column: 1 / -1; font-size: var(--step-small); color: var(--field-muted); }
.menu-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-top: 16px; }
.menu-group:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.menu-group:last-child h3 { grid-column: 1 / -1; }
.menu-group { margin-top: 48px; }
.menu-group h3 { font-size: var(--step-lead); margin-bottom: 8px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 22px; }
.row strong { display: block; font-weight: 400; }
.row span { display: block; font-size: var(--step-small); color: var(--muted); max-width: 36ch; }
.row b { font-family: var(--display); font-size: var(--step-lead); font-weight: 300; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* NEAR: the map */
.near { background: var(--bg); padding-inline: 10px; }
.map-frame { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--field); color: var(--field-ink); border-radius: var(--r-lg); }
.near-photo { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.near-shade { position: absolute; inset: 0; background: rgba(13, 22, 34, .38); }
.near-copy {
  position: absolute; z-index: 3; left: calc(var(--margin) - 10px); top: clamp(56px, 11vh, 112px);
  width: min(620px, calc(100% - var(--margin) * 2)); display: grid; justify-items: start; gap: 20px;
}
.near h2 { font-size: var(--step-head); }
.near-copy p { color: var(--field-ink); max-width: 42ch; }
.pins { position: absolute; inset: 0; z-index: 2; }
.pin {
  position: absolute; left: var(--x); top: var(--y); translate: -12px calc(-100% - 14px);
  padding: 6px 10px; background: var(--field-ink); color: var(--ink);
  font-size: var(--step-small); font-variant-numeric: tabular-nums; line-height: 1; border-radius: var(--r-sm);
}
.pin::after { content: ""; position: absolute; left: 11px; top: 100%; width: 2px; height: 14px; background: var(--field-ink); }
.pin-photo { padding: 0; background: none; display: grid; }
.pin-photo img { width: 140px; height: 96px; object-fit: cover; border-radius: var(--r-sm); }
.pin-photo > span { justify-self: start; margin-top: 4px; padding: 6px 10px; background: var(--field-ink); color: var(--ink); border-radius: var(--r-sm); }

/* CONTACT */
.contact { padding-block: var(--section) clamp(96px, 10vw, 140px); }
.contact-sentence { grid-column: 1 / 7; font-size: var(--step-head); }
.contact-lead { grid-column: 1 / 6; grid-row: 2; margin-top: 32px; }
.contact-photo { grid-column: 8 / 10; grid-row: 1 / 3; overflow: hidden; border-radius: var(--r-md); }
.contact-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.contact-links { grid-column: 10 / 13; grid-row: 1 / 3; display: grid; align-content: start; gap: 12px; }
.contact-q { font-family: var(--display); font-size: var(--step-lead); }
.contact-city { margin-top: 8px; font-size: var(--step-small); color: var(--muted); }

/* FOOTER: the name across the last photograph */
.footer { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: var(--field-ink); background: var(--field); display: flex; flex-direction: column; justify-content: space-between; }
.footer-photo { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; filter: brightness(.55) saturate(.85); }

/* one grade for every photograph: a touch less saturation, a touch more contrast */
main img:not(.near-photo) { filter: saturate(.88) contrast(1.04); }
.near-photo { filter: saturate(.8); }
.footer-top, .footer-bottom { position: relative; padding: 32px var(--margin); }
.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-top nav { display: grid; gap: 6px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-top address { display: grid; gap: 6px; font-style: normal; text-align: right; }
.footer-bottom { padding-bottom: 28px; }
.footer-name { font-family: var(--display); font-weight: 300; font-size: var(--step-name); line-height: .9; letter-spacing: -0.04em; white-space: nowrap; }
.footer-name { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.footer-name .ch { display: inline-block; }
.legal a { color: inherit; }
.legal { margin-top: 20px; font-size: var(--step-small); color: var(--field-ink); max-width: 60ch; }

/* TABLET */
@media (max-width: 1024px) {
  .intro-title, .statement { grid-column: 6 / 13; }
  .intro-photo { grid-column: 1 / 5; }
  .intro-note { grid-column: 6 / 12; }
  .homes-side h2 { grid-column: 1 / 8; }
  .homes-side .homes-note { grid-column: 1 / 8; grid-row: 2; margin-top: 16px; }
  .homes-side .link { grid-column: 9 / 13; }
  .intro-photo-b { display: none; }
  .run { grid-column: 1 / -1; }
  .keep-side { grid-column: 1 / 5; }
  .keep-main { grid-column: 6 / 13; }
  .menu-cols, .menu-group:last-child { grid-template-columns: 1fr; display: grid; }
  .row span { max-width: none; }
  .contact-sentence { grid-column: 1 / 9; }
  .contact-lead { grid-column: 1 / 8; }
  .contact-photo { grid-column: 1 / 4; grid-row: 3; margin-top: 48px; }
  .contact-links { grid-column: 5 / 13; grid-row: 3; margin-top: 48px; }
}

/* PHONE: its own composition */
@media (max-width: 680px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bar { padding-block: 14px; }
  .bar-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .bar.open .bar-links {
    display: grid; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    padding: 8px var(--margin) 24px; background: var(--bg); color: var(--ink); font-size: var(--step-body);
  }
  .bar.open .bar-links a { padding: 10px 0; }
  .bar.open { background: var(--bg); color: var(--ink); }
  .wordmark-kind { display: none; }
  .cta-bar { font-size: 1rem; gap: 8px; }
  .menu-toggle { padding: 0 8px; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 24px; padding-bottom: 28px; }
  .hero-text p { margin-top: 20px; }
  .hero-act { justify-items: stretch; text-align: left; }
  .listing { justify-items: start; }
  .homes-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .intro-title, .statement { grid-column: 1 / -1; }
  .statement { text-indent: 0; }
  .intro-photo { grid-column: 3 / -1; grid-row: auto; }
  .intro-photo img { aspect-ratio: 4 / 5; }
  .intro-note { grid-column: 1 / 3; grid-row: auto; align-self: end; margin-top: 0; }
  .intro-photo { grid-row: 3; }
  .intro-note { grid-row: 3; }
  .how-stage { grid-template-columns: 1fr; align-content: start; gap: 24px; padding-top: 84px; padding-bottom: 32px; }
  .how-text, .how-frame { grid-column: 1; }
  .how-frame { order: -1; aspect-ratio: 4 / 3; max-height: 34svh; }
  .how-track { margin: 20px 0 24px; }
  .moments { gap: 20px; }
  .run { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .frame-lifted, .frame:last-child { grid-column: 1 / -1; }
  .frame:last-child .frame-img img { aspect-ratio: 16 / 10; }
  .keep-side, .keep-main { grid-column: 1 / -1; }
  .keep-photo { width: 60%; margin-top: 32px; margin-bottom: 40px; }
  .calc { grid-template-columns: 1fr; }
  .calc-price { text-align: left; }
  .pin:not(.pin-photo), .pins .pin:nth-child(3) { display: none; }
  .pins .pin:nth-child(5) { left: 60%; }
  .near-copy { top: 40px; }
  .pin-photo img { width: 96px; height: 66px; }
  .contact-sentence, .contact-lead { grid-column: 1 / -1; }
  .contact-photo { grid-column: 1 / 3; }
  .contact-links { grid-column: 3 / -1; }
  .footer-top address { text-align: left; }
}

/* Without script, the held section reads as a plain list */
.no-js .how-frame img:not(:first-child) { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .statement .w { color: inherit; }
}

/* ================================================================ HOME PAGES */
.home-hero { height: 92svh; }
.home-hero .home-line { font-size: var(--step-lead); font-family: var(--display); font-weight: 300; line-height: 1.3; margin-top: 20px; }

.figures { padding-block: clamp(80px, 9vw, 140px) clamp(48px, 5vw, 80px); }
.facts-title { grid-column: 1 / 4; font-size: var(--step-lead); align-self: start; }
.facts-list { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin: 0; }
.facts-list div { display: flex; flex-direction: column-reverse; gap: 6px; }
.facts-list dd { margin: 0; font-family: var(--display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts-list dt { font-size: var(--step-body); color: var(--ink); }

.about { padding-block: clamp(48px, 5vw, 80px) var(--section); }
.about-title { grid-column: 1 / 6; font-size: var(--step-head); }
.about-text { grid-column: 1 / 7; grid-row: 2; margin-top: 32px; display: grid; gap: 18px; }
.about-text p { font-size: var(--step-body); }
.about-text p:first-child { font-family: var(--display); font-size: var(--step-lead); line-height: 1.3; font-weight: 300; }
.about-features { grid-column: 8 / 13; grid-row: 1 / 3; align-self: end; background: var(--surface); border-radius: var(--r-md); padding: clamp(24px, 3vw, 40px); }
.about-features h3 { font-size: var(--step-lead); margin-bottom: 12px; }
.about-features li { font-size: var(--step-body); }
.about-features ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.about-features li { padding-left: 18px; position: relative; }
.about-features li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--link); }

.rooms { padding-bottom: clamp(96px, 9vw, 150px); }
.rooms-title { grid-column: 1 / -1; font-size: var(--step-head); margin-bottom: clamp(32px, 4vw, 56px); }
.rooms-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--gap); }
.room { margin: 0; }
.room-img { overflow: hidden; border-radius: var(--r-md); }
.room-img img { width: 100%; object-fit: cover; }
.room figcaption { margin-top: 12px; font-size: var(--step-body); }
.room-a { grid-column: 1 / 9; } .room-a img { aspect-ratio: 16 / 10; }
.room-b { grid-column: 9 / 13; align-self: end; } .room-b img { aspect-ratio: 4 / 5; }
.room-c { grid-column: 2 / 6; } .room-c img { aspect-ratio: 1; }
.room-d { grid-column: 7 / 13; margin-top: 10%; } .room-d img { aspect-ratio: 16 / 10; }

.numbers { padding-block: clamp(96px, 9vw, 150px); background: var(--surface); }
.numbers-side { grid-column: 1 / 5; display: grid; align-content: start; gap: 20px; }
.numbers h2 { font-size: var(--step-head); }
.numbers-note { font-size: var(--step-body); max-width: 32ch; }
.loan { grid-column: 6 / 13; }
.loan-rows { grid-column: 1 / -1; margin: 4px 0 12px; }
.loan-rows .row { margin-top: 12px; }
.loan-rows .row strong { color: var(--field-ink); }
.loan-rows .row b { color: var(--field-ink); font-family: var(--font); font-size: var(--step-body); font-weight: 400; }

.viewing { padding-block: clamp(96px, 9vw, 150px); }
.viewing-title { grid-column: 1 / 8; font-size: var(--step-head); }
.viewing-act { grid-column: 9 / 13; display: grid; gap: 24px; justify-items: start; align-self: end; }

.next { padding: 0 10px 10px; }
.next-link { position: relative; display: block; height: 82svh; min-height: 480px; overflow: hidden; border-radius: var(--r-lg); color: var(--field-ink); text-decoration: none; }
.next-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04); transition: transform 1.2s var(--ease); }
.next-link:hover img { transform: scale(1.04); }
.next-shade { position: absolute; inset: 0; background: rgba(12, 18, 28, .42); }
.next-text { position: absolute; left: var(--margin); bottom: clamp(32px, 6vh, 64px); display: grid; gap: 14px; }
.next-kind { font-size: var(--step-body); }
.next-name { font-family: var(--display); font-weight: 300; font-size: var(--step-display); line-height: 1; letter-spacing: -0.03em; }

.footer-short { height: auto; min-height: 0; background: var(--field); }
.footer-short .footer-bottom { padding-top: 0; }

@media (max-width: 1024px) {
  .facts-title { grid-column: 1 / -1; margin-bottom: 32px; }
  .facts-list { grid-column: 1 / -1; }
  .about-text { grid-column: 1 / -1; }
  .about-features { grid-column: 1 / -1; grid-row: 3; margin-top: 40px; }
  .numbers-side { grid-column: 1 / -1; margin-bottom: 40px; }
  .loan { grid-column: 1 / -1; }
  .viewing-title { grid-column: 1 / -1; }
  .viewing-act { grid-column: 1 / 9; margin-top: 32px; }
}
@media (max-width: 680px) {
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .facts-list div:last-child { grid-column: 1 / -1; }
  .room-a, .room-b, .room-c, .room-d { grid-column: 1 / -1; margin-top: 0; }
  .room-b { width: 72%; }
  .room-c { width: 60%; justify-self: end; }
  .viewing-act { grid-column: 1 / -1; }
}

/* the arrival curtain (first visit in a session) */
.curtain { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--field); color: var(--field-ink); }
.curtain span { font-family: var(--display); font-weight: 300; font-size: clamp(3rem, 9vw, 8rem); letter-spacing: -0.03em; }
.loan .calc-result { margin-top: 8px; }
.loan .loan-rows { order: 2; margin-top: 16px; }
.loan .calc-help { order: 3; }
