/* ============================================================
   Atlas Residences — interactive sales-gallery kiosk
   Espresso, brushed bronze & champagne gold. 43" touch display.
   ============================================================ */

:root {
  --ink:        #191310;
  --bark:       #241c14;
  --panel:      #2f2519;
  --line-dark:  #4a3b28;
  --cream:      #f3ede1;
  --cream-2:    #ece3d1;
  --line-light: #d8cbb0;
  --gold:       #c9a35c;
  --gold-soft:  #b3925a;
  --gold-bright:#e6c684;
  --text-dark:  #efe7d6;
  --text-dark-2:#c9bda6;
  --text-light: #33291c;
  --text-light-2:#6d5f49;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.4rem, 3.5vw, 4.5rem);
  --chrome-h: clamp(4.2rem, 8.5vh, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--ink);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* kiosk hygiene: no scroll, no selection, no callouts, no pinch zoom */
.kiosk {
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-x pan-y; /* pan only — blocks pinch-zoom, unlike `manipulation` */
  overscroll-behavior: none;
  cursor: default;
}
.kiosk img { -webkit-user-drag: none; user-drag: none; }

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
button { font-family: inherit; }

/* ---------- shared atoms ---------- */

.eyebrow {
  font-size: clamp(0.68rem, 1vw, 0.95rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}
/* keep eyebrows gold inside text panels (their `p` color rules would otherwise win) */
.split__text .eyebrow,
.full__panel .eyebrow { color: var(--gold); }
/* darker gold on cream screens for legible contrast */
.screen--split-light .split__text .eyebrow,
.screen--split-light .eyebrow,
.screen--unit .eyebrow { color: #8a6a2f; }

.lede { color: var(--text-dark-2); max-width: 56rem; font-size: clamp(0.95rem, 0.75vw + 0.55vh, 1.6rem); }

.btn {
  display: inline-block;
  font-size: clamp(0.74rem, 1vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(20, 14, 9, 0.35);
  border: 1px solid var(--gold-soft);
  padding: 1rem 1.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s;
}
.btn:active { transform: scale(0.97); background: rgba(201, 163, 92, 0.22); }
.btn--solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--solid:active { background: var(--gold-bright); }
.btn--big { padding: 1.15rem 2.4rem; min-height: 3.4rem; }

.imprint {
  position: absolute;
  right: 1rem; bottom: 0.9rem; /* stage already stops above the chrome bar */
  font-size: clamp(0.55rem, 0.75vw, 0.72rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  background: rgba(20, 15, 10, 0.55);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.18);
  z-index: 3;
  pointer-events: none;
}

.zoomhint {
  font-size: clamp(0.62rem, 0.85vw, 0.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light-2);
  margin-top: 0.55rem;
  text-align: center;
}

/* ---------- stage & screens ---------- */

.stage {
  position: fixed;
  inset: 0 0 var(--chrome-h) 0;
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(3.5%);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0s linear 0.55s;
  overflow: hidden;
  background: var(--bark);
}
.screen.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  z-index: 2;
}
.screen.is-leaving-back { transform: translateX(-3.5%); }

.screen__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.screen__bg--contain { object-fit: contain; background: var(--bark); }
.screen__bg--coverart { object-position: center; }


/* translucent legibility wash over the (clean) art behind the text */
.cover__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(15, 10, 6, 0.74) 0%,
    rgba(15, 10, 6, 0.42) 40%,
    rgba(15, 10, 6, 0.08) 66%,
    transparent 80%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- cover & thank-you ---------- */

.cover__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 12, 8, 0.88) 0%, rgba(18, 12, 8, 0.55) 38%, rgba(18, 12, 8, 0.12) 70%),
    linear-gradient(0deg, rgba(18, 12, 8, 0.55) 0%, transparent 30%);
}
.screen--thanks .cover__scrim {
  background:
    radial-gradient(90% 110% at 50% 45%, rgba(18, 12, 8, 0.42) 0%, rgba(18, 12, 8, 0.82) 100%);
}

.cover__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  max-width: min(56vw, 62rem);
  gap: clamp(1rem, 2.2vh, 1.8rem);
}
/* keep the cover text on the washed/opaque side, at any aspect ratio */
.screen--cover:not(.screen--thanks) .cover__content {
  max-width: min(calc((100dvh - var(--chrome-h)) * 0.74), 86vw);
}
.screen--thanks .cover__content {
  max-width: none;
  align-items: center;
  text-align: center;
}

.cover__logo {
  width: clamp(10rem, 16vw, 17rem);
  height: auto;
}

.cover__content h1 {
  font-size: clamp(2.4rem, 4.6vw, 5rem);
}
.cover__content h1 em { font-style: italic; color: var(--gold-bright); }
.cover__content p { color: var(--text-dark-2); font-size: clamp(0.95rem, 1.35vw, 1.3rem); max-width: 34em; }
.cover__content .btn { align-self: flex-start; margin-top: 0.6rem; }
.screen--thanks .cover__content .btn { align-self: center; }

.thanks__title {
  font-size: clamp(1.7rem, 2.9vw, 3.1rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: 0.28em; /* optically recenter tracked text */
}
.thanks__devblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.4rem;
}
.thanks__dev {
  font-size: clamp(0.68rem, 0.95vw, 0.9rem) !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold) !important;
}
.thanks__kip {
  width: clamp(4.2rem, 5.5vw, 6rem);
  height: auto;
}

/* pulse on the cover CTA */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 163, 92, 0.45); }
  50%      { box-shadow: 0 0 0 14px rgba(201, 163, 92, 0); }
}
.screen--cover .btn--solid { animation: pulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .screen--cover .btn--solid { animation: none; }
  .screen { transition: opacity 0.3s ease, visibility 0s linear 0.3s; transform: none; }
}

/* ---------- menu ---------- */

.screen--menu {
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 3.5vh, 2.6rem) var(--pad);
  gap: clamp(1rem, 3vh, 2rem);
}
.menu__head {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3rem);
}
.menu__logo { width: clamp(5.5rem, 7.5vw, 8.5rem); flex-shrink: 0; }
.menu__head h2 { font-size: clamp(1.8rem, 3.4vw, 3.4rem); }
.menu__head .eyebrow { margin-bottom: 0.4rem; }
.menu__hint {
  margin-left: auto;
  text-align: right;
  font-size: clamp(0.7rem, 0.95vw, 0.9rem);
  color: var(--text-dark-2);
  line-height: 1.7;
}

.menu__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.9rem, 1.8vw, 1.8rem);
  min-height: 0;
}

.mcard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line-dark);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  padding: 0;
  min-height: 0;
  transition: border-color 0.2s, transform 0.12s;
}
.mcard:active { transform: scale(0.985); border-color: var(--gold); }
.mcard__imgwrap { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mcard__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.mcard__imgwrap i {
  position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-style: normal;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  color: var(--gold-bright);
  background: rgba(20, 14, 9, 0.78);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 0.35rem 0.8rem;
}
.mcard__label {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.9rem);
  color: var(--text-dark);
  background: rgba(16, 11, 7, 0.92);
  border-top: 1px solid var(--line-dark);
  padding: clamp(0.6rem, 1.4vh, 1rem) 1.2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.mcard__label small {
  font-family: var(--sans);
  font-size: clamp(0.58rem, 0.8vw, 0.78rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
}

/* ---------- split screens ---------- */

.screen--split { display: grid; grid-template-columns: minmax(30rem, 44%) 1fr; }
.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vh, 3rem) var(--pad);
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(201, 163, 92, 0.07), transparent 55%),
    var(--bark);
  overflow-y: auto;
}
.split__text h2 { font-size: clamp(1.9rem, 3.2vw, 3.4rem); margin-bottom: clamp(0.8rem, 2vh, 1.4rem); }
.split__text p { color: var(--text-dark-2); font-size: clamp(0.92rem, 0.7vw + 0.55vh, 1.55rem); max-width: 36em; }
.split__text p + p { margin-top: 0.9rem; }

.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--plan { background: #f6f1e6; display: flex; flex-direction: column; justify-content: center; padding: clamp(1rem, 2.5vh, 2rem); cursor: zoom-in; }
.split__media--plan img { object-fit: contain; min-height: 0; flex: 1; }
.split__media--plan .zoomhint { flex: none; }

.screen--split-light .split__text {
  background: var(--cream);
  color: var(--text-light);
}
.screen--split-light .split__text h2 { color: #241b10; }
.screen--split-light .split__text p { color: var(--text-light-2); }

.chip {
  display: inline-block;
  align-self: flex-start;
  margin-top: 1.4rem;
  font-size: clamp(0.7rem, 0.95vw, 0.9rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--gold-soft);
  padding: 0.7rem 1.2rem;
}

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.chips li {
  border: 1px solid var(--line-dark);
  background: rgba(201, 163, 92, 0.06);
  padding: 0.7rem 1rem;
  min-width: 7.2rem;
}
.chips strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 1.6vw, 1.55rem); color: var(--gold-bright); }
.chips span { font-size: clamp(0.55rem, 0.75vw, 0.7rem); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dark-2); }

.figures { list-style: none; display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.figures li { border: 1px solid var(--line-light); background: rgba(201, 163, 92, 0.1); padding: 0.9rem 1.3rem; min-width: 8rem; }
.screen--split:not(.screen--split-light) .figures li { border-color: var(--line-dark); background: rgba(201, 163, 92, 0.06); }
.figures strong { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 2.3vw, 2.3rem); font-weight: 500; color: #8a6a2f; line-height: 1.1; }
.screen--split:not(.screen--split-light) .figures strong { color: var(--gold-bright); }
.figures span { font-size: clamp(0.56rem, 0.75vw, 0.72rem); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-light-2); }
.screen--split:not(.screen--split-light) .figures span { color: var(--text-dark-2); }

.callout {
  margin-top: 1.6rem;
  border: 1px solid var(--gold-soft);
  background: linear-gradient(100deg, rgba(201, 163, 92, 0.2), rgba(201, 163, 92, 0.07));
  padding: 1rem 1.3rem;
  max-width: 34em;
}
.callout strong {
  display: block;
  color: #8a6a2f;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(0.66rem, 0.9vw, 0.85rem);
  margin-bottom: 0.25rem;
}

.tags { display: flex; gap: 0.7rem; margin-top: 1.5rem; flex-wrap: wrap; }
.tags span {
  font-size: clamp(0.62rem, 0.85vw, 0.8rem);
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35); color: #fff;
  padding: 0.55rem 1.1rem; background: rgba(20, 14, 9, 0.55);
}

.minihead {
  font-family: var(--sans);
  font-size: clamp(0.66rem, 0.9vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.6rem 0 0.7rem;
}

.dotlist { list-style: none; }
.dotlist li {
  padding: 0.45rem 0 0.45rem 1.3rem;
  position: relative;
  font-size: clamp(0.85rem, 0.6vw + 0.7vh, 1.55rem);
  color: var(--text-dark);
  border-bottom: 1px solid color-mix(in srgb, var(--line-dark) 55%, transparent);
}
.dotlist li:last-child { border-bottom: none; }
.dotlist li::before {
  content: "";
  position: absolute; left: 0; top: 1.05rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

.cols-2--tight { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

/* ---------- full-bleed screens ---------- */

/* deck-style legibility scrim rising from the left edge (only on screens with a text panel) */
.screen--fullpanel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(15, 10, 6, 0.74) 0%, rgba(15, 10, 6, 0.5) 30%, transparent 60%),
    linear-gradient(0deg, rgba(15, 10, 6, 0.4) 0%, transparent 25%);
  z-index: 1;
  pointer-events: none;
}
.full__panel {
  position: absolute;
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(36vw, 40rem);
  z-index: 2;
}
.full__panel h2 {
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.full__panel p {
  color: var(--text-dark);
  font-size: clamp(0.92rem, 0.7vw + 0.55vh, 1.5rem);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}
.full__panel .eyebrow { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.full__panel--slim { max-width: min(32vw, 34rem); }

/* ---------- list screens (location / directory / specs) ---------- */

.screen--lists, .screen--gallery {
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 3.5vh, 2.4rem) var(--pad);
  gap: clamp(0.9rem, 2.4vh, 1.8rem);
  overflow-y: auto;
}
.screen__head h2 { font-size: clamp(1.9rem, 3.2vw, 3.2rem); margin-bottom: 0.5rem; }
.screen__head .eyebrow { margin-bottom: 0.6rem; }

.cols-3 { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.6rem); min-height: 0; align-items: start; }

.listcard {
  border: 1px solid var(--line-dark);
  background: var(--panel);
  padding: clamp(1rem, 2.2vh, 1.7rem) clamp(1rem, 1.6vw, 1.6rem);
}
.listcard h3 {
  font-size: clamp(1.2rem, 1vw + 0.9vh, 2.3rem);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-dark);
}
.distlist { list-style: none; }
.distlist li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: clamp(0.32rem, 0.8vh, 0.55rem) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line-dark) 50%, transparent);
  font-size: clamp(0.82rem, 0.55vw + 0.75vh, 1.6rem);
}
.distlist li:last-child { border-bottom: none; }
.distlist b { font-weight: 500; color: var(--gold-bright); white-space: nowrap; }
.listnote {
  margin-top: 0.8rem;
  font-size: clamp(0.7rem, 0.45vw + 0.55vh, 1.2rem);
  color: var(--text-dark-2);
  border-top: 1px solid var(--line-dark);
  padding-top: 0.8rem;
}

.directory__grid {
  flex: 1;
  list-style: none;
  counter-reset: amenity;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(0.55rem, 1.1vw, 1rem);
  min-height: 0;
}
.directory__grid li {
  counter-increment: amenity;
  border: 1px solid var(--line-dark);
  background: var(--panel);
  padding: clamp(0.5rem, 1.2vh, 1.3rem) clamp(1rem, 1.2vw, 1.7rem);
  font-size: clamp(0.85rem, 0.6vw + 0.95vh, 1.9rem);
  display: flex; align-items: center; gap: 0.9rem;
}
.directory__grid li::before {
  content: counter(amenity, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--gold);
  font-size: clamp(1rem, 0.8vw + 1vh, 2.2rem);
}

.specs { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: clamp(0.7rem, 1.3vw, 1.2rem); min-height: 0; }
.spec { border: 1px solid var(--line-dark); background: var(--panel); padding: clamp(0.85rem, 1.8vh, 1.4rem) clamp(1rem, 1.4vw, 1.4rem); }
.spec h3 {
  font-family: var(--sans);
  font-size: clamp(0.62rem, 0.45vw + 0.5vh, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.spec p { font-size: clamp(0.82rem, 0.55vw + 0.85vh, 1.75rem); line-height: 1.6; }

.footnote--band {
  border: 1px solid var(--gold-soft);
  background: linear-gradient(100deg, rgba(201, 163, 92, 0.18), rgba(201, 163, 92, 0.06));
  padding: 0.75rem 1.2rem;
  text-align: center;
  font-size: clamp(0.72rem, 0.5vw + 0.6vh, 1.3rem);
}

.screen__note { font-size: clamp(0.7rem, 0.5vw + 0.5vh, 1.15rem); color: var(--text-dark-2); }

/* ---------- gallery screen ---------- */

.gallery {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.4vw, 1.4rem);
  min-height: 0;
}
.gallery figure {
  display: flex;
  flex-direction: column;
  min-height: 0;
  cursor: zoom-in;
  border: 1px solid var(--line-dark);
  background: var(--panel);
}
.gallery img { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.gallery figcaption {
  padding: clamp(0.6rem, 1.4vh, 0.95rem) 1rem;
  font-size: clamp(0.74rem, 0.55vw + 0.65vh, 1.5rem);
  color: var(--text-dark-2);
  border-top: 1px solid var(--line-dark);
}
.gallery figcaption strong { color: var(--gold-bright); font-weight: 500; }

/* ---------- residence screens ---------- */

.screen--unit {
  display: grid;
  grid-template-columns: minmax(19rem, 24%) 1fr 1.2fr;
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.2rem, 3.5vh, 2.4rem) var(--pad);
  background: var(--cream);
  color: var(--text-light);
}
.unit__info { display: flex; flex-direction: column; min-height: 0; }
.unit__info h2 {
  color: #241b10;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem;
}
.unit__area { font-size: 0.55em; color: #8a6a2f; }
.badge {
  font-family: var(--sans);
  font-size: clamp(0.56rem, 0.78vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: #33291c; color: var(--gold-bright);
  padding: 0.45rem 0.75rem;
}
.unit__specs { list-style: none; margin-top: clamp(0.9rem, 2.4vh, 1.6rem); display: grid; gap: 0.6rem; }
.unit__specs li {
  display: flex; align-items: baseline; gap: 0.9rem;
  border: 1px solid var(--line-light); background: var(--cream-2);
  padding: clamp(0.5rem, 1.3vh, 0.8rem) 1rem;
}
.unit__specs strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.2vw + 1vh, 2.6rem); color: #8a6a2f; min-width: 2.6rem; }
.unit__specs span { font-size: clamp(0.72rem, 0.55vw + 0.6vh, 1.4rem); letter-spacing: 0.08em; color: var(--text-light-2); }
.unit__pos { margin-top: clamp(0.9rem, 2.2vh, 1.5rem); font-size: clamp(0.8rem, 1vw, 1rem); color: var(--text-light-2); }
.unit__pos small { font-size: 0.85em; }
.unit__minimap {
  margin-top: 0.7rem;
  border: 1px solid var(--line-light);
  background: #fff;
  max-width: clamp(9rem, 12vw, 13rem);
  cursor: zoom-in;
  min-height: 0;
  overflow: hidden;
}
.unit__plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line-light);
  background: #fbf7ee;
  padding: clamp(0.7rem, 1.6vh, 1.2rem);
  cursor: zoom-in;
}
.unit__plan img { flex: 1; min-height: 0; object-fit: contain; width: 100%; }
.unit__plan .zoomhint { flex: none; }

/* ---------- kiosk chrome ---------- */

.chrome {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--chrome-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 2vw, 2.2rem);
  background: linear-gradient(180deg, #221a12, #1a140d);
  border-top: 1px solid var(--gold-soft);
  box-shadow: 0 -1px 0 0 #0c0906, 0 -4px 0 -3px var(--gold-soft);
  z-index: 40;
}

.chrome__btn {
  font-size: clamp(0.72rem, 1vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(201, 163, 92, 0.05);
  border: 1px solid var(--gold-soft);
  min-height: clamp(2.8rem, 5.4vh, 3.6rem);
  padding: 0 clamp(1.1rem, 1.8vw, 2rem);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: background 0.15s, transform 0.1s, opacity 0.2s;
}
.chrome__btn:active { transform: scale(0.96); background: rgba(201, 163, 92, 0.22); }
.chrome__btn[disabled] { opacity: 0.35; pointer-events: none; }
.chrome__btn--next { background: rgba(201, 163, 92, 0.16); }

.chrome__burger { display: inline-flex; flex-direction: column; gap: 4px; }
.chrome__burger i { display: block; width: 18px; height: 1px; background: var(--gold-bright); }
.chrome__burger i:nth-child(2) { width: 13px; }

.chrome__center {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  min-width: 0;
}
.chrome__count {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  color: var(--text-dark);
  border: 1px solid var(--line-dark);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.35rem 1.1rem;
  white-space: nowrap;
}
.chrome__label {
  font-size: clamp(0.72rem, 1.05vw, 1.05rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chrome__navbtns { display: flex; gap: 0.8rem; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 11, 7, 0.95);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 3vh, 2.4rem);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 94vw;
  max-height: 74vh;
  object-fit: contain;
  border: 1px solid var(--line-dark);
  background: #fbf7ee;
}
.lightbox__caption { font-size: clamp(0.8rem, 1.05vw, 1rem); color: var(--text-dark-2); text-align: center; max-width: 70ch; }
.lightbox__close { margin-top: 0.4rem; }

/* ---------- small-screen fallback (previewing on a laptop/phone) ---------- */

@media (max-width: 900px) {
  .screen--split, .screen--split-light { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .screen--split .split__media { order: -1; min-height: 32vh; }
  .screen--unit { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .unit__info { grid-column: 1 / -1; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
  .menu__hint { display: none; }
  .cols-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .directory__grid { grid-template-columns: 1fr 1fr; }
  .full__panel, .full__panel--slim { max-width: min(80vw, 34rem); }
  .cover__content { max-width: 92vw; }
  .chrome__label { display: none; }
}

/* short-window safety (small landscape browser windows) */
.screen--cover { overflow-y: auto; }
@media (max-height: 600px) {
  .cover__logo { width: clamp(6rem, 10vh, 9rem); }
  .cover__content h1 { font-size: clamp(1.6rem, 6.5vh, 3rem); }
  .cover__content { justify-content: flex-start; padding-top: 1.2rem; }
}

/* on plan figures, keep the label clear of the bottom caption */
.unit__plan .imprint,
.split__media--plan .imprint { top: 0.9rem; right: 0.9rem; bottom: auto; }

/* smaller lockup on the thank-you screen */
.screen--thanks .cover__logo { width: clamp(6.5rem, 9vw, 10.5rem); }
