/* Lentor Gardens Residences: "Private view".
   The page is an exhibition hung in rooms. Walls: navy (entrance, Kingsford,
   catalogue, private view), plaster cream (day rooms), sage (the
   neighbourhood), linen (the homes). Gold is the one accent: a light gold on
   navy and a deep bronze of the same hue on the pale walls. Red appears only
   as the gallery's sold dot. Type: Josefin Sans (the logo's geometric caps)
   for wall vinyl, labels and controls; Spectral for prose, with the work
   titles in italic as on a museum label. */

:root {
  --navy: #14284F;
  --navy-2: #1B3463;
  --navy-deep: #0D1B38;
  --cream: #F4F0E5;
  --sage: #E3E8DD;
  --linen: #EEE6D7;
  --paper: #FFFDF8;
  --ink: #17223F;
  --ink-soft: #4F5871;
  --ink-l: #F3EEE3;
  --ink-l-soft: #BAC2D6;
  --gold: #CDB385;          /* on navy */
  --gold-hi: #E2CCA4;
  --gold-deep: #7F6236;     /* on the pale walls (same hue, 5:1 on cream) */
  --logo-gold: #B89D73;
  --red: #C42F2A;
  --hair: rgb(23 34 63 / 0.14);
  --hair-2: rgb(23 34 63 / 0.22);
  --hair-l: rgb(243 238 227 / 0.16);
  --frame: #1A1C22;
  --gut: clamp(1.1rem, 4.6vw, 5rem);
  --rail-h: 64px;

  --sc-canvas: var(--cream);
  --sc-surface: var(--paper);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--gold-deep);
  --sc-accent-ink: #fff;
  --sc-font-display: "Josefin Sans", "Futura", system-ui, sans-serif;
  --sc-font-text: "Spectral", Georgia, serif;
  --sc-shadow-color: 222 50% 10%;
}

html { scroll-padding-top: 72px; }
body { background: var(--cream); color: var(--ink); font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem); font-weight: 400; letter-spacing: 0; }
p, h1, h2, h3, h4, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.room--navy :focus-visible, .rail :focus-visible { outline-color: var(--gold-hi); }
.vh { 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: 200; background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { top: 4.5rem; }
.wrap { width: min(100%, 84rem); margin: 0 auto; padding: 0 var(--gut); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.1rem; padding: 0.85rem 1.6rem 0.75rem; border: 1px solid var(--navy); border-radius: 2px;
  background: var(--navy); color: var(--ink-l); text-decoration: none; cursor: pointer;
  font: 500 0.82rem/1 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.room--navy .btn, .rail .btn { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--navy-2); }
  .room--navy .btn:hover, .rail .btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair-2); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: rgb(23 34 63 / 0.06); } }
.room--navy .btn--ghost-light, .btn--ghost-light { background: transparent; color: var(--ink-l); border-color: rgb(243 238 227 / 0.4); }
@media (hover: hover) and (pointer: fine) { .room--navy .btn--ghost-light:hover { background: rgb(243 238 227 / 0.08); border-color: var(--ink-l); } }
.btn--block { width: 100%; }
.btn--small { min-height: 2.5rem; padding: 0.6rem 1rem 0.5rem; font-size: 0.72rem; letter-spacing: 0.14em; }

/* ---------------------------------------------------------- the rail -- */
.rail { position: fixed; inset: 0 0 auto 0; height: var(--rail-h); z-index: 60; pointer-events: none; }
.rail > * { pointer-events: auto; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; pointer-events: none;
  background: linear-gradient(var(--rail-bg, #14284F) 62%, transparent); opacity: 0.94; }
.rail__home { position: absolute; left: 14px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); box-shadow: 0 6px 14px -6px rgb(13 27 56 / 0.5); }
.rail__home svg { width: 30px; fill: var(--gold); }
.rail__bar { position: absolute; left: 72px; right: 236px; top: 0; height: var(--rail-h); pointer-events: none; }
.rail__line { position: absolute; left: 0; right: 0; top: 17px; height: 3px; border-radius: 2px; background: linear-gradient(#E6D3AE, #A8895A); box-shadow: 0 2px 3px -1px rgb(13 27 56 / 0.35); }
.rail__hooks { position: absolute; inset: 0; }
.rail__hook { position: absolute; top: 9px; width: 34px; height: 34px; margin-left: -17px; display: grid; place-items: start center; pointer-events: auto; text-decoration: none; }
.rail__hook i { display: block; width: 8px; height: 12px; margin-top: 5px; border: 2px solid #B8996A; border-top: 0; border-radius: 0 0 6px 6px; transition: border-color 140ms; }
.rail__hook b { position: absolute; top: 30px; left: 50%; transform: translate(-50%, -4px); opacity: 0; padding: 4px 8px 2px; white-space: nowrap; pointer-events: none;
  background: var(--navy-deep); color: var(--ink-l); font: 500 0.66rem/1.2 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; transition: opacity 140ms, transform 140ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .rail__hook:hover i { border-color: var(--gold-deep); } .rail__hook:hover b { opacity: 1; transform: translate(-50%, 0); } }
.rail__hook.is-here { visibility: hidden; }
.rail__card { position: absolute; top: 17px; left: 0; transform-origin: 0 0; will-change: transform; pointer-events: auto; }
.rail__wires { position: absolute; left: -60px; top: 0; width: 120px; height: 24px; overflow: visible; pointer-events: none; }
.rail__wires path { fill: none; stroke: #8E7A5A; stroke-width: 1; }
.rail__card::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F0DFBD, #A4824F); box-shadow: 0 1px 2px rgb(0 0 0 / 0.3); }
.rail__name {
  position: absolute; top: 18px; left: 0; transform: translateX(-50%);
  white-space: nowrap; padding: 7px 14px 5px; min-height: 30px; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1px solid rgb(23 34 63 / 0.18); border-radius: 1px;
  font: 500 0.7rem/1.2 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset, 0 8px 16px -8px rgb(13 27 56 / 0.55);
}
.rail__name::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.rail__name[aria-expanded="true"]::after { transform: rotate(225deg); margin-bottom: -1px; }
.rail__list {
  position: absolute; top: 76px; left: 72px; min-width: 15rem; padding: 0.6rem 0; display: none;
  background: var(--paper); border: 1px solid var(--hair); box-shadow: 0 24px 40px -18px rgb(13 27 56 / 0.5);
}
.rail.is-open .rail__list { display: block; }
.rail__list a { display: block; padding: 0.65rem 1.2rem 0.5rem; text-decoration: none; font: 400 0.8rem/1.2 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.rail__list a[aria-current="true"] { color: var(--gold-deep); font-weight: 600; }
.rail__list a[aria-current="true"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0.6rem 2px 0; border-radius: 50%; background: var(--gold-deep); }
@media (hover: hover) and (pointer: fine) { .rail__list a:hover { background: rgb(23 34 63 / 0.05); } }
.rail__book { position: absolute; right: 14px; top: 10px; box-shadow: 0 8px 18px -10px rgb(13 27 56 / 0.6); }

/* ------------------------------------------------------------- rooms -- */
.room { position: relative; padding: clamp(5rem, 11vw, 10rem) 0; }
.room--navy { background: var(--navy); color: var(--ink-l); }
.room--cream { background: var(--cream); color: var(--ink); }
.room--sage { background: var(--sage); color: var(--ink); }
.room--linen { background: var(--linen); color: var(--ink); }
/* a doorway: while a room's top crosses the screen it is seen through an
   opening in the previous room's wall (the body shows that wall's colour) */
.room[data-door] { clip-path: inset(0 var(--door-x, 0%) 0 var(--door-x, 0%)); }
.door-trim { position: absolute; top: 0; left: var(--door-x, 0%); right: var(--door-x, 0%); height: min(70vh, 46rem); pointer-events: none; opacity: var(--door-o, 0);
  border: 2px solid var(--gold-deep); border-bottom: 0; }
.room--navy .door-trim { border-color: var(--gold); }

/* wall vinyl, wall text, facts */
.vinyl { font: 400 clamp(1.9rem, 1.3rem + 2.4vw, 3.3rem)/1.05 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.vinyl--light, .room--navy .vinyl { color: var(--ink-l); }
.wall-text { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.3rem); line-height: 1.6; font-weight: 300; text-wrap: pretty; }
.room--navy .wall-text { font-weight: 400; color: var(--ink-l); }
.h3 { font: 500 1.05rem/1.2 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase; }
.sheet-note { font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); max-width: 40rem; }
.facts { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--hair); max-width: 36rem; }
.facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.8rem 0 0.7rem; border-bottom: 1px solid var(--hair); }
.facts dt { font: 500 0.72rem/1.6 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); padding-top: 0.2rem; }
.facts dd { font-size: 1.02rem; line-height: 1.5; }
.facts--dark { border-color: var(--hair-l); }
.facts--dark > div { border-color: var(--hair-l); }
.facts--dark dt { color: var(--gold); }
.facts--dark a { color: var(--ink-l); text-decoration-color: var(--gold); text-underline-offset: 0.22em; }

/* ------------------------------------------------- frames and labels -- */
.frame { position: relative; display: block; padding: 0; border: 9px solid var(--frame); background: var(--frame);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 22px 34px -18px hsl(var(--sc-shadow-color) / 0.55), 0 4px 8px -4px hsl(var(--sc-shadow-color) / 0.35); }
.frame img { width: 100%; height: auto; }
.frame--deep { border-width: 12px; box-shadow: 0 30px 50px -22px hsl(var(--sc-shadow-color) / 0.6), 0 6px 12px -6px hsl(var(--sc-shadow-color) / 0.4); }
.room--navy .frame { border-color: #0A0F1C; background: #0A0F1C; box-shadow: 0 1px 0 rgb(255 255 255 / 0.08) inset, 0 26px 44px -20px rgb(0 0 0 / 0.7); }
.frame--btn { width: 100%; cursor: zoom-in; font: inherit; color: inherit; }
.frame__zoom { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px 4px; background: rgb(13 27 56 / 0.86); color: var(--ink-l); font: 500 0.66rem/1.2 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; }
.label { display: grid; gap: 0.2rem; width: fit-content; max-width: 22rem; margin-top: 1.1rem; padding: 0.8rem 1rem 0.75rem; background: var(--paper); color: var(--ink);
  box-shadow: 0 1px 2px rgb(13 27 56 / 0.12), 0 6px 12px -8px rgb(13 27 56 / 0.3); }
.label__no { font: 600 0.66rem/1.3 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.label__title { font-style: italic; font-size: 1rem; line-height: 1.35; }
.label__medium { font: 500 0.66rem/1.4 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.label__where { font-size: 0.86rem; line-height: 1.4; color: var(--ink-soft); }
.label--sm { max-width: 15rem; padding: 0.55rem 0.75rem 0.5rem; margin-top: 0.7rem; }
.label--sm .label__title { font-size: 0.88rem; }

/* ------------------------------------------------------------ entrance -- */
.entrance { min-height: 100svh; padding: calc(var(--rail-h) + 4vh) 0 8vh; overflow: hidden; background: radial-gradient(120% 70% at 62% 0%, #22417A 0%, var(--navy) 46%, var(--navy-deep) 100%); }
.entrance__light { position: absolute; left: 62%; top: -10vh; width: 70vw; height: 60vh; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 0%, rgb(255 236 200 / 0.12), transparent 70%); }
.entrance__grid { position: relative; width: min(100%, 92rem); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr); grid-template-rows: auto auto; column-gap: clamp(2rem, 4vw, 4.5rem); }
.entrance__name { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2; padding-top: 4vh; will-change: transform; }
.entrance__h1 { margin: 0; }
.entrance__lockup { width: min(60vw, 52rem); height: auto; fill: var(--gold); filter: drop-shadow(0 2px 0 rgb(0 0 0 / 0.25)); }
.entrance__tag { margin-top: 1.1rem; font: 400 clamp(0.8rem, 0.72rem + 0.3vw, 1rem)/1.3 var(--sc-font-display); letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-l-soft); }
.entrance__copy { grid-column: 1; grid-row: 2; align-self: center; position: relative; z-index: 4; padding-bottom: 2vh; }
.entrance__lede { max-width: 26rem; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); line-height: 1.6; color: var(--ink-l); }
.entrance__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }

/* the hero work: three planes share one picture box; the far and near are
   clipped to the frame's window, the towers only at the sides and bottom so
   they rise out of the top of the frame */
.work--hero { grid-column: 2; grid-row: 2; position: relative; z-index: 3; margin-top: 6vh; }
.work__planes { position: relative; width: 100%; aspect-ratio: 1.7; }
.work__planes::before { /* the frame's moulding, drawn round the window */
  content: ""; position: absolute; inset: -12px; z-index: 1; border: 12px solid #090D18; pointer-events: none;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08) inset, 0 40px 60px -26px rgb(0 0 0 / 0.75), 0 8px 14px -6px rgb(0 0 0 / 0.45); }
.work__win { position: absolute; inset: 0; overflow: hidden; }
.work__win--far { z-index: 0; background: #2A4E92; }
.work__win--near { z-index: 3; pointer-events: none; }
.pl { position: absolute; left: 0; top: 0; width: 112%; height: auto; max-width: none; will-change: transform; }
.pl--mid { z-index: 2; filter: drop-shadow(0 16px 16px rgb(0 0 0 / 0.32)); }
.pl--near { transform-origin: 50% 100%; }
.label--hero { margin-left: auto; margin-top: 1.6rem; position: relative; z-index: 4; }

/* ------------------------------------------------------------ the hill -- */
.hill__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.hill__work .frame { transform: rotate(0deg); }

/* ---------------------------------------------------- the neighbourhood -- */
.hood__head { max-width: 46rem; }
.hood__grid { margin-top: clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hood__map { grid-row: span 2; }
.hood__green { max-width: 34rem; }
.times { margin-top: 1.4rem; display: grid; gap: 1.8rem; }
.times__h { font: 500 0.74rem/1.3 var(--sc-font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); padding-bottom: 0.5rem; border-bottom: 1px solid var(--hair-2); }
.times li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.42rem 0 0.32rem; border-bottom: 1px solid var(--hair); font-size: 1rem; line-height: 1.4; }
.times li span { flex: 1 1 auto; min-width: 0; }
.times li b { flex: none; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ------------------------------------------------------------ kingsford -- */
.kf { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.kf__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.kf__fine { margin-top: 1.5rem; max-width: 34rem; font-size: 0.86rem; line-height: 1.6; color: var(--ink-l-soft); }
.kf__hang { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem) clamp(0.9rem, 1.6vw, 1.5rem); }
.mini .frame { border-width: 6px; }
.mini figcaption { margin-top: 0.6rem; display: grid; gap: 0.1rem; font-size: 0.9rem; line-height: 1.35; }
.mini figcaption i { color: var(--ink-l); }
.mini figcaption span { font: 500 0.62rem/1.4 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-l-soft); }

/* ------------------------------------------------------ the grounds (peak) -- */
.grounds { padding: 0; }
.grounds__stage { height: 100svh; overflow: hidden; }
.grounds__head { position: absolute; left: var(--gut); top: calc(var(--rail-h) + 3.5vh); z-index: 5; max-width: 25rem; }
.grounds__head .wall-text { font-size: 1.05rem; margin-top: 0.9rem; }
.grounds__say { transition: opacity 300ms var(--sc-ease-out); }
.grounds__say[data-grounds-say="1"] { position: absolute; top: calc(100% - 0px); opacity: 0; }
.grounds.is-landed .grounds__say[data-grounds-say="0"] { opacity: 0; }
.grounds.is-landed .grounds__say[data-grounds-say="1"] { opacity: 1; position: static; }
.grounds.is-landed .grounds__say[data-grounds-say="0"] { position: absolute; }
.grounds__field { position: absolute; inset: 0; }
.grounds__plan { position: absolute; opacity: 0; will-change: opacity, transform; }
.grounds__plan img { width: 100%; height: 100%; box-shadow: 0 30px 50px -26px hsl(var(--sc-shadow-color) / 0.5); }
.hung { position: absolute; left: 0; top: 0; margin: 0; transform-origin: 0 0; will-change: transform; z-index: 3; cursor: default; }
.hung .frame { border-width: 8px; }
.hung .frame img { width: 100%; height: 100%; object-fit: cover; }
.hung .label { transition: opacity 200ms; }
.hung.is-pin { cursor: zoom-in; }
.hung.is-pin .frame { outline: 2px solid var(--gold-deep); outline-offset: 0; }
.hung__tip { position: absolute; left: 50%; bottom: -9px; width: 0; height: 0; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--frame); opacity: 0; transition: opacity 200ms; }
.grounds.is-landed .hung__tip { opacity: 1; }

/* the facilities legend */
.legend { padding-top: clamp(3rem, 6vw, 5rem); }
.legend__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hair-2); }
.legend__cols { margin-top: 1.6rem; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.5rem clamp(1.5rem, 4vw, 4rem); }
.legend__h { font: 500 0.72rem/1.4 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.7rem; }
.legend__list { list-style: decimal; padding-left: 2.1rem; columns: 1; font-size: 0.95rem; line-height: 1.5; }
.legend__list li { padding: 0.08rem 0; }
.legend__list li::marker { font: 500 0.78rem var(--sc-font-display); color: var(--gold-deep); }
.legend__cols section:first-child .legend__list { columns: 2; column-gap: 2.6rem; }
.legend__blk { margin: 0.9rem 0 0.25rem; font: 500 0.7rem/1.3 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.legend__blk:first-of-type { margin-top: 0; }

/* -------------------------------------------------------- the terraces -- */
.terr { padding-top: clamp(3rem, 7vw, 6rem); }
.terr__work .label { margin-left: auto; }
.terr__grid { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.terr__list { display: grid; gap: 0.9rem; }
.terr-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.6rem 1.2rem; padding: 1.1rem 1.2rem 1rem; background: var(--paper); border: 1px solid var(--hair); box-shadow: 0 10px 22px -18px rgb(13 27 56 / 0.5); }
.terr-card__t { font: 500 0.92rem/1.3 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; }
.terr-card__m { grid-column: 1; font-size: 0.95rem; color: var(--ink-soft); }
.terr-card__b { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }

/* ------------------------------------------------------------ the homes -- */
.homes__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); grid-template-areas: "text living" "bed study"; gap: clamp(2rem, 4vw, 4rem) clamp(2rem, 5vw, 5rem); align-items: start; }
.homes__text { grid-area: text; align-self: center; }
.homes__living { grid-area: living; }
.homes__bed { grid-area: bed; }
.homes__study { grid-area: study; max-width: 26rem; justify-self: start; margin-top: 4rem; }
.sheet { margin-top: clamp(3.5rem, 7vw, 6rem); padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--paper); box-shadow: 0 1px 2px rgb(13 27 56 / 0.08), 0 24px 40px -30px rgb(13 27 56 / 0.5); }
.sheet__head { display: grid; gap: 0.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--hair-2); }
.sheet__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.2rem, 3vw, 2.4rem); }
.sheet__group h4 { margin-top: 1.4rem; font: 500 0.72rem/1.4 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); padding-bottom: 0.4rem; }
.type-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.2rem 0.8rem; width: 100%; padding: 0.55rem 0 0.45rem; border: 0; border-top: 1px solid var(--hair); background: none; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.type-row__n { font: 500 0.82rem/1.3 var(--sc-font-display); letter-spacing: 0.1em; text-transform: uppercase; }
.type-row__s { grid-column: 1; font-size: 0.88rem; color: var(--ink-soft); }
.type-row__c { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 0.72rem/1.2 var(--sc-font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; }
.type-row.is-none .type-row__c { color: var(--ink-soft); }
.type-row.is-none .type-row__c::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
@media (hover: hover) and (pointer: fine) { .type-row:hover .type-row__n { color: var(--gold-deep); } }

/* ------------------------------------------------------ still available -- */
.avail__head { max-width: 48rem; }
.avail__date { margin-top: 1.2rem; font: 500 0.72rem/1.6 var(--sc-font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin: 0 0.25rem 0 0.4rem; }
.dot:first-child { margin-left: 0; }
.dot--open { background: var(--paper); border: 1.5px solid var(--navy); border-radius: 1px; }
.dot--sold { background: var(--red); }
.filters { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters button { min-height: 2.6rem; padding: 0.55rem 1rem 0.45rem; border: 1px solid var(--hair-2); background: transparent; cursor: pointer; border-radius: 2px;
  font: 500 0.72rem/1.2 var(--sc-font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.filters button span { color: var(--ink-soft); margin-left: 0.25rem; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--ink-l); }
.filters button[aria-pressed="true"] span { color: var(--gold); }
.blocks { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2.4rem clamp(1.5rem, 3vw, 2.8rem); }
.blk__h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.6rem; }
.blk__t { font: 500 0.78rem/1.2 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase; }
.blk__c { font-size: 0.86rem; color: var(--ink-soft); }
.blk__grid { display: grid; gap: 3px; }
.blk__lv, .blk__st { font: 500 0.6rem/1 var(--sc-font-display); color: var(--ink-soft); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.blk__sky { grid-column: 2 / -1; display: grid; place-items: center; height: 14px; font: 500 0.56rem/1 var(--sc-font-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.cell { position: relative; width: var(--cw, 24px); height: var(--ch, 20px); border: 0; padding: 0; background: transparent; }
.cell--sold::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--red); opacity: 0.85; }
.cell--none { visibility: hidden; }
.cell--open { cursor: pointer; background: var(--paper); border: 1.5px solid var(--navy); border-radius: 1px; transition: background-color 120ms, opacity 160ms, transform 120ms var(--sc-ease-out); }
.cell--open.is-dim { opacity: 0.18; }
@media (hover: hover) and (pointer: fine) { .cell--open:hover { background: var(--gold); transform: scale(1.12); z-index: 2; } }
.cell--open.is-pick { background: var(--gold-deep); }
.terr-row { display: flex; gap: 6px; }
.terr-row .cell { --cw: 46px; --ch: 30px; font: 500 0.66rem/1 var(--sc-font-display); color: var(--ink); }
.avail__tip { position: fixed; z-index: 70; pointer-events: none; padding: 6px 10px 4px; background: var(--navy-deep); color: var(--ink-l); font: 500 0.7rem/1.35 var(--sc-font-display); letter-spacing: 0.06em; opacity: 0; transition: opacity 100ms; }
.avail__tip.is-on { opacity: 1; }

/* ------------------------------------------------------------ catalogue -- */
.cat { padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem); }
.cat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cat__list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.5rem); }
.cat__item { display: grid; gap: 0.35rem; text-decoration: none; color: var(--ink-l); }
.cat__cover { display: block; aspect-ratio: 0.72; overflow: hidden; border: 8px solid #0A0F1C; background: #0A0F1C; box-shadow: 0 26px 40px -22px rgb(0 0 0 / 0.75); margin-bottom: 0.7rem; transition: transform 200ms var(--sc-ease-out); }
.cat__cover img { width: 100%; height: 100%; object-fit: cover; }
.cat__cover--plan { background: #FFFDF2; }
.cat__cover--plan img { object-fit: contain; }
.cat__t { font: 500 0.92rem/1.2 var(--sc-font-display); letter-spacing: 0.16em; text-transform: uppercase; }
.cat__t::after { content: "  \2193"; color: var(--gold); }
.cat__m { font-size: 0.9rem; color: var(--ink-l-soft); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .cat__item:hover .cat__cover { transform: translateY(-4px); } .cat__item:hover .cat__t { color: var(--gold-hi); } }

/* ----------------------------------------------------- the private view -- */
.close { padding-top: clamp(3rem, 6vw, 5rem); overflow-x: clip; background: linear-gradient(var(--navy) 0%, var(--navy-deep) 100%); }
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.book__side { display: grid; gap: 3rem; }
.close__cover { position: relative; width: min(100%, 22rem); margin-left: clamp(0rem, 6vw, 5rem); }
.close__light { position: absolute; left: 50%; top: -9rem; width: 34rem; height: 40rem; transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(40% 46% at 50% 30%, rgb(255 233 196 / 0.16), transparent 72%); transition: opacity 900ms, transform 900ms var(--sc-ease-out); }
.close__cover .frame, .close__cover .label { position: relative; z-index: 1; }
.close.is-sent .close__light { transform: translateX(-50%) scale(1.5); background: radial-gradient(40% 46% at 50% 30%, rgb(255 233 196 / 0.28), transparent 72%); }
.close.is-sent [data-cover-note] { color: var(--gold-deep); }
.close.is-sent [data-cover-note]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--gold-deep); vertical-align: 1px; }

.card-wrap { position: relative; }
.card { background: var(--paper); color: var(--ink); }
.tb { position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, 0 40px 70px -30px rgb(0 0 0 / 0.75); }
.tb > * { border-top: 1px solid var(--hair); }
.tb > :first-child, .tb > input, .tb > .hp { border-top: 0; }
.tb__head { position: relative; padding: 1.6rem 1.6rem 1.3rem; border-top: 0 !important; text-align: center; }
.tb__head::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgb(127 98 54 / 0.35); pointer-events: none; border-bottom: 0; }
.tb__kicker { font: 500 0.66rem/1.3 var(--sc-font-display); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); }
.tb__title { margin-top: 0.5rem; font: 300 1.9rem/1.1 var(--sc-font-text); font-style: italic; color: var(--ink); }
.tb__sub { margin-top: 0.45rem; font-size: 0.95rem; color: var(--ink-soft); }
.tb__interest { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.6rem; background: #F4ECDC; font-size: 0.93rem; }
.tb__interest[hidden] { display: none; }
.tb__interest-x { background: none; border: 0; padding: 0.25rem; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; color: var(--ink-soft); }
.when { border: 0; margin: 0; padding: 1.25rem 1.6rem; min-width: 0; }
.when__legend { padding: 0; margin-bottom: 1rem; float: left; width: 100%; font: 500 0.7rem/1.2 var(--sc-font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-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;
  background: #fff; border: 1px solid var(--hair-2); border-radius: 2px; cursor: pointer; color: var(--ink);
  transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.when__n { font: 600 0.66rem/1.2 var(--sc-font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.when__v { font-size: 0.95rem; 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 0 0 1px var(--navy), inset 0 -4px 0 var(--gold); }
@media (hover: hover) and (pointer: fine) { .when__tabs button:hover { border-color: var(--navy); } }
.when__month { font: 500 0.78rem/1.2 var(--sc-font-display); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; }
.when__dow, .when__dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; }
.when__dow { font: 500 0.66rem/1 var(--sc-font-display); letter-spacing: 0.06em; color: var(--ink-soft); text-align: center; margin-bottom: 0.4rem; }
.when__dates { margin-bottom: 1.1rem; }
.when__dates button, .when__times button {
  position: relative; font: 500 0.95rem/1 var(--sc-font-text); color: var(--ink);
  background: #fff; border: 1px solid var(--hair-2); border-radius: 2px;
  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: 500 0.56rem/1 var(--sc-font-display); 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(--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.32rem; height: 0.32rem; margin-left: -0.16rem; border-radius: 50%; background: var(--gold-deep); }
.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: 600 0.66rem/1.2 var(--sc-font-display); letter-spacing: 0.14em; 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 1.02rem/1.3 var(--sc-font-text); color: var(--ink); background: #FBF8F0; border: 1px solid var(--hair-2); border-radius: 2px; }
.field input::placeholder { color: color-mix(in oklab, var(--ink-soft) 78%, 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.9rem; color: #A3342A; }
.field__error:empty { display: none; }
.tb__submit { padding: 1.25rem 1.6rem 1.1rem; }
.tb__fineprint { margin-top: 1rem; font-size: 0.84rem; line-height: 1.55; color: var(--ink-soft); text-align: center; text-wrap: pretty; }
.tb__status { padding: 1rem 1.6rem; font-size: 0.95rem; }
.tb__status.is-wait { background: #F4ECDC; color: var(--ink); }
.tb__status.is-err { background: #F7E2DA; color: #7A2A14; }
.tb__status a { color: inherit; font-weight: 600; }
.tb__status:focus { outline: none; }
.tb.is-sending > :not([data-status]):not(.tb__head), .tb.is-done > :not([data-status]) { display: none; }
.tb.is-sending .tb__status { padding: 2rem 1.75rem; font-size: 1.1rem; line-height: 1.55; }
.tb__status.is-ok { position: relative; padding: 2.6rem 2rem 2.4rem; background: var(--paper); color: var(--ink); font-size: 1.06rem; line-height: 1.6; text-align: center; animation: settle 700ms var(--sc-ease-out) both; }
.tb__status.is-ok::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgb(127 98 54 / 0.35); pointer-events: none; }
.tb__status.is-ok strong { display: block; margin-bottom: 0.6rem; font: 300 1.9rem/1.15 var(--sc-font-text); font-style: italic; color: var(--ink); }
.tb__status.is-ok .ok-k { display: block; margin-bottom: 0.9rem; font: 500 0.66rem/1.3 var(--sc-font-display); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); }
.tb__status.is-ok .ok-slots { display: grid; gap: 0.2rem; margin: 1.2rem auto 0; padding-top: 1rem; border-top: 1px solid var(--hair); max-width: 20rem; font-style: italic; }
.tb__status.is-ok .ok-mark { display: block; width: 2.6rem; height: 2.6rem; margin: 0 auto 1rem; }
.ok-mark circle { fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-dasharray: 130; stroke-dashoffset: 130; animation: draw 900ms 150ms cubic-bezier(.3,.7,.2,1) forwards; }
.ok-mark .dotc { fill: var(--gold-deep); stroke: none; opacity: 0; animation: pop 300ms 900ms var(--sc-ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ footer -- */
.foot { position: relative; padding: 2.25rem var(--gut) 2.75rem; font-size: 0.9rem; background: var(--navy-deep); color: var(--ink-l-soft); border-top: 1px solid var(--hair-l); }
.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(--ink-l); text-decoration-color: var(--gold); text-underline-offset: 0.25em; }

/* ----------------------------------------------------------------- dialogs -- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6); border-radius: 2px; }
dialog::backdrop { background: rgb(9 17 36 / 0.78); }
.dlg-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 0.9rem 0.8rem 1.3rem; border-bottom: 1px solid var(--hair); }
.dlg-title { font-style: italic; font-size: 1.05rem; line-height: 1.35; }
.dlg-close { flex: none; min-height: 2.5rem; padding: 0.5rem 1.1rem 0.4rem; cursor: pointer; background: var(--navy); color: #fff; border: 0; border-radius: 2px; font: 500 0.72rem/1 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; }
.viewer { width: min(110rem, calc(100vw - 1.5rem)); height: min(64rem, calc(100svh - 1.5rem)); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; }
.viewer__body { overflow: auto; display: grid; place-items: center; background: #EDE8DC; overscroll-behavior: contain; }
.viewer__body img { max-width: none; width: auto; height: auto; max-height: none; }
.viewer.is-fit .viewer__body img { max-width: 100%; max-height: 100%; cursor: zoom-in; }
.viewer:not(.is-fit) .viewer__body { place-items: start; }
.viewer:not(.is-fit) .viewer__body img { cursor: zoom-out; }
.plan-dlg { width: min(66rem, calc(100vw - 1.5rem)); height: min(54rem, calc(100svh - 1.5rem)); }
.plan-dlg[open] { display: grid; grid-template-rows: auto 1fr; }
.plan-dlg__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 0; }
.plan-dlg__img { overflow: auto; background: #FFFDF2; display: grid; place-items: start center; }
.plan-dlg__img img { width: 100%; height: auto; }
.plan-dlg__info { padding: 1.4rem; overflow: auto; display: grid; align-content: start; gap: 1.2rem; border-left: 1px solid var(--hair); }
.plan-dlg__meta { font-size: 1rem; line-height: 1.55; }
.plan-dlg__meta b { display: block; font: 500 0.9rem/1.3 var(--sc-font-display); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chips__h { width: 100%; font: 500 0.68rem/1.4 var(--sc-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.2rem; }
.chip { min-height: 2.3rem; padding: 0.4rem 0.6rem 0.3rem; border: 1px solid var(--hair-2); background: #fff; cursor: pointer; font: 500 0.78rem/1 var(--sc-font-display); letter-spacing: 0.04em; color: var(--ink); border-radius: 2px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--navy); } }

/* ------------------------------------------------------------ phones -- */
@media (max-width: 1100px) {
  .rail__x { display: none; }
  .rail__bar { right: 186px; }
}
@media (max-width: 860px) {
  :root { --rail-h: 58px; }
  .rail__bar { left: 64px; right: 132px; }
  .rail__home { left: 10px; width: 42px; height: 42px; }
  .rail__hook { pointer-events: none; width: 14px; margin-left: -7px; }
  .rail__hook i { width: 6px; height: 9px; border-width: 1.5px; margin-top: 7px; }
  .rail__book { right: 10px; top: 9px; padding-left: 0.75rem; padding-right: 0.75rem; }
  .rail__book .rail__x { display: none; }
  .rail__list { left: 10px; right: 10px; min-width: 0; top: 70px; }
  .rail__name { font-size: 0.64rem; letter-spacing: 0.12em; padding: 7px 10px 5px; }

  .room { padding: 4.5rem 0; }
  .entrance { padding: calc(var(--rail-h) + 3vh) 0 3rem; }
  .entrance__grid { grid-template-columns: 1fr; }
  .entrance__name { padding-top: 3vh; }
  .entrance__lockup { width: min(88vw, 30rem); }
  .work--hero { grid-column: 1; grid-row: 2; margin-top: 18vw; }
  .work__planes { aspect-ratio: 1.3; }
  .entrance__copy { grid-row: 3; margin-top: 2rem; }
  .label--hero { margin-left: 0; }

  .hill__grid, .hood__grid, .kf__grid, .terr__grid, .cat__grid, .book { grid-template-columns: minmax(0, 1fr); }
  .hood__map { grid-row: auto; }
  .kf__hang { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homes__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "living" "bed" "study"; }
  .homes__study { margin-top: 0; }
  .sheet__cols { grid-template-columns: minmax(0, 1fr); }
  .legend__cols { grid-template-columns: minmax(0, 1fr); }
  .legend__cols section:first-child .legend__list { columns: 1; }
  .facts > div { grid-template-columns: 6.5rem 1fr; }
  .terr-card { grid-template-columns: 1fr; }
  .terr-card__b { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .grounds__head { left: var(--gut); right: var(--gut); max-width: none; top: calc(var(--rail-h) + 1.8vh); }
  .grounds__head .vinyl { font-size: 1.6rem; }
  .grounds__head .wall-text { font-size: 0.95rem; margin-top: 0.5rem; }
  .hung .frame { border-width: 5px; }
  .hung .label { display: none; }
  .close__cover { margin-left: 0; width: min(78%, 20rem); }
  .plan-dlg__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1.2fr) auto; }
  .plan-dlg__info { border-left: 0; border-top: 1px solid var(--hair); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .field + .field { border-left: 0; border-top: 1px solid var(--hair); }
  .cat__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .vinyl { font-size: min(1.9rem, 8.4vw); letter-spacing: 0.12em; }
  .when, .field, .tb__submit, .tb__interest { padding-left: 1.1rem; padding-right: 1.1rem; }
  .when__dates button, .when__times button { min-height: 2.6rem; font-size: 0.88rem; }
  .entrance__cta .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .room[data-door] { clip-path: none !important; }
  .door-trim { display: none; }
  .pl, .entrance__name, .rail__card, .hung { will-change: auto; }
}
