/* ==========================================================================
   LUXORA ESTATES — Design System
   1. Tokens
   2. Reset & base
   3. Typography
   4. Layout primitives
   5. Buttons & links
   6. Navigation
   7. Hero
   8. Reveal / motion
   9. Property cards
   10. Signature collection
   11. Interactive property experience
   12. Destinations
   13. Difference pillars
   14. Journal
   15. Inquiry & forms
   16. Footer
   17. Property collection (filters)
   18. Property detail
   19. Gallery & lightbox
   20. Modal
   21. Editorial pages (about / journal article)
   22. Responsive
   23. Accessibility & motion preferences
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --charcoal: #111111;
  --charcoal-soft: #1a1a1a;
  --charcoal-line: #262626;
  --ivory: #f5f2ea;
  --ivory-deep: #ebe6da;
  --stone: #b8b1a4;
  --stone-dark: #8c857a;
  --gold: #b79a62;
  --gold-soft: #cdb684;
  --white: #ffffff;

  --ink: var(--charcoal);
  --ink-muted: #5c5952;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.24);
  --line-dark: rgba(245, 242, 234, 0.14);

  --font-serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--2: clamp(0.68rem, 0.66rem + 0.1vw, 0.74rem);
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0: clamp(0.94rem, 0.9rem + 0.2vw, 1.02rem);
  --step-1: clamp(1.1rem, 1.02rem + 0.4vw, 1.32rem);
  --step-2: clamp(1.4rem, 1.24rem + 0.8vw, 1.95rem);
  --step-3: clamp(1.85rem, 1.5rem + 1.7vw, 3rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);
  --step-5: clamp(3rem, 1.6rem + 6.8vw, 7.4rem);

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-y: clamp(4.5rem, 9vw, 10rem);
  --maxw: 1560px;
  --maxw-text: 62ch;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;
  --dur-fast: 0.32s;

  --nav-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 350;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
video,
svg { display: block; max-width: 100%; }

img { height: auto; background-color: var(--ivory-deep); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}

.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: rgba(245, 242, 234, 0.9); }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 46ch;
}

.meta {
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 300; }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: 1100px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.section--dark {
  background: var(--charcoal);
  color: var(--ivory);
}
.section--dark .eyebrow { color: var(--stone); }
.section--dark .lede { color: var(--stone); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

.section-head h2 { max-width: 16ch; }
.section-head .manifesto { max-width: 22ch; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section--dark .rule { background: var(--line-dark); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.85rem 1.4rem;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-fg: var(--charcoal);
  --btn-bg: transparent;
  --btn-line: var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--btn-line);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--charcoal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before { transform: scaleY(1); }
.btn:hover,
.btn:focus-visible { color: var(--ivory); border-color: var(--charcoal); }

.btn .btn-arrow {
  width: 1.15em;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width var(--dur-fast) var(--ease);
}
.btn .btn-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow { width: 1.75em; }

.btn--solid {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--ivory);
  --btn-line: var(--charcoal);
}
.btn--solid::before { background: var(--gold); }
.btn--solid:hover,
.btn--solid:focus-visible { color: var(--charcoal); border-color: var(--gold); }

.btn--light {
  --btn-fg: var(--ivory);
  --btn-line: rgba(245, 242, 234, 0.4);
}
.btn--light::before { background: var(--ivory); }
.btn--light:hover,
.btn--light:focus-visible { color: var(--charcoal); border-color: var(--ivory); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--charcoal);
  --btn-line: var(--gold);
}
.btn--gold::before { background: var(--charcoal); }
.btn--gold:hover,
.btn--gold:focus-visible { color: var(--ivory); border-color: var(--charcoal); }

.btn--block { width: 100%; justify-content: center; }

.link-underline {
  position: relative;
  display: inline-block;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 0.4rem;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.link-underline:hover::after,
.link-underline:focus-visible::after {
  transform: scaleX(0);
  transform-origin: right;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.link-arrow .btn-arrow {
  width: 1.4em;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width var(--dur-fast) var(--ease);
}
.link-arrow .btn-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.link-arrow:hover .btn-arrow,
.link-arrow:focus-visible .btn-arrow { width: 2.2em; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Above the mobile drawer, so the toggle stays reachable while it is open. */
  z-index: 100;
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease),
    color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}

.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.28rem;
}
.wordmark__name {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.wordmark__sub {
  font-size: 0.56rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.7;
  padding-left: 0.15em;
}

.nav__links {
  display: none;
  align-items: center;
  gap: clamp(1.5rem, 2.6vw, 2.9rem);
}

.nav__link {
  position: relative;
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 450;
  padding-block: 0.4rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

.nav__cta {
  display: none;
  padding: 0.8rem 1.5rem;
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--ivory);
  color: var(--charcoal);
}

.nav.is-scrolled {
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(245, 242, 234, 0.12);
  --nav-h: 72px;
}

/* Light page variant (non-hero pages) */
.nav--light { color: var(--charcoal); }
.nav--light.is-scrolled {
  background: rgba(245, 242, 234, 0.82);
  border-bottom-color: var(--line);
  color: var(--charcoal);
}
.nav--light .nav__cta:hover,
.nav--light .nav__cta:focus-visible {
  background: var(--charcoal);
  color: var(--ivory);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: flex-end;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.25s var(--ease), width 0.4s var(--ease-out);
}
.nav-toggle span:last-child { width: 18px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { width: 26px; transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--charcoal);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) calc(var(--gutter) + 1rem);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.75s var(--ease-out), visibility 0s linear 0.75s;
}
.mobile-nav.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.75s var(--ease-out), visibility 0s;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1.5vw, 1rem);
  margin-top: auto;
  margin-bottom: auto;
}
.mobile-nav__item {
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: clamp(0.7rem, 2.2vw, 1.1rem);
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 8vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out), color var(--dur-fast) var(--ease);
}
.mobile-nav.is-open .mobile-nav__link { transform: translateY(0); }
.mobile-nav__link:hover { color: var(--gold); }
.mobile-nav__index {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--stone);
}

.mobile-nav__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease) 0.45s, transform 0.5s var(--ease-out) 0.45s;
}
.mobile-nav.is-open .mobile-nav__foot { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ivory);
  background: var(--charcoal);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.08);
  opacity: 0;
  transition: transform 2.4s var(--ease-out), opacity 1.6s var(--ease);
}

.hero.is-ready .hero__media img { transform: scale(1); opacity: 1; }
.hero.is-instant .hero__media img { transition: none; transform: none; opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(9, 9, 9, 0.55) 0%, rgba(9, 9, 9, 0.12) 45%, rgba(9, 9, 9, 0) 70%),
    linear-gradient(to top, rgba(9, 9, 9, 0.84) 0%, rgba(9, 9, 9, 0.34) 42%, rgba(9, 9, 9, 0.16) 66%, rgba(9, 9, 9, 0.58) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(5.5rem, 8vw, 7.5rem);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  will-change: transform, opacity;
}

.hero__title {
  font-size: var(--step-5);
  line-height: 0.9;
  letter-spacing: -0.035em;
  max-width: 12ch;
}
/* Second line carries the champagne accent — the only gold in the composition. */
.hero__title em {
  font-style: italic;
  color: var(--gold-soft);
  display: block;
}

.hero__body {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.25rem);
  justify-items: start;
  align-items: end;
}
@media (min-width: 980px) {
  .hero__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30ch);
    justify-items: stretch;
  }
  .hero__body .btn { justify-self: start; align-self: end; }
}

.hero__copy {
  color: rgba(245, 242, 234, 0.86);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.7;
  max-width: 34ch;
}
@media (min-width: 980px) {
  .hero__copy { text-align: right; margin-left: auto; }
}
.hero__copy em { font-family: var(--font-serif); font-style: italic; color: var(--ivory); }

/* Keeps type legible where the photograph runs bright behind it. */
.hero__inner,
.detail-hero__inner,
.page-hero__inner { text-shadow: 0 1px 22px rgba(9, 9, 9, 0.34); }
.hero__inner .btn,
.detail-hero__inner .btn { text-shadow: none; }

/* Staged entrance ------------------------------------------------------- */
.hero [data-stage] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--stage, 0) * 110ms + 250ms);
}
.hero.is-ready [data-stage] { opacity: 1; transform: none; }
.hero.is-instant [data-stage] { transition: none; }

/* Hero annotations — floating specification points over the architecture -- */
.hero__annotations {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: none;
}
/* Annotations need real space around the type; on short viewports the hero
   content already fills the frame, so they are withheld entirely. */
@media (min-width: 1200px) and (min-height: 820px) { .hero__annotations { display: block; } }

/* Laptop-height viewports: the hero composition tightens so the eyebrow never
   slides up under the fixed navigation. */
@media (min-width: 1024px) and (max-height: 860px) {
  .hero__title { font-size: clamp(2.8rem, 8.8vh, 5.6rem); }
  .hero__inner {
    gap: clamp(0.9rem, 2vh, 1.75rem);
    /* Leaves the scroll cue and corner wordmark their own band. */
    padding-bottom: clamp(7rem, 11vh, 8rem);
  }
  .hero__copy { font-size: var(--step--1); line-height: 1.6; }
  .hero-search__field { padding-block: 0.8rem; }
}

.annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(245, 242, 234, 0.95);
  transform: translateY(-50%);
  text-shadow: 0 1px 18px rgba(9, 9, 9, 0.55);
}
.annotation--left { flex-direction: row-reverse; text-align: right; }

.annotation__dot {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ivory);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--stage, 0) * 130ms + 900ms);
}
.annotation__dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(183, 154, 98, 0.75);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--stage, 0) * 130ms + 1150ms);
}
.hero.is-ready .annotation__dot { opacity: 1; transform: none; }
.hero.is-ready .annotation__dot::after { opacity: 1; transform: none; }

.annotation__line {
  flex: none;
  width: clamp(48px, 6vw, 96px);
  height: 1px;
  background: linear-gradient(to right, rgba(245, 242, 234, 0.7), rgba(245, 242, 234, 0.12));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--stage, 0) * 130ms + 1000ms);
}
.annotation--left .annotation__line {
  background: linear-gradient(to left, rgba(245, 242, 234, 0.7), rgba(245, 242, 234, 0.12));
  transform-origin: right;
}
.hero.is-ready .annotation__line { transform: scaleX(1); }

.annotation__body {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--stage, 0) * 130ms + 1250ms);
}
.hero.is-ready .annotation__body { opacity: 1; transform: none; }

.annotation__label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.7);
  margin-bottom: 0.2rem;
}
.annotation__value {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--step-0);
  font-weight: 300;
  white-space: nowrap;
}

/* Hero search bar — the primary conversion path, held on the hero edge ---- */
.hero-search {
  position: relative;
  z-index: 4;
  margin-top: clamp(0.5rem, 1.5vw, 1.25rem);
}
.hero-search__form {
  display: grid;
  gap: 1px;
  background: rgba(245, 242, 234, 0.16);
  border: 1px solid rgba(245, 242, 234, 0.16);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .hero-search__form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
}
.hero-search__field {
  display: grid;
  gap: 0.35rem;
  padding: clamp(0.9rem, 1.6vw, 1.15rem) clamp(1.1rem, 2vw, 1.6rem);
  background: rgba(17, 17, 17, 0.66);
}
.hero-search__field label {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero-search__field select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: var(--step-0);
  font-weight: 300;
  padding: 0 1.5rem 0 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b8b1a4' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 10px 6px;
}
.hero-search__field select:focus { outline: none; }
.hero-search__field select:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.hero-search__field select option { background: var(--charcoal); color: var(--ivory); }
.hero-search__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(1rem, 1.8vw, 1.35rem) clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--gold);
  color: var(--charcoal);
  border: 0;
  cursor: pointer;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.hero-search__submit:hover,
.hero-search__submit:focus-visible { background: var(--ivory); }
.hero-search__submit .btn-arrow {
  width: 1.15em;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width var(--dur-fast) var(--ease);
}
.hero-search__submit .btn-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.hero-search__submit:hover .btn-arrow { width: 1.8em; }

/* Hero foot: scroll cue, corner wordmark ------------------------------- */
.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(2rem, 3.5vw, 3rem);
  z-index: 3;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  pointer-events: none;
}
.hero__foot > * { pointer-events: auto; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--step--2);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.72);
}
.scroll-cue__line {
  position: relative;
  width: 54px;
  height: 1px;
  background: rgba(245, 242, 234, 0.3);
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: cueSlide 2.8s var(--ease) infinite 1.8s;
}
@keyframes cueSlide {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.hero__mark {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: rgba(245, 242, 234, 0.16);
  user-select: none;
  display: none;
}
@media (min-width: 860px) { .hero__mark { display: block; } }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  min-height: clamp(52vh, 62vh, 74vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--ivory);
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 9, 9, 0.62) 0%, rgba(9, 9, 9, 0.12) 58%, rgba(9, 9, 9, 0) 80%),
    linear-gradient(to top, rgba(9, 9, 9, 0.85), rgba(9, 9, 9, 0.28) 55%, rgba(9, 9, 9, 0.5));
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1.25rem;
}
.page-hero__title { max-width: 16ch; font-size: var(--step-4); }
.page-hero__copy { max-width: 52ch; color: rgba(245, 242, 234, 0.82); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.62);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { opacity: 0.5; }

/* --------------------------------------------------------------------------
   8. Reveal / motion
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* The wipe runs on the child: clipping the observed element itself would give it
   an empty visible rect, and IntersectionObserver would never report it. */
[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  transition: none;
}
[data-reveal="clip"] > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="clip"].is-visible > * { clip-path: inset(0 0 0 0); }

[data-reveal="fade"] { transform: none; }

.parallax-media { will-change: transform; }

/* --------------------------------------------------------------------------
   9. Property cards
   -------------------------------------------------------------------------- */
.property-grid {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.property-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
}

.property-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ivory-deep);
}
.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.7s var(--ease);
}
.property-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 9, 0.55), rgba(9, 9, 9, 0) 45%);
  opacity: 0.55;
  transition: opacity 0.6s var(--ease);
}

.property-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.45rem 0.85rem;
  background: rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ivory);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.property-card__badge--gold { background: var(--gold); color: var(--charcoal); }

.property-card__marker {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 242, 234, 0.5);
  color: var(--ivory);
  opacity: 0;
  transform: translate(8px, 8px);
  transition: opacity 0.5s var(--ease), transform 0.55s var(--ease-out), background-color 0.4s var(--ease);
}
.property-card__marker svg { width: 14px; height: 14px; }

.property-card__body {
  padding-top: 1.4rem;
  display: grid;
  gap: 0.55rem;
}

.property-card__loc {
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.property-card__loc::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
}

.property-card__title {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  transition: color var(--dur-fast) var(--ease);
}

.property-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
  padding-top: 0.15rem;
}
.property-card__specs li { display: flex; align-items: center; gap: 0.45rem; }
.property-card__specs li + li::before {
  content: "";
  width: 1px;
  height: 11px;
  background: var(--line-strong);
  margin-right: 0.65rem;
}

.property-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-weight: 300;
}
.property-card__price small {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.property-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

@media (hover: hover) {
  .property-card:hover .property-card__media img { transform: scale(1.055); }
  .property-card:hover .property-card__media::after { opacity: 0.85; }
  .property-card:hover .property-card__marker { opacity: 1; transform: none; }
  .property-card:hover .property-card__title { color: var(--gold); }
}

.section--dark .property-card__title,
.section--dark .property-card__price { color: var(--ivory); }
.section--dark .property-card__loc,
.section--dark .property-card__specs,
.section--dark .property-card__price small { color: var(--stone); }
.section--dark .property-card__price { border-top-color: var(--line-dark); }
.section--dark .property-card__specs li + li::before { background: var(--line-dark); }

/* Featured layout: first card spans wider on large screens */
@media (min-width: 1100px) {
  .property-grid--featured { grid-template-columns: repeat(6, 1fr); }
  .property-grid--featured > * { grid-column: span 2; }
  .property-grid--featured > *:nth-child(1),
  .property-grid--featured > *:nth-child(2) { grid-column: span 3; }
  .property-grid--featured > *:nth-child(1) .property-card__media,
  .property-grid--featured > *:nth-child(2) .property-card__media { aspect-ratio: 3 / 2.15; }
}

/* --------------------------------------------------------------------------
   10. Signature collection (horizontal panels)
   -------------------------------------------------------------------------- */
.signature { display: grid; gap: clamp(4rem, 8vw, 8rem); }

.signature-panel {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .signature-panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  /* Flipped panels mirror the column widths so the image always takes the wider side. */
  .signature-panel--flip { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .signature-panel--flip .signature-panel__media { order: 2; }
}

.signature-panel__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.signature-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
@media (hover: hover) {
  .signature-panel:hover .signature-panel__media img { transform: scale(1.04); }
}

.signature-panel__index {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 1rem 1.3rem;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: var(--step--2);
  letter-spacing: 0.24em;
}

.signature-panel__body { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.signature-panel__title { font-size: var(--step-3); max-width: 14ch; }
.signature-panel__desc { color: var(--ink-muted); max-width: 44ch; }
.section--dark .signature-panel__desc { color: var(--stone); }

.spec-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  padding-block: 1.25rem;
  border-block: 1px solid var(--line);
}
.section--dark .spec-inline { border-color: var(--line-dark); }
.spec-inline div {
  display: grid;
  gap: 0.3rem;
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section--dark .spec-inline div { color: var(--stone); }
.spec-inline strong {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 300;
  color: var(--ink);
}
.section--dark .spec-inline strong { color: var(--ivory); }

/* --------------------------------------------------------------------------
   11. Interactive property experience
   -------------------------------------------------------------------------- */
.experience {
  position: relative;
  background: var(--charcoal);
  color: var(--ivory);
  overflow: hidden;
}

.experience__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  /* start, not stretch: the stage sizes from its aspect-ratio, and a stretched
     row height would make it derive an over-wide box that spills into the list. */
  align-items: start;
}
@media (min-width: 1000px) {
  .experience__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}

.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--charcoal-soft);
  border: 1px solid var(--line-dark);
}
.stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease-out);
}
.stage__img.is-active { opacity: 1; transform: scale(1); }
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 9, 0.6), rgba(9, 9, 9, 0.05) 60%);
  pointer-events: none;
}

.hotspot {
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 234, 0.65);
  background: rgba(17, 17, 17, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease-out);
}
.hotspot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ivory);
  transition: background-color 0.4s var(--ease);
}
.hotspot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(183, 154, 98, 0.55);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.hotspot:hover,
.hotspot:focus-visible { transform: translate(-50%, -50%) scale(1.12); border-color: var(--gold); }
.hotspot[aria-selected="true"] { background: var(--gold); border-color: var(--gold); }
.hotspot[aria-selected="true"]::before { background: var(--charcoal); }
.hotspot[aria-selected="true"]::after { opacity: 1; transform: scale(1); }

.stage__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  padding: clamp(1.1rem, 2.5vw, 2rem);
  max-width: min(100%, 30rem);
}
.stage__caption h3 { font-size: var(--step-2); margin-bottom: 0.35rem; }
.stage__caption p { color: rgba(245, 242, 234, 0.78); font-size: var(--step--1); max-width: 36ch; }

.room-list { display: grid; gap: 0; align-content: start; }
.room-list__item {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(1rem, 2vw, 1.35rem) 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  cursor: pointer;
  color: rgba(245, 242, 234, 0.72);
  transition: color 0.4s var(--ease), padding-left 0.5s var(--ease-out);
}
.room-list__item:first-child { border-top: 1px solid var(--line-dark); }
.room-list__item:hover { color: var(--ivory); padding-left: 0.6rem; }
.room-list__item[aria-selected="true"] { color: var(--ivory); padding-left: 0.6rem; }
.room-list__num { font-size: var(--step--2); letter-spacing: 0.2em; color: var(--stone); }
.room-list__name {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.room-list__item[aria-selected="true"] .room-list__name { color: var(--gold); }
.room-list__meta { font-size: var(--step--2); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }

/* --------------------------------------------------------------------------
   12. Destinations
   -------------------------------------------------------------------------- */
.destinations {
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .destinations { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .destinations { grid-template-columns: repeat(3, 1fr); } }

.destination {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 46vw, 560px);
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: var(--charcoal);
  isolation: isolate;
}
.destination img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.3s var(--ease-out);
}
.destination::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(9, 9, 9, 0.85), rgba(9, 9, 9, 0.15) 60%);
  transition: opacity 0.6s var(--ease);
}
.destination__body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 0.6rem;
  width: 100%;
}
.destination__name { font-size: var(--step-2); }
.destination__count {
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.destination__desc {
  color: rgba(245, 242, 234, 0.78);
  font-size: var(--step--1);
  max-width: 34ch;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s var(--ease-out), opacity 0.5s var(--ease), margin-top 0.6s var(--ease-out);
}
.destination__cta { margin-top: 0.5rem; }
.destination__link::after { content: ""; position: absolute; inset: 0; }

@media (hover: hover) and (min-width: 900px) {
  .destination__desc { margin-top: -0.4rem; }
  .destination:hover img { transform: scale(1.06); }
  .destination:hover .destination__desc { max-height: 8rem; opacity: 1; margin-top: 0; }
}
@media (max-width: 899px) {
  .destination__desc { max-height: 10rem; opacity: 1; }
}

/* --------------------------------------------------------------------------
   13. Difference pillars
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.pillar {
  padding: clamp(2rem, 3.5vw, 3.25rem) clamp(0rem, 2.5vw, 2.5rem) clamp(2rem, 3.5vw, 3rem) 0;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 1rem;
  align-content: start;
  position: relative;
}
@media (min-width: 760px) {
  .pillar { border-right: 1px solid var(--line-dark); padding-left: clamp(1.25rem, 2.5vw, 2.25rem); }
  .pillar:nth-child(1) { padding-left: 0; }
  .pillar:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1180px) {
  .pillar:nth-child(2n) { border-right: 1px solid var(--line-dark); }
  .pillar:nth-child(4n) { border-right: 0; }
  .pillar:nth-child(1) { padding-left: 0; }
}

.pillar__num {
  font-size: var(--step--2);
  letter-spacing: 0.24em;
  color: var(--gold);
}
.pillar__title {
  font-size: var(--step-2);
  max-width: 9ch;
}
.pillar__desc { color: var(--stone); font-size: var(--step--1); max-width: 34ch; }

.stat-row {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stat {
  display: grid;
  gap: 0.4rem;
}
.stat__value {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 300;
  line-height: 1;
}
.stat__label {
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* --------------------------------------------------------------------------
   14. Journal
   -------------------------------------------------------------------------- */
.journal-grid {
  display: grid;
  gap: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.article-card { position: relative; display: grid; gap: 1.2rem; align-content: start; }
.article-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ivory-deep);
}
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
@media (hover: hover) {
  .article-card:hover .article-card__media img { transform: scale(1.05); }
  .article-card:hover .article-card__title { color: var(--gold); }
}
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  align-items: center;
}
.article-card__cat { color: var(--gold); }
.article-card__title {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.14;
  max-width: 22ch;
  transition: color var(--dur-fast) var(--ease);
}
.article-card__excerpt { color: var(--ink-muted); font-size: var(--step--1); max-width: 42ch; }
.article-card__link::after { content: ""; position: absolute; inset: 0; }

.section--dark .article-card__title { color: var(--ivory); }
.section--dark .article-card__meta,
.section--dark .article-card__excerpt { color: var(--stone); }

/* --------------------------------------------------------------------------
   15. Inquiry & forms
   -------------------------------------------------------------------------- */
.inquiry {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (min-width: 1000px) {
  .inquiry { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

.inquiry__aside { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); align-content: start; }
.inquiry__title { font-size: var(--step-4); max-width: 13ch; }

.contact-lines { display: grid; gap: 1.25rem; }
.contact-lines div { display: grid; gap: 0.3rem; }
.contact-lines dt {
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.contact-lines dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-weight: 300;
}

.form { display: grid; gap: clamp(1.25rem, 2.4vw, 1.85rem); }
.form__row {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 1.85rem);
}
@media (min-width: 620px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 0.55rem; position: relative; }
.field > label {
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section--dark .field > label { color: var(--stone); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--step-0);
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.75rem 0 0.8rem;
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea { border-bottom-color: var(--line-dark); }

.field input::placeholder,
.field textarea::placeholder { color: var(--stone); opacity: 1; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.field textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235c5952' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  background-size: 10px 6px;
  padding-right: 1.75rem;
  cursor: pointer;
}
.section--dark .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b8b1a4' stroke-width='1'/%3E%3C/svg%3E");
}
.field select option { background: var(--white); color: var(--charcoal); }

.field__error {
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  color: #a8443c;
  min-height: 1em;
  display: none;
}
.section--dark .field__error { color: #e0a09a; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-bottom-color: #a8443c; }
.field.has-error .field__error { display: block; }

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--line-strong);
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.section--dark .choice span { border-color: var(--line-dark); }
.choice input:checked + span {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.section--dark .choice input:checked + span {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
}
.form__note { font-size: var(--step--2); color: var(--ink-muted); max-width: 34ch; letter-spacing: 0.04em; }
.section--dark .form__note { color: var(--stone); }

.form__status {
  display: none;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gold);
  background: rgba(183, 154, 98, 0.1);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
}
.form__status.is-visible { display: block; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--charcoal);
  color: var(--stone);
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(2rem, 3vw, 3rem);
}
.footer a { color: var(--ivory); }

.footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr); }
}

.footer__brand { display: grid; gap: 1.25rem; align-content: start; color: var(--ivory); }
.footer__brand .wordmark__name { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-1);
  font-weight: 300;
  color: var(--stone);
}

.footer__cols {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}
.footer__col h3 {
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: grid; gap: 0.75rem; }
.footer__col a {
  font-size: var(--step--1);
  position: relative;
  display: inline-block;
  transition: color var(--dur-fast) var(--ease);
}
.footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.footer__col a:hover { color: var(--gold); }
.footer__col a:hover::after { transform: scaleX(1); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.footer__disclaimer {
  margin-top: 1.5rem;
  font-size: var(--step--2);
  color: var(--stone-dark);
  max-width: 78ch;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   17. Property collection (filters)
   -------------------------------------------------------------------------- */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: var(--ivory);
  border-block: 1px solid var(--line);
  padding-block: 1rem;
  transition: box-shadow 0.4s var(--ease);
}
.filter-bar.is-stuck { box-shadow: 0 12px 30px -24px rgba(17, 17, 17, 0.5); }

.filter-bar__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: 1rem;
}

.filters {
  display: grid;
  gap: 1rem clamp(1rem, 2vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  align-items: end;
}

.filter { display: grid; gap: 0.4rem; }
.filter label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.filter select {
  font-family: inherit;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.5rem 1.75rem 0.55rem 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235c5952' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 10px 6px;
  transition: border-color 0.35s var(--ease);
}
.filter select:hover { border-bottom-color: var(--gold); }
.filter select:focus { outline: none; border-bottom-color: var(--gold); }
.filter select:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.filter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.filter-reset {
  background: none;
  border: 0;
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line-strong);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.filter-reset:hover { color: var(--gold); border-color: var(--gold); }

.no-results {
  display: none;
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
}
.no-results.is-visible { display: block; }
.no-results h3 { margin-bottom: 0.75rem; }
.no-results p { color: var(--ink-muted); margin-inline: auto; max-width: 40ch; }

.property-card.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   18. Property detail
   -------------------------------------------------------------------------- */
.detail-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--ivory);
}
.detail-hero__media { position: absolute; inset: 0; z-index: 0; }
.detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.detail-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Detail heroes run from dusk exteriors to bright interiors, so the scrim is
     built for the brightest case. */
  background:
    linear-gradient(100deg, rgba(9, 9, 9, 0.68) 0%, rgba(9, 9, 9, 0.22) 45%, rgba(9, 9, 9, 0) 75%),
    linear-gradient(to top, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.46) 36%, rgba(9, 9, 9, 0.18) 62%, rgba(9, 9, 9, 0.5) 100%);
}
.detail-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) clamp(2.5rem, 4vw, 3.5rem);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.detail-hero__title { font-size: var(--step-4); max-width: 14ch; }
.detail-hero__row {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: end;
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(245, 242, 234, 0.22);
}
@media (min-width: 900px) {
  .detail-hero__row { grid-template-columns: minmax(0, 1fr) auto; }
}
.detail-hero__price {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 300;
}
.detail-hero__price small {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4rem;
}

.spec-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(50%, 220px), 1fr));
}
.spec {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.spec__label {
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.spec__value {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.1;
}
.spec__value small {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-left: 0.35rem;
}

.detail-intro {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (min-width: 950px) {
  .detail-intro { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
.detail-intro__body p { max-width: var(--maxw-text); color: var(--ink-muted); font-size: var(--step-1); line-height: 1.62; font-weight: 300; }
.detail-intro__body p + p { margin-top: 1.2em; }

.feature-list {
  display: grid;
  gap: 0.9rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
}
.feature-list li {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  font-size: var(--step--1);
  color: var(--ink-muted);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.feature-list li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: translateY(-3px);
}
.section--dark .feature-list li { color: var(--stone); border-color: var(--line-dark); }

.architecture-split {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (min-width: 950px) {
  .architecture-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.architecture-split__media { overflow: hidden; aspect-ratio: 4 / 5; }
.architecture-split__media img { width: 100%; height: 100%; object-fit: cover; }

.location-map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--charcoal-soft);
}
.location-map img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.location-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(183, 154, 98, 0.25);
}

.nearby {
  display: grid;
  gap: 1rem;
}
.nearby li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: var(--step--1);
  color: var(--stone);
}
.nearby li strong { font-weight: 400; color: var(--ivory); }

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-dark);
  color: var(--ivory);
  padding: 0.85rem var(--gutter);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.sticky-cta__info { display: grid; gap: 0.15rem; min-width: 0; }
.sticky-cta__name {
  font-family: var(--font-serif);
  font-size: var(--step-0);
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta__price { font-size: var(--step--2); letter-spacing: 0.16em; color: var(--stone); }
.sticky-cta .btn { padding: 0.85rem 1.4rem; flex: none; }

@media (max-width: 620px) {
  .sticky-cta__info { display: none; }
  .sticky-cta__inner { justify-content: stretch; }
  .sticky-cta .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   19. Gallery & lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(2, 1fr);
}

/* Above 900px the set tiles on a six-column field. Every row is filled exactly,
   so heights stay aligned while widths vary. */
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: clamp(100px, 8vw, 165px);
  }
  .gallery-item { grid-column: span 2; grid-row: span 3; aspect-ratio: auto; }
  .gallery-item--wide { grid-column: span 4; }
  .gallery-item--half { grid-column: span 3; }
  .gallery-item--short { grid-row: span 2; }
  .gallery-item--full { grid-column: span 6; grid-row: span 3; }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ivory-deep);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
  display: block;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0);
  transition: background-color 0.5s var(--ease);
}
.gallery-item__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--ivory);
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease-out);
}
@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.05); }
  .gallery-item:hover::after { background: rgba(9, 9, 9, 0.28); }
  .gallery-item:hover .gallery-item__label { opacity: 1; transform: none; }
}
.gallery-item:focus-visible .gallery-item__label { opacity: 1; transform: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(9, 9, 9, 0.97);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease), visibility 0s; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem var(--gutter);
  color: var(--stone);
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lightbox__close {
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--ivory);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.lightbox__close:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.lightbox__close svg { width: 15px; height: 15px; }

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding-inline: clamp(0.75rem, 3vw, 4.5rem);
  min-height: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.lightbox__img.is-loaded { opacity: 1; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid var(--line-dark);
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.lightbox__nav svg { width: 16px; height: 16px; }
.lightbox__nav--prev { left: clamp(0.5rem, 1.5vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 1.5vw, 1.5rem); }

.lightbox__foot {
  padding: 1.25rem var(--gutter) 2rem;
  color: var(--stone);
  text-align: center;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
}

@media (max-width: 620px) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__stage { padding-inline: 0.5rem; }
}

/* --------------------------------------------------------------------------
   20. Modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.modal__panel {
  position: relative;
  width: min(100%, 640px);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  background: var(--ivory);
  color: var(--charcoal);
  padding: clamp(1.75rem, 4vw, 3rem);
  transform: translateY(24px) scale(0.99);
  transition: transform 0.5s var(--ease-out);
}
.modal.is-open .modal__panel { transform: none; }
.modal__close {
  position: absolute;
  top: clamp(0.85rem, 2vw, 1.25rem);
  right: clamp(0.85rem, 2vw, 1.25rem);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.modal__close:hover { background: var(--charcoal); color: var(--ivory); }
.modal__close svg { width: 14px; height: 14px; }
.modal__head { display: grid; gap: 0.75rem; margin-bottom: clamp(1.5rem, 3vw, 2rem); padding-right: 3rem; }
.modal__title { font-size: var(--step-2); }
.modal__sub { color: var(--ink-muted); font-size: var(--step--1); max-width: 44ch; }

/* --------------------------------------------------------------------------
   21. Editorial pages
   -------------------------------------------------------------------------- */
.prose {
  max-width: var(--maxw-text);
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.72;
  color: #33312d;
}
.prose h2 {
  font-size: var(--step-2);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--ink);
}
.prose h3 {
  font-size: var(--step-1);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}
.prose p + p { margin-top: 1.2em; }
.prose blockquote {
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 1px solid var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--ink);
}
.prose ul { margin: 1.5rem 0; display: grid; gap: 0.75rem; }
.prose ul li { display: flex; gap: 0.9rem; align-items: baseline; font-size: var(--step-0); }
.prose ul li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: translateY(-3px);
}
.prose figure { margin: clamp(2rem, 5vw, 3.5rem) 0; }
.prose figcaption {
  margin-top: 0.85rem;
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.article-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
}
.article-side { display: grid; gap: 1.5rem; align-content: start; }
.article-side div { display: grid; gap: 0.3rem; }
.article-side dt {
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.article-side dd { margin: 0; font-size: var(--step--1); }

.wide-figure { margin-block: clamp(3rem, 6vw, 5rem); }
.wide-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.value-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.value-card { display: grid; gap: 0.9rem; align-content: start; }
.value-card h3 { font-size: var(--step-1); font-family: var(--font-serif); font-weight: 300; }
.value-card p { color: var(--ink-muted); font-size: var(--step--1); }
.section--dark .value-card p { color: var(--stone); }

.team-grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.team-card__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--ivory-deep); margin-bottom: 1.1rem; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
@media (hover: hover) { .team-card:hover .team-card__media img { transform: scale(1.04); } }
.team-card h3 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.team-card p { font-size: var(--step--2); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }

.timeline { display: grid; gap: 0; }
.timeline__item {
  display: grid;
  gap: 0.5rem 2.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .timeline__item { grid-template-columns: 120px minmax(0, 1fr); align-items: baseline; }
}
.timeline__year {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-weight: 300;
  color: var(--gold);
}
.timeline__body h3 { font-size: var(--step-1); font-family: var(--font-serif); font-weight: 300; margin-bottom: 0.35rem; }
.timeline__body p { color: var(--ink-muted); font-size: var(--step--1); max-width: 60ch; }

/* Marquee-free brand strip */
.address-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2rem);
  border-block: 1px solid var(--line-dark);
  font-size: var(--step--2);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 1023px) {
  .mobile-nav { display: flex; }
}

@media (min-width: 1024px) {
  .mobile-nav { display: none; }
}

@media (max-width: 600px) {
  :root { --nav-h: 68px; }
  .hero__media img { object-position: 50% 42%; }
  .detail-hero__media img,
  .page-hero__media img { object-position: 50% 45%; }
  .hero__title { max-width: 100%; }
  .hero__metrics { gap: 1.25rem 2rem; }
  .btn { padding: 0.95rem 1.4rem; }
}

@media (max-width: 400px) {
  :root { --gutter: 1.1rem; }
  .hero__metric strong { font-size: var(--step-0); }
}

/* --------------------------------------------------------------------------
   23. Accessibility & motion preferences
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__media img,
  .hero .fade-up,
  .hero__title .line > span {
    opacity: 1 !important;
    transform: none !important;
  }
  [data-reveal],
  [data-reveal="clip"] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .parallax-media { transform: none !important; }
  .mobile-nav__link { transform: none !important; }
}

@media print {
  .nav, .mobile-nav, .sticky-cta, .lightbox, .modal, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   24. Atmosphere — grain and architectural rules
   ========================================================================== */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.atmosphere__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hairlines on the container grid, only just visible. */
.atmosphere__rules {
  position: absolute;
  inset: 0;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: none;
  justify-content: space-between;
}
@media (min-width: 1100px) { .atmosphere__rules { display: flex; } }
.atmosphere__rules span {
  width: 1px;
  height: 100%;
  background: rgba(17, 17, 17, 0.05);
}

/* ==========================================================================
   25. Contextual cursor
   ========================================================================== */
.has-cursor,
.has-cursor a,
.has-cursor button,
.has-cursor [role="tab"],
.has-cursor .gallery-item { cursor: none; }

.cursor {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.cursor.is-live { opacity: 1; }

.cursor__ring,
.cursor__dot {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor__ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 242, 234, 0.55);
  display: grid;
  place-items: center;
  mix-blend-mode: difference;
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out),
    background-color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.3s var(--ease);
}
.cursor__dot {
  width: 5px;
  height: 5px;
  background: var(--ivory);
  mix-blend-mode: difference;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cursor.is-active .cursor__ring { width: 54px; height: 54px; border-color: rgba(183, 154, 98, 0.9); }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; }
.cursor.is-label .cursor__ring {
  width: 92px;
  height: 92px;
  mix-blend-mode: normal;
  background: rgba(183, 154, 98, 0.92);
  border-color: transparent;
}
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor__label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out);
  white-space: nowrap;
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }

/* ==========================================================================
   26. Split typography
   ========================================================================== */
.sp-mask { display: block; overflow: hidden; }
[data-split="words"] .sp-mask { display: inline-block; vertical-align: top; }
.sp-line,
[data-split="words"] .sp-w {
  display: block;
  transform: translateY(110%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
}
[data-split="words"] .sp-w { display: inline-block; }
.is-shown .sp-line,
[data-split="words"].is-shown .sp-w { transform: translateY(0); }

/* ==========================================================================
   27. Featured — editorial composition
   ========================================================================== */
.editorial { display: grid; gap: clamp(3rem, 6vw, 6rem); }

.feature-lead { position: relative; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }

.feature-lead__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ivory-deep);
}
@media (max-width: 700px) { .feature-lead__media { aspect-ratio: 4 / 5; } }
.feature-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
@media (hover: hover) { .feature-lead:hover .feature-lead__media img { transform: scale(1.035); } }

.feature-lead__index {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.9rem 1.2rem;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: var(--step--2);
  letter-spacing: 0.24em;
}
.feature-lead__badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  padding: 0.5rem 0.9rem;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* The title block laps over the image edge on wide screens. */
.feature-lead__body { display: grid; gap: 1rem; position: relative; }
@media (min-width: 1000px) {
  .feature-lead__body {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 4vw, 4rem);
    margin-top: -4.5rem;
    padding-left: clamp(1.5rem, 4vw, 4rem);
  }
  .feature-lead__title-wrap {
    background: var(--ivory);
    padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.75rem, 3vw, 2.75rem) 0 0;
  }
}
.section--dark .feature-lead__title-wrap { background: var(--charcoal); }

.feature-lead__title {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  transition: color var(--dur-fast) var(--ease);
}
@media (hover: hover) { .feature-lead:hover .feature-lead__title { color: var(--gold); } }
.feature-lead__loc {
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.feature-lead__loc::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.feature-lead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  align-items: baseline;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.feature-lead__meta div { display: grid; gap: 0.3rem; }
.feature-lead__meta .k {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.feature-lead__meta .v {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-weight: 300;
}
.feature-lead__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }

.feature-pair { display: grid; gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 860px) {
  .feature-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .feature-pair > *:nth-child(even) { margin-top: clamp(3rem, 7vw, 7rem); }
}

/* ==========================================================================
   28. Pinned sequence
   ========================================================================== */
.sequence { position: relative; }
.sequence__inner { display: grid; gap: clamp(1.5rem, 3vw, 3.5rem); }
@media (min-width: 1000px) {
  .sequence__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); }
}

.sequence__media {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
  height: min(46vh, 400px);
  z-index: 1;
}
@media (min-width: 1000px) {
  .sequence__media { height: min(74vh, 740px); top: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3rem)); }
}

.sequence__stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--charcoal-soft);
}
.sequence__frame {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--ease-out);
}
.sequence__frame.is-from-above { clip-path: inset(100% 0 0 0); }
.sequence__frame.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.sequence__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out);
}
.sequence__frame.is-active img { transform: scale(1); }

.sequence__counter {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  padding: 0.9rem 1.2rem;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: var(--step--2);
  letter-spacing: 0.24em;
}
.sequence__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 2px;
  background: rgba(245, 242, 234, 0.16);
}
.sequence__progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.sequence__panels { display: grid; }
.sequence__panel {
  display: grid;
  /* Narrow layout: text settles under the pinned image rather than behind it. */
  align-content: end;
  gap: clamp(1rem, 2vw, 1.6rem);
  padding-block: clamp(1.5rem, 4vh, 3rem) clamp(2.5rem, 7vh, 4rem);
  min-height: 76vh;
  opacity: 0.42;
  transition: opacity 0.7s var(--ease);
}
@media (min-width: 1000px) {
  .sequence__panel {
    align-content: center;
    min-height: 88vh;
    padding-block: clamp(3rem, 9vh, 7rem);
  }
}
.sequence__panel.is-current { opacity: 1; }
.sequence__title { font-size: var(--step-3); max-width: 13ch; }
.sequence__desc { color: var(--stone); max-width: 42ch; }

/* ==========================================================================
   29. Horizontal strip (destinations)
   ========================================================================== */
.strip { position: relative; }

.strip__track {
  display: flex;
  gap: clamp(1rem, 1.6vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
  scroll-padding-left: var(--gutter);
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__track.is-dragging { scroll-snap-type: none; }

.strip__item {
  position: relative;
  flex: 0 0 min(78vw, 420px);
  scroll-snap-align: start;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--ivory);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
@media (min-width: 1100px) { .strip__item { flex-basis: 30vw; max-width: 460px; } }

.strip__item img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease-out);
}
.strip__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.55) 38%, rgba(9, 9, 9, 0.08) 72%);
}
@media (hover: hover) { .strip__item:hover img { transform: scale(1.06); } }

.strip__body { padding: clamp(1.5rem, 2.5vw, 2.25rem); display: grid; gap: 0.55rem; width: 100%; }
.strip__index {
  position: absolute;
  top: clamp(1.1rem, 2vw, 1.6rem);
  left: clamp(1.1rem, 2vw, 1.6rem);
  font-size: var(--step--2);
  letter-spacing: 0.24em;
  color: rgba(245, 242, 234, 0.7);
}
.strip__count { font-size: var(--step--2); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.strip__name { font-size: var(--step-2); }
.strip__desc { font-size: var(--step--1); color: rgba(245, 242, 234, 0.76); max-width: 30ch; }
.strip__link::after { content: ""; position: absolute; inset: 0; }

.strip__controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(1.25rem, 2.5vw, 2rem) var(--gutter) 0;
}
.strip__rail { flex: 1; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.strip__rail span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.strip__btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.strip__btn svg { width: 15px; height: 15px; }
.strip__btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.strip__btn:disabled { opacity: 0.3; cursor: default; }
.strip__hint {
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  display: none;
}
@media (min-width: 860px) { .strip__hint { display: block; } }

/* ==========================================================================
   30. Difference — typographic moment
   ========================================================================== */
.manifesto {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.manifesto em { font-style: italic; color: var(--gold-soft); }

.pillar { transition: background-color 0.5s var(--ease); }
@media (hover: hover) and (min-width: 760px) {
  .pillar:hover { background: rgba(245, 242, 234, 0.03); }
  .pillar:hover .pillar__num { color: var(--gold-soft); }
}
.pillar__rule {
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  margin-bottom: 0.35rem;
}
.pillar.is-visible .pillar__rule { transform: scaleX(1); }

/* ==========================================================================
   31. Journal — editorial index with pointer preview
   ========================================================================== */
.jindex { position: relative; }

.jrow {
  position: relative;
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.6s var(--ease-out), color 0.4s var(--ease);
}
.jrow:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .jrow { grid-template-columns: 4.5rem minmax(0, 1fr) 11rem auto; align-items: center; }
}
@media (hover: hover) and (min-width: 860px) {
  .jrow:hover { padding-left: 1.25rem; }
  .jrow:hover .jrow__title { color: var(--gold); }
}
.jrow__num { font-size: var(--step--2); letter-spacing: 0.22em; color: var(--ink-muted); }
.jrow__title {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  transition: color var(--dur-fast) var(--ease);
  max-width: 26ch;
}
.jrow__cat { font-size: var(--step--2); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.jrow__date { font-size: var(--step--2); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.jrow__link::after { content: ""; position: absolute; inset: 0; }

.jpreview {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: clamp(220px, 22vw, 320px);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  display: none;
}
@media (hover: hover) and (min-width: 860px) { .jpreview { display: block; } }
.jpreview.is-visible { opacity: 1; }
.jpreview__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(50% 0 50% 0);
  transition: clip-path 0.65s var(--ease-out);
}
.jpreview__frame.is-active { clip-path: inset(0 0 0 0); }
.jpreview__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   32. Reduced motion — the motion layer resolves to its finished state
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .cursor { display: none; }
  .has-cursor,
  .has-cursor a,
  .has-cursor button,
  .has-cursor [role="tab"],
  .has-cursor .gallery-item { cursor: auto; }
  .sp-line,
  [data-split="words"] .sp-w { transform: none !important; }
  .hero [data-stage],
  .annotation__body { opacity: 1 !important; transform: none !important; }
  .annotation__dot,
  .annotation__dot::after { opacity: 1 !important; transform: none !important; }
  .annotation__line { transform: scaleX(1) !important; }
  .sequence__frame { transition: none; }
  .sequence__panel { opacity: 1; }
  .pillar__rule { transform: scaleX(1) !important; }
  .scroll-cue__line::after { animation: none; transform: translateX(0); }
  .atmosphere__grain { display: none; }
  .hero__media img { opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   33. Detail hero gallery
   ========================================================================== */
.hero-frame {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--ease-out);
}
.hero-frame.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero-frame img,
.hero-frame picture { width: 100%; height: 100%; }
.hero-frame img {
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.05);
  transition: transform 1.8s var(--ease-out);
}
.hero-frame.is-active img { transform: scale(1); }

.hero-thumbs {
  display: none;
  gap: 0.6rem;
  align-items: center;
  justify-self: end;
}
@media (min-width: 760px) { .hero-thumbs { display: flex; } }

.hero-thumb {
  position: relative;
  width: 74px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(245, 242, 234, 0.3);
  background: none;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-thumb:hover { opacity: 0.9; transform: translateY(-3px); }
.hero-thumb[aria-selected="true"] { opacity: 1; border-color: var(--gold); }
.hero-thumbs__count {
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  color: rgba(245, 242, 234, 0.7);
  margin-right: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame { transition: none; }
  .hero-frame img { transform: none; }
}
