/* Amberwood at Holland: Behind the screen.

   The page goes from public to private. Every section is a degree of
   privacy and takes that degree's ground: In Holland (linen), At the gate
   (walnut, the louvres), Within the grounds (warm stone), At home (paper),
   Your visit (walnut at golden hour). The louvre index at the lower left
   opens a blade per section as you pass. Renders and photographs are never
   filtered or regraded. */

:root {
  font-variant-numeric: lining-nums;
  --linen: #E8E0D4;
  --linen-2: #DED4C6;
  --linen-3: #D0C4B3;
  --ink: #2B1F17;
  --ink-soft: #66574A;
  --amber: #8F531B;              /* carries text on linen and paper */
  --amber-lt: #E0AA62;           /* on walnut */
  --amber-glow: #F2C98A;
  --walnut: #3A281D;
  --walnut-2: #4A3326;
  --walnut-3: #5E4231;
  --walnut-deep: #20150E;
  --stone: #CEC5BD;
  --stone-2: #C1B6AC;
  --stone-ink: #2A211B;
  --paper: #F6F2EC;
  --paper-2: #ECE5DB;
  --card: #FCFAF6;
  --wood-lt: #EADCC9;
  --wood-soft: #BFA88F;
  --hair: rgb(43 31 23 / 0.14);
  --hair-2: rgb(43 31 23 / 0.28);
  --hair-w: rgb(234 220 201 / 0.16);
  --hair-w2: rgb(234 220 201 / 0.32);
  /* the chart's own type colours (its legend) */
  --b3: #A49D8F;
  --b4: #8B7262;
  --b5: #C49C64;

  --sc-canvas: var(--linen);
  --sc-surface: var(--card);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--walnut);
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sc-font-text: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mono: "Mulish", system-ui, sans-serif;
  --sc-hairline: var(--hair);
  --sc-hairline-strong: var(--hair-2);
  --sc-shadow-color: 24 40% 8%;
  --sc-r-sm: 2px; --sc-r-md: 4px; --sc-r-lg: 10px;

  --gut: clamp(1rem, 4.4vw, 4rem);
  --dock-h: 0px;
  --wrap-w: min(76rem, calc(100% - 2 * var(--gut)));
  --sect: clamp(4.5rem, 8.5vw, 8.5rem);
}

html { background: var(--walnut-deep); scroll-padding-top: 1rem; scroll-padding-bottom: var(--dock-h); }
body { background: var(--linen); color: var(--ink); font-family: var(--sc-font-text); font-weight: 400; font-size: 1.0625rem; line-height: 1.62; }
::selection { background: var(--walnut); color: #fff; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gut); top: -4rem; z-index: 200; background: var(--card); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--sc-r-sm); }
.skip:focus { top: 0.5rem; }
p, figure, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: var(--wrap-w); margin-inline: auto; }

/* ------------------------------------------------------------------ type -- */
.h2 {
  font: 400 clamp(2.2rem, 1.3rem + 2.7vw, 4rem)/1.04 var(--sc-font-display);
  letter-spacing: -0.01em; text-wrap: balance; max-width: 18ch;
}
.h3 { font: 700 0.72rem/1.25 var(--sc-font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); }
.lede { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); line-height: 1.62; max-width: 56ch; text-wrap: pretty; }
.small { font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }
.credit { font-size: 0.74rem; font-style: normal; letter-spacing: 0.03em; color: var(--ink-soft); }
.plain li { padding: 0.32rem 0; border-bottom: 1px solid var(--hair); }
.plain li b { font-weight: 700; white-space: nowrap; margin-left: 0.35rem; color: var(--amber); }
/* the degree line, which opens each degree of privacy: a small slatted mark */
.degree { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; font: italic 400 clamp(1.15rem, 1rem + 0.5vw, 1.45rem)/1.2 var(--sc-font-display); color: var(--amber); }
.degree--lt { color: var(--amber-lt); }
.degree__mark { flex: none; width: 1.55rem; height: 1rem; background: repeating-linear-gradient(to right, currentColor 0 3px, transparent 3px 6px); opacity: 0.9; }
.link-arrow {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
  font-weight: 700; text-decoration: underline; text-decoration-color: var(--amber-lt); text-decoration-thickness: 1.5px; text-underline-offset: 0.3em;
}
.link-arrow::after { content: " \2192"; }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { text-decoration-thickness: 2.5px; } }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.8rem 1.6rem;
  background: var(--walnut); color: #fff;
  font: 700 0.8rem/1 var(--sc-font-text); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  box-shadow: var(--sc-e1);
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out);
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--walnut-3); } }
.btn--block { width: 100%; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.05rem; font-size: 0.72rem; }

/* ---------------------------------------------------------------- frames -- */
.frame { position: relative; overflow: hidden; border-radius: var(--sc-r-md); background: var(--linen-2); box-shadow: var(--sc-e2); }
.frame > img, .frame__move > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame__move { height: calc(100% + 44px); margin-top: -22px; will-change: transform; }
figure.frame { display: grid; }
figure.frame > figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1rem 0.8rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; flex-wrap: wrap;
  font-size: 0.86rem; color: #fff; background: linear-gradient(to top, rgb(26 17 11 / 0.86) 0, rgb(26 17 11 / 0.5) 48%, rgb(26 17 11 / 0) 100%);
}
figure.frame > figcaption .credit { color: rgb(255 255 255 / 0.85); }
.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; text-align: left; }
.zoom > img { display: block; width: 100%; height: auto; }
.zoom__hint {
  position: absolute; right: 0.75rem; bottom: 0.75rem; padding: 0.45rem 0.85rem; border-radius: 2px;
  background: rgb(58 40 29 / 0.92); color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
}
@media (hover: hover) and (pointer: fine) {
  .zoom > img { transition: transform 420ms var(--sc-ease-out); }
  .zoom:hover > img { transform: scale(1.012); }
}
[data-wipe] { will-change: clip-path; }

/* =============================================================== TOP BAR == */
.topbar {
  position: fixed; z-index: 60; top: 0; left: 0; right: 0; pointer-events: none;
  display: flex; justify-content: flex-end; align-items: center; padding: 1rem var(--gut);
}
.topbar > * { pointer-events: auto; }
.topbar__book { box-shadow: 0 6px 18px -8px rgb(26 17 11 / 0.5); }
.topbar.is-dark .topbar__book { background: var(--amber-lt); color: var(--walnut-deep); }

/* ===================================================== THE LOUVRE INDEX == */
/* Fixed at the lower left: a column of timber blades, one per section. The
   blades of sections you have passed turn open (edge on), the one you are in
   is lit amber, those ahead stay shut. */
.louvre-ix { position: fixed; z-index: 60; left: var(--gut); bottom: 1.1rem; display: flex; align-items: flex-end; gap: 0.6rem; }
.louvre-ix__book { display: none; }
.louvre-ix__open {
  display: flex; align-items: flex-end; gap: 0.85rem; padding: 0.7rem 1.05rem 0.65rem 0.75rem; cursor: pointer; text-align: left;
  background: rgb(252 249 244 / 0.84); border: 1px solid rgb(43 31 23 / 0.12); border-radius: 4px;
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 12px 30px -16px rgb(26 17 11 / 0.55);
  transition: background-color 200ms var(--sc-ease-out), border-color 200ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .louvre-ix__open:hover { background: rgb(252 249 244 / 0.96); border-color: var(--amber-lt); } }
.louvre-ix__blades { display: grid; gap: 3px; width: 34px; perspective: 160px; padding: 2px 0; }
.ixb { display: block; height: 6px; border-radius: 1px; background: linear-gradient(to bottom, var(--walnut-3), var(--walnut)); transform: rotateX(0deg); transition: transform 520ms cubic-bezier(.3, 1.2, .4, 1), background-color 300ms var(--sc-ease-out), box-shadow 300ms var(--sc-ease-out); }
.ixb.is-open { transform: rotateX(74deg); background: linear-gradient(to bottom, #9C8068, #6E5241); }
.ixb.is-here { transform: rotateX(0deg); background: linear-gradient(to bottom, var(--amber-glow), var(--amber-lt)); box-shadow: 0 0 10px -1px rgb(224 170 98 / 0.8); }
.louvre-ix__read { display: grid; gap: 0.15rem; padding-bottom: 0.1rem; min-width: 9rem; }
.louvre-ix__deg { font: italic 400 0.95rem/1.15 var(--sc-font-display); color: var(--amber); }
.louvre-ix__sec { font: 500 1.12rem/1.2 var(--sc-font-display); color: var(--ink); max-width: 13rem; }

/* ================================================================= HERO == */
/* The street view (5401 x 2678) in a box of its own proportions at the foot
   of the stage; the sky plane is 30% taller and stands on the same foot. */
.hero { position: relative; height: 100svh; min-height: 36rem; overflow: hidden; background: #D9E4EE; color: #fff; }
.hero__stage { position: absolute; inset: 0; }
.hero__world { --ww: max(100vw, calc(100svh * 2.0168)); position: absolute; left: 50%; bottom: 0; width: var(--ww); aspect-ratio: 5401 / 2678; translate: -54% 0; }
.hero__plane { position: absolute; left: 0; width: 100%; will-change: transform; }
.hero__plane img { display: block; width: 100%; height: auto; }
.hero__sky { bottom: 0; }
.hero__mid, .hero__near { top: 0; }
.hero__name { position: absolute; left: 50%; top: 7.5svh; width: min(36rem, 38vw); translate: -50% 0; will-change: transform; filter: drop-shadow(0 1px 1px rgb(255 255 255 / 0.5)); }
.hero__name img { display: block; width: 100%; height: auto; }
.hero__scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(to top, rgb(32 21 14 / 0.84) 0, rgb(32 21 14 / 0.5) 42%, rgb(32 21 14 / 0) 100%); pointer-events: none; }
.hero__copy { position: absolute; right: var(--gut); bottom: clamp(1.5rem, 5svh, 3rem); z-index: 3; display: grid; gap: 0.6rem; max-width: 34rem; color: #fff; text-align: right; justify-items: end; }
.hero__tag { font: italic 400 clamp(1.6rem, 1.15rem + 1.4vw, 2.5rem)/1.12 var(--sc-font-display); }
.hero__lede { font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem); line-height: 1.55; max-width: 46ch; color: rgb(255 255 255 / 0.93); text-shadow: 0 1px 12px rgb(0 0 0 / 0.35); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.75rem 1.5rem; margin-top: 0.6rem; }
.hero__cta .btn { background: var(--amber-lt); color: var(--walnut-deep); }
@media (hover: hover) and (pointer: fine) { .hero__cta .btn:hover { background: var(--amber-glow); } }
.hero__link { color: #fff; }
.hero__credit { position: absolute; left: var(--gut); top: 0.7rem; z-index: 3; color: rgb(43 31 23 / 0.7); }
.hero__copy > * { animation: rise 900ms var(--sc-ease-out) both; }
.hero__copy > :nth-child(3) { animation-delay: 120ms; }
.hero__copy > :nth-child(4) { animation-delay: 240ms; }
.hero__name img { animation: settle 1500ms var(--sc-ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================= SECTIONS == */
.ground { position: relative; z-index: 1; }
.ground--linen { background: var(--linen); color: var(--ink); }
.ground--stone { background: var(--stone); color: var(--stone-ink); }
.ground--paper { background: var(--paper); color: var(--ink); }
.sec { padding: var(--sect) 0; }
.sec--tight { padding-top: 0; }

/* --- In Holland: the address --- */
.addr { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.addr__head .lede { margin-top: 1.1rem; }
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair-2); }
.tally li { display: grid; gap: 0.35rem; align-content: start; padding: 1.1rem 1.25rem 0.4rem 0; }
.tally li + li { padding-left: 1.25rem; border-left: 1px solid var(--hair); }
.tally b { font: 400 clamp(2.6rem, 1.8rem + 2.6vw, 4.4rem)/1 var(--sc-font-display); letter-spacing: -0.02em; color: var(--ink); }
.tally b small { font-size: 0.42em; margin-left: 0.08em; letter-spacing: 0; }
.tally span { font-size: 0.92rem; line-height: 1.45; color: var(--ink-soft); max-width: 22ch; }
.addr__body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.addr__fig { aspect-ratio: 1800 / 1144; }
.addr__devname { margin-top: 0.6rem; font: 400 clamp(1.5rem, 1.25rem + 0.7vw, 2rem)/1.15 var(--sc-font-display); }
.addr__jv { margin-top: 0.5rem; }
.facts { display: grid; border-top: 1px solid var(--hair-2); margin-top: 1rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--hair); font-size: 0.94rem; }
.facts dt { color: var(--ink-soft); }
.facts dd { text-align: right; font-weight: 700; }
.sl { display: grid; grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.6fr); gap: 0.75rem clamp(1.5rem, 4vw, 3.5rem); align-items: end; padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--hair); }
.sl__text { font: 400 clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem)/1.45 var(--sc-font-display); }
.sl__text b { font-weight: 500; }
.sl__pics { display: grid; grid-template-columns: 1.15fr 1.15fr 0.85fr; gap: 0.6rem; align-items: end; }
.sl__pics img { display: block; width: 100%; height: auto; border-radius: var(--sc-r-sm); }
.sl .credit { grid-column: 2; }

/* --- In Holland: location --- */
.loc { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); }
.loc__head .lede { margin-top: 1.1rem; }
.loc__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.loc__map .zoom { border-radius: var(--sc-r-md); overflow: hidden; background: #fff; }
/* the map's own leader line enters at its left edge, level with the dot */
.loc__pin {
  position: absolute; left: 1.2%; top: 45.9%; translate: 0 -50%; padding: 0.3rem 0.65rem 0.32rem;
  background: var(--walnut); color: var(--wood-lt); font: 500 0.95rem/1 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: 0 6px 14px -6px rgb(0 0 0 / 0.5);
}
.loc__times { display: grid; gap: 1.4rem; }
.times { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.25rem 1rem; align-items: start; }
.times__mode i { display: inline-block; font: italic 400 1.2rem/1.4 var(--sc-font-display); color: var(--amber); }
.times ul { border-top: 1px solid var(--hair-2); }
.times li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.42rem 0; border-bottom: 1px solid var(--hair); font-size: 0.95rem; }
.times li b { font-weight: 700; white-space: nowrap; }
.loc__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.loc__col .h3 { margin-bottom: 0.7rem; }
.loc__col .plain { font-size: 0.95rem; }
.loc__col .small { margin-top: 0.7rem; }
.life { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.8rem, 1.8vw, 1.25rem); align-items: start; margin-top: clamp(1rem, 3vw, 2rem); }
.life__a { grid-column: 1 / span 5; grid-row: span 2; aspect-ratio: 1400 / 1106; }
.life__text { grid-column: 7 / span 6; align-self: end; padding-bottom: 0.5rem; }
.life__lede { margin: 0.7rem 0 0.9rem; font: 400 clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem)/1.3 var(--sc-font-display); max-width: 30ch; }
.life__text .plain { font-size: 0.95rem; }
.life__b { grid-column: 6 / span 3; aspect-ratio: 900 / 697; }
.life__c { grid-column: 9 / span 4; aspect-ratio: 1400 / 765; background: #fff; }
.pano { margin-top: clamp(3rem, 6vw, 5rem); }
.pano__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.pano img { display: block; width: 100%; height: auto; }
.pano figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; flex-wrap: wrap; margin-top: 0.7rem; font: italic 400 1.2rem/1.3 var(--sc-font-display); }

/* --- In Holland: nature --- */
.nat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem) clamp(2rem, 5vw, 4.5rem); align-items: start; }
.nat__head { grid-column: 1 / -1; }
.nat__head .lede { margin-top: 1.1rem; }
.nat__map .zoom { border-radius: var(--sc-r-md); overflow: hidden; }
.nat__map figcaption { margin-top: 0.5rem; }
.nat__list { border-top: 1px solid var(--hair-2); }
.nat__list li { display: grid; gap: 0.15rem; padding: 0.62rem 0; border-bottom: 1px solid var(--hair); }
.nat__list b { font: 500 1.22rem/1.2 var(--sc-font-display); }
.nat__list span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.nat__pics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.7rem, 1.6vw, 1.1rem); align-items: end; }
.np { position: relative; overflow: hidden; border-radius: var(--sc-r-md); background: var(--linen-2); }
.np img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 0.85rem 0.65rem; font-size: 0.84rem; line-height: 1.35; color: #fff; background: linear-gradient(to top, rgb(26 17 11 / 0.85), rgb(26 17 11 / 0)); }
.np--a { grid-column: 1 / span 3; aspect-ratio: 700 / 792; }
.np--b { grid-column: 4 / span 4; aspect-ratio: 900 / 699; }
.np--c { grid-column: 8 / span 5; aspect-ratio: 1000 / 684; }
.nat__credit { grid-column: 1 / -1; }

/* ================================================== THE GATE (THE PEAK) == */
/* Held for 4.2 screens. Behind the louvre wall, the view (the arrival, then
   the lap pool). The wall is a row of 3D blades: walnut fronts carrying the
   words, timber edges, backs carrying slices of the thermal bath. */
.gate { position: relative; z-index: 2; height: 420svh; background: var(--walnut-deep); }
.gate__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--walnut-deep); }
.gate__view, .gate__view img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.gate__view img { object-fit: cover; }
.gate__view--a img { object-position: 50% 62%; }
.gate__view--b img { object-position: 50% 60%; }
.gate__view--b { visibility: hidden; }
.gate__view--t { display: none; }
.gate.is-b .gate__view--a { visibility: hidden; }
.gate.is-b .gate__view--b { visibility: visible; }
.gate__face { position: absolute; inset: 0; background: var(--walnut) url("assets/walnut-1400.webp") center / cover; color: var(--wood-lt); }
.gate.is-live .gate__stage > .gate__face { display: none; }
.gate__words { position: absolute; left: var(--gut); top: clamp(5rem, 15svh, 9rem); max-width: 34rem; }
.gate__words .lede { margin-top: 1.1rem; }
.gate__words--a .h2 { color: #fff; max-width: 15ch; }
.gate__words--a .lede { color: rgb(234 220 201 / 0.92); }
.gate__words--b, .gate__words--t, .gate__words--c { opacity: 0; color: #fff; will-change: opacity, transform; z-index: 3; }
.gate__words--b { top: auto; left: auto; right: var(--gut); bottom: clamp(2.6rem, 8svh, 4.6rem); text-align: right; }
.gate__words--b .h3 { color: var(--amber-glow); }
.gate__cap { margin-top: 0.5rem; font: italic 400 clamp(1.4rem, 1.1rem + 1vw, 2.1rem)/1.2 var(--sc-font-display); text-shadow: 0 2px 20px rgb(0 0 0 / 0.5); }
.gate__words--t .h2, .gate__words--c .h2 { text-shadow: 0 2px 26px rgb(0 0 0 / 0.45); }
.gate__words--t .lede, .gate__words--c .lede { color: rgb(255 255 255 / 0.94); text-shadow: 0 1px 14px rgb(0 0 0 / 0.5); }
.gate__words--b::before, .gate__words--t::before, .gate__words--c::before { content: ""; position: absolute; inset: -3rem -5rem -3rem -10rem; z-index: -1; background: radial-gradient(ellipse at 35% 50%, rgb(20 13 8 / 0.62), rgb(20 13 8 / 0) 70%); }
.gate__words--b::before { inset: -3rem -10rem -3rem -5rem; background: radial-gradient(ellipse at 65% 50%, rgb(20 13 8 / 0.62), rgb(20 13 8 / 0) 70%); }
.gate__words--t::before { background: radial-gradient(ellipse at 38% 50%, rgb(26 17 10 / 0.8), rgb(26 17 10 / 0.45) 45%, rgb(26 17 10 / 0) 72%); }
.gate__credit { position: absolute; right: var(--gut); bottom: 0.7rem; z-index: 3; color: rgb(255 255 255 / 0.85); text-shadow: 0 1px 6px rgb(0 0 0 / 0.6); }

.louvre { position: absolute; inset: 0; display: flex; perspective: 2400px; perspective-origin: 50% 45%; }
.bl { --a: 0deg; position: relative; flex: 1 0 0; transform-style: preserve-3d; transform: rotateY(var(--a)); will-change: transform; }
.bl__f, .bl__b, .bl__e { position: absolute; top: 0; bottom: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.bl__f, .bl__b { left: 0; right: 0; }
.bl__f { transform: translateZ(var(--t)); }
.bl__b { transform: rotateY(180deg) translateZ(var(--t)); background: var(--walnut); }
.bl__e { left: calc(50% - var(--t)); width: calc(2 * var(--t)); background: linear-gradient(to bottom, #6E4E39, #4A3326 60%, #3A281D); }
.bl__e--r { transform: rotateY(90deg) translateZ(var(--hb)); }
.bl__e--l { transform: rotateY(-90deg) translateZ(var(--hb)); }
.bl__in { position: absolute; top: 0; height: 100%; width: var(--sw); left: calc(var(--i) * var(--bw) * -1); }
.bl__f .bl__in { background: var(--walnut) url("assets/walnut-1400.webp") center / cover; color: var(--wood-lt); }
.bl__b .bl__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
/* light falls across a blade as it turns */
.bl__f::after, .bl__b::after { content: ""; position: absolute; inset: 0; background: rgb(12 7 4 / var(--sh, 0)); pointer-events: none; }
.bl__f::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 1px; background: rgb(255 230 200 / 0.08); z-index: 1; }

/* --- the grounds --- */
.gr__head .lede { margin-top: 1.1rem; }
.gr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.8rem, 1.8vw, 1.25rem); margin-top: clamp(2rem, 4vw, 3rem); align-items: start; }
.gr .frame { background: var(--stone-2); }
.gr__a { grid-column: 1 / span 8; grid-row: span 2; aspect-ratio: 2200 / 1567; }
.gr__b { grid-column: 9 / span 2; aspect-ratio: 809 / 1170; }
.gr__c { grid-column: 11 / span 2; aspect-ratio: 700 / 1140; }
.gr__g { grid-column: 9 / span 4; aspect-ratio: 700 / 520; }
.gr__g img { object-position: 50% 35%; }
.gr__d { grid-column: 1 / span 7; aspect-ratio: 2200 / 1261; }
.gr__e { grid-column: 8 / span 5; aspect-ratio: 2000 / 1148; align-self: end; }
.gr__f { grid-column: 3 / span 10; aspect-ratio: 2000 / 706; }
.gr__b figcaption, .gr__c figcaption { font-size: 0.78rem; padding-inline: 0.7rem; }
.golden-wide { position: relative; margin-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.golden-wide img { display: block; width: 100%; height: auto; }
.golden-wide figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; flex-wrap: wrap; margin-top: 0.8rem; font-size: 0.95rem; }
.golden-wide figcaption b { font: italic 400 1.3rem/1.3 var(--sc-font-display); margin-right: 0.4rem; }

/* --- the grounds: site plan --- */
.sp { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.sp__head .lede { margin-top: 1.1rem; }
.sp__panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.sp__sheet { position: relative; border-radius: var(--sc-r-md); overflow: hidden; background: #E3EBD2; box-shadow: var(--sc-e2); }
.sp__img img { display: block; width: 100%; height: auto; }
.sp__rings { position: absolute; inset: 0; pointer-events: none; }
.sp__rings i { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 3.2%; aspect-ratio: 1; min-width: 15px; border-radius: 50%; translate: -50% -50%; box-shadow: 0 0 0 2px var(--amber-lt), 0 0 0 7px rgb(224 170 98 / 0.45); opacity: 0; scale: 1.8; transition: opacity 180ms var(--sc-ease-out), scale 260ms var(--sc-ease-out); }
.sp__rings i.is-on { opacity: 1; scale: 1.15; }
.sp__credit { position: absolute; right: 0.5rem; bottom: 0.4rem; padding: 0.1rem 0.4rem; border-radius: 2px; background: rgb(26 17 11 / 0.62); color: #fff !important; }
.sp__deck { margin: 0 0 0.45rem; font: italic 400 1.15rem/1.2 var(--sc-font-display); color: var(--amber); }
.sp__legend + .sp__deck { margin-top: 1.2rem; }
.sp__legend { columns: 2; column-gap: 1.5rem; border-top: 1px solid var(--hair-2); }
.sp__legend li { break-inside: avoid; display: grid; grid-template-columns: 1.9rem 1fr; align-items: baseline; padding: 0.34rem 0.35rem; border-bottom: 1px solid var(--hair); font-size: 0.92rem; line-height: 1.32; cursor: default; border-radius: 2px; transition: background-color 140ms var(--sc-ease-out); }
.sp__legend li::before { content: attr(data-n); font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }
.sp__legend li.is-on { background: rgb(224 170 98 / 0.32); }
.sp__legend li:focus-visible { outline-offset: 0; }
.sp__other { margin-top: 1rem; }

/* --- at home --- */
.homes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.homes__head { grid-column: 1 / -1; }
.homes__head .lede { margin-top: 1.1rem; }
.homes__view { grid-column: 1 / span 7; aspect-ratio: 2000 / 1376; }
.homes__bed { grid-column: 8 / span 3; aspect-ratio: 1100 / 1535; margin-top: clamp(2rem, 6vw, 5rem); }
.homes__brands { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--hair-2); }
.brands { display: block; width: 100%; max-width: 32rem; height: auto; mix-blend-mode: multiply; opacity: 0.85; }
.smart { columns: 2; column-gap: 2rem; font-size: 0.93rem; }
.smart li { break-inside: avoid; padding: 0.32rem 0 0.32rem 1.15rem; border-bottom: 1px solid var(--hair); position: relative; }
.smart li::before { content: ""; position: absolute; left: 0; top: 0.78rem; width: 0.55rem; height: 0.4rem; background: repeating-linear-gradient(to right, var(--amber) 0 2px, transparent 2px 4px); }
.brochure { grid-column: 1 / -1; }
.brochure__card {
  display: inline-grid; grid-template-columns: 6.4rem auto; gap: 1.1rem; align-items: center; padding: 0.7rem 1.4rem 0.7rem 0.7rem;
  background: var(--card); border: 1px solid var(--hair-2); border-radius: var(--sc-r-md); text-decoration: none; box-shadow: var(--sc-e1);
  transition: border-color 160ms var(--sc-ease-out), transform 160ms var(--sc-ease-out);
}
.brochure__card img { display: block; width: 100%; height: auto; border-radius: 1px; }
.brochure__text { display: grid; gap: 0.2rem; }
.brochure__text b { font: 400 1.4rem/1.15 var(--sc-font-display); }
.brochure__text b::after { content: " \2193"; font-family: var(--sc-font-text); font-size: 0.9em; }
.brochure__text span { font-size: 0.86rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .brochure__card:hover { border-color: var(--amber); transform: translateY(-2px); } }

/* --- at home: floor plans --- */
.plans__head { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.plans__head .lede { margin-top: 1rem; }
.plans .filter { margin-bottom: 1.1rem; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 0.75rem; }
.types li[hidden] { display: none; }
.type {
  width: 100%; height: 100%; display: grid; grid-template-columns: 5.6rem 1fr; gap: 0.95rem; align-items: center; text-align: left;
  padding: 0.7rem 0.85rem 0.7rem 0.7rem; border-radius: var(--sc-r-md); cursor: pointer;
  background: var(--card); border: 1px solid var(--hair); color: var(--ink);
  transition: border-color 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.type:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .type:hover { border-color: var(--amber); background: #fff; } }
.type__thumb { position: relative; width: 5.6rem; height: 5.6rem; border-radius: 2px; background: #fff; overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair); }
.type__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; transform: scale(1.7); }
.type__name { display: flex; align-items: center; gap: 0.5rem; font: 500 1.35rem/1.15 var(--sc-font-display); }
.type__name i { width: 0.7rem; height: 0.7rem; border-radius: 1px; flex: none; }
.type__meta { display: block; margin-top: 0.2rem; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.type__left { display: inline-block; margin-top: 0.4rem; font-size: 0.82rem; font-weight: 700; color: var(--amber); }
.plans__dl { margin-top: 1.5rem; }

/* --- at home: availability --- */
.avail__head { margin-bottom: 1.6rem; }
.avail__head .lede { margin-top: 1rem; }
.avail__num { color: var(--amber); }
.avail__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.avail__asat { max-width: 48ch; }
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter button {
  min-height: 2.6rem; padding: 0.5rem 1rem; border-radius: 2px; cursor: pointer;
  background: transparent; border: 1px solid var(--hair-2); color: var(--ink); font-size: 0.92rem;
  transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out);
}
.filter button span { color: var(--ink-soft); margin-left: 0.15rem; }
.filter [aria-checked="true"] { background: var(--walnut); border-color: var(--walnut); color: #fff; }
.filter [aria-checked="true"] span { color: rgb(255 255 255 / 0.75); }
@media (hover: hover) and (pointer: fine) { .filter button:hover { border-color: var(--amber); } }
/* the estate as the chart and the site plan lay it out: 52, 50, 48 along the
   north; 38, 40, 42, 44 in the middle; 36, 34, 32, 30 along Holland Plain */
.estate { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.1rem, 2.4vw, 2rem) clamp(0.9rem, 2vw, 1.6rem); align-items: end; }
.blk { min-width: 0; }
.blk--key { grid-column: 4; align-self: stretch; display: grid; align-content: end; }
.blk__name { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.45rem; font: 500 1.08rem/1.2 var(--sc-font-display); }
.blk__name small { font: 700 0.7rem/1 var(--sc-font-text); color: var(--ink-soft); letter-spacing: 0.04em; }
.blk__grid { display: grid; grid-template-columns: 1.4rem repeat(var(--n), minmax(0, 1fr)); gap: 2px; }
.blk--s2 .blk__grid { max-width: 62%; }
.blk__lvl { display: grid; place-items: center end; padding-right: 0.3rem; font-size: 0.62rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.blk__stack { text-align: center; font-size: 0.62rem; color: var(--ink-soft); padding-top: 0.2rem; font-variant-numeric: tabular-nums; }
.uc { min-height: 1.45rem; border-radius: 1px; background: rgb(43 31 23 / 0.06); }
.uc--none { background: transparent; }
.uc--open {
  display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; font: 700 0.62rem/1 var(--sc-font-text); color: #fff;
  transition: transform 120ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.uc--open[data-bed="3"] { background: var(--b3); color: #fff; }
.uc--open[data-bed="4"] { background: var(--b4); }
.uc--open[data-bed="5"] { background: var(--b5); color: #2B1F17; }
.uc--open.is-dim { opacity: 0.12; }
.uc--open.is-hl { box-shadow: 0 0 0 2px var(--ink); position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) { .uc--open:hover { transform: scale(1.14); box-shadow: 0 0 0 2px var(--ink); position: relative; z-index: 2; } }
.estate__key { display: grid; gap: 0.5rem; font-size: 0.88rem; color: var(--ink-soft); padding: 1rem 1.1rem; border: 1px solid var(--hair-2); border-radius: var(--sc-r-md); background: rgb(255 255 255 / 0.5); }
.estate__key span { display: inline-flex; align-items: center; gap: 0.55rem; }
.estate__key i { width: 0.95rem; height: 0.95rem; border-radius: 1px; flex: none; }
.estate__key p { margin-top: 0.3rem; font-size: 0.82rem; line-height: 1.45; }
.avail__how { margin-top: 1.25rem; }

/* ============================================================ THE CLOSE == */
/* Your terrace at golden hour through half-turned louvres, the booking card
   beside it on the walnut. A sent booking turns the louvres shut. */
.close { position: relative; z-index: 1; overflow: hidden; color: var(--wood-lt); padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--walnut-deep) url("assets/walnut-1400.webp") center / cover; }
.close::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(32 21 14 / 0.55), rgb(32 21 14 / 0.82)); }
.book { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.book__screen { position: sticky; top: 2rem; height: min(46rem, calc(100svh - 4rem)); border-radius: var(--sc-r-md); overflow: hidden; background: var(--walnut); box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.7); }
.book__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.slats { position: absolute; inset: 0; display: flex; perspective: 1400px; }
.slat { flex: 1 0 0; transform: rotateY(var(--sa, 66deg)); transform-style: preserve-3d; transition: transform 1100ms cubic-bezier(.5, 0, .2, 1); transition-delay: calc(var(--i) * 70ms); }
.slat::before { content: ""; position: absolute; inset: 0; background: url("assets/walnut-1400.webp") calc(var(--i) * -48px) 50% / 900px auto, var(--walnut); box-shadow: inset 2px 0 0 rgb(255 225 190 / 0.1), inset -3px 0 6px rgb(0 0 0 / 0.35); }
.book__screen.is-shut .slat { --sa: 0deg !important; }
.book__credit { position: absolute; right: 0.7rem; bottom: 0.5rem; color: rgb(255 255 255 / 0.85) !important; text-shadow: 0 1px 6px rgb(0 0 0 / 0.6); }
.book__side { display: grid; gap: 1.6rem; }
.book__intro .lede { margin-top: 1rem; color: rgb(234 220 201 / 0.9); }
.book__title { color: #fff; }
.book__facts { margin-top: 1.4rem; border-top: 1px solid var(--hair-w2); }
.book__facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--hair-w); font-size: 0.95rem; }
.book__facts dt { color: var(--wood-soft); }
.book__facts a { text-decoration-color: var(--amber-lt); text-underline-offset: 0.25em; }

/* ----------------------------------------------------- the booking card -- */
.card { background: var(--card); color: var(--ink); border-radius: var(--sc-r-lg); }
.tb { position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgb(242 201 138 / 0.25), 0 30px 60px -20px rgb(0 0 0 / 0.7); }
.tb > * { border-top: 1px solid var(--hair-2); }
.tb > :first-child, .tb > input, .tb > .hp { border-top: 0; }
.tb__head { padding: 1.4rem 1.5rem 1.1rem; border-top: 0 !important; box-shadow: inset 0 3px 0 var(--amber-lt); }
.tb__title { font: italic 400 1.9rem/1.1 var(--sc-font-display); color: var(--ink); }
.tb__sub { margin-top: 0.45rem; font-size: 0.93rem; color: var(--ink-soft); }
.tb__interest { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.5rem; background: #F1E6D6; font-size: 0.92rem; }
.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.5rem; min-width: 0; }
.when__legend { padding: 0; margin-bottom: 1rem; float: left; width: 100%; font: 700 0.72rem/1.2 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.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.85rem; min-height: 3.6rem;
  background: #fff; border: 1px solid var(--hair-2); border-radius: var(--sc-r-sm); cursor: pointer; color: var(--ink);
  transition: border-color 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out);
}
.when__n { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.when__v { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.when__tabs button.is-set .when__v { color: var(--ink); }
.when__tabs [aria-selected="true"] { border-color: var(--walnut); box-shadow: inset 0 -3px 0 var(--amber-lt); }
@media (hover: hover) and (pointer: fine) { .when__tabs button:hover { border-color: var(--walnut); } }
.when__month { font-size: 0.92rem; font-weight: 700; 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.72rem; 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: 600 0.92rem/1 var(--sc-font-text); color: var(--ink);
  background: #fff; border: 1px solid var(--hair-2); border-radius: var(--sc-r-sm);
  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 { font-size: 0.6rem; letter-spacing: 0.06em; 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:hover { border-color: var(--walnut); } }
.when__dates [aria-checked="true"], .when__times [aria-checked="true"] { background: var(--walnut); border-color: var(--walnut); color: #fff; }
.when__dates [aria-checked="true"] .m { color: rgb(255 255 255 / 0.8); }
.when__dates button[data-other]::after { content: ""; position: absolute; left: 50%; bottom: 0.26rem; width: 0.3rem; height: 0.3rem; margin-left: -0.15rem; border-radius: 50%; background: var(--amber-lt); }
.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.5rem 0.95rem; min-width: 0; }
.field + .field { border-left: 1px solid var(--hair-2); }
.field--wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--hair-2); }
.field label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.45rem; }
.field input {
  width: 100%; min-height: 2.9rem; padding: 0.65rem 0.8rem;
  background: #FCFBF8; border: 1px solid rgb(43 31 23 / 0.32); border-radius: var(--sc-r-sm);
  font: 400 1rem/1.2 var(--sc-font-text); color: var(--ink);
  transition: border-color 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out);
}
.field input::placeholder { color: color-mix(in oklab, var(--ink-soft) 85%, transparent); }
.field input:focus-visible { border-color: var(--walnut); background: #fff; outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #A3342A; }
.field__error { margin: 0.35rem 0 0; font-size: 0.88rem; color: #A3342A; }
.field__error:empty { display: none; }
.tb__submit { padding: 1.25rem 1.5rem 1rem; }
.tb .btn { background: var(--walnut); color: #fff; }
@media (hover: hover) and (pointer: fine) { .tb .btn:hover { background: var(--walnut-3); } }
.tb__fineprint { margin-top: 1rem; font-size: 0.82rem; line-height: 1.55; color: var(--ink-soft); text-align: center; text-wrap: pretty; }
.tb__status { padding: 1rem 1.5rem; font-size: 0.93rem; }
.tb__status.is-ok { background: #F1E8DA; color: #3A281D; }
.tb__status.is-wait { background: #EFEBE4; color: var(--ink); }
.tb__status.is-err { background: #F6E3DC; color: #7A2A14; }
.tb__status a { color: inherit; font-weight: 700; }
.tb__status:focus { outline: none; }
.tb.is-sending > :not([data-status]):not(.tb__head), .tb.is-done > :not([data-status]):not(.tb__head) { display: none; }
.tb.is-sending .tb__status, .tb.is-done .tb__status { padding: 2rem 1.75rem; font-size: 1.1rem; line-height: 1.55; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------- footer -- */
.foot { position: relative; z-index: 1; padding: 2.25rem var(--gut) calc(2.75rem + var(--dock-h)); font-size: 0.88rem; background: var(--walnut-deep); color: var(--wood-soft); border-top: 1px solid var(--hair-w); }
.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(--wood-lt); text-decoration-color: var(--amber-lt); text-underline-offset: 0.25em; }

/* ------------------------------------------------------------- dialogs -- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--card); box-shadow: var(--sc-e3); }
dialog::backdrop { background: rgb(20 13 8 / 0.64); }
.dlg-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1rem 0.9rem 1.4rem; border-bottom: 1px solid var(--hair); }
.dlg-title { font: italic 400 1.45rem/1.2 var(--sc-font-display); color: var(--ink); }
.dlg-close { min-height: 2.5rem; padding: 0.4rem 1rem; border-radius: 2px; cursor: pointer; background: var(--walnut); color: #fff; border: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.index-dlg { width: min(30rem, calc(100vw - 2rem)); border-radius: var(--sc-r-lg); max-height: min(48rem, calc(100svh - 2rem)); }
.index-dlg[open] { display: grid; grid-template-rows: auto 1fr; }
.index-dlg__list { padding: 0.4rem 1.1rem 1.1rem; overflow: auto; }
.ix__group { margin-top: 0.9rem; }
.ix__deg { padding: 0 0.4rem 0.35rem; font: italic 400 1.05rem/1.2 var(--sc-font-display); color: var(--amber); }
.index-dlg__list a { display: grid; grid-template-columns: 1.8rem 1fr; align-items: center; gap: 0.6rem; padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--hair); text-decoration: none; border-radius: 2px; }
.index-dlg__list a:hover, .index-dlg__list a.is-here { background: var(--linen); }
.index-dlg__list a.is-here .ix__name { color: var(--amber); }
.ix__b { width: 1.4rem; height: 0.42rem; justify-self: center; background: var(--walnut-3); border-radius: 1px; }
.is-here .ix__b { background: var(--amber-lt); }
.ix__name { font: 400 1.18rem/1.2 var(--sc-font-display); }
.plan-dlg { width: min(70rem, calc(100vw - 2rem)); height: min(54rem, calc(100svh - 2rem)); border-radius: var(--sc-r-lg); }
.plan-dlg[open] { display: grid; grid-template-rows: auto 1fr; }
.plan-dlg__body { display: grid; grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.5fr); min-height: 0; }
.plan-dlg__meta { padding: 1.25rem 1.4rem; overflow: auto; border-right: 1px solid var(--hair); }
.plan-dlg__meta .facts { margin-top: 0.75rem; }
.plan-dlg__meta .btn { margin-top: 1.25rem; width: 100%; }
.plan-dlg__meta .link-arrow { display: inline-block; margin-top: 0.9rem; }
.plan-dlg__units { margin-top: 1rem; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; max-height: 13rem; overflow: auto; }
.plan-dlg__units b { color: var(--ink); }
.plan-dlg__units button { margin: 0.2rem 0.3rem 0 0; padding: 0.3rem 0.6rem; border-radius: 2px; border: 1px solid var(--hair-2); background: #fff; cursor: pointer; font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-dlg__units button[aria-pressed="true"] { background: var(--walnut); color: #fff; border-color: var(--walnut); }
.plan-dlg__img { overflow: auto; background: #fff; display: grid; place-items: start center; }
.plan-dlg__img img { width: 100%; max-width: 64rem; height: auto; display: block; }
.viewer { width: calc(100vw - 2rem); height: calc(100svh - 2rem); max-width: none; max-height: none; border-radius: var(--sc-r-lg); }
.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) {
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tally li:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .addr__body, .loc__body, .sl { grid-template-columns: 1fr; }
  .sl .credit { grid-column: 1; }
  .loc__map { max-width: 44rem; }
  .loc__more { grid-template-columns: 1fr 1fr; }
  .nat { grid-template-columns: 1fr; }
  .sp__panel { grid-template-columns: 1fr; }
  .sp__sheet { max-width: 44rem; }
  .homes__brands { grid-template-columns: 1fr; }
  .estate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blk--key { grid-column: 1 / -1; }
  .book { grid-template-columns: 1fr; }
  .book__screen { position: relative; top: 0; height: 52svh; }
}

/* =============================================================== PHONE == */
@media (max-width: 860px) {
  :root { --dock-h: calc(4.1rem + env(safe-area-inset-bottom, 0px)); --sect: clamp(3.5rem, 12vw, 5rem); }
  .wrap { width: calc(100% - 2 * var(--gut)); }
  .topbar { display: none; }
  /* the louvre index becomes a dock at the foot: vertical blades in a row */
  .louvre-ix {
    left: 0; right: 0; bottom: 0; height: var(--dock-h); padding: 0 0.6rem env(safe-area-inset-bottom, 0px) 0.6rem; gap: 0.5rem;
    align-items: center; justify-content: space-between;
    background: rgb(252 249 244 / 0.93); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
    border-top: 1px solid var(--hair);
  }
  .louvre-ix__open { align-items: center; gap: 0.7rem; padding: 0.3rem 0.4rem; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; min-width: 0; }
  .louvre-ix__blades { grid-auto-flow: column; grid-template-rows: 1fr; width: auto; height: 34px; gap: 2px; perspective: 120px; padding: 0; }
  .ixb { width: 5px; height: 100%; background: linear-gradient(to right, var(--walnut-3), var(--walnut)); }
  .ixb.is-open { transform: rotateY(72deg); background: linear-gradient(to right, #9C8068, #6E5241); }
  .ixb.is-here { transform: none; background: linear-gradient(to right, var(--amber-glow), var(--amber-lt)); }
  .louvre-ix__read { min-width: 0; padding: 0; }
  .louvre-ix__sec { font-size: 1.02rem; max-width: 40vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .louvre-ix__deg { font-size: 0.84rem; }
  .louvre-ix__book { display: inline-flex; padding-inline: 0.95rem; }
  .hero { min-height: 33rem; }
  .hero__world { --ww: calc(80svh * 2.0168); translate: -66% 0; }
  .hero__name { width: 80vw; top: 8svh; }
  .hero__scrim { height: 56%; background: linear-gradient(to top, var(--walnut-deep) 0, var(--walnut-deep) 22%, rgb(32 21 14 / 0.62) 55%, rgb(32 21 14 / 0) 100%); }
  .hero__copy { left: var(--gut); bottom: calc(var(--dock-h) + 1rem); gap: 0.4rem; text-align: left; justify-items: start; }
  .hero__cta { justify-content: flex-start; }
  .hero__tag { font-size: 1.6rem; }
  .hero__lede { font-size: 0.96rem; }
  .hero__cta .btn { display: none; }
  .hero__credit { top: auto; bottom: calc(var(--dock-h) + 0.3rem); left: auto; right: var(--gut); color: rgb(255 255 255 / 0.75); }
  .tally li { padding-right: 0.75rem; }
  .tally li + li { padding-left: 0.75rem; }
  .facts div { flex-direction: column; gap: 0.1rem; }
  .facts dd { text-align: left; }
  .sl__pics { grid-template-columns: 1fr 1fr; }
  .sl__pics li:last-child { display: none; }
  .times { grid-template-columns: 1fr; }
  .loc__more { grid-template-columns: 1fr; }
  .loc__pin { font-size: 0.7rem; padding: 0.22rem 0.45rem; }
  .life { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .life__a, .life__text { grid-column: 1 / -1; grid-row: auto; }
  .life__b, .life__c { grid-column: span 1; }
  .life__c { aspect-ratio: 900 / 697; }
  .life__b figcaption .credit, .life__c figcaption .credit { display: none; }
  .life__b figcaption, .life__c figcaption { padding: 2rem 0.6rem 0.5rem; font-size: 0.76rem; }
  .pano__scroll img { width: 320%; max-width: none; }
  .nat__pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np--a { grid-column: 1; grid-row: span 2; align-self: stretch; aspect-ratio: auto; }
  .np--b, .np--c { grid-column: 2; }
  .np span { font-size: 0.76rem; padding: 1.6rem 0.55rem 0.45rem; }
  .gate { height: 380svh; }
  .gate__words { top: clamp(3rem, 9svh, 5rem); right: var(--gut); }
  .gate__words--b { top: auto; bottom: calc(var(--dock-h) + 2rem); }
  .gate__credit { bottom: calc(var(--dock-h) + 0.4rem); }
  .gr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr__a, .gr__d, .gr__e, .gr__f { grid-column: 1 / -1; grid-row: auto; }
  .gr__f { aspect-ratio: 16 / 9; }
  .gr__b, .gr__c { grid-column: span 1; }
  .gr__g { grid-column: 1 / -1; }
  .gr__b figcaption .credit, .gr__c figcaption .credit { display: none; }
  .golden-wide img { width: 150%; max-width: none; margin-left: -30%; }
  .sp__legend { columns: 1; }
  .homes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .homes__view { grid-column: 1 / -1; }
  .homes__bed { grid-column: 2 / span 4; margin-top: 0; }
  .smart { columns: 1; }
  .types { grid-template-columns: 1fr; }
  .estate { grid-template-columns: 1fr; gap: 1.4rem; }
  .blk--key { order: -1; }
  .blk--s2 .blk__grid { max-width: 55%; }
  .uc { min-height: 1.6rem; }
  .close { padding-top: 0; }
  .book { width: 100%; gap: 2rem; }
  .book__screen { height: 58svh; border-radius: 0; }
  .book__side { width: calc(100% - 2 * var(--gut)); margin-inline: auto; }
  .book__intro .h2 { font-size: 2.15rem; }
  .book__facts > div { grid-template-columns: 7.5rem 1fr; }
  .fields { grid-template-columns: 1fr; }
  .field + .field { border-left: 0; border-top: 1px solid var(--hair-2); }
  .when, .field, .tb__head, .tb__submit { padding-left: 1.1rem; padding-right: 1.1rem; }
  .when__dates button, .when__times button { min-height: 2.6rem; font-size: 0.86rem; }
  .plan-dlg__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow: auto; }
  .plan-dlg__meta { border-right: 0; border-bottom: 1px solid var(--hair); }
  .plan-dlg__img { overflow: visible; }
  .plan-dlg__units { max-height: none; }
}
@media (max-width: 380px) {
  .louvre-ix__deg { display: none; }
  .louvre-ix__sec { max-width: 34vw; }
}

/* ===================================== WITHOUT SCRIPT, OR REDUCED MOTION == */
/* No hold: the walnut screen with its words, then the arrival, the thermal
   bath and the lap pool stand one after the other, each with its words. */
.no-js [data-sc-in], .no-js [data-sc-stagger] > * { opacity: 1; transform: none; }
.no-js .louvre-ix__open, .no-js .filter, .no-js .avail__how { display: none !important; }
.nojs-note { margin-top: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .hero__plane, .hero__name, .frame__move { transform: none !important; }
  .hero__copy > *, .hero__name img { animation: none; }
  [data-wipe] { clip-path: none !important; }
  .ixb { transition: none; }
  .slat { transition: none; }
}
.gate.is-static { height: auto; }
.gate.is-static .gate__stage { position: relative; height: auto; display: grid; }
.gate.is-static .louvre { display: none; }
.gate.is-static .gate__face, .gate.is-static .gate__view { position: relative; inset: auto; height: 86svh; display: block; visibility: visible; }
.gate.is-static .gate__view img { position: absolute; }
.gate.is-static .gate__face, .no-js .gate__face { order: -1; }
.gate.is-static .gate__words { opacity: 1 !important; transform: none !important; }
.gate.is-static .gate__words--b { position: absolute; top: calc(86svh * 2 - 9rem); bottom: auto; }
.gate.is-static .gate__words--t { position: absolute; top: calc(86svh * 2 + clamp(3rem, 9svh, 6rem)); }
.gate.is-static .gate__words--c { position: absolute; top: calc(86svh * 3 + clamp(3rem, 9svh, 6rem)); }
.gate.is-static .gate__credit { display: none; }
.no-js .gate { height: auto; }
.no-js .gate__stage { position: relative; height: auto; display: grid; }
.no-js .gate__face, .no-js .gate__view { position: relative; inset: auto; height: 86svh; display: block; visibility: visible; }
.no-js .gate__view img { position: absolute; }
.no-js .gate__words { opacity: 1; }
.no-js .gate__words--b { position: absolute; top: calc(86svh * 2 - 9rem); bottom: auto; }
.no-js .gate__words--t { position: absolute; top: calc(86svh * 2 + 4rem); }
.no-js .gate__words--c { position: absolute; top: calc(86svh * 3 + 4rem); }
