:root {
  --sand: #F2EBE3;
  --stone: #C9BFB3;
  --ink: #1A1714;
  --teal: #7FA8A3;
  --sea: #2E7B8C;
  --gold: #C9A876;
  --line: rgba(242, 235, 227, 0.42);
  --gutter: clamp(1rem, 3vw, 3.5rem);
  --display: Canela, Ogg, "Cormorant Garamond", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: auto;
  scrollbar-color: var(--teal) var(--ink);
  scrollbar-width: thin;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

.js body.is-loading {
  height: 100svh;
  overflow: hidden;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 5px;
}

::selection {
  background: var(--teal);
  color: var(--ink);
}

.visually-hidden {
  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;
}

.skip-link {
  position: fixed;
  z-index: 10001;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  transform: translateY(-180%);
  background: var(--sand);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.display-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 0.86;
  text-transform: uppercase;
}

.technical-copy,
.section-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--stone);
}

.frame-loader {
  position: fixed;
  z-index: 10000;
  right: auto;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem 1rem;
  width: min(32rem, calc(100% - 2rem));
  padding: 0.85rem 1rem;
  transform: translateX(-50%);
  border: 1px solid rgba(242, 235, 227, 0.22);
  background:
    radial-gradient(circle at 20% 20%, rgba(127, 168, 163, 0.16), transparent 46%),
    rgba(26, 23, 20, 0.72);
  text-align: left;
  transition: opacity 420ms ease, visibility 420ms ease;
  animation: loader-failsafe-hide 0s 8s forwards;
}

.js .frame-loader {
  display: grid;
  animation: none;
}

@keyframes loader-failsafe-hide {
  to {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

.frame-loader.is-complete {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.frame-loader__eyebrow,
.frame-loader__message {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.frame-loader__message {
  color: var(--stone);
}

.frame-loader__status {
  grid-area: 1 / 2 / 3 / 3;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 300;
}

.frame-loader__track {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(242, 235, 227, 0.2);
}

.frame-loader__track span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--sand);
}

.tour-spine {
  position: relative;
  height: 600vh;
  background: var(--ink);
}

.tour-stage {
  position: sticky;
  z-index: 1;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.tour-poster,
#tour-canvas,
.image-scrim,
.image-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tour-poster {
  z-index: 0;
  object-fit: cover;
  opacity: 1;
  transition: opacity 500ms ease;
}

#tour-canvas {
  z-index: 1;
  max-width: none;
  background: var(--ink);
  opacity: 0;
  transition: opacity 500ms ease;
}

.tour-stage.canvas-ready #tour-canvas {
  opacity: 1;
}

.tour-stage.canvas-ready .tour-poster {
  opacity: 1;
}

.image-scrim {
  z-index: 2;
  background: linear-gradient(to top, rgba(26, 23, 20, .55), transparent 55%);
  pointer-events: none;
}

.image-vignette {
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 48%, rgba(26, 23, 20, 0.38) 100%);
  pointer-events: none;
}

.chapters {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.chapter {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.8rem, 9vh, 7rem);
  left: clamp(3.2rem, 8vw, 9rem);
  width: min(82rem, calc(100% - 12rem));
  visibility: visible;
  opacity: 0;
  will-change: opacity, transform, filter;
}

.chapter__index {
  margin-bottom: clamp(0.8rem, 2vh, 1.4rem);
  color: rgba(242, 235, 227, 0.78);
}

.chapter__title {
  max-width: 15ch;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(26, 23, 20, 0.16);
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.title-line__inner {
  display: block;
  will-change: transform;
}

.chapter__subtitle {
  margin: clamp(1rem, 2vw, 1.8rem) 0 0;
  font-size: clamp(0.74rem, 1.1vw, 0.92rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chapter-rail {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  width: min(62vh, 42rem);
  transform: translate(-50%, -50%) rotate(-90deg) translateY(50%);
  transform-origin: center;
  color: rgba(242, 235, 227, 0.54);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
  text-transform: uppercase;
}

.chapter-rail__label {
  color: var(--sand);
}

.chapter-rail ol {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter-rail li {
  transition: color 200ms ease, opacity 200ms ease;
}

.chapter-rail li.is-active {
  color: var(--sand);
}

.tour-coordinate,
.tour-counter,
.tour-scroll-hint {
  position: absolute;
  z-index: 4;
  color: rgba(242, 235, 227, 0.78);
}

.tour-coordinate {
  top: 1.6rem;
  left: var(--gutter);
}

.tour-counter {
  top: 1.6rem;
  right: var(--gutter);
}

.tour-scroll-hint {
  right: var(--gutter);
  bottom: 1.6rem;
}

.tour-scroll-hint span {
  display: inline-block;
  margin-right: 0.6rem;
}

.crosshair {
  position: absolute;
  z-index: 5;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
}

.crosshair::before,
.crosshair::after {
  position: absolute;
  background: rgba(242, 235, 227, 0.72);
  content: "";
}

.crosshair::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.crosshair::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.crosshair--tl { top: 1.2rem; left: 1.2rem; }
.crosshair--tr { top: 1.2rem; right: 1.2rem; }
.crosshair--bl { bottom: 1.2rem; left: 1.2rem; }
.crosshair--br { right: 1.2rem; bottom: 1.2rem; }

.reduced-chapters,
.reduced-video-panel {
  display: none;
}

.content-section {
  position: relative;
  padding: clamp(5.5rem, 12vw, 11rem) var(--gutter);
}

.section-header {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
}

.section-header .section-kicker,
.house .section-kicker {
  margin-bottom: 1.4rem;
}

.full-bleed-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.full-bleed-section > img,
.section-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.full-bleed-section > img {
  z-index: -2;
  max-width: none;
  object-fit: cover;
}

.section-scrim {
  z-index: -1;
  background:
    linear-gradient(to top, rgba(26, 23, 20, 0.68), transparent 58%),
    linear-gradient(to right, rgba(26, 23, 20, 0.32), transparent 45%);
}

.section-scrim--strong {
  background: radial-gradient(circle at center, rgba(26, 23, 20, 0.08), rgba(26, 23, 20, 0.56));
}

.section-heading--bottom-left {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(4rem, 9vh, 7rem);
  left: var(--gutter);
}

.section-heading--bottom-left .section-kicker {
  margin-bottom: 1.3rem;
  color: rgba(242, 235, 227, 0.84);
}

.site-plan__counter,
.site-plan__coordinates {
  position: absolute;
  z-index: 4;
}

.site-plan__counter {
  top: 1.6rem;
  right: var(--gutter);
}

.site-plan__coordinates {
  bottom: 1.6rem;
  left: var(--gutter);
}

.site-plan__annotations {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.site-plan__annotations circle {
  fill: var(--sand);
}

.site-plan__annotations path {
  fill: none;
  stroke: var(--sand);
  stroke-width: 0.12;
  vector-effect: non-scaling-stroke;
}

.site-plan__annotations text {
  fill: var(--sand);
  stroke: rgba(26, 23, 20, 0.94);
  stroke-width: 0.55px;
  stroke-linejoin: round;
  paint-order: stroke fill;
  font-family: var(--sans);
  font-size: 1.05px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.materials {
  background: var(--sand);
  color: var(--ink);
}

.materials .section-kicker,
.materials .material p {
  color: #675f58;
}

.material-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.5vw, 1.4rem);
}

.material {
  min-width: 0;
}

.material__swatch {
  width: 100%;
  aspect-ratio: 0.82;
  margin-bottom: 1.1rem;
  clip-path: inset(0 0 0 0);
}

.material__swatch--pink { background: #E4CFC5; }
.material__swatch--bamboo { background: #C9A876; }
.material__swatch--timber { background: #8B6F52; }
.material__swatch--rattan { background: #D8C4A0; }
.material__swatch--teal { background: #7FA8A3; }

.material h3,
.material p {
  margin: 0;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.material p {
  margin-top: 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.08em;
}

.house {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(26rem, 1.15fr);
  gap: clamp(3rem, 9vw, 10rem);
  min-height: 160vh;
}

.house__intro {
  align-self: start;
  position: sticky;
  top: 12vh;
}

.house__paragraph {
  max-width: 38rem;
  margin: 3rem 0 0;
  color: var(--stone);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  font-weight: 300;
  line-height: 1.35;
}

.room-list {
  align-self: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.room-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  padding: clamp(1.6rem, 3.4vw, 3.1rem) 0;
  border-bottom: 1px solid rgba(242, 235, 227, 0.2);
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.4vw, 3.7rem);
  font-weight: 300;
  line-height: 1;
}

.room-list li:first-child {
  border-top: 1px solid rgba(242, 235, 227, 0.2);
}

.room-list span {
  color: var(--teal);
  font-family: var(--sans);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
}

.residence {
  background: #211e1a;
}

.section-header--split {
  grid-template-columns: 1fr minmax(16rem, 26rem);
  align-items: end;
}

.section-header--split > p {
  margin: 0;
  color: var(--stone);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.residence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.residence-card {
  position: relative;
  min-height: clamp(24rem, 50vw, 44rem);
  overflow: hidden;
  isolation: isolate;
}

.residence-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 23, 20, 0.8), transparent 58%);
  content: "";
}

.residence-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.residence-card:hover img {
  transform: scale(1.025);
}

.residence-card > div {
  position: absolute;
  right: clamp(1.2rem, 3vw, 2.5rem);
  bottom: clamp(1.4rem, 3vw, 2.8rem);
  left: clamp(1.2rem, 3vw, 2.5rem);
}

.residence-card p,
.residence-card h3,
.residence-card small {
  margin: 0;
}

.residence-card p {
  margin-bottom: 0.8rem;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
}

.residence-card h3 {
  max-width: 17ch;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 3.8rem);
  font-weight: 300;
  line-height: 0.98;
  text-transform: uppercase;
}

.residence-card small {
  display: block;
  margin-top: 0.8rem;
  color: var(--stone);
  font-size: 0.7rem;
  font-style: italic;
}

.where {
  padding-top: clamp(7rem, 14vw, 12rem);
  padding-bottom: clamp(7rem, 14vw, 12rem);
  background: var(--teal);
  color: var(--ink);
}

.where .section-kicker {
  margin-bottom: 4rem;
  color: var(--ink);
}

.distance-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.distance-list li {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.7rem) 0;
  border-bottom: 1px solid rgba(26, 23, 20, 0.28);
  font-family: var(--display);
  font-size: clamp(1.9rem, 5.5vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 0.95;
}

.distance-list li:first-child {
  border-top: 1px solid rgba(26, 23, 20, 0.28);
}

.distance-list strong {
  flex: 0 0 auto;
  font: inherit;
  opacity: 0.6;
}

.closing {
  display: grid;
  place-items: center;
  text-align: center;
}

.closing__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 7rem var(--gutter) 9rem;
}

.closing__content .section-kicker {
  color: rgba(242, 235, 227, 0.82);
}

.outline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(22rem, 82vw);
  min-height: 3.6rem;
  padding: 1rem 2rem;
  border: 1px solid rgba(242, 235, 227, 0.8);
  border-radius: 100vw;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease;
}

.outline-cta:hover,
.outline-cta:focus-visible {
  background: var(--sand);
  color: var(--ink);
}

.closing__footer {
  position: absolute;
  right: var(--gutter);
  bottom: 1.5rem;
  left: var(--gutter);
  display: flex;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.closing__footer p {
  margin: 0;
}

.noscript-message {
  position: fixed;
  z-index: 9999;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: 1rem;
  background: var(--sand);
  color: var(--ink);
  font-size: 0.82rem;
}

@media (min-width: 1601px) {
  #tour-canvas {
    filter: blur(0.5px);
    transform: scale(1.002);
  }
}

@media (max-width: 1023px) {
  .chapter {
    left: clamp(3rem, 8vw, 5rem);
    width: calc(100% - 7rem);
  }

  .house {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .house__intro {
    position: relative;
    top: auto;
  }

  .section-header--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 1rem;
  }

  .tour-spine {
    height: 300vh;
  }

  #tour-canvas,
  .chapter {
    filter: none !important;
  }

  .chapter-rail,
  .tour-coordinate {
    display: none;
  }

  .chapter {
    right: var(--gutter);
    bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4.2rem));
    left: var(--gutter);
    width: auto;
  }

  .chapter__title {
    font-size: clamp(2.75rem, 15vw, 5rem);
  }

  .chapter__subtitle {
    max-width: 29ch;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .tour-scroll-hint {
    right: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: var(--gutter);
  }

  .crosshair--tl,
  .crosshair--bl {
    left: 0.7rem;
  }

  .crosshair--tr,
  .crosshair--br {
    right: 0.7rem;
  }

  .crosshair--tl,
  .crosshair--tr {
    top: 0.7rem;
  }

  .crosshair--bl,
  .crosshair--br {
    bottom: 0.7rem;
  }

  .site-plan__annotations text {
    stroke-width: 0.8px;
    font-size: 3.2px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .site-plan .section-heading {
    bottom: 4.6rem;
  }

  .site-plan .display-title {
    max-width: 9ch;
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .material-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0.75rem;
  }

  .material:last-child {
    grid-column: span 2;
    width: calc(50% - 0.375rem);
  }

  .material__swatch {
    aspect-ratio: 1;
  }

  .house {
    gap: 4rem;
  }

  .room-list li {
    grid-template-columns: 2.1rem 1fr;
    font-size: clamp(1.45rem, 8vw, 2.4rem);
  }

  .residence-grid {
    grid-template-columns: 1fr;
  }

  .residence-card {
    min-height: 30rem;
  }

  .distance-list li {
    display: grid;
    gap: 0.45rem;
    padding: 1.65rem 0;
    font-size: clamp(2.05rem, 11vw, 3.4rem);
  }

  .distance-list strong {
    font-size: 0.55em;
  }

  .closing__footer {
    flex-direction: column;
    align-items: center;
    font-size: 0.55rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .frame-loader,
  .tour-stage {
    display: none !important;
  }

  .tour-spine {
    height: auto;
  }

  .reduced-chapters {
    display: block;
  }

  .reduced-chapter {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    opacity: 0.01;
    transition: opacity 180ms linear;
  }

  .reduced-chapter.is-visible {
    opacity: 1;
  }

  .reduced-chapter::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 23, 20, .55), transparent 55%);
    content: "";
  }

  .reduced-chapter > img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  .reduced-chapter__copy {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(3rem, 9vh, 7rem);
    left: var(--gutter);
  }

  .reduced-chapter__copy p,
  .reduced-chapter__copy span {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .reduced-chapter__copy h2 {
    max-width: 12ch;
    margin: 0.8rem 0 1rem;
    font-family: var(--display);
    font-size: clamp(2.8rem, 10vw, 7rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 0.9;
  }

  .reduced-video-panel {
    display: grid;
    grid-template-columns: minmax(14rem, 0.6fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    padding: clamp(4rem, 10vw, 9rem) var(--gutter);
    background: var(--sand);
    color: var(--ink);
  }

  .reduced-video-panel h2 {
    margin: 1rem 0;
    font-family: var(--display);
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 300;
    line-height: 0.92;
  }

  .reduced-video-panel p:last-child {
    color: #675f58;
  }

  .reduced-video-panel video {
    width: 100%;
    background: var(--ink);
  }

  [data-reveal],
  [data-room],
  [data-card],
  [data-distance],
  [data-material] {
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .reduced-video-panel {
    grid-template-columns: 1fr;
  }
}

html.static-fallback .frame-loader,
html.static-fallback .tour-stage {
  display: none !important;
}

html.static-fallback .tour-spine {
  height: auto;
}

html.static-fallback .reduced-chapters {
  display: block;
}

html.static-fallback .reduced-chapter {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  opacity: 0.01;
  transition: opacity 180ms linear;
}

html.static-fallback .reduced-chapter.is-visible {
  opacity: 1;
}

html.static-fallback .reduced-chapter::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 23, 20, .55), transparent 55%);
  content: "";
}

html.static-fallback .reduced-chapter > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

html.static-fallback .reduced-chapter__copy {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 9vh, 7rem);
  left: var(--gutter);
}

html.static-fallback .reduced-chapter__copy p,
html.static-fallback .reduced-chapter__copy span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html.static-fallback .reduced-chapter__copy h2 {
  max-width: 12ch;
  margin: 0.8rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 10vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

html.static-fallback .reduced-video-panel {
  display: grid;
  grid-template-columns: minmax(14rem, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 10vw, 9rem) var(--gutter);
  background: var(--sand);
  color: var(--ink);
}

html.static-fallback .reduced-video-panel h2 {
  margin: 1rem 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 0.92;
}

html.static-fallback .reduced-video-panel video {
  width: 100%;
  background: var(--ink);
}

@media (max-width: 767px) {
  html.static-fallback .reduced-video-panel {
    grid-template-columns: 1fr;
  }
}

@media print {
  .frame-loader,
  .tour-stage,
  .reduced-video-panel video {
    display: none !important;
  }

  .tour-spine,
  .full-bleed-section {
    min-height: 0;
    height: auto;
  }

  .reduced-chapters,
  .reduced-video-panel {
    display: block;
  }
}
