/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Colors — OKLCH, every neutral warm-tinted toward 60° (amber) */
  --cream:        oklch(97%   0.006 60);
  --cream-mid:    oklch(90%   0.009 60);
  --stone:        oklch(65%   0.010 60);
  --charcoal:     oklch(14%   0.007 60);
  --charcoal-mid: oklch(22%   0.007 60);

  /* Typography */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', system-ui, -apple-system, sans-serif;

  /* Fluid spacing */
  --space-xs: clamp(0.5rem,  1vw,  1rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1.5rem);
  --space-md: clamp(1.25rem, 2.5vw, 2.5rem);
  --space-lg: clamp(2rem,    4vw,  5rem);
  --space-xl: clamp(2.5rem,  5vw,  7rem);
}

/* ─── Base ───────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  opacity: 0;            /* animated in */
}

.nav__wordmark {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
}

.nav__links a {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible { opacity: 1; }

/* ─── Hero shell ─────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--charcoal);
  cursor: crosshair;      /* interactive drag hint after reveal */
}

/* ─── Image layers ───────────────────────────────────────────── */
.hero__layer {
  position: absolute;
  inset: 0;
}

/* Interior sits behind, no clipping needed */
.hero__layer--interior {
  z-index: 1;
}

/* Exterior sits on top; fades in then is clipped away left-to-right */
.hero__layer--exterior {
  z-index: 2;
  opacity: 0;            /* JS animates this to 1 on load */
  clip-path: inset(0 0 0 0%);
  will-change: clip-path, opacity;
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* Placeholder gradient while images load */
.hero__layer--interior { background: linear-gradient(145deg, oklch(38% 0.04 55), oklch(28% 0.03 50)); }
.hero__layer--exterior { background: linear-gradient(145deg, oklch(72% 0.05 80), oklch(58% 0.06 65)); }

/* ─── Vignette ───────────────────────────────────────────────── */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      oklch(14% 0.007 60 / 0.35) 0%,
      transparent 30%,
      transparent 55%,
      oklch(14% 0.007 60 / 0.65) 100%
    );
}

/* ─── Reveal blade ───────────────────────────────────────────── */
.hero__blade {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0%;            /* driven by JS */
  width: 0;            /* logically zero-width; children position around this axis */
  z-index: 15;
  will-change: left;
  pointer-events: none;
}

.hero__blade-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: oklch(97% 0.006 60 / 0.55);
  box-shadow: 0 0 12px oklch(97% 0.006 60 / 0.2);
  transform: scaleY(0);
  transform-origin: top center;
}

.hero__blade-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid oklch(97% 0.006 60 / 0.35);
  background: oklch(14% 0.007 60 / 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  pointer-events: auto;
  cursor: ew-resize;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero__blade-handle:hover {
  border-color: oklch(97% 0.006 60 / 0.65);
  background: oklch(14% 0.007 60 / 0.5);
}

/* Smooth reset when is-pulsing class is removed on first drag */
.hero__blade-handle {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

/* ─── Handle pulse — ripple ring signals interactivity ─────────────────────── */
@keyframes bladePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0px oklch(97% 0.006 60 / 0.55);
    border-color: oklch(97% 0.006 60 / 0.35);
  }
  38% {
    transform: scale(1.2);
    box-shadow: 0 0 0 5px oklch(97% 0.006 60 / 0.28);
    border-color: oklch(97% 0.006 60 / 0.95);
  }
  72% {
    transform: scale(1.22);
    box-shadow: 0 0 0 13px oklch(97% 0.006 60 / 0.06);
    border-color: oklch(97% 0.006 60 / 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 18px oklch(97% 0.006 60 / 0);
    border-color: oklch(97% 0.006 60 / 0.35);
  }
}

.hero__blade-handle.is-pulsing {
  animation: bladePulse 1.65s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  /* override the transition so animation runs cleanly */
  transition: none;
}

/* ─── Hero text ──────────────────────────────────────────────── */
.hero__text {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  z-index: 20;
  max-width: 45ch;
}

.hero__location {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;            /* animated in */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.hero__location span {
  opacity: 0.4;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 10rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.015em;
  color: var(--cream);
  opacity: 0;            /* animated in */
  margin-bottom: var(--space-sm);
}

.hero__tagline {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 200;
  letter-spacing: 0.15em;
  color: var(--cream);
  opacity: 0;            /* animated in */
}

/* ─── Scroll cue ─────────────────────────────────────────────── */
.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 20;
  opacity: 0;            /* animated in */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero__scroll-label {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 200;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: oklch(97% 0.006 60 / 0.5);
  writing-mode: vertical-rl;
}

.hero__scroll-track {
  width: 1px;
  height: 3.5rem;
  background: oklch(97% 0.006 60 / 0.18);
  position: relative;
  overflow: hidden;
}

.hero__scroll-thumb {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--cream);
  animation: scrollThumb 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-play-state: paused;
}

@keyframes scrollThumb {
  0%   { top: -100%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ─── Below-fold stub ────────────────────────────────────────── */
/* ─── Reduced-motion fallback ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__layer--exterior { opacity: 1 !important; clip-path: inset(0 0 0 50%) !important; }
  .hero__blade           { display: none !important; }

  .nav,
  .hero__location,
  .hero__title,
  .hero__tagline,
  .hero__scroll {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }

  .hero__scroll-thumb { animation: none !important; }
}

/* ─── Hamburger button ───────────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
}

.nav__bar {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.22s ease;
}

/* Morph bars to × on open */
.nav__hamburger[aria-expanded="true"] .nav__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] .nav__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile menu overlay ────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;                 /* below nav (100), above hero content (20) */
  background: oklch(12% 0.006 60 / 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__inner {
  padding: 0 var(--space-xl);
  width: 100%;
}

.mobile-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 5vw, 2.5rem);
}

/* Items start hidden; stagger in when menu opens */
.mobile-menu__item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.is-open .mobile-menu__item { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__item:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(4) { transition-delay: 0.27s; }

.mobile-menu__link {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 11vw, 4.25rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible { opacity: 0.45; }

.mobile-menu__location {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 200;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: oklch(97% 0.006 60 / 0.3);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav__links     { display: none; }
  .nav__hamburger { display: flex; }

  .hero__title {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }
}

/* ─── Story ──────────────────────────────────────────────────────
   Continues the hero's reveal blade as a structural line and hangs the
   writing either side of it. No cards, no containers: rules instead of
   boxes, which is the same restraint the hero uses.

   The type sits well below the hero's scale on purpose. The hero is the
   arrival; this is the reading, and a second element competing at the
   same size would flatten both. */

.story {
  position: relative;
  background: var(--charcoal);
  padding-block: clamp(6rem, 16vh, 12rem) clamp(5rem, 12vh, 9rem);
  padding-inline: var(--space-xl);
}

.story__intro {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(4.5rem, 12vh, 9rem);
}

.story__kicker {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 200;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-md);
}

.story__heading {
  font-family: var(--serif);
  /* Deliberately below the hero's clamp(3.5rem, 14vw, 5rem). */
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--cream);
  /* No forced <br>. One hidden on mobile with display:none takes its implied
     space with it and renders "drawnaround"; balance breaks it well at every
     width without needing a rule per breakpoint. */
  text-wrap: balance;
  max-width: 20ch;
  margin-inline: auto;
}

/* ── The threshold: two columns either side of the continued blade ── */
.story__threshold {
  position: relative;
  max-width: 72rem;
  margin-inline: auto;
}

.story__blade {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  /* Same value as .hero__blade-line, deliberately. It reads as the same
     object having travelled down the page rather than a new divider. */
  background: oklch(97% 0.006 60 / 0.55);
  box-shadow: 0 0 12px oklch(97% 0.006 60 / 0.2);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story.is-revealed .story__blade { transform: scaleY(1); }

.story__labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.story__label {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 200;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: oklch(97% 0.006 60 / 0.3);
}

.story__label--out { text-align: right; }
.story__label--in  { text-align: left; }

.story__movements {
  list-style: none;
  display: grid;
  gap: clamp(3.5rem, 10vh, 7rem);
}

.story__movement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: baseline;
}

.story__side {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.3vw, 1.75rem);
  font-weight: 300;
  line-height: 1.35;
  /* Each line starts a touch dim and settles to full cream, so the eye is
     drawn across the threshold rather than to one side of it. */
  color: oklch(97% 0.006 60 / 0.82);
  opacity: 0;
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Outside leans in from the left, inside from the right: the two halves
   close on the line between them. */
.story__side--out { text-align: right; transform: translateX(-1.25rem); }
.story__side--in  { text-align: left;  transform: translateX(1.25rem); font-style: italic; }

.story.is-revealed .story__side { opacity: 1; transform: translateX(0); }

/* Cinematic patience: each movement arrives after the one above it. */
.story.is-revealed .story__movement:nth-child(1) .story__side { transition-delay: 0.15s; }
.story.is-revealed .story__movement:nth-child(2) .story__side { transition-delay: 0.42s; }
.story.is-revealed .story__movement:nth-child(3) .story__side { transition-delay: 0.69s; }

.story__close {
  margin-top: clamp(5rem, 14vh, 10rem);
  text-align: center;
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 200;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: oklch(97% 0.006 60 / 0.3);
}

@media (max-width: 640px) {
  /* The blade divides two columns; at this width there is only one, so the
     line would sit through the middle of the words. It stands down and the
     movements stack as pairs with a short rule between them instead. */
  .story__blade,
  .story__labels { display: none; }

  .story__movement { grid-template-columns: 1fr; gap: var(--space-sm); }
  .story__side--out,
  .story__side--in { text-align: left; transform: translateY(1rem); }
  .story.is-revealed .story__side { transform: translateY(0); }

  .story__side--out { color: var(--cream); }
  .story__side--in::before {
    content: "";
    display: block;
    width: 2rem;
    height: 1px;
    background: oklch(97% 0.006 60 / 0.3);
    margin-bottom: var(--space-sm);
  }
}

/* Story: everything present, nothing travels. The threshold still reads
   because it is built from layout, not from motion. */
@media (prefers-reduced-motion: reduce) {
  .story__blade { transform: scaleY(1) !important; transition: none !important; }
  .story__side  { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Spaces ─────────────────────────────────────────────────────
   A numbered index instead of a card grid: each space is a row, not a
   tile, so nothing needs a border or a shadow to read as a unit. The
   image sits still beside the list rather than cycling through it — see
   the comment above the markup for why only one photograph is used. */

.spaces {
  position: relative;
  background: var(--charcoal);
  padding-block: clamp(5rem, 13vh, 9rem);
  padding-inline: var(--space-xl);
}

.spaces__intro {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(3.5rem, 10vh, 6rem);
}

.spaces__kicker {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 200;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-md);
}

.spaces__heading {
  font-family: var(--serif);
  /* Below the story heading's clamp(1.75rem, 4.2vw, 3rem): the descent
     continues section by section, never back up toward the hero. */
  font-size: clamp(1.6rem, 3.6vw, 2.625rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-wrap: balance;
  max-width: 22ch;
  margin-inline: auto;
}

.spaces__body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  max-width: 72rem;
  margin-inline: auto;
}

.spaces__frame {
  /* Stays in view while the index scrolls past it, so each room's
     photograph keeps working the whole time its row is being read. */
  position: sticky;
  top: clamp(5rem, 12vh, 8rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

/* Five images stacked in the same frame; JS toggles .is-active as the
   reader's position passes each numbered item (see initSpacesGallery in
   main.js), and they crossfade rather than cut. The first is marked
   is-active in the markup so the section is correct with JS disabled. */
.spaces__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.spaces__img.is-active { opacity: 1; }

.spaces__index {
  list-style: none;
  display: grid;
}

.spaces__item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-md);
  padding-block: clamp(1.5rem, 3.5vh, 2.25rem);
  border-top: 1px solid oklch(97% 0.006 60 / 0.14);
}

.spaces__item:last-child {
  border-bottom: 1px solid oklch(97% 0.006 60 / 0.14);
}

.spaces__num {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--stone);
  padding-top: 0.3em;
}

.spaces__name {
  grid-column: 2;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--cream);
}

.spaces__note {
  grid-column: 2;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.6;
  color: oklch(97% 0.006 60 / 0.6);
  margin-top: 0.4rem;
  max-width: 42ch;
}

/* Reveal-on-scroll: same mechanism as .story — opacity/translateY, once,
   driven by the .is-revealed class main.js adds via IntersectionObserver. */
.spaces__frame,
.spaces__item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.spaces.is-revealed .spaces__frame,
.spaces.is-revealed .spaces__item { opacity: 1; transform: translateY(0); }

.spaces.is-revealed .spaces__item:nth-child(1) { transition-delay: 0.08s; }
.spaces.is-revealed .spaces__item:nth-child(2) { transition-delay: 0.16s; }
.spaces.is-revealed .spaces__item:nth-child(3) { transition-delay: 0.24s; }
.spaces.is-revealed .spaces__item:nth-child(4) { transition-delay: 0.32s; }
.spaces.is-revealed .spaces__item:nth-child(5) { transition-delay: 0.40s; }

@media (max-width: 640px) {
  /* Sticky-beside-list only works with two columns; below 640px the
     image goes first and stands on its own, unstuck. */
  .spaces__body   { grid-template-columns: 1fr; gap: var(--space-lg); }
  /* relative, not static: the stacked .spaces__img elements are
     absolutely positioned and need this frame as their containing block.
     top must be cancelled too — the base rule's sticky offset otherwise
     still applies to relative positioning and shoves the frame down into
     the list below it. */
  .spaces__frame  { position: relative; top: 0; aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .spaces__frame,
  .spaces__item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* The room still changes as the reader scrolls (a content update, not
     motion) but the crossfade itself is a transition, so it is cut. */
  .spaces__img { transition: none !important; }
}

/* ─── Location ────────────────────────────────────────────────────
   Full-bleed photograph with the hero's own vignette technique reused
   for legibility, not a second gradient invented for this section. The
   facts strip below reads like a listing's specifications: rule-
   separated terms, no icons, no map embed. */

.location {
  position: relative;
  background: var(--charcoal);
}

.location__frame {
  position: relative;
  height: clamp(26rem, 62vh, 40rem);
  overflow: hidden;
}

.location__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* A wider, lower crop than the hero's exterior frame — the same
     photograph, reframed for a different purpose. */
  object-position: 50% 62%;
}

.location__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top,
    oklch(14% 0.007 60 / 0.8) 0%,
    oklch(14% 0.007 60 / 0.2) 45%,
    transparent 72%
  );
}

.location__text {
  position: absolute;
  left: var(--space-xl);
  right: var(--space-xl);
  bottom: var(--space-xl);
  max-width: 40rem;
}

.location__kicker {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 200;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: oklch(97% 0.006 60 / 0.6);
  margin-bottom: var(--space-sm);
}

.location__heading {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-wrap: balance;
}

.location__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--space-xl);
  padding-block: clamp(3rem, 8vh, 5rem);
}

.location__fact {
  padding-inline: var(--space-md);
  /* A plain 1px hairline divider between terms, the same rule idiom the
     rest of the page uses. Not an accent stripe: it carries no color of
     its own, only the page's low-alpha cream. */
  border-left: 1px solid oklch(97% 0.006 60 / 0.14);
}

.location__fact:first-child { border-left: none; padding-inline-start: 0; }

.location__fact dt {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.6rem;
}

.location__fact dd {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--cream);
}

.location__text,
.location__fact {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.location.is-revealed .location__text,
.location.is-revealed .location__fact { opacity: 1; transform: translateY(0); }

.location.is-revealed .location__fact:nth-child(1) { transition-delay: 0.10s; }
.location.is-revealed .location__fact:nth-child(2) { transition-delay: 0.18s; }
.location.is-revealed .location__fact:nth-child(3) { transition-delay: 0.26s; }
.location.is-revealed .location__fact:nth-child(4) { transition-delay: 0.34s; }

@media (max-width: 640px) {
  .location__frame { height: clamp(20rem, 56vh, 30rem); }
  .location__text  { left: var(--space-md); right: var(--space-md); bottom: var(--space-md); }

  .location__facts {
    grid-template-columns: 1fr;
    padding-inline: var(--space-md);
    gap: clamp(1.25rem, 4vh, 2rem);
  }

  /* Same flip the story section makes at this width: a left border
     dividing columns becomes a top border dividing stacked rows. */
  .location__fact {
    border-left: none;
    padding-inline: 0;
    border-top: 1px solid oklch(97% 0.006 60 / 0.14);
    padding-top: clamp(1.25rem, 4vh, 2rem);
  }
  .location__fact:first-child { border-top: none; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .location__text,
  .location__fact {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── Inquire ─────────────────────────────────────────────────────
   The closing section, and the quietest type on the page. See the
   comment above the markup for why this is mailto/tel rather than a
   form. */

.inquire {
  position: relative;
  background: var(--charcoal);
  padding-block: clamp(6rem, 18vh, 11rem) clamp(5rem, 13vh, 8rem);
  padding-inline: var(--space-xl);
  text-align: center;
}

.inquire__intro { max-width: 34rem; margin-inline: auto; }

.inquire__kicker {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 200;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-md);
}

.inquire__heading {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-wrap: balance;
}

.inquire__contact {
  margin-top: clamp(3rem, 8vh, 5rem);
  display: grid;
  gap: var(--space-md);
}

.inquire__email {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid oklch(97% 0.006 60 / 0.3);
  padding-bottom: 0.15em;
  transition: border-color 0.25s ease;
}

.inquire__email:hover,
.inquire__email:focus-visible { border-color: oklch(97% 0.006 60 / 0.75); }

.inquire__phone {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: oklch(97% 0.006 60 / 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}

.inquire__phone:hover,
.inquire__phone:focus-visible { color: var(--cream); }

.inquire__close {
  margin-top: clamp(5rem, 14vh, 9rem);
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 200;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: oklch(97% 0.006 60 / 0.3);
}

.inquire__intro,
.inquire__contact,
.inquire__close {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquire.is-revealed .inquire__intro   { opacity: 1; transform: translateY(0); }
.inquire.is-revealed .inquire__contact { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.inquire.is-revealed .inquire__close   { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }

@media (max-width: 640px) {
  .inquire__contact { gap: var(--space-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .inquire__intro,
  .inquire__contact,
  .inquire__close {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
