:root {
  color-scheme: dark;
  --ink: #f7f2ea;
  --muted: rgba(247, 242, 234, .72);
  --purple: #a45ae0;
  --purple-dark: #632b88;
  --glass: rgba(15, 12, 20, .58);
  --font-interface: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: #09090d; scroll-behavior: auto; }
body {
  margin: 0;
  background: #09090d;
  color: var(--ink);
  font-family: var(--font-interface);
  overflow-x: hidden;
}
button,
input,
select,
textarea { font-family: var(--font-interface); }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}
.skip-link:focus { transform: translateY(0); }

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111 url("assets/1723-cinematic-poster.jpg") center / cover no-repeat;
}
.stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.98) contrast(1.02);
}
.grade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 6, 12, .5) 0%, transparent 24%, transparent 62%, rgba(7, 6, 12, .52) 100%),
    linear-gradient(90deg, rgba(7, 6, 12, .34), transparent 42%, rgba(7, 6, 12, .08));
}
.grain {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(22px, env(safe-area-inset-top)) max(26px, env(safe-area-inset-right)) 18px max(26px, env(safe-area-inset-left));
  pointer-events: none;
}
.site-header a { pointer-events: auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.brand-number {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.08em;
}
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: .78rem; letter-spacing: .28em; }
.brand-copy small { font-size: .52rem; font-weight: 700; letter-spacing: .19em; }
.tour-link {
  padding: 13px 19px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  background: rgba(15,12,20,.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.tour-link:hover, .tour-link:focus-visible { background: var(--purple-dark); border-color: var(--purple); }

.progress-shell {
  position: fixed;
  z-index: 15;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto minmax(90px, 13vw) 26px;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.72);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-shadow: 0 2px 12px #000;
}
.progress-track { height: 1px; background: rgba(255,255,255,.28); }
.progress-track i { display: block; width: 0; height: 2px; background: #fff; transform: translateY(-.5px); }

.scroll-track { position: relative; z-index: 5; }
.chapter-opening { position: relative; }
.chapter {
  min-height: 115vh;
  display: flex;
  align-items: center;
  padding: 12vh clamp(26px, 7vw, 118px);
  opacity: .2;
  transition: opacity .35s ease;
}
.chapter.is-active { opacity: 1; }
.chapter-copy {
  width: min(680px, 84vw);
  padding: clamp(20px, 3vw, 38px);
  margin-top: 4vh;
  border-left: 1px solid rgba(255,255,255,.56);
  text-shadow: 0 3px 30px rgba(0,0,0,.72);
}
.eyebrow {
  margin: 0 0 18px;
  color: rgba(255,255,255,.82);
  font-size: clamp(.63rem, 1vw, .76rem);
  font-weight: 800;
  letter-spacing: .24em;
}
h1, h2 {
  margin: 0;
  font-family: var(--font-interface);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}
h1 { font-size: clamp(4rem, 10vw, 9.5rem); }
h2 { font-size: clamp(3rem, 7vw, 7rem); }
h1 em, h2 em { color: #d99cff; font-weight: 500; }
.intro {
  width: min(440px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}
.compact { width: min(760px, 90vw); }
.chapter-address { justify-content: flex-end; text-align: right; }
.chapter-address .chapter-copy { border-left: 0; border-right: 1px solid rgba(255,255,255,.56); }
.chapter-courtyard { align-items: flex-end; }
.chapter-entry { justify-content: flex-end; align-items: flex-end; text-align: right; }
.chapter-entry .chapter-copy { border-left: 0; border-right: 1px solid rgba(255,255,255,.56); }

.scroll-cue {
  position: absolute;
  left: max(26px, 7vw);
  bottom: 8vh;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.scroll-cue i { width: 44px; height: 1px; background: rgba(255,255,255,.7); animation: cue 1.8s ease-in-out infinite; transform-origin: left; }
@keyframes cue { 0%, 100% { transform: scaleX(.35); opacity: .4; } 50% { transform: scaleX(1); opacity: 1; } }

.chapter-finale {
  min-height: 125vh;
  align-items: center;
  justify-content: center;
  padding: max(9vh, 78px) clamp(22px, 5vw, 76px) max(10vh, 84px);
}
.final-card {
  width: min(1120px, 94vw);
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(470px, 1.18fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(19, 18, 24, .78), rgba(22, 21, 28, .58));
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.final-card-copy h2 { font-size: clamp(3.4rem, 5.5vw, 6.3rem); }
.final-card-copy > p:not(.eyebrow) { max-width: 390px; margin: 24px 0 0; color: var(--muted); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-decoration: none;
}
.button.primary { background: linear-gradient(135deg, #b861eb, #6a328f); color: #fff; }
.button.secondary { border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.button:focus-visible, .tour-link:focus-visible, .brand:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.tour-calendar-panel {
  min-width: 0;
  padding: clamp(20px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}
.tour-calendar-heading,
.tour-calendar-heading > div,
.tour-calendar-nav,
.tour-time-options { display: flex; align-items: center; }
.tour-calendar-heading { justify-content: space-between; gap: 18px; }
.tour-calendar-heading > div:first-child { gap: 10px; }
.tour-calendar-heading span,
.tour-time-fieldset legend span { color: var(--gold); font-size: 8px; font-weight: 850; letter-spacing: .16em; }
.tour-calendar-heading strong,
.tour-time-fieldset legend { font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.tour-calendar-nav { gap: 10px; }
.tour-calendar-nav p { min-width: 116px; margin: 0; color: #fff; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.tour-calendar-nav button,
.tour-calendar-days button,
.tour-time-options button {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .03);
  color: #fff;
  cursor: pointer;
}
.tour-calendar-nav button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
}
.tour-calendar-nav button:disabled { opacity: .28; cursor: default; }
.tour-calendar-weekdays,
.tour-calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.tour-calendar-weekdays { margin: 20px 0 8px; }
.tour-calendar-weekdays span { color: rgba(255,255,255,.45); font-size: 8px; font-weight: 750; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.tour-calendar-days button {
  height: 38px;
  min-width: 0;
  border-color: transparent;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.tour-calendar-days button:hover:not(:disabled),
.tour-calendar-days button:focus-visible { border-color: rgba(240, 207, 145, .72); transform: translateY(-1px); }
.tour-calendar-days button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: #1a1714; }
.tour-calendar-days button:disabled { color: rgba(255,255,255,.18); cursor: default; }
.tour-calendar-days .is-outside { opacity: 0; pointer-events: none; }
.tour-time-fieldset { margin: 20px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.17); }
.tour-time-fieldset legend { width: 100%; padding: 0; }
.tour-time-fieldset legend span { margin-right: 9px; }
.tour-time-options { flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.tour-time-options button { min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 9px; font-weight: 750; }
.tour-time-options button[aria-pressed="true"] { border-color: var(--gold); background: rgba(240, 207, 145, .18); color: #ffe7b7; }
.tour-calendar-status { min-height: 30px; margin: 15px 0 0; color: rgba(255,255,255,.58); font-size: 9px; line-height: 1.45; }
.tour-calendar-submit { width: 100%; margin-top: 12px; border: 0; cursor: pointer; }
.tour-calendar-submit span { margin-left: auto; }
.tour-calendar-submit:disabled { opacity: .38; cursor: default; }
.tour-calendar-nav button:focus-visible,
.tour-calendar-days button:focus-visible,
.tour-time-options button:focus-visible,
.tour-calendar-submit:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.noscript-note { position: fixed; z-index: 50; inset: auto 20px 20px; padding: 16px; background: #111; text-align: center; }

@media (max-width: 700px) {
  .site-header { padding-top: max(18px, env(safe-area-inset-top)); }
  .brand-number { font-size: 2.35rem; }
  .tour-link { padding: 11px 14px; font-size: .67rem; }
  .tour-link span { display: none; }
  .stage video { object-position: 51% center; }
  .chapter { min-height: 105vh; padding: 14vh 22px 12vh; align-items: flex-end; }
  .chapter-copy { width: 100%; margin: 0 0 12vh; padding: 20px; }
  .chapter-address, .chapter-entry { justify-content: flex-start; text-align: left; }
  .chapter-address .chapter-copy, .chapter-entry .chapter-copy { border-right: 0; border-left: 1px solid rgba(255,255,255,.56); }
  h1 { font-size: clamp(3.5rem, 17vw, 5.6rem); }
  h2 { font-size: clamp(2.75rem, 13vw, 4.4rem); }
  .intro { font-size: .98rem; }
  .scroll-cue { left: 42px; bottom: 7vh; }
  .progress-shell { left: 22px; right: 22px; bottom: max(14px, env(safe-area-inset-bottom)); grid-template-columns: auto 1fr 24px; }
  .chapter-finale { padding: 18vh 18px max(12vh, 78px); }
  .final-card { width: 100%; grid-template-columns: 1fr; gap: 22px; padding: 22px; border-radius: 24px; }
  .final-card-copy h2 { font-size: clamp(2.65rem, 13vw, 4rem); line-height: .9; }
  .final-card-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 13px; }
  .final-card-copy .actions { display: none; }
  .tour-calendar-panel { padding: 17px; border-radius: 18px; }
  .tour-calendar-heading { align-items: flex-start; }
  .tour-calendar-heading > div:first-child { display: none; }
  .tour-calendar-nav { width: 100%; justify-content: space-between; }
  .tour-calendar-weekdays { margin-top: 14px; }
  .tour-calendar-days button { height: 32px; border-radius: 8px; font-size: 9px; }
  .tour-time-fieldset { margin-top: 14px; padding-top: 14px; }
  .tour-time-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .tour-time-options button { min-height: 34px; padding-inline: 3px; font-size: 7px; }
  .tour-calendar-status { margin-top: 11px; }
  .finale-is-active .site-header .brand { opacity: 0 !important; pointer-events: none; }
  .actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i { animation: none; }
  .chapter { transition: none; }
}

/* Centered architectural glass opening */
@media (min-width: 701px) {
  .site-header {
    justify-content: flex-end;
    pointer-events: none;
  }
  .site-header .brand {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: auto;
  }
  .brand-logo { width: clamp(158px, 13vw, 205px); }
  .tour-link { display: none; }
  .opening-glass {
    top: 0;
    right: auto;
    bottom: auto;
    left: 50%;
    width: clamp(410px, 31vw, 520px);
    height: 100vh;
    justify-content: center;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .18);
    border-left: 1px solid rgba(255, 255, 255, .18);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(28, 25, 22, .27), rgba(35, 31, 27, .38) 48%, rgba(22, 20, 18, .3));
    box-shadow: -24px 0 70px rgba(0, 0, 0, .12), 24px 0 70px rgba(0, 0, 0, .12), inset 1px 0 rgba(240, 207, 145, .12), inset -1px 0 rgba(240, 207, 145, .1);
    backdrop-filter: blur(17px) saturate(.78);
    -webkit-backdrop-filter: blur(17px) saturate(.78);
    transform: translateX(-50%);
    animation-name: opening-panel-in;
  }
  .opening-glass::before {
    background: radial-gradient(circle at 50% 25%, rgba(255, 230, 188, .06), transparent 36%);
  }
  .opening-copy {
    width: min(330px, 74%);
    margin: 8vh 0 0;
    text-align: left;
  }
  .opening-location {
    text-align: center;
    font-size: 8px;
    letter-spacing: .28em;
  }
  .opening-rule { margin: 20px auto 26px; }
  .opening-copy h1 {
    font-size: clamp(48px, 3.9vw, 68px);
    line-height: .88;
  }
  .opening-subhead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.42;
  }
  .chapter-opening .scroll-cue { bottom: 2.6vh; }
}

@keyframes opening-panel-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-22px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.opening-links {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  text-align: center;
}
.opening-links a {
  display: block;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .24em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .25s, background .25s, color .25s;
}
.opening-links a:hover,
.opening-links a:focus-visible,
.opening-links a.is-featured {
  border-color: rgba(232, 184, 104, .78);
  background: rgba(232, 184, 104, .07);
  color: #fff;
}
.opening-lofts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: min(180px, 70%);
  margin: 26px auto 0;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  letter-spacing: .02em;
  text-decoration: none;
}
.opening-lofts span { color: var(--gold); }

@media (max-width: 700px) {
  .opening-copy { width: 76%; }
  .opening-copy h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .opening-subhead { margin-top: 11px; font-size: 11.5px; }
  .opening-links { gap: 0; margin-top: 10px; }
  .opening-links a { padding: 4px 8px; font-size: 6.5px; letter-spacing: .18em; }
  .opening-lofts { width: min(150px, 66%); margin-top: 8px; padding: 6px 12px; font-size: 7px; }
}

@media (max-width: 380px) {
  .opening-copy h1 { font-size: 36px; }
  .opening-links a { padding-block: 3px; }
  .opening-lofts { margin-top: 6px; }
}

/* Logo placement must remain last in the cascade. */
@media (min-width: 701px) {
  .site-header .brand {
    top: 18px;
    left: clamp(24px, 4.7vw, 78px);
    transform: none;
  }
  .brand-logo { width: clamp(104px, 8vw, 132px); }
}

@media (max-width: 700px) {
  .brand-logo { width: 118px; }
}

/* Cinematic entrance and handoff */
:root {
  --opening-exit-opacity: 1;
  --opening-exit-shift: 0px;
  --opening-exit-scale: 1;
  --opening-exit-blur: 0px;
  --opening-exit-inset: 0%;
}

.stage video {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.stage video::-webkit-media-controls,
.stage video::-webkit-media-controls-enclosure,
.stage video::-webkit-media-controls-panel,
.stage video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none !important;
}

.site-header .brand {
  opacity: 0;
  animation: brand-arrival .9s .18s cubic-bezier(.22, 1, .36, 1) forwards;
}
.brand-logo {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: logo-mark-reveal 1.05s .32s cubic-bezier(.16, 1, .3, 1) forwards;
  transform-origin: left center;
}
@keyframes brand-arrival {
  from { opacity: 0; transform: translateY(-16px); filter: blur(7px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes logo-mark-reveal {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-8px) scale(.96); filter: blur(5px); }
  45% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0); transform: translateX(0) scale(1); filter: blur(0); }
}

.opening-glass {
  opacity: var(--opening-exit-opacity);
  clip-path: inset(0 var(--opening-exit-inset) 0 var(--opening-exit-inset));
  filter: blur(var(--opening-exit-blur));
  animation: none;
  will-change: opacity, clip-path, filter, transform;
}
body:not(.experience-ready) .opening-glass { opacity: 0; }
.opening-copy {
  opacity: var(--opening-exit-opacity);
  transform: translateY(var(--opening-exit-shift)) scale(var(--opening-exit-scale));
  transform-origin: center center;
  will-change: opacity, transform;
}
.opening-is-leaving .opening-copy { pointer-events: none; }
.opening-has-left .opening-glass { visibility: hidden; }

.chapter:not(.chapter-opening) .chapter-copy,
.chapter-finale .final-card {
  opacity: 0;
  transform: translateY(46px) scale(.975);
  filter: blur(10px);
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1), filter .85s ease;
}
.chapter.is-active:not(.chapter-opening) .chapter-copy,
.chapter-finale.is-active .final-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.chapter-address .chapter-copy { transform: translateX(50px) scale(.975); }
.chapter-address.is-active .chapter-copy { transform: translateX(0) scale(1); }
.chapter-entry .chapter-copy { transform: translateX(50px) scale(.975); }
.chapter-entry.is-active .chapter-copy { transform: translateX(0) scale(1); }

@media (min-width: 701px) {
  .site-header .brand {
    top: 18px;
    left: clamp(24px, 4.7vw, 78px);
    transform: none;
  }
  .brand-logo { width: clamp(104px, 8vw, 132px); }
  .opening-glass {
    transform: translateX(-50%) translateY(var(--opening-exit-shift)) scale(var(--opening-exit-scale));
    transform-origin: center top;
  }
  body.experience-ready .opening-glass { animation: opening-grand-arrival 1.25s cubic-bezier(.16, 1, .3, 1); }
  @keyframes opening-grand-arrival {
    0% { opacity: 0; clip-path: inset(0 49.5%); transform: translateX(-50%) translateY(-28px) scale(.985); filter: blur(12px); }
    42% { opacity: 1; clip-path: inset(0 49.5%); transform: translateX(-50%) translateY(0) scale(1); filter: blur(0); }
    100% { opacity: 1; clip-path: inset(0); transform: translateX(-50%) translateY(0) scale(1); filter: blur(0); }
  }
}

@media (max-width: 700px) {
  .brand-logo { width: 118px; }
  .site-header .brand { animation-name: brand-arrival-mobile; }
  @keyframes brand-arrival-mobile {
    from { opacity: 0; transform: translateX(-12px); filter: blur(6px); }
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
  }
  .opening-glass {
    transform: translateX(50%) translateY(var(--opening-exit-shift)) scale(var(--opening-exit-scale));
  }
  body.experience-ready .opening-glass { animation: opening-circle-in .9s cubic-bezier(.22, 1, .36, 1); }
}

@keyframes opening-copy-in {
  from { opacity: 0; transform: translateY(30px) scale(.985); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .brand,
  .opening-glass,
  .opening-copy,
  .chapter:not(.chapter-opening) .chapter-copy,
  .chapter-finale .final-card {
    animation: none;
    transition: none;
  }
  .site-header .brand { opacity: 1; }
  .brand-logo { opacity: 1; clip-path: none; animation: none; }
}

/* Premium glass opening — the film remains scroll-controlled. */
:root {
  --gold: #f0cf91;
  --ivory: #f6f2ea;
}

.stage .grade {
  background:
    linear-gradient(90deg, rgba(8, 7, 6, .16), transparent 38%, rgba(7, 6, 5, .24)),
    linear-gradient(180deg, rgba(9, 8, 7, .5), transparent 25%, transparent 68%, rgba(7, 6, 5, .48));
}

.site-header {
  min-height: 112px;
  padding: max(20px, env(safe-area-inset-top)) clamp(24px, 4.7vw, 78px) 18px;
}
.brand { gap: 20px; }
.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 278px);
  height: auto;
  filter: drop-shadow(0 3px 20px rgba(0, 0, 0, .42));
}
.brand-mark {
  display: block;
  width: 64px;
  height: 64px;
  color: var(--gold);
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-copy { display: grid; line-height: 1; color: var(--ivory); }
.brand-copy small {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .28em;
}
.brand-copy strong {
  font: 300 52px/.82 var(--font-interface);
  letter-spacing: .06em;
}
.brand-copy > span {
  margin-top: 9px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .24em;
}
.tour-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-color: rgba(240, 207, 145, .8);
  background: rgba(31, 28, 24, .28);
  box-shadow: 0 0 20px rgba(232, 184, 104, .13), inset 0 0 20px rgba(255, 255, 255, .03);
  text-transform: uppercase;
  letter-spacing: .11em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.tour-link:hover,
.tour-link:focus-visible { background: rgba(189, 139, 74, .38); border-color: #ffe2a7; }

.chapter.chapter-opening {
  position: relative;
  display: block;
  min-height: 115vh;
  padding: 0;
  opacity: 1;
}
.opening-glass {
  position: absolute;
  z-index: 7;
  top: -13vh;
  bottom: 2vh;
  right: -11vw;
  left: auto;
  width: min(58vw, 890px);
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-right: 0;
  border-radius: 52% 0 0 52%;
  background: linear-gradient(248deg, rgba(28, 27, 25, .38), rgba(39, 36, 32, .18) 62%, rgba(255, 255, 255, .035));
  box-shadow: -32px 0 90px rgba(0, 0, 0, .14), inset 1px 0 rgba(240, 207, 145, .34);
  backdrop-filter: blur(21px) saturate(.78);
  -webkit-backdrop-filter: blur(21px) saturate(.78);
  overflow: hidden;
  animation: opening-glass-in 1.05s cubic-bezier(.22, 1, .36, 1) both;
}
.opening-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 35%, rgba(255, 230, 188, .075), transparent 34%);
  pointer-events: none;
}
.opening-copy {
  position: relative;
  z-index: 1;
  width: min(610px, 70%);
  margin-left: clamp(44px, 5vw, 84px);
  color: var(--ivory);
  text-shadow: 0 3px 28px rgba(0, 0, 0, .45);
}
.opening-copy > * { animation: opening-copy-in .72s cubic-bezier(.22, 1, .36, 1) both; }
.opening-copy > :nth-child(1) { animation-delay: .28s; }
.opening-copy > :nth-child(2) { animation-delay: .34s; }
.opening-copy > :nth-child(3) { animation-delay: .4s; }
.opening-copy > :nth-child(4) { animation-delay: .48s; }
.opening-copy > :nth-child(5) { animation-delay: .56s; }
.opening-copy > :nth-child(6) { animation-delay: .64s; }
@keyframes opening-glass-in {
  from { opacity: 0; transform: translateX(11%) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes opening-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.opening-location {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
}
.opening-location span { margin: 0 5px; color: var(--gold); }
.opening-rule {
  display: block;
  width: 48px;
  height: 1px;
  margin: 25px 0 30px;
  background: rgba(255, 255, 255, .7);
}
.opening-copy h1 {
  margin: 0;
  font: 600 clamp(62px, 6.6vw, 108px)/.9 var(--font-interface);
  letter-spacing: -.06em;
}
.opening-copy h1 em { color: inherit; font: inherit; font-style: normal; }
.opening-subhead {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .87);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
}
.opening-journey {
  width: min(445px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  padding: 14px 16px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.opening-journey-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 207, 145, .78);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(232, 184, 104, .18);
  font-size: 10px;
  font-weight: 800;
}
.opening-journey small,
.opening-journey strong { display: block; }
.opening-journey small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .6);
  font-size: 8px;
  letter-spacing: .2em;
}
.opening-journey strong { font-size: 12px; letter-spacing: .04em; }
.opening-journey > i { color: var(--gold); font-style: normal; }
.opening-availability {
  width: min(445px, 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 10px 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
}
.opening-availability span { color: var(--gold); font-size: 16px; }
.chapter-opening .scroll-cue { z-index: 8; left: 50%; bottom: 7vh; transform: translateX(-50%); }

.leasing-chat-toggle {
  position: fixed;
  z-index: 18;
  right: clamp(28px, 5vw, 82px);
  bottom: clamp(76px, 11vh, 112px);
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 26%, rgba(255, 255, 255, .34), rgba(62, 55, 47, .26) 60%, rgba(19, 17, 15, .48));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .3), inset 0 0 22px rgba(240, 207, 145, .18);
  color: #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform .3s, border-color .3s, background .3s;
}
.leasing-chat-toggle:hover,
.leasing-chat-toggle:focus-visible,
.leasing-chat-toggle[aria-expanded="true"] { transform: translateY(-4px) scale(1.03); border-color: var(--gold); background: rgba(154, 112, 59, .42); }
.leasing-chat-toggle svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chat-status { position: absolute; top: 12px; right: 14px; width: 10px; height: 10px; border: 2px solid rgba(28, 25, 22, .85); border-radius: 50%; background: #8fd19e; box-shadow: 0 0 10px #8fd19e; }
.leasing-chat-panel {
  position: fixed;
  z-index: 19;
  right: clamp(28px, 5vw, 82px);
  bottom: calc(clamp(76px, 11vh, 112px) + 112px);
  width: min(360px, calc(100vw - 40px));
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 26px;
  background: rgba(24, 21, 19, .74);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .42);
  backdrop-filter: blur(28px) saturate(.75);
  -webkit-backdrop-filter: blur(28px) saturate(.75);
  transform-origin: bottom right;
  animation: chat-in .3s cubic-bezier(.22, 1, .36, 1);
}
.leasing-chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(15px) scale(.96); } to { opacity: 1; transform: none; } }
.chat-panel-head { display: flex; justify-content: space-between; align-items: center; color: rgba(255, 255, 255, .67); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.chat-panel-head span { display: flex; align-items: center; gap: 8px; }
.chat-panel-head i { width: 7px; height: 7px; border-radius: 50%; background: #8fd19e; }
.chat-panel-head button { width: 32px; height: 32px; border: 0; background: transparent; color: #fff; font-size: 23px; cursor: pointer; }
.leasing-chat-panel h2 { margin: 22px 0 8px; font: 650 34px/1 var(--font-interface); letter-spacing: -.035em; }
.leasing-chat-panel > p { margin: 0; color: rgba(255, 255, 255, .65); font-size: 13px; }
.chat-options { display: grid; margin-top: 22px; }
.chat-options a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .15); color: #fff; text-decoration: none; font-size: 12px; }
.chat-options a span { color: var(--gold); font-size: 9px; }
.chat-options a i { color: var(--gold); font-style: normal; }

@media (max-width: 1000px) {
  .opening-glass { width: min(72vw, 760px); }
  .opening-copy { width: min(550px, 73%); }
  .brand-mark { width: 55px; height: 55px; }
  .brand-copy strong { font-size: 44px; }
}

@media (max-width: 700px) {
  .site-header { min-height: 86px; padding: max(12px, env(safe-area-inset-top)) 18px 10px; }
  .brand { gap: 11px; }
  .brand-logo { width: 152px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy small { margin-bottom: 4px; font-size: 7px; }
  .brand-copy strong { font-size: 30px; }
  .brand-copy > span { display: none; }
  .tour-link { min-height: 40px; padding: 0 14px; font-size: 8px; }
  .tour-link span { display: none; }
  .chapter.chapter-opening { min-height: 105vh; }
  .opening-glass {
    top: auto;
    right: 50%;
    bottom: 7vh;
    left: auto;
    width: min(94vw, 500px);
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    padding: 0;
    transform: translateX(50%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .08), rgba(24, 22, 20, .38) 58%, rgba(17, 15, 14, .52));
    box-shadow: 0 28px 90px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(240, 207, 145, .09);
    backdrop-filter: blur(17px) saturate(.8);
    -webkit-backdrop-filter: blur(17px) saturate(.8);
    animation-name: opening-circle-in;
  }
  .opening-glass::before { background: radial-gradient(circle at 32% 28%, rgba(255, 230, 188, .07), transparent 36%); }
  .opening-copy { width: 73%; margin: 0 auto; padding: 0; }
  .opening-location { font-size: 6.5px; letter-spacing: .17em; }
  .opening-rule { width: 30px; margin: 12px 0 16px; }
  .opening-copy h1 { font-size: clamp(40px, 11.5vw, 52px); line-height: .91; }
  .opening-subhead { margin-top: 14px; font-size: 12.5px; line-height: 1.45; }
  .opening-journey { gap: 9px; margin-top: 16px; padding: 8px 6px 8px 2px; }
  .opening-journey-icon { width: 36px; height: 36px; }
  .opening-journey small { font-size: 5.5px; }
  .opening-journey strong { font-size: 9px; }
  .opening-availability { margin-top: 5px; padding-block: 7px; font-size: 7px; }
  .chapter-opening .scroll-cue { display: none; }
  .leasing-chat-toggle { right: 28px; bottom: 72px; width: 58px; height: 58px; }
  .leasing-chat-toggle svg { width: 26px; height: 26px; }
  .chat-status { top: 5px; right: 6px; width: 8px; height: 8px; }
  .leasing-chat-panel { right: 16px; bottom: 142px; left: 16px; width: auto; }
}

@keyframes opening-circle-in {
  from { opacity: 0; transform: translateX(50%) scale(.86); }
  to { opacity: 1; transform: translateX(50%) scale(1); }
}

@media (max-width: 380px) {
  .tour-link { display: none; }
  .opening-glass { width: min(95vw, 440px); bottom: 8vh; }
  .opening-copy h1 { font-size: 40px; }
  .opening-subhead { font-size: 11.5px; }
  .opening-journey { margin-top: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .leasing-chat-panel { animation: none; }
  .leasing-chat-toggle { transition: none; }
  .opening-glass,
  .opening-copy > * { animation: none; }
}

/* Final center-panel composition — deliberately last in the cascade. */
@media (min-width: 701px) {
  .site-header { justify-content: flex-end; }
  .site-header .brand {
    position: absolute;
    top: 18px;
    left: clamp(24px, 4.7vw, 78px);
    z-index: 10;
    transform: none;
  }
  .brand-logo { width: clamp(104px, 8vw, 132px); }
  .tour-link { display: none; }
  .opening-glass {
    top: 0;
    right: auto;
    bottom: auto;
    left: 50%;
    width: clamp(410px, 31vw, 520px);
    height: 100vh;
    justify-content: center;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .18);
    border-left: 1px solid rgba(255, 255, 255, .18);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(28, 25, 22, .27), rgba(35, 31, 27, .38) 48%, rgba(22, 20, 18, .3));
    box-shadow: -24px 0 70px rgba(0, 0, 0, .12), 24px 0 70px rgba(0, 0, 0, .12), inset 1px 0 rgba(240, 207, 145, .12), inset -1px 0 rgba(240, 207, 145, .1);
    backdrop-filter: blur(17px) saturate(.78);
    -webkit-backdrop-filter: blur(17px) saturate(.78);
    transform: translateX(-50%);
    animation-name: opening-panel-in;
  }
  .opening-glass::before { background: radial-gradient(circle at 50% 25%, rgba(255, 230, 188, .06), transparent 36%); }
  .opening-copy {
    width: min(330px, 74%);
    margin: 8vh 0 0;
    text-align: left;
  }
  .opening-location { text-align: center; font-size: 8px; letter-spacing: .28em; }
  .opening-rule { margin: 20px auto 26px; }
  .opening-copy h1 { font-size: clamp(48px, 3.9vw, 68px); line-height: .88; }
  .opening-subhead { margin-top: 20px; font-size: 14px; line-height: 1.42; }
  .chapter-opening .scroll-cue { bottom: 2.6vh; }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 78px;
    padding: max(12px, env(safe-area-inset-top)) 16px 8px;
  }
  .brand-logo { width: 102px; }
  .tour-link { min-height: 36px; padding: 0 12px; font-size: 7px; letter-spacing: .1em; }
  .chapter.chapter-opening { min-height: 110vh; }
  .opening-glass {
    top: 92px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(calc(100vw - 28px), 430px);
    height: calc(100svh - 112px);
    min-height: 590px;
    max-height: 760px;
    aspect-ratio: auto;
    justify-content: center;
    transform: translateX(-50%) translateY(var(--opening-exit-shift)) scale(var(--opening-exit-scale));
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(30, 27, 24, .28), rgba(30, 27, 24, .48) 54%, rgba(18, 17, 16, .42));
    box-shadow: 0 26px 80px rgba(0, 0, 0, .24), inset 0 0 0 1px rgba(240, 207, 145, .08);
    backdrop-filter: blur(18px) saturate(.8);
    -webkit-backdrop-filter: blur(18px) saturate(.8);
    transform-origin: center top;
  }
  body.experience-ready .opening-glass { animation: opening-mobile-panel-in 1.05s cubic-bezier(.16, 1, .3, 1); }
  .opening-glass::before { background: radial-gradient(circle at 50% 20%, rgba(255, 230, 188, .07), transparent 38%); }
  .opening-copy { width: min(308px, 80%); margin: 1vh auto 0; text-align: left; }
  .opening-location { text-align: center; font-size: 6.5px; letter-spacing: .2em; }
  .opening-rule { width: 34px; margin: 13px auto 18px; }
  .opening-copy h1 { font-size: clamp(39px, 11vw, 48px); line-height: .9; }
  .opening-subhead { margin-top: 14px; font-size: 11.5px; line-height: 1.42; }
  .opening-links { gap: 1px; margin-top: 17px; }
  .opening-links a { padding: 6px 8px; font-size: 7px; letter-spacing: .19em; }
  .opening-lofts { width: min(158px, 68%); margin-top: 12px; padding: 7px 12px; font-size: 7.5px; }
  .leasing-chat-toggle { right: 18px; bottom: 42px; width: 52px; height: 52px; }
  .leasing-chat-toggle svg { width: 23px; height: 23px; }
}

@keyframes opening-mobile-panel-in {
  0% { opacity: 0; clip-path: inset(48% 0 48%); transform: translateX(-50%) translateY(28px) scale(.97); filter: blur(12px); }
  38% { opacity: 1; clip-path: inset(48% 0 48%); }
  100% { opacity: 1; clip-path: inset(0); transform: translateX(-50%) translateY(0) scale(1); filter: blur(0); }
}

@media (max-width: 380px) {
  .brand-logo { width: 94px; }
  .tour-link { min-height: 34px; padding-inline: 10px; }
  .opening-glass { top: 82px; height: calc(100svh - 98px); min-height: 560px; border-radius: 26px; }
  .opening-copy { width: 82%; }
  .opening-copy h1 { font-size: 37px; }
  .opening-links { margin-top: 12px; }
  .opening-links a { padding-block: 5px; }
  .opening-lofts { margin-top: 8px; }
}

/* Section 02 — editorial neighborhood discovery. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.chapter-discovery {
  position: relative;
  min-height: 120vh;
  justify-content: flex-start;
  padding: clamp(112px, 14vh, 160px) 0 clamp(92px, 12vh, 132px) clamp(28px, 6.7vw, 112px);
  overflow: hidden;
  text-align: left;
}
.chapter-discovery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 11, .7) 0%, rgba(9, 10, 11, .37) 36%, rgba(9, 10, 11, .09) 72%, transparent 100%),
    linear-gradient(180deg, rgba(8, 9, 10, .22), transparent 34%, rgba(8, 9, 10, .26));
  pointer-events: none;
}
.chapter-discovery:not(.is-active) .discovery-layout { pointer-events: none; }
.discovery-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 31vw) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 5vw, 92px);
}
.discovery-intro,
.discovery-carousel {
  opacity: 0;
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .82s cubic-bezier(.22, 1, .36, 1);
}
.discovery-intro { transform: translate3d(-36px, 0, 0); }
.discovery-carousel { min-width: 0; transform: translate3d(54px, 0, 0); transition-delay: .08s; }
.chapter-discovery.is-active .discovery-intro,
.chapter-discovery.is-active .discovery-carousel { opacity: 1; transform: none; }
.discovery-eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(10px, .76vw, 13px);
  font-weight: 760;
  letter-spacing: .24em;
  line-height: 1.45;
}
.discovery-eyebrow span { color: #d9ad6c; }
.discovery-rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: 28px 0 36px;
  background: rgba(255, 255, 255, .68);
}
.discovery-intro h2 {
  margin: 0;
  color: #fff;
  font: 690 clamp(48px, 4.25vw, 74px)/.88 var(--font-interface);
  letter-spacing: -.052em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 10px 36px rgba(0, 0, 0, .38);
}
.discovery-intro h2 span { color: #d7a550; }
.discovery-description {
  max-width: 410px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(15px, 1.15vw, 20px);
  line-height: 1.55;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .65);
}
.discovery-cta {
  width: fit-content;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(28, 28, 26, .16);
  color: #fff;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .17em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}
.discovery-cta span { color: #e1b772; font-size: 15px; }
.discovery-cta:hover,
.discovery-cta:focus-visible {
  transform: translateY(-2px);
  border-color: #e1b772;
  background: rgba(210, 160, 82, .17);
}

.discovery-carousel-head,
.discovery-carousel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.discovery-carousel-head { padding: 0 clamp(28px, 4vw, 64px) 18px 2px; }
.discovery-carousel-head > p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.discovery-arrows { display: flex; gap: 8px; }
.discovery-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: rgba(22, 22, 20, .25);
  color: #fff;
  font: 400 17px/1 var(--font-interface);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .22s ease, background .22s ease, transform .22s ease, opacity .22s ease;
}
.discovery-arrow:hover:not(:disabled),
.discovery-arrow:focus-visible { transform: translateY(-2px); border-color: #dfb36c; background: rgba(199, 143, 59, .2); }
.discovery-arrow:disabled { opacity: .3; cursor: default; }
.discovery-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
}
.discovery-viewport::-webkit-scrollbar { display: none; }
.discovery-viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.discovery-track {
  width: max-content;
  display: flex;
  gap: clamp(18px, 1.6vw, 28px);
  padding: 2px clamp(52px, 6vw, 110px) 18px 2px;
}
.discovery-card {
  position: relative;
  width: clamp(590px, 43vw, 760px);
  min-height: clamp(330px, 24vw, 420px);
  display: grid;
  grid-template-columns: minmax(250px, 42%) minmax(280px, 58%);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 32px;
  background:
    radial-gradient(circle at 55% 110%, rgba(223, 167, 81, .26), transparent 38%),
    linear-gradient(135deg, rgba(40, 39, 36, .67), rgba(28, 29, 28, .43));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .27), inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(24px) saturate(.72);
  -webkit-backdrop-filter: blur(24px) saturate(.72);
  transition: border-color .3s ease, opacity .3s ease, transform .3s ease;
}
.discovery-card:not([aria-current="true"]) { opacity: .68; transform: scale(.98); }
.discovery-card-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(34px, 3.2vw, 56px) clamp(30px, 3vw, 50px);
}
.discovery-card-number {
  margin: 0 0 30px;
  color: #e1b772;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .18em;
}
.discovery-card-number span { margin-left: 9px; color: rgba(255, 255, 255, .55); }
.discovery-card h3 {
  margin: 0;
  color: #fff;
  font: 690 clamp(31px, 2.45vw, 45px)/.96 var(--font-interface);
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.discovery-card-copy > p:not(.discovery-card-number) {
  max-width: 245px;
  margin: 22px 0 26px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.52;
}
.discovery-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #fff;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}
.discovery-card-link span { color: #e1b772; font-size: 14px; transition: transform .2s ease; }
.discovery-card-link:hover span,
.discovery-card-link:focus-visible span { transform: translate(2px, -2px); }
.discovery-card-image { position: relative; min-width: 0; overflow: hidden; }
.discovery-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 29, 27, .58), transparent 28%), linear-gradient(180deg, transparent 58%, rgba(19, 18, 16, .17));
  pointer-events: none;
}
.discovery-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.85) contrast(1.02) brightness(.88);
  transform: scale(1.015);
  transition: transform .65s cubic-bezier(.22, 1, .36, 1), filter .4s ease;
  -webkit-user-drag: none;
  user-select: none;
}
.discovery-card[aria-current="true"]:hover .discovery-card-image img { transform: scale(1.055); filter: saturate(.98) contrast(1.03) brightness(.93); }
.discovery-carousel-foot { max-width: clamp(590px, 43vw, 760px); padding: 20px 5px 0; }
.discovery-dots { display: flex; align-items: center; gap: 10px; }
.discovery-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width .24s ease, border-color .24s ease, background .24s ease;
}
.discovery-dots button[aria-pressed="true"] { width: 28px; border-radius: 999px; border-color: #e2b66e; background: #e2b66e; }
.discovery-count { margin: 0; color: rgba(255, 255, 255, .48); font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.discovery-count span { color: #fff; }
.discovery-viewport:focus-visible,
.discovery-arrow:focus-visible,
.discovery-dots button:focus-visible,
.discovery-cta:focus-visible,
.discovery-card-link:focus-visible { outline: 2px solid #f2cb89; outline-offset: 4px; }

@media (max-width: 980px) {
  .chapter-discovery { padding-left: clamp(24px, 4vw, 52px); }
  .discovery-layout { grid-template-columns: minmax(270px, 34vw) minmax(0, 1fr); gap: 34px; }
  .discovery-intro h2 { font-size: clamp(42px, 5.1vw, 58px); }
  .discovery-card { width: min(620px, 60vw); grid-template-columns: 45% 55%; }
  .discovery-carousel-foot { max-width: min(620px, 60vw); }
}

@media (max-width: 700px) {
  .chapter-discovery {
    min-height: 132vh;
    align-items: center;
    justify-content: flex-start;
    padding: max(108px, 13vh) 0 max(96px, 12vh) 20px;
    text-align: left;
  }
  .chapter-discovery::before {
    background: linear-gradient(180deg, rgba(8, 9, 10, .58), rgba(8, 9, 10, .21) 55%, rgba(8, 9, 10, .42));
  }
  .discovery-layout { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 46px; }
  .discovery-intro { padding-right: 22px; transform: translate3d(0, 24px, 0); }
  .discovery-carousel { transform: translate3d(28px, 0, 0); }
  .discovery-eyebrow { font-size: 8px; letter-spacing: .19em; }
  .discovery-rule { margin: 18px 0 23px; }
  .discovery-intro h2 { font-size: clamp(38px, 12.4vw, 54px); line-height: .9; }
  .discovery-description { max-width: 340px; margin-top: 20px; font-size: 14px; line-height: 1.48; }
  .discovery-cta { min-height: 46px; margin-top: 28px; padding-inline: 19px; font-size: 8px; }
  .discovery-carousel-head { padding: 0 20px 13px 0; }
  .discovery-carousel-head > p { font-size: 7px; }
  .discovery-arrow { width: 36px; height: 36px; }
  .discovery-track { gap: 14px; padding: 2px 42px 14px 0; }
  .discovery-card {
    width: min(82vw, 410px);
    min-height: 410px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 170px;
    border-radius: 25px;
  }
  .discovery-card-copy { padding: 26px 27px 24px; }
  .discovery-card-number { margin-bottom: 17px; font-size: 8px; }
  .discovery-card h3 { font-size: clamp(29px, 8.3vw, 37px); }
  .discovery-card-copy > p:not(.discovery-card-number) { margin: 15px 0 18px; font-size: 13px; }
  .discovery-card-image::after { background: linear-gradient(180deg, rgba(29, 29, 27, .24), transparent 30%); }
  .discovery-carousel-foot { max-width: min(82vw, 410px); padding: 15px 4px 0; }
  .discovery-dots { gap: 8px; }
  .discovery-dots button { width: 8px; height: 8px; }
  .discovery-dots button[aria-pressed="true"] { width: 23px; }
  .discovery-count { font-size: 8px; }
}

@media (max-width: 380px) {
  .chapter-discovery { padding-top: 96px; padding-left: 16px; }
  .discovery-layout { gap: 34px; }
  .discovery-intro h2 { font-size: 38px; }
  .discovery-description { font-size: 12.5px; }
  .discovery-cta { margin-top: 22px; }
  .discovery-card { width: 84vw; min-height: 382px; grid-template-rows: auto 145px; }
  .discovery-card-copy { padding: 22px 23px 20px; }
  .discovery-card-copy > p:not(.discovery-card-number) { font-size: 12px; }
  .discovery-carousel-foot { max-width: 84vw; }
}

@media (prefers-reduced-motion: reduce) {
  .discovery-intro,
  .discovery-carousel,
  .discovery-card,
  .discovery-card-image img,
  .discovery-arrow,
  .discovery-dots button,
  .discovery-cta { transition: none; }
  .discovery-viewport { scroll-behavior: auto; }
}

/* Hold the complete Discovery composition while its background footage advances. */
.chapter-discovery {
  min-height: 145vh;
  align-items: flex-start;
  padding: 0;
  overflow: visible;
}
.chapter-discovery .discovery-layout {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(108px, 12vh, 142px) 0 clamp(70px, 9vh, 104px) clamp(28px, 6.7vw, 112px);
}

@media (max-width: 980px) {
  .chapter-discovery .discovery-layout { padding-left: clamp(24px, 4vw, 52px); }
}

@media (max-width: 700px) {
  .chapter-discovery { min-height: 155vh; padding: 0; }
  .chapter-discovery .discovery-layout {
    align-content: center;
    gap: 24px;
    padding: max(82px, 9vh) 0 34px 20px;
  }
  .discovery-rule { margin: 12px 0 16px; }
  .discovery-intro h2 { font-size: clamp(35px, 10.8vw, 46px); }
  .discovery-description { margin-top: 14px; font-size: 12.5px; line-height: 1.42; }
  .discovery-cta { min-height: 42px; margin-top: 18px; padding-inline: 17px; }
  .discovery-carousel-head { padding-bottom: 8px; }
  .discovery-arrow { width: 32px; height: 32px; }
  .discovery-card {
    min-height: 330px;
    grid-template-rows: auto 170px;
  }
  .discovery-card-copy { padding: 15px 24px 14px; }
  .discovery-card-number { margin-bottom: 7px; }
  .discovery-card h3 { font-size: clamp(26px, 7.2vw, 31px); }
  .discovery-card-copy > p:not(.discovery-card-number) { margin: 8px 0 9px; font-size: 11px; line-height: 1.35; }
  .discovery-card-link { font-size: 8px; }
  .discovery-card:nth-child(1) .discovery-card-image img { object-position: center 45%; }
  .discovery-card:nth-child(2) .discovery-card-image img { object-position: center 68%; }
  .discovery-card:nth-child(3) .discovery-card-image img { object-position: center 58%; }
  .discovery-card:nth-child(4) .discovery-card-image img { object-position: center 56%; }
  .discovery-carousel-foot { padding-top: 10px; }
}

@media (max-width: 380px) {
  .chapter-discovery .discovery-layout { gap: 18px; padding-top: 76px; padding-left: 16px; }
  .discovery-intro h2 { font-size: 34px; }
  .discovery-description { max-width: 315px; font-size: 11.5px; }
  .discovery-cta { min-height: 40px; margin-top: 14px; }
  .discovery-card { min-height: 315px; grid-template-rows: auto 160px; }
}

/* The chapter state, not document position, owns the held full-screen composition. */
.chapter-discovery { min-height: 120vh; }
.chapter-discovery::before {
  position: fixed;
  z-index: 0;
  opacity: 0;
  transition: opacity .45s ease;
}
.chapter-discovery.is-active::before { opacity: 1; }
.chapter-discovery .discovery-layout {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
}
.discovery-card {
  height: clamp(330px, 24vw, 420px);
  min-height: 0;
}
.discovery-card-image { min-height: 0; }

@media (max-width: 700px) {
  .chapter-discovery { min-height: 120vh; }
  .discovery-card {
    height: 340px;
    min-height: 0;
    grid-template-rows: 190px minmax(0, 1fr);
  }
  .discovery-card-image { grid-row: 1; }
  .discovery-card-copy {
    grid-row: 2;
    padding: 13px 22px 12px;
  }
  .discovery-card-number {
    position: absolute;
    z-index: 3;
    top: -178px;
    left: 13px;
    margin: 0;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(12, 12, 12, .62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .discovery-card h3 { font-size: clamp(25px, 7vw, 30px); }
  .discovery-card-copy > p:not(.discovery-card-number) {
    margin: 7px 0 8px;
    font-size: 10.5px;
    line-height: 1.32;
  }
}

@media (max-width: 380px) {
  .discovery-card {
    height: 325px;
    min-height: 0;
    grid-template-rows: 175px minmax(0, 1fr);
  }
  .discovery-card-copy { padding: 12px 20px 10px; }
  .discovery-card-number { top: -165px; left: 11px; }
  .discovery-card h3 { font-size: 24px; }
  .discovery-card-copy > p:not(.discovery-card-number) { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .chapter-discovery::before { transition: none; }
}

/* Vertical story progress drives the horizontal journal while the wheel is moving. */
.discovery-viewport.is-scroll-driven {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

/* Shorten the complete cinematic journey by 20% without changing chapter proportions. */
.chapter { min-height: 92vh; }
.chapter.chapter-opening { min-height: 92vh; }
.chapter-discovery { min-height: 96vh; }
.chapter-finale { min-height: 100vh; }

@media (max-width: 700px) {
  .chapter { min-height: 84vh; }
  .chapter.chapter-opening { min-height: 88vh; }
  .chapter-discovery { min-height: 96vh; }
  .chapter-finale { min-height: 84vh; }
}

/* The shared brand begins centered, then docks left as Discovery arrives. */
:root {
  --brand-left: 50vw;
  --brand-top: 24px;
  --brand-shift: -50%;
  --brand-scale: 1.48;
}
.site-header .brand {
  position: absolute;
  top: var(--brand-top);
  left: var(--brand-left);
  transform: translateX(var(--brand-shift)) scale(var(--brand-scale));
  transform-origin: center top;
  will-change: top, left, transform;
  opacity: 0;
  animation: none;
}
.site-header .tour-link { margin-left: auto; }
body.experience-ready .site-header .brand {
  animation: brand-center-intro 1.25s cubic-bezier(.16, 1, .3, 1) forwards;
}
.site-header .brand-logo {
  opacity: 1;
  clip-path: none;
  animation: none;
}
@keyframes brand-center-intro {
  0% { opacity: 0; clip-path: inset(0 49.5%); filter: blur(12px); }
  42% { opacity: 1; clip-path: inset(0 49.5%); filter: blur(0); }
  100% { opacity: 1; clip-path: inset(0); filter: blur(0); }
}

@media (max-width: 700px) {
  :root {
    --brand-top: 20px;
    --brand-scale: 1.22;
  }
  body.experience-ready .site-header .brand { animation-duration: 1.05s; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .brand,
  body.experience-ready .site-header .brand {
    opacity: 1;
    clip-path: none;
    filter: none;
    animation: none;
    will-change: auto;
  }
}
