/* Self-hosted typefaces (SIL Open Font License) — no requests to third-party font servers. */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/bodoni-moda-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/jost-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Flexpads — design tokens
   Quiet luxury: ivory, near-black, warm stone. Bronze only for small labels.
   ========================================================================== */
:root {
  --paper: #faf8f5;
  --surface: #ffffff;
  --stone: #f1ede7;
  --stone-2: #e7e1d8;
  --ink: #161514;
  --ink-2: #4a4743;
  --ink-3: #85807a;
  --line: #e3ded6;
  --line-strong: #cbc4b9;
  --bronze: #7d6243;
  --charcoal: #1b1a19;
  --error: #9b2c1f;

  --serif: 'Bodoni Moda', 'Bodoni 72', Didot, 'Iowan Old Style', Georgia, serif;
  --sans: 'Jost', Futura, 'Avenir Next', 'Gill Sans', sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
sup { font-size: 0.62em; vertical-align: 0.6em; margin-left: 2px; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--ink); color: var(--paper); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Type helpers */
.label {
  margin-bottom: 18px;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.5;
  color: var(--bronze);
}
.label-light { color: rgb(255 255 255 / 0.82); }
.display { font-size: clamp(2.8rem, 1.4rem + 5vw, 5.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.display-sm { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); line-height: 1.06; letter-spacing: -0.015em; }
.lede { font-size: 1.08rem; color: var(--ink-2); line-height: 1.75; max-width: 58ch; }
.prose { color: var(--ink-2); max-width: 66ch; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--ink); font-weight: 500; }
.fine { font-size: 0.82rem; color: var(--ink-3); line-height: 1.55; }
.sub-h { margin-bottom: 18px; font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }

/* ==========================================================================
   Buttons & links — square, tracked capitals
   ========================================================================== */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1.15em 2.1em; border-radius: 0;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn-dark:hover { --bg: #3a3733; --bd: #3a3733; }
.btn-light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-light:hover { --bg: var(--stone); --bd: var(--stone); }
.btn-outline:hover { --bg: var(--ink); --fg: #fff; }
.btn-outline-light { --fg: #fff; --bd: rgb(255 255 255 / 0.6); }
.btn-outline-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-sm { padding: 0.95em 1.6em; }
.btn-lg { padding: 1.3em 2.4em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

.text-link {
  display: inline-block; padding-bottom: 4px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid currentColor; transition: color 0.3s, border-color 0.3s;
}
.text-link:hover { color: var(--bronze); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-mark { width: 26px; height: 26px; }
.logo-word { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 32px; }
.site-nav ul a { position: relative; display: block; padding: 6px 0; text-decoration: none; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.site-nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current='page']::after { transform: scaleX(1); }
.site-header .nav-cta { background: transparent; color: inherit; border-color: currentColor; transition: none; }
.site-header .nav-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-toggle { display: none; }

/* Home: header floats over the photograph until you scroll. */
.page-home .site-header { position: fixed; inset: 0 0 auto; background: transparent; color: #fff; border-bottom-color: rgb(255 255 255 / 0.18); }
.page-home .site-header.is-scrolled, .page-home.nav-open .site-header { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.page-home .site-header:not(.is-scrolled) .nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 959px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; color: inherit; }
  .nav-toggle .icon { width: 24px; height: 24px; grid-area: 1 / 1; transition: opacity 0.25s; stroke-width: 1.25; }
  .nav-toggle .icon-close { opacity: 0; }
  .nav-open .nav-toggle .icon-open { opacity: 0; }
  .nav-open .nav-toggle .icon-close { opacity: 1; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 40; min-height: calc(100svh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 24px var(--gutter) 40px; background: var(--paper); color: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 18px 0; font-family: var(--serif); font-size: 1.9rem; letter-spacing: -0.01em; text-transform: none; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-header .site-nav .nav-cta { color: #fff; background: var(--ink); border-color: var(--ink); padding: 1.3em; }
  .nav-open { overflow: hidden; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(88px, 11vw, 160px); }
.section-flush-top { padding-top: 0; }
.section-stone { background: var(--stone); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { max-width: 20ch; }
.section-head .lede { margin-top: 18px; }
.section-head-center { justify-content: center; text-align: center; }

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero { position: relative; display: flex; align-items: flex-end; min-height: max(640px, 100svh); color: #fff; overflow: hidden; isolation: isolate; background: var(--charcoal); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(10 9 8 / 0.62) 0%, rgb(10 9 8 / 0.34) 45%, rgb(10 9 8 / 0) 75%),
  linear-gradient(180deg, rgb(10 9 8 / 0.42) 0%, rgb(10 9 8 / 0) 24%, rgb(10 9 8 / 0) 50%, rgb(10 9 8 / 0.55) 100%); }
.hero-inner { padding-bottom: clamp(72px, 12vh, 140px); }
.hero .display { max-width: 13ch; }
.hero-lede { margin-top: 24px; max-width: 46ch; font-size: 1.1rem; line-height: 1.7; color: rgb(255 255 255 / 0.88); }
.hero .btn-row { margin-top: 40px; }
.hero-credit {
  position: absolute; right: var(--gutter); bottom: 32px;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(255 255 255 / 0.72); text-decoration: none;
}
.hero-credit span { margin-inline: 0.5em; }
.hero-credit:hover { color: #fff; }
@media (max-width: 699px) { .hero-credit { display: none; } }

/* Intro */
.intro-grid { display: grid; gap: 56px 96px; align-items: start; }
@media (min-width: 1000px) { .intro-grid { grid-template-columns: 7fr 5fr; } }
.intro-statement { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.15; margin-bottom: 32px; max-width: 18ch; }
.ledger { border-top: 1px solid var(--ink); }
.ledger div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 4px; }
.ledger dd { color: var(--ink-2); }

/* ==========================================================================
   Residences (cards without boxes)
   ========================================================================== */
.residence { position: relative; }
.residence-media { position: relative; overflow: hidden; background: var(--stone-2); }
.residence-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.residence:hover .residence-media img { transform: scale(1.03); }
.residence-title { font-size: 1.35rem; line-height: 1.2; }
.residence-title a { text-decoration: none; }
.residence:hover .residence-title a { text-decoration: underline; text-decoration-thickness: 1px; }
.residence .label { margin-bottom: 10px; }
.residence-lg .residence-media { aspect-ratio: 4 / 3; }
.residence-lg .residence-body { padding-top: 32px; }
.residence-lg .residence-title { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); }
.residence-lede { margin-top: 14px; color: var(--ink-2); max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.residence-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.residence-sm { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.residence-sm .residence-media { aspect-ratio: 4 / 3; }
.residence-sm .residence-body { display: grid; gap: 8px; }
.residence-sm .label { margin-bottom: 0; }

.feature-homes { display: grid; gap: 56px; }
@media (min-width: 1000px) {
  .feature-homes { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
  .residence-lg .residence-media { aspect-ratio: 5 / 4; }
}
.feature-side { display: grid; }
.feature-side .residence-sm { padding-block: 28px; border-bottom: 1px solid var(--line-strong); }
.feature-side .residence-sm:first-child { padding-top: 0; }
.feature-side .residence-sm:last-child { border-bottom: 0; }

.card-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 48px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.card-rail > * { scroll-snap-align: start; }
.card-rail .residence-sm { grid-template-columns: 1fr; align-items: start; }

.facts { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.facts .f { white-space: nowrap; }
.facts .sep { margin-inline: 0.7em; color: var(--line-strong); }
.price { color: var(--ink-2); font-size: 0.9rem; line-height: 1.4; }
.price-lead, .price-unit { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.price-amount { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.price-amount-text { font-size: 1.1rem; }
.price-note { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--ink-3); }

/* ==========================================================================
   Who we serve — sticky photograph follows the reader
   ========================================================================== */
.serve { padding-block: clamp(88px, 11vw, 160px); border-top: 1px solid var(--line); }
.serve-grid { display: grid; gap: 56px; }
.serve-list > .lede { margin: 20px 0 16px; }
.serve-item { padding-block: 44px; border-top: 1px solid var(--line-strong); }
.serve-n { display: block; margin-bottom: 14px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; color: var(--bronze); }
.serve-item h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.1; }
.serve-item > p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.serve-item .serve-points { display: flex; flex-wrap: wrap; row-gap: 6px; margin-top: 20px; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); line-height: 1.6; }
.serve-points li { white-space: normal; }
.nw { white-space: nowrap; }   /* keeps words like Wi-Fi from breaking at the hyphen */
.serve-points li + li::before { content: '·'; margin-inline: 0.8em; color: var(--line-strong); }
.serve-inline { margin-bottom: 28px; aspect-ratio: 4 / 3; overflow: hidden; }
.serve-inline img { width: 100%; height: 100%; object-fit: cover; }
.serve-visual { display: none; }
@media (min-width: 1000px) {
  .serve-grid { grid-template-columns: 5fr 6fr; gap: 104px; }
  .serve-inline { display: none; }
  .serve-visual { display: block; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .serve-frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 120px); width: 100%; overflow: hidden; background: var(--stone-2); }
  .serve-img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
  .serve-img.is-active { opacity: 1; }
  .serve-img img { width: 100%; height: 100%; object-fit: cover; }
  .serve-count { margin-top: 16px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; color: var(--ink-3); }
  .serve-count span { color: var(--ink); }
  .serve-item { min-height: clamp(300px, 44vh, 440px); display: flex; flex-direction: column; justify-content: center; }
  .js .serve-item { opacity: 0.32; transition: opacity 0.6s var(--ease); }
  .js .serve-item.is-active { opacity: 1; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.how { background: var(--stone); }
.how-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .how-grid { grid-template-columns: 5fr 7fr; gap: 120px; } .how-side { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.how-note { margin: 28px 0 24px; color: var(--ink-2); max-width: 40ch; }
.steps { border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line-strong); }
.step-n { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--bronze); }
.steps h3 { font-size: 1.65rem; margin-bottom: 10px; }
.steps p { color: var(--ink-2); max-width: 46ch; }

/* ==========================================================================
   Locations
   ========================================================================== */
.market-grid { display: grid; gap: 12px; }
@media (min-width: 900px) {
  .market-grid { grid-template-columns: 7fr 5fr; grid-template-rows: 1fr 1fr; height: clamp(560px, 54vw, 760px); }
  .market-tile-lg { grid-row: 1 / 3; }
}
.market-tile { position: relative; display: block; min-height: 340px; overflow: hidden; color: #fff; text-decoration: none; background: var(--charcoal); isolation: isolate; }
.market-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.market-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0) 40%, rgb(0 0 0 / 0.62)); }
.market-tile:hover img { transform: scale(1.03); }
.market-tile-body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); }
.market-tile-body .label { margin-bottom: 10px; }
.market-tile-body strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.1; }
.market-tile-lg .market-tile-body strong { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); }
.market-tile-body > span:last-child { margin-top: 8px; font-size: 0.95rem; color: rgb(255 255 255 / 0.85); max-width: 36ch; }

/* ==========================================================================
   Photographic call-to-action
   ========================================================================== */
.cta-photo { position: relative; display: grid; place-items: center; min-height: clamp(520px, 72vh, 760px); color: #fff; text-align: center; overflow: hidden; isolation: isolate; background: var(--charcoal); }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(12 11 10 / 0.52); }
.cta-inner { display: flex; flex-direction: column; align-items: center; max-width: 820px; padding-block: 96px; }
.cta-inner h2 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); }
.cta-inner > p:not(.label) { margin-top: 20px; max-width: 52ch; color: rgb(255 255 255 / 0.86); }
.cta-inner .btn-row { margin-top: 40px; justify-content: center; }

/* ==========================================================================
   Residences index — alternating rows
   ========================================================================== */
.page-hero { padding-block: clamp(64px, 9vw, 128px) clamp(48px, 6vw, 80px); }
.page-hero .lede { margin-top: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.filter { position: relative; padding: 6px 0; border: 0; background: none; cursor: pointer; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); transition: color 0.3s; }
.filter::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.filter:hover { color: var(--ink); }
.filter[aria-pressed='true'] { color: var(--ink); }
.filter[aria-pressed='true']::after { transform: scaleX(1); }
.filter-empty { padding: 48px 0; color: var(--ink-2); }

.home-rows { display: grid; gap: clamp(72px, 9vw, 140px); }
.home-row { display: grid; }
.home-row[hidden] { display: none; }
.home-row-media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone-2); }
.home-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.home-row:hover .home-row-media img { transform: scale(1.03); }
.home-row-panel { position: relative; padding-top: 32px; }
.home-row-panel h2 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem); }
.home-row-panel h2 a { text-decoration: none; }
.home-row-panel h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.home-row-lede { margin: 18px 0 22px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-row-panel .price { margin: 18px 0 30px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
  .home-row { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .home-row-media { grid-column: 1 / 9; grid-row: 1; }
  .home-row-panel { grid-column: 8 / 13; grid-row: 1; padding: 56px 52px; background: var(--paper); }
  .home-row-flip .home-row-media { grid-column: 5 / 13; }
  .home-row-flip .home-row-panel { grid-column: 1 / 6; }
}

/* ==========================================================================
   Residence detail
   ========================================================================== */
.listing-top { padding-top: 40px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 40px; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.listing-title { margin-bottom: 40px; }
.listing-title h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1.06; max-width: 22ch; margin-bottom: 20px; }

.mosaic-wrap { position: relative; }
.mosaic { display: grid; gap: 6px; }
.mosaic-item { position: relative; display: block; overflow: hidden; background: var(--stone-2); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.mosaic-item:hover img { transform: scale(1.03); }
.mosaic-all { position: absolute; right: 20px; bottom: 20px; z-index: 2; }
.mosaic-count { display: none; }
@media (min-width: 760px) {
  .mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(400px, 48vw, 640px); }
  .mosaic-0 { grid-row: 1 / 3; }
}
@media (max-width: 759px) {
  /* Swipeable strip: every photo stops with its left edge on the page gutter (in line with the text),
     with the same peek of the next photo; the trailing margin lets the last photo line up too. */
  .mosaic-wrap { --peek: 28px; }
  .hide-sm { display: none; }   /* shorter labels where space is tight */   /* shared by the strip, the counter and the "View all" button */
  .mosaic {
    display: flex; gap: var(--gutter); overflow-x: auto;   /* gap = gutter, so the previous photo sits exactly off-screen */ overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
  }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic-item { flex: 0 0 calc(100% - 2 * var(--gutter) - var(--peek)); aspect-ratio: 4 / 3; scroll-snap-align: start; scroll-snap-stop: always; }
  .mosaic-item:first-child { margin-left: var(--gutter); }
  .mosaic-item:last-of-type { margin-right: calc(var(--gutter) + var(--peek)); }
  .mosaic-all { right: calc(var(--peek) + 10px); bottom: 12px; }
  .mosaic-count {
    display: block; position: absolute; top: 12px; right: calc(var(--peek) + 10px); z-index: 2;
    padding: 4px 9px; background: rgb(22 21 20 / 0.6); color: #fff; backdrop-filter: blur(6px);
    font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; font-variant-numeric: tabular-nums;
  }
}

.listing-grid { display: grid; gap: 64px; padding-block: clamp(56px, 7vw, 96px) clamp(88px, 10vw, 140px); }
@media (min-width: 1000px) { .listing-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 104px; } }
.listing-lede { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.45; max-width: 36ch; }

.fact-ledger { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-top: 1px solid var(--ink); }
@media (min-width: 760px) { .fact-ledger { grid-template-columns: repeat(4, 1fr); } }
.fact-ledger div { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line-strong); }
.fact-ledger dt { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.fact-ledger dd { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.fact-ledger .fact-note { margin-top: 6px; font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); }

.listing-section { margin-top: 80px; }
.listing-section > h2 { margin-bottom: 24px; }
.listing-cols { display: grid; gap: 56px; }
@media (min-width: 760px) { .listing-cols { grid-template-columns: 1fr 1fr; } }

.ruled { border-top: 1px solid var(--line-strong); }
.ruled li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 0.97rem; line-height: 1.5; }
.more > summary {
  display: inline-block; margin-top: 16px; padding: 10px 0 4px; cursor: pointer; list-style: none;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid currentColor;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary:hover { color: var(--bronze); }
.more[open] > summary { display: none; }
.ruled-more { border-top: 0; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--line-strong); }
@media (min-width: 760px) { .feature-list { grid-template-columns: repeat(3, 1fr); } }
.feature-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }

.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 36px 16px; }
.room-tile { display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.room-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-2); }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.room-tile:hover .room-img img { transform: scale(1.04); }
.room-name { display: block; margin-top: 14px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.25; }
.room-count { display: block; margin-top: 4px; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }

.nearby { display: grid; margin-top: 32px; border-top: 1px solid var(--line-strong); }
@media (min-width: 760px) { .nearby { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.nearby li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
.nearby .dist { flex: none; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); padding-top: 3px; }
.nearby .nearby-note { grid-column: 1 / -1; color: var(--ink); }
.map { position: relative; margin-top: 40px; aspect-ratio: 16 / 9; background: var(--stone); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map-gate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line-strong); }
.map-gate p:not(.label) { max-width: 48ch; color: var(--ink-2); font-size: 0.95rem; }
.map-gate .label { margin-bottom: 0; }
@media (max-width: 560px) { .map { aspect-ratio: auto; min-height: 300px; } }
.map + .fine { margin-top: 12px; }

.book-card { position: sticky; top: calc(var(--header-h) + 32px); padding: 40px 36px; background: var(--surface); border: 1px solid var(--line); }
.book-card .book-price { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.book-card .price-amount { display: inline-block; margin-block: 4px; font-size: 2.4rem; line-height: 1.1; }
.book-card .price-amount-text { font-size: 1.8rem; }
.book-card .price-lead, .book-card .price-unit { display: block; }
.stay-list { display: grid; gap: 18px; margin: 28px 0 32px; }
.stay-list dt { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.stay-list dd { font-size: 0.95rem; line-height: 1.5; }
.book-card .fine { margin-top: 16px; text-align: center; }

.mobile-book { display: none; }
.stay-inline { display: none; }
@media (max-width: 999px) {
  .book-card { position: static; }
  .listing-aside { display: none; }
  .stay-inline { display: block; margin-top: 48px; }
  .nav-open .mobile-book { transform: translateY(110%); }
  .mobile-book {
    position: fixed; inset: auto 0 0 0; z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.4s var(--ease);
  }
  .mobile-book.is-visible { transform: none; }
  .page-listing .site-footer { padding-bottom: 96px; }
}

/* Inquiry */
.inquiry-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1000px) { .inquiry-grid { grid-template-columns: 5fr 7fr; gap: 104px; } }
.inquiry-grid h2 { margin-bottom: 20px; }
.inquiry-home { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.inquiry-home img { width: 96px; height: 72px; object-fit: cover; }
.inquiry-home div { display: flex; flex-direction: column; line-height: 1.4; }
.inquiry-home strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.inquiry-home span { font-size: 0.85rem; color: var(--ink-3); }

.form-card { padding: clamp(28px, 4vw, 56px); background: var(--surface); border: 1px solid var(--line); }
.form-title { font-size: 1.9rem; margin-bottom: 32px; }
.inquiry-form { display: grid; gap: 28px 32px; }
.inquiry-form { grid-template-columns: minmax(0, 1fr); }
.field input, .field select, .field textarea { min-width: 0; }
@media (min-width: 560px) { .inquiry-form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.req { color: var(--bronze); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent;
  font-size: 1rem; line-height: 1.5; appearance: none; -webkit-appearance: none; transition: border-color 0.3s;
}
.field select {
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161514' stroke-width='1.25'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 16px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field.has-error input, .field.has-error select { border-bottom-color: var(--error); }
.field-error { font-size: 0.8rem; color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-status { font-size: 0.9rem; color: var(--ink-2); }
.form-status.is-error { color: var(--error); }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0; }
.form-success:focus { outline: none; }
.form-success .icon-badge { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; }
.form-success .icon-badge .icon { width: 20px; height: 20px; stroke-width: 1.5; }
.form-success h3 { font-size: 1.8rem; }
.form-success p { color: var(--ink-2); }

/* ==========================================================================
   Photo tour
   ========================================================================== */
.tour-top { padding-block: 48px; }
.back-link { margin-bottom: 40px; }
.tour-top h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); max-width: 22ch; }
.tour-top .lede { margin-top: 16px; }
.room-nav { position: sticky; top: var(--header-h); z-index: 30; background: var(--paper); border-block: 1px solid var(--line); }
.room-nav ul { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.room-nav ul::-webkit-scrollbar { display: none; }
.room-nav a { position: relative; display: block; padding: 18px 0; white-space: nowrap; text-decoration: none; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); transition: color 0.3s; }
.room-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.room-nav a:hover, .room-nav a.is-active { color: var(--ink); }
.room-nav a.is-active::after { transform: scaleX(1); }
.tour-body { padding-bottom: 120px; }
.tour-section { padding-top: 72px; scroll-margin-top: calc(var(--header-h) + 64px); }
.tour-section h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); margin-bottom: 24px; }
.tour-section h2 span { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; color: var(--ink-3); }
.tour-grid { display: grid; gap: 6px; grid-template-columns: 1fr; grid-auto-rows: clamp(240px, 26vw, 340px); }
@media (min-width: 640px) { .tour-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }
.tour-item { display: block; height: 100%; overflow: hidden; background: var(--stone-2); }
.tour-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.tour-item:hover img { transform: scale(1.03); }
@media (min-width: 640px) { .tour-grid .tour-item:first-child:nth-last-child(n + 4) { grid-column: span 2; grid-row: span 2; } }
.tour-cta { margin-top: 112px; padding: clamp(48px, 6vw, 88px) var(--gutter); background: var(--stone); text-align: center; }
.tour-cta h2 { margin-bottom: 16px; }
.tour-cta .price { margin-bottom: 36px; }
.tour-cta .btn-row { justify-content: center; }

/* ==========================================================================
   Contact & simple pages
   ========================================================================== */
.contact-section { padding-top: clamp(56px, 8vw, 112px); }
.contact-grid { display: grid; gap: 64px; align-items: start; }
.contact-grid { grid-template-areas: 'intro' 'form' 'extras'; }
.contact-intro { grid-area: intro; }
.contact-extras { grid-area: extras; }
.contact-grid > .form-card { grid-area: form; }
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 5fr 7fr; grid-template-areas: 'intro form' 'extras form'; column-gap: 104px; row-gap: 40px; }
}
.contact-intro .lede { margin-top: 24px; }
.contact-direct { margin-top: 48px; }
.contact-direct .label { margin-bottom: 8px; }
.contact-direct a { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-direct a:hover { border-bottom-color: var(--ink); }
.contact-homes { margin-top: 56px; }
.contact-homes ul { display: grid; }
.contact-homes a { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-homes a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; }
.contact-homes img { width: 72px; height: 54px; object-fit: cover; }
.contact-homes span { display: flex; flex-direction: column; line-height: 1.4; }
.contact-homes strong { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; }
.contact-homes span span { font-size: 0.82rem; color: var(--ink-3); }
.simple-page { text-align: center; padding-block: clamp(120px, 16vw, 200px); }
.simple-page .lede { margin: 24px auto 44px; }
.simple-page .btn-row { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--charcoal); color: rgb(255 255 255 / 0.62); padding-top: clamp(72px, 9vw, 120px); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 56px; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.logo-light { color: #fff; }
.footer-tag { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; padding-block: 56px; }
.footer-h { margin-bottom: 18px; font-family: var(--sans); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: rgb(255 255 255 / 0.42); }
.site-footer ul { display: grid; gap: 10px; font-size: 0.93rem; }
.site-footer ul a { text-decoration: none; transition: color 0.3s; }
.site-footer ul a:hover { color: #fff; }
.fair-housing { display: flex; gap: 16px; align-items: flex-start; padding-block: 0 40px; max-width: 80ch; font-size: 0.8rem; line-height: 1.6; color: rgb(255 255 255 / 0.5); }
.fair-housing strong { color: rgb(255 255 255 / 0.75); font-weight: 500; }
.eho { width: 28px; height: 28px; flex: none; color: rgb(255 255 255 / 0.6); }
.footer-legal { display: flex !important; flex-wrap: wrap; gap: 8px 28px !important; font-size: inherit !important; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 28px 36px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255 255 255 / 0.4); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0e0d0c; color: #fff;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);   /* never grow to the photo's natural size */
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: #0e0d0c; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); }
.lb-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.lb-meta strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-meta span { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(255 255 255 / 0.55); }
.lb-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 0.22); background: transparent; color: #fff; cursor: pointer; transition: background-color 0.3s, border-color 0.3s; flex: none; }
.lb-btn:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.5); }
.lb-btn .icon { width: 20px; height: 20px; stroke-width: 1.25; }
.lb-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; touch-action: pan-y; }
/* The photo box is pinned to the stage (minus room for the arrows); the photo is scaled down to fit
   inside it and centred — the same in Chrome and Safari. */
.lb-stage figure { position: absolute; inset: 8px clamp(8px, 8vw, 112px); margin: 0; }
.lb-stage img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: opacity 0.35s; }
.lb-stage img.is-loading { opacity: 0.2; }
.lb-caption { padding: 12px clamp(16px, 3vw, 32px) 0; text-align: center; font-size: 0.9rem; color: rgb(255 255 255 / 0.7); min-height: 2.2em; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 32px); }
.lb-next { right: clamp(8px, 2vw, 32px); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; background: rgb(0 0 0 / 0.5); }
  .lb-stage figure { inset: 0 8px 64px; }   /* leave room for the arrows below the photo */
}
.lb-thumbs { display: flex; gap: 4px; overflow-x: auto; padding: 14px clamp(16px, 3vw, 32px) calc(18px + env(safe-area-inset-bottom)); scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.2) transparent; }
.lb-thumbs button { flex: none; width: 76px; height: 54px; padding: 0; border: 1px solid transparent; overflow: hidden; background: #262422; cursor: pointer; opacity: 0.45; transition: opacity 0.3s, border-color 0.3s; }
.lb-thumbs button:hover { opacity: 0.85; }
.lb-thumbs button[aria-current='true'] { opacity: 1; border-color: #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-room-start { margin-left: 12px; }
body.lb-open { overflow: hidden; }

/* ==========================================================================
   Page-load sequence — one quiet, orchestrated reveal per page
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  [data-load] { animation: load-rise 1.1s var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 120ms); }
  [data-load='fade'] { animation-name: load-fade; animation-duration: 2.2s; animation-delay: 0ms; }
  [data-load='photo'] { animation-name: load-unveil; animation-duration: 1.4s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@keyframes load-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes load-fade { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes load-unveil { from { opacity: 0; clip-path: inset(14% 0 0 0); } to { opacity: 1; clip-path: inset(0); } }

/* ==========================================================================
   Forms — consent line
   ========================================================================== */
.form-consent { font-size: 0.78rem; line-height: 1.6; color: var(--ink-3); }
.form-consent a { color: var(--ink-2); }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding-block: clamp(56px, 8vw, 112px) clamp(88px, 10vw, 140px); }
.legal-head { padding-bottom: 40px; margin-bottom: 56px; border-bottom: 1px solid var(--ink); }
.legal-date { margin-top: 16px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.legal-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .legal-grid { grid-template-columns: 3fr 8fr; gap: 96px; } .legal-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.legal-toc ol { counter-reset: toc; border-top: 1px solid var(--line-strong); }
.legal-toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.legal-toc a { display: flex; gap: 12px; padding: 10px 0; font-size: 0.9rem; color: var(--ink-2); text-decoration: none; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ink-3); padding-top: 3px; }
.legal-toc a:hover { color: var(--ink); }
@media (max-width: 999px) { .legal-toc { display: none; } }
.legal-body { max-width: 72ch; color: var(--ink-2); }
.legal-intro { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.5; color: var(--ink); padding-bottom: 40px; }
.legal-body section { padding-top: 40px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body h2 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); color: var(--ink); margin-bottom: 16px; }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p, .legal-body .legal-table + p { margin-top: 1em; }
.legal-body ul { list-style: disc; padding-left: 1.2em; }
.legal-body li { margin-top: 0.5em; }
.legal-body li::marker { color: var(--ink-3); }
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-body code { font-size: 0.88em; padding: 1px 6px; background: var(--stone); }
.legal-table { border-top: 1px solid var(--ink); font-size: 0.92rem; }
.legal-table > div { display: grid; grid-template-columns: 1fr 1fr 2.4fr 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-table-head { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 640px) { .legal-table > div { grid-template-columns: 1fr; gap: 2px; } .legal-table-head { display: none !important; } }
.legal-more { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-strong); font-size: 0.9rem; }

/* ==========================================================================
   Phones & small tablets — refinements
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }
button, .btn, a { touch-action: manipulation; }

/* Bigger tap area for small text links without changing how they look */
.text-link, .footer-legal a, .breadcrumb a, .nav-email { position: relative; }
.text-link::after, .footer-legal a::after, .breadcrumb a::after { content: ''; position: absolute; inset: -12px -6px; }

/* Mobile menu: Inquire + email pinned at the bottom */
.nav-foot { display: flex; align-items: center; gap: 24px; }
.nav-email { display: none; }
@media (max-width: 959px) {
  .nav-foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .nav-email { display: block; text-align: center; font-size: 0.95rem; color: var(--ink-2); text-decoration: none; }
}


/* Single-column grids must not grow to fit wide children (swipe rails, long words) */
.listing-grid, .serve-grid, .intro-grid, .how-grid, .inquiry-grid, .contact-grid, .feature-homes, .legal-grid, .home-row, .steps li { grid-template-columns: minmax(0, 1fr); }
.listing-main, .serve-list, .contact-extras, .contact-intro { min-width: 0; }
@media (min-width: 1000px) {
  .listing-grid { grid-template-columns: minmax(0, 1fr) 380px; }
  .serve-grid { grid-template-columns: 5fr 6fr; }
  .intro-grid { grid-template-columns: 7fr 5fr; }
  .how-grid { grid-template-columns: 5fr 7fr; }
  .inquiry-grid { grid-template-columns: 5fr 7fr; }
  .contact-grid { grid-template-columns: 5fr 7fr; }
  .feature-homes { grid-template-columns: 7fr 5fr; }
  .legal-grid { grid-template-columns: 3fr 8fr; }
  .home-row { grid-template-columns: repeat(12, 1fr); }
}
.steps li { grid-template-columns: 72px minmax(0, 1fr); }
@media (max-width: 759px) {
  .section, .serve { padding-block: 72px; }
  .section-flush-top { padding-top: 0; }
  .section-head { margin-bottom: 32px; }
  h2 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.4rem); }

  /* Guest-type points: a short stacked list (no separators to strand at line starts) */
  .serve-item .serve-points { flex-direction: column; row-gap: 8px; }
  .serve-points li + li::before { content: none; }

  /* Full-width, thumb-friendly calls to action */
  .hero .btn-row, .cta-inner .btn-row, .simple-page .btn-row, .tour-cta .btn-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero .btn-row .btn, .cta-inner .btn-row .btn, .simple-page .btn-row .btn, .tour-cta .btn-row .btn { width: 100%; }
  .form-foot .btn { width: 100%; }
  .hero-inner { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .hero-lede { font-size: 1rem; }

  /* Residence list beside the feature becomes a tidy thumbnail list */
  .feature-homes { gap: 40px; }
  .residence-sm { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
  .residence-sm .residence-title { font-size: 1.12rem; }
  .residence-sm .facts { font-size: 0.64rem; letter-spacing: 0.14em; }
  .feature-side .residence-sm { padding-block: 20px; }
  .residence-lg .residence-body { padding-top: 22px; }
  .residence-foot { margin-top: 18px; padding-top: 16px; }

  /* "Other residences" rail: one card and a peek of the next */
  .card-rail { grid-auto-columns: 78%; gap: 16px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .card-rail::-webkit-scrollbar { display: none; }
  .card-rail .residence-sm { grid-template-columns: 1fr; }

  /* Location filters: one swipeable row */
  .filters { flex-wrap: nowrap; overflow-x: auto; gap: 28px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding-block: 10px; }
  /* soft fade on the right edge hints that these rows scroll */
  .filters, .room-nav ul { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 48px; }

  /* Residences index */
  .home-rows { gap: 64px; }
  .home-row-panel { padding-top: 24px; }
  .home-row-panel .btn-row { gap: 16px 24px; }

  /* Listing detail */
  .listing-top { padding-top: 20px; }
  .breadcrumb { margin-bottom: 24px; }
  .listing-title { margin-bottom: 24px; }
  .listing-grid { gap: 0; padding-top: 40px; }
  .listing-section { margin-top: 64px; }
  .fact-ledger { margin-top: 40px; }
  .fact-ledger div { padding: 18px 12px 18px 0; }
  .book-card-inline { padding: 28px 22px; }
  .book-card-inline .stay-list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .book-card-inline .stay-list div:first-child { grid-column: 1 / -1; }
  .feature-list { grid-template-columns: 1fr; }

  /* Gallery rooms: a swipeable row instead of a 4,000px column */
  .room-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .room-grid::-webkit-scrollbar { display: none; }
  .room-tile { scroll-snap-align: start; }
  .room-name { font-size: 1rem; margin-top: 10px; }

  .map { margin-top: 28px; }
  .inquiry-grid { gap: 32px; }
  .form-card { padding: 28px 20px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .inquiry-form { gap: 24px; }

  /* Photo tour: two columns, the first photo of each room full width */
  .tour-top { padding-block: 28px 32px; }
  .back-link { margin-bottom: 28px; }
  .tour-section { padding-top: 48px; }
  .tour-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 4px; }
  .tour-grid .tour-item:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .tour-grid .tour-item:nth-child(even):last-child { grid-column: 1 / -1; }   /* no lonely half-width photo */
  .tour-cta { margin-top: 72px; margin-inline: calc(-1 * var(--gutter)); }
  .room-nav ul { gap: 24px; }

  /* Contact */
  .contact-grid { gap: 40px; }
  .contact-homes { margin-top: 40px; }

  /* Legal pages */
  .legal-head { padding-bottom: 28px; margin-bottom: 8px; }
  .legal-intro { padding-bottom: 8px; }

  /* Footer: compact two-column layout */
  .site-footer { padding-top: 56px; }
  .footer-top { padding-bottom: 40px; gap: 20px; }
  .footer-top .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: 40px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer ul { gap: 4px; }
  .site-footer ul a { display: inline-block; padding-block: 6px; }
  .footer-base { flex-direction: column; gap: 14px; }
  .page-listing .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .display { font-size: 2.5rem; }
  .residence-sm { grid-template-columns: 96px minmax(0, 1fr); }
  .room-grid { grid-auto-columns: 58%; }
}
