/* =============================================================================
   Lumière — cinematic dark portfolio theme.
   Charcoal & champagne, one grotesque typeface, film grain, slow motion.
   Palette tokens are emitted as CSS variables by layout/theme.liquid from the
   org's theme settings; the :root values below are the theme defaults.
   ============================================================================= */

:root {
  --bg:        #0c0c0e;   /* warm charcoal, not pure black */
  --bg-2:      #090909;
  --surface:   #151414;
  --surface-2: #1b1a19;
  --line:      rgba(236, 232, 225, 0.13);
  --line-soft: rgba(236, 232, 225, 0.07);
  --text:      #f5f5f4;
  --text-dim:  #bdbdba;
  --text-mute: #83837f;
  --accent:    #b49a72;   /* champagne — used sparingly */
  --accent-hi: #d6c19a;
  --accent-dim: rgba(180, 154, 114, 0.14);

  --font-display: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-sans:    var(--font-display);
  --font-mono:    var(--font-display);

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 104px;
}

html { scroll-behavior: smooth; }

/* The theme root. The Liquid layout emits a fragment inside the platform
   shell (not its own <body>), so everything body-level lives here. */
.lumiere {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body:has(.lumiere) { background: var(--bg); margin: 0; }
/* Dark scrollbars + native form controls on themed pages. */
:root:has(.lumiere) { color-scheme: dark; }

.lumiere *, .lumiere *::before, .lumiere *::after { box-sizing: border-box; }
.lumiere a { color: inherit; text-decoration: none; }
.lumiere img { max-width: 100%; display: block; }
.lumiere button { font-family: inherit; cursor: pointer; }

/* --- Reusable type helpers ------------------------------------------------ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
}
.mono { font-family: var(--font-mono); }
.dim { color: var(--text-dim); }
.dashed-rule {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 0;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
.display {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.4vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* =============================================================================
   Top navigation — scrolls away with the hero (not fixed)
   ============================================================================= */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: flex-start;
  padding-top: 18px;
  z-index: 100;
}
.nav__inner {
  width: 100%;
  max-width: none;           /* full-bleed — logo hugs the top-left corner */
  margin: 0;
  padding-inline: clamp(22px, 2.6vw, 42px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(30px, 4vw, 54px);
}
.brand { display: flex; align-items: center; gap: 15px; }
.brand__logo {
  height: 42px; width: auto; display: block;
  filter: drop-shadow(0 1px 9px rgba(0, 0, 0, 0.4));
}
/* Text wordmark fallback when the org has no logo image */
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  line-height: 1.3;
}
.brand--stack { flex-direction: column; align-items: flex-start; gap: 7px; }
.nav__links { display: flex; align-items: center; gap: 30px; margin-top: 16px; }
.nav__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  transition: color 0.25s ease;
  position: relative;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 1px; background: var(--accent);
}
.nav__toggle { display: none; background: none; border: 0; color: var(--text); margin-left: auto; }

/* Portal sign-in dropdown (tenant / investor portals) */
.nav__portal { position: relative; margin-left: 6px; }
.nav__portal-btn {
  background: none; border: 1px solid rgba(245, 245, 244, 0.35); padding: 9px 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(245, 245, 244, 0.96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  display: inline-flex; align-items: center; gap: 7px;
  transition: all 0.25s ease; cursor: pointer;
}
.nav__portal-btn:hover { border-color: var(--accent); color: var(--accent-hi); }
.nav__portal-caret { font-size: 9px; transform: translateY(-1px); }
.nav__portal-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 8px; z-index: 260;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.6);
}
.nav__portal-head {
  display: block; padding: 6px 10px 8px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-dim); opacity: 0.7;
}
.nav__portal-menu a {
  display: block; padding: 9px 10px; font-size: 13px !important;
  font-family: var(--font-body); letter-spacing: 0.02em; text-transform: none;
  color: var(--text); text-shadow: none;
}
.nav__portal-menu a:hover { color: var(--accent-hi); background: rgba(255, 255, 255, 0.03); }
.nav__portal-staff {
  margin-top: 4px; border-top: 1px solid var(--line);
  font-size: 11.5px !important; color: var(--text-dim) !important;
}

/* Vertical edge labels: brand top-right, contact bottom-right */
.side-label, .side-contact {
  position: fixed;
  right: 18px;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5f5f4;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
  z-index: 90;
}
.side-label { top: 34px; pointer-events: none; }
.side-contact { bottom: 34px; transition: color 0.25s ease; }
.side-contact:hover { color: var(--accent-hi); }

/* =============================================================================
   Hero — full-bleed cinematic slideshow
   ============================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--nav-h);
}
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #08080a; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 2.6s ease-in-out;
  /* Always-running breathing zoom so a crossfade never snaps the transform */
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0.8%, 0.6%, 0); }
  to   { transform: scale(1.17) translate3d(-1.8%, -1.3%, 0); }
}
.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 38%, transparent 42%, rgba(0,0,0,0.5) 100%);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.5) 0%, rgba(8,8,10,0) 20%, rgba(8,8,10,0) 70%, rgba(8,8,10,0.6) 100%);
}
.hero__inner { width: 100%; }
.hero__eyebrow { margin-bottom: 26px; opacity: 0; animation: fadeUp 1s ease 0.2s forwards; }
.hero__title {
  font-size: clamp(2.7rem, 6.2vw, 5.6rem);
  max-width: 16ch; line-height: 1.04; letter-spacing: -0.005em;
  opacity: 0; animation: fadeUp 1.2s ease 0.35s forwards;
}
.hero__sub {
  margin-top: 28px;
  max-width: 50ch;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
  opacity: 0; animation: fadeUp 1.1s ease 0.55s forwards;
}
.hero__cta {
  margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1.1s ease 0.75s forwards;
}
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
}
.hero__scroll {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em;
  color: var(--text-mute); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.hero__scroll::before {
  content: ""; width: 38px; height: 1px; background: var(--text-mute);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleX(0.4); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__count {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  color: var(--text-dim); display: flex; align-items: center; gap: 8px;
}
.hero__count i { color: var(--accent); font-style: normal; }
.hero__count .hero-total { color: var(--text-mute); }

/* =============================================================================
   Buttons
   ============================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text);
  padding: 15px 26px; border: 1px solid var(--line);
  background: transparent; transition: all 0.3s ease;
}
.btn:hover { border-color: var(--accent); color: var(--accent-hi); gap: 18px; }
/* Solid buttons read their palette from Studio-editable vars (Colors ->
   Button background / Button text); fallbacks are the theme defaults. */
.btn--solid {
  background: var(--btn-bg, var(--text));
  border-color: var(--btn-bg, var(--text));
  color: var(--btn-text, #181510);
}
.btn--solid:hover { opacity: 0.85; }
.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--mini { padding: 9px 15px; font-size: 11px; }

/* =============================================================================
   Section scaffolding
   ============================================================================= */
.section { padding-block: clamp(72px, 11vw, 150px); }
.section__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: end; margin-bottom: 56px;
}
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
/* Direct children only — Chrome now honors justify-self in block layout,
   so a descendant selector would also shove nested eyebrows to the right. */
.section__head > p {
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.9;
  color: var(--text-dim); max-width: 44ch; justify-self: end;
}
.section__cta { margin-top: 54px; }

/* =============================================================================
   Listing cards + grid
   ============================================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(18px, 2.4vw, 34px) clamp(16px, 2vw, 28px);
}
.portfolio { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: clamp(20px, 2.4vw, 38px); }
.card { display: block; position: relative; }
.card__media {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  background: var(--surface);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(7,7,9,0.55) 100%);
  opacity: 0; transition: opacity 0.6s ease;
}
.card:hover .card__media::after { opacity: 1; }
.card:hover .card__media img { transform: scale(1.07); }
.card__badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 6px 11px;
  background: rgba(8,8,10,0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(236,232,225,0.18); color: var(--text);
}
.card__badge--accent { color: var(--accent-hi); border-color: rgba(180,154,114,0.45); }
.card__body { padding-top: 20px; }
.card__name {
  font-family: var(--font-display); font-size: 1.78rem; font-weight: 400;
  letter-spacing: 0; line-height: 1.1; transition: color 0.3s ease;
}
.card:hover .card__name { color: var(--accent-hi); }
.card__loc {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  color: var(--text-dim); margin-top: 7px; text-transform: uppercase;
}
.card__meta {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-soft);
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim);
}
.card__meta b { color: var(--text); font-weight: 400; }

.empty-state {
  font-family: var(--font-mono); color: var(--text-mute); font-size: 13px;
  padding: 60px 0; text-align: center; letter-spacing: 0.06em;
}

/* =============================================================================
   Listings browse — filter chips, toolbar, pagination
   ============================================================================= */
.filterbar { margin-bottom: 44px; }
.filterbar__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px;
}
.filterbar__chips { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.chip {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em;
  color: var(--text-dim); background: none; border: 0; padding: 4px 0;
  border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s;
  display: inline-block;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { color: var(--accent); border-bottom-color: var(--accent); }

.listings-toolbar {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 18px 28px; margin-top: 28px; padding-top: 26px;
  border-top: 1px dashed var(--line-soft);
}
.toolbar__search {
  position: relative; display: flex; align-items: center;
  flex: 1 1 280px; max-width: 420px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s;
}
.toolbar__search:focus-within { border-color: var(--accent); }
.toolbar__search-icon {
  position: absolute; left: 14px; color: var(--text-mute); pointer-events: none;
}
.toolbar__search input {
  flex: 1; min-width: 0; background: none; border: 0; color: var(--text);
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.03em;
  padding: 13px 38px 13px 42px;
}
.toolbar__search input::placeholder { color: var(--text-mute); }
.toolbar__search input:focus { outline: none; }
.toolbar__search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.toolbar__controls { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.toolbar__field { display: flex; flex-direction: column; gap: 7px; }
.toolbar__field-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-mute);
}
.toolbar__field select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--text); background-color: var(--surface);
  border: 1px solid var(--line); padding: 11px 38px 11px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23b49a72' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 11px;
  transition: border-color 0.25s; cursor: pointer;
}
.toolbar__field select:hover { border-color: var(--accent); }
.toolbar__field select:focus { outline: none; border-color: var(--accent); }
.toolbar__field select option { background: var(--surface); color: var(--text); }
.toolbar__field select optgroup { background: var(--surface); color: var(--text-dim); }
.toolbar__num {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-mono); font-size: 12.5px; padding: 10px 12px;
  width: 118px; -moz-appearance: textfield;
}
.toolbar__num::-webkit-outer-spin-button, .toolbar__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.toolbar__num::placeholder { color: var(--text-mute); }
.toolbar__num:hover { border-color: var(--accent); }
.toolbar__num:focus { outline: none; border-color: var(--accent); }
.toolbar__apply { align-self: flex-end; }
.toolbar__reset {
  align-self: flex-end; padding: 10px 4px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim); text-decoration: underline;
  text-underline-offset: 4px;
}
.toolbar__reset:hover { color: var(--accent-hi); }

.listings-meta {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute); margin: 0 0 26px;
}

.pagination {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: clamp(40px, 5vw, 64px);
}
.page-btn {
  min-width: 44px; height: 44px; padding: 0 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--text-dim); background: transparent; border: 1px solid var(--line);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.page-btn:hover:not(.page-btn--current):not(.page-btn--disabled) {
  color: var(--text); border-color: var(--accent);
}
.page-btn--current {
  color: #181510; background: var(--accent); border-color: var(--accent);
  font-weight: 500; cursor: default;
}
.page-btn--nav { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.page-btn--disabled { opacity: 0.32; cursor: not-allowed; pointer-events: none; }
.page-ellipsis {
  min-width: 22px; text-align: center; color: var(--text-mute);
  font-family: var(--font-mono); font-size: 13px; user-select: none;
}

@media (max-width: 640px) {
  .listings-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar__search { max-width: none; }
  .toolbar__controls { justify-content: space-between; }
  .toolbar__field { flex: 1 1 45%; }
  .toolbar__field select { width: 100%; }
  .toolbar__num { width: 100%; }
  .toolbar__apply, .toolbar__reset { align-self: stretch; text-align: center; }
  .page-btn { min-width: 40px; height: 40px; padding: 0 10px; }
}

/* =============================================================================
   Listing detail
   ============================================================================= */
.detail-hero {
  position: relative; height: 64svh; min-height: 420px; overflow: hidden;
  background: var(--surface);
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.7));
}
.detail-head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px);
  padding-block: clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line-soft);
}
.detail-head__title { font-size: clamp(2.4rem, 6vw, 5rem); text-transform: uppercase; line-height: 1.0; }
.detail-head__addr {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim); margin-top: 22px; line-height: 1.9;
}
.detail-head__status {
  display: inline-block; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); border: 1px solid rgba(180,154,114,0.4);
  padding: 6px 12px;
}
.detail-head__body p { color: var(--text-dim); font-family: var(--font-mono); font-size: 13.5px; line-height: 1.95; }
.detail-head__contact { margin-top: 26px; }
.detail-head__contact a { color: var(--accent-hi); border-bottom: 1px solid rgba(180,154,114,0.4); }

/* Spec table */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 30px; }
.spec { background: var(--bg); padding: 20px; }
.spec__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); }
.spec__v { font-size: 1.15rem; font-weight: 300; margin-top: 8px; }

/* Highlights */
.highlights { list-style: none; padding: 0; margin: 30px 0 0; }
.highlights li {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-dim);
  padding: 12px 0 12px 26px; border-bottom: 1px dashed var(--line-soft); position: relative;
}
.highlights li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: var(--surface); }
.gallery figcaption {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-mute); margin-top: 12px;
}

/* =============================================================================
   Marquee of asset classes / focus areas
   ============================================================================= */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line-soft);
  background: var(--bg-2); padding: 22px 0;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 0; white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 300; color: var(--text-mute); padding: 0 38px; position: relative;
}
.marquee__track span::after {
  content: "✦"; position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
  font-size: 9px; color: var(--accent); opacity: 0.7;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =============================================================================
   Statement (big editorial line)
   ============================================================================= */
.statement { padding-block: clamp(72px, 12vw, 160px); }
.statement__lead {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.18; letter-spacing: -0.005em;
  max-width: 26ch; margin-top: 26px; color: var(--text);
}

/* =============================================================================
   Stats band
   ============================================================================= */
.stats { border-block: 1px solid var(--line-soft); background: var(--bg-2); padding-block: clamp(56px, 8vw, 104px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.stat { background: var(--bg-2); padding: clamp(26px, 3vw, 46px) clamp(20px, 2.4vw, 36px); }
.stat__num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; color: var(--text);
  letter-spacing: -0.01em;
}
.stat__label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim); margin-top: 16px; line-height: 1.5;
}

/* =============================================================================
   Approach / value props — numbered quadrant
   ============================================================================= */
.approach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.approach__item { background: var(--bg); padding: clamp(28px, 3vw, 44px); transition: background 0.4s ease; }
.approach__item:hover { background: var(--surface); }
.approach__item h3 { font-size: 1.6rem; margin: 16px 0 14px; }
.approach__copy { font-family: var(--font-mono); font-size: 13px; line-height: 1.95; color: var(--text-dim); margin: 0; }

/* =============================================================================
   About / rich text
   ============================================================================= */
.about__copy { font-family: var(--font-mono); font-size: 15px; line-height: 2.05; color: var(--text-dim); }
.about__copy + .about__copy { margin-top: 22px; }
.about-focus { margin-top: clamp(30px, 4vw, 48px); }

/* =============================================================================
   CTA band
   ============================================================================= */
.cta-band {
  border-block: 1px solid var(--line-soft); background: var(--bg-2);
  padding-block: clamp(64px, 9vw, 120px);
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 16ch; }
.cta-band__tag {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.9;
  margin-top: 22px; max-width: 36ch; color: var(--text-dim);
}

/* =============================================================================
   Contact form — posts to the platform contact endpoint (SES → org inbox)
   ============================================================================= */
.contact-form { max-width: 760px; }
.contact-form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px);
}
.contact-form__row + .contact-form__row,
.contact-form__row + .contact-form__field,
.contact-form__field + .contact-form__field { margin-top: clamp(14px, 2vw, 24px); }
.contact-form__field { display: block; margin-top: clamp(14px, 2vw, 24px); }
.contact-form__field:first-child { margin-top: 0; }
.contact-form__field span {
  display: block; margin-bottom: 9px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-dim);
}
.contact-form__field span i { font-style: normal; color: var(--text-mute); text-transform: none; letter-spacing: 0.05em; }
.contact-form__field input,
.contact-form__field textarea {
  width: 100%; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-mono); font-size: 14px; padding: 13px 14px;
  transition: border-color 0.25s; resize: vertical;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus { outline: none; border-color: var(--accent); }
.contact-form__foot {
  margin-top: clamp(20px, 3vw, 32px);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.contact-form__status {
  margin: 0; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.06em; color: var(--accent-hi);
}
@media (max-width: 640px) { .contact-form__row { grid-template-columns: 1fr; } }

/* =============================================================================
   Footer — newsletter (left) · brand + address (center) · contact (right)
   ============================================================================= */
.footer { border-top: 1px solid var(--line-soft); padding-block: clamp(56px, 7vw, 104px); background: var(--bg-2); }
.lfooter { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.lfooter__col { display: flex; flex-direction: column; }
.lfooter__arrow { font-family: var(--font-mono); color: var(--text-dim); font-size: 17px; letter-spacing: 1px; margin-bottom: clamp(36px, 6vw, 86px); }
.lfooter h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text); font-weight: 500; margin: 0 0 4px;
}
.lfooter .dashed-rule { margin: 16px 0; border-top: 1px dashed var(--line); }
.newsletter { display: flex; gap: 0; margin-top: 10px; align-items: stretch; }
.newsletter input {
  flex: 1; min-width: 0; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-mono); font-size: 13px; padding: 13px 14px;
}
.newsletter input::placeholder { color: var(--text-mute); }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter button {
  background: none; border: 0; color: var(--text); font-family: var(--font-mono);
  font-size: 13px; padding: 0 4px 0 18px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
}
.newsletter button:hover { color: var(--accent-hi); }
.footer-mark { margin-bottom: 30px; align-items: center; width: max-content; }
.footer-mark .brand__logo { height: 42px; filter: none; }
.footer-mark .brand__wordmark { font-size: 15px; letter-spacing: 0.18em; text-align: center; text-shadow: none; }
.lblock { margin-bottom: 18px; }
.lblock h6 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text); font-weight: 500; margin: 0 0 7px;
}
.lblock p { font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--text-dim); margin: 0; }
.lblock a { color: var(--text-dim); }
.lblock a:hover { color: var(--accent-hi); }
.lfooter__copy { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin: 12px 0 0; }
@media (max-width: 860px) {
  .lfooter { grid-template-columns: 1fr 1fr; gap: 44px; }
  .lfooter__col--news { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .lfooter { grid-template-columns: 1fr; } }

/* Inner pages (listings, detail, generic): clear the absolute-position nav */
.inner-main { padding-top: clamp(96px, 11vw, 140px); }

/* Platform React content (apply form, portals) spliced between the theme's
   chrome fragments: dark stage, light sheet, nav clearance. */
.lumiere--chrome-top { min-height: 0; }
.vf-embed {
  background: var(--bg, #0c0c0e);
  padding: clamp(110px, 13vw, 170px) clamp(16px, 4vw, 48px) clamp(64px, 8vw, 110px);
}
.vf-embed > * {
  max-width: 1080px;
  margin: 0 auto;
  background: #fbfaf8;
  border-radius: 14px;
  overflow: clip;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* =============================================================================
   Film grain + intro reveal + scroll reveal
   ============================================================================= */
.grain {
  position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: reduce) { .grain { display: none; } }

.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.intro__veil { position: absolute; inset: 0; background: #050506; transition: opacity 1.9s ease; }
.intro.bg-in .intro__veil { opacity: 0; }
.intro__slogan {
  position: relative; z-index: 1; margin: 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 6.4vw, 4.8rem); letter-spacing: 0.05em; line-height: 1.12;
  color: var(--text); text-align: center;
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.intro.text-out .intro__slogan { opacity: 0; transform: translateY(-10px); }
.intro__slogan .word { display: inline-block; white-space: nowrap; }
.intro__slogan .sp { display: inline-block; width: 0.42em; }
.intro__slogan .ch {
  display: inline-block; opacity: 0; transform: translateY(16px); filter: blur(9px);
  animation: introCh 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes introCh { to { opacity: 1; transform: none; filter: blur(0); } }
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.8s ease, visibility 0.8s; }
/* Failsafe so a stalled script can never trap the page behind the veil */
.intro { animation: introSafety 0.01s linear 9s forwards; }
@keyframes introSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.988);
  transition: opacity 1.05s ease, transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rvd, 0s); /* per-item stagger, set by theme.js */
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { animation: none; }
  .hero__eyebrow, .hero__title, .hero__sub, .hero__cta { animation: none; opacity: 1; }
}

/* Studio editor preview: when the editor highlights a section */
[data-vf-section].vf-section-hover { outline: 1px dashed var(--accent); outline-offset: -1px; }
[data-vf-section].vf-section-selected { outline: 2px solid var(--accent); outline-offset: -2px; }

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 900px) {
  .section__head { grid-template-columns: 1fr; }
  .section__head p { justify-self: start; }
  .detail-head { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .approach { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .side-label, .side-contact { display: none; }

  /* Full-screen mobile menu */
  .nav { position: fixed; padding-top: 16px; }
  .nav__inner { align-items: center; }
  .brand { position: relative; z-index: 260; }
  .nav__toggle {
    display: block; position: relative; z-index: 260; margin-left: auto;
    color: var(--text); font-size: 24px; line-height: 1;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  }
  .nav__links {
    position: fixed; inset: 0; z-index: 150; margin: 0;
    background: #0d0d0f;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: clamp(98px, 23vw, 132px) var(--gutter) 48px;
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a {
    font-family: var(--font-display); font-size: clamp(1.5rem, 8vw, 2.1rem);
    font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--text); text-shadow: none; padding: 26px 2px; width: 100%;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__links a:first-child { border-top: 1px solid var(--line-soft); }
  .nav__links a[aria-current="page"]::after { display: none; }

  /* Portal entries flatten into the fullscreen menu on mobile */
  .nav__portal { width: 100%; margin: 0; }
  .nav__portal-btn { display: none; }
  .nav__portal-menu, .nav__portal-menu[hidden] {
    display: block; position: static; min-width: 0;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .nav__portal-head { padding: 22px 2px 6px; }
  .nav__portal-menu a {
    padding: 16px 2px; font-size: 16px !important;
    border-bottom: 1px solid var(--line-soft); width: 100%;
  }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .hero__foot { padding-inline: var(--gutter); }
  .stats__grid { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; }
  .marquee__track span { font-size: 1.3rem; padding: 0 26px; }
}

/* --- Floor plans (listing detail) ----------------------------------------- */
.floorplans { padding-bottom: clamp(48px, 7vw, 90px); }
.floorplans .eyebrow { display: block; margin-bottom: 18px; }
.floorplans figure { margin: 0 0 20px; }
.floorplans img { width: 100%; background: #fff; }

/* =============================================================================
   Cinematic motion layer — depth parallax, projector grain, 3D tilt +
   champagne sheen, line-mask typography, slow-pan imagery.
   Everything animated lives behind reduced-motion / pointer gates; the page
   renders identically at rest and with JS disabled.
   ============================================================================= */

@media (prefers-reduced-motion: no-preference) {
  /* Hero depth layers: theme.js drives translate3d on these; the hero layers
     are the only elements allowed will-change. Vignette is oversized so its
     parallax offset never exposes an un-vignetted seam. */
  .lumiere .hero__slides { will-change: transform; }
  .lumiere .hero__vignette { inset: -10% -7%; }

  /* Film grain, deepened: projector-gate jitter. The layer is oversized so
     the stepped shifts never reveal an edge. */
  .lumiere .grain {
    inset: -10%;
    animation: lum-grain 0.9s steps(1, end) infinite;
  }
}
@keyframes lum-grain {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(-0.8%, 0.6%, 0); }
  40%  { transform: translate3d(0.7%, -0.9%, 0); }
  60%  { transform: translate3d(-0.5%, -0.4%, 0); }
  80%  { transform: translate3d(0.9%, 0.7%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* 3D tilt on card media (transform driven by theme.js). Slow, weighted
   return; short follow while the cursor is on the card. */
@media (prefers-reduced-motion: no-preference) and (pointer: fine) {
  .lumiere .card__media { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
  .lumiere .card__media.is-tilt { transition: transform 0.14s ease-out; }
}

/* Champagne sheen sweep across card imagery on hover. */
.lumiere .card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(214, 193, 154, 0.12) 47%,
    rgba(255, 251, 242, 0.2) 50%,
    rgba(214, 193, 154, 0.12) 53%,
    transparent 60%
  );
  transform: translate3d(-101%, 0, 0);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .lumiere .card:hover .card__media::before {
    opacity: 1;
    transform: translate3d(101%, 0, 0);
    transition: transform 1.3s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.35s ease;
  }
}

/* Statement typography — line-by-line mask reveal (lines built by theme.js).
   The container stops fading (lines carry the motion instead). */
.lumiere .fx-lines.reveal { opacity: 1; transform: none; }
.lumiere .msk-line { display: block; overflow: hidden; }
.lumiere .msk-line__in { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .lumiere .msk-line__in {
    transform: translateY(115%);
    transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  /* Triggered by the element's own reveal (.statement__lead) or by a
     revealed ancestor (.cta-band__inner). */
  .lumiere .fx-lines.in .msk-line__in,
  .lumiere .reveal.in .msk-line__in { transform: none; }
}

/* Slow-pan on large section imagery (listing detail hero + gallery).
   Runs only while in view — theme.js toggles .fx-play. */
.lumiere .fx-media { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .lumiere .fx-media.fx-play img {
    animation: lum-pan 30s ease-in-out infinite alternate;
    animation-delay: var(--pand, 0s); /* desync stagger, set by theme.js */
  }
}
@keyframes lum-pan {
  from { transform: scale(1.03) translate3d(-0.7%, 0.5%, 0); }
  to   { transform: scale(1.11) translate3d(1.1%, -0.7%, 0); }
}
