/* The Giverny Residences: Dappled.

   The page is read in light and shade, as under the building's perforated
   gold canopy. Light sections are ivory paper (the open world around the
   house); shade sections are the cover's emerald (your own world). Where
   light meets shade the edge is a band of the canopy's circles, never a
   straight line. Type: Cormorant for the voice, Manrope for the facts. */

:root {
  --ivory: #F4EFE6;
  --ivory-2: #ECE4D6;
  --card: #FBF8F2;
  --emerald: #1E3F34;
  --emerald-2: #183429;
  --emerald-3: #10261E;
  --emerald-hi: #2B5345;
  --gold: #CDAA6E;
  --gold-hi: #E6CC98;
  --gold-lo: #A07B45;
  --gold-ink: #7C5A2A;            /* gold that reads as text on ivory */
  --bronze-1: #6F5333;
  --bronze-2: #A9844F;
  --bronze-3: #D2B07A;
  --ink: #1C3A2F;
  --ink-soft: #55655C;
  --cream: #F2EBDD;
  --cream-soft: #BCC6BB;
  --hair: rgb(28 58 47 / 0.14);
  --hair-2: rgb(28 58 47 / 0.22);
  --hair-d: rgb(242 235 221 / 0.16);
  --gut: clamp(1rem, 5vw, 5.5rem);
  --maxw: 84rem;
  --mast-h: 4.25rem;

  --sc-canvas: var(--emerald);
  --sc-surface: var(--emerald-2);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--gold);
  --sc-accent-ink: var(--emerald-3);
  --sc-font-display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sc-font-text: "Manrope", system-ui, sans-serif;
}

html { background: var(--emerald); }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
body { background: var(--ivory); color: var(--ink); font-family: var(--sc-font-text); font-weight: 400; overflow-x: clip; }
::selection { background: var(--gold-hi); color: var(--emerald-3); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: var(--gut); top: -4rem; z-index: 200; background: var(--card); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { top: 0.5rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; position: relative; }

/* ------------------------------------------------------------------ type -- */
.h2 {
  font: 300 clamp(2.6rem, 1.5rem + 3.7vw, 5.4rem)/1.0 var(--sc-font-display);
  letter-spacing: -0.012em; color: var(--ink); text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--gold-ink); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--gold-hi); }
.h3 { font: 400 clamp(1.35rem, 1.1rem + 0.6vw, 1.7rem)/1.15 var(--sc-font-display); color: var(--ink); letter-spacing: 0.005em; }
.h3--light { color: var(--cream); }
.eyebrow { font: 500 0.7rem/1.4 var(--sc-font-text); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow--light, .shade .eyebrow { color: var(--gold); }
.lede { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.12rem); font-weight: 300; line-height: 1.8; color: var(--ink-soft); text-wrap: pretty; }
.lede--light { color: var(--cream-soft); }
.small { font-size: 0.82rem; color: var(--ink-soft); }
.credit { font: 400 0.66rem/1.3 var(--sc-font-text); letter-spacing: 0.08em; color: rgb(255 255 255 / 0.85); text-shadow: 0 1px 2px rgb(0 0 0 / 0.45); }
figcaption .credit { color: var(--ink-soft); text-shadow: none; }
.shade figcaption .credit, .shade .credit { color: var(--cream-soft); text-shadow: none; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.95rem 2rem;
  font: 500 0.74rem/1 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  background: var(--emerald); color: var(--cream); border: 1px solid var(--emerald);
  transition: background-color 220ms var(--sc-ease-out), color 220ms var(--sc-ease-out), border-color 220ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--emerald-hi); border-color: var(--emerald-hi); } }
.btn--gold { background: var(--gold); color: var(--emerald-3); border-color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); } }
.btn--line { background: transparent; color: var(--cream); border-color: rgb(230 204 152 / 0.6); }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { background: rgb(230 204 152 / 0.12); border-color: var(--gold-hi); } }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; cursor: pointer; }

/* ---------------------------------------------------------- the masthead -- */
.mast {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--mast-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gut);
  color: var(--cream);
  transition: background-color 360ms var(--sc-ease-out), color 360ms var(--sc-ease-out), box-shadow 360ms var(--sc-ease-out);
}
.mast__index, .mast__book {
  display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; padding: 0.5rem 0;
  font: 500 0.7rem/1 var(--sc-font-text); letter-spacing: 0.28em; text-transform: uppercase; color: inherit;
  background: none; border: 0; cursor: pointer; text-decoration: none;
}
.mast__index { justify-self: start; }
.mast__book { justify-self: end; padding: 0.5rem 1.1rem; border: 1px solid currentColor; border-color: rgb(205 170 110 / 0.7); }
.mast__dot { width: 0.85rem; height: 0.85rem; border-radius: 50%; border: 1px solid var(--gold); position: relative; }
.mast__dot::after { content: ""; position: absolute; left: 22%; top: 22%; width: 34%; height: 34%; border-radius: 50%; background: var(--gold); }
.mast__home { display: block; color: var(--gold); line-height: 0; }
.mast__word { width: clamp(10rem, 7rem + 6vw, 15rem); height: auto; aspect-ratio: 393.11 / 56.72; fill: currentColor; transition: opacity 360ms var(--sc-ease-out); }
.mast[data-tone="hero"] .mast__word { opacity: 0; }
.mast[data-tone="hero"] .mast__home { pointer-events: none; }
.mast[data-tone="hero"] .mast__book { background: rgb(16 38 30 / 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mast[data-tone="light"] { background: rgb(244 239 230 / 0.93); color: var(--ink); box-shadow: 0 1px 0 var(--hair); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mast[data-tone="light"] .mast__home { color: var(--emerald); }
.mast[data-tone="light"] .mast__book { border-color: rgb(28 58 47 / 0.35); }
.mast[data-tone="shade"] { background: rgb(24 52 41 / 0.92); color: var(--cream); box-shadow: 0 1px 0 var(--hair-d); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (hover: hover) and (pointer: fine) {
  .mast__book:hover { background: var(--gold) !important; color: var(--emerald-3); border-color: var(--gold); }
  .mast__index:hover span:last-child { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.4em; }
}

/* the index */
.index { position: fixed; inset: 0; z-index: 120; background: var(--emerald-2); color: var(--cream); overflow: auto; }
.index[hidden] { display: none; }
.index::before { content: ""; position: absolute; inset: 0; background: url("assets/leather-1000.webp") center / cover; opacity: 0.55; pointer-events: none; }
.index__inner { position: relative; width: min(100% - 2 * var(--gut), var(--maxw)); margin: 0 auto; padding: 1.2rem 0 3rem; }
.index__head { display: flex; justify-content: space-between; align-items: center; min-height: 2.6rem; }
.index__cn { width: 6.5rem; height: auto; fill: var(--gold); }
.index__close { min-height: 2.75rem; padding: 0.5rem 1.2rem; background: none; color: var(--cream); border: 1px solid rgb(205 170 110 / 0.7); font: 500 0.7rem/1 var(--sc-font-text); letter-spacing: 0.28em; text-transform: uppercase; cursor: pointer; }
.index__cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem 5rem; margin-top: clamp(2rem, 6vh, 4.5rem); }
.index__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.index__list a {
  display: flex; align-items: center; gap: 1.1rem; padding: 0.42rem 0; text-decoration: none;
  font: 300 clamp(1.7rem, 1.2rem + 1.6vw, 2.9rem)/1.12 var(--sc-font-display); color: var(--cream);
  transition: color 200ms var(--sc-ease-out), transform 300ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .index__list a:hover { color: var(--gold-hi); transform: translateX(0.4rem); } }
.index__list a[aria-current="true"] { color: var(--gold-hi); }
.m { flex: none; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 1px solid var(--gold); }
.m--light { background: var(--ivory); border-color: var(--ivory); }
.m--shade { background: transparent; }
.index__side { padding-top: 0.8rem; }
.index__homes { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.index__homes a, .index__homes button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; width: 100%;
  padding: 0.85rem 0; border: 0; border-bottom: 1px solid var(--hair-d); background: none; cursor: pointer; text-align: left; text-decoration: none; color: var(--cream);
}
.index__homes strong { font: 400 1.5rem/1 var(--sc-font-display); }
.index__homes span { font-size: 0.82rem; color: var(--cream-soft); }
@media (hover: hover) and (pointer: fine) { .index__homes button:hover strong { color: var(--gold-hi); } }
.index__note { margin-top: 2rem; font-size: 0.84rem; color: var(--cream-soft); max-width: 22rem; }

/* -------------------------------------------------------------- sections -- */
.sec { position: relative; padding: clamp(6rem, 11vw, 11rem) 0; }
.light { background: var(--ivory); color: var(--ink); }
.shade { background: var(--emerald); color: var(--cream); }
.within__step p, .avail__date, .siteplan figcaption { color: var(--cream-soft); }
.card .eyebrow, .car .eyebrow { color: var(--gold-ink); }

/* the perforated edge between light and shade (drawn by site.js) */
.edge { position: absolute; left: 0; right: 0; top: calc(-1 * var(--edge-h, 4.5rem)); height: calc(2 * var(--edge-h, 4.5rem)); pointer-events: none; z-index: 5; }
.edge svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* the dappled light that drifts over the shade */
.dapple { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dapple::before {
  content: ""; position: absolute; inset: -12%;
  background: url("assets/dapples.webp") 0 0 / 720px auto repeat;
  mix-blend-mode: soft-light; opacity: 0.16;
  transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0);
}
.dapple--sec { -webkit-mask-image: radial-gradient(75% 65% at 72% 28%, #000, transparent); mask-image: radial-gradient(75% 65% at 72% 28%, #000, transparent); }
.shade > .wrap, .close > .wrap { z-index: 1; }

/* frames */
figure { margin: 0; }
figure figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--ink-soft); }
.shade figure figcaption { color: var(--cream-soft); }

/* ------------------------------------------------------------------- hero -- */
.hero { position: relative; background: var(--emerald); color: var(--cream); }
.hero__stage { background: var(--emerald-3); }
.hero__pic { position: absolute; inset: 0; overflow: hidden; }
.hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 42%; will-change: transform; }
.hero__sky { transform-origin: 70% 30%; }
.hero__deck { transform-origin: 72% 46%; }
.hero__light {
  position: absolute; inset: -6%; width: 112%; height: 112%; opacity: 0.75; will-change: transform;
  background: url("assets/dapples.webp") 0 0 / 620px auto repeat; mix-blend-mode: soft-light;
  -webkit-mask-image: linear-gradient(to bottom, transparent 44%, #000 68%); mask-image: linear-gradient(to bottom, transparent 44%, #000 68%);
  transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0);
}
.hero__credit { position: absolute; right: var(--gut); bottom: 1rem; z-index: 3; }
.hero__leather { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero__skin { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__copy {
  position: absolute; left: var(--gut); top: 50%; z-index: 3; width: min(31vw, 30rem);
  transform: translate3d(var(--copy-x, 0px), -46%, 0); opacity: var(--copy-o, 1);
  pointer-events: auto; color: var(--cream);
}
.hero__cn { width: 5.8rem; height: auto; fill: var(--gold); opacity: 0.9; }
.hero__name { margin: 1.4rem 0 0; line-height: 0; }
.hero__word { width: 100%; height: auto; aspect-ratio: 393.11 / 56.72; fill: var(--gold-hi); }
.hero__line { margin-top: 2.3rem; font: 300 italic clamp(1.45rem, 1.1rem + 1vw, 2.1rem)/1.22 var(--sc-font-display); color: var(--cream); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.6rem; font: 500 0.68rem/1.4 var(--sc-font-text); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.hero__btn { margin-top: 2.4rem; }
.hero__note { margin-top: 1.1rem; font-size: 0.86rem; color: var(--cream-soft); }

/* ------------------------------------------------------------ the address -- */
.address__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 3rem clamp(2.5rem, 6vw, 6rem); align-items: start; }
.address__head { padding-top: 1rem; }
.address__head .h2 { margin-top: 1.4rem; }
.address__fig { grid-row: span 2; }
.frame__in { overflow: hidden; aspect-ratio: 1774 / 1000; background: var(--ivory-2); }
.frame__in img { width: 100%; height: 112%; object-fit: cover; transform: translate3d(0, var(--par, 0px), 0); will-change: transform; }
.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 0.95rem 0; border-top: 1px solid var(--hair); }
.facts > div:last-child { border-bottom: 1px solid var(--hair); }
.facts dt { font: 500 0.66rem/1.9 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.facts dd { margin: 0; font: 400 1.3rem/1.3 var(--sc-font-display); color: var(--ink); }
.facts--dark > div { border-color: var(--hair-d) !important; }
.facts--dark dt { color: var(--gold); }
.facts--dark dd { color: var(--cream); }
.facts--dark a { color: var(--cream); text-decoration-color: var(--gold); text-underline-offset: 0.25em; }
.facts--small dd { font: 400 0.98rem/1.5 var(--sc-font-text); }
.facts--small > div { grid-template-columns: 11rem minmax(0, 1fr); }

/* --------------------------------------------------------- every level -- */
.levels__head { max-width: 46rem; }
.levels__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 0 clamp(2rem, 4vw, 4rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: stretch; }
.levels__fig { position: relative; }
.levels__fig img { width: 100%; }
.levels__fig figcaption { position: absolute; left: 0.8rem; bottom: 0.6rem; margin: 0; }
.levels__list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); }
.lv { position: relative; display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 0 1.2rem; align-items: center; padding: 0.9rem 0; border-top: 1px dashed rgb(205 170 110 / 0.45); transition: background-color 260ms var(--sc-ease-out); }
.lv::before { content: ""; position: absolute; right: 100%; top: -1px; width: clamp(2rem, 4vw, 4rem); border-top: 1px dashed rgb(205 170 110 / 0.45); }
.lv__n { font: 300 3rem/0.9 var(--sc-font-display); color: var(--gold); }
.lv__n small { display: block; margin-bottom: 0.3rem; font: 500 0.6rem/1 var(--sc-font-text); letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-soft); }
.lv__deck { font: 400 1.22rem/1.4 var(--sc-font-display); color: var(--cream); }
.lv__homes { margin-top: 0.55rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.8rem; color: var(--cream-soft); }
.lv__homes b { font-weight: 600; color: var(--cream); letter-spacing: 0.04em; }
.lv__homes .is-sold b { color: var(--cream-soft); font-weight: 400; text-decoration: line-through; text-decoration-color: rgb(188 198 187 / 0.6); }
.lv__go { background: none; border: 0; padding: 0; color: var(--gold-hi); font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: rgb(230 204 152 / 0.5); text-underline-offset: 0.3em; }
.lv.is-hot { background: linear-gradient(90deg, rgb(205 170 110 / 0.1), transparent 80%); }
.lv.is-hot, .lv.is-hot::before { border-top-color: var(--gold); border-top-style: solid; }
.siteplan { margin-top: clamp(4rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); align-items: end; }
.siteplan__btn { position: relative; display: block; width: 100%; padding: clamp(1rem, 2.5vw, 2.2rem); background: #fff; border: 0; cursor: zoom-in; }
.siteplan__btn img { width: 100%; }
.siteplan__zoom { position: absolute; right: 1rem; top: 1rem; padding: 0.45rem 0.8rem; background: var(--emerald); color: var(--cream); font: 500 0.64rem/1 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; }
.siteplan figcaption { display: block; max-width: 22rem; margin: 0; font-size: 0.95rem; line-height: 1.75; }
.siteplan figcaption strong { display: block; margin-bottom: 0.5rem; font: 400 1.6rem/1.15 var(--sc-font-display); }
.siteplan figcaption strong { color: var(--cream); font-weight: 500; }

/* ----------------------------------------------------- every deck a season -- */
.gardens { padding-bottom: clamp(7rem, 12vw, 12rem); }
.gardens__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem clamp(1rem, 2vw, 2rem); }
.gardens__title { grid-column: 1 / span 7; }
.gardens__wide { grid-column: 2 / span 11; margin-top: 1rem; position: relative; }
.gardens__wide img { width: 100%; clip-path: inset(0 var(--wipe, 0%) 0 0); transition: clip-path 1600ms cubic-bezier(.6, .05, .2, 1); }
.js .gardens__wide:not(.is-in) img { --wipe: 100%; }
.gardens__wide figcaption, .gardens__small figcaption { justify-content: flex-end; }
.gardens__text { grid-column: 2 / span 4; align-self: start; font: 300 italic clamp(1.35rem, 1.05rem + 0.8vw, 1.9rem)/1.35 var(--sc-font-display); color: var(--ink); margin-top: 1.5rem; }
.gardens__small { grid-column: 8 / span 5; margin-top: -6rem; position: relative; z-index: 1; box-shadow: 0 30px 60px -36px rgb(16 38 30 / 0.5); }

/* ---------------------------------------------------- your own level (peak) -- */
.lift, .lift.sec { padding: 0; background: var(--emerald-3); }
.lift__stage { background: var(--emerald-2); }
.lift__wall { position: absolute; inset: 0; background: url("assets/leather-1775.webp") center / cover; opacity: 0.55; }
.lift__wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(16 38 30 / 0.65), rgb(16 38 30 / 0.15) 60%, rgb(16 38 30 / 0.35)); }
.lift__copy { position: absolute; left: var(--gut); top: 50%; z-index: 4; width: min(30vw, 27rem); transform: translate3d(0, -50%, 0); opacity: var(--copy-o, 1); }
.lift__title { margin-top: 1.2rem; }
.lift__line { margin-top: 1.6rem; font: 300 italic clamp(1.3rem, 1.05rem + 0.7vw, 1.75rem)/1.35 var(--sc-font-display); color: var(--cream) !important; opacity: var(--l0, 0); transform: translate3d(0, calc((1 - var(--l0, 0)) * 10px), 0); }
.lift__door-frame { position: absolute; inset: 0; z-index: 2; }
.lift__ind {
  position: absolute; z-index: 3; left: calc(var(--dl) * 1px); top: calc(var(--dt) * 1px - 3.2rem); width: calc(var(--dw) * 1px);
  display: flex; justify-content: center; align-items: center; gap: 0.6rem;
  font: 500 0.66rem/1 var(--sc-font-text); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-hi); opacity: var(--frame-o, 1);
}
.lift__arrow { width: 0; height: 0; border-left: 0.32rem solid transparent; border-right: 0.32rem solid transparent; border-bottom: 0.45rem solid var(--gold-hi); }
.lift__way { position: absolute; inset: 0; clip-path: inset(var(--ct, 0px) var(--cr, 0px) var(--cb, 0px) var(--cl, 0px)); }
.lift__way::after {
  content: ""; position: absolute; z-index: 3; pointer-events: none;
  left: calc(var(--cl, 0px) + 0px); top: var(--ct, 0px); right: var(--cr, 0px); bottom: var(--cb, 0px);
  box-shadow: inset 0 0 0 1px rgb(230 204 152 / 0.7), inset 0 0 0 7px rgb(60 44 26 / 0.85), inset 0 0 0 8px rgb(230 204 152 / 0.45);
  opacity: var(--frame-o, 1);
}
.lift__beyond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; transform: scale(var(--bs, 1.12)); transform-origin: 55% 55%; will-change: transform; }
.lift__credit { position: absolute; right: calc(var(--cr, 0px) + 1rem); bottom: calc(var(--cb, 0px) + 0.9rem); z-index: 4; }
.door {
  position: absolute; z-index: 2;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 3px),
    linear-gradient(100deg, var(--bronze-1), var(--bronze-2) 38%, var(--bronze-3) 52%, var(--bronze-2) 66%, var(--bronze-1));
  -webkit-mask-image: var(--holes); mask-image: var(--holes);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  will-change: transform;
}
.lift .door { opacity: var(--frame-o, 1); top: calc(var(--dt) * 1px); height: calc(var(--dh) * 1px); width: calc(var(--dw) * 0.5px + 1px); }
.lift .door--l { left: calc(var(--dl) * 1px); transform: translate3d(calc(var(--open, 0) * -100%), 0, 0); box-shadow: inset -1px 0 0 rgb(40 28 14 / 0.6); }
.lift .door--r { left: calc(var(--dl) * 1px + var(--dw) * 0.5px); transform: translate3d(calc(var(--open, 0) * 100%), 0, 0); box-shadow: inset 1px 0 0 rgb(255 240 210 / 0.35); }
.lift__last {
  position: absolute; left: var(--gut); bottom: clamp(2rem, 7vh, 4.5rem); z-index: 5; max-width: 34rem;
  font: 300 clamp(2rem, 1.3rem + 2.4vw, 3.8rem)/1.05 var(--sc-font-display); color: var(--cream);
  opacity: var(--l1, 0); transform: translate3d(0, calc((1 - var(--l1, 0)) * 16px), 0);
  text-shadow: 0 2px 18px rgb(10 24 18 / 0.45);
}
.lift__last em { color: var(--gold-hi); }
.lift__last::before { content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--gut)); bottom: calc(-1 * clamp(2rem, 7vh, 4.5rem)); width: 76vw; height: 26rem; background: radial-gradient(62% 78% at 20% 100%, rgb(12 28 22 / 0.82), transparent 76%); pointer-events: none; }

/* ------------------------------------------------------------- the district -- */
.district__head { max-width: 46rem; }
.district__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 4vw, 4rem); margin-top: clamp(3rem, 6vw, 4.5rem); align-items: start; }
.map__img { position: relative; background: #EEE6DA; }
.map__img img { width: 100%; }
.map__over { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__over .ring { fill: none; stroke: var(--emerald); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.map__over .ring--home { stroke: var(--gold-lo); }
.map__over .lead { fill: none; stroke: var(--emerald); stroke-width: 1.3; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.map__over .pin { fill: var(--emerald); }
.map__over .tag rect { fill: var(--emerald); }
.map__over .tag text { fill: var(--cream); font: 600 13px/1 var(--sc-font-text); letter-spacing: 0.04em; }
.map figcaption { align-items: center; }
.chips { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.chips button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; width: 100%; min-height: 3rem;
  padding: 0.7rem 0.9rem; text-align: left; cursor: pointer; color: var(--ink);
  background: transparent; border: 1px solid var(--hair-2);
  transition: background-color 200ms var(--sc-ease-out), border-color 200ms var(--sc-ease-out), color 200ms var(--sc-ease-out);
}
.chips b { font: 400 1.18rem/1.15 var(--sc-font-display); }
.chips span { font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .chips button:hover { border-color: var(--emerald); } }
.chips button[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: var(--cream); }
.chips button[aria-pressed="true"] span { color: var(--gold-hi); }
.schools { margin-top: 2.2rem; }
.schools .h3 { margin-top: 1.4rem; }
.schools .h3:first-child { margin-top: 0; }
.schools p { margin-top: 0.5rem; font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); }
.district__pics { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(4rem, 8vw, 6rem); align-items: end; }

/* ------------------------------------------------------------------ within -- */
.within__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 clamp(2.5rem, 5vw, 5rem); }
.within__frame { position: sticky; top: calc(var(--mast-h) + 6vh); height: min(70vh, 40rem); overflow: hidden; background: var(--emerald-3); }
.within__pic { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--sc-ease-out), transform 1400ms var(--sc-ease-out); transform: scale(1.04); }
.within__pic.is-on { opacity: 1; transform: none; }
.within__pic img { width: 100%; height: 100%; object-fit: cover; }
.within__credit { position: absolute; right: 1rem; bottom: 0.9rem; z-index: 2; }
.within__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; opacity: 0.32; transition: opacity 500ms var(--sc-ease-out); }
.within__step.is-on { opacity: 1; }
.within__step p { margin-top: 1rem; font-size: 1.02rem; line-height: 1.8; max-width: 26rem; }
.within__step .lede { margin-top: 1.4rem; }

/* ----------------------------------------------------- four residences -- */
.res { padding-top: clamp(4rem, 8vw, 8rem); border-top: 1px solid var(--hair-d); }
.res__grid { display: grid; grid-template-columns: minmax(19rem, 0.8fr) minmax(0, 1.5fr); gap: 3rem clamp(2.5rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }

/* the brass panel */
.panel {
  position: relative; width: min(100%, 15.5rem); padding: 1.4rem 1.4rem 1.2rem; border-radius: 0.4rem;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.04) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #C9A672, #9C7A4A 46%, #B8955F 78%, #8A6A40);
  box-shadow: inset 0 1px 0 rgb(255 240 210 / 0.5), inset 0 -1px 0 rgb(60 40 20 / 0.5), 0 24px 40px -26px rgb(0 0 0 / 0.7);
}
.panel__ind {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem; height: 3.2rem; border-radius: 0.3rem;
  background: #0D1A15; box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.6);
  font: 300 2rem/1 var(--sc-font-display); color: var(--gold-hi); font-variant-numeric: tabular-nums;
}
.panel__arrow { width: 0; height: 0; border-left: 0.35rem solid transparent; border-right: 0.35rem solid transparent; border-bottom: 0.5rem solid var(--gold-hi); opacity: 0; transition: opacity 200ms; }
.panel__arrow.is-up { opacity: 1; }
.panel__arrow.is-down { opacity: 1; transform: rotate(180deg); }
.panel__btns { display: flex; flex-direction: column-reverse; align-items: center; gap: 0.9rem; margin-top: 1.3rem; }
.lvb {
  position: relative; width: 3.6rem; height: 3.6rem; border-radius: 50%; cursor: pointer;
  font: 400 1.55rem/1 var(--sc-font-display); color: #3A2A16;
  background: radial-gradient(circle at 40% 35%, #E9D3A4, #B79262 60%, #8F6E43);
  border: 0; box-shadow: inset 0 0 0 1px rgb(60 40 20 / 0.55), 0 2px 3px rgb(60 40 20 / 0.45);
  transition: transform 140ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out), background 200ms;
}
.lvb::after { content: ""; position: absolute; inset: -0.32rem; border-radius: 50%; border: 1.5px solid transparent; transition: border-color 260ms var(--sc-ease-out); }
.lvb.is-lit::after { border-color: var(--emerald-3); }
.lvb.is-lit { color: var(--emerald-3); }
.lvb.is-cur { background: radial-gradient(circle at 40% 35%, #FFF3D8, var(--gold-hi) 55%, #C9A46A); }
.lvb.is-cur::after { border-color: #FFF3D8; }
.lvb[aria-disabled="true"] { cursor: not-allowed; color: rgb(58 42 22 / 0.42); background: radial-gradient(circle at 40% 35%, #C2A273, #9E7D50 60%, #81623C); }
.lvb:active:not([aria-disabled="true"]) { transform: scale(0.95); box-shadow: inset 0 0 0 1px rgb(60 40 20 / 0.55); }
.lvb small { position: absolute; left: calc(100% + 0.8rem); top: 50%; transform: translateY(-50%); white-space: nowrap; font: 500 0.6rem/1 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase; color: rgb(40 28 14 / 0.75); }
.panel__key { display: flex; align-items: center; gap: 0.45rem; margin-top: 1.3rem; font-size: 0.68rem; letter-spacing: 0.06em; color: rgb(40 28 14 / 0.85) !important; justify-content: center; }
.panel__k { width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 1px solid rgb(40 28 14 / 0.45); margin-left: 0.4rem; }
.panel__k--on { border: 1.5px solid var(--emerald-3); margin-left: 0; }

/* the availability list */
.avail { margin-top: 2.6rem; }
.avail__table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: 0.86rem; }
.avail__table th { text-align: left; font: 500 0.6rem/1 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); padding: 0 0 0.7rem; }
.avail__table td { padding: 0.75rem 0.6rem 0.75rem 0; border-top: 1px solid var(--hair-d); color: var(--cream-soft); vertical-align: baseline; }
.avail__table td:first-child { font: 400 1.2rem/1 var(--sc-font-display); color: var(--cream); white-space: nowrap; }
.avail__table tr.is-sold td { color: rgb(188 198 187 / 0.55); }
.avail__table tr.is-sold td:first-child { color: rgb(242 235 221 / 0.45); text-decoration: line-through; text-decoration-color: rgb(188 198 187 / 0.5); }
.avail__table tr.is-cur td:first-child { color: var(--gold-hi); }
.avail__go { background: none; border: 1px solid rgb(205 170 110 / 0.55); color: var(--gold-hi); padding: 0.4rem 0.7rem; font: 500 0.6rem/1 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .avail__go:hover { background: var(--gold); color: var(--emerald-3); border-color: var(--gold); } }
.avail__sold { font: 500 0.6rem/1 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; }
.avail__date { margin-top: 1rem; font-size: 0.78rem; line-height: 1.6; }

/* the car: the home behind its own small doors */
.car { position: relative; overflow: hidden; background: var(--card); color: var(--ink); min-height: 34rem; box-shadow: 0 40px 70px -40px rgb(0 0 0 / 0.75); outline: 1px solid rgb(205 170 110 / 0.5); outline-offset: 8px; }
.car .door { top: 0; bottom: 0; width: 50.2%; }
.car .door--l { left: 0; transform: translate3d(calc(var(--open, 1) * -100%), 0, 0); transition: transform 620ms cubic-bezier(.6, 0, .25, 1); }
.car .door--r { right: 0; transform: translate3d(calc(var(--open, 1) * 100%), 0, 0); transition: transform 620ms cubic-bezier(.6, 0, .25, 1); }
.car.is-shut .door { --open: 0; }
.car__view { padding: clamp(1.4rem, 2.6vw, 2.4rem); }
.home__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.home__no { font: 300 clamp(2.8rem, 2rem + 2.4vw, 4.4rem)/0.95 var(--sc-font-display); color: var(--ink); letter-spacing: -0.01em; }
.home__kind { margin-top: 0.7rem; font: 400 1.3rem/1.2 var(--sc-font-display); color: var(--ink); }
.home__size { text-align: right; }
.home__size b { display: block; font: 300 2.1rem/1 var(--sc-font-display); color: var(--ink); }
.home__size span { font-size: 0.8rem; color: var(--ink-soft); }
.home__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.8rem; margin-top: 1.6rem; }
.home__plan { display: block; width: 100%; padding: 0.6rem; background: #fff; border: 1px solid var(--hair); cursor: zoom-in; position: relative; }
.home__plan img { width: 100%; max-height: 26rem; object-fit: contain; }
.home__plan span { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.35rem 0.6rem; background: var(--emerald); color: var(--cream); font: 500 0.58rem/1 var(--sc-font-text); letter-spacing: 0.22em; text-transform: uppercase; }
.home__list { list-style: none; margin: 0.6rem 0 0; padding: 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); }
.home__list li { padding: 0.42rem 0; border-top: 1px solid var(--hair); }
.home__deck { margin-top: 1.3rem; }
.home__deck p:last-child { margin-top: 0.4rem; font: 400 1.12rem/1.4 var(--sc-font-display); color: var(--ink); }
.home__note { margin-top: 1rem; font-size: 0.8rem; color: var(--ink-soft); }
.home__acts { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.home__acts .btn { min-height: 2.9rem; padding: 0.8rem 1.4rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair-2); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: var(--ivory); border-color: var(--ink); } }

/* --------------------------------------------------- makers and papers -- */
.makers__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem clamp(2.5rem, 6vw, 6rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.makers__who { display: grid; gap: 2.2rem; }
.maker__name { margin-top: 0.6rem; font: 400 clamp(1.7rem, 1.3rem + 1vw, 2.3rem)/1.1 var(--sc-font-display); color: var(--ink); }
.maker p:last-child { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); max-width: 32rem; }
.makers__dev .facts { margin-top: 1.4rem; }
.papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.paper {
  position: relative; display: grid; gap: 0.5rem; padding: 2rem 2.2rem 2.2rem; text-decoration: none; color: var(--cream);
  background: var(--emerald); overflow: hidden;
  transition: background-color 260ms var(--sc-ease-out);
}
.paper::after { content: "↓"; position: absolute; right: 1.8rem; top: 1.7rem; font: 300 1.6rem/1 var(--sc-font-display); color: var(--gold); transition: transform 260ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .paper:hover { background: var(--emerald-hi); } .paper:hover::after { transform: translateY(4px); } }
.paper__k { font: 500 0.66rem/1 var(--sc-font-text); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.paper__t { font: 300 clamp(1.6rem, 1.2rem + 1vw, 2.2rem)/1.1 var(--sc-font-display); }
.paper__s { font-size: 0.8rem; color: var(--cream-soft); }

/* --------------------------------------------------------------- the close -- */
.close { position: relative; padding: clamp(7rem, 11vw, 10rem) 0 clamp(5rem, 8vw, 7rem); }
.close__skin { position: absolute; inset: 0; background: url("assets/leather-1775.webp") center / cover; opacity: 0.85; }
.close__skin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(16 38 30 / 0.25), rgb(16 38 30 / 0.55)); }
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 33rem); gap: 3rem clamp(3rem, 7vw, 7rem); align-items: center; }
.book__facts { margin-top: 2.2rem; max-width: 30rem; }
.call { display: flex; align-items: center; gap: 1.2rem; margin-top: 3rem; padding: 1rem 1.4rem 1rem 1rem; width: fit-content; max-width: 100%; border-radius: 0.4rem;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.04) 0 1px, transparent 1px 3px), linear-gradient(160deg, #C9A672, #9C7A4A 46%, #B8955F 78%, #8A6A40);
  box-shadow: inset 0 1px 0 rgb(255 240 210 / 0.5), 0 24px 40px -26px rgb(0 0 0 / 0.7);
}
.call__ind { min-width: 6.6rem; height: 2.6rem; display: grid; place-items: center; padding: 0 0.7rem; border-radius: 0.25rem; background: #0D1A15; box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.6); font: 400 1.05rem/1 var(--sc-font-display); color: var(--gold-hi); letter-spacing: 0.04em; white-space: nowrap; }
.call__btn { position: relative; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #E9D3A4, #B79262 60%, #8F6E43); box-shadow: inset 0 0 0 1px rgb(60 40 20 / 0.55), 0 2px 3px rgb(60 40 20 / 0.45); }
.call__ring { position: absolute; inset: 0.75rem; border-radius: 50%; border: 1.5px solid rgb(40 28 14 / 0.55); transition: background-color 900ms var(--sc-ease-out), border-color 900ms var(--sc-ease-out); }
.call__cap { font-size: 0.82rem; line-height: 1.5; color: rgb(30 20 8 / 0.85) !important; max-width: 15rem; }
.call.is-called .call__ring { background: #FFF3D8; border-color: #FFF3D8; }
.call.is-called .call__btn { background: radial-gradient(circle at 40% 35%, #FFF6E0, var(--gold-hi) 55%, #C9A46A); }

/* ------------------------------------------------------- the booking card -- */
.card-wrap { position: relative; }
.card { background: var(--card); color: var(--ink); }
.tb { position: relative; overflow: hidden; box-shadow: 0 40px 80px -36px rgb(0 0 0 / 0.75); outline: 1px solid rgb(205 170 110 / 0.55); outline-offset: 8px; }
.tb > * { border-top: 1px solid var(--hair); }
.tb > :first-child, .tb > input, .tb > .hp { border-top: 0; }
.tb__head { position: relative; padding: 1.7rem 1.6rem 1.3rem; border-top: 0 !important; }
.tb__head::after { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 2px; background: var(--gold); }
.tb__title { font: 300 2.2rem/1 var(--sc-font-display); color: var(--ink); }
.tb__sub { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.tb__interest { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.6rem; background: #F3EBDC; font-size: 0.9rem; }
.tb__interest[hidden] { display: none; }
.tb__interest-x { background: none; border: 0; padding: 0.25rem; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; color: var(--ink-soft); }
.when { border: 0; margin: 0; padding: 1.25rem 1.6rem; min-width: 0; }
.when__legend { padding: 0; margin-bottom: 1rem; float: left; width: 100%; font: 500 0.66rem/1.2 var(--sc-font-text); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-ink); }
.when__legend + * { clear: both; }
.when__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.1rem; }
.when__tabs button {
  display: grid; gap: 0.3rem; text-align: left; padding: 0.65rem 0.9rem; min-height: 3.6rem;
  background: #fff; border: 1px solid var(--hair-2); cursor: pointer; color: var(--ink);
  transition: border-color 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.when__n { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.when__v { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.when__tabs button.is-set .when__v { color: var(--ink); }
.when__tabs [aria-selected="true"] { border-color: var(--emerald); box-shadow: inset 0 0 0 1px var(--emerald), inset 0 -3px 0 var(--gold); }
@media (hover: hover) and (pointer: fine) { .when__tabs button:hover { border-color: var(--emerald); } }
.when__month { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem; }
.when__dow, .when__dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; }
.when__dow { font-size: 0.7rem; color: var(--ink-soft); text-align: center; margin-bottom: 0.35rem; }
.when__dates { margin-bottom: 1.1rem; }
.when__dates button, .when__times button {
  position: relative; font: 500 0.9rem/1 var(--sc-font-text); color: var(--ink);
  background: #fff; border: 1px solid var(--hair-2);
  cursor: pointer; min-height: 2.75rem; padding: 0.3rem 0.2rem; font-variant-numeric: tabular-nums;
  transition: background-color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out);
}
.when__dates button { display: grid; place-items: center; align-content: center; gap: 0.1rem; }
.when__dates .m { width: auto; height: auto; border: 0; border-radius: 0; font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.when__dates .pad { visibility: hidden; }
@media (hover: hover) and (pointer: fine) { .when__dates button:hover, .when__times button:not(:disabled):hover { border-color: var(--emerald); } }
.when__dates [aria-checked="true"], .when__times [aria-checked="true"] { background: var(--emerald); border-color: var(--emerald); color: var(--cream); }
.when__dates [aria-checked="true"] .m { color: rgb(242 235 221 / 0.8); }
.when__dates button[data-other]::after { content: ""; position: absolute; left: 50%; bottom: 0.26rem; width: 0.32rem; height: 0.32rem; margin-left: -0.16rem; border-radius: 50%; background: var(--gold); }
.when__times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; }
.when__times button:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.when__native label { display: block; margin-top: 0.75rem; font-size: 0.92rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { padding: 0.8rem 1.6rem 0.95rem; min-width: 0; }
.field + .field { border-left: 1px solid var(--hair); }
.field--wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--hair); }
.field label { display: block; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.45rem; }
.field input {
  width: 100%; min-height: 2.9rem; padding: 0.6rem 0.8rem; font: 400 1rem/1.3 var(--sc-font-text); color: var(--ink);
  background: #FFFDF9; border: 1px solid var(--hair-2); border-radius: 0;
}
.field input::placeholder { color: color-mix(in oklab, var(--ink-soft) 75%, transparent); }
.field input:focus-visible { border-color: var(--emerald); background: #fff; outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #A3342A; }
.field__error { margin: 0.35rem 0 0; font-size: 0.86rem; color: #A3342A; }
.field__error:empty { display: none; }
.tb__submit { padding: 1.3rem 1.6rem 1.1rem; }
.tb__fineprint { margin-top: 1rem; font-size: 0.8rem; line-height: 1.55; color: var(--ink-soft); text-align: center; text-wrap: pretty; }
.tb__status { padding: 1rem 1.6rem; font-size: 0.93rem; }
.tb__status.is-wait { background: #F3EBDC; color: var(--ink); }
.tb__status.is-err { background: #F7E2DA; color: #7A2A14; }
.tb__status a { color: inherit; font-weight: 600; }
.tb__status:focus { outline: none; }
.tb.is-sending > :not([data-status]):not(.tb__head), .tb.is-done > :not([data-status]) { display: none; }
.tb.is-sending .tb__status { padding: 2rem 1.75rem; font-size: 1.1rem; line-height: 1.55; }
.tb__status.is-ok { padding: 2.6rem 2rem 2.4rem; background: var(--card); color: var(--ink); font-size: 1.02rem; line-height: 1.65; animation: settle 700ms var(--sc-ease-out) both; }
.tb__status.is-ok strong { display: block; margin-bottom: 0.6rem; font: 300 2.2rem/1.05 var(--sc-font-display); color: var(--ink); }
.ok-mark { display: block; width: 3rem; height: 3rem; margin-bottom: 1.2rem; }
.ok-mark circle { fill: none; stroke: var(--gold-lo); stroke-width: 1.5; stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1000ms 150ms cubic-bezier(.3,.7,.2,1) forwards; }
.ok-mark circle + circle { fill: var(--gold); stroke: none; animation: none; opacity: 0; animation: pop 500ms 900ms var(--sc-ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ footer -- */
.foot { position: relative; padding: 2.25rem var(--gut) 2.75rem; font-size: 0.86rem; background: var(--emerald-3); color: var(--cream-soft); border-top: 1px solid var(--hair-d); }
.foot__lines { text-align: center; }
.foot__lines p { line-height: 1.7; }
.foot__lines p + p { margin-top: 0.25rem; }
.foot__lines span { white-space: nowrap; }
.foot a { color: var(--cream); text-decoration-color: var(--gold); text-underline-offset: 0.25em; }

/* ----------------------------------------------------------------- dialogs -- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--card); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6); }
dialog::backdrop { background: rgb(10 24 18 / 0.78); }
.dlg-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 1rem 0.8rem 1.4rem; border-bottom: 1px solid var(--hair); }
.dlg-title { font: 400 1.3rem/1.2 var(--sc-font-display); color: var(--ink); }
.dlg-close { min-height: 2.6rem; padding: 0.4rem 1.2rem; cursor: pointer; background: var(--emerald); color: var(--cream); border: 0; font: 500 0.68rem/1 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; }
.viewer { width: calc(100vw - 2rem); height: calc(100svh - 2rem); max-width: none; max-height: none; }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; }
.viewer__body { overflow: auto; background: #fff; display: grid; place-items: start center; }
.viewer__body img { display: block; width: auto; max-width: none; height: auto; }
.viewer.is-fit .viewer__body img { width: 100%; max-width: 100%; cursor: zoom-in; }
.viewer:not(.is-fit) .viewer__body img { cursor: zoom-out; }

/* ------------------------------------------------------------------ tablet -- */
@media (max-width: 1100px) {
  .address__grid { grid-template-columns: minmax(0, 1fr); }
  .address__fig { grid-row: auto; }
  .res__grid { grid-template-columns: minmax(0, 1fr); }
  .res__left { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .avail { margin-top: 0; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .card-wrap { max-width: 36rem; }
}

/* ------------------------------------------------------------------- phone -- */
@media (max-width: 860px) {
  :root { --mast-h: 3.6rem; }
  .mast__book-x { display: none; }
  .mast__index span:last-child { display: none; }
  .mast__index { padding-right: 1rem; }
  .mast__book { padding: 0.5rem 0.8rem; letter-spacing: 0.22em; }
  .mast__word { width: 9.6rem; }
  .index__cols { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .index__list a { font-size: 1.85rem; }

  .sec { padding: 5.5rem 0; }
  .h2 { font-size: clamp(2.4rem, 1.6rem + 4vw, 3.2rem); }

  .hero__pic img { object-position: 70% 50%; }
  .hero__copy { left: var(--gut); right: var(--gut); top: calc(var(--mast-h) + 1.5rem); width: auto; transform: translate3d(0, var(--copy-x, 0px), 0); }
  .hero__name { margin-top: 1rem; }
  .hero__word { width: min(100%, 22rem); }
  .hero__line { margin-top: 1.4rem; font-size: 1.55rem; }
  .hero__meta { margin-top: 1rem; gap: 0.3rem 1rem; font-size: 0.62rem; }
  .hero__btn { margin-top: 1.4rem; }
  .hero__note { margin-top: 0.7rem; font-size: 0.8rem; }
  .hero__cn { width: 4.6rem; }

  .facts > div { grid-template-columns: 6.2rem minmax(0, 1fr); }
  .facts dd { font-size: 1.18rem; }
  .facts--small > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }

  .levels__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .levels__fig { max-width: 26rem; }
  .levels__list { grid-template-rows: none; }
  .lv::before { display: none; }
  .lv { grid-template-columns: 4.2rem minmax(0, 1fr); padding: 1rem 0; }
  .lv__n { font-size: 2.5rem; }

  .gardens__title, .gardens__wide, .gardens__text, .gardens__small { grid-column: 1 / -1; }
  .gardens__small { margin-top: 0; width: 80%; justify-self: end; }

  .lift__copy { left: var(--gut); right: var(--gut); top: calc(var(--mast-h) + 1.2rem); width: auto; transform: none; }
  .lift__title { margin-top: 0.6rem; font-size: 2.6rem; }
  .lift__line { margin-top: 0.8rem; font-size: 1.2rem; }
  .lift__last { right: var(--gut); font-size: 2.1rem; }

  .district__grid { grid-template-columns: minmax(0, 1fr); }
  .siteplan { grid-template-columns: minmax(0, 1fr); }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .district__pics { grid-template-columns: minmax(0, 1fr); }

  .within__grid { grid-template-columns: minmax(0, 1fr); }
  .within__frame { top: calc(var(--mast-h) + 0.8rem); height: 40svh; z-index: 1; }
  .within__step { min-height: 52svh; justify-content: flex-start; padding-top: 2.5rem; }

  .res__left { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .panel { width: 100%; padding: 1rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.8rem 1rem; align-items: center; }
  .panel__ind { width: 4.4rem; height: 3rem; }
  .panel__btns { flex-direction: row; justify-content: space-between; margin-top: 0; gap: 0.3rem; grid-row: span 2; }
  .lvb { width: 2.9rem; height: 2.9rem; font-size: 1.3rem; }
  .lvb small { display: none; }
  .panel__key { margin-top: 0; justify-content: flex-start; flex-wrap: wrap; }
  .car { min-height: 0; outline-offset: 5px; }
  .home__body { grid-template-columns: minmax(0, 1fr); }
  .home__size { text-align: left; }
  .avail__table th:nth-child(2), .avail__table td:nth-child(2) { display: none; }

  .makers__grid, .papers { grid-template-columns: minmax(0, 1fr); }
  .call { margin-top: 2rem; }
  .book__intro { order: 1; } .card-wrap { order: 2; } .call { order: 3; }
  .book__side { display: contents; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .field + .field { border-left: 0; border-top: 1px solid var(--hair); }
  .when { padding: 1.1rem 1rem; }
  .tb__head, .field, .tb__submit, .tb__interest { padding-inline: 1rem; }
  .tb__head::after { left: 1rem; right: 1rem; }
  .foot__lines span { white-space: normal; }
}

/* ---------------------------------------------------------- reduced motion -- */
.is-reduced .dapple::before, .is-reduced .hero__light { transform: none !important; }
.is-reduced .gardens__wide img { clip-path: none; transition: none; }
.is-reduced .within__pic { transition: opacity 200ms; transform: none; }
.is-reduced .car .door { transition: none; }
.is-reduced .lift__stage { position: relative; height: auto; min-height: 100svh; }
