/* The Myst: Layers of a forest.

   The page climbs the four layers of a tropical forest, each on its own
   ground from dark to light: the forest floor on the cover's olive taupe,
   the understorey on moss, the canopy on pale sage, the emergent layer on
   mist white, where the last three homes are (the top two floors of Block
   802). Mist is the material: it drifts through the hero, it fogs the glass
   at the peak and at the close, and the visitor wipes it away. Copper from
   the cover's lines; Belleza for the brochure's light flared capitals,
   Mulish (the brochure's own text face) for text. */

:root {
  --floor: #45423A;        /* forest floor: between the cover's #504A3F and its lines */
  --floor-2: #3B3932;
  --olive: #504A3F;
  --line-d: #3C3C33;
  --moss: #46503F;         /* understorey */
  --moss-2: #3D4637;
  --sage: #C9D0C1;         /* canopy */
  --sage-2: #BBC3B2;
  --mist: #EEEFF1;         /* emergent: the brochure's pale page */
  --mist-2: #E4E6E7;
  --paper: #F7F7F5;
  --card: #FFFFFF;
  --ink: #23241F;
  --ink-soft: #55574F;
  --cu: #B8874D;           /* the cover's copper (lines, marks, large type) */
  --cu-btn: #8E6230;       /* buttons: white text on it passes AA */
  --cu-btn-2: #7A5428;
  --cu-deep: #85592A;      /* copper text on light grounds */
  --cu-hi: #D9AE79;        /* copper text on dark grounds */
  --white: #FFFFFF;
  --white-soft: rgb(255 255 255 / 0.82);
  --hair: rgb(35 36 31 / 0.12);
  --hair-2: rgb(35 36 31 / 0.26);
  --hair-w: rgb(255 255 255 / 0.16);
  --green: #3E8E5A;
  --void: rgb(184 135 77 / 0.30);
  --gut: clamp(1rem, 5vw, 5.5rem);
  --maxw: 84rem;
  --ease: cubic-bezier(.22, .61, .2, 1);

  --sc-canvas: var(--floor);
  --sc-surface: var(--floor-2);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--cu-btn);
  --sc-accent-ink: var(--white);
  --sc-font-display: "Belleza", "Optima", "Candara", "Segoe UI", sans-serif;
  --sc-font-text: "Mulish", "Helvetica Neue", system-ui, sans-serif;
}

html { background: var(--floor); }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
body { background: var(--mist); color: var(--ink); font-family: var(--sc-font-text); font-weight: 400; overflow-x: clip; }
::selection { background: var(--cu); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
.vh, .vh-svg { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: var(--gut); top: -4rem; z-index: 300; background: var(--card); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { top: 0.75rem; }
:focus-visible { outline: 2px solid var(--cu); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ------------------------------------------------------------------ type -- */
.h2 { font: 400 clamp(2rem, 1.15rem + 2.6vw, 3.6rem)/1.06 var(--sc-font-display); letter-spacing: 0.005em; color: var(--ink); text-wrap: balance; }
.h2 em { font-style: normal; color: var(--cu-deep); }
.h2--light { color: var(--white); }
.h2--light em { color: var(--cu-hi); }
.h3 { font: 700 0.7rem/1.3 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--cu-deep); }
.h3--light { color: var(--cu-hi); }
.h3--gap { margin-top: 1.6rem; }
.lede { margin-top: 1.2rem; max-width: 40rem; font-size: clamp(1rem, 0.95rem + 0.22vw, 1.13rem); font-weight: 400; line-height: 1.72; color: var(--ink-soft); text-wrap: pretty; }
.lede--light { color: var(--white-soft); font-weight: 400; letter-spacing: 0.005em; }
.small { font-size: 0.84rem; line-height: 1.6; color: var(--ink-soft); }
.small--light { color: rgb(255 255 255 / 0.66); }
.credit { display: flex; gap: 0.6rem; align-items: baseline; margin-top: 0.6rem; font: 400 0.72rem/1.3 var(--sc-font-text); letter-spacing: 0.03em; color: var(--ink-soft); }
.credit b { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.66rem; color: var(--ink); }
.credit--light { color: rgb(255 255 255 / 0.62); }
.credit--light b { color: var(--white); }
.layer-tag { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem; font: 700 0.68rem/1 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--cu-hi); }
.layer-tag--light { color: var(--cu-hi); }
.count .layer-tag, .nature .layer-tag { color: var(--cu-hi); }
.clubs .layer-tag, .layer-tag--cu { color: var(--cu-deep); }
/* the layer mark: the cover's lines, one taller for each layer up; the
   layer the section belongs to is drawn in full */
.lv { --dim: color-mix(in oklab, currentColor 32%, transparent); position: relative; display: inline-block; width: 22px; height: 18px; background:
  linear-gradient(var(--dim), var(--dim)) 2px 100% / 2px 5px no-repeat,
  linear-gradient(var(--dim), var(--dim)) 8px 100% / 2px 9px no-repeat,
  linear-gradient(var(--dim), var(--dim)) 14px 100% / 2px 13px no-repeat,
  linear-gradient(var(--dim), var(--dim)) 20px 100% / 2px 18px no-repeat; }
.lv::after { content: ""; position: absolute; bottom: 0; width: 2px; background: currentColor; }
.lv--1::after { left: 2px; height: 5px; } .lv--2::after { left: 8px; height: 9px; } .lv--3::after { left: 14px; height: 13px; } .lv--4::after { left: 20px; height: 18px; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.1rem; padding: 0.9rem 1.5rem;
  font: 700 0.72rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: 999px;
  background: var(--cu-btn); color: var(--white); border: 1px solid var(--cu-btn);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--cu { background: var(--cu-btn); border-color: var(--cu-btn); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .btn--cu:hover { background: var(--cu-btn-2); border-color: var(--cu-btn-2); } }
.btn--glass { background: rgb(238 239 241 / 0.16); color: var(--white); border-color: rgb(255 255 255 / 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (hover: hover) and (pointer: fine) { .btn--glass:hover { background: rgb(238 239 241 / 0.3); } }
.btn--ink { background: transparent; color: var(--ink); border-color: var(--hair-2); }
@media (hover: hover) and (pointer: fine) { .btn--ink:hover { border-color: var(--ink); } }
.btn--block { width: 100%; }
.btn--sm { min-height: 2.75rem; padding: 0.7rem 1.1rem; font-size: 0.66rem; }

/* ----------------------------------------------------- the bar and pane -- */
.bar { position: fixed; z-index: 120; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem var(--gut) 0; pointer-events: none; }
.bar > * { pointer-events: auto; }
.pill { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; background: var(--cu-btn); color: var(--white); text-decoration: none; font: 700 0.66rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; box-shadow: 0 10px 26px -14px rgb(0 0 0 / 0.7); transition: background-color 200ms var(--ease), opacity 300ms var(--ease); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .pill:hover { background: var(--cu-btn-2); } }
.bar.is-book .pill { opacity: 0; pointer-events: none; }

/* the misted pane: frosted glass with the place written in its mist */
.pane {
  position: relative; display: flex; align-items: center; gap: 0.8rem; min-height: 3.25rem; min-width: 13.5rem; max-width: min(23rem, 62vw);
  padding: 0.5rem 1.1rem 0.5rem 0.85rem; cursor: pointer; text-align: left; color: var(--ink);
  border: 1px solid rgb(255 255 255 / 0.6); border-radius: 14px;
  background: linear-gradient(160deg, rgb(244 245 246 / 0.78), rgb(226 230 228 / 0.62));
  -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset, 0 12px 30px -18px rgb(20 20 15 / 0.6);
  transition: transform 160ms var(--ease);
}
.pane:active { transform: scale(0.98); }
.pane::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0.5;
  background: radial-gradient(circle at 20% 30%, rgb(255 255 255 / 0.45) 0 1px, transparent 1.5px) 0 0 / 9px 11px,
              radial-gradient(circle at 60% 70%, rgb(255 255 255 / 0.35) 0 1px, transparent 1.5px) 0 0 / 13px 7px; }
.pane__lines { flex: none; width: 26px; height: 30px; overflow: visible; }
.pane__lines path { fill: none; stroke: rgb(35 36 31 / 0.25); stroke-width: 2; transition: stroke 300ms var(--ease); }
.pane__lines path.is-on { stroke: var(--cu-deep); }
.pane__lines path.is-past { stroke: rgb(133 89 42 / 0.55); }
.pane__txt { display: grid; gap: 0.2rem; min-width: 0; }
.pane__name { font: 400 1.05rem/1.15 var(--sc-font-display); letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pane__name.is-writing { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%); -webkit-mask-size: 260% 100%; mask-size: 260% 100%; animation: write 900ms var(--ease) both; }
@keyframes write { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; filter: blur(1.5px); } to { -webkit-mask-position: 0 0; mask-position: 0 0; filter: none; } }
.pane__layer { font: 700 0.58rem/1 var(--sc-font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cu-deep); }

/* the contents: frosted mist over the page */
.index { position: fixed; inset: 0; z-index: 200; overflow: auto; background: rgb(236 238 238 / 0.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.index[hidden] { display: none; }
.index__in { max-width: var(--maxw); margin: 0 auto; padding: 1.1rem var(--gut) 3rem; }
.index__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; }
.index__logo { width: 8.5rem; height: 4.6rem; }
.index__x { min-height: 2.75rem; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--hair-2); background: transparent; cursor: pointer; font: 700 0.64rem/1 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.index__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem 2.6rem; }
.index__k { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; font: 700 0.66rem/1 var(--sc-font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cu-deep); }
.index__k + ol + .index__k { margin-top: 2rem; }
.index ol a { display: block; padding: 0.55rem 0; border-top: 1px solid var(--hair); text-decoration: none; font: 400 1.22rem/1.25 var(--sc-font-display); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .index ol a:hover { color: var(--cu-deep); } }
.index__homes { display: grid; gap: 0.6rem; }
.ihome { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; align-items: center; padding: 0.85rem 1rem; text-align: left; cursor: pointer; border: 1px solid var(--hair-2); border-radius: 12px; background: rgb(255 255 255 / 0.55); color: var(--ink); }
.ihome b { grid-row: span 2; font: 400 1.6rem/1 var(--sc-font-display); color: var(--cu-deep); }
.ihome span { font-size: 0.92rem; font-weight: 600; }
.ihome small { font-size: 0.8rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .ihome:hover { border-color: var(--cu-deep); } }

/* ------------------------------------------------------------------- hero -- */
.hero { position: relative; background: var(--mist); }
.hero__stage { height: 100vh; height: 100svh; overflow: hidden; background: #DCE0DE; }
.hero__a, .hero__b { position: absolute; inset: 0; }
.hero__a img, .hero__a canvas, .hero__bframe img, .hero__bframe canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hero__a img { object-fit: cover; object-position: 50% 36%; will-change: transform; }
.hero__a .hp-leaves { object-position: 50% 0%; }
.mist { pointer-events: none; }
.hero__mark { position: absolute; left: 50%; top: 19%; width: clamp(11rem, 18vw, 17rem); height: auto; aspect-ratio: 160.39 / 85.85; transform: translate(-50%, 0); will-change: transform, opacity; filter: drop-shadow(0 2px 14px rgb(255 255 255 / 0.55)); }
.hero__b { opacity: 0; visibility: hidden; }
.hero__bframe { position: absolute; inset: 0; overflow: hidden; }
.hero__bframe img { object-fit: cover; object-position: 50% 62%; will-change: transform; }
.mist--front { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__scrim { position: absolute; left: 0; bottom: 0; width: min(62rem, 78vw); height: 62%; pointer-events: none;
  background: radial-gradient(120% 100% at 0% 100%, rgb(22 26 18 / 0.72) 0%, rgb(22 26 18 / 0.5) 38%, rgb(22 26 18 / 0) 70%); }
.hero__one { position: absolute; left: var(--gut); bottom: clamp(2rem, 8vh, 5.5rem); width: min(40rem, calc(100% - 2 * var(--gut))); color: var(--white); will-change: transform, opacity; }
.hero__line { display: block; font: 400 clamp(2.1rem, 1.2rem + 2.9vw, 4rem)/1.04 var(--sc-font-display); letter-spacing: 0.01em; text-wrap: balance; text-shadow: 0 2px 18px rgb(10 14 8 / 0.35); }
.hero__sub { margin-top: 1.1rem; max-width: 33rem; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem); line-height: 1.6; color: rgb(255 255 255 / 0.9); text-shadow: 0 1px 10px rgb(10 14 8 / 0.4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.hero__two { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(2rem, 7vh, 4.5rem); max-width: 36rem; opacity: 0; color: var(--ink); will-change: transform, opacity; }
.hero__two-line { font: 400 clamp(1.7rem, 1.1rem + 1.7vw, 2.8rem)/1.1 var(--sc-font-display); text-wrap: balance; }
.hero__two-meta { margin-top: 0.9rem; font: 700 0.7rem/1.6 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cu-deep); }
.hero__two-meta span { display: block; color: var(--ink-soft); }
.hero__credit { position: absolute; right: var(--gut); bottom: 1rem; font-size: 0.68rem; letter-spacing: 0.04em; color: rgb(255 255 255 / 0.75); text-shadow: 0 1px 6px rgb(0 0 0 / 0.5); }

/* -------------------------------------------------------------- sections -- */
.sec { position: relative; padding: clamp(5rem, 11vw, 9.5rem) 0; }
.floor { background: var(--floor); color: var(--white); }
.under { background: var(--moss); color: var(--white); }
.canopy { background: var(--sage); color: var(--ink); }
.emergent { background: var(--mist); color: var(--ink); }
.paper { background: var(--paper); color: var(--ink); }
.floor + .floor { padding-top: 0; }
.mist-in img { transition: filter 1400ms var(--ease), opacity 1400ms var(--ease), transform 1400ms var(--ease); }
.js .mist-in:not(.is-in) img { filter: blur(14px) saturate(0.6) brightness(1.25); opacity: 0.55; transform: scale(1.03); }

/* -------------------------------------------------------------- the count -- */
.count { background: var(--floor); }
.count__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.count__left { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--hair-w); }
.count__left li { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: 1rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--hair-w); }
.count__left b { font: 400 1.45rem/1 var(--sc-font-display); color: var(--cu-hi); font-variant-numeric: tabular-nums; }
.count__left span { color: var(--white); font-size: 0.98rem; }
.count__left em { font-style: normal; font-size: 0.86rem; color: rgb(255 255 255 / 0.7); font-variant-numeric: tabular-nums; }
.count__asat { margin-top: 1.2rem; }
.count__fig { position: relative; }
.count__svg { width: 100%; height: auto; display: block; overflow: visible; }
.count__svg .seg { stroke: var(--cu); stroke-width: 3; stroke-linecap: butt; transition: stroke 600ms var(--ease), opacity 600ms var(--ease); }
.count__svg .seg.is-sold { stroke: #6A6559; opacity: 0.55; }
.count__svg .seg.is-left { stroke: #FFD9A6; stroke-width: 6; }
.count__svg .halo { fill: none; stroke: rgb(255 217 166 / 0.5); stroke-width: 1; opacity: 0; transition: opacity 700ms var(--ease); }
.count__fig.is-done .halo { opacity: 1; }
.count__svg .bl { font: 700 11px/1 var(--sc-font-text); letter-spacing: 0.2em; fill: rgb(255 255 255 / 0.7); text-transform: uppercase; }
.count__svg .st { font: 400 10px/1 var(--sc-font-text); fill: rgb(255 255 255 / 0.45); text-anchor: middle; }
.count__svg .lvl { font: 400 10px/1 var(--sc-font-text); fill: rgb(255 255 255 / 0.4); text-anchor: end; }
.count__svg .tag { font: 400 15px/1 var(--sc-font-display); fill: #F0C48C; opacity: 0; transition: opacity 700ms var(--ease); }
.count__svg .lead { stroke: #F0C48C; stroke-width: 1; opacity: 0; transition: opacity 700ms var(--ease); }
.count__fig.is-done .tag, .count__fig.is-done .lead { opacity: 1; }

/* ------------------------------------------------------------- nature -- */
.nature { padding-top: clamp(3rem, 7vw, 6rem); }
.nature__head { max-width: 46rem; }
.nature__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: end; }
.nature__big img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.parks__list { margin: 1.2rem 0 1rem; border-top: 1px solid var(--hair-w); }
.parks__list li { display: grid; grid-template-columns: 5rem 1fr; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--hair-w); }
.parks__list b { font: 400 1.8rem/1 var(--sc-font-display); color: var(--cu-hi); font-variant-numeric: tabular-nums; }
.parks__list b::after { content: " min"; font: 700 0.6rem/1 var(--sc-font-text); letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); }
.parks__list span { font-size: 1rem; color: var(--white); }
.rail { margin-top: clamp(4rem, 8vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 1.5rem clamp(2rem, 4vw, 4rem); align-items: start; }
.rail__head .lede { margin-top: 0.8rem; }
.rail__stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.rail__stops li:nth-child(2) { margin-top: 2.5rem; }
.rail__stops img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.rail__stops b { display: block; margin-top: 0.8rem; font: 400 1.1rem/1.2 var(--sc-font-display); color: var(--white); }
.rail__stops span { display: block; margin-top: 0.3rem; font-size: 0.86rem; line-height: 1.5; color: rgb(255 255 255 / 0.7); }
.rail__note { grid-column: 2; }

/* ---------------------------------------------------------------- the pan -- */
.pan { background: var(--floor-2); color: var(--white); }
.pan__stage { height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(5.5rem, 11vh, 7.5rem) 0 clamp(1.2rem, 3vh, 2rem); }
.pan__head { padding: 0 var(--gut); max-width: calc(var(--maxw)); }
.pan__head .lede { margin-top: 0.6rem; }
.pan__strip { position: relative; margin-top: clamp(1rem, 3vh, 2rem); min-height: 0; }
.pan__track { position: absolute; left: 0; top: 0; height: 100%; will-change: transform; }
.pan__track img { height: 100%; width: auto; max-width: none; }
.pan__labels { position: absolute; inset: 0; pointer-events: none; }
.plab { position: absolute; transform: translateX(-50%); width: 0; height: 0; }
.plab i { position: absolute; left: 0; bottom: 0; width: 1px; background: rgb(240 196 140 / 0.9); transform-origin: bottom; transform: scaleY(var(--k, 0)); transition: transform 500ms var(--ease); }
.plab i::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: #F0C48C; box-shadow: 0 0 0 3px rgb(30 28 22 / 0.35); }
.plab span { position: absolute; left: 0; display: block; width: max-content; max-width: 11rem; padding: 0.35rem 0.55rem; transform: translate(-50%, -100%); border-radius: 6px; background: rgb(35 34 29 / 0.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-size: 0.74rem; line-height: 1.3; color: var(--white); opacity: var(--k, 0); transition: opacity 400ms var(--ease); text-align: center; }
.plab span em { display: block; font-style: normal; font-weight: 700; color: #F0C48C; font-size: 0.68rem; letter-spacing: 0.04em; }
.pan__foot { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; padding: clamp(0.8rem, 2vh, 1.4rem) var(--gut) 0; flex-wrap: wrap; }
.pan__big { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.pan__big b { font: 400 clamp(1.8rem, 1.2rem + 1.8vw, 2.9rem)/1 var(--sc-font-display); color: var(--cu-hi); }
.pan__big span { font-size: 1rem; color: var(--white); }
.pan__note { max-width: 28rem; }

/* ---------------------------------------------------------------- the map -- */
.map__head { max-width: 46rem; }
.map__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); margin-top: 3rem; align-items: start; }
.map__fig button, .sp__fig button, .sheet button { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #fff; }
.map__fig img { width: 100%; border-radius: 4px; }
.map__fig button span, .sp__fig button span, .sheet button span { position: absolute; right: 0.8rem; bottom: 0.8rem; padding: 0.45rem 0.75rem; border-radius: 999px; background: rgb(35 36 31 / 0.82); color: var(--white); font: 700 0.6rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; }
.map__fig figcaption { margin-top: 0.8rem; }
.map__lists { display: grid; gap: 1.8rem; }
.map__lists ul { margin-top: 0.7rem; }
.map__lists li { position: relative; padding: 0.3rem 0 0.3rem 1rem; font-size: 0.95rem; line-height: 1.45; color: rgb(255 255 255 / 0.88); }
.map__lists li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.4rem; height: 1px; background: var(--cu-hi); }
.snaps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.snaps li:nth-child(even) { margin-top: 2rem; }
.snaps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.snaps b { display: block; margin-top: 0.7rem; font: 400 1rem/1.2 var(--sc-font-display); color: var(--white); }
.snaps span { display: block; margin-top: 0.25rem; font-size: 0.8rem; color: var(--cu-hi); }

/* -------------------------------------------------------- understorey -- */
.grounds__head { max-width: 46rem; }
.frame { margin-top: clamp(2.5rem, 5vw, 4rem); }
.frame__in { overflow: hidden; border-radius: 4px; background: var(--moss-2); }
.frame__in img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.frame--wide .frame__in { aspect-ratio: 16 / 8; }
.grounds__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.6rem); align-items: start; }
.grounds__row .frame__in { aspect-ratio: 16 / 10; }
.frame--low { margin-top: clamp(5rem, 9vw, 8rem); }
.grounds__foot { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.frame--small .frame__in { aspect-ratio: 16 / 10; }
.grounds__quote { font: 400 clamp(1.4rem, 1rem + 1.2vw, 2.1rem)/1.3 var(--sc-font-display); color: var(--white); text-wrap: balance; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* --------------------------------------------------------------- canopy -- */
.clubs__head { max-width: 46rem; }
.clubs__hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: end; }
.wipe img { width: 100%; height: auto; border-radius: 4px; }
.js .wipe img { clip-path: inset(100% 0 0 0); transition: clip-path 1100ms var(--ease); }
.js .wipe.is-in img { clip-path: inset(0 0 0 0); }
.wipe--2 { margin-bottom: 4rem; }
.clubs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.clubs__grid figure:nth-child(1) { grid-column: 1 / span 7; }
.clubs__grid figure:nth-child(2) { grid-column: 8 / span 5; margin-top: 5rem; }
.clubs__grid figure:nth-child(3) { grid-column: 2 / span 5; }
.clubs__grid figure:nth-child(4) { grid-column: 8 / span 4; margin-top: 3rem; }
.clubs__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.6rem; border-top: 1px solid var(--hair-2); }
.clubs__facts dt { font: 700 0.66rem/1.3 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--cu-deep); }
.clubs__facts dd { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }

/* ------------------------------------------------------ above the canopy -- */
.above { padding: clamp(7rem, 16vw, 13rem) 0; overflow: hidden; background: var(--mist); }
.above__lines { position: absolute; inset: 0; width: 100%; height: 100%; --cv-d: rgb(80 74 63 / 0.08); --cv-g: rgb(80 74 63 / 0.12); --cv-t: rgb(80 74 63 / 0.12); --cv-c: rgb(184 135 77 / 0.5); }
.above__in { position: relative; text-align: center; }
.above__line { margin: 0 auto; max-width: 52rem; font: 400 clamp(1.8rem, 1rem + 2.6vw, 3.5rem)/1.15 var(--sc-font-display); color: var(--ink); text-wrap: balance; }

/* ------------------------------------------------------------- the peak -- */
.peak { background: var(--mist); }
.peak__stage { height: 100vh; height: 100svh; overflow: hidden; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 0 clamp(2rem, 4vw, 4rem);
  padding: clamp(5.4rem, 11vh, 7rem) var(--gut) clamp(1.2rem, 3vh, 2rem); max-width: calc(var(--maxw) + 8rem); margin: 0 auto;
  background: radial-gradient(80% 70% at 30% 55%, #F6F7F8 0%, var(--mist) 70%); }
.peak__head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 1.2rem 2rem; flex-wrap: wrap; }
.peak__hint { font-size: 0.92rem; color: var(--ink-soft); }
.peak__glass { position: relative; grid-row: 2; display: flex; align-items: center; justify-content: center; min-height: 0; padding: clamp(0.8rem, 2vh, 1.4rem) 0; }
.glass { position: relative; width: 100%; height: 100%; touch-action: pan-y; }
.glass--close { border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 0 0 10px #E2E4E3, 0 0 0 11px rgb(35 36 31 / 0.12), 0 40px 70px -40px rgb(30 32 26 / 0.55); }
.glass__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.glass__dim { position: absolute; left: -2.6rem; top: 0; bottom: 0; width: 2rem; opacity: 0; transition: opacity 500ms var(--ease); pointer-events: none; }
.glass__dim i { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--cu-deep); }
.glass__dim i::before, .glass__dim i::after { content: ""; position: absolute; left: -5px; width: 11px; height: 1px; background: var(--cu-deep); }
.glass__dim i::before { top: 0; } .glass__dim i::after { bottom: 0; }
.glass__dim span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); padding: 0.2rem 0.5rem; background: var(--mist); font: 700 0.72rem/1 var(--sc-font-text); letter-spacing: 0.12em; color: var(--cu-deep); white-space: nowrap; }
.glass.is-tall .glass__dim { opacity: 1; transition-delay: 500ms; }
.glass__zoom { position: absolute; right: 0.7rem; bottom: 0.7rem; min-height: 2.5rem; padding: 0 0.9rem; border-radius: 999px; border: 0; cursor: zoom-in; background: rgb(35 36 31 / 0.8); color: var(--white); font: 700 0.6rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; transition: opacity 300ms var(--ease); }
.glass.is-clear .glass__zoom { opacity: 1; }
.peak__facts { position: relative; grid-row: 2; grid-column: 2; align-self: center; min-height: 22rem; }
.fact { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); pointer-events: none; }
.fact.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fact__no { font: 400 clamp(2.6rem, 1.6rem + 3vw, 4.6rem)/1 var(--sc-font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.fact__kind { margin-top: 0.6rem; font: 700 0.72rem/1.3 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--cu-deep); }
.fact__big { margin-top: 1.2rem; font: 400 clamp(1.5rem, 1.1rem + 1vw, 2.1rem)/1.15 var(--sc-font-display); color: var(--ink); }
.fact__big small { display: block; margin-top: 0.35rem; font: 400 0.84rem/1.45 var(--sc-font-text); color: var(--ink-soft); }
.fact__list { margin-top: 1.1rem; border-top: 1px solid var(--hair); }
.fact__list li { padding: 0.55rem 0; border-bottom: 1px solid var(--hair); font-size: 0.95rem; line-height: 1.45; }
.fact__list li.is-hi { color: var(--cu-deep); font-weight: 700; }
.fact .btn { margin-top: 1.3rem; }
.peak__chips { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 0.6rem; flex-wrap: wrap; padding-top: 0.4rem; }
.chip { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--hair-2); background: rgb(255 255 255 / 0.6); cursor: pointer; font: 600 0.86rem/1 var(--sc-font-text); color: var(--ink); }
.chip i { width: 0.55rem; height: 0.55rem; border-radius: 50%; border: 1px solid var(--cu-deep); }
.chip.is-on { border-color: var(--cu-deep); }
.chip.is-on i, .chip.is-done i { background: var(--cu); border-color: var(--cu); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink); } }

/* ------------------------------------------------------------------ inside -- */
.inside__head { max-width: 46rem; }
.inside__big { margin-top: clamp(2.5rem, 5vw, 4rem); }
.inside__big img { width: 100%; border-radius: 4px; }
.inside__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.inside__grid img { width: 100%; border-radius: 4px; }
.inside__grid figure:nth-child(1) { grid-column: 1 / span 6; }
.inside__grid figure:nth-child(2) { grid-column: 7 / span 4; margin-top: 4rem; }
.inside__grid figure:nth-child(3) { grid-column: 2 / span 4; }
.inside__grid figure:nth-child(4) { grid-column: 7 / span 4; margin-top: 2rem; }
.inside__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--hair-2); }
.inside__cols .small { margin-top: 0.7rem; max-width: 34rem; }
.ticks { margin-top: 0.8rem; }
.ticks li { position: relative; padding: 0.45rem 0 0.45rem 1.4rem; border-bottom: 1px solid var(--hair); font-size: 0.94rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55rem; width: 2px; height: 0.9rem; background: var(--cu); }

/* -------------------------------------------------------------- developer -- */
.dev__head { max-width: 46rem; }
.dev { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); margin-top: 2.6rem; align-items: start; }
.facts { border-top: 1px solid var(--hair-2); }
.facts > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--hair); }
.facts dt { font: 700 0.66rem/1.6 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { font-size: 0.96rem; line-height: 1.5; color: var(--ink); }
.facts a { color: var(--cu-deep); font-weight: 700; text-underline-offset: 0.2em; }
.works { margin-top: 0.9rem; columns: 2; column-gap: 1.6rem; }
.works li { break-inside: avoid; padding: 0.45rem 0; border-bottom: 1px solid var(--hair); font: 400 1.02rem/1.3 var(--sc-font-display); }

/* -------------------------------------------------------------- site plan -- */
.sp__head { max-width: 46rem; }
.sp__fig { margin-top: 2.6rem; }
.sp__fig img { width: 100%; }
.sp__fig figcaption { margin-top: 0.7rem; }
.sp__legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2.4rem; margin-top: 2.4rem; }
.sp__legend h3 { display: flex; align-items: center; gap: 0.55rem; color: var(--ink); }
.sp__legend h3 i { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--c); flex: none; }
.sp__legend p { margin-top: 0.6rem; font-size: 0.9rem; line-height: 1.65; color: var(--ink-soft); }

/* --------------------------------------------------------------- eBrochure -- */
.ebro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem 4rem; align-items: center; }
.papers { display: grid; gap: 1rem; }
.dl { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1.5rem; padding: 1.3rem 1.5rem; border: 1px solid var(--hair-2); border-radius: 10px; background: var(--card); text-decoration: none; color: var(--ink); transition: border-color 160ms var(--ease), transform 160ms var(--ease); }
.dl__k { grid-column: 1; font: 400 1.5rem/1.1 var(--sc-font-display); }
.dl__t { grid-column: 1; font-size: 0.92rem; color: var(--ink-soft); }
.dl__s { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 700 0.66rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cu-deep); }
@media (hover: hover) and (pointer: fine) { .dl:hover { border-color: var(--cu-deep); } }
.dl:active { transform: translateY(1px); }

/* -------------------------------------------------------------- floor plans -- */
.plans__head { max-width: 46rem; }
.plans__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); margin-top: 2.6rem; }
.sheet img { width: 100%; border: 1px solid var(--hair); }
.sheet figcaption { margin-top: 0.8rem; font-size: 0.92rem; color: var(--ink-soft); }
.sheet figcaption b { display: block; font: 400 1.25rem/1.2 var(--sc-font-display); color: var(--ink); }

/* -------------------------------------------------------------- homes left -- */
.homes__head { max-width: 46rem; }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.pickc { display: grid; gap: 0.35rem; padding: 1.3rem 1.3rem 1.2rem; border: 1px solid var(--hair-2); border-radius: 12px; background: var(--card); text-align: left; cursor: pointer; color: var(--ink); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.pickc b { font: 400 2rem/1 var(--sc-font-display); }
.pickc span { font: 700 0.68rem/1.3 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cu-deep); }
.pickc em { font-style: normal; font-size: 0.95rem; color: var(--ink); }
.pickc small { font-size: 0.84rem; color: var(--ink-soft); }
.pickc u { margin-top: 0.5rem; text-decoration: none; font: 700 0.66rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cu-deep); }
.pickc[aria-pressed="true"] { border-color: var(--cu-deep); box-shadow: inset 0 0 0 1px var(--cu-deep); }
@media (hover: hover) and (pointer: fine) { .pickc:hover { border-color: var(--ink); } }
.chart { margin-top: 3rem; }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.chart__date { font-size: 0.86rem; color: var(--ink-soft); }
.chart__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1.2rem; }
.chart__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chart__table { width: 100%; border-collapse: separate; border-spacing: 2px; font-variant-numeric: tabular-nums; }
.chart__table caption { text-align: left; padding-bottom: 0.6rem; font: 700 0.66rem/1.3 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.chart__table th { font: 600 0.64rem/1 var(--sc-font-text); color: var(--ink-soft); padding: 0.2rem 0.3rem; }
.chart__table td { height: 1.35rem; min-width: 2.4rem; padding: 0; text-align: center; font-size: 0.56rem; color: rgb(35 36 31 / 0.45); background: #E3E4E1; border-radius: 2px; }
.chart__table td.is-open { background: var(--cu-btn); }
.chart__table td.is-open button { width: 100%; height: 100%; min-height: 1.35rem; border: 0; padding: 0 0.2rem; cursor: pointer; background: transparent; color: var(--white); font: 700 0.6rem/1 var(--sc-font-text); }
.chart__key { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1rem; font-size: 0.84rem; color: var(--ink-soft); }
.chart__key i { display: inline-block; width: 0.9rem; height: 0.9rem; margin-right: 0.45rem; vertical-align: -0.12rem; border-radius: 2px; }
.k-open { background: var(--cu-btn); } .k-sold { background: #E3E4E1; } .k-d { background: linear-gradient(#E3E4E1 50%, var(--cu) 50% 58%, #E3E4E1 58%); }
.chart__table td.is-d { box-shadow: inset 0 3px 0 rgb(184 135 77 / 0.55); }

/* -------------------------------------------------------------- the close -- */
.close { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; background: linear-gradient(180deg, var(--mist) 0%, #E6E9E7 100%); }
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 29rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.book__side { display: grid; gap: 2rem; }
.glass--close { height: auto; aspect-ratio: 1441 / 900; max-height: 70vh; margin: 11px; width: calc(100% - 22px); }
.glass--close .glass__cv { border-radius: 6px; }
.glass__see { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; font: 400 clamp(1.2rem, 0.9rem + 1vw, 1.8rem)/1.2 var(--sc-font-display); color: var(--white); text-shadow: 0 2px 14px rgb(0 0 0 / 0.55); opacity: 0; transition: opacity 900ms 500ms var(--ease); }
.glass--close.is-clear .glass__see { opacity: 1; }
.book__copy .lede { margin-top: 0.8rem; }
.book__facts { margin-top: 1.6rem; }

/* ------------------------------------------------------- the booking card -- */
.card-wrap { position: relative; }
.tb { position: relative; overflow: hidden; background: var(--card); color: var(--ink); border-radius: 14px; box-shadow: 0 40px 80px -40px rgb(30 32 26 / 0.55), 0 0 0 1px var(--hair); }
.tb > * { border-top: 1px solid var(--hair); }
.tb > :first-child, .tb > input, .tb > .hp { border-top: 0; }
.tb__head { position: relative; padding: 1.7rem 1.6rem 1.3rem; border-top: 0 !important; }
.tb__head::after { content: ""; position: absolute; left: 1.6rem; top: 0; width: 3.2rem; height: 3px; background: var(--cu); }
.tb__title { font: 400 2rem/1 var(--sc-font-display); color: var(--ink); }
.tb__sub { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.tb__interest { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.6rem; background: #F3EBE0; font-size: 0.9rem; }
.tb__interest[hidden] { display: none; }
.tb__interest-x { background: none; border: 0; padding: 0.25rem; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; color: var(--ink-soft); }
.when { border: 0; margin: 0; padding: 1.25rem 1.6rem; min-width: 0; }
.when__legend { padding: 0; margin-bottom: 1rem; float: left; width: 100%; font: 700 0.62rem/1.2 var(--sc-font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cu-deep); }
.when__legend + * { clear: both; }
.when__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.1rem; }
.when__tabs button {
  display: grid; gap: 0.3rem; text-align: left; padding: 0.65rem 0.9rem; min-height: 3.6rem; border-radius: 8px;
  background: #fff; border: 1px solid var(--hair-2); cursor: pointer; color: var(--ink);
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.when__n { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.when__v { font-size: 0.9rem; 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(--ink); box-shadow: inset 0 0 0 1px var(--ink), inset 0 -3px 0 var(--cu); }
@media (hover: hover) and (pointer: fine) { .when__tabs button:hover { border-color: var(--ink); } }
.when__month { font-size: 0.9rem; 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.7rem; color: var(--ink-soft); text-align: center; margin-bottom: 0.35rem; }
.when__dates { margin-bottom: 1.1rem; }
.when__dates button, .when__times button {
  position: relative; font: 600 0.9rem/1 var(--sc-font-text); color: var(--ink); border-radius: 6px;
  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(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
}
.when__dates button { display: grid; place-items: center; align-content: center; gap: 0.1rem; }
.when__dates .m { font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.when__dates .pad { visibility: hidden; }
@media (hover: hover) and (pointer: fine) { .when__dates button:hover, .when__times button:not(:disabled):hover { border-color: var(--ink); } }
.when__dates [aria-checked="true"], .when__times [aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.when__dates [aria-checked="true"] .m { color: rgb(255 255 255 / 0.85); }
.when__dates button[data-other]::after { content: ""; position: absolute; left: 50%; bottom: 0.26rem; width: 0.32rem; height: 0.32rem; margin-left: -0.16rem; border-radius: 50%; background: var(--cu); }
.when__times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; }
.when__times button:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.when__native label { display: block; margin-top: 0.75rem; font-size: 0.92rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { padding: 0.8rem 1.6rem 0.95rem; min-width: 0; }
.field + .field { border-left: 1px solid var(--hair); }
.field--wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--hair); }
.field label { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.45rem; }
.field input {
  width: 100%; min-height: 2.9rem; padding: 0.6rem 0.8rem; font: 400 1rem/1.3 var(--sc-font-text); color: var(--ink);
  background: #FBFBFA; border: 1px solid var(--hair-2); border-radius: 8px;
}
.field input::placeholder { color: color-mix(in oklab, var(--ink-soft) 75%, transparent); }
.field input:focus-visible { border-color: var(--ink); background: #fff; outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #A3342A; }
.field__error { margin: 0.35rem 0 0; font-size: 0.86rem; color: #A3342A; }
.field__error:empty { display: none; }
.tb__submit { padding: 1.3rem 1.6rem 1.1rem; }
.tb__fineprint { margin-top: 1rem; font-size: 0.8rem; line-height: 1.55; color: var(--ink-soft); text-align: center; text-wrap: pretty; }
.tb__status { padding: 1rem 1.6rem; font-size: 0.93rem; }
.tb__status.is-wait { background: #F3EBE0; color: var(--ink); }
.tb__status.is-err { background: #F7E2DA; 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]) { display: none; }
.tb.is-sending .tb__status { padding: 2rem 1.75rem; font-size: 1.1rem; line-height: 1.55; }
.tb__status.is-ok { padding: 2.6rem 2rem 2.4rem; background: var(--card); color: var(--ink); font-size: 1.02rem; line-height: 1.65; animation: settle 800ms var(--ease) both; }
.tb__status.is-ok strong { display: block; margin-bottom: 0.6rem; font: 400 2rem/1.1 var(--sc-font-display); color: var(--ink); }
.ok-mark { display: block; width: 3.6rem; height: 3.6rem; margin-bottom: 1.2rem; overflow: visible; }
.ok-mark .p { fill: #E9ECEB; stroke: rgb(35 36 31 / 0.2); }
.ok-mark .w { fill: none; stroke: var(--cu); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: tick 900ms 200ms var(--ease) forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ footer -- */
.foot { position: relative; padding: 2.25rem var(--gut) 2.75rem; font-size: 0.86rem; background: var(--floor-2); color: rgb(255 255 255 / 0.8); }
.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(--white); text-decoration-color: var(--cu-hi); text-underline-offset: 0.25em; }

/* ----------------------------------------------------------------- dialogs -- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--card); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6); }
dialog::backdrop { background: rgb(30 30 25 / 0.86); }
.dlg-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 1rem 0.8rem 1.4rem; border-bottom: 1px solid var(--hair); }
.dlg-title { font: 400 1.1rem/1.3 var(--sc-font-display); }
.dlg-close { min-height: 2.75rem; padding: 0.4rem 1.2rem; cursor: pointer; border-radius: 999px; background: var(--ink); color: var(--white); border: 0; font: 700 0.64rem/1 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; }
.viewer { width: calc(100vw - 2rem); height: calc(100svh - 2rem); max-width: none; max-height: none; }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; }
.viewer__body { overflow: auto; background: #fff; display: grid; place-items: start center; }
.viewer__body img { display: block; width: auto; max-width: none; height: auto; }
.viewer.is-fit .viewer__body img { width: 100%; max-width: 100%; cursor: zoom-in; }
.viewer:not(.is-fit) .viewer__body img { cursor: zoom-out; }

/* ------------------------------------------------------------------ tablet -- */
@media (max-width: 1100px) {
  .index__grid { grid-template-columns: 1fr 1fr; }
  .snaps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .snaps li:nth-child(even) { margin-top: 0; }
  .snaps li:nth-child(3n+2) { margin-top: 1.5rem; }
  .clubs__facts { grid-template-columns: 1fr 1fr; }
  .sp__legend { grid-template-columns: 1fr 1fr; }
  .pick { grid-template-columns: 1fr; }
  .chart__blocks { grid-template-columns: 1fr; }
  .book { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); }
}

/* ------------------------------------------------------------------- phone -- */
@media (max-width: 860px) {
  .bar { padding-top: 0.6rem; }
  .pane { min-width: 0; max-width: calc(100vw - 2 * var(--gut) - 9.5rem); padding-right: 0.8rem; }
  .pane__name { font-size: 0.95rem; }
  .pill { padding: 0 1rem; }
  .index__grid { grid-template-columns: 1fr; }
  .hero__mark { top: 14%; width: clamp(9rem, 44vw, 12rem); }
  .hero__scrim { width: 100%; height: 66%; background: linear-gradient(0deg, rgb(22 26 18 / 0.78) 0%, rgb(22 26 18 / 0.5) 45%, rgb(22 26 18 / 0) 100%); }
  .hero__one { bottom: 1.6rem; }
  .hero__line { font-size: clamp(1.9rem, 1.2rem + 4vw, 2.6rem); }
  .hero__sub { font-size: 0.98rem; }
  .hero__bframe { height: 64%; }
  .hero__two { top: auto; bottom: 2rem; }
  .hero__credit { bottom: auto; top: 4.6rem; right: var(--gut); }
  .count__grid, .nature__grid, .map__grid, .rail, .dev, .ebro__grid, .inside__cols, .grounds__row, .grounds__foot, .clubs__hero { grid-template-columns: minmax(0, 1fr); }
  .rail__note { grid-column: 1; }
  .rail__stops { grid-template-columns: 1fr 1fr; }
  .rail__stops li:nth-child(2) { margin-top: 0; }
  .rail__stops li:nth-child(3) { grid-column: 1 / -1; }
  .snaps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .snaps li:nth-child(n) { margin-top: 0; }
  .frame--low { margin-top: 0; }
  .wipe--2 { margin-bottom: 0; }
  .clubs__grid figure:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .clubs__facts, .sp__legend { grid-template-columns: 1fr; }
  .inside__grid figure:nth-child(n) { grid-column: span 12; margin-top: 0; }
  .inside__grid figure:nth-child(3), .inside__grid figure:nth-child(4) { grid-column: span 6; }
  .plans__grid { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .works { columns: 1; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: 1fr; }
  .field + .field { border-left: 0; border-top: 1px solid var(--hair); }
  .tb__head, .when, .field, .tb__submit, .tb__status, .tb__interest { padding-left: 1.1rem; padding-right: 1.1rem; }
  .pan__stage { padding-top: 5.2rem; }
  .pan__foot { padding-top: 0.6rem; }
  .plab span { max-width: 8.5rem; font-size: 0.68rem; }
  .peak__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; padding-top: 4.6rem; gap: 0; }
  .peak__head { gap: 0.2rem 1rem; }
  .peak__head .h2 { font-size: 1.85rem; }
  .peak__hint { font-size: 0.8rem; }
  .peak__chips { grid-row: 2; padding: 0.6rem 0 0; }
  .peak__glass { grid-row: 3; height: 35vh; height: 35svh; padding: 0.6rem 0 0.3rem; }
  .glass__dim { left: auto; right: -1.5rem; width: 1.4rem; }
  .peak__glass { padding-right: 1.6rem; }
  .peak__facts { grid-row: 4; grid-column: 1; align-self: start; min-height: 0; margin-top: 0.5rem; }
  .fact__no { font-size: 2.3rem; }
  .fact__big { margin-top: 0.6rem; font-size: 1.3rem; }
  .fact__list { margin-top: 0.6rem; }
  .fact__list li { padding: 0.35rem 0; font-size: 0.86rem; }
  .fact__list li:nth-child(n+4) { display: none; }
  .fact .btn { margin-top: 0.8rem; }
  .peak__chips { gap: 0.4rem; }
  .chip { min-height: 2.6rem; padding: 0 0.8rem; font-size: 0.8rem; }
  .hero__bframe { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
}
@media (max-width: 860px) and (max-height: 760px) {
  .fact__list li:nth-child(n+3) { display: none; }
}
@media (max-width: 860px) and (max-height: 640px) {
  .fact__list { display: none; }
}

/* --------------------------------------------------------- reduced motion -- */
.is-reduced .hero__stage { height: auto; min-height: 100svh; }
.is-reduced .js .mist-in:not(.is-in) img, .is-reduced .mist-in img { filter: none; opacity: 1; transform: none; }
.is-reduced .js .wipe img, .is-reduced .wipe img { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .js .mist-in:not(.is-in) img { filter: none; opacity: 1; transform: none; }
  .js .wipe img { clip-path: none; transition: none; }
  .pane__name.is-writing { animation: none; -webkit-mask-image: none; mask-image: none; }
  .fact, .glass { transition: none; }
}
