/* Quill Rowhomes: full site
   Design: Letterbox (layout PF1A/PF1B). Build: Technology 83. */

@font-face { font-family: "Whitney"; src: url("/assets/fonts/whitney-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Whitney"; src: url("/assets/fonts/whitney-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Whitney"; src: url("/assets/fonts/whitney-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Whitney"; src: url("/assets/fonts/whitney-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* Amandine (brand display face) comes from Letterbox's Adobe Fonts web project (kit rcw6klh, linked in each page head). */

:root {
  --green: #9caa96;          /* brand green, Pantone 5635C / 5645U */
  --green-deep: #87977f;
  --sage: #e2e7df;           /* light tint used for bands */
  --sage-line: #c9d2c4;
  --heading: #83927f;        /* display headings on white */
  --ink: #1d1d1b;
  --ink-soft: #3c3d3a;
  --muted: #61655e;
  --white: #fff;
  --display: "amandine", Georgia, serif;
  --sans: "Whitney", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 76px);
  --max: 1320px;
  --header-h: 136px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-variant-numeric: lining-nums;
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.display { font-feature-settings: "lnum" 1; font-family: var(--display); font-weight: 400; color: var(--heading); line-height: .98; letter-spacing: -.005em; margin: 0; font-size: clamp(46px, 7.4vw, 108px); }
.display--sm { font-size: clamp(40px, 5.6vw, 84px); }
.display--ink { color: var(--ink); }
.display--white { color: var(--white); }
.label { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-cap { font-family: var(--display); font-weight: 400; color: var(--heading); font-size: clamp(32px, 3.6vw, 48px); letter-spacing: .02em; text-transform: uppercase; margin: 0 0 14px; line-height: 1; }
.lead-serif { font-family: var(--display); font-weight: 400; color: var(--heading); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.38; text-align: center; margin: 0 auto; max-width: 34em; }
.body-s { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.body-s + .body-s { margin-top: 1em; }
.sub { font-family: var(--sans); font-weight: 400; font-size: 19px; margin: 0 0 10px; color: var(--ink); }
.more { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .2s; }
.more:hover { border-color: currentColor; }
.more::after { content: " >"; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 18px; background: var(--sage); color: var(--ink); border: 0; text-decoration: none; cursor: pointer; font-weight: 600; font-size: 14px; letter-spacing: .07em; text-transform: uppercase; transition: background .2s var(--ease), color .2s var(--ease); }
.btn:hover { background: #fff; }
.btn--outline { background: transparent; box-shadow: inset 0 0 0 1px #fff; }
.btn--outline:hover { background: #fff; }
.btn--solid { background: var(--green); color: #fff; }
.btn--solid:hover { background: var(--green-deep); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--green); transition: box-shadow .3s var(--ease); view-transition-name: site-header; }
body { padding-top: var(--header-h); }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height 1s cubic-bezier(.65,0,.35,1); }
.site-header.is-scrolled .header-inner { height: 76px; }
.header-left { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-header.is-scrolled .header-left { flex-direction: row; align-items: center; gap: 18px; }
/* hamburger: three equal 2px bars on whole-pixel positions */
.menu-toggle { position: relative; width: 40px; height: 40px; padding: 0; margin-left: -3px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { position: absolute; left: 3px; width: 32px; height: 2px; background: #fff; border-radius: 1px; }
.menu-toggle span:nth-child(1) { top: 11px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 27px; }
/* logo: live text tagline (crisp at any size) + the quill wordmark */
.brand { --qw: clamp(76px, 10.4vw, 148px); display: flex; align-items: flex-start; gap: calc(var(--qw) * .733); text-decoration: none; color: var(--ink); }
.brand-q { width: var(--qw); height: auto; display: block; transition: width 1s cubic-bezier(.65,0,.35,1); }
.brand-tag { display: block; font-family: var(--sans); font-weight: 400; text-transform: uppercase; font-size: max(9px, calc(var(--qw) * .1128)); line-height: 1.245; letter-spacing: .01em; margin-top: calc(var(--qw) * -.028); white-space: nowrap; transition: font-size 1s cubic-bezier(.65,0,.35,1), margin 1s cubic-bezier(.65,0,.35,1); -webkit-font-smoothing: antialiased; }
.site-header.is-scrolled .brand { --qw: clamp(63px, 6.3vw, 89px); }
@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .site-header.is-scrolled .header-inner { height: 76px; }   /* phones: one steady header size, logo stays evenly centred */
  .header-left { flex-direction: row; align-items: center; gap: 14px; }
  .header-left .btn { display: none; }
  .brand, .site-header.is-scrolled .brand { --qw: 76px; gap: calc(var(--qw) * .193); }
}

/* ---------- menu ---------- */
.menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.menu.is-open { visibility: visible; }
.menu-scrim { position: absolute; inset: 0; background: rgba(20,22,18,.35); opacity: 0; transition: opacity .35s var(--ease); }
.menu.is-open .menu-scrim { opacity: 1; }
.menu-panel { position: absolute; inset: 0 auto 0 0; width: min(340px, 86vw); background: var(--sage); display: flex; flex-direction: column; padding: 28px 32px 32px; transform: translateX(-102%); transition: transform .4s var(--ease); overflow-y: auto; }
.menu.is-open .menu-panel { transform: none; }
.menu-panel .btn { align-self: flex-start; background: transparent; box-shadow: inset 0 0 0 1px #fff; background: rgba(255,255,255,.35); }
.menu-panel nav { margin-top: 40px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu-panel nav a { display: inline-block; padding: 8px 0; text-decoration: none; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; color: var(--ink-soft); }
.menu-panel nav a:hover, .menu-panel nav a[aria-current="page"] { color: var(--ink); }
.menu-panel nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); }
.menu-close { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 8px 0; cursor: pointer; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .menu-panel, .menu-scrim { transition: none; } }

/* ---------- media / motion ---------- */
.media { position: relative; overflow: hidden; background: var(--sage); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s cubic-bezier(.22,.61,.36,1) var(--rd, 0s), transform 1.3s cubic-bezier(.22,.61,.36,1) var(--rd, 0s); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal .media img, .media.reveal img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.reveal.is-in .media img, .media.reveal.is-in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal .media img, .media.reveal img { opacity: 1; transform: none; transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .parallax img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes drift { from { transform: translateY(-5%) scale(1.12); } to { transform: translateY(5%) scale(1.12); } }
  }
}

/* ---------- hero ---------- */
.hero { background: var(--green); }
.hero--inset { padding: 0 clamp(16px, 3.3vw, 46px); }
.hero-media { position: relative; aspect-ratio: 2.43 / 1; min-height: 340px; }
.hero--full .hero-media { aspect-ratio: auto; height: clamp(360px, 60vw, 86vh); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text { position: absolute; inset: 0; color: #fff; font-family: var(--sans); font-weight: 300; font-size: clamp(38px, 6.2vw, 92px); line-height: 1; letter-spacing: .015em; pointer-events: none; text-shadow: 0 1px 24px rgba(0,0,0,.18); }
.hero-text span { position: absolute; }
.hero-text .t1 { left: 4%; top: 8%; }
.hero-text .t2 { right: 4%; bottom: 13%; }
.hero--full .hero-text .t1 { left: 7%; top: 6%; }
.hero--full .hero-text .t2 { left: 41%; top: 14%; right: auto; bottom: auto; }
@media (max-width: 760px) {
  .hero-media { aspect-ratio: 4 / 3.4; min-height: 0; }
  .hero--full .hero-media { aspect-ratio: 4 / 4.2; }
  .hero-text .t1 { left: 6%; top: 7%; }
  .hero-text .t2 { right: 6%; bottom: 8%; }
  .hero--full .hero-text .t2 { left: 6%; top: auto; bottom: 8%; }
}

/* ---------- bands & sections ---------- */
.band-sage { background: var(--sage); }
.band-green { background: var(--green); }
.intro { padding: clamp(56px, 8vw, 110px) 0; }
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }

/* teaser rows (home) */
.teasers { display: grid; gap: clamp(64px, 9vw, 120px); }
.teaser { display: grid; grid-template-columns: 1fr 1.65fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.teaser--rev { grid-template-columns: 1.15fr 1fr; }
.teaser--rev .teaser-media { order: -1; }
.teaser-copy { max-width: 300px; }
.teaser .media { aspect-ratio: 1.43 / 1; }
.teaser--rev .media { aspect-ratio: .88 / 1; }
.teaser--tall .media { aspect-ratio: .88 / 1; max-width: 460px; margin-left: auto; }
@media (max-width: 760px) {
  .teaser, .teaser--rev { grid-template-columns: 1fr; }
  .teaser--rev .teaser-media { order: 0; }
  .teaser-copy { max-width: none; }
  .teaser--tall .media { max-width: none; }
}

/* homes page */
.nineteen { display: grid; grid-template-columns: .8fr 2.2fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.nineteen .big { font-feature-settings: "lnum" 1; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; font-family: var(--display); color: var(--heading); font-size: clamp(120px, 17vw, 240px); line-height: .82; margin: 0; padding-left: 4%; }
.nineteen .media { aspect-ratio: 1.53 / 1; }
.nineteen .body-s { max-width: 470px; margin-top: 28px; }
.expand { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; margin-top: 18px; }
.expand .media { aspect-ratio: 1.5 / 1; margin-left: 9%; }
.expand-copy { max-width: 270px; }
.right-title { text-align: right; margin-top: clamp(24px, 4vw, 48px); }
.full-media { aspect-ratio: 1.81 / 1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split--title-left > :first-child { justify-self: end; text-align: left; }
.amenity-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.amenity-head .body-s { max-width: 360px; }
.amenities { display: grid; grid-template-columns: 1fr 1.34fr; gap: clamp(16px, 2.6vw, 34px); margin-top: clamp(32px, 4vw, 56px); }
.amenities figure { margin: 0; }
.amenities .media { aspect-ratio: 0.9 / 1; }
.amenities figure:last-child .media { aspect-ratio: 1.26 / 1; }
figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 760px) {
  .nineteen { grid-template-columns: 1fr; }
  .nineteen .big { padding-left: 0; }
  .expand { grid-template-columns: 1fr; }
  .expand .media { margin-left: 0; }
  .expand-copy { max-width: none; }
  .split, .amenity-head, .amenities { grid-template-columns: 1fr; }
  .split--title-left > :first-child { justify-self: start; }
  .amenities figure:last-child .media { aspect-ratio: 1.2 / 1; }
}

/* interiors */
.details-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.details-head .body-s { max-width: 360px; }
.gather { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(24px, 3vw, 36px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.gather .media { aspect-ratio: .79 / 1; }
.gather .copy { max-width: 200px; padding-top: clamp(40px, 6vw, 80px); }
.easy { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(24px, 3vw, 36px); align-items: start; margin-top: clamp(-80px, -6vw, -40px); }
.easy .display { margin-top: clamp(120px, 16vw, 230px); }
.easy .copy { max-width: 380px; margin-top: 26px; }
.toggle-media { position: relative; aspect-ratio: 1.24 / 1; }
.toggle-media img { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.toggle-media img[data-scheme="green"] { opacity: 0; }
.toggle-media.is-green img[data-scheme="green"] { opacity: 1; }
.toggle-media.is-green img[data-scheme="oak"] { opacity: 0; }
.scheme { display: inline-flex; margin-top: 14px; border: 1px solid var(--sage-line); }
.scheme button { background: #fff; border: 0; padding: 8px 14px; cursor: pointer; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.scheme button + button { border-left: 1px solid var(--sage-line); }
.scheme button[aria-pressed="true"] { background: var(--sage); color: var(--ink); }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch--oak { background: #d8b98f; }
.swatch--green { background: #8fa898; }
.bright { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 76px); margin-top: clamp(56px, 7vw, 96px); }
.bright .title { text-align: center; }
.bright .left .media { aspect-ratio: 1 / 1.07; }
.bright .right .media { aspect-ratio: .83 / 1; margin-top: 30px; }
.bright .copy { max-width: 380px; margin-top: 26px; }
.bright .right .copy { max-width: 320px; }
.plans-band .split > :first-child { justify-self: end; }
.plans-band .body-s { max-width: 270px; }
.plans-band .more { display: block; margin-top: 12px; }
@media (max-width: 760px) {
  .details-head, .gather, .easy, .bright { grid-template-columns: 1fr; }
  .easy { margin-top: 48px; }
  .easy .display { margin-top: 0; order: -1; }
  .gather .copy { padding-top: 0; max-width: none; }
  .bright .right .media { margin-top: 0; }
  .plans-band .split > :first-child { justify-self: start; }
}

/* floorplans */
.fp { background: var(--sage); }
.fp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.fp-filter { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.fp-filter p { margin: 0 0 6px; }
.fp-filter button { display: block; background: none; border: 0; padding: 3px 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; color: var(--muted); text-align: left; }
.fp-filter button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.fp-help { margin-top: 16px; font-size: 13px; }
.siteplan-wrap { position: relative; }
.siteplan { position: relative; margin-top: clamp(24px, 4vw, 48px); }
.siteplan img { width: 100%; }
.swipe-pill { display: none; }
.unit { position: absolute; border: 0; padding: 0; background: rgba(156,170,150,0); cursor: pointer; transition: background .2s, opacity .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.unit:hover, .unit:focus-visible, .unit.is-active { background: rgba(156,170,150,.55); box-shadow: inset 0 0 0 2px var(--green-deep); }
.unit.is-dim { opacity: .2; background: rgba(255,255,255,.65); pointer-events: none; }

/* home details card: floating panel on desktop, bottom sheet on phones */
.unit-card { position: absolute; z-index: 5; top: 3%; width: min(660px, 58%); display: grid; grid-template-columns: 220px 1fr; grid-template-rows: 1fr auto; grid-template-areas: "info plan" "act plan"; background: #fff; box-shadow: 0 18px 50px rgba(30,34,28,.18); animation: ucIn .28s var(--ease); }
.unit-card[hidden] { display: none; }
.unit-card.at-left { left: 2%; }
.unit-card.at-right { right: 2%; }
@keyframes ucIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.uc-grab { display: none; }
.uc-info { grid-area: info; background: var(--green); padding: 22px 20px 0; display: flex; flex-direction: column; }
.uc-info .type { font-family: var(--sans); font-weight: 300; font-size: 76px; line-height: .9; margin: 0; letter-spacing: -.01em; }
.uc-info .beds { text-transform: uppercase; letter-spacing: .06em; font-size: 14px; margin: 10px 0 0; line-height: 1.35; }
.uc-info .unit-no { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(29,29,27,.75); margin: 8px 0 0; min-height: 1em; }
.uc-info dl { margin: 18px 0 0; display: grid; gap: 10px; font-size: 14px; }
.uc-info dt { font-weight: 500; }
.uc-info dd { margin: 0; color: var(--ink-soft); }
.uc-actions { grid-area: act; background: var(--green); padding: 18px 20px 20px; display: flex; gap: 8px; }
.uc-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 6px 10px; background: rgba(255,255,255,.55); border: 0; text-decoration: none; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); transition: background .2s; }
.uc-btn:hover { background: #fff; }
.uc-btn .lg { display: none; }
.uc-plan { grid-area: plan; display: grid; grid-template-rows: auto 1fr auto; min-width: 0; padding: 14px 16px 12px; }
.uc-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--sage-line); padding-right: 34px; overflow-x: auto; scrollbar-width: none; }
.uc-tabs::-webkit-scrollbar { display: none; }
.uc-tabs button { background: none; border: 0; padding: 8px 10px 9px; cursor: pointer; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.uc-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green-deep); }
.uc-stage { position: relative; height: 380px; overflow: hidden; touch-action: pan-y; cursor: zoom-in; margin: 6px 0 0; }
.uc-stage img { position: absolute; inset: 0 40px; width: calc(100% - 80px); height: 100%; object-fit: contain; transition: opacity .25s var(--ease), transform .25s var(--ease); user-select: none; -webkit-user-select: none; }
.uc-stage img.is-swapping { opacity: 0; transform: translateX(var(--dir, 12px)); }
.uc-nav { position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid var(--sage-line); background: rgba(255,255,255,.92); cursor: pointer; font-size: 20px; line-height: 1; color: var(--ink); display: grid; place-items: center; z-index: 2; transition: background .2s, opacity .2s; }
.uc-nav:hover { background: var(--sage); }
.uc-prev { left: 0; }
.uc-next { right: 0; }
.uc-dots { display: flex; justify-content: center; gap: 6px; padding-top: 8px; }
.uc-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-line); transition: background .2s, width .2s; }
.uc-dots span.on { background: var(--green-deep); }
.unit-card .x { position: absolute; top: 6px; right: 8px; width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 24px; line-height: 1; z-index: 3; color: var(--ink); }
.uc-scrim { display: none; }
@media (max-width: 980px) and (min-width: 761px) { .unit-card { width: min(600px, 74%); } }

.plan-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.plan-card { background: #fff; border: 0; padding: 18px 16px; text-align: left; cursor: pointer; display: grid; gap: 4px; align-content: start; transition: box-shadow .2s, transform .2s, opacity .2s; color: var(--ink); }
.plan-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.plan-card .type { font-feature-settings: "lnum" 1; font-family: var(--display); font-size: 48px; line-height: 1; color: var(--ink); }
.plan-card .meta { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.plan-card .units, .plan-card .homes { font-size: 13px; color: var(--ink-soft); }
.plan-card .go { display: none; }
.plan-card.is-dim { opacity: .35; }
@media (max-width: 980px) { .plan-cards { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 760px) {
  /* heading + filter chips */
  .fp-head { display: block; }
  .fp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .fp-filter p { flex-basis: 100%; margin: 0 0 2px; font-size: 11px; color: var(--muted); }
  .fp-filter button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--sage-line); border-radius: 999px; background: rgba(255,255,255,.55); font-size: 11.5px; color: var(--ink-soft); transition: background .2s, color .2s; }
  .fp-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: none; }

  /* swipeable site plan */
  .siteplan-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); margin-top: 20px; }
  .siteplan-scroll::-webkit-scrollbar { display: none; }
  .siteplan { min-width: 660px; margin-top: 0; }
  .siteplan-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(var(--gutter) * -1); width: 48px; pointer-events: none; background: linear-gradient(90deg, rgba(226,231,223,0), var(--sage)); transition: opacity .3s; }
  .siteplan-wrap.at-end::after { opacity: 0; }
  .swipe-pill { display: flex; width: max-content; margin: 12px auto 0; padding: 7px 14px; border-radius: 999px; background: rgba(29,29,27,.78); color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
  .siteplan-wrap.was-swiped .swipe-pill { opacity: .35; }
  .siteplan-wrap::after { bottom: 40px; }
  .fp-help { margin-top: 14px; }

  /* plans as a list */
  .plan-cards { grid-template-columns: 1fr; gap: 0; margin-top: 24px; background: #fff; }
  .plan-card { grid-template-columns: 62px 1fr 16px; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--sage-line); -webkit-tap-highlight-color: transparent; }
  .plan-card:last-child { border-bottom: 0; }
  .plan-card:hover { transform: none; box-shadow: none; }
  .plan-card:active { background: var(--sage); }
  .plan-card .type { grid-row: 1 / span 3; font-size: 42px; }
  .plan-card .meta, .plan-card .units, .plan-card .homes { grid-column: 2; }
  .plan-card .meta { font-size: 12px; }
  .plan-card .go { display: block; grid-column: 3; grid-row: 1 / span 3; font-size: 26px; line-height: 1; color: var(--muted); }

  /* bottom sheet */
  .uc-scrim { display: block; position: fixed; inset: 0; z-index: 120; background: rgba(29,29,27,.45); animation: scrimIn .25s ease; }
  .uc-scrim[hidden] { display: none; }
  @keyframes scrimIn { from { opacity: 0; } }
  .unit-card, .unit-card.at-left, .unit-card.at-right { position: fixed; z-index: 130; left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 88vh; height: min(88dvh, 780px); display: flex; flex-direction: column; border-radius: 18px 18px 0 0; overflow: hidden; overscroll-behavior: contain; box-shadow: 0 -12px 40px rgba(0,0,0,.22); animation: ucUp .34s var(--ease); }
  .unit-card.is-dragging { transition: none; animation: none; }
  .unit-card.is-settling { transition: transform .25s var(--ease); }
  @keyframes ucUp { from { transform: translateY(100%); } to { transform: none; } }
  .uc-grab { display: block; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(29,29,27,.28); z-index: 2; }
  .uc-info { flex: none; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 24px 20px 14px; touch-action: none; }
  .uc-info .beds, .uc-info .unit-no { padding-right: 48px; }
  .uc-info .type { font-size: 50px; grid-row: 1 / span 2; }
  .uc-info .beds { margin: 0; font-size: 12.5px; }
  .uc-info .unit-no { margin: 3px 0 0; font-size: 11.5px; }
  .uc-info dl { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(29,29,27,.14); }
  .uc-info dt { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(29,29,27,.7); }
  .uc-info dd { font-size: 14px; color: var(--ink); margin-top: 2px; white-space: nowrap; }
  .unit-card .x { top: 14px; right: 10px; width: 44px; height: 44px; font-size: 28px; }
  .uc-plan { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px 16px 6px; }
  .uc-tabs { flex: none; border: 0; padding: 3px; gap: 0; background: var(--sage); border-radius: 999px; }
  .uc-tabs button { flex: 1; margin: 0; padding: 9px 4px; border: 0; border-radius: 999px; font-size: 11px; transition: background .2s, color .2s; }
  .uc-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
  .uc-stage { flex: 1; height: auto; min-height: 0; margin-top: 10px; cursor: default; }
  .uc-stage img { inset: 0; width: 100%; }
  .uc-nav { display: none; }
  .uc-dots { flex: none; padding: 8px 0 0; }
  .uc-dots span.on { width: 16px; border-radius: 3px; }
  .uc-actions { flex: none; background: #fff; border-top: 1px solid var(--sage-line); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
  .uc-btn { min-height: 48px; font-size: 12px; background: var(--sage); }
  .uc-btn.uc-pdf { background: var(--ink); color: #fff; }
  .uc-btn .lg { display: inline; }
  .uc-btn .sm { display: none; }
  html.sheet-open, html.sheet-open body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .unit-card, .uc-scrim { animation: none; } }

/* dialog (plan viewer + lightbox) */
dialog { border: 0; padding: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: inherit; }
dialog::backdrop { background: rgba(18,20,16,.82); }
.viewer { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(12px, 3vw, 28px); color: #fff; }
.viewer-bar .title { font-family: var(--display); font-size: 28px; }
.viewer-bar .actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.icon-btn { background: rgba(255,255,255,.12); color: #fff; border: 0; min-width: 44px; height: 44px; padding: 0 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.icon-btn:hover { background: rgba(255,255,255,.22); }
.viewer-stage { overflow: auto; display: grid; place-items: center; padding: 8px clamp(8px, 3vw, 28px); min-height: 0; }
.viewer-stage img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; background: #fff; cursor: zoom-in; }
.viewer-stage.is-zoomed { place-items: start; }
.viewer-stage.is-zoomed img { max-width: none; max-height: none; width: 220%; cursor: zoom-out; }
/* full-screen plan viewer: solid background at every size so nothing on the page shows through */
#plan-viewer { background: #141612; }
#plan-viewer::backdrop { background: #141612; }
@media (max-width: 760px) {
  #plan-viewer .viewer-stage.is-zoomed img { width: 320%; }
}
.viewer-nav { display: flex; justify-content: center; gap: 8px; padding: 12px; flex-wrap: wrap; }
.viewer-nav button[aria-current="true"] { background: #fff; color: var(--ink); }
.lightbox-stage { display: grid; place-items: center; padding: 8px clamp(8px, 3vw, 28px); overflow: hidden; }
.lightbox-stage img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; }
.lightbox-cap { color: #fff; text-align: center; font-size: 14px; padding: 8px 16px 16px; }

/* location */
.loc { background: var(--green); color: var(--ink); }
.loc .sub { color: #fff; }
.loc .body-s { color: #fff; opacity: .95; }
.loc-a { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 48px); }
.loc-a .forest .media { aspect-ratio: .71 / 1; }
.loc-a .park { display: grid; align-content: space-between; gap: 32px; }
.loc-a .park .media { aspect-ratio: 1.34 / 1; }
.loc-a .copy { max-width: 290px; margin-top: 26px; }
.loc-a .park .copy { max-width: 330px; margin-left: auto; margin-right: 6%; }
.loc-b { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 4vw, 56px); margin-top: clamp(40px, 6vw, 80px); }
.loc-b .ymca .media { aspect-ratio: 1.3 / 1; }
.loc-b .right { display: grid; gap: 28px; align-content: start; padding-left: 10%; }
.loc-b .grocery .media { aspect-ratio: .84 / 1; max-width: 300px; }
.loc-c { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); align-items: center; }
.loc-c .copy { max-width: 270px; margin-left: 8%; }
.loc-c .media { aspect-ratio: 1.2 / 1; max-width: 420px; }
.food { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.food .thai { grid-column: 1 / span 4; }
.food .thai .media { aspect-ratio: .84 / 1; }
.food .urban { grid-column: 5 / span 4; padding-top: 4%; }
.food .croissant { grid-column: 9 / span 3; }
.food .croissant .media { aspect-ratio: .9 / 1; }
.food .neon { grid-column: 1 / span 4; margin-top: 6%; padding-left: 10%; }
.food .neon .media { aspect-ratio: .67 / 1; }
.food .laforet { grid-column: 5 / span 4; margin-top: -18%; }
.food .laforet .media { aspect-ratio: .83 / 1; }
.food .pizza { grid-column: 9 / span 4; padding-left: 12%; margin-top: -6%; }
.food .pizza .media { aspect-ratio: .66 / 1; }
.food .illo { grid-column: 5 / span 5; margin-top: -10%; padding-left: 20%; }
.food .illo .media { aspect-ratio: 1.5 / 1; }
.food figcaption, .loc figcaption { color: #fff; }
.cap-t { display: block; font-size: 15px; color: #fff; }
.cap-d { display: block; font-size: 13px; opacity: .85; }
@media (max-width: 760px) {
  .loc-a, .loc-b, .loc-c { grid-template-columns: 1fr; }
  .loc-a .park { display: contents; }
  .loc-a .park > h1 { order: -1; }
  .loc-b .right { display: contents; }
  .loc-b .right > h2 { order: -1; }
  .loc-a .park .copy { margin: 26px 0 0; }
  .loc-b .right { padding-left: 0; }
  .loc-c .copy { margin-left: 0; }
  .food { grid-template-columns: 1fr 1fr; }
  .food > * { grid-column: auto !important; margin-top: 0 !important; padding: 0 !important; }
  .food .urban { grid-column: 1 / -1 !important; order: -1; }
}

/* adventure map */
.adv h2 { text-align: center; color: var(--ink); font-size: clamp(32px, 4.3vw, 62px); }
.map-wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.legend { font-size: 13px; }
.legend .all { background: none; border: 0; padding: 0 0 12px; cursor: pointer; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legend .all[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cat { border-bottom: 1px solid var(--sage-line); }
.cat > button { width: 100%; text-align: left; background: none; border: 0; padding: 12px 0; cursor: pointer; font-size: 15px; color: var(--c, var(--ink)); display: flex; justify-content: space-between; }
.cat > button::after { content: ">"; transition: transform .2s; }
.cat > button[aria-expanded="true"]::after { transform: rotate(90deg); }
.cat ol[hidden] { display: none; }
.cat ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.cat li button { width: 100%; text-align: left; background: none; border: 0; padding: 3px 0; cursor: pointer; display: grid; grid-template-columns: 22px 1fr; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.cat li button:hover, .cat li button.is-hot { color: var(--ink); }
.map { position: relative; }
.map > img { width: 100%; }
.pin { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 0; padding: 0; background: var(--c); color: #fff; font-size: 9px; font-weight: 600; line-height: 18px; text-align: center; cursor: pointer; transition: transform .2s var(--ease), opacity .25s; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); }
.pin:hover, .pin.is-hot, .pin:focus-visible { transform: scale(1.35); z-index: 3; }
.pin.is-off { opacity: 0; pointer-events: none; }
.pin-tip { position: absolute; z-index: 4; transform: translate(-50%, calc(-100% - 16px)); background: #fff; color: var(--ink); padding: 8px 12px; font-size: 13px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.14); pointer-events: none; }
.pin-tip[hidden] { display: none; }
@media (min-width: 1100px) { .pin { width: 20px; height: 20px; margin: -10px 0 0 -10px; line-height: 20px; font-size: 10px; } }
@media (max-width: 860px) { .map-wrap { grid-template-columns: 1fr; } .legend { order: 2; } }

/* team */
.team-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.team-cols a.logo { display: block; height: 60px; margin-bottom: 28px; }
.team-cols a.logo img { height: 100%; width: auto; }
@media (max-width: 860px) { .team-cols { grid-template-columns: 1fr; } }

/* gallery */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.chips button { background: #fff; border: 1px solid var(--sage-line); padding: 8px 16px; cursor: pointer; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.chips button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.grid { columns: 3 300px; column-gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.tile { break-inside: avoid; margin: 0 0 16px; position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sage); cursor: pointer; overflow: hidden; }
.tile img { width: 100%; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile[hidden] { display: none; }
.tile--video { aspect-ratio: 1 / 1; cursor: default; display: grid; place-items: center; background: var(--green); color: #fff; text-align: center; }
.tile--video .play { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.tile--video .play::before { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.tile--video .t { font-family: var(--display); font-size: 28px; }
.tile--video .d { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-top: 4px; }

/* register */
.reg { display: grid; grid-template-columns: 1fr 1.9fr; gap: clamp(28px, 4vw, 56px); align-items: end; }
.reg h1 { font-family: var(--sans); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; letter-spacing: .04em; margin: 0 0 clamp(28px, 4vw, 48px); grid-column: 2; }
.reg .map-col { grid-row: 2; }
.reg .map-col img { width: 100%; }
.reg form { grid-row: 2; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; }
.field label { display: block; font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }
.field input, .field select { width: 100%; height: 42px; border: 0; border-bottom: 1px solid #9a9d97; background: transparent; font: inherit; font-size: 16px; padding: 4px 0; border-radius: 0; color: var(--ink); appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%); background-position: calc(100% - 12px) 18px, calc(100% - 7px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.req { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.consent { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; margin-top: 30px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }
.consent label { font-size: 11px; line-height: 1.5; color: var(--muted); }
.consent .btn { align-self: end; min-width: 132px; }
.form-msg { font-size: 14px; color: #8a2a1e; margin-top: 12px; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) {
  .reg { grid-template-columns: 1fr; }
  .reg h1 { grid-column: 1; margin-bottom: 0; }
  .reg .map-col, .reg form { grid-row: auto; }
  .reg .map-col { order: 3; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .consent { grid-template-columns: 22px 1fr; }
  .consent .btn { grid-column: 1 / -1; width: 100%; }
}

/* thank you */
.thanks { background: var(--green); color: #fff; text-align: center; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.thanks h1 { font-family: var(--sans); font-weight: 300; font-size: clamp(36px, 5vw, 64px); line-height: 1.12; margin: 0 0 28px; letter-spacing: .01em; }
.thanks p { font-size: clamp(16px, 1.6vw, 19px); max-width: 30em; margin: 0 auto 12px; letter-spacing: .03em; }
.thanks .btn { margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: var(--ink); padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.footer-logo { width: clamp(150px, 15vw, 190px); display: block; }
.footer-legal { font-size: 10px; line-height: 1.5; color: var(--ink-soft); margin: clamp(40px, 6vw, 80px) 0 0; max-width: 340px; }
.contact { font-size: 15px; line-height: 1.55; }
.contact p { margin: 0; }
.contact p + p { margin-top: 12px; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact strong { font-weight: 600; }
.footer-cta { margin-top: 22px; }
.partners { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 28px); margin-top: 26px; flex-wrap: wrap; }
.partners a { display: block; height: 36px; opacity: .92; transition: opacity .2s; }
.partners a:hover { opacity: 1; }
.partners img { height: 100%; width: auto; }
.pc-map { display: block; text-decoration: none; }
.pc-map svg, .pc-map img { display: block; width: 100%; height: auto; }
.pc-map span { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-top: 8px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { margin-top: 24px; order: 3; }
  .pc-map { max-width: 360px; }
}


/* ---------- one Inquire Now at a time ---------- */
[data-inquire] { transition: opacity .4s ease, visibility .4s, background .2s var(--ease); }
[data-inquire].is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- smooth page-to-page transitions (Chrome, Edge, Safari 18+) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vtIn .55s cubic-bezier(.22,.61,.36,1) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- desktop frames: each block fills one screen, centred, nothing cut off ----------
   html.frames is set by site.js only on desktop-sized screens with a mouse/trackpad. */
html.frames { --fh: calc(100vh - 76px); scroll-behavior: auto; }
@supports (height: 100svh) { html.frames { --fh: calc(100svh - 76px); } }
html.frames [data-frame] { min-height: var(--fh); display: flex; flex-direction: column; justify-content: center; }
html.frames .frame { padding-block: 28px; }
html.frames .frame > .frame-in > *, html.frames section[data-frame] > .wrap > :first-child { margin-top: 0 !important; }
html.frames section[data-frame]:not([data-frame="hero"]):not([data-frame="media"]) { padding-block: 28px; }
html.frames .teasers { gap: 0; }
html.frames .section:has(> .wrap > .frame) { padding-block: 0; }
html.frames .section:has(> .wrap > .frame) + .section, html.frames .section:has(> .wrap > .frame) + section { margin-top: 0; }
/* first screen: hero fills the view under the full-size header */
html.frames [data-frame="hero"] { min-height: 0; }
html.frames [data-frame="hero"] .hero-media { aspect-ratio: auto; height: calc(100vh - var(--header-h)); min-height: 0; }
@supports (height: 100svh) { html.frames [data-frame="hero"] .hero-media { height: calc(100svh - var(--header-h)); } }
html.frames .hero--inset[data-frame="hero"] { padding-bottom: clamp(16px, 3.3vw, 46px); }
html.frames .hero--inset[data-frame="hero"] .hero-media { height: calc(100svh - var(--header-h) - clamp(16px, 3.3vw, 46px)); }
/* rooftop: photo fills the frame, text sits underneath */
html.frames [data-frame="media"] { height: var(--fh); justify-content: flex-start; }
html.frames [data-frame="media"] .full-media { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
html.frames [data-frame="media"] .section--tight { padding-block: clamp(24px, 3vw, 40px); flex: none; }
.frame-in { width: 100%; }

/* next-frame arrow (like the teaser) */
.frame-arrow { position: fixed; left: 50%; bottom: 22px; z-index: 40; width: 44px; height: 44px; margin-left: -22px; border: 0; border-radius: 50%; background: rgba(29,29,27,.55); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s cubic-bezier(.65,0,.35,1); pointer-events: none; }
.frame-arrow svg { width: 18px; height: 18px; }
.frame-arrow.is-on { opacity: 1; transform: none; pointer-events: auto; }
html:not(.frames) .frame-arrow { display: none; }

/* ---------- gallery viewer ---------- */
dialog.gv { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; color: #fff; }
dialog.gv::backdrop { background: transparent; }
html.gv-open, html.gv-open body { overflow: hidden; }
.gv-bg { position: absolute; inset: 0; background: rgba(17,19,15,.985); }
.gv-stage { position: absolute; inset: 0; touch-action: none; user-select: none; -webkit-user-select: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Ccircle cx='22' cy='22' r='21' fill='rgba(255,255,255,.14)' stroke='white' stroke-opacity='.5'/%3E%3Cpath d='M19 14l8 8-8 8' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 22 22, e-resize; }
.gv-stage.to-prev { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Ccircle cx='22' cy='22' r='21' fill='rgba(255,255,255,.14)' stroke='white' stroke-opacity='.5'/%3E%3Cpath d='M25 14l-8 8 8 8' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 22 22, w-resize; }
.gv-track { position: absolute; inset: 0; will-change: transform; }
.gv-slide { position: absolute; inset: 0; margin: 0; will-change: transform; }
.gv-slide img { position: absolute; object-fit: cover; background: rgba(255,255,255,.04); transform-origin: 0 0; -webkit-user-drag: none; pointer-events: none; }
.gv-close { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 3; transition: background .2s; }
.gv-close:hover { background: rgba(255,255,255,.12); }
.gv-close svg { width: 26px; height: 26px; }
.gv-nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 0; background: transparent; color: rgba(255,255,255,.75); cursor: pointer; display: grid; place-items: center; z-index: 3; transition: color .2s, transform .25s cubic-bezier(.22,.61,.36,1); }
.gv-nav svg { width: 34px; height: 34px; }
.gv-prev { left: clamp(6px, 1.6vw, 24px); }
.gv-next { right: clamp(6px, 1.6vw, 24px); }
.gv-prev:hover { color: #fff; transform: translateX(-3px); }
.gv-next:hover { color: #fff; transform: translateX(3px); }
.gv-nav[hidden] { display: none; }
.gv-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 0 clamp(18px, 6vw, 96px) clamp(26px, 3.4vh, 40px); pointer-events: none; z-index: 2; }
.gv-cap { margin: 0; font-size: 15px; letter-spacing: .02em; color: rgba(255,255,255,.88); }
.gv-count { margin: 0; font-size: 12px; letter-spacing: .16em; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 700px) {
  .gv-nav { display: none; }
  .gv-close { top: 8px; right: 8px; }
  .gv-cap { font-size: 14px; }
}
@media (hover: none) { .gv-nav { display: none; } }

/* frames keep Letterbox's proportions: tall compositions are scaled as a whole by site.js */
html.frames #main > section:first-child[data-frame]:not([data-frame="hero"]) { min-height: calc(100vh - var(--header-h)); }
@supports (height: 100svh) { html.frames #main > section:first-child[data-frame]:not([data-frame="hero"]) { min-height: calc(100svh - var(--header-h)); } }
html.frames .loc.section { padding-top: 0; }
html.frames #main > section:first-child > .wrap > .frame:first-child { min-height: calc(100vh - var(--header-h)); }
@supports (height: 100svh) { html.frames #main > section:first-child > .wrap > .frame:first-child { min-height: calc(100svh - var(--header-h)); } }

/* ---------- header: taller first screen, scales across wide and ultrawide displays ---------- */
@media (min-width: 761px) {
  :root { --header-h: clamp(150px, 22vh, 210px); }
  .site-header .header-inner { max-width: none; padding-inline: clamp(24px, 5.2vw, 200px); }
  .brand { --qw: clamp(110px, min(13vw, 21vh), 240px); }
  .site-header.is-scrolled .brand { --qw: clamp(63px, min(6.3vw, 10vh), 104px); }
  .header-left { gap: clamp(12px, 1.6vh, 20px); }
}
/* bigger controls on big screens (whole-pixel steps keep the hamburger bars crisp) */
@media (min-width: 1800px) {
  .menu-toggle { width: 46px; height: 46px; }
  .menu-toggle span { width: 38px; left: 4px; }
  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 22px; }
  .menu-toggle span:nth-child(3) { top: 31px; }
  .site-header .btn { font-size: 15px; min-height: 48px; padding: 12px 22px; }
}
@media (min-width: 2500px) {
  .menu-toggle { width: 54px; height: 54px; }
  .menu-toggle span { width: 46px; height: 3px; left: 4px; }
  .menu-toggle span:nth-child(1) { top: 14px; }
  .menu-toggle span:nth-child(2) { top: 25px; }
  .menu-toggle span:nth-child(3) { top: 36px; }
  .site-header .btn { font-size: 17px; min-height: 54px; padding: 14px 28px; }
}

/* ---------- typography per Letterbox layouts (sizes = layout pt x 1.9 at 1440px) ---------- */
:root { --ink: #1d1d1b; --display-c: #9caa96; }
body { -moz-osx-font-smoothing: grayscale; }
.body-s { color: var(--ink); }                                   /* Whitney Book, black ink */
.display { color: var(--display-c); }                            /* Amandine headings in brand green */
.display--ink { color: var(--ink); }
.display--white { color: #fff; }
.lead-serif { font-size: clamp(24px, 2.65vw, 38px); }             /* Amandine 20pt */
.section-cap { font-size: clamp(34px, 3.6vw, 52px); }             /* Amandine 27pt */
.sub { font-weight: 500; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.25; }   /* Whitney Medium 13pt */
.hero-text { font-size: clamp(40px, 7.4vw, 106px); }              /* Whitney Light 56pt */
.hero--full .hero-text { font-size: clamp(36px, 6.3vw, 91px); }   /* Whitney Light 48pt */
.nineteen .big { color: var(--display-c); }
/* Location: only the forest/park stories are white; everything else is black ink */
.loc .body-s { color: var(--ink); opacity: 1; font-size: clamp(16px, 1.32vw, 19px); line-height: 1.5; }   /* Whitney Book 10pt */
.loc-a .body-s { color: #fff; font-size: clamp(15px, 1.2vw, 17px); }                                      /* Whitney Book 9pt, white */
.loc .sub { color: var(--ink); }
.loc-a .sub { color: #fff; }
/* photo captions: Whitney Medium title + Whitney Light description, black ink */
.food figcaption, .loc figcaption { color: var(--ink); }
.cap-t { font-weight: 500; font-size: clamp(16px, 1.32vw, 19px); color: var(--ink); line-height: 1.3; }    /* Medium 10pt */
.cap-d { font-weight: 300; font-size: clamp(13px, 1.06vw, 15px); color: var(--ink); opacity: 1; line-height: 1.4; margin-top: 4px; }  /* Light 8pt */
/* homes: rooftop copy is 9pt */
.split .body-s { font-size: clamp(15px, 1.2vw, 17px); }
.reg h1 { font-weight: 300; }
.fp-filter { font-size: clamp(13px, 1.12vw, 16px); }

.brand { transition: gap 1s cubic-bezier(.65,0,.35,1); }
.site-header { transition: box-shadow .6s ease; }

/* no white strip under the header while it resizes: the space it occupies at the top is brand green */
html { background: var(--white); scrollbar-gutter: stable; }
body { background: linear-gradient(var(--green) 0, var(--green) var(--header-h), var(--white) var(--header-h)) no-repeat; background-color: var(--white); }

/* wider screens: let the content (and its photos) grow instead of sitting in a 1320px box */
:root { --max: clamp(1320px, 80vw, 2300px); }

/* floorplans: make the chosen type unmistakable */
.fp-filter button { color: rgba(29,29,27,.42); transition: color .2s; }
.fp-filter button:hover { color: var(--ink); }
.fp-filter button[aria-pressed="true"] { color: var(--ink); font-weight: 600; text-decoration-thickness: 2px; }
.unit.is-dim { opacity: 1; background: rgba(255,255,255,.74); pointer-events: none; }
.unit.is-match { background: rgba(156,170,150,.62); box-shadow: inset 0 0 0 2px var(--green-deep); }
.plan-card.is-dim { opacity: .28; }
@media (max-width: 760px) {
  .fp-filter button { color: var(--ink-soft); font-weight: 400; }
  .fp-filter button[aria-pressed="true"] { color: #fff; font-weight: 500; text-decoration: none; }
}
/* site plan highlights: soft fill that sits exactly on each home; 107 highlights its label only */
.unit--label { border-radius: 6px; }
.unit.is-match { background: rgba(156,170,150,.55); box-shadow: inset 0 0 0 1.5px rgba(105,120,99,.95); }
.unit.is-dim { opacity: 1; background: rgba(255,255,255,.62); }

/* ---------- type scales with the page exactly like Letterbox's layout (pt x page-width / 747pt) ----------
   --pw is the equivalent design page width; --u is px per layout pt. Minimums keep small screens readable. */
:root { --pw: min(100vw, calc(var(--max) / .86)); --u: calc(var(--pw) / 747); }
.display, .display--sm { font-size: max(40px, calc(56 * var(--u))); }
.amenity-head .display, .easy .display { font-size: max(44px, calc(65 * var(--u))); }
.loc-a .display { font-size: max(42px, calc(58.24 * var(--u))); }
.loc-b .display { font-size: max(34px, calc(39.52 * var(--u))); }
.adv h2.display { font-size: max(30px, calc(35.12 * var(--u))); }
.fp-head .display { font-size: max(40px, calc(46.87 * var(--u))); }
.nineteen .big { font-size: max(110px, calc(133.35 * var(--u))); }
.section-cap { font-size: max(30px, calc(27.36 * var(--u))); }
.lead-serif { font-size: max(22px, calc(20 * var(--u))); }
.sub { font-size: max(19px, calc(13 * var(--u))); }
.body-s { font-size: max(15px, calc(8 * var(--u))); }
.split .body-s { font-size: max(15px, calc(9 * var(--u))); }
.loc .body-s { font-size: max(16px, calc(10 * var(--u))); }
.loc-a .body-s { font-size: max(15px, calc(9 * var(--u))); }
.cap-t { font-size: max(15px, calc(10 * var(--u))); }
.cap-d { font-size: max(13px, calc(8 * var(--u))); }
.hero-text { font-size: max(38px, calc(56 * var(--u))); }
.hero--full .hero-text { font-size: max(34px, calc(48 * var(--u))); }
/* text column widths grow with the type so line breaks stay as designed */
.gather .copy { max-width: calc(200px * var(--u) / 1.928); }
.easy .copy, .bright .copy { max-width: calc(380px * var(--u) / 1.928); }
.bright .right .copy { max-width: calc(320px * var(--u) / 1.928); }
.details-head .body-s, .amenity-head .body-s { max-width: calc(360px * var(--u) / 1.928); }
.teaser-copy { max-width: calc(300px * var(--u) / 1.928); }
.loc-a .copy { max-width: calc(290px * var(--u) / 1.928); }
.loc-a .park .copy { max-width: calc(330px * var(--u) / 1.928); }
.loc-c .copy { max-width: calc(270px * var(--u) / 1.928); }
.nineteen .body-s { max-width: calc(470px * var(--u) / 1.928); }
.expand-copy { max-width: calc(270px * var(--u) / 1.928); }
@media (max-width: 760px) {
  .gather .copy, .easy .copy, .bright .copy, .bright .right .copy, .details-head .body-s, .amenity-head .body-s, .teaser-copy, .loc-a .copy, .loc-a .park .copy, .loc-c .copy, .nineteen .body-s, .expand-copy { max-width: none; }
}
@media (min-width: 761px) {
  /* keep Letterbox's line breaks in the big headings */
  .details-head { grid-template-columns: max-content 1fr; }
  .details-head h1, .easy .display, .bright .title, .amenity-head .display, .loc-a .display, .loc-b .display, .split .display { white-space: nowrap; }
}

/* ---------- register: one screen, laid out like Letterbox's page ---------- */
.mini-footer { border-top: 1px solid var(--sage-line); }
.mini-footer-in { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding-block: 18px 22px; }
.mini-footer .partners { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); flex: none; margin: 0; }
.mini-footer .partners img { height: clamp(26px, 2.4vw, 36px); width: auto; }
.mini-footer .footer-legal { margin: 0; font-size: 10px; line-height: 1.45; color: var(--muted); max-width: 70ch; }
@media (min-width: 761px) {
  body.reg-page { --header-h: 76px; }
  .reg-section { min-height: calc(100vh - 76px - 86px); min-height: calc(100svh - 76px - 86px); display: flex; align-items: center; padding-block: clamp(20px, 4vh, 48px); }
  .reg { grid-template-columns: minmax(260px, .52fr) 1fr; grid-template-rows: auto auto; column-gap: clamp(32px, 4vw, 72px); row-gap: clamp(18px, 3vh, 34px); align-items: stretch; width: 100%; }
  .reg h1 { grid-column: 2; grid-row: 1; margin: 0; }
  .reg .map-col { grid-column: 1; grid-row: 2; align-self: start; }
  .reg .map-col a, .reg .map-col img { display: block; width: 100%; height: auto; }
  .reg form { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; }
  .reg .form-grid { row-gap: clamp(14px, 2.6vh, 26px); }
  .reg .consent { margin-top: auto; padding-top: 14px; }
  html:has(body.reg-page) { scrollbar-gutter: auto; }
}
@media (min-width: 761px) {
  body.reg-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
  body.reg-page > main { flex: 1; display: flex; }
  body.reg-page .reg-section { flex: 1; min-height: 0; }
  body.reg-page .mini-footer { flex: none; }
  .reg .map-col img { width: auto; max-width: 100%; }
  .reg .form-msg:empty { display: none; }
  .reg form > .req:last-child { position: absolute; margin-top: 6px; }
  .reg form { position: relative; }
}
@media (min-width: 761px) {
  .reg { grid-template-columns: auto 1fr; }
  .reg .map-col img { max-width: none; }
  .reg form > .req:last-child { position: absolute; top: 100%; left: 0; margin-top: 8px; }
}

/* ---------- gallery films ---------- */
.tile--film { aspect-ratio: 4 / 5; cursor: pointer; background: #111; }
.tile--film img { width: 100%; height: 100%; object-fit: cover; }
.tile--film .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); background: rgba(17,19,15,.28); backdrop-filter: blur(2px); transition: transform .35s cubic-bezier(.22,.61,.36,1), background .3s; }
.tile--film .play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -12px 0 0 -6px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.tile--film:hover .play { transform: scale(1.08); background: rgba(17,19,15,.45); }
dialog.fv { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; overflow: hidden; }
dialog.fv::backdrop { background: #000; }
dialog.fv:fullscreen { width: 100vw; height: 100vh; }
.fv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.fv-close { position: absolute; top: 14px; right: 16px; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; display: grid; place-items: center; }
.fv-close svg { width: 26px; height: 26px; }

/* gallery filter fade (class-driven) */
.grid { transition: opacity .42s cubic-bezier(.22,.61,.36,1), transform .42s cubic-bezier(.22,.61,.36,1); }
.grid.is-fade { opacity: 0; transition: opacity .18s ease-out; }
.grid.is-enter { opacity: 0; transform: translateY(10px); transition: none; }

/* the reserved scrollbar strip on the right takes the viewer's colour while a full-screen viewer is open */
html:has(#plan-viewer[open]) { background: #141612; }
html:has(#fv[open]) { background: #000; }

/* heroes always fill the full width (fixed height + aspect ratio was narrowing them on phones,
   and the minimum height widened the inset one past the screen on tablets) */
.hero-media { width: 100%; }
@media (max-width: 760px) {
  .hero--full .hero-media { height: auto; }
}

/* register page footer on phones: disclaimer runs full width above the partner logos */
@media (max-width: 760px) {
  .mini-footer-in { flex-direction: column; align-items: stretch; gap: 16px; padding-block: 20px 24px; }
  .mini-footer .footer-legal { order: -1; max-width: none; font-size: 11px; text-align: center; }
  .mini-footer .partners { justify-content: center; flex-wrap: wrap; gap: 22px; }
  .mini-footer .partners img { height: 28px; }
}

/* no header size animation until site.js marks the page settled (stops the logo shrinking in on iPhone first load) */
html:not(.hdr-ready) .site-header, html:not(.hdr-ready) .site-header * { transition: none !important; }

/* =====================================================================
   Letterbox feedback, round 1 (30 Oct): quick fixes
   ===================================================================== */
/* tighter leading in body copy, closer to the layout (about 1.25-1.3) */
body { line-height: 1.4; }
.body-s, .split .body-s, .loc .body-s { line-height: 1.32; }
.cap-t { line-height: 1.22; }
.cap-d { line-height: 1.3; }
.contact { line-height: 1.4; }
.footer-legal, .mini-footer .footer-legal { line-height: 1.28; }
.cat ol { gap: 0; }
.cat li button { padding: 1px 0; line-height: 1.25; }

/* Inquire Now: shorter box, same text size */
.btn { min-height: 34px; padding-block: 6px; }
@media (min-width: 1800px) { .site-header .btn { min-height: 40px; padding-block: 8px; } }
@media (min-width: 2500px) { .site-header .btn { min-height: 44px; padding-block: 9px; } }
.consent .btn { min-height: 42px; }   /* the form's Submit button keeps its size */

/* Expandable Living Space: same gap above and below the rendering */
.expand { margin-top: clamp(24px, 4vw, 48px); }

/* amenities: both photos the same height (columns follow the photo shapes), captions line up */
@media (min-width: 761px) {
  .amenities { grid-template-columns: 0.9fr 1.26fr; align-items: start; }
}

/* colour scheme switch: no outline, a little smaller */
.scheme { border: 0; gap: 4px; margin-top: 12px; }
.scheme button { background: transparent; padding: 5px 9px; font-size: 11px; gap: 6px; }
.scheme button + button { border-left: 0; }
.scheme button[aria-pressed="true"] { background: var(--sage); }
.scheme .swatch { width: 12px; height: 12px; }

/* more room under the header bar on Floorplans, and under the Gallery heading */
.fp.section { padding-top: clamp(88px, 10.5vw, 170px); }
.chips { margin-top: clamp(32px, 3.4vw, 56px); }

/* placeholder copy still to come from Letterbox: flagged pink */
.tbc .cap-t { color: #ec008c; }

/* large serif intro: Letterbox's colour and line breaks; standard text rendering keeps the thin serifs solid on Macs */
.lead-serif { color: #838c78; }
.lead-serif, .display, .section-cap, .nineteen .big { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
@media (min-width: 761px) {
  .lead-serif { max-width: none; }
  .lead-serif .ln { display: block; white-space: nowrap; }
}

/* ---------- thank you: Letterbox option 2 (rooftop render + green panel, one screen) ---------- */
.ty { display: grid; grid-template-columns: 44.8fr 55.2fr; width: 100%; aspect-ratio: 775 / 338; max-height: 100%; margin: 0 auto; }
.ty-media { position: relative; overflow: hidden; background: var(--sage); }
.ty-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.ty-panel { background: var(--green); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 6% 7.5% 6% 7.5%; }
.ty-panel h1 { font-family: var(--sans); font-weight: 300; font-size: clamp(30px, 3.1vw, 50px); line-height: 1.1; letter-spacing: .005em; margin: 0 0 .62em; }
.ty-panel p { font-family: var(--sans); font-weight: 300; font-size: clamp(16px, 1.55vw, 25px); line-height: 1.16; margin: 0 0 .5em; letter-spacing: .005em; }
.ty-panel p:last-child { margin-bottom: 0; }
@media (min-width: 761px) {
  .ty-section { padding-block: clamp(20px, 4vh, 48px); }
  .ty-section > .wrap { display: flex; align-items: center; justify-content: center; height: 100%; }
}
@media (max-width: 760px) {
  .ty { grid-template-columns: 1fr; aspect-ratio: auto; }
  .ty-media { aspect-ratio: 4 / 3.6; }
  .ty-panel { padding: 34px 24px 40px; }
  .ty-panel h1 { font-size: 32px; }
  .ty-panel p { font-size: 17px; }
  .ty-panel p br { content: ''; }
  .ty-panel p br::after { content: ' '; }
  .ty-section.section { padding: 0; }
  .ty-section > .wrap { padding: 0; }
}
@media (min-width: 761px) {
  /* one-screen pages: the content area takes exactly what is left after the header and footer (the footer's height varies with the disclaimer wrap) */
  body.reg-page > main { min-height: 0; }
  body.reg-page .reg-section { min-height: 0; }
}

/* =====================================================================
   Location page: a 1:1 of Letterbox's column. Every element is placed in layout points (--l/--t/--w/--h)
   and scaled by --u, so the composition, photo sizes and line breaks match the board at any desktop width.
   ===================================================================== */
.loc.locpage-wrap { background: var(--green); padding: 0; }
.locpage { position: relative; width: calc(746 * var(--u)); max-width: 100%; height: calc(2192 * var(--u)); margin: 0 auto; }
.lp { position: absolute; left: calc(var(--l) * var(--u)); top: calc(var(--t) * var(--u)); width: calc(var(--w) * var(--u)); margin: 0; }
.lp-fig .media { height: calc(var(--h) * var(--u)); aspect-ratio: auto; }
.lp-h1, .lp-h2 { width: auto; white-space: nowrap; line-height: 1.03; letter-spacing: 0; }
.lp-h1 { font-size: calc(58.24 * var(--u)); }
.lp-h2 { font-size: calc(39.52 * var(--u)); }
.locpage .lp-copy { font-size: calc(10 * var(--u)); line-height: 1.3; color: var(--ink); }
.lp-cap { position: absolute; left: calc(var(--l) * var(--u)); top: calc(var(--t) * var(--u)); width: calc(var(--w) * var(--u)); margin: 0; color: var(--ink); }
.locpage .lp-cap .cap-t { display: block; font-weight: 500; font-size: calc(10 * var(--u)); line-height: 1.2; color: var(--ink); }
.locpage .lp-cap .cap-d { display: block; font-weight: 300; font-size: calc(8 * var(--u)); line-height: 1.2; margin-top: calc(2 * var(--u)); color: var(--ink); opacity: 1; }
.lp-cap.tbc .cap-t { color: #ec008c; }
.locpage .lp-cap--sub .sub { font-weight: 500; font-size: calc(13 * var(--u)); line-height: 1.2; margin: 0; color: #fff; }
.locpage .lp-cap--sub .body-s { font-size: calc(9 * var(--u)); line-height: 1.2; margin-top: calc(10 * var(--u)); color: #fff; opacity: 1; }
.lp .ln, .lp-cap .ln { display: block; white-space: nowrap; }   /* Letterbox's line breaks */
.adv h2.display { white-space: nowrap; }   /* "Choose Your Own Adventure. Every Day." is one line in the layout */
@media (max-width: 760px) {
  .locpage { width: 100%; height: auto; padding: 28px var(--gutter) 44px; display: flex; flex-direction: column; gap: 30px; }
  .lp, .lp-cap { position: static; width: auto; }
  .lp .ln, .lp-cap .ln { display: inline; white-space: normal; }
  .lp-fig .media { height: auto; aspect-ratio: var(--w) / var(--h); }
  .lp-h1, .lp-h2 { white-space: normal; line-height: 1; }
  .lp-h1 { font-size: clamp(44px, 13vw, 60px); margin: 6px 0 -6px; }
  .lp-h2 { font-size: clamp(36px, 10.5vw, 48px); margin: 6px 0 -6px; }
  .locpage .lp-copy { font-size: 16px; line-height: 1.4; }
  .lp-cap { margin-top: 12px; }
  .locpage .lp-cap .cap-t { font-size: 16px; }
  .locpage .lp-cap .cap-d { font-size: 14px; margin-top: 3px; }
  .locpage .lp-cap--sub .sub { font-size: 19px; }
  .locpage .lp-cap--sub .body-s { font-size: 15px; line-height: 1.4; margin-top: 10px; }
  .adv h2.display { white-space: normal; }
}

/* ---------- map zoom ---------- */
.map { position: relative; overflow: hidden; touch-action: pan-x pan-y; -webkit-user-select: none; user-select: none; outline: none; }
.map:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green-deep); }
.map.is-zoomed { cursor: grab; }
.map.is-dragging, .map.is-dragging * { cursor: grabbing !important; }
.map-stage > img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.map-stage.is-smooth { transition: transform .32s cubic-bezier(.22,.61,.36,1); }
.map-stage.is-smooth .pin { transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .25s; }
.map-hint { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(29,29,27,.45); color: #fff; font-size: 17px; letter-spacing: .02em; text-align: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.map.show-hint .map-hint { opacity: 1; }
.map-zoom button[data-z="reset"] { font-size: 0; }
.map-stage { position: relative; transform-origin: 0 0; will-change: transform; }
.map-stage > img { display: block; width: 100%; }
.map .pin { transform: scale(var(--ps, 1)); }
.map .pin:hover, .map .pin.is-hot, .map .pin:focus-visible { transform: scale(calc(var(--ps, 1) * 1.35)); }
.map .pin-tip { transform: translate(calc(-50% + var(--tip-dx, 0px)), calc(-100% - 16px * var(--ps, 1))) scale(var(--ps, 1)); transform-origin: 50% 100%; }
.map .pin-tip.is-below { transform: translate(calc(-50% + var(--tip-dx, 0px)), calc(16px * var(--ps, 1))) scale(var(--ps, 1)); transform-origin: 50% 0; }
.map-zoom { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 5; }
.map-zoom button { width: 36px; height: 36px; border: 0; border-radius: 4px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); display: grid; place-items: center; font-family: var(--sans); font-weight: 300; }
.map-zoom button:hover { background: #fff; }
.map-zoom button:disabled { opacity: .35; cursor: default; }

/* headline x-height alignment: columns start at the top; site.js nudges the body text to the headline's x-height */
@media (min-width: 761px) {
  .xalign.split, .xalign.details-head, .xalign.amenity-head { align-items: start; }
}

/* Letterbox's line breaks in body copy and the disclaimer (desktop) */
@media (min-width: 761px) {
  .body-s .ln, .footer-legal .ln { display: block; white-space: nowrap; }
  .body-s:has(> .ln), .footer-legal:has(> .ln), .mini-footer .footer-legal:has(> .ln) { max-width: none !important; width: max-content; }
}

/* one-screen pages: never wider than the window (the map on Register grew with the form height at narrow desktops) */
@media (min-width: 761px) {
  body.reg-page > main > .reg-section { min-width: 0; width: 100%; }
  .reg .map-col img { max-width: 100%; height: auto; }
  .ty { max-width: 100%; }
}
/* body-copy line breaks are locked from 1200px up; below that the type's minimum size no longer matches the layout's scale */
@media (min-width: 761px) and (max-width: 1199px) {
  .body-s:not(.lp-copy):not(.lp-cap *) .ln, .footer-legal .ln { display: inline; white-space: normal; }
  .body-s:not(.lp-copy):has(> .ln), .footer-legal:has(> .ln), .mini-footer .footer-legal:has(> .ln) { width: auto; }
}

/* a paragraph whose locked lines would not fit its column wraps naturally (set by site.js) */
p.ln-free, .body-s.ln-free:has(> .ln), .footer-legal.ln-free:has(> .ln) { width: auto !important; }
p.ln-free .ln { display: inline !important; white-space: normal !important; }

/* site plan highlights trace each home's real outline (entry steps, service cut-outs), not a rectangle */
.unit--shape { background: transparent !important; box-shadow: none !important; pointer-events: none; }
.unit--shape svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.unit--shape path { fill: rgba(156,170,150,0); stroke: rgba(105,120,99,0); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: auto; transition: fill .2s, stroke .2s; }
.unit--shape:hover path, .unit--shape:focus-visible path, .unit--shape.is-active path { fill: rgba(156,170,150,.55); stroke: var(--green-deep); }
.unit--shape.is-match path { fill: rgba(156,170,150,.55); stroke: rgba(105,120,99,.95); stroke-width: 1.5; }
.unit--shape.is-dim path { fill: rgba(255,255,255,.62); stroke: none; }
.unit--shape.is-dim { opacity: 1; }
.unit--shape:focus-visible { outline: none; }
.unit--shape:focus-visible path { stroke-width: 3; }

/* map selection: the chosen place stays highlighted on the map and in the legend */
.cat li button { border-radius: 3px; margin-inline: -6px; padding-inline: 6px; width: calc(100% + 12px); transition: background .2s, color .2s; }
.cat li button.is-selected { color: var(--ink); font-weight: 500; background: color-mix(in srgb, var(--c) 22%, transparent); }
.cat li button.is-selected span:first-child { color: var(--c); font-weight: 600; }
.map .pin.is-selected { transform: scale(calc(var(--ps, 1) * 1.5)); z-index: 4; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }

/* ---------- Letterbox round 2 (Nov 2): iPhone notes ---------- */
@media (max-width: 760px) {
  /* Rooftop Retreat: the tight section dropped the page gutter, so its copy ran to the screen edge */
  .wrap.section--tight { padding-inline: var(--gutter); }
  /* Light + Bright: room between the headline's descenders and the bathroom photo */
  .bright .right .media { margin-top: 32px; }
}
