/* The landing page, "the lift through the city": the blocks' facade colours, the numbers painted on end walls, the
   city on a 3D map and the photographs, ridden in a lift (the steel doors opening on arrival, the operating panel with
   its dot-matrix floor display following the sections, the dial, the lobby's directory board, the steps as lit
   buttons). Rubik for the painted numbers and headings, Commissioner for reading; the lift's parts in steel and the
   amber LED, the brand red for actions. Light by default; dark by the visitor's choice or the system's (the portal's
   "theme" key). Painted walls keep their colours and their dark lettering in both. */
:root {
  --ochre: #d9a441; --sky: #8fb3c9; --brick: #b5533c; --paint-ink: #1e2127; --win: #2b3038;
  --ground: #ece8e1; --ground-2: #f4f1ec; --surface: #fbfaf7; --concrete: #d6d1c8; --hero: #dcd6cc;
  --ink: #1e2127; --ink-2: #474b53; --muted: #6b6f76; --line: rgba(30, 33, 39, .14); --field: rgba(30, 33, 39, .28);
  --bar-bg: rgba(236, 232, 225, .92); --frame: #d9cfc2; --board-ring: #8c9199;
  --plate: #23262b; --plate-ink: #eef0f2; --plate-ink-2: #b4b9c0; --led: #ffb21e; --led-off: #3a2a10;
  --red: #e41e26; --red-ink: #c0131b; --err: #b3141b;
  --wrap: 1180px; --gut: 48px; --bar: 72px; --cop: 0px;
  --display: 'Rubik', 'Arial Black', sans-serif; --text: 'Commissioner', system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1); --door: cubic-bezier(.65, 0, .35, 1);
  --brushed: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, rgba(0, 0, 0, .025) 1px 2px, transparent 2px 4px),
             linear-gradient(90deg, #9fa4ab 0%, #c9ccd1 22%, #a6abb2 48%, #d3d6da 74%, #a2a7ae 100%);
  color-scheme: light;
}
/* dark: the night ground, the same painted walls */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #16181c; --ground-2: #1c1f24; --surface: #23262c; --concrete: #2c3036; --hero: #23262b;
    --ink: #eceae6; --ink-2: #b2b5bb; --muted: #8e939a; --line: rgba(255, 255, 255, .13); --field: rgba(255, 255, 255, .26);
    --bar-bg: rgba(22, 24, 28, .9); --frame: #3a342c; --board-ring: #3d4148; --err: #ff6b70; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #16181c; --ground-2: #1c1f24; --surface: #23262c; --concrete: #2c3036; --hero: #23262b;
  --ink: #eceae6; --ink-2: #b2b5bb; --muted: #8e939a; --line: rgba(255, 255, 255, .13); --field: rgba(255, 255, 255, .26);
  --bar-bg: rgba(22, 24, 28, .9); --frame: #3a342c; --board-ring: #3d4148; --err: #ff6b70; color-scheme: dark;
}
@media (min-width: 1100px) { :root { --cop: 136px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #9d978c var(--ground); scroll-padding-top: var(--bar); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--text); }
::selection { background: var(--ochre); color: var(--paint-ink); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
svg path { vector-effect: non-scaling-stroke; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the content clears the panel on the left; the bar keeps the page's own edges */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut) + var(--cop)); margin: 0 auto; padding: 0 var(--gut) 0 calc(var(--gut) + var(--cop)); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

.bar { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--bar); background: var(--bar-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .wrap { height: 100%; display: flex; align-items: center; gap: 32px; max-width: none; padding: 0 var(--gut); }
.brand img { display: block; height: 32px; width: auto; }
.lnk { text-decoration: none; font-weight: 500; font-size: 15px; padding: 4px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.lnk:hover { background-size: 100% 2px; }
.act { display: flex; gap: 14px; align-items: center; margin-left: auto; }
.act .signin { margin: 0 6px; }
/* the theme and the language: quiet square keys beside the bar's two words */
.tbtn { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2);
  font: 600 13px/1 var(--text); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, transform .16s var(--ease); }
.tbtn:hover { background: var(--line); color: var(--ink); }
.tbtn:active { transform: scale(.94); }
.tbtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 6px; text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--text); background: var(--red); color: #fff; border: 2px solid var(--red); transition: transform .16s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); background: var(--red-ink); border-color: var(--red-ink); }
.btn:active { transform: scale(.97); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--ground); }
.btn.big { min-height: 54px; padding: 0 26px; font-size: 17px; }

/* ---- the operating panel: steel plate, the LED floor display, a round button a section */
.cop { position: fixed; z-index: 25; left: 28px; top: calc(50% + var(--bar) / 2); transform: translateY(-50%); width: 92px; padding: 16px 12px 18px; border-radius: 14px;
  background: linear-gradient(180deg, #2c2f35, #1d1f23); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 20px 40px -20px rgba(0, 0, 0, .6);
  display: grid; justify-items: center; gap: 12px; }
.ind { width: 68px; height: 74px; border-radius: 8px; background: #0b0b0c; display: grid; grid-template-columns: 18px 30px; align-items: center;
  justify-content: center; gap: 4px; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .8); }
.ind svg { display: block; width: 100%; height: auto; }
.ind .dot { fill: var(--led-off); }
.ind .dot.on { fill: var(--led); filter: drop-shadow(0 0 1.5px rgba(255, 178, 30, .8)); }
.arrow.go { animation: blink .5s steps(1) 3; }
@keyframes blink { 50% { opacity: .15; } }
.floors { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.floors a { position: relative; display: block; text-decoration: none; }
.floors .b, .entrances .b { display: grid; place-items: center; border-radius: 50%; color: var(--plate-ink); font: 600 18px/1 var(--display);
  background: radial-gradient(circle at 50% 35%, #4a4e55, #2a2d32 70%); box-shadow: 0 0 0 3px #3d4148, 0 2px 4px rgba(0, 0, 0, .6); }
.floors .b { width: 46px; height: 46px; font-size: 17px; transition: box-shadow .25s var(--ease), color .25s, transform .16s var(--ease); }
.floors a:hover .b { color: #fff; }
.floors a:active .b { transform: scale(.94); }
.floors a[aria-current] .b { color: var(--led); box-shadow: 0 0 0 3px var(--led), 0 0 14px rgba(255, 178, 30, .45); }
.floors .t { position: absolute; left: 62px; top: 50%; transform: translate(-6px, -50%); opacity: 0; pointer-events: none; white-space: nowrap;
  background: var(--plate); color: var(--plate-ink); font: 600 14px/1 var(--text); padding: 9px 12px; border-radius: 8px; transition: opacity .2s, transform .2s var(--ease); }
.floors a:hover .t, .floors a:focus-visible .t { opacity: 1; transform: translate(0, -50%); }

main > section, .closing { min-height: 100svh; padding: calc(var(--bar) + 72px) 0 72px; position: relative; }
.sec h2, .closing h2 { font: 800 clamp(36px, 4.2vw, 60px)/1 var(--display); letter-spacing: -.02em; max-width: 18ch; margin-bottom: 48px; }

/* ---- floor 1: the steel doors part on the city, a block's end wall standing on the map with the count painted */
.hero { padding: 0; height: 100svh; min-height: 640px; overflow: hidden; background: var(--hero); }
.hero .map { position: absolute; inset: 0; }      /* (maplibre-gl.css sets the container relative) */
.hero .map.off { background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(43, 48, 56, .08) 34px 36px), var(--hero); }
.hero .wrap { position: relative; height: 100%; pointer-events: none; }
.endwall { pointer-events: auto; position: absolute; left: calc(var(--gut) + var(--cop)); top: var(--bar); bottom: 0; width: min(500px, 42%); padding: 40px 40px 48px;
  background: var(--ochre); color: var(--paint-ink); display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 18px 0 40px -24px rgba(30, 33, 39, .5); }
.endwall::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 139px, rgba(30, 33, 39, .1) 139px 141px), repeating-linear-gradient(90deg, transparent 0 166px, rgba(30, 33, 39, .08) 166px 168px); }
.endwall :focus-visible { outline-color: var(--paint-ink); }
.painted { position: relative; font: 900 clamp(120px, 14vw, 210px)/.8 var(--display); letter-spacing: -.05em; color: #fff; margin-bottom: auto; font-variant-numeric: tabular-nums; }
.painted small { display: block; font: 800 clamp(22px, 2.2vw, 30px)/1.1 var(--display); letter-spacing: 0; margin-top: 14px; }
.endwall h1 { position: relative; font: 800 clamp(32px, 3.1vw, 44px)/1.04 var(--display); letter-spacing: -.02em; }
.lead { position: relative; margin-top: 16px; color: #2c2b26; max-width: 42ch; }
.ctas { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.endwall .btn.line { color: var(--paint-ink); border-color: var(--paint-ink); }
.endwall .btn.line:hover { background: var(--paint-ink); color: var(--ochre); }
.spin { pointer-events: auto; position: absolute; right: var(--gut); bottom: 28px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #4a4e55, #2a2d32 70%); box-shadow: 0 0 0 3px #3d4148; transition: transform .16s var(--ease); }
.spin:active { transform: scale(.92); }
.spin svg { width: 18px; height: 18px; fill: none; stroke: var(--plate-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.spin[aria-pressed="true"] svg { fill: var(--plate-ink); }
.maplibregl-ctrl-bottom-right { right: calc(var(--gut) + 52px) !important; }
.doors { position: absolute; inset: 0; z-index: 5; display: flex; pointer-events: none; }
.doors .d { flex: 1; background: var(--brushed); box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25), inset 1px 0 0 rgba(255, 255, 255, .3); transition: transform 1.1s var(--door); }
.doors.open .l { transform: translateX(-100%); } .doors.open .r { transform: translateX(100%); }
.doors.gone { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .endwall { animation: rise 1s .9s var(--ease) both; }
  .painted { animation: paint 1.2s 1.15s var(--ease) both; }
}
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes paint { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---- floor 2: the screen's two parts beside two photographs set into a brick wall like windows */
#screen { background: var(--brick); color: #fff; }
#screen :focus-visible { outline-color: #fff; }
.inlift { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: 32px; align-items: end; }
.inlift-words { align-self: start; display: grid; gap: 24px; }
.inlift-words h2 { margin-bottom: 8px; font-size: clamp(34px, 3.6vw, 52px); }
.inlift-words h3 { font: 800 24px/1.1 var(--display); margin-bottom: 8px; }
.inlift-words article { padding-top: 20px; border-top: 2px solid rgba(255, 255, 255, .35); }
.spec { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: #ffe3c9; }
.ph { margin: 0; overflow: hidden; padding: 10px; background: #d9cfc2; }        /* the window's frame, inside the grid's edges */
.ph img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease); }
.ph:hover img { transform: scale(1.025); }
.ph.tall { margin-bottom: 72px; }
/* the words at the top of the wall, the two windows down at its foot */
@media (min-width: 1100px) { .inlift { min-height: calc(100svh - var(--bar) - 144px); } }

/* ---- floor 3: the dial on the night ground, the zones painted on walls */
#hours { background: var(--plate); color: var(--plate-ink); }
#hours :focus-visible { outline-color: var(--plate-ink); }
.hours { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.dial { width: min(100%, 440px); justify-self: center; }
.walls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#hours h2 { max-width: none; }
/* two rows of windows above the painted number, never under it */
.blk { position: relative; padding: 104px 22px 24px; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; transition: transform .25s var(--ease); }
.blk:hover { transform: translateY(-3px); }
/* each tile a whole window with half a pier either side, stretched ("round") so a row ends on a whole window */
.blk .win { position: absolute; left: 11px; right: 11px; top: 22px; height: 62px; opacity: .85;
  background: linear-gradient(90deg, transparent 0 25%, var(--win) 25% 75%, transparent 75%) 0 0 / 44px 100% round;
  -webkit-mask: repeating-linear-gradient(0deg, #000 0 22px, transparent 22px 40px); mask: repeating-linear-gradient(0deg, #000 0 22px, transparent 22px 40px); }
.blk b { position: relative; font: 900 clamp(28px, 2.7vw, 42px)/.9 var(--display); letter-spacing: -.03em; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.blk p { position: relative; font-size: 16px; color: var(--paint-ink); max-width: 28ch; }
.ochre { background: var(--ochre); } .brick { background: var(--brick); } .concrete { background: #d6d1c8; }
.brick p { color: #fff; } .concrete b { color: var(--paint-ink); }

/* ---- floor 4: the blocks themselves, photographed */
#blocks { background: var(--ground-2); }
.b-head, .d-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.b-head h2, .d-head h2 { margin-bottom: 0; }
.b-head p, .d-head p { color: var(--ink-2); max-width: 42ch; }
.d-head .net-n { display: block; font: 800 clamp(22px, 2vw, 28px)/1.2 var(--display); color: var(--ink); margin-bottom: 6px; }
.facades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facades li { overflow: hidden; aspect-ratio: 16 / 9; background: var(--concrete); }
.facades img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.facades li:hover img { transform: scale(1.03); }

/* ---- floor 5: the lobby's directory board, white letters on black glass, each district under its painted name */
#districts { background: var(--ground); }
#districts .d-head { margin-bottom: 32px; }
.board { background: #0d0e10; color: #eef0f2; border-radius: 10px; padding: 28px 36px 8px; box-shadow: 0 0 0 8px var(--board-ring), 0 30px 50px -30px rgba(0, 0, 0, .6);
  columns: 3 240px; column-gap: 40px; }
.grp { break-inside: avoid; margin-bottom: 26px; }
.grp h3 { display: flex; align-items: center; gap: 12px; font: 600 15px/1.2 var(--text); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid rgba(238, 240, 242, .2); }
.grp h3 .fc { flex: none; min-width: 58px; height: 40px; padding: 0 8px; display: grid; place-items: center; font: 900 22px/1 var(--display); letter-spacing: -.02em; color: #fff; }
.grp h3 .fc.t1 { background: var(--ochre); color: var(--paint-ink); } .grp h3 .fc.t0 { background: var(--brick); } .grp h3 .fc.t2 { background: var(--sky); color: var(--paint-ink); }
.grp h3 .fc.t3 { background: #d6d1c8; color: var(--paint-ink); }
.grp h3 .n { margin-left: auto; color: var(--led); font-variant-numeric: tabular-nums; white-space: nowrap; }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 15px; }
.board li span:last-child { color: #a3a8b0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board-empty { color: #a3a8b0; padding-bottom: 20px; }

/* ---- floor 6: four entrances, each numbered with a lift button, the price on a steel plate */
#how { background: var(--ground-2); }
.entrances { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.entrances li { padding: 28px 24px; background: var(--concrete); display: flex; flex-direction: column; min-height: 280px; overflow: hidden; }
.entrances li::after { content: ''; margin-top: auto; height: 84px; border-radius: 4px 4px 0 0; background: var(--win); width: 56%; align-self: center; translate: 0 28px; }
.entrances .b { width: 60px; height: 60px; font-size: 22px; color: var(--led); box-shadow: 0 0 0 3px var(--led), 0 0 16px rgba(255, 178, 30, .35); margin: 3px 0 20px 3px; }
.entrances h3 { font: 800 22px/1.15 var(--display); margin-bottom: 8px; }
.entrances p { color: var(--ink-2); font-size: 16px; }
.price { margin-top: 40px; padding: 26px 32px; border-radius: 10px; background: var(--plate); color: var(--plate-ink); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 32px; align-items: baseline; }
.price-k { font: 700 14px/1 var(--display); color: var(--led); letter-spacing: .06em; text-transform: uppercase; grid-row: span 2; }
.formula { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font: 700 clamp(20px, 2vw, 28px)/1.2 var(--display); }
.formula i { font-style: normal; color: var(--led); }
.price-n { color: var(--plate-ink-2); }

/* ---- floor 7: who we are, beside three plain facts; the company's own photographs (from settings) along the foot */
#about { background: var(--ground); }
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.about-text { display: grid; gap: 16px; max-width: 64ch; }
.about-text p { color: var(--ink-2); line-height: 1.7; }
.about-text p:first-child { font-size: 21px; line-height: 1.5; color: var(--ink); }
.pillars { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.pillars li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pillars b { font: 800 20px/1.2 var(--display); }
.pillars span { color: var(--ink-2); font-size: 16px; }
.gal { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gal[hidden] { display: none; }
.gal button { position: relative; padding: 0; border: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--concrete); cursor: zoom-in; }
.gal img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .gal button:hover img { transform: scale(1.03); } }
.gal .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 14, 16, .6); color: #fff; font: 800 24px/1 var(--display); }

/* ---- floor 8: questions, each opening in place */
#faq { background: var(--ground-2); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 700 20px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
/* a round lift button with a plus that turns into a cross */
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; display: grid; place-items: center;
  font: 500 22px/1 var(--display); color: var(--plate-ink); background: radial-gradient(circle at 50% 35%, #4a4e55, #2a2d32 70%); transition: transform .2s var(--ease), color .2s, box-shadow .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--led); box-shadow: 0 0 0 2px var(--led); }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 250ms var(--ease), content-visibility 250ms allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}
.faq-wrap h2 { margin-bottom: 0; }

/* ---- floor 9: the close */
.closing { background: var(--sky); color: var(--paint-ink); display: flex; }
.closing :focus-visible { outline-color: var(--paint-ink); }
.closing .wrap { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.close-top h2 { font: 900 clamp(52px, 7.6vw, 124px)/.86 var(--display); letter-spacing: -.04em; color: #fff; max-width: 12ch; margin-bottom: 36px; }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; padding-top: 24px; border-top: 2px solid rgba(30, 33, 39, .25); }
.reach { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 18px; font-weight: 600; }
.reach a { text-decoration: none; } .reach a:hover { text-decoration: underline; text-underline-offset: 4px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.copy { font-size: 14px; color: #2c3a44; }

/* ---- the photo viewer */
dialog.lb { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, .95); color: #fff; }
dialog.lb[open] { display: grid; place-items: center; }
dialog.lb::backdrop { background: transparent; }
.lb figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: min(1400px, 88vw); }
.lb img { max-width: 100%; max-height: 80vh; object-fit: contain; touch-action: pan-y; user-select: none; }
.lb figcaption { font-size: 14px; color: #d8d7d2; text-align: center; }
.lb-x, .lb-nav { position: absolute; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lb-x:hover, .lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lb-x svg, .lb-nav svg, .x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-x { top: 16px; right: 16px; }
.lb-nav { top: calc(50% - 22px); } .lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-n { position: absolute; top: 28px; left: 20px; font-size: 13px; color: #bdbcb6; font-variant-numeric: tabular-nums; }

/* ---- sign in / sign up: a steel-edged card over the page */
dialog.dlg-box { border: 0; padding: 0; border-radius: 12px; width: min(470px, calc(100vw - 24px)); max-height: calc(100svh - 24px); background: var(--surface); color: var(--ink);
  box-shadow: 0 0 0 6px var(--board-ring), 0 40px 80px -20px rgba(0, 0, 0, .5); }
dialog.dlg-box::backdrop { background: rgba(13, 14, 16, .55); backdrop-filter: blur(3px); }
dialog.dlg-box, dialog.dlg-box::backdrop { opacity: 0; transition: opacity 150ms ease-in, transform 150ms ease-in, overlay 150ms allow-discrete, display 150ms allow-discrete; }
dialog.dlg-box[open], dialog.dlg-box[open]::backdrop { opacity: 1; transition-duration: 200ms; transition-timing-function: var(--ease); }
@starting-style { dialog.dlg-box[open], dialog.dlg-box[open]::backdrop { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  dialog.dlg-box { transform: scale(.97); }
  dialog.dlg-box[open] { transform: none; }
  @starting-style { dialog.dlg-box[open] { transform: scale(.97); } }
}
.dlg { padding: 26px; display: grid; gap: 16px; }
.dlg-top { display: flex; align-items: center; justify-content: space-between; }
#dlg-title { font: 800 22px/1.1 var(--display); }
.x { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
.x:hover { background: var(--line); color: var(--ink); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--ground); border-radius: 8px; padding: 4px; gap: 4px; }
.seg::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px); border-radius: 6px; background: var(--plate); transition: transform 200ms var(--ease); }
.seg.second::before { transform: translateX(calc(100% + 4px)); }
.seg button { position: relative; border: 0; background: transparent; font-weight: 600; color: var(--ink-2); padding: 9px; border-radius: 6px; cursor: pointer; transition: color 200ms var(--ease); }
.seg button.on { color: var(--plate-ink); }
.dlg form { display: grid; gap: 12px; }
.dlg form[hidden] { display: none; }
.dlg label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.dlg input, .dlg select { display: block; margin-top: 6px; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--field); border-radius: 6px; background: var(--ground-2); color: var(--ink); font-size: 16px; }
.dlg input:focus, .dlg select:focus { outline: 2px solid var(--ochre); outline-offset: 0; border-color: var(--ochre); }
.dlg .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dlg .note { font-size: 14px; color: var(--ink-2); background: var(--ground); border-left: 0; border-radius: 6px; padding: 10px 12px; line-height: 1.5; }
.dlg .rq { color: var(--red); }
.pw { position: relative; }
.pw .eye { position: absolute; right: 6px; bottom: 7px; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; padding: 6px 8px; border-radius: 4px; cursor: pointer; }
.pw .eye:hover { background: var(--line); color: var(--ink); }
.dlg .err { color: var(--err); font-size: 14px; min-height: 0; }
.dlg .err:empty { display: none; }
.dlg button.primary { min-height: 50px; border: 0; border-radius: 6px; background: var(--red); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; transition: background-color .2s, transform .16s var(--ease); }
.dlg button.primary:hover { background: var(--red-ink); }
.dlg button.primary:active { transform: scale(.98); }
.dlg button.primary:disabled { opacity: .6; cursor: progress; }
.dlg .sub { text-align: center; font-size: 14px; color: var(--ink-2); }
.dlg .sub a { color: var(--ink); font-weight: 600; }

/* ---- under 1100: the panel becomes a strip at the foot of the screen */
@media (max-width: 1099px) {
  :root { --gut: 32px; }
  .cop { left: 50%; top: auto; bottom: 12px; transform: translateX(-50%); width: auto; padding: 8px 10px; grid-auto-flow: column; gap: 10px; border-radius: 40px; }
  .ind { width: 54px; height: 44px; grid-template-columns: 12px 20px; border-radius: 22px; }
  .floors { grid-auto-flow: column; gap: 6px; }
  .floors .b { width: 40px; height: 40px; font-size: 15px; }
  .floors .t { display: none; }
  main > section, .closing { padding-bottom: 104px; }
  .hero { padding-bottom: 0; }
  .endwall { width: min(520px, 70%); padding-bottom: 96px; }
  .hero .maplibregl-ctrl-top-right { top: var(--bar); }
  .spin { bottom: 92px; }
  .inlift { grid-template-columns: 1fr 1fr; gap: 24px; }
  .inlift-words { grid-column: 1 / -1; }
  .ph.tall { margin-bottom: 0; }
  .hours { grid-template-columns: 1fr; gap: 40px; }
  .entrances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --gut: 16px; --bar: 60px; }
  body { font-size: 16px; }
  .act { gap: 4px; } .act .signin { display: none; } .brand img { height: 26px; }
  .act .btn { min-height: 40px; padding: 0 14px; font-size: 14px; margin-left: 4px; }
  .tbtn { min-width: 36px; height: 36px; }
  main > section, .closing { padding: calc(var(--bar) + 36px) 0 96px; }
  .hero { padding: 0; }
  .cop { padding: 6px 8px; }
  .ind { display: none; }
  .floors { gap: 4px; }
  .floors .b { width: 32px; height: 32px; font-size: 13px; box-shadow: 0 0 0 2px #3d4148; }
  .floors a[aria-current] .b { box-shadow: 0 0 0 2px var(--led), 0 0 10px rgba(255, 178, 30, .45); }
  .endwall { left: 0; right: 0; width: auto; top: auto; bottom: 0; padding: 24px 16px 76px; }
  .painted { font-size: 76px; margin-bottom: 12px; }
  .painted small { margin-top: 8px; font-size: 20px; }
  .ctas .btn { flex: 1 1 100%; }
  .spin { top: calc(var(--bar) + 46px); bottom: auto; right: 16px; }      /* under the map's credit line */
  .hero .maplibregl-ctrl-top-left { top: var(--bar); }
  .walls { grid-template-columns: 1fr; gap: 10px; }
  .blk { padding: 54px 16px 16px; } .blk .win { left: 8px; right: 8px; top: 16px; height: 22px; background-size: 32px 100%; }
  .blk b { font-size: 32px; } .blk p { font-size: 15px; }
  .b-head, .d-head { display: block; } .b-head h2, .d-head h2 { margin-bottom: 16px; }
  .facades { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .facades li { aspect-ratio: 1; }
  .board { padding: 24px 20px; }
  .entrances { grid-template-columns: 1fr; }
  .entrances li { min-height: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .entrances li::after { display: none; }
  .entrances .b { width: 46px; height: 46px; font-size: 18px; margin: 3px 0 0 3px; grid-row: span 2; }
  .price { grid-template-columns: 1fr; padding: 22px; } .price-k { grid-row: auto; }
  .about-text p:first-child { font-size: 19px; }
  .gal { margin-top: 32px; gap: 8px; }
  .faq summary { font-size: 18px; padding: 18px 40px 18px 0; }
  .faq details p { padding-right: 0; }
  .foot { grid-template-columns: 1fr; }
  .close-top .btn { width: 100%; }
  .dlg { padding: 20px; } .dlg .two { grid-template-columns: 1fr; }
  .lb-nav { display: none; }                                         /* a swipe moves on */
}
@media (max-width: 360px) { .act .lang { display: none; } }
@media (prefers-reduced-motion: reduce) { .doors { display: none; } * { transition-duration: .01ms !important; animation: none !important; } }
