/* Heritage Square: premium rebuild. Brand: charcoal chalk into warm greys, with the owner's gold. */
:root {
  --ink: #141312;
  --char: #1d1b1a;
  --chalk: #2a2827;
  --stone: #3a3634;
  --grey: #8f8880;
  --mist: #cdc6bd;
  --bone: #e8e2da;
  --paper: #efeae3;
  --gold: #bf9d81;
  --gold-hi: #dfc4a8;
  --gold-lo: #94755d;
  --line: rgba(191, 157, 129, .32);
  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --body: 'Open Sans', system-ui, sans-serif;
  --ui: 'Montserrat', 'Open Sans', sans-serif;
  --script: 'Pinyon Script', cursive;
  --wrap: min(1320px, calc(100vw - 2 * var(--pad)));
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: url(/assets/img/tex/grain-dark.png) 0 0 / 160px 160px, var(--chalk); color: var(--mist);
  font: 400 clamp(15px, 1.02vw, 17px)/1.75 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--bone); font-weight: 600; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; font: 600 13px var(--ui); }
.skip:focus { top: 12px; }

/* Textures: the live site's chalkboard photo, and the owner's grey polished plaster. */
.tex-chalk { background: url(/assets/img/tex/grain-dark.png) 0 0 / 160px 160px, url(/assets/img/tex/chalk.webp) center / cover no-repeat, var(--chalk); }
.tex-chalk-soft { position: relative; isolation: isolate; }
.tex-chalk-soft::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(/assets/img/tex/grain-dark.png) 0 0 / 160px 160px, url(/assets/img/tex/chalk.webp) center / cover no-repeat; opacity: .92; -webkit-mask-image: linear-gradient(transparent, #000 140px, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(transparent, #000 140px, #000 calc(100% - 140px), transparent); }
.tex-plaster { position: relative; isolation: isolate; background: #d9d2c8; color: #3b3632; }
.tex-plaster::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(/assets/img/tex/grain-light.png) 0 0 / 160px 160px, url(/assets/img/tex/plaster.webp) center / cover no-repeat; }
@supports (-webkit-touch-callout: none) { .tex-chalk { background-attachment: scroll; } }

/* Type */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.h-display { font: 400 clamp(34px, 4.6vw, 72px)/1.08 var(--display); color: var(--gold); letter-spacing: .01em; text-wrap: balance; }
.h-section { font: 400 clamp(28px, 3.3vw, 52px)/1.14 var(--display); color: var(--gold); letter-spacing: .01em; text-wrap: balance; }
.h-card { font: 500 clamp(17px, 1.35vw, 21px)/1.3 var(--display); color: var(--gold); letter-spacing: .03em; }
.lead { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.8; color: var(--bone); font-weight: 300; }
.prose p { text-wrap: pretty; }
.prose a, .link { color: var(--gold-hi); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.prose a:hover, .link:hover { color: #fff; background-size: 0 1px; background-position: 100% 100%; }
.tex-plaster .h-section, .tex-plaster .h-display { color: #6e5442; }
.rule { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); transform-origin: center; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); }
.ornament::before, .ornament::after { content: ''; height: 1px; width: clamp(40px, 8vw, 110px); background: currentColor; opacity: .6; }
.ornament img { width: 34px; height: auto; }

/* Buttons: direction-aware fill. The fill layer carries its own inverted label, so text never matches the fill. */
.btn {
  --b-bg: var(--gold); --b-fg: var(--ink); --b-bd: var(--gold);
  --f-bg: var(--ink); --f-fg: var(--gold-hi);
  position: relative; display: inline-flex; align-items: center; justify-content: center; isolation: isolate; overflow: hidden; vertical-align: middle;
  min-height: 52px; padding: 0 30px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font: 600 12.5px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer; border-radius: 0; -webkit-tap-highlight-color: transparent;
}
.btn > .btn__label, .btn__fill > .btn__label { display: inline-flex; align-items: center; gap: 12px; padding-top: 1px; line-height: 1; }
.btn__fill { position: absolute; inset: -1px; display: flex; align-items: center; justify-content: center; padding: 0 30px; background: var(--f-bg); color: var(--f-fg); clip-path: inset(0 100% 0 0); pointer-events: none; }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 13.5px; }
.btn--lg .btn__fill { padding: 0 40px; }
.btn--line { --b-bg: transparent; --b-fg: var(--gold-hi); --b-bd: var(--gold); --f-bg: var(--gold); --f-fg: var(--ink); }
.btn--ghost { --b-bg: rgba(20, 19, 18, .35); --b-fg: var(--bone); --b-bd: rgba(232, 226, 218, .5); --f-bg: var(--bone); --f-fg: var(--ink); }
.btn--dark { --b-bg: var(--ink); --b-fg: var(--gold-hi); --b-bd: var(--ink); --f-bg: var(--gold); --f-fg: var(--ink); }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h); transition: transform .5s var(--ease), background-color .4s, height .4s var(--ease), box-shadow .4s; }
.site-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(14, 13, 12, .78), rgba(14, 13, 12, 0)); transition: opacity .4s; pointer-events: none; }
.site-header.is-solid { --header-h: 68px; background: rgba(24, 22, 21, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-105%); }
.site-header .wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: clamp(190px, 17vw, 250px); flex: none; padding-block: 12px; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav ul { display: flex; gap: clamp(14px, 2vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { position: relative; display: block; padding: 10px 0; font: 600 11.5px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--bone); text-decoration: none; transition: color .3s; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--gold-hi); }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: 0 22px; }
.nav .btn .btn__fill { padding: 0 22px; }
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; color: var(--gold-hi); cursor: pointer; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .45s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 17px; } .menu-toggle span:nth-child(2) { top: 22.5px; } .menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 85; display: grid; align-content: center; gap: 30px; padding: 110px var(--pad) 40px; background: var(--char); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease), visibility 0s .7s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(191, 157, 129, .18); }
.mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 400 clamp(24px, 7vw, 34px)/1.1 var(--display); color: var(--bone); text-decoration: none; }
.mobile-menu a:not(.btn)::after { content: '→'; font-family: var(--body); color: var(--gold); font-size: 18px; }
.menu-open .mobile-menu { visibility: visible; clip-path: inset(0); transition: clip-path .7s var(--ease); }
@media (max-width: 1080px) {
  .nav ul { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 520px) { .nav .btn { display: none; } }

/* Sections */
.section { position: relative; padding-block: clamp(72px, 8.5vw, 128px); }
.reviews { padding-top: clamp(60px, 7vw, 100px); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.center { text-align: center; }
.measure { max-width: 64ch; margin-inline: auto; }
.stack > * + * { margin-top: clamp(18px, 2vw, 28px); }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--bone); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slides { z-index: 0; }
.hero__slide { opacity: 0; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 46% 52% at 50% 48%, rgba(16, 15, 14, .62), rgba(20, 19, 18, .3) 70%, rgba(20, 19, 18, .6)), linear-gradient(rgba(20, 19, 18, .35), rgba(20, 19, 18, .1) 30%, rgba(20, 19, 18, .65)); pointer-events: none; }
.hero__logo { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(240px, 30vw, 440px); transform: translate(-50%, -46%); filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .55)); }
.hero__logo img { width: 100%; height: auto; }
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(24px, 4vw, 48px); }
.hero__controls .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero__bars { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.hero__bar { position: relative; flex: 1; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__bar::before, .hero__bar i { content: ''; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: rgba(232, 226, 218, .28); }
.hero__bar i { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__arrows { display: flex; gap: 10px; }
.arrow-btn { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(232, 226, 218, .45); background: rgba(20, 19, 18, .3); color: var(--bone); cursor: pointer; overflow: hidden; transition: border-color .3s, color .3s; }
.arrow-btn::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.arrow-btn svg { position: relative; width: 18px; height: 18px; }
.arrow-btn:hover { color: var(--ink); border-color: var(--gold); }
.arrow-btn:hover::before { transform: scaleY(1); }
.hero__book { position: absolute; z-index: 3; right: var(--pad); top: 50%; display: none; }

/* Door intro (arriving from the Enter Here screen) */
.doors { position: fixed; inset: 0; z-index: 150; display: none; grid-template-columns: 1fr 1fr; pointer-events: none; }
html.is-entering .doors { display: grid; pointer-events: auto; }
html.is-entering, html.is-entering body { overflow: hidden; }
.doors__leaf { position: relative; background: url(/assets/img/tex/grain-dark.png) 0 0 / 160px 160px, url(/assets/img/tex/chalk.webp) center / cover no-repeat, var(--chalk); box-shadow: inset 0 0 120px rgba(0, 0, 0, .6); }
.doors__leaf:first-child { border-right: 1px solid rgba(191, 157, 129, .5); }
.doors__leaf:first-child::after, .doors__leaf:last-child::after { content: ''; position: absolute; top: 50%; width: 3px; height: 70px; margin-top: -35px; background: var(--gold); border-radius: 2px; }
.doors__leaf:first-child::after { right: 18px; }
.doors__leaf:last-child::after { left: 18px; }

/* Intro + feature boxes */
.intro__head { display: grid; justify-items: center; gap: 26px; text-align: center; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 40px); margin-top: clamp(56px, 7vw, 110px); align-items: start; }
.feature { display: block; text-decoration: none; color: inherit; }
.feature__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.feature__media::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(223, 196, 168, .0); transition: border-color .6s, inset .6s var(--ease); pointer-events: none; }
.feature:hover .feature__media img { transform: scale(1.06); }
.feature:hover .feature__media::after { inset: 18px; border-color: rgba(223, 196, 168, .75); }
.feature__body { padding-top: 24px; }
.feature__title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; }
.feature__title::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.feature:hover .feature__title::after { transform: scaleX(1); }
.feature__title svg { width: 20px; height: 20px; color: var(--gold); flex: none; transition: transform .5s var(--ease); }
.feature:hover .feature__title svg { transform: translateX(5px); }
.feature p { font-size: .95em; color: var(--mist); }

/* Photo band (drifting strip) */
.band { position: relative; overflow: hidden; padding-block: clamp(10px, 2vw, 24px); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.band.is-dragging { cursor: grabbing; }
.band__track { display: flex; gap: clamp(10px, 1.2vw, 18px); width: max-content; will-change: transform; }
.band__item { flex: none; height: clamp(240px, 34vw, 470px); overflow: hidden; background: var(--stone); }
.band__item img { height: 100%; width: auto; max-width: none; object-fit: cover; pointer-events: none; }
.band__item:nth-child(3n+2) { margin-top: clamp(20px, 3vw, 46px); height: clamp(200px, 28vw, 400px); }

/* Apartments */
.apts-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.apts-intro .prose { color: var(--mist); }
.stays { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); margin-top: clamp(60px, 8vw, 120px); }
.stays__media { position: sticky; top: calc(68px + 4vh); height: calc(100vh - 68px - 8vh); min-height: 420px; }
.stays__frame { position: relative; height: 100%; overflow: hidden; background: var(--ink); }
.stays__shot { position: absolute; inset: 0; visibility: hidden; }
.stays__shot.is-active { visibility: visible; }
.stays__shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stays__shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(14, 13, 12, .75)); pointer-events: none; }
.stays__clip { position: absolute; z-index: 2; right: 20px; bottom: 20px; width: 38%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid rgba(223, 196, 168, .7); background: var(--ink); cursor: pointer; overflow: hidden; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); transition: transform .6s var(--ease), border-color .3s; }
.stays__clip video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s; }
.stays__clip video.is-playing { opacity: 1; }
.stays__clip:hover { transform: scale(1.04); border-color: var(--gold-hi); }
.stays__play { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(20, 19, 18, .7); color: var(--gold-hi); }
.stays__play svg { width: 20px; height: 20px; }
.stays__label { position: absolute; z-index: 5; left: 22px; bottom: 20px; right: 45%; display: flex; justify-content: space-between; align-items: end; gap: 12px; color: var(--bone); pointer-events: none; }
.stays__num { font: 400 clamp(64px, 8vw, 128px)/.8 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(232, 226, 218, .85); }
.stays__hint { font: 600 12px/1.4 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); text-align: right; }
.stays__list { display: grid; gap: 0; }
.stay { padding-block: clamp(40px, 6vh, 70px); border-top: 1px solid var(--line); }
.stay > :not(.btn-row):not(.stay__media) { transition: opacity .6s; }
.stay:not(.is-active) > :not(.btn-row):not(.stay__media) { opacity: .42; }
.stay:first-child { border-top: 0; padding-top: 0; }
.stay__media { display: none; position: relative; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 24px; background: var(--ink); }
.stay__media img, .stay__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stay__kicker { display: block; font: 600 12px/1 var(--ui); letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.stay h3 { font: 400 clamp(22px, 2vw, 30px)/1.2 var(--display); color: var(--bone); letter-spacing: .02em; }
.stay__tag { margin: 12px 0 20px; font: italic 400 clamp(16px, 1.2vw, 19px)/1.5 var(--body); color: var(--gold-hi); }
.stay .prose { font-size: .96em; }
.stay .btn-row { margin-top: 28px; }
.stay .btn { min-height: 48px; padding: 0 22px; font-size: 11.5px; }
.stay .btn .btn__fill { padding: 0 22px; }
@media (max-width: 900px) {
  .apts-intro { grid-template-columns: 1fr; }
  .stays { grid-template-columns: 1fr; }
  .stays__media { display: none; }
  .stay:not(.is-active) > :not(.btn-row):not(.stay__media) { opacity: 1; }
  .stay__media { display: block; }
}

/* Rates */
.rates { overflow: hidden; }
.rates__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.rates__copy { display: grid; gap: 30px; justify-items: start; }
.rates__crown { width: 64px; opacity: .9; }
.rates__fan { position: relative; height: clamp(300px, 34vw, 480px); }
.rates__card { position: absolute; top: 50%; left: 50%; width: 58%; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(40, 30, 22, .55); border: 8px solid #f4efe8; }
.rates__card img { width: 100%; height: 100%; object-fit: cover; }
.tex-plaster .btn--dark { --b-bg: #2a2522; }

/* Amenities */
.amen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 110px); }
.amen__head { position: sticky; top: 120px; align-self: start; }
.amen__grid { list-style: none; margin: clamp(56px, 7vw, 100px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amen__grid li { position: relative; display: grid; gap: 18px; align-content: start; padding: clamp(22px, 2.4vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: clamp(150px, 13vw, 190px); overflow: hidden; transition: background-color .5s; }
.amen__grid li::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(191, 157, 129, .16), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.amen__grid li:hover::before { opacity: 1; }
.amen__grid svg { width: 38px; height: 38px; color: var(--gold); stroke-width: 1.25; }
.amen__grid span { font: 500 14px/1.4 var(--ui); letter-spacing: .06em; color: var(--bone); }
@media (max-width: 900px) { .amen { grid-template-columns: 1fr; } .amen__head { position: static; } .amen__grid { grid-template-columns: repeat(2, 1fr); } }

/* Guest reviews */
.reviews { overflow: hidden; }
.reviews__head { display: grid; justify-items: center; text-align: center; gap: 6px; }
.reviews__head img { width: 92px; }
.reviews__est { font: 400 15px/1 var(--display); color: var(--gold); letter-spacing: .14em; }
.reviews__title { font: 400 clamp(54px, 7vw, 104px)/1.05 var(--script); color: var(--gold); margin-top: 4px; }
.marquee { position: relative; margin-top: clamp(40px, 5vw, 70px); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee.is-dragging { cursor: grabbing; }
.marquee__track { display: flex; gap: 22px; width: max-content; will-change: transform; }
.review { flex: none; width: clamp(280px, 26vw, 380px); display: grid; grid-template-rows: auto 1fr auto; gap: 22px; padding: 34px 32px 28px; background: rgba(20, 19, 18, .55); border: 1px solid var(--line); text-align: center; transition: border-color .4s, transform .6s var(--ease), background-color .4s; }
.review:hover { border-color: var(--gold); background: rgba(20, 19, 18, .75); transform: translateY(-6px); }
.stars { display: flex; justify-content: center; gap: 6px; color: #9b9590; }
.stars svg { width: 20px; height: 20px; }
.review__text { margin: 0; font: 500 14.5px/1.6 var(--ui); letter-spacing: .08em; color: var(--mist); text-transform: uppercase; align-self: center; }
.review__name { font: 500 19px/1.2 var(--ui); color: var(--bone); letter-spacing: .02em; }
.review__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(191, 157, 129, .22); font: 600 11.5px/1 var(--ui); letter-spacing: .14em; color: var(--gold); }

/* Coffee Cartel */
.cartel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.arch { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--ink); }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.arch img.is-active { opacity: 1; }
.arch-wrap { position: relative; }
.arch-wrap::before { content: ''; position: absolute; inset: -16px; border: 1px solid var(--line); border-radius: 999px 999px 0 0; pointer-events: none; }
.cartel__logo { width: clamp(150px, 14vw, 200px); margin-bottom: 30px; }
.cartel .prose { font-size: .98em; }
.cartel .btn { margin-top: 34px; }

/* Location */
.loc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.loc__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.loc__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.loc .btn { margin-top: 34px; }
.map { position: relative; height: clamp(360px, 48vw, 620px); background: var(--char); border-block: 1px solid var(--line); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.85) sepia(.25) brightness(.95); transition: filter .8s; }
.map:hover iframe { filter: grayscale(.2) invert(0) contrast(1) sepia(0); }
.map__tag { position: absolute; right: var(--pad); top: clamp(20px, 3vw, 40px); z-index: 2; padding: 18px 22px; background: rgba(20, 19, 18, .88); border: 1px solid var(--line); pointer-events: none; }
.map__tag img { width: 170px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 80px); margin-top: clamp(50px, 6vw, 90px); align-items: start; }
.details { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: rgba(20, 19, 18, .45); }
.details p { margin-bottom: .7em; }
.details p:first-child { font-family: var(--display); color: var(--gold); font-size: 1.15em; line-height: 1.45; margin-bottom: 1.1em; }
.form { display: grid; gap: 22px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 26px 0 12px; border: 0; border-bottom: 1px solid rgba(205, 198, 189, .35); background: transparent; color: var(--bone); font: 400 16px/1.5 var(--body); border-radius: 0; outline: none; resize: vertical; }
.field textarea { min-height: 130px; }
.field label { position: absolute; left: 0; top: 26px; font: 600 11.5px/1.5 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); pointer-events: none; transition: transform .4s var(--ease), color .3s; transform-origin: left top; }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.86); color: var(--gold); }
.form .btn { justify-self: start; }
.form__note { font-size: 14px; color: var(--gold-hi); min-height: 1.5em; }

/* Footer */
.footer { position: relative; isolation: isolate; background: url(/assets/img/tex/grain-dark.png) 0 0 / 160px 160px, var(--ink); border-top: 1px solid var(--line); overflow: hidden; }
.footer::before { content: ''; position: absolute; right: -6%; bottom: -12%; z-index: -1; width: min(52vw, 640px); aspect-ratio: 1; background: url(/assets/img/logo/crown-icon.webp) center / contain no-repeat; opacity: .035; pointer-events: none; }
.footer__cta { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(191, 157, 129, .07), transparent 60%); }
.footer__cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 64px); }
.footer__cta-text { margin: 0; max-width: 30ch; font: 400 clamp(22px, 2.3vw, 34px)/1.3 var(--display); color: var(--gold); text-wrap: balance; }
.footer__main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 70px); padding-block: clamp(56px, 6vw, 90px) clamp(40px, 4vw, 60px); }
.footer__brand { display: block; width: clamp(120px, 10vw, 150px); }
.footer__logo { width: 100%; }
.footer__about p { margin: 26px 0 0; max-width: 34ch; color: var(--mist); font-size: 15px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 28px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-hi); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.footer__social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__h { margin: 0 0 20px; font: 600 12px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__col a { position: relative; display: inline-block; padding: 6px 0; color: var(--bone); text-decoration: none; font-size: 15px; transition: color .3s; }
.footer__col a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.footer__col a:hover { color: var(--gold-hi); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__apts a { display: flex; align-items: baseline; gap: 10px; }
.footer__apts small { font: 500 11.5px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.footer__apts a::after { bottom: 2px; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 8px 0; }
.footer__contact li svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer__contact li div { display: grid; justify-items: start; color: var(--mist); font-size: 15px; line-height: 1.5; }
.footer__contact a { padding: 1px 0; font-size: 15px; }
.footer__contact a::after { bottom: 0; }
.footer__contact small { color: var(--grey); font-size: 13px; }
.footer__label { font: 600 11px/1.6 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap; padding-block: 24px 30px; border-top: 1px solid rgba(191, 157, 129, .16); font: 500 12.5px/1.6 var(--ui); letter-spacing: .05em; color: var(--grey); }
.footer__bottom a { color: var(--gold); text-decoration: none; }
.footer__bottom a:hover { color: var(--gold-hi); text-decoration: underline; }
.footer__up { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--bone); font: 600 11.5px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: color .3s; }
.footer__up svg { width: 34px; height: 34px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-hi); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.footer__up:hover { color: var(--gold-hi); }
.footer__up:hover svg { transform: translateY(-4px); background: var(--gold); color: var(--ink); }
@media (max-width: 1080px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .footer__cta-in .btn-row { width: 100%; }
  .footer__cta-in .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__col a { padding: 11px 0; }
  .footer__contact a { padding: 10px 0; }
  .footer__bottom a { display: inline-block; padding: 12px 0; }
}

/* Lightbox (gallery + video, on the page) */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: auto 1fr auto; background: rgba(12, 11, 10, .985); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--bone); visibility: hidden; opacity: 0; transition: opacity .45s, visibility 0s .45s; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .45s; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px var(--pad); }
.lightbox__title { font: 400 clamp(15px, 1.4vw, 20px)/1.2 var(--display); color: var(--gold); letter-spacing: .04em; }
.lightbox__close { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line); background: none; color: var(--bone); cursor: pointer; transition: background-color .3s, color .3s; }
.lightbox__close:hover { background: var(--gold); color: var(--ink); }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(70px, 8vw, 130px); }
.lightbox__stage img { max-width: 100%; max-height: calc(100svh - 220px); object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: var(--pad); }
.lightbox__nav--next { right: var(--pad); }
.lightbox__thumbs { display: flex; gap: 8px; padding: 16px var(--pad) 22px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; }
.lightbox__thumbs button { flex: none; width: 92px; height: 62px; padding: 0; border: 1px solid transparent; background: var(--stone); cursor: pointer; opacity: .5; transition: opacity .3s, border-color .3s; }
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--gold); }
.lightbox--video .lightbox__thumbs, .lightbox--video .lightbox__nav { display: none; }
@media (max-width: 700px) { .lightbox__stage { padding: 0 12px; } .lightbox__nav { top: auto; bottom: -6px; transform: none; } }

/* Inner page heroes */
.page-hero { position: relative; min-height: clamp(460px, 72vh, 760px); display: grid; align-items: end; overflow: hidden; background: var(--ink); padding: calc(var(--header-h) + 60px) 0 clamp(50px, 7vw, 90px); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 115%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 19, 18, .72), rgba(20, 19, 18, .2) 65%), linear-gradient(rgba(20, 19, 18, .55), rgba(20, 19, 18, .15) 40%, rgba(20, 19, 18, .92)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 20ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.page-hero--plain h1 { max-width: 28ch; text-shadow: none; }
.center h1, .center .h-display { margin-inline: auto; }
.page-hero--plain { min-height: 0; padding-bottom: clamp(40px, 5vw, 70px); background: none; }
.page-hero--plain::after { display: none; }

/* History */
.history { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.history .prose { font-size: 1.03em; }
.history .prose > p:first-child::first-letter { float: left; font: 400 4.6em/.82 var(--display); color: var(--gold); padding: .06em .12em 0 0; }
.archive { position: sticky; top: 100px; display: grid; gap: 16px; }
.archive figure { margin: 0; position: relative; overflow: hidden; background: var(--stone); }
.archive figure:first-child { grid-column: 1 / -1; }
.archive { grid-template-columns: 1fr 1fr; }
.archive img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform 1s var(--ease); }
.archive figure:hover img { transform: scale(1.04); }
.history-2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.history-2 .framed { position: sticky; top: 110px; }
.framed { position: relative; padding: 14px; border: 1px solid var(--line); }
.framed img { width: 100%; height: auto; }
.closing { margin-top: 1.4em; font: 400 clamp(22px, 2.2vw, 32px)/1.3 var(--display); color: var(--gold); }
@media (max-width: 900px) { .history, .history-2 { grid-template-columns: 1fr; } .archive, .history-2 .framed { position: static; } }

/* Directory */
/* Directory intro: the building read top to bottom, one floor per row */
.dir-lead { max-width: 26ch; margin: 0 auto; text-align: center; font: 400 clamp(26px, 3vw, 46px)/1.25 var(--display); color: var(--gold); text-wrap: balance; }
.levels { margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.level { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 4fr) minmax(0, 4.6fr); gap: clamp(24px, 4vw, 70px); align-items: center; padding-block: clamp(26px, 3.2vw, 44px); border-bottom: 1px solid var(--line); }
.level__mark { display: grid; gap: 10px; }
.level__num { font: 400 clamp(64px, 7.5vw, 120px)/.85 var(--display); color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: .02em; }
.level__label { font: 600 12px/1.4 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); }
.level__text { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: var(--bone); font-weight: 300; }
.level__img { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--stone); }
.level__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.level:hover .level__img img { transform: scale(1.05); }
.level:hover .level__num { -webkit-text-stroke-color: var(--gold-hi); }
.dir-close { max-width: 30ch; margin: clamp(56px, 7vw, 100px) auto 0; text-align: center; font: 400 clamp(22px, 2.2vw, 34px)/1.35 var(--display); color: var(--bone); text-wrap: balance; }
@media (max-width: 900px) {
  .level { grid-template-columns: 1fr; gap: 18px; }
  .level__mark { display: flex; align-items: baseline; gap: 16px; }
  .level__num { font-size: 64px; }
}
.floors { margin-top: clamp(60px, 8vw, 120px); display: grid; gap: clamp(16px, 2vw, 26px); }
.floor { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border: 1px solid var(--line); background: rgba(20, 19, 18, .42); }
.floor__head { position: relative; padding: clamp(26px, 3vw, 46px); border-right: 1px solid var(--line); display: grid; align-content: space-between; gap: 30px; overflow: hidden; }
.floor__head svg { width: 46px; height: 46px; color: var(--gold); stroke-width: 1.2; }
.floor__head h2 { font: 500 clamp(16px, 1.4vw, 20px)/1.45 var(--display); color: var(--gold); letter-spacing: .05em; }
.floor__level { font: 400 clamp(54px, 6vw, 96px)/.8 var(--display); color: transparent; -webkit-text-stroke: 1px var(--line); }
.tenants { list-style: none; margin: 0; align-content: start; padding: clamp(14px, 2vw, 26px) clamp(20px, 3vw, 46px); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 50px); }
.tenant { border-bottom: 1px solid rgba(191, 157, 129, .16); }
.tenant a, .tenant div { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; text-decoration: none; color: var(--bone); }
.tenant .t-name { font-weight: 500; transition: color .3s, transform .5s var(--ease); }
.tenant .t-tel { font: 500 13px/1.4 var(--ui); letter-spacing: .06em; color: var(--grey); white-space: nowrap; transition: color .3s; }
.tenant a::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tenant a:hover .t-name { color: var(--gold-hi); transform: translateX(6px); }
.tenant a:hover .t-tel { color: var(--gold-hi); }
.tenant a:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .floor { grid-template-columns: 1fr; } .floor__head { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .tenants { grid-template-columns: 1fr; } }

/* News */
.news-list { display: grid; gap: clamp(40px, 6vw, 90px); }
.news-card { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(26px, 5vw, 80px); align-items: center; text-decoration: none; color: inherit; }
.news-card:nth-child(even) .news-card__media { order: 2; }
.news-card__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card h2 { font: 400 clamp(22px, 2.2vw, 34px)/1.25 var(--display); color: var(--gold); margin-bottom: 20px; }
.news-card .btn { margin-top: 28px; }
@media (max-width: 800px) { .news-card { grid-template-columns: 1fr; } .news-card:nth-child(even) .news-card__media { order: 0; } }

/* Post */
.post { max-width: 820px; margin-inline: auto; }
.post > * + * { margin-top: clamp(26px, 3vw, 40px); }
.post h2 { font: 400 clamp(24px, 2.4vw, 36px)/1.25 var(--display); color: var(--gold); }
.post .prose u { text-decoration: none; }
.post figure { margin-block: clamp(30px, 4vw, 56px); overflow: hidden; }
.post figure img { width: 100%; height: auto; cursor: zoom-in; }
.post .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.post .gallery button { padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 4; }
.post .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post .gallery button:hover img { transform: scale(1.05); }
.post-back { display: inline-flex; align-items: center; gap: 10px; padding-block: 14px; font: 600 11.5px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.post-back svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.post-back:hover svg { transform: translateX(-5px); }

/* Responsive tweaks */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 3 / 2; }
  .rates__grid, .cartel, .loc { grid-template-columns: 1fr; }
  .rates__fan { height: 280px; }
  .rates__card { width: 50%; border-width: 6px; }
  .contact__grid { grid-template-columns: 1fr; }
  .arch { max-width: 460px; margin-inline: auto; }
  .arch-wrap { margin-inline: 14px; }
}
@media (max-width: 600px) {
  .btn { padding: 0 22px; }
  .btn__fill { padding: 0 22px; }
  .hero__bars { max-width: 200px; }
}

/* Louvred-shutter photo reveal (slats are added by site.js) */
[data-louvre] { position: relative; }
.louvre { position: absolute; inset: 0; z-index: 3; display: flex; pointer-events: none; overflow: hidden; }
.louvre__shade { position: absolute; inset: 0; background: #1b1918; }
.louvre i { position: relative; flex: 1 1 0; margin-right: -1px; background: linear-gradient(90deg, #34302d 0%, #26231f 38%, #1c1a18 62%, #2c2825 100%); box-shadow: inset -1px 0 0 rgba(191, 157, 129, .22); transform-origin: 50% 50%; will-change: transform; }
.louvre i:last-child { margin-right: 0; }

/* Headings set letter by letter */
.ch { display: inline-block; }

/* Contact page */
.contact-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.contact-top__intro { display: grid; gap: 34px; justify-items: start; }
.ways { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.way { display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.way svg { width: 30px; height: 30px; color: var(--gold); margin-top: 4px; }
.way p { margin: 0; }
.way__label { font: 600 12px/1.4 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 14px !important; }
.way__label:first-child { margin-top: 0 !important; }
.way__big { font: 400 clamp(19px, 1.6vw, 24px)/1.4 var(--display); color: var(--bone); }
.way__mail { font-size: clamp(15px, 1.2vw, 18px); font-family: var(--body); }
.way__big a { color: inherit; text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.way__big a:hover { color: var(--gold-hi); background-size: 100% 1px; }
.way__small { font-size: 14px; color: var(--grey); margin-top: 4px !important; }
.contact-form { margin-top: clamp(72px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.arch--still img { opacity: 1; }
.dev-credit { margin: 18px 0 0 66px; font-size: 13px; color: var(--grey); }
.dev-credit a { color: var(--gold); }
@media (max-width: 900px) { .contact-top, .contact-form { grid-template-columns: 1fr; } }
.field.is-invalid::after { transform: scaleX(1); background: #d98b6c; }
.field.is-invalid label { color: #e3a48a; }

/* Video player (apartment walkthroughs) */
.player { position: relative; width: min(1200px, 100%, calc((100svh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; overflow: hidden; outline: none; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(191, 157, 129, .25); }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
.player.is-idle, .player.is-idle video { cursor: none; }
.player__big { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(223, 196, 168, .8); background: rgba(20, 19, 18, .55); color: var(--gold-hi); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .35s, transform .5s var(--ease), background-color .3s, color .3s; }
.player__big svg { width: 34px; height: 34px; margin-left: 4px; }
.player__big:hover { background: var(--gold); color: var(--ink); transform: scale(1.06); }
.player:not(.is-paused) .player__big { opacity: 0; transform: scale(.85); pointer-events: none; }
.player__spin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 2px solid rgba(223, 196, 168, .2); border-top-color: var(--gold-hi); opacity: 0; transition: opacity .25s; pointer-events: none; animation: player-spin .9s linear infinite; }
.player.is-waiting:not(.is-paused) .player__spin { opacity: 1; }
@keyframes player-spin { to { transform: rotate(360deg); } }
.player__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 46px 20px 16px; background: linear-gradient(transparent, rgba(12, 11, 10, .88)); color: var(--bone); transition: opacity .4s, transform .5s var(--ease); }
.player.is-idle .player__bar { opacity: 0; transform: translateY(12px); pointer-events: none; }
.player__btn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bone); cursor: pointer; transition: color .25s, background-color .25s; }
.player__btn svg { width: 22px; height: 22px; }
.player__btn:hover { color: var(--gold-hi); background: rgba(191, 157, 129, .14); }
.player__time { flex: none; font: 500 12.5px/1 var(--ui); letter-spacing: .06em; color: var(--mist); font-variant-numeric: tabular-nums; }
.player__cur { color: var(--bone); }
.player__track, .player__vol { position: relative; height: 28px; display: flex; align-items: center; cursor: pointer; touch-action: none; outline: none; }
.player__track { flex: 1; }
.player__vol { flex: none; width: 92px; }
.player__rail { position: relative; width: 100%; height: 3px; background: rgba(232, 226, 218, .22); border-radius: 3px; overflow: hidden; transition: height .2s; }
.player__rail i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); }
.player__buf { background: rgba(232, 226, 218, .32); }
.player__played { background: var(--gold); }
.player__thumb { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(191, 157, 129, .25); transform: scale(.0); transition: transform .2s var(--ease); pointer-events: none; }
.player__track:hover .player__rail, .player__track.is-dragging .player__rail, .player__track:focus-visible .player__rail, .player__vol:hover .player__rail { height: 5px; }
.player__track:hover .player__thumb, .player__track.is-dragging .player__thumb, .player__track:focus-visible .player__thumb, .player__vol .player__thumb { transform: scale(1); }
.player__tip { position: absolute; bottom: 28px; left: 0; padding: 5px 8px; transform: translateX(-50%); background: rgba(20, 19, 18, .92); border: 1px solid var(--line); font: 600 11.5px/1 var(--ui); color: var(--gold-hi); font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; }
.player__track:hover .player__tip, .player__track.is-dragging .player__tip { opacity: 1; }
.player__track:focus-visible, .player__vol:focus-visible { box-shadow: 0 2px 0 var(--gold-hi); }
.player.is-full { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; box-shadow: none; }
@media (max-width: 700px) {
  .player__vol { display: none; }
  .player__bar { gap: 8px; padding: 36px 10px 10px; }
  .player__big { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
}

/* Tenants with more than one phone number: one line per number, each its own link */
.tenant--multi .t-tel { display: grid; justify-items: end; gap: 2px; }
.tenant--multi .t-tel a { color: inherit; text-decoration: none; padding: 3px 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .45s var(--ease); }
.tenant--multi .t-tel a:hover { color: var(--gold-hi); background-size: 100% 1px; }
