/* Richie Group listing tour. Brand from the brokerage's own broker deck: Richie red,
 * charcoal, warm ivory, Georgia for display and a clean sans for everything else. */
:root {
  --red: #c10000;
  --red-deep: #8f0000;
  --ink: #141414;
  --charcoal: #303030;
  --ivory: #f5f1ea;
  --stone: #e4e4e4;
  --glass: rgba(18, 18, 18, .62);
  --line: rgba(255, 255, 255, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); color: #fff; font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
svg { width: 18px; height: 18px; flex: none; }

/* Brokerage logo (engine/brand/), white on the dark bars */
.wordmark { display: inline-flex; align-items: center; }
.logo { display: block; height: 58px; width: auto; }
.status { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; color: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; transition: background .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .18); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: #fff; }

/* ---------- Welcome ---------- */
.splash { position: fixed; inset: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.splash-bg { position: absolute; inset: 0; }
.splash-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; animation: drift 24s ease-out both; }
.splash::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 10, 10, .86) 0%, rgba(10, 10, 10, .62) 34%, rgba(10, 10, 10, .08) 62%, rgba(10, 10, 10, 0) 100%),
              linear-gradient(0deg, rgba(10, 10, 10, .78) 0%, rgba(10, 10, 10, 0) 34%); }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
/* The hero's lights: a box matched to the photo's object-fit: cover at 58% 50% (3:2), so the % in
   listing.json land on the photo at any screen size, drifting with it from the viewport centre. */
.splash-bg { container-type: size; }
.splash-lights { --W: max(100cqw, 150cqh); --H: max(100cqh, 66.667cqw); --L: calc((100cqw - var(--W)) * .58); --T: calc((100cqh - var(--H)) * .5);
  position: absolute; left: var(--L); top: var(--T); width: var(--W); height: var(--H); font-size: calc(var(--W) / 100);
  transform-origin: calc(50cqw - var(--L)) calc(50cqh - var(--T)); animation: drift 24s ease-out both; mix-blend-mode: screen; pointer-events: none; }
.splash-lights i { position: absolute; width: calc(var(--s) * 5em); aspect-ratio: 1; translate: -50% -50%; opacity: 0;
  animation: light-on 1.4s var(--d) linear forwards, flicker 6s calc(4.5s + var(--r)) linear infinite; }
.splash-lights i::before { content: ""; position: absolute; inset: 28%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 249, 232, .95) 0, rgba(255, 216, 150, .5) 24%, rgba(255, 190, 110, .16) 48%, transparent 70%); }
.splash-lights i::after { content: ""; position: absolute; inset: 0; opacity: .5; transform: scale(.55);
  background: linear-gradient(90deg, transparent 20%, rgba(255, 242, 214, .85) 50%, transparent 80%) center / 100% 5% no-repeat,
              linear-gradient(0deg, transparent 20%, rgba(255, 242, 214, .85) 50%, transparent 80%) center / 5% 100% no-repeat;
  -webkit-mask: radial-gradient(circle, #000 0, transparent 68%); mask: radial-gradient(circle, #000 0, transparent 68%);
  animation: glint 6s calc(4.5s + var(--r)) ease-in-out infinite; }
/* Coming on like real bulbs: two stutters, then steady. Then every 6 s, all together: a quick
   stutter (under half a second), and a starburst as they come back. */
@keyframes light-on { 0% { opacity: 0; } 10% { opacity: .85; } 16% { opacity: .1; } 26% { opacity: 1; } 31% { opacity: .3; } 44%, 100% { opacity: 1; } }
@keyframes flicker { 0% { opacity: 1; } 1.5% { opacity: .25; } 3% { opacity: .95; } 4.5% { opacity: .1; } 7%, 100% { opacity: 1; } }
@keyframes glint { 0%, 6%, 26%, 100% { opacity: .5; transform: scale(.55) rotate(0); } 12% { opacity: 1; transform: scale(1.2) rotate(18deg); } }
.splash > *:not(.splash-bg) { position: relative; z-index: 2; }
.splash-top { display: flex; justify-content: space-between; align-items: center; padding: 30px 48px; }
.splash-body { align-self: center; max-width: 820px; padding: 0 48px; }
.splash h1 { font: 400 clamp(44px, 6.2vw, 84px)/1.02 var(--serif); margin: 22px 0 18px; letter-spacing: -.01em; }
.splash h1 em { display: block; font-style: italic; }
.tagline { margin: 0 0 18px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: #fff; padding-left: 14px; border-left: 2px solid var(--red); }
.lede { margin: 0 0 32px; max-width: 540px; font-size: 16.5px; color: rgba(255, 255, 255, .84); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.splash-body > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.splash-body > :nth-child(2) { animation-delay: .08s; } .splash-body > :nth-child(3) { animation-delay: .16s; }
.splash-body > :nth-child(4) { animation-delay: .24s; } .splash-body > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.openhouse { position: absolute !important; top: 96px; right: 48px; width: 300px; padding: 20px 22px 20px 24px; background: rgba(245, 241, 234, .96); color: var(--ink); border-left: 4px solid var(--red); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: grid; gap: 4px; animation: rise .9s .5s both; }
.oh-label { font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--red); }
.openhouse strong { font: 400 24px/1.2 var(--serif); margin-top: 4px; }
.oh-time { font: italic 18px var(--serif); color: var(--charcoal); }
.oh-note { font-size: 12.5px; color: #555; margin-top: 6px; padding-top: 8px; border-top: 1px solid #d9d3c8; }
/* Open house actions: RSVP by email, calendar file, Google Calendar */
.oh-actions { display: flex; gap: 6px; margin-top: 10px; }
.oh-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid #cfc8bb; border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; color: var(--ink); }
.oh-btn svg { width: 15px; height: 15px; }
.oh-btn:hover { border-color: var(--ink); }
.oh-rsvp { background: var(--red); border-color: var(--red); color: #fff; }
.oh-rsvp:hover { background: var(--red-deep); border-color: var(--red-deep); }
.oh-g { font-size: 11.5px; color: #6b6b6b; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.oh-g:hover { color: var(--red); }
.oh-broker { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid #d9d3c8; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.oh-broker svg { width: 16px; height: 16px; } .oh-broker svg:last-child { margin-left: auto; width: 14px; height: 14px; }
.oh-broker:hover { color: var(--red); }

.splash-stops { list-style: none; margin: 0; padding: 0 48px 34px; display: grid; grid-template-columns: repeat(7, minmax(0, 160px)); gap: 10px; }
.splash-stops a { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid rgba(255, 255, 255, .22); }
.splash-stops img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.splash-stops a:hover img { transform: scale(1.06); }
.splash-stops span, .strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 12px; font-weight: 600; white-space: nowrap; background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent); display: flex; gap: 8px; align-items: baseline; }
.splash-stops small, .strip small { color: #ff6b6b; font-weight: 700; font-size: 11px; letter-spacing: .08em; }
/* 360° or Photos, on every stop thumbnail */
.kind { position: absolute; top: 6px; left: 6px; padding: 2px 6px; font: 700 9.5px/1.4 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; background: rgba(0, 0, 0, .62); border-radius: 2px; }
a:has(img) .kind { color: #fff; }
.splash-stops span, .strip span { white-space: normal; line-height: 1.2; font-size: 11.5px; padding-top: 22px; }


/* ---------- Stage ---------- */
.stage { position: fixed; inset: 0; }
#pano { position: absolute; inset: 0; outline: none; }
.topbar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent); pointer-events: none; }
.topbar > * { pointer-events: auto; }
.pill { padding: 8px 16px 8px 8px; background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 2px; }
.pill .logo { height: 30px; }
.top-actions { margin-left: auto; display: flex; gap: 8px; }
.tbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 2px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.tbtn:hover { border-color: rgba(255, 255, 255, .5); }
.tbtn-primary { background: var(--red); border-color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.tbtn-primary:hover { background: var(--red-deep); }
.short { display: none; }

.hint { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 10px; align-items: center; padding: 12px 18px; background: var(--glass); backdrop-filter: blur(10px); border-radius: 999px; font-size: 13.5px; opacity: 0; transition: opacity .5s; pointer-events: none; }
.hint.show { opacity: 1; }
.arrive { position: absolute; z-index: 3; left: 50%; top: 30%; transform: translateX(-50%); text-align: center; pointer-events: none; opacity: 0; display: grid; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.arrive small { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.arrive span { font: italic 400 54px/1.1 var(--serif); }
.arrive.show { animation: arrive 2.6s ease both; }
@keyframes arrive { 0% { opacity: 0; transform: translate(-50%, 10px); } 18%, 70% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* Hotspots (buttons the viewer places) */
.pano-hot { display: flex; align-items: center; gap: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.pano-hot .dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(193, 0, 0, .28), 0 8px 22px rgba(0, 0, 0, .4); animation: pulse 2.4s ease-in-out infinite; }
.pano-hot .lbl { margin-left: 10px; padding: 8px 13px; background: var(--glass); backdrop-filter: blur(10px); border-radius: 2px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pano-hot.is-info { cursor: default; }
.pano-hot.is-info .dot { width: 32px; height: 32px; background: rgba(255, 255, 255, .92); color: var(--ink); animation: none; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(193, 0, 0, .12), 0 8px 22px rgba(0, 0, 0, .4); } }

.card { position: absolute; z-index: 5; left: 22px; bottom: 22px; width: 380px; padding: 22px 22px 18px; background: rgba(245, 241, 234, .97); color: var(--ink); border-top: 4px solid var(--red); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.stopno { color: var(--red); font-weight: 700; }
.floor { color: #6b6b6b; }
.card h2 { font: 400 32px/1.1 var(--serif); margin: 10px 0 10px; }
.card p { margin: 0 0 18px; font-size: 14.5px; color: #3a3a3a; }
.card-ctrl { display: flex; gap: 8px; border-top: 1px solid #d9d3c8; padding-top: 14px; }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #cfc8bb; border-radius: 2px; cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.next { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 48px; background: var(--ink); color: #fff; border-radius: 2px; }
.next:hover { background: var(--red); }
.next span { display: grid; line-height: 1.15; font-weight: 600; font-size: 14px; }
.next small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; font-weight: 600; }

.strip { position: absolute; z-index: 5; right: 22px; bottom: 22px; list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.strip a { display: block; position: relative; width: clamp(96px, 8.2vw, 132px); aspect-ratio: 16 / 10; overflow: hidden; border: 2px solid rgba(255, 255, 255, .3); opacity: .82; transition: opacity .2s, border-color .2s; }
.strip a:hover { opacity: 1; }
.strip a.on { border-color: var(--red); opacity: 1; }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Photo stops: the room's photos full screen, crossfading with a slow drift */
.pstage { position: absolute; inset: 0; background: #0b0b0b; overflow: hidden; }
.ps-open { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ps-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.ps-img.on { opacity: 1; animation: kb 9s ease-out both; }
.ps-img.on.alt { animation-name: kb-alt; }
@keyframes kb { from { transform: scale(1.09) translateX(1.5%); } to { transform: scale(1.01); } }
@keyframes kb-alt { from { transform: scale(1.01); } to { transform: scale(1.09) translateX(-1.5%); } }
.pstage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%, transparent 62%, rgba(0, 0, 0, .55)); }
.ps-bar { position: absolute; z-index: 2; top: 86px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; }
.ps-tag { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: var(--glass); backdrop-filter: blur(10px); border-radius: 2px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ps-nav { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; background: var(--glass); backdrop-filter: blur(10px); border: 0; border-radius: 2px; cursor: pointer; }
.ps-nav:hover { background: var(--red); }

/* The room's photos on the stop card */
.card-photos { display: flex; gap: 6px; margin: -4px 0 16px; }
.card-photos a { flex: 1; min-width: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.card-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card-photos a:hover img { transform: scale(1.06); }
.card-photos .more { flex: 1.45; white-space: nowrap; aspect-ratio: auto; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #cfc8bb; font-size: 13px; font-weight: 700; color: var(--ink); }
.card-photos .more:hover { border-color: var(--red); color: var(--red); }
.card-photos .more span { display: grid; line-height: 1.15; }
.card-photos .more small { font-size: 11px; font-weight: 500; color: #6b6b6b; }

/* ---------- Sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: 8; background: rgba(0, 0, 0, .45); backdrop-filter: blur(2px); }
.sheet { position: fixed; z-index: 9; top: 0; right: 0; bottom: 0; width: min(640px, 100%); overflow: auto; padding: 34px 38px 40px; background: var(--ivory); color: var(--ink); box-shadow: -20px 0 60px rgba(0, 0, 0, .35); animation: slide .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet .eyebrow { color: #6b6b6b; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.sheet h2 { font: 400 38px/1.1 var(--serif); margin: 10px 0 0; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid #d9d3c8; margin-bottom: 18px; }
.tabs button { background: none; border: 0; padding: 12px 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #777; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 8px; align-items: center; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--red); }
.tabs i { font-style: normal; background: var(--red); color: #fff; font-size: 10.5px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; }
.plan { position: relative; background: #fff; border: 1px solid #e2dccf; padding: 0; }
.plan img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; }
.pin b { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 13px; box-shadow: 0 0 0 5px rgba(193, 0, 0, .2); }
.pin .pin-lbl { padding: 4px 9px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; border-radius: 2px; }
.pin.on b { box-shadow: 0 0 0 5px rgba(193, 0, 0, .2), 0 0 0 10px rgba(193, 0, 0, .12); }
.pin:hover .pin-lbl { background: var(--red); }
.pin-photo b { background: var(--ink); box-shadow: 0 0 0 5px rgba(20, 20, 20, .16); }
.pin-photo.on b { box-shadow: 0 0 0 5px rgba(20, 20, 20, .16), 0 0 0 10px rgba(20, 20, 20, .1); }
/* Hovering a marker previews the stop; the card opens away from the plan's nearest edges */
.pin { z-index: 1; } .pin:hover, .pin:focus-visible { z-index: 3; }
.pin-card { position: absolute; width: 220px; background: var(--ink); color: #fff; box-shadow: 0 16px 36px rgba(0, 0, 0, .35); display: grid; grid-template-columns: 1fr auto; align-items: center; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none; }
.pin:hover .pin-card, .pin:focus-visible .pin-card { opacity: 1; visibility: visible; transform: none; }
.pin-card.up { bottom: 22px; } .pin-card.down { top: 22px; }
.pin-card.to-right { left: -12px; } .pin-card.to-left { right: -12px; }
.pin-card img { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; mix-blend-mode: normal; }
.pin-card > span { display: grid; padding: 9px 0 10px 12px; line-height: 1.25; }
.pin-card b { width: auto; height: auto; background: none; box-shadow: none; display: block; font-size: 13.5px; border-radius: 0; place-items: initial; }
.pin-card small { font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.pin-card em { font-style: normal; font-size: 12px; font-weight: 700; color: #ff8a8a; padding-right: 12px; display: inline-flex; align-items: center; gap: 4px; }
.pin-card em svg { width: 14px; height: 14px; }
@media (hover: none) { .pin-card { display: none; } }

/* Room cards under the plan */
.plan-rooms { margin-top: 22px; }
.pr-h { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #5f5f5f; }
.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pr { display: grid; gap: 3px; }
.pr-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border: 2px solid transparent; }
.pr.on .pr-img { border-color: var(--red); }
.pr-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pr:hover .pr-img img { transform: scale(1.05); }
.pr b { margin-top: 5px; font-size: 13.5px; display: flex; gap: 7px; align-items: baseline; }
.pr b small { font-size: 11px; color: var(--red); letter-spacing: .06em; }
.pr-meta { font-size: 12px; color: #6b6b6b; }
.pr:hover b { color: var(--red); }

.dl { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.dl:hover { color: var(--red); }
.fine { font-size: 12.5px; color: #777; margin: 14px 0 0; }

.sheet-dark { background: #161616; color: #fff; }
.sheet-dark .eyebrow { color: rgba(255, 255, 255, .7); }
.sheet-dark .icon-btn { border-color: rgba(255, 255, 255, .3); }
.sheet-dark h2 { font-style: italic; }
.highlights { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; gap: 0; }
.highlights li { display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.highlights small { color: #ff5a5a; font-weight: 700; letter-spacing: .08em; padding-top: 4px; }
.highlights h3 { margin: 0 0 4px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.highlights p { margin: 0; color: rgba(255, 255, 255, .74); font-size: 14.5px; }
.oh-row { display: grid; gap: 2px; padding: 18px 20px; background: rgba(193, 0, 0, .14); border-left: 4px solid var(--red); margin-bottom: 18px; }
.oh-row strong { font: 400 22px/1.25 var(--serif); }
.oh-row .oh-label { color: #ff6b6b; } .oh-row .oh-note { color: rgba(255, 255, 255, .7); margin: 0; padding: 0; border: 0; }
.oh-row .oh-actions { max-width: 380px; }
.sheet-dark .oh-btn:not(.oh-rsvp) { color: #fff; border-color: rgba(255, 255, 255, .35); } .sheet-dark .oh-btn:not(.oh-rsvp):hover { border-color: #fff; }
.sheet-dark .oh-g { color: rgba(255, 255, 255, .6); } .sheet-dark .oh-g:hover { color: #fff; }
.oh-light { background: rgba(193, 0, 0, .07); margin: 22px 0; }
.oh-light .oh-label { color: var(--red); } .oh-light .oh-note { color: #555; }

/* Property documents (#broker) */
.b-notice { margin: 0 0 18px; padding: 12px 16px; background: var(--ink); color: #fff; font-size: 13.5px; border-left: 4px solid var(--red); }
.b-items { margin: 0; border-top: 1px solid #d9d3c8; }
.b-items div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid #d9d3c8; }
.b-items dt { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #4a4a4a; padding-top: 2px; }
.b-items dd { margin: 0; font-size: 15px; }
.b-items dd.tbc, .b-remarks.tbc { font: italic 14.5px var(--serif); color: #8a8378; }
.b-remarks { margin: 16px 0 0; font-size: 14.5px; color: #3a3a3a; }
/* Document preview cards on the Property documents sheet: first page on a mat, any page shape. */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doc { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid #e2dccf; transition: border-color .2s, transform .2s, box-shadow .2s; }
.doc:hover, .doc:focus-visible { border-color: var(--red); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 20, 20, .12); outline: none; }
.doc-img { display: block; aspect-ratio: 4 / 3; background: #e9e3d8; padding: 12px; }
.doc-img img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(20, 20, 20, .25)); }
.doc-txt { display: grid; align-content: start; gap: 2px; padding: 12px 12px 14px; min-width: 0; }
.doc-txt strong { font: 400 17px/1.2 var(--serif); }
.doc-txt small { font-size: 12.5px; color: #6b6b6b; }
.doc-txt em { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.doc-txt em svg { width: 15px; height: 15px; }
#broker .b-items { margin-top: 22px; }
.b-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid #d9d3c8; }
.b-contact div { display: grid; margin-right: auto; }
.b-contact strong { font: 400 24px/1.2 var(--serif); }
.b-contact span { font-size: 12.5px; color: #6b6b6b; }
.b-contact .btn { height: 46px; padding: 0 18px; font-size: 12.5px; white-space: nowrap; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.agent { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.agent div { display: grid; gap: 2px; }
.agent strong { font: 400 24px/1.2 var(--serif); }
.agent span { font-size: 12.5px; color: rgba(255, 255, 255, .66); margin-bottom: 6px; }
.agent a { font-size: 15px; } .agent a:hover { color: #ff7b7b; }
.agent em { font: italic 15px var(--serif); color: rgba(255, 255, 255, .6); text-align: right; }
.wide { width: 100%; justify-content: center; }

/* Property sheet: the home on the left, the area and the showing on the right */
#details { width: min(1120px, 100%); }
.d-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
.d-h { margin: 6px 0 14px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: #ff6b6b; }
.d-col > .d-h ~ .d-h { margin-top: 30px; }
.d-note { margin: 10px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .58); }
.d-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.d-intro { margin: 0 0 16px; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); }
.facts div { padding: 14px 10px 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.facts dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.facts dd { margin: 4px 0 0; font: 400 19px/1.25 var(--serif); }
.facts dd.tbc { font: italic 15px/1.5 var(--serif); color: rgba(255, 255, 255, .45); }
.sheet-dark .highlights { margin-top: 22px; }
.renos { margin: 0; padding-left: 18px; color: rgba(255, 255, 255, .8); }
.rooms { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.rooms summary { padding: 14px 0; cursor: pointer; font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.rooms table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 13.5px; }
.rooms caption { text-align: left; padding: 4px 0 6px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #ff6b6b; font-weight: 700; }
.rooms th { text-align: left; font-weight: 500; padding: 5px 0; }
.rooms td { padding: 5px 0 5px 12px; white-space: nowrap; color: rgba(255, 255, 255, .8); }
.rooms td + td { color: rgba(255, 255, 255, .5); }
.rooms .d-note { margin: 0 0 14px; }
.dls { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.sheet-dark .dl { color: #fff; } .sheet-dark .dl:hover { color: #ff7b7b; }
.map { position: relative; aspect-ratio: 16 / 10; background: #232323; border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.places { list-style: none; margin: 14px 0 0; padding: 0; }
.places li { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; }
.places small { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ff6b6b; }
.places a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.places a svg { width: 14px; height: 14px; } .places a:hover { color: #fff; }
.d-col .oh-row { margin-top: 26px; }

/* ---------- Gallery: every photo, by floor and room ---------- */
.gallery { position: fixed; z-index: 9; inset: 0; overflow: auto; background: #111; padding: 0 48px 60px; animation: fade .3s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.g-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-end; gap: 24px; padding: 30px 0 18px; margin-bottom: 8px; background: linear-gradient(180deg, #111 82%, rgba(17, 17, 17, 0)); }
.g-head h2 { font: 400 38px/1.1 var(--serif); margin: 10px 0 0; }
.g-jump { margin-left: auto; display: flex; gap: 6px; }
.g-jump button { height: 40px; padding: 0 14px; background: none; border: 1px solid rgba(255, 255, 255, .28); border-radius: 2px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.g-jump button:hover { border-color: #fff; }
.gallery .icon-btn { border-color: rgba(255, 255, 255, .3); }
.g-floor { margin: 30px 0 4px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: #ff6b6b; scroll-margin-top: 110px; }
.g-room { margin-top: 22px; scroll-margin-top: 110px; }
.g-room-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.g-room-head h4 { margin: 0; font: italic 400 26px/1.2 var(--serif); }
.g-room-head > span { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.g-room-head a { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.g-room-head a:hover { color: #ff7b7b; }
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.g-grid a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #1c1c1c; }
.g-grid a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.g-grid a:hover img { transform: scale(1.04); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; z-index: 12; inset: 0; background: #0e0e0e; display: grid; grid-template-columns: 280px minmax(0, 1fr); animation: fade .25s ease both; }
.lb-rooms { border-right: 1px solid rgba(255, 255, 255, .1); padding: 28px 0; overflow: auto; display: flex; flex-direction: column; gap: 20px; }
.lb-title { padding: 0 26px; display: grid; gap: 4px; }
.lb-title small { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.lb-title span { font: 400 30px var(--serif); }
.lb-floor { display: grid; }
.lb-floor > span { padding: 0 26px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #ff6b6b; }
.lb-floor a { display: flex; justify-content: space-between; padding: 9px 26px; font-size: 14.5px; color: rgba(255, 255, 255, .82); border-left: 4px solid transparent; }
.lb-floor a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.lb-floor a.on { color: #fff; font-weight: 700; background: rgba(193, 0, 0, .18); border-left-color: var(--red); padding-left: 22px; }
.lb-floor i { font-style: normal; color: rgba(255, 255, 255, .5); }
.lb-main { display: flex; flex-direction: column; gap: 14px; padding: 22px 28px; min-width: 0; min-height: 0; }
.lb-top { display: flex; align-items: center; gap: 12px; }
.lb-count { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; }
.lb-count b { color: #ff7b7b; }
.lb-go { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; font-size: 13px; font-weight: 600; }
.lb-go:hover { border-color: #fff; }
.lightbox .icon-btn { border-color: rgba(255, 255, 255, .35); width: 44px; height: 44px; }
.lb-fig { position: relative; flex: 1; min-height: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.lb-fig img { max-width: 100%; min-height: 0; flex: 0 1 auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-fig figcaption { font-size: 13.5px; color: rgba(255, 255, 255, .72); text-align: center; }
.lb-arrow { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 20, 20, .75); }
.lb-arrow:hover { background: var(--red); }
.lb-prev { left: 10px; } .lb-next { right: 10px; background: var(--red); } .lb-next:hover { background: var(--red-deep); }
.lb-foot { display: flex; align-items: center; gap: 10px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.lb-thumbs a { flex: none; width: 96px; aspect-ratio: 3 / 2; opacity: .55; transition: opacity .2s; }
.lb-thumbs a:hover { opacity: .9; }
.lb-thumbs a.on { opacity: 1; outline: 3px solid var(--red); outline-offset: -3px; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-nextroom { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; text-align: right; flex: none; }
.lb-nextroom span { display: grid; line-height: 1.2; font-weight: 700; }
.lb-nextroom small { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.lb-nextroom img { width: 72px; aspect-ratio: 3 / 2; object-fit: cover; }
.lb-nextroom:hover span { color: #ff7b7b; }
.lightbox [hidden] { display: none !important; }
.nw { white-space: nowrap; }

/* Narrower desktops: the stop strip gives way to the card before it can collide with it */
@media (max-width: 1180px) { .strip { display: none; } .splash-stops { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .splash { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .splash-bg, .splash::before { position: fixed; }
  .splash-top { padding: 18px 16px; }
  .splash-top .status { display: none; }
  .splash-body { padding: 0 16px; align-self: end; }
  .splash::before { background: linear-gradient(0deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .6) 55%, rgba(10, 10, 10, .15) 100%); }
  .splash h1 { font-size: 42px; }
  .lede { font-size: 15px; margin-bottom: 22px; }
  .actions .btn { flex: 1; justify-content: center; padding: 0 12px; font-size: 12.5px; letter-spacing: .04em; white-space: nowrap; }
  .actions .btn-primary { flex-basis: 100%; }
  .tabs button { padding: 10px 7px; font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
  .hint { top: 62%; }
  .openhouse { position: relative !important; top: auto; right: auto; width: auto; margin: 18px 16px 0; padding: 12px 16px; }
  .openhouse strong { font-size: 17px; }
  .splash-stops { display: none; }
  .topbar { padding: 12px; gap: 8px; }
  .topbar .status, .tbtn span:not(.short) { display: none; }
  .splash-top .logo { height: 44px; } .pill .logo { height: 24px; }
  .tbtn { padding: 0 9px; white-space: nowrap; } .top-actions { gap: 5px; } .tbtn-primary { padding: 0 12px; font-size: 11.5px; letter-spacing: .06em; } .tbtn-primary .short { display: inline; }
  .ps-tag { white-space: nowrap; letter-spacing: .1em; }
  .card { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
  .card h2 { font-size: 26px; } .card p { font-size: 13.5px; margin-bottom: 12px; }
  .strip { display: none; }
  .arrive span { font-size: 36px; }
  .pano-hot .lbl { display: none; }
  .sheet { padding: 22px 16px 30px; }
  .sheet h2 { font-size: 30px; }
  .pin .pin-lbl { display: none; }
  .ps-bar { top: 74px; }
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .b-items div { grid-template-columns: 1fr; gap: 4px; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .doc { grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: none; }
  /* Stacked, the text sets the card height and the preview fills its frame without adding to it. */
  .doc-img { position: relative; aspect-ratio: auto; min-height: 99px; }
  .doc-img img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .b-contact .btn { flex: 1; justify-content: center; }
  .openhouse .oh-g { display: none; }
  .card-photos { margin-bottom: 12px; }
  .d-cols { grid-template-columns: 1fr; gap: 10px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places li { grid-template-columns: 1fr auto; }
  .places small { grid-column: 1 / -1; }
  .gallery { padding: 0 16px 40px; }
  .g-head { padding: 18px 0 12px; flex-wrap: wrap; gap: 12px; }
  .g-head h2 { font-size: 30px; }
  .g-jump { order: 3; margin-left: 0; width: 100%; }
  .g-jump button { flex: 1; padding: 0 6px; font-size: 11px; letter-spacing: .06em; }
  .g-head .close { margin-left: auto; }
  .g-room-head { flex-wrap: wrap; gap: 4px 12px; }
  .g-room-head h4 { font-size: 22px; }
  .g-room-head a { margin-left: 0; width: 100%; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-rooms { display: none; }
  .lb-main { padding: 12px; gap: 10px; }
  .lb-top { flex-wrap: wrap; }
  .lb-go { order: 3; margin-left: 0; width: 100%; justify-content: center; }
  .lb-close { margin-left: auto; }
  .lb-arrow { width: 44px; height: 44px; margin-top: -22px; }
  .lb-nextroom img { display: none; }
  .lb-thumbs a { width: 64px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
#plans { width: min(1000px, 100%); }
