/* The Orie: Unfolds.

   The page is one sheet of the brochure's papers (blush, navy, mauve) creased
   into facets: every section meets the next at an angled crease, never a
   level edge. It opens folded (the cover's gatefold), unfolds at its peak
   (the mark opens into the Club Orie) and folds once more when a booking is
   sent. Renders and photographs are never filtered or regraded. */

:root {
  font-variant-numeric: lining-nums;
  --paper: #FEF1E7;
  --paper-2: #F7E4D7;
  --paper-3: #EDD3C3;
  --ink: #2E2321;
  --ink-soft: #6C5953;
  --rust: #B33E27;               /* the wordmark's rust; carries text on blush */
  --rust-2: #9A3220;
  --ember: #E58A69;              /* rust that carries text on navy and mauve */
  --word: #D2583A;               /* the wordmark on dark grounds */
  --navy: #003046;
  --navy-2: #06394F;
  --navy-3: #0F4660;
  --night: #00202F;
  --sky: #10284A;                /* the render's sky at its top edge */
  --mauve: #6B524D;
  --mauve-2: #5F4844;
  --on-dark: #F6EBE3;
  --on-dark-soft: #C9B9B1;
  --on-navy-soft: #A9BECA;
  --card: #FFFBF7;
  --gold: #F1D98A;               /* the chart's 1-Bedroom + Study yellow */
  --hair: rgb(46 35 33 / 0.14);
  --hair-2: rgb(46 35 33 / 0.28);
  --hair-d: rgb(246 235 227 / 0.16);
  --hair-d2: rgb(246 235 227 / 0.32);

  --sc-canvas: var(--paper);
  --sc-surface: var(--card);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--rust);
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Gloock", "Didot", "Bodoni 72", Georgia, serif;
  --sc-font-text: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mono: "Inter Tight", system-ui, sans-serif;
  --sc-hairline: var(--hair);
  --sc-hairline-strong: var(--hair-2);
  --sc-shadow-color: 12 30% 10%;
  --sc-r-sm: 2px; --sc-r-md: 3px; --sc-r-lg: 6px;

  --gut: clamp(1rem, 4.4vw, 4rem);
  --bar-h: 0px;
  --wrap-w: min(76rem, calc(100% - 2 * var(--gut)));
  --sect: clamp(4.5rem, 8.5vw, 8.5rem);
  --crease: clamp(2rem, 4.6vw, 4.5rem);
}

html { background: var(--navy); scroll-padding-top: calc(var(--bar-h) + 1rem); }
body { background: var(--paper); color: var(--ink); font-family: var(--sc-font-text); font-weight: 400; font-size: 1.0625rem; line-height: 1.62; overflow-x: clip; }
::selection { background: var(--rust); 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; }
b, strong { font-weight: 600; }
.nw { white-space: nowrap; }
.wrap { width: var(--wrap-w); margin-inline: auto; }

/* ------------------------------------------------------------------ type -- */
/* the brochure's heavy display caps, two lines where it has two */
.h2 {
  font: 400 clamp(2.05rem, 1.15rem + 2.75vw, 3.9rem)/0.98 var(--sc-font-display);
  text-transform: uppercase; letter-spacing: -0.004em; text-wrap: balance; max-width: 17ch;
}
.h2__b { display: block; margin-top: 0.42em; color: var(--rust); }
.h3 { font: 600 0.74rem/1.25 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rust); }
.h3 small { font: inherit; letter-spacing: 0.08em; text-transform: none; color: var(--ink-soft); font-weight: 500; margin-left: 0.35rem; }
.h3--gap { margin-top: 1.6rem; }
.kicker { font: 600 0.74rem/1.3 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ember); margin-bottom: 0.9rem; }
.lede { font-size: clamp(1.07rem, 1rem + 0.3vw, 1.2rem); line-height: 1.62; max-width: 58ch; text-wrap: pretty; font-weight: 400; }
.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); }
.link-arrow {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--rust); 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; } }
.facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--hair); font-size: 0.95rem; }
.facts dt { color: var(--ink-soft); }
.facts dd { text-align: right; font-weight: 500; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.8rem 1.6rem;
  background: var(--rust); color: #fff;
  font: 600 0.82rem/1 var(--sc-font-text); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 0.7rem) 0, 100% 0.7rem, 100% 100%, 0 100%);
  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(--rust-2); } }
.btn--block { width: 100%; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.05rem; font-size: 0.72rem; clip-path: polygon(0 0, calc(100% - 0.5rem) 0, 100% 0.5rem, 100% 100%, 0 100%); }
.btn--light { background: var(--paper); color: var(--mauve-2); }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { background: #fff; } }

/* ---------------------------------------------------------------- frames -- */
.frame { position: relative; overflow: hidden; background: var(--paper-3); }
.frame > img, .frame__move > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.loc__town img { object-position: 50% 100%; }
.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(20 12 10 / 0.8) 0, rgb(20 12 10 / 0.45) 48%, rgb(20 12 10 / 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; background: none; }
.zoom > img { display: block; width: 100%; height: auto; }
.zoom__hint {
  position: absolute; right: 0.75rem; bottom: 0.75rem; padding: 0.45rem 0.85rem;
  background: rgb(0 48 70 / 0.92); color: #fff; font-size: 0.8rem; font-weight: 500; 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; }

/* ================================================================ FACETS == */
/* Every section after the hero is a facet of the one sheet: it lies over
   the one before it and meets it at a crease, rising one way or the other,
   with a soft fold shadow just below the crease. */
.facet {
  position: relative; margin-top: calc(-1 * var(--crease));
  padding: calc(var(--sect) + var(--crease)) 0 var(--sect);
  clip-path: polygon(0 var(--crease), 100% 0, 100% 100%, 0 100%);
}
.facet--r { clip-path: polygon(0 0, 100% var(--crease), 100% 100%, 0 100%); }
.facet::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--crease) * 3); pointer-events: none;
  background: linear-gradient(177.4deg, rgb(40 20 15 / 0.16) 0, rgb(40 20 15 / 0.05) 34%, rgb(40 20 15 / 0) 100%);
}
.facet--r::before { background: linear-gradient(182.6deg, rgb(40 20 15 / 0.16) 0, rgb(40 20 15 / 0.05) 34%, rgb(40 20 15 / 0) 100%); }
.facet--paper { background: var(--paper); color: var(--ink); }
.facet--paper:nth-of-type(odd) { background: var(--paper); }
.facet--mauve { background: var(--mauve); color: var(--on-dark); }
.facet--mauve .h2__b, .facet--mauve .h3 { color: var(--ember); }
.facet--mauve .small, .facet--mauve .credit { color: var(--on-dark-soft); }
.facet--mauve .plain li { border-color: var(--hair-d); }
.facet--mauve .h3 small { color: var(--on-dark-soft); }

/* ============================================================== THE MARK == */
/* Top left: the folded mark on a paper chip with one corner folded back.
   Its strokes light in rust as you read; the section is named beside it. */
.mark { position: fixed; z-index: 60; inset: 0 0 auto 0; pointer-events: none; display: flex; justify-content: space-between; align-items: flex-start; padding: 1rem var(--gut); }
.mark > * { pointer-events: auto; }
.mark__open {
  --m-off: rgb(179 62 39 / 0.2); --m-on: var(--rust);
  display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 1.25rem 0.55rem 0.7rem; cursor: pointer; border: 0;
  background: rgb(254 241 231 / 0.9); color: var(--ink); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  clip-path: polygon(0 0, calc(100% - 0.85rem) 0, 100% 0.85rem, 100% 100%, 0 100%);
  transition: background-color 260ms var(--sc-ease-out), color 260ms var(--sc-ease-out);
  text-align: left;
}
.mark__svg { display: block; width: 3.4rem; }
.mark__svg svg { display: block; width: 100%; height: auto; overflow: visible; }
.mark__svg path { fill: var(--m-off); transition: fill 320ms var(--sc-ease-out); }
.mark__svg path.on { fill: var(--m-on); }
.mark__read { display: grid; line-height: 1.15; }
.mark__name { font: 400 0.98rem/1.1 var(--sc-font-display); text-transform: uppercase; letter-spacing: 0.08em; }
.mark__sec { font-size: 0.82rem; color: var(--ink-soft); white-space: nowrap; }
.mark.is-dark .mark__open { --m-off: rgb(229 138 105 / 0.24); --m-on: var(--ember); background: rgb(0 40 59 / 0.82); color: var(--on-dark); }
.mark.is-dark .mark__sec { color: var(--on-navy-soft); }
.mark__book { box-shadow: 0 6px 18px -8px rgb(20 10 8 / 0.5); }
@media (hover: hover) and (pointer: fine) { .mark__open:hover .mark__name { color: var(--rust); } .mark.is-dark .mark__open:hover .mark__name { color: var(--ember); } }

/* the contents: a sheet that unfolds below the mark, pleat by pleat */
.sheet {
  position: absolute; top: calc(100% - 0.4rem); left: var(--gut); width: min(21rem, calc(100vw - 2 * var(--gut)));
  perspective: 900px; filter: drop-shadow(0 18px 30px rgb(20 10 8 / 0.28));
}
.sheet[hidden] { display: none; }
.sheet__title { padding: 0.9rem 1.1rem 0.6rem; background: var(--navy); color: var(--on-dark); font: 400 1rem/1.2 var(--sc-font-display); text-transform: uppercase; letter-spacing: 0.06em; transform-origin: 50% 0; }
.sheet__list li { transform-origin: 50% 0; }
.sheet__list a {
  display: flex; align-items: baseline; gap: 0.8rem; padding: 0.62rem 1.1rem; text-decoration: none;
  background: var(--paper); border-top: 1px solid var(--hair); color: var(--ink);
}
.sheet__list li:nth-child(even) a { background: var(--paper-2); }
.sheet__list a i { font: 600 0.68rem/1 var(--sc-font-text); letter-spacing: 0.1em; color: var(--rust); width: 1.4rem; font-style: normal; }
.sheet__list a span { font: 400 1.02rem/1.25 var(--sc-font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.sheet__list a.is-here { box-shadow: inset 3px 0 0 var(--rust); }
.sheet__list a:hover { background: #fff; }
.sheet.is-open .sheet__title, .sheet.is-open li { animation: pleat 420ms var(--sc-ease-out) both; animation-delay: calc(var(--i, 0) * 38ms); }
@keyframes pleat { from { transform: rotateX(-92deg); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }

/* ================================================================= HERO == */
/* The cover's gatefold over the dusk render. The leaves turn on hinges at
   the screen's edges (--a, set by the page); the planes (--py, --px) part as
   you scroll. */
.hero { position: relative; height: 165svh; background: var(--sky); }
.hero__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--sky); color: var(--on-dark); }
.hero__scene { position: absolute; inset: 0; }
.hero__plane {
  --pw: max(104vw, 118svh);
  position: absolute; left: 50%; top: calc(var(--pw) / 1.1517 * -0.055); width: var(--pw); margin-left: calc(var(--pw) * -0.47);
  will-change: transform;
}
.hero__plane img { display: block; width: 100%; height: auto; }
/* above the render, its own top row of sky carried upward (the picture's
   first row stretched), so there is never a seam where the picture starts */
.hero__far::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 70svh; background: url(assets/hero-far-1300.webp) 50% 0 / 100% 200000% no-repeat; }
.hero__glow {
  position: absolute; inset: 0; will-change: transform, opacity;
  background: radial-gradient(60% 34% at 62% 60%, rgb(255 178 128 / 0.16), rgb(255 178 128 / 0) 70%);
}
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgb(0 30 45 / 0.82) 0, rgb(0 30 45 / 0.55) 22%, rgb(0 30 45 / 0) 40%),
    linear-gradient(to top, rgb(0 30 45 / 0.6) 0, rgb(0 30 45 / 0) 26%);
}
.leaves { position: absolute; inset: 0; perspective: max(900px, 105vw); perspective-origin: 50% 46%; pointer-events: none; }
.leaf { position: absolute; top: 0; bottom: 0; width: 50.2%; transform-style: preserve-3d; will-change: transform; }
/* the leaves open toward you, as a gatefold does, and swing out past the screen's edges */
.leaf--l { left: 0; transform-origin: 0 50%; transform: rotateY(calc(var(--a, 0deg) * -1)); }
.leaf--r { right: 0; transform-origin: 100% 50%; transform: rotateY(var(--a, 0deg)); }
.leaf__face { position: absolute; inset: 0; background: var(--navy); overflow: hidden; backface-visibility: hidden; }
.leaf--l .leaf__face { box-shadow: inset -1px 0 0 rgb(201 216 224 / 0.25); }
.leaf--r .leaf__face { box-shadow: inset 1px 0 0 rgb(201 216 224 / 0.25); }
.leaf__pleats { position: absolute; inset: 0; width: 100%; height: 100%; }
.leaf--l .leaf__pleats { transform: scaleX(-1); }
.leaf__shade { position: absolute; inset: 0; opacity: var(--sh, 0); }
.leaf--l .leaf__shade { background: linear-gradient(to right, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.4)); }
.leaf--r .leaf__shade { background: linear-gradient(to left, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.4)); }
.leaves.is-gone { visibility: hidden; }
.hero__copy {
  position: absolute; left: var(--gut); top: 50%; width: min(25rem, 31vw); transform: translateY(-46%);
  display: grid; gap: 1rem; will-change: transform, opacity;
}
.hero__name { margin: 0 0 0.4rem; color: var(--word); }
.hero__name svg { display: block; width: min(16rem, 26vw); height: auto; }
.hero__tag { font: 400 clamp(1.5rem, 1rem + 1.2vw, 2.15rem)/1.02 var(--sc-font-display); text-transform: uppercase; color: var(--on-dark); text-wrap: balance; }
.hero__lede { font-size: 1rem; line-height: 1.55; color: rgb(246 235 227 / 0.88); }
.hero__lede b { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; margin-top: 0.3rem; }
.hero__cta .link-arrow { color: var(--on-dark); text-decoration-color: var(--ember); }
.hero__credit { position: absolute; right: var(--gut); bottom: 0.7rem; color: rgb(255 255 255 / 0.7); }
.hero.is-intro .hero__copy > * { animation: rise 900ms var(--sc-ease-out) both; }
.hero.is-intro .hero__copy > :nth-child(2) { animation-delay: 120ms; }
.hero.is-intro .hero__copy > :nth-child(3) { animation-delay: 220ms; }
.hero.is-intro .hero__copy > :nth-child(4) { animation-delay: 320ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================= DEVELOPER == */
.dev__head { display: grid; gap: 1.4rem; }
.tally { margin: clamp(2.5rem, 5vw, 4rem) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair-2); }
.tally li { padding: 1.1rem 1.2rem 0 0; }
.tally li + li { padding-left: 1.2rem; border-left: 1px solid var(--hair); }
.tally b { display: block; font: 400 clamp(2.4rem, 1.6rem + 2.2vw, 3.6rem)/1 var(--sc-font-display); font-weight: 400; color: var(--rust); }
.tally b small { font-size: 0.42em; margin-left: 0.15em; }
.tally span { display: block; margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.45; }
.dev__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.dev__fig { aspect-ratio: 1250 / 1042; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.devs { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin: 1rem 0 1.6rem; padding: 1.1rem 1.2rem; background: #fff; }
.devs img { display: block; height: 2.3rem; width: auto; }
.dev__who .facts { margin-top: 0.4rem; }

/* ============================================================== LOCATION == */
.loc__head { display: grid; gap: 1.4rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.loc__town { aspect-ratio: 1250 / 600; margin-bottom: clamp(2rem, 4vw, 3.5rem); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.loc__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.loc__map .zoom { background: #F3EEE6; }
.loc__map figcaption { margin-top: 0.5rem; }
/* The Orie's marker on the map gets a slow rust ring */
.loc__pin { position: absolute; left: 42.1%; top: 46.2%; width: 7%; aspect-ratio: 1; margin: -3.5% 0 0 -3.5%; border-radius: 50%; box-shadow: 0 0 0 2px var(--rust); animation: ping 2.6s var(--sc-ease-out) infinite; pointer-events: none; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 80%, 100% { transform: scale(2.1); opacity: 0; } }
.times { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--hair-2); }
.times__mode { font: 600 0.74rem/1.5 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); }
.times li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px solid var(--hair); }
.times li:last-child { border-bottom: 0; }
.times b { white-space: nowrap; font-weight: 600; }
.loc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; padding-top: 1.4rem; border-top: 1px solid var(--hair-2); }
.loc__cols .plain { margin-top: 0.6rem; font-size: 0.95rem; }

/* ============================================================= TOA PAYOH == */
/* the quiet before the fold: small photographs, plain words */
.town { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.town__words { display: grid; gap: 1.2rem; max-width: 34rem; }
.town__words p { color: rgb(246 235 227 / 0.9); }
.town__pics { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 0.9rem; }
.tp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp--a { grid-column: 1 / span 8; grid-row: 1 / span 2; aspect-ratio: 1058 / 705; }
.tp--b { grid-column: 9 / span 4; align-self: end; aspect-ratio: 1; }
.tp--c { grid-column: 5 / span 8; margin-top: 0.2rem; aspect-ratio: 770 / 470; }
.tp__credit { grid-column: 1 / span 4; align-self: end; }

/* ============================================================ THE FOLD == */
/* Held for 3.4 screens. The square sheet stands at the left in 3D: four
   pieces in two nested folds (--a1 about the long diagonal, --a2 about the
   half diagonal), set by the page. The words change at the right. */
.fold { position: relative; height: 340svh; margin-top: calc(-1 * var(--crease)); background: var(--navy); color: var(--on-dark); clip-path: polygon(0 0, 100% var(--crease), 100% 100%, 0 100%); }
.fold__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); padding: var(--bar-h) var(--gut) 0; }
.fold__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(52% 60% at 30% 52%, rgb(15 70 96 / 0.75), rgb(0 48 70 / 0) 70%); pointer-events: none; }
.fold__sheet { position: relative; display: grid; place-items: center; height: 100%; perspective: 1900px; perspective-origin: 50% 40%; }
.ori { --s: min(68svh, 40vw, 620px); position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; will-change: transform; }
.ori__g, .ori__pc { position: absolute; inset: 0; transform-style: preserve-3d; }
.ori__g1 { transform-origin: 0 0; }
.ori__g2 { transform-origin: 0 100%; }
.ori__pc > i { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ori__pc > .f { background: #ccc url(assets/club-1343.webp) 0 0 / 100% 100% no-repeat; }
.ori__pc > .b {
  transform: rotateY(180deg);
  background:
    repeating-linear-gradient(118deg, rgb(229 138 105 / 0) 0 6px, rgb(229 138 105 / 0.9) 6px 7.6px),
    linear-gradient(160deg, #1A5573, #0B3A52);
}
.ori__pc > i::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--sh, 0); }
.ori__pc > .b::after { background: #000; opacity: var(--shb, 0); }
[data-pc="base"] > .f { clip-path: polygon(50% 50%, 0 100%, 100% 100%); }
[data-pc="base"] > .b { clip-path: polygon(50% 50%, 100% 100%, 0 100%); }
[data-pc="rb"] > .f { clip-path: polygon(50% 50%, 100% 0, 100% 100%); }
[data-pc="rb"] > .b { clip-path: polygon(50% 50%, 0 0, 0 100%); }
[data-pc="lb"] > .f { clip-path: polygon(0 0, 0 100%, 50% 50%); }
[data-pc="lb"] > .b { clip-path: polygon(100% 0, 100% 100%, 50% 50%); }
[data-pc="lt"] > .f { clip-path: polygon(0 0, 100% 0, 50% 50%); }
[data-pc="lt"] > .b { clip-path: polygon(100% 0, 0 0, 50% 50%); }
.ori__creases { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: var(--cr, 0); transform: translateZ(3px); }
.ori__creases path { fill: none; stroke: rgb(255 255 255 / 0.55); stroke-width: 0.25; vector-effect: non-scaling-stroke; stroke-width: 1px; }
.fold__words { position: relative; display: grid; max-width: 30rem; }
.fold__words > * { grid-area: 1 / 1; align-self: center; transition: opacity 420ms var(--sc-ease-out), transform 420ms var(--sc-ease-out); }
.fold__line { font: 400 clamp(1.45rem, 1rem + 1.25vw, 2.3rem)/1.18 var(--sc-font-display); color: var(--on-dark); text-wrap: balance; }
.fold__line--a::first-line { color: var(--ember); }
.fold__club { display: grid; gap: 1.2rem; }
.fold__club .h2__b { color: var(--ember); }
.fold__club p { color: rgb(246 235 227 / 0.88); max-width: 32rem; }
.fold__club .credit { color: var(--on-navy-soft); }
.fold [data-fold-t] { opacity: 0; transform: translateY(12px); }
.fold [data-fold-t].is-on { opacity: 1; transform: none; }
.fold__flat { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ============================================================ FACILITIES == */
.gard__head { display: grid; gap: 1.4rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rail { position: relative; }
.rail__track {
  display: flex; gap: clamp(0.6rem, 1.4vw, 1.2rem); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 1600px;
  padding: 1rem max(var(--gut), calc((100vw - 76rem) / 2)) 1.4rem;
  scroll-padding-inline: max(var(--gut), calc((100vw - 76rem) / 2));
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -4px; }
.pl { flex: 0 0 min(38vw, 34rem); scroll-snap-align: start; transform-style: preserve-3d; will-change: transform; }
.pl img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-3); }
.pl figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 0 0; border-bottom: 1px solid var(--hair); padding-bottom: 0.6rem; }
.pl b { font: 400 1.2rem/1.2 var(--sc-font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.pl span { font-size: 0.86rem; color: var(--ink-soft); text-align: right; }
.pl { --sh: 0; position: relative; }
.pl::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 16 / 10; background: #1a0f0b; opacity: var(--sh); pointer-events: none; }
.rail__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rail__btns { display: flex; gap: 0.5rem; }
.rail__btn { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--hair-2); background: transparent; cursor: pointer; font-size: 1.1rem; transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .rail__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); } }
.rail__btn:disabled { opacity: 0.3; cursor: default; }

/* ============================================================= SITE PLAN == */
.sp__head { display: grid; gap: 1.4rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sp__panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.sp__plan { position: relative; background: #fff; }
.sp__rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sp__rings circle { fill: none; stroke-width: 5; transform-box: fill-box; transform-origin: center; animation: ring 1.6s var(--sc-ease-out) infinite; }
.sp__rings rect { fill: none; stroke: var(--rust); stroke-width: 5; }
@keyframes ring { 0% { transform: scale(0.85); opacity: 1; } 70% { transform: scale(1.5); opacity: 0.15; } 100% { transform: scale(1.5); opacity: 0; } }
.sp__fig figcaption { margin-top: 0.5rem; }
.sp__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.3rem; }
.sp__chips button {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.4rem 0.85rem; cursor: pointer;
  background: transparent; border: 1px solid var(--hair-2); font-size: 0.9rem; color: var(--ink);
  transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out);
}
.sp__chips i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--z); flex: none; }
.sp__chips [aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .sp__chips button:hover { border-color: var(--navy); } }
.sp__legend { columns: 2; column-gap: 1.6rem; }
.sp__legend > div { break-inside: avoid; margin-bottom: 1.1rem; transition: opacity 200ms var(--sc-ease-out); }
.sp__legend ol { margin-top: 0.4rem; list-style: decimal; padding-left: 1.6rem; font-size: 0.9rem; line-height: 1.5; }
.sp__legend li::marker { color: var(--ink-soft); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.sp__legend .small { margin-top: 0.4rem; }
.sp__legend [data-zl="homes"] { display: none; }
.sp__legend.is-zone { columns: 1; }
.sp__legend.is-zone > div { display: none; }
.sp__legend.is-zone > div.is-on { display: block; }
.sp__legend.is-zone > div.is-on ol { columns: 2; column-gap: 1.6rem; }

/* ================================================================= HOMES == */
.homes__head { display: grid; gap: 1.4rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.homes__head .lede { color: rgb(246 235 227 / 0.9); }
.homes__pics { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.6rem, 1.2vw, 1rem); }
.hpic--a { grid-column: 1 / span 8; grid-row: 1 / span 2; aspect-ratio: 1789 / 1222; }
.hpic--b { grid-column: 9 / span 4; aspect-ratio: 899 / 682; }
.hpic--c { grid-column: 9 / span 4; aspect-ratio: 899 / 682; }
.homes__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.hc .plain { margin-top: 0.6rem; font-size: 0.95rem; }
.hc--dl { padding: 1.4rem 1.4rem 1.2rem; background: var(--mauve-2); align-self: start; }
.hc--dl p:not(.h3) { margin-top: 0.6rem; font-size: 0.95rem; }
.hc--dl .btn { margin-top: 1.1rem; }
.hc--dl .small { margin-top: 0.6rem; }
.homes__credit { margin-top: 1.4rem; }

/* =========================================================== FLOOR PLANS == */
.plans__head { display: grid; gap: 1.4rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.a1s { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.a1s__plan { background: #fff; padding: clamp(1rem, 2.4vw, 2rem); box-shadow: 0 1px 0 var(--hair); }
.a1s__plan img { max-height: 76svh; width: auto; max-width: 100%; margin-inline: auto; }
.a1s__type { font: 400 clamp(3rem, 2rem + 3vw, 5rem)/0.95 var(--sc-font-display); color: var(--rust); }
.a1s__info .h3 { margin-top: 0.6rem; color: var(--ink); letter-spacing: 0.16em; }
.a1s__info .facts { margin-top: 1.2rem; }
.a1s__units { margin-top: 1.2rem; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }
.a1s__units b { color: var(--ink); display: block; margin-bottom: 0.2rem; }
.a1s__units button { margin: 0.2rem 0.3rem 0 0; padding: 0.3rem 0.6rem; border: 1px solid var(--hair-2); background: #fff; cursor: pointer; font-size: 0.82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .a1s__units button:hover { border-color: var(--rust); color: var(--rust); } }
.a1s__info .btn { margin-top: 1.4rem; }
.a1s__chart { display: block; margin-top: 1rem; }
.a1s__note { margin-top: 1.2rem; }
.sold { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--hair-2); }
.sold__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 0 1.6rem; margin-top: 0.8rem; }
.sold__list li { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.5rem 0; border-bottom: 1px solid var(--hair); font-size: 0.92rem; color: var(--ink-soft); }
.sold__list b { color: var(--ink); font-weight: 600; margin-right: 0.35rem; }
.sold__list em { font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); white-space: nowrap; }
.sold__dl { display: inline-block; margin-top: 1.4rem; }

/* ========================================================== AVAILABILITY == */
/* the two towers side by side, every home a cell; sold homes faint, the
   homes left lit in the chart's yellow */
.avail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; }
.avail__head { display: grid; gap: 1.2rem; align-self: center; }
.avail__num { color: var(--rust); font-variant-numeric: tabular-nums; }
.avail__asat { max-width: 46ch; }
.towers { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); align-items: flex-end; grid-row: 1 / span 2; grid-column: 2; }
.tw { width: clamp(13rem, 19vw, 17rem); }
.tw__name { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; font: 400 1.05rem/1.2 var(--sc-font-display); text-transform: uppercase; }
.tw__name small { font: 600 0.72rem/1 var(--sc-font-text); color: var(--ink-soft); letter-spacing: 0.04em; text-transform: none; }
.tw__grid { display: grid; grid-template-columns: 1.3rem repeat(10, minmax(0, 1fr)); gap: 2px; }
.tw__lvl { display: grid; place-items: center end; padding-right: 0.25rem; font-size: 0.55rem; line-height: 1; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tw__stack { text-align: center; font-size: 0.55rem; color: var(--ink-soft); padding-top: 0.25rem; font-variant-numeric: tabular-nums; }
.uc { height: 0.62rem; background: rgb(46 35 33 / 0.1); }
.uc--none { background: transparent; }
.uc--open {
  display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--gold);
  box-shadow: inset 0 0 0 1px rgb(179 62 39 / 0.55);
  transition: transform 120ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.uc--open.is-hl { box-shadow: 0 0 0 2px var(--rust); position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) { .uc--open:hover { transform: scale(1.35); box-shadow: 0 0 0 2px var(--rust); position: relative; z-index: 2; } }
.avail__key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-self: start; }
.avail__key span { display: inline-flex; align-items: center; gap: 0.5rem; }
.k { width: 0.95rem; height: 0.62rem; flex: none; }
.k--open { background: var(--gold); box-shadow: inset 0 0 0 1px rgb(179 62 39 / 0.55); }
.k--sold { background: rgb(46 35 33 / 0.1); }

/* ============================================================= THE CLOSE == */
.close { position: relative; margin-top: calc(-1 * var(--crease)); padding: calc(var(--sect) + var(--crease)) 0 var(--sect); background: var(--navy); color: var(--on-dark); clip-path: polygon(0 var(--crease), 100% 0, 100% 100%, 0 100%); }
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.book__pic { position: sticky; top: calc(var(--bar-h) + 5.5rem); aspect-ratio: 1250 / 1042; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.2rem), calc(100% - 2.2rem) 100%, 0 100%); }
.book__side { display: grid; gap: 1.8rem; }
.book__intro .lede { margin-top: 1rem; color: rgb(246 235 227 / 0.9); }
.book__title { color: #fff; }
.book__facts { margin-top: 1.4rem; border-top: 1px solid var(--hair-d2); }
.book__facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--hair-d); font-size: 0.95rem; }
.book__facts dt { color: var(--on-navy-soft); }
.book__facts a { text-decoration-color: var(--ember); text-underline-offset: 0.25em; }

/* ----------------------------------------------------- the booking card -- */
/* A creased card: a fold line runs under its head. When the booking is sent
   the fields give way and the navy cover folds down over the card. */
.card-wrap { perspective: 1400px; }
.card { background: var(--card); color: var(--ink); }
.tb { position: relative; overflow: hidden; box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.65); }
.tb > * { border-top: 1px solid var(--hair-2); }
.tb > :first-child, .tb > input, .tb > .hp { border-top: 0; }
.tb__head { position: relative; padding: 1.4rem 1.5rem 1.2rem; border-top: 0 !important; background: linear-gradient(to bottom, var(--card) 0, var(--card) 70%, #F6E9DF 100%); }
.tb__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(to right, rgb(179 62 39 / 0), rgb(179 62 39 / 0.7) 18%, rgb(179 62 39 / 0.7) 82%, rgb(179 62 39 / 0)); }
.tb__title { font: 400 1.8rem/1.05 var(--sc-font-display); text-transform: uppercase; 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: #FBE9DC; 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: 600 0.72rem/1.2 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); }
.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); 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: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.when__v { font-size: 0.92rem; 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(--navy); box-shadow: inset 0 -3px 0 var(--rust); }
@media (hover: hover) and (pointer: fine) { .when__tabs button:hover { border-color: var(--navy); } }
.when__month { font-size: 0.92rem; 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.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: 500 0.92rem/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 { 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(--navy); } }
.when__dates [aria-checked="true"], .when__times [aria-checked="true"] { background: var(--navy); border-color: var(--navy); 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(--rust); }
.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: 600; 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: #FFFDFB; border: 1px solid rgb(46 35 33 / 0.32); border-radius: 0;
  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(--navy); 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__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-wait { background: #F4EAE2; color: var(--ink); }
.tb__status.is-err { background: #F8E1D8; 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; }
/* the card folds shut: its navy cover comes down over it, carrying the mark */
.tb.is-done { background: transparent; box-shadow: none; overflow: visible; }
.tb__status.is-ok {
  position: relative; padding: 2.4rem 1.9rem 2.2rem 1.9rem; background: var(--navy-2); color: var(--on-dark);
  font-size: 1.08rem; line-height: 1.6; transform-origin: 50% 0; box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.65), inset 0 0 0 1px rgb(229 138 105 / 0.35);
  animation: shut 900ms cubic-bezier(.2,.75,.25,1) both;
}
.tb__status.is-ok strong { display: block; margin-bottom: 0.5rem; font: 400 1.8rem/1.05 var(--sc-font-display); text-transform: uppercase; font-weight: 400; color: #fff; }
.tb__status.is-ok .ok-mark { display: block; width: 4.4rem; margin-bottom: 1.2rem; color: var(--ember); }
.tb__status.is-ok .ok-mark svg { display: block; width: 100%; height: auto; }
@keyframes shut { from { transform: rotateX(-96deg); opacity: 0.2; } 55% { opacity: 1; } to { transform: none; opacity: 1; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------- footer -- */
.foot { position: relative; padding: 2.25rem var(--gut) 2.75rem; font-size: 0.88rem; background: var(--night); color: var(--on-navy-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(--on-dark); text-decoration-color: var(--ember); 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(0 25 37 / 0.66); }
.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: 400 1.3rem/1.2 var(--sc-font-display); text-transform: uppercase; color: var(--ink); }
.dlg-close { min-height: 2.5rem; padding: 0.4rem 1rem; cursor: pointer; background: var(--navy); color: #fff; border: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-dlg { width: min(68rem, calc(100vw - 2rem)); height: min(54rem, calc(100svh - 2rem)); }
.plan-dlg[open] { display: grid; grid-template-rows: auto 1fr; }
.plan-dlg__body { display: grid; grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.45fr); 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: 1px solid var(--hair-2); background: #fff; cursor: pointer; font-size: 0.82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-dlg__units button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan-dlg__img { overflow: auto; background: #fff; display: grid; place-items: start center; }
.plan-dlg__img img { width: 100%; max-width: 46rem; height: auto; display: block; }
.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) {
  .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); padding-bottom: 0.4rem; }
  .dev__body, .loc__body { grid-template-columns: 1fr; }
  .loc__map { max-width: 40rem; }
  .town { grid-template-columns: 1fr; }
  .sp__panel { grid-template-columns: 1fr; }
  .sp__fig { max-width: 42rem; }
  .homes__cols { grid-template-columns: 1fr 1fr; }
  .hc--dl { grid-column: 1 / -1; }
  .avail { grid-template-columns: 1fr; }
  .towers { grid-row: auto; grid-column: 1; justify-content: center; }
  .book { grid-template-columns: 1fr; }
  .book__pic { position: relative; top: 0; max-width: 40rem; }
  .fold__stage { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 1.6rem; }
  .fold__sheet { height: auto; }
  .ori { --s: min(52svh, 70vw, 560px); }
  .fold__words { max-width: 36rem; justify-self: center; text-align: left; }
}

/* =============================================================== PHONE == */
@media (max-width: 860px) {
  :root { --bar-h: calc(3.7rem + env(safe-area-inset-top, 0px)); --sect: clamp(3.5rem, 12vw, 5rem); --crease: 7vw; }
  .wrap { width: calc(100% - 2 * var(--gut)); }
  /* the mark becomes a slim bar across the top */
  .mark { padding: env(safe-area-inset-top, 0px) 0.6rem 0 0.5rem; height: var(--bar-h); align-items: center; background: rgb(254 241 231 / 0.93); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid var(--hair); transition: background-color 260ms var(--sc-ease-out); }
  .mark.is-dark { background: rgb(0 40 59 / 0.9); border-color: var(--hair-d); }
  .mark__open, .mark.is-dark .mark__open { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; clip-path: none; padding: 0.4rem 0.3rem; min-width: 0; }
  .mark__svg { width: 2.7rem; }
  .mark__name { font-size: 0.86rem; }
  .mark__sec { font-size: 0.78rem; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; }
  .sheet { position: fixed; top: var(--bar-h); left: 0; width: 100vw; max-height: calc(100svh - var(--bar-h)); overflow: auto; }
  .hero { height: 150svh; }
  .hero__plane { --pw: max(100vw, 106svh); top: calc(var(--bar-h) + 9svh); margin-left: calc(var(--pw) * -0.527); }
  .hero__scrim { background: linear-gradient(to top, rgb(0 30 45 / 0.94) 0, rgb(0 30 45 / 0.82) 24%, rgb(0 30 45 / 0.35) 44%, rgb(0 30 45 / 0) 58%); }
  .hero__copy { top: calc(var(--bar-h) + 0.9rem); bottom: 2.2rem; left: var(--gut); right: var(--gut); width: auto; transform: none; display: flex; flex-direction: column; gap: 0.7rem; }
  .hero__name { margin: 0 0 auto; }
  .hero__name svg { width: 10.5rem; }
  .hero__tag { font-size: 1.55rem; }
  .hero__lede { font-size: 0.95rem; }
  .hero__cta .btn { min-height: 2.8rem; }
  .hero__credit { bottom: 0.5rem; }
  .tally { grid-template-columns: 1fr 1fr; }
  .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; }
  .devs img { height: 1.9rem; }
  .loc__town { aspect-ratio: 4 / 3; }
  .times { grid-template-columns: 1fr; gap: 0.4rem; }
  .loc__cols { grid-template-columns: 1fr; }
  .tp--a { grid-column: 1 / -1; grid-row: auto; }
  .tp--b { grid-column: 1 / span 5; align-self: start; }
  .tp--c { grid-column: 6 / span 7; margin-top: 0; }
  .tp__credit { grid-column: 1 / -1; }
  .fold { height: 300svh; }
  .fold__stage { padding-top: calc(var(--bar-h) + 0.5rem); gap: 1.1rem; align-content: start; padding-top: calc(var(--bar-h) + 4svh); }
  .ori { --s: min(78vw, 44svh); }
  .fold__line { font-size: 1.32rem; }
  .fold__club { gap: 0.8rem; }
  .fold__club .h2 { font-size: 1.75rem; }
  .fold__club p { font-size: 0.95rem; }
  .pl { flex-basis: 80vw; }
  .rail__btns { display: none; }
  .sp__legend, .sp__legend.is-zone > div.is-on ol { columns: 1; }
  .homes__pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hpic--a { grid-column: 1 / -1; grid-row: auto; }
  .hpic--b, .hpic--c { grid-column: span 1; }
  .homes__cols { grid-template-columns: 1fr; }
  .a1s { grid-template-columns: 1fr; }
  .a1s__plan img { max-height: 62svh; }
  .tw { width: auto; flex: 1; }
  .towers { gap: 1rem; }
  .uc { height: 0.58rem; }
  .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) {
  .mark__sec { max-width: 34vw; }
  .mark__book { padding-inline: 0.75rem; }
}

/* ========================================================= WITHOUT SCRIPT == */
.no-js [data-sc-in], .no-js [data-sc-stagger] > * { opacity: 1; transform: none; }
.no-js .mark__open { pointer-events: none; }
.no-js .leaves { display: none; }
.no-js .hero { height: 100svh; }
.no-js .fold, .no-js .fold__stage { height: auto; position: relative; }
.no-js .fold__stage { padding-block: var(--sect); }
.no-js .ori { display: none; }
.no-js .fold__flat { position: relative; width: 100%; height: auto; opacity: 1; }
.no-js .fold [data-fold-t] { opacity: 1; transform: none; grid-area: auto; }
.no-js .fold__words { gap: 1.4rem; }

/* ====================================================== REDUCED MOTION == */
/* No holds and no folds: the cover stands open, the Club Orie is shown flat,
   all the words stand together, and nothing moves with the scroll. */
@media (prefers-reduced-motion: reduce) {
  .leaves { display: none; }
  .hero { height: 100svh; }
  .hero__plane, .hero__glow, .hero__copy, .frame__move, .pl { transform: none !important; }
  .hero.is-intro .hero__copy > * { animation: none; }
  [data-wipe] { clip-path: none !important; }
  .fold { height: auto; }
  .fold__stage { position: relative; height: auto; padding-block: calc(var(--sect) + var(--crease)) var(--sect); }
  .fold__sheet { display: none; }
  .fold__flat { position: relative; width: 100%; height: auto; opacity: 1; max-width: 40rem; }
  .fold [data-fold-t] { opacity: 1 !important; transform: none !important; grid-area: auto; }
  .fold__words { gap: 1.4rem; }
  .sheet.is-open .sheet__title, .sheet.is-open li { animation: none; }
  .tb__status.is-ok { animation: none; }
  .loc__pin, .sp__rings circle { animation: none; }
}
