/* ==========================================================================
 * JÌNG — Mirror & Realm · Seamless Line-Free Limestone Monograph Stylesheet
 * Register: Honed Limestone · Volcanic Basalt · Tidal Mist · Cormorant Garamond
 * ========================================================================== */

:root {
  --bg-top: #f4f1ea;
  --bg-mid: #eae6de;
  --bg-bottom: #ddd8ce;
  --fg: #191d1a;
  --fg-muted: rgba(25, 29, 26, 0.68);
  --fg-soft: rgba(25, 29, 26, 0.46);
  --mat-bg: rgba(251, 249, 245, 0.86);
  --mat-bg-hover: rgba(253, 251, 248, 0.94);
  --panel-glass: rgba(250, 248, 243, 0.72);
  --panel-soft: rgba(250, 248, 243, 0.52);
  --ease-silk: cubic-bezier(0.19, 1, 0.22, 1);
  --font-editorial: 'Cormorant Garamond', 'Didot', 'Bodoni 72', 'Baskerville', Georgia, serif;
}

body[data-residence="0"] { --bg-mid: #e8dfd0; }
body[data-residence="1"] { --bg-mid: #e3e6da; }
body[data-residence="2"] { --bg-mid: #e6eaeb; }
body[data-residence="3"] { --bg-mid: #ece1db; }
body[data-residence="4"] { --bg-mid: #e0ddd6; }
body[data-residence="5"] { --bg-mid: #dce6e5; }

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

html {
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
}

body {
  min-height: 100%;
  background-color: var(--bg-mid);
  color: var(--fg);
  font-family: var(--font-editorial);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

textarea {
  resize: none;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid rgba(131, 113, 89, 0.56);
  outline-offset: 2px;
}

/* ==========================================================================
   Living Fixed WebGPU Coastal Backdrop (Single Unbroken Field Top-to-Bottom)
   ========================================================================== */

/* Pixel-Exact Coastal Limestone Atmosphere (Inline SSR WebP Matches WebGPU Frame 1 -> Zero Hard-Refresh Flash) */
.gallery-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #eae6de;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse 68% 48% at 80% 34%, rgba(235, 224, 214, 0.44), transparent 72%),
    radial-gradient(ellipse 64% 48% at 16% 54%, rgba(212, 220, 222, 0.42), transparent 70%),
    linear-gradient(to bottom, #f2efe8 0%, #eae6de 38%, #e2ddd4 72%, #d9d5cc 100%);
}

body[data-wing="thermal-terrace"] .gallery-bg {
  background-color: #e5e2db;
}

.gallery-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse 70% 64% at 50% 48%, var(--swatch-mood, transparent) 0%, transparent 74%);
  transition: opacity 0.65s var(--ease-silk);
}

.gallery-bg:not(.has-voxels).has-swatch-mood::before { opacity: 0.42; }

#voxelBackdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.45s var(--ease-silk);
}

.gallery-bg.has-voxels #voxelBackdrop {
  opacity: 1;
}

#voxelBackdrop[hidden] { display: none; }

.page-main,
.grand-footer {
  position: relative;
  z-index: 2;
}

.page-main {
  transition: opacity 0.16s var(--ease-silk);
}

.page-main.is-soft-transitioning {
  opacity: 0.04;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4.5vw, 3.8rem);
}

.container--narrow {
  max-width: 860px;
}

/* ==========================================================================
   Unified Porcelain Gallery Mat Framing (Zero Backdrop-Filter Lag)
   ========================================================================== */

.gallery-mat {
  position: relative;
  display: block;
  margin: 0;
  padding: 9px 9px 0;
  text-decoration: none;
  color: inherit;
  background: var(--mat-bg);
  box-shadow:
    0 28px 60px -32px rgba(24, 28, 25, 0.28),
    0 6px 18px -10px rgba(24, 28, 25, 0.09);
  transition: transform 0.6s var(--ease-silk), box-shadow 0.6s var(--ease-silk), background-color 0.4s var(--ease-silk);
}

a.gallery-mat:hover {
  transform: translateY(-4px);
  background: var(--mat-bg-hover);
  box-shadow:
    0 38px 72px -28px rgba(24, 28, 25, 0.34),
    0 10px 24px -12px rgba(24, 28, 25, 0.13);
}

.gallery-mat > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: #e6e0d5;
}

/* Museum-Grade Honed-Limestone Ground & Silk Editorial Photo Dissolve (Zero Harsh Pop-In) */
.pushin-viewport,
.excursion-img-wrap,
.sanctuary-feature-img,
.offer-preview-img-wrap,
.journal-card-img,
.cape-companion-plate,
.booking-summary-plate,
.dossier-thumb-card,
.article-hero-plate {
  background-color: #e6e0d5;
}

main img.is-img-pending {
  opacity: 0 !important;
}

main img.is-img-revealing {
  transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
  main img.is-img-revealing {
    transition: opacity 0.2s linear !important;
  }
}

.gallery-mat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 9px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.56);
}

.gallery-mat-idx {
  color: #191d1a;
  font-weight: 400;
  white-space: nowrap;
}

.gallery-mat-spec {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

/* ==========================================================================
   Unified Fixed Editorial Header (Line-Free)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: 64px;
  padding: 0 clamp(1.4rem, 2.8vw, 2.6rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: transparent;
  transition: background-color 0.45s var(--ease-silk);
}

body.is-scrolled .site-header,
body:not([data-route="home"]) .site-header {
  background: linear-gradient(
    to bottom,
    rgba(244, 241, 234, 0.96) 0%,
    rgba(244, 241, 234, 0.88) 64%,
    rgba(244, 241, 234, 0) 100%
  );
}

.site-brand {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 0.34em;
  font-weight: 300;
  font-size: clamp(17px, 1.45vw, 22px);
  letter-spacing: 0.24em;
  color: #191d1a;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand-coords {
  margin-left: 14px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(25, 29, 26, 0.5);
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.site-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(25, 29, 26, 0.54);
  white-space: nowrap;
  transition: color 0.35s var(--ease-silk);
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: #191d1a;
}

.header-right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.stage-tool-btn {
  min-width: 36px;
  min-height: 36px;
  padding: 6px;
  border: 0;
  background: none;
  color: rgba(25, 29, 26, 0.56);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--ease-silk);
}

.stage-tool-btn:hover { color: #191d1a; }

.header-reserve-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 0;
  background: rgba(251, 249, 245, 0.74);
  box-shadow: 0 8px 20px -14px rgba(34, 29, 23, 0.20);
  color: rgba(25, 29, 26, 0.84);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.35s var(--ease-silk), color 0.35s var(--ease-silk), box-shadow 0.35s var(--ease-silk), transform 0.35s var(--ease-silk);
}

.header-reserve-btn:hover,
.header-reserve-btn.is-active {
  background: rgba(238, 231, 219, 0.96);
  box-shadow: 0 10px 24px -14px rgba(34, 29, 23, 0.24);
  color: #191d1a;
}

/* ==========================================================================
   WebGPU Sequential Multi-Photo 2.5D Depth Push-In Viewport (Zero Chrome)
   ========================================================================== */

.pushin-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #dfdcd4;
}

.pushin-viewport > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-silk);
}

.pushin-viewport:not(.has-webgpu-pushin):hover > img {
  transform: scale(1.045);
}

.webgpu-pushin-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.pushin-viewport.has-webgpu-pushin .webgpu-pushin-canvas {
  opacity: 1;
}

/* ==========================================================================
   Section 1: Airy Native Scroll-Snap Horizontal Exhibition Hero
   ========================================================================== */

.hero-stage-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(1.6rem, 3.2vw, 3rem) 32px;
}

.hero-stage-inner {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-carousel-viewport {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* Generous internal shadow canvas compensated by negative vertical margins so hover shadows NEVER clip */
  margin-top: -36px;
  margin-bottom: -56px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-right: 4vw;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  transform: translateY(-1.8vh);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.36) 7%,
    #000 20%,
    #000 72%,
    rgba(0, 0, 0, 0.16) 82%,
    transparent 89%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.36) 7%,
    #000 20%,
    #000 72%,
    rgba(0, 0, 0, 0.16) 82%,
    transparent 89%
  );
}

.hero-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.hero-carousel-viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.hero-carousel-viewport.is-teleporting {
  scroll-snap-type: none;
}

.hero-carousel-viewport.is-teleporting .hero-slide {
  transition: none !important;
}

.hero-carousel-track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6.5vw, 96px);
  width: max-content;
  /* 64px top & 92px bottom guarantees the soft floating gravity shadow never touches overflow-y clip bounds */
  padding: 64px calc(50vw - min(23vw, 340px)) 92px;
}

.hero-slide {
  flex: 0 0 min(46vw, 680px);
  width: min(46vw, 680px);
  max-width: calc(100vw - 2.4rem);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  perspective: 1400px;
  opacity: 0.34;
  transform: scale(0.86);
  transition: opacity 0.55s var(--ease-silk), transform 0.65s var(--ease-silk);
}

.hero-slide.is-current {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.stage-plate {
  padding: 10px 10px 0;
  cursor: pointer;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  box-shadow:
    0 24px 46px -22px rgba(24, 28, 25, 0.24),
    0 6px 18px -10px rgba(24, 28, 25, 0.09);
  transition: transform 0.55s var(--ease-silk), box-shadow 0.55s var(--ease-silk), background-color 0.4s var(--ease-silk);
  will-change: transform;
}

.hero-slide.is-current .stage-plate:hover {
  background: var(--mat-bg-hover);
  box-shadow:
    0 30px 54px -22px rgba(24, 28, 25, 0.30),
    0 8px 22px -10px rgba(24, 28, 25, 0.12);
}

.hero-slide:not(.is-current) .stage-plate {
  box-shadow: 0 18px 36px -22px rgba(24, 28, 25, 0.18);
}

.stage-plate-viewport {
  aspect-ratio: 16 / 9;
  max-height: 46svh;
}

/* Right Wing & Six Realms Rail (Pure Typography & Quiet Mineral Dot — Zero Dashes) */
.hero-rail {
  position: absolute;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 8;
  text-shadow: 0 1px 14px rgba(246, 243, 237, 0.92);
}

.look-series { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-bottom: 18px; }
.look-series-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 26px; padding: 2px 0;
  border: 0; background: transparent; color: rgba(25, 29, 26, 0.42);
  font: 400 10px var(--font-editorial); letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; transition: color 0.35s var(--ease-silk);
}
.look-series-button[aria-pressed='true'] { color: #191d1a; }
.look-series-num { font-size: 9px; opacity: 0.62; }
.look-series-looks:not([hidden]) { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.look-tick {
  min-width: 44px; height: 34px; border: 0; background: none; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: flex-end; gap: 9px;
}
.look-tick-label { font-family: var(--font-editorial); font-size: 13px; letter-spacing: 0.1em; color: rgba(25, 29, 26, 0.48); transition: color 0.35s var(--ease-silk), transform 0.35s var(--ease-silk); }
.look-tick:hover .look-tick-label, .look-tick.is-active .look-tick-label { color: #191d1a; font-style: italic; transform: translateX(-3px); }
.look-tick-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--tick-color, #191d1a); opacity: 0; transform: scale(0.5); transition: opacity 0.45s var(--ease-silk), transform 0.45s var(--ease-silk); }
.look-tick.is-active .look-tick-dot { opacity: 1; transform: scale(1); }
.look-tick-line { display: none; }

/* Left Caption & Center Horizontal Controls */
.hero-caption {
  position: absolute;
  left: 0;
  bottom: 22px;
  z-index: 8;
  max-width: 310px;
}

.look-caption-en {
  display: block; font-style: italic; font-weight: 300;
  font-size: clamp(20px, 1.9vw, 27px); letter-spacing: 0.05em;
  color: #191d1a; line-height: 1.1; text-decoration: none;
}
.look-caption-subtitle { display: block; margin-top: 3px; font-size: 11.5px; letter-spacing: 0.1em; color: rgba(25, 29, 26, 0.68); }
.look-caption-view { display: block; margin-top: 3px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(25, 29, 26, 0.54); }
.look-swatches { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.look-swatch {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  border: 0; background: var(--swatch-color);
  box-shadow: 0 1px 4px rgba(25, 29, 26, 0.18);
  cursor: pointer; transition: transform 0.3s var(--ease-silk), box-shadow 0.3s var(--ease-silk);
}
.look-swatch::after { content: ""; position: absolute; inset: -7px; }
.look-swatch:hover, .look-swatch.is-pinned { transform: scale(1.42); box-shadow: 0 0 0 2px rgba(25, 29, 26, 0.32); }
.look-caption-actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.look-caption-dossier {
  padding: 2px 0;
  font-size: 10px; letter-spacing: 0.17em; text-transform: uppercase;
  text-decoration: none; color: rgba(25, 29, 26, 0.84);
  transition: opacity 0.3s var(--ease-silk);
}
.look-caption-dossier:hover { opacity: 0.56; }
.look-caption-dossier--subtle { color: rgba(25, 29, 26, 0.54); }

.hero-arrows {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.stage-arrow {
  border: 0; background: none; color: #2c332e; min-width: 38px; min-height: 38px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-silk);
}
#heroPrevBtn:hover { transform: translateX(-4px); }
#heroNextBtn:hover { transform: translateX(4px); }
.stage-step-dots { display: inline-flex; align-items: center; gap: 10px; }
.stage-step-dot {
  position: relative; width: 4.5px; height: 4.5px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(25, 29, 26, 0.28); cursor: pointer; transition: transform 0.3s var(--ease-silk), background-color 0.3s var(--ease-silk);
}
.stage-step-dot::after { content: ""; position: absolute; inset: -9px; }
.stage-step-dot.is-active, .stage-step-dot:hover { background: #191d1a; transform: scale(1.45); }

/* Ceremonial Cotton-Paper Envelope Availability Desk (Opens Section 2 Below the Fold) */
.floating-book-bar.envelope-desk {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto clamp(4.6rem, 9vh, 6.6rem);
  padding: 0 22px 24px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, #fcfaf5 0%, #f8f4ec 58%, #f4efe5 100%);
  box-shadow:
    0 38px 84px -38px rgba(28, 24, 18, 0.24),
    0 8px 22px -12px rgba(28, 24, 18, 0.09),
    inset 0 0 0 1px rgba(131, 113, 89, 0.14);
}

.floating-book-bar.envelope-desk::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(131, 113, 89, 0.14);
  pointer-events: none;
  z-index: 1;
}

.envelope-flap-crown {
  position: relative;
  z-index: 2;
  margin: 0 -22px;
  height: 54px;
  pointer-events: none;
}

.envelope-fold-svg,
.envelope-letter-fold {
  display: block;
  width: 100%;
  height: 100%;
}

.envelope-wax-seal {
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f7f2e8 0%, #e7dece 64%, #d7cab5 100%);
  box-shadow:
    0 6px 16px -5px rgba(58, 47, 34, 0.30),
    0 1px 3px rgba(58, 47, 34, 0.14),
    inset 0 1px 2px rgba(255, 253, 249, 0.92),
    inset 0 -1px 3px rgba(102, 86, 63, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.envelope-wax-seal::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(114, 96, 72, 0.28);
}

.envelope-seal-monogram {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  color: #5b4c39;
  line-height: 1;
  transform: translateY(-0.5px);
}

.envelope-desk-salutation {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 16px 18px;
}

.envelope-desk-kicker {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(96, 82, 64, 0.66);
}

.envelope-desk-greeting {
  margin-top: 6px;
  font-style: italic;
  font-weight: 300;
  font-size: 1.14rem;
  letter-spacing: 0.02em;
  color: rgba(25, 29, 26, 0.84);
}

.envelope-desk-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.86fr) minmax(0, 1.48fr) auto;
  align-items: center;
  padding: 12px 10px 4px;
  border-top: 1px solid rgba(131, 113, 89, 0.14);
}

.book-bar-field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 20px;
}

.book-bar-field + .book-bar-field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(131, 113, 89, 0.16);
}

.book-bar-field > span {
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(88, 76, 60, 0.60);
}

.book-bar-field input,
.book-bar-field select {
  border: 0;
  background: transparent;
  color: #171b18;
  font-family: var(--font-editorial);
  font-size: 1.04rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  outline: none;
  width: 100%;
}

.book-bar-submit {
  padding: 0 30px;
  min-height: 50px;
  margin-left: 10px;
  border: 0;
  background: rgba(235, 227, 213, 0.94);
  box-shadow: 0 12px 26px -18px rgba(48, 39, 28, 0.24);
  color: #1f1c18;
  font-family: var(--font-editorial);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease-silk), color 0.35s var(--ease-silk), transform 0.35s var(--ease-silk), box-shadow 0.35s var(--ease-silk);
}

.book-bar-submit:hover {
  background: rgba(226, 216, 199, 1);
  color: #14120f;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -18px rgba(48, 39, 28, 0.30);
}

/* ==========================================================================
   Seamless Unbroken Editorial Bands & Subpage Shells (Zero Lines, Zero Slabs)
   ========================================================================== */

.editorial-band {
  position: relative;
  padding: clamp(5.2rem, 10vh, 8rem) 0;
  background: transparent;
}

.hero-stage-section + .editorial-band {
  padding-top: clamp(3rem, 6vh, 4.8rem);
}

.subpage-shell {
  min-height: calc(100svh - 240px);
  padding: clamp(6.6rem, 11vh, 8rem) 0 clamp(5rem, 9vh, 7.2rem);
  background: transparent;
}

.page-header { max-width: 720px; margin-bottom: clamp(2.2rem, 4.2vh, 3.2rem); }
.page-header--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 36px; flex-wrap: wrap; }
.page-header--split > div:first-child { max-width: 680px; }
.page-eyebrow { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(25, 29, 26, 0.54); margin-bottom: 8px; }
.page-title, .editorial-h1 {
  font-weight: 300; font-style: italic;
  font-size: clamp(1.9rem, 2.9vw, 2.75rem); line-height: 1.12; color: #171b18;
}
.page-lead { margin-top: 14px; font-size: clamp(1.02rem, 1.25vw, 1.16rem); font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.80); }

.page-link-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0;
  background: none; color: #191d1a;
  font-family: var(--font-editorial); font-size: 11px; letter-spacing: 0.17em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: opacity 0.3s var(--ease-silk), transform 0.35s var(--ease-silk);
}
.page-link-btn:hover { opacity: 0.58; transform: translateX(3px); }

/* Brand Manifesto Split */
.manifesto-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.manifesto-prose { display: flex; flex-direction: column; gap: 16px; }
.manifesto-prose p { font-size: 1.1rem; font-weight: 300; line-height: 1.84; color: rgba(25, 29, 26, 0.86); }
.manifesto-prose .page-link-btn { align-self: flex-start; margin-top: 6px; }

/* ==========================================================================
   Six Realms Grid & Cards (Floating Porcelain Mats + Zero Lines)
   ========================================================================== */

.home-wing-block + .home-wing-block,
.archive-section + .archive-section {
  margin-top: clamp(4.2rem, 8.5vh, 6.2rem);
}

.archive-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: clamp(2rem, 4.4vw, 4.4rem);
  align-items: start;
}

.archive-index { position: sticky; top: 92px; }
.archive-index-kicker { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); margin-bottom: 14px; }
.archive-index-list { display: flex; flex-direction: column; gap: 8px; }
.archive-index-item {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: baseline; gap: 8px;
  padding: 8px 0;
  text-decoration: none; color: rgba(25, 29, 26, 0.58); transition: color 0.3s var(--ease-silk), transform 0.3s var(--ease-silk);
}
.archive-index-item:hover, .archive-index-item.is-active { color: #171b18; transform: translateX(4px); }
.archive-index-num, .archive-index-count { font-size: 10px; letter-spacing: 0.14em; opacity: 0.6; }
.archive-index-label-wrap { display: flex; flex-direction: column; gap: 2px; }
.archive-index-label { font-size: 1.05rem; }
.archive-index-item.is-active .archive-index-label { font-style: italic; }
.archive-index-sub { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.archive-index-note { margin-top: 22px; font-size: 0.9rem; font-style: italic; line-height: 1.6; color: rgba(25, 29, 26, 0.62); }

.archive-section-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 4px; }
.archive-section-num { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(25, 29, 26, 0.52); }
.archive-section-title { font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.25vw, 1.95rem); color: #171b18; }
.archive-section-count { margin-left: auto; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(25, 29, 26, 0.52); }
.archive-section-lead { margin: 10px 0 clamp(2rem, 3.6vh, 2.8rem); max-width: 680px; font-size: 1rem; font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.78); }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.6rem, 4.8vw, 4rem) clamp(1.8rem, 3vw, 2.8rem);
}

.archive-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.6vw, 3rem) clamp(1.4rem, 2.4vw, 2.2rem);
}

.realm-card--compact .archive-name { font-size: 1.24rem; }
.realm-card--compact .archive-rate { font-size: 10.5px; }
.realm-card--compact .archive-meta { padding: 13px 2px 0; }

/* A Day at JÌNG — 24-Hour Coastal Sanctuary Rhythm */
.rhythm-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.rhythm-step {
  padding: 22px 20px 24px;
  background: var(--panel-glass);
  box-shadow: 0 20px 44px -32px rgba(24, 28, 25, 0.18);
  display: flex;
  flex-direction: column;
}

.rhythm-time {
  font-weight: 300;
  font-size: clamp(1.6rem, 2.1vw, 2.05rem);
  line-height: 1;
  color: #171b18;
}

.rhythm-chapter {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.5);
}

.rhythm-title {
  margin-top: 12px;
  font-style: italic;
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.28;
  color: #171b18;
}

.rhythm-copy {
  margin-top: 10px;
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.66;
  color: rgba(25, 29, 26, 0.78);
}

/* Homepage Compact Arrival Strip Beneath Cape Atlas */
.arrival-mini-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.arrival-mini-card {
  padding: 20px 22px;
  background: var(--panel-glass);
  box-shadow: 0 20px 44px -32px rgba(24, 28, 25, 0.18);
}

.arrival-mini-card h4 {
  font-style: italic;
  font-weight: 300;
  font-size: 1.28rem;
  color: #171b18;
  margin-bottom: 4px;
}

.arrival-mini-dur {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.62);
}

.arrival-mini-note {
  margin-top: 8px;
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(25, 29, 26, 0.66);
}

/* Exclusive 14-Key Buyout Editorial Strip */
.buyout-editorial-bar {
  margin-top: clamp(2.6rem, 5vh, 3.8rem);
  padding: clamp(1.8rem, 3.2vw, 2.6rem) clamp(1.8rem, 3.5vw, 3rem);
  background: var(--mat-bg);
  box-shadow: 0 26px 56px -34px rgba(24, 28, 25, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}

.buyout-editorial-bar > div:first-child { max-width: 680px; }
.buyout-bar-title { font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.3vw, 2rem); color: #171b18; }
.buyout-bar-copy { margin-top: 8px; font-size: 0.99rem; font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.8); }
.buyout-bar-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Press Recognition, Makers Credits & Private Dispatch Lead Capture */
.press-makers-block {
  margin-top: clamp(4rem, 8vh, 5.8rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.4rem, 5vh, 3.4rem);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.8rem);
}

.press-quote-card {
  margin: 0;
  padding: 24px 26px;
  background: var(--panel-glass);
  box-shadow: 0 20px 44px -32px rgba(24, 28, 25, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.press-quote-text {
  font-style: italic;
  font-weight: 300;
  font-size: 1.12rem;
  line-height: 1.62;
  color: #171b18;
}

.press-quote-pub {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.54);
}

.makers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.8rem);
}

.maker-credit h4 {
  font-style: italic;
  font-weight: 300;
  font-size: 1.24rem;
  color: #171b18;
  margin-bottom: 5px;
}

.maker-credit p {
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(25, 29, 26, 0.74);
}

.dispatch-panel {
  margin-top: clamp(3.6rem, 7vh, 5rem);
  padding: clamp(2rem, 3.6vw, 2.8rem) clamp(1.8rem, 3.6vw, 3.2rem);
  background: var(--mat-bg);
  box-shadow: 0 26px 56px -34px rgba(24, 28, 25, 0.24);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px 40px;
  align-items: center;
}

.dispatch-title { font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.3vw, 2rem); color: #171b18; }
.dispatch-lead { margin-top: 8px; font-size: 0.97rem; font-weight: 300; line-height: 1.66; color: rgba(25, 29, 26, 0.78); }

.dispatch-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.dispatch-form input {
  padding: 13px 16px;
  border: 0;
  background: rgba(242, 238, 231, 0.8);
  color: #171b18;
  font-family: var(--font-editorial);
  font-size: 1rem;
  outline: none;
}

.dispatch-form input:focus { background: #ffffff; }
.dispatch-feedback { grid-column: 1 / -1; margin-top: 4px; font-size: 0.94rem; font-style: italic; color: rgba(25, 29, 26, 0.78); }

/* Subpage Additions: /realms Comparison, /realms/<slug> Policies, /sanctuary Menus & Rituals, /atlas Excursions & Arrivals */
.compare-realm-name { font-style: italic; font-size: 1.14rem; color: #171b18; text-decoration: none; }
.comparison-table-wrap { margin-top: 0; }
.comparison-table-wrap td:nth-child(3),
.comparison-table-wrap td:nth-child(7),
.comparison-table-wrap td:nth-child(8) { white-space: nowrap; }

.dossier-policies-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dossier-policy-card {
  padding: 20px 24px;
  background: var(--panel-glass);
  box-shadow: 0 20px 44px -32px rgba(24, 28, 25, 0.16);
}

.dossier-policy-card dt {
  font-size: 9.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.52);
  margin-bottom: 6px;
}

.dossier-policy-card dd {
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.68;
  color: rgba(25, 29, 26, 0.84);
}

.tasting-menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.8rem, 3.6vw, 3rem);
  align-items: start;
}

.tasting-courses-panel,
.tasting-cellar-panel {
  padding: 28px 30px;
  background: var(--mat-bg);
  box-shadow: 0 24px 52px -32px rgba(24, 28, 25, 0.22);
}

.tasting-courses-panel { display: flex; flex-direction: column; gap: 20px; }
.tasting-course-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.tasting-course-num { font-style: italic; font-size: 1.05rem; color: rgba(25, 29, 26, 0.48); }
.tasting-course-row h4 { font-style: italic; font-weight: 300; font-size: 1.24rem; color: #171b18; margin-bottom: 3px; }
.tasting-course-row p { font-size: 0.95rem; font-weight: 300; line-height: 1.6; color: rgba(25, 29, 26, 0.76); }

.cellar-stack { margin-top: 16px; display: flex; flex-direction: column; gap: 20px; }
.cellar-item h4 { font-style: italic; font-weight: 300; font-size: 1.15rem; color: #171b18; margin-bottom: 4px; }
.cellar-item p { font-size: 0.93rem; font-weight: 300; line-height: 1.6; color: rgba(25, 29, 26, 0.76); }

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ritual-card {
  padding: 24px 26px;
  background: var(--panel-glass);
  box-shadow: 0 20px 44px -32px rgba(24, 28, 25, 0.18);
}

.ritual-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ritual-price { font-style: italic; font-size: 1.18rem; color: #171b18; }
.ritual-card h4 { font-style: italic; font-weight: 300; font-size: 1.32rem; color: #171b18; margin: 4px 0 8px; }
.ritual-card p { font-size: 0.96rem; font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.8); }

.excursion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 2.8vw, 2.4rem);
}

.excursion-card { display: flex; flex-direction: column; }
.excursion-img-wrap { overflow: hidden; }
.excursion-img-wrap img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 0.75s var(--ease-silk); }
.excursion-mat:hover .excursion-img-wrap img { transform: scale(1.035); }
.excursion-body { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.excursion-body h3 { font-style: italic; font-weight: 300; font-size: 1.38rem; color: #171b18; line-height: 1.24; margin-bottom: 9px; }
.excursion-body p { font-size: 0.96rem; font-weight: 300; line-height: 1.66; color: rgba(25, 29, 26, 0.8); flex: 1; margin-bottom: 14px; }
.excursion-body .page-link-btn { align-self: flex-start; }

.arrival-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.arrival-mode-card {
  padding: 24px 26px;
  background: var(--mat-bg);
  box-shadow: 0 22px 48px -32px rgba(24, 28, 25, 0.2);
  display: flex;
  flex-direction: column;
}

.arrival-mode-card h3 { font-style: italic; font-weight: 300; font-size: 1.4rem; color: #171b18; margin-bottom: 4px; }
.arrival-mode-dur { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(25, 29, 26, 0.56); margin-bottom: 12px; }
.arrival-mode-copy { font-size: 0.96rem; font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.82); flex: 1; }
.arrival-mode-note { margin-top: 14px; font-size: 0.9rem; font-style: italic; color: rgba(25, 29, 26, 0.62); }

.realm-card { display: flex; flex-direction: column; }
.realm-card-viewport { aspect-ratio: 16 / 10; }

.archive-meta { padding: 15px 4px 0; }
.archive-meta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.archive-meta-row--sub { margin-top: 4px; }
.archive-meta-row--foot { margin-top: 11px; align-items: center; }
.archive-name { font-style: italic; font-weight: 400; font-size: 1.38rem; color: #171b18; text-decoration: none; }
.archive-rate { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(25, 29, 26, 0.78); }
.archive-sub { font-size: 12px; letter-spacing: 0.05em; color: rgba(25, 29, 26, 0.66); }
.archive-swatches { display: flex; align-items: center; gap: 7px; }
.archive-swatch { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 1px 3px rgba(25, 29, 26, 0.16); }
.archive-card-actions { display: inline-flex; align-items: center; gap: 14px; }
.archive-detail-link { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: rgba(25, 29, 26, 0.62); transition: color 0.3s var(--ease-silk); }
.archive-detail-link:hover, .archive-detail-link--strong { color: #171b18; }

/* ==========================================================================
   Sanctuary Dual Feature, Borderless Offers, Journal & Direct Privileges
   ========================================================================== */

.sanctuary-dual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.6rem); }
.sanctuary-feature-mat { margin-bottom: 18px; }
.sanctuary-feature-img { overflow: hidden; }
.sanctuary-feature-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 0.8s var(--ease-silk); }
.sanctuary-feature-mat:hover .sanctuary-feature-img img { transform: scale(1.03); }
.sanctuary-feature h3 { font-style: italic; font-weight: 300; font-size: 1.58rem; margin-bottom: 8px; padding: 0 4px; }
.sanctuary-feature p { font-size: 1.02rem; font-weight: 300; line-height: 1.76; color: rgba(25, 29, 26, 0.82); padding: 0 4px; }

.offers-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.8rem, 3vw, 2.6rem); }
.offer-preview-card { display: flex; flex-direction: column; }
.offer-preview-img-wrap { overflow: hidden; }
.offer-preview-img-wrap img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 0.75s var(--ease-silk); }
.offer-preview-mat:hover .offer-preview-img-wrap img { transform: scale(1.04); }
.offer-preview-body { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.offer-preview-title { font-style: italic; font-weight: 300; font-size: 1.46rem; color: #171b18; line-height: 1.2; }
.offer-preview-copy { margin: 10px 0 16px; font-size: 0.98rem; font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.80); flex: 1; }
.offer-preview-body .page-link-btn { align-self: flex-start; }

.offers-stack { display: flex; flex-direction: column; gap: clamp(3.5rem, 7vh, 5.5rem); }
.offer-spread { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 4.4vw, 4.2rem); align-items: center; }
.offer-spread--reverse .offer-spread-img { order: 2; }
.offer-spread-title { font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.offer-spread-season { margin: 6px 0 14px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(25, 29, 26, 0.58); }
.offer-inclusions { margin-top: 18px; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; font-size: 0.98rem; line-height: 1.6; color: rgba(25, 29, 26, 0.84); }

.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.8rem, 3vw, 2.6rem); }
.journal-card-img { overflow: hidden; }
.journal-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 0.75s var(--ease-silk); }
.journal-card-mat:hover .journal-card-img img { transform: scale(1.035); }
.journal-card-title { font-style: italic; font-weight: 300; font-size: 1.34rem; line-height: 1.25; margin-bottom: 8px; }
.journal-card-title a { color: #171b18; text-decoration: none; }
.journal-card-title a:hover { opacity: 0.66; }
.journal-card-excerpt { font-size: 0.97rem; font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.80); }

.journal-list { display: flex; flex-direction: column; gap: 3.6rem; }
.journal-feature-row { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2.8rem; align-items: center; }
.journal-feature-title { font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.18; margin-bottom: 12px; }
.journal-feature-title a { color: #171b18; text-decoration: none; }
.journal-author { margin: 12px 0 18px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(25, 29, 26, 0.56); }

.article-header { margin-bottom: 2rem; }
.article-title { font-style: italic; font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; margin-bottom: 14px; }
.article-subtitle { font-size: 1.2rem; font-weight: 300; line-height: 1.62; color: rgba(25, 29, 26, 0.78); }
.article-hero-plate { margin-bottom: 2.4rem; padding-bottom: 9px; }
.article-hero-plate img { aspect-ratio: 16 / 9; }
.article-body { display: flex; flex-direction: column; gap: 1.5rem; }
.article-para { font-size: 1.16rem; font-weight: 300; line-height: 1.88; color: rgba(25, 29, 26, 0.88); }
.article-cta-box {
  margin-top: 3.5rem;
  padding: 30px 34px;
  background: var(--mat-bg);
  box-shadow: 0 22px 48px -30px rgba(24, 28, 25, 0.22);
}
.article-cta-box h3 { font-style: italic; font-weight: 300; font-size: 1.6rem; }

.privileges-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem; }
.privilege-item { padding-top: 6px; }
.privilege-num { font-size: 10px; letter-spacing: 0.18em; color: rgba(25, 29, 26, 0.48); }
.privilege-item h4 { font-style: italic; font-weight: 400; font-size: 1.28rem; margin: 6px 0 9px; }
.privilege-item p { font-size: 0.97rem; font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.80); }

/* ==========================================================================
   Residence Dossier, Line-Free Balanced Cape Atlas, Floorplan & Monograph
   ========================================================================== */

.dossier-crumbs { display: flex; align-items: center; gap: 12px; margin-bottom: 2rem; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.56); }
.dossier-crumb-link { color: rgba(25, 29, 26, 0.84); text-decoration: none; }
.dossier-crumb-num { margin-left: auto; }

.dossier-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2.2rem, 5vw, 4.8rem); align-items: start; }
.dossier-viewer { display: flex; flex-direction: column; gap: 16px; }
.dossier-figure-stage { aspect-ratio: 16 / 10; cursor: zoom-in; }
.dossier-tabs { display: flex; align-items: center; justify-content: center; gap: 26px; }
.dossier-tab {
  padding: 6px 2px; border: 0; background: none;
  font-family: var(--font-editorial); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(25, 29, 26, 0.48); cursor: pointer;
  transition: color 0.3s var(--ease-silk);
}
.dossier-tab.is-active, .dossier-tab:hover { color: #171b18; font-style: italic; }
.dossier-thumb-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dossier-thumb-card {
  display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 7px; border: 0;
  background: var(--panel-glass); text-align: left; cursor: pointer; opacity: 0.72;
  box-shadow: 0 12px 28px -20px rgba(24, 28, 25, 0.22);
  transition: opacity 0.3s var(--ease-silk), transform 0.3s var(--ease-silk), background-color 0.3s var(--ease-silk);
}
.dossier-thumb-card.is-active, .dossier-thumb-card:hover { opacity: 1; background: var(--mat-bg-hover); transform: translateY(-2px); }
.dossier-thumb-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.dossier-thumb-label { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(25, 29, 26, 0.64); }

.dossier-title { font-weight: 300; font-style: italic; font-size: clamp(2.2rem, 3.8vw, 3.3rem); line-height: 1.05; color: #171b18; }
.dossier-subtitle { margin-top: 8px; font-size: 13px; letter-spacing: 0.12em; color: rgba(25, 29, 26, 0.62); }
.dossier-metric-strip {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--panel-glass);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}
.dossier-metric-cell dt { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); margin-bottom: 3px; }
.dossier-metric-cell dd { font-size: 0.98rem; color: #171b18; }
.dossier-story-block { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.dossier-story { font-size: 1.05rem; font-weight: 300; line-height: 1.82; color: rgba(25, 29, 26, 0.86); }
.dossier-palette { margin-top: 24px; }
.dossier-section-kicker { display: block; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); margin-bottom: 12px; }
.dossier-palette-row { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.dossier-swatch-item { display: inline-flex; align-items: center; gap: 9px; padding: 2px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.dossier-swatch-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 2px 8px rgba(25, 29, 26, 0.14); }
.dossier-swatch-meta { display: flex; flex-direction: column; }
.dossier-swatch-name { font-size: 13px; color: #171b18; line-height: 1.15; }
.dossier-swatch-hex { font-size: 9px; letter-spacing: 0.14em; color: rgba(25, 29, 26, 0.52); }

.dossier-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 26px; }
.dossier-btn-primary {
  display: inline-flex; align-items: center; padding: 13px 26px;
  border: 0;
  background: rgba(235, 227, 213, 0.94);
  box-shadow: 0 12px 26px -18px rgba(48, 39, 28, 0.24);
  color: #1f1c18; font-family: var(--font-editorial);
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color 0.3s var(--ease-silk), color 0.3s var(--ease-silk), transform 0.3s var(--ease-silk), box-shadow 0.3s var(--ease-silk);
}
.dossier-btn-primary:hover {
  background: rgba(226, 216, 199, 1);
  color: #14120f;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -18px rgba(48, 39, 28, 0.30);
}
.dossier-btn-secondary {
  display: inline-flex; padding: 6px 0; border: 0;
  background: none; color: #171b18; font-family: var(--font-editorial);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: opacity 0.3s var(--ease-silk);
}
.dossier-btn-secondary:hover { opacity: 0.58; }

.dossier-textile { margin-top: clamp(4.2rem, 8.5vh, 6.8rem); }
.dossier-textile-head { max-width: 640px; margin-bottom: 2.4rem; }
.dossier-textile-title { font-weight: 300; font-style: italic; font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
.dossier-textile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(2.2rem, 5vw, 4.6rem); align-items: start; }
.dossier-textile-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 2.2rem; }
.dossier-spec-label { font-size: 10px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(25, 29, 26, 0.52); margin-bottom: 6px; }
.dossier-spec-copy { font-size: 0.97rem; font-weight: 300; line-height: 1.74; color: rgba(25, 29, 26, 0.84); }
.dossier-inline-link { grid-column: 1 / -1; justify-self: start; margin-top: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: #171b18; transition: opacity 0.3s var(--ease-silk); }
.dossier-inline-link:hover { opacity: 0.6; }

.dossier-board-col { position: sticky; top: 92px; }
.floorplan-board {
  padding: 22px 24px 22px;
  background: var(--mat-bg);
  box-shadow: 0 24px 52px -30px rgba(24, 28, 25, 0.24);
}
.modular-craft-meta { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(25, 29, 26, 0.54); margin-bottom: 14px; }
.floorplan-svg { width: 100%; height: auto; display: block; }
.floorplan-zone-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.floorplan-zone-item {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: baseline; gap: 10px;
  font-size: 0.94rem; padding: 7px 10px; margin: 0 -10px; cursor: pointer;
  transition: background-color 0.24s var(--ease-silk), transform 0.24s var(--ease-silk), color 0.24s var(--ease-silk);
}
.floorplan-zone-item:hover,
.floorplan-zone-item.is-active {
  background: rgba(235, 227, 213, 0.56);
  transform: translateX(3px);
}
.floorplan-zone-item.is-active .floorplan-zone-code,
.floorplan-zone-item:hover .floorplan-zone-code {
  color: #7c6852;
}
.floorplan-zone-code { font-size: 10px; letter-spacing: 0.14em; color: rgba(25, 29, 26, 0.48); transition: color 0.24s var(--ease-silk); }
.floorplan-zone-area { font-size: 10.5px; letter-spacing: 0.1em; color: rgba(25, 29, 26, 0.58); }

.floorplan-zone-tag { cursor: pointer; outline: none; }
.floorplan-zone-bg {
  fill: rgba(235, 227, 213, 0);
  stroke: rgba(131, 113, 89, 0);
  stroke-width: 0.9;
  transition: fill 0.26s var(--ease-silk), stroke 0.26s var(--ease-silk);
}
.floorplan-zone-tag:hover .floorplan-zone-bg,
.floorplan-zone-tag.is-active .floorplan-zone-bg {
  fill: rgba(235, 227, 213, 0.86);
  stroke: rgba(131, 113, 89, 0.46);
}
.floorplan-zone-tag.is-active .floorplan-zone-num { fill: #7c6852; }
.floorplan-zone-tag.is-active .floorplan-zone-lbl { fill: #191d1a; }

.dossier-pager { margin-top: clamp(4.2rem, 8vh, 6rem); display: flex; justify-content: space-between; gap: 20px; }
.dossier-pager-item { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #191d1a; }
.dossier-pager-item--next { text-align: right; }
.dossier-pager-dir { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); }
.dossier-pager-name { font-style: italic; font-size: 1.5rem; }

/* Cape Telemetry & Symmetrically Balanced Topographic Atlas (Zero Stray Lines) */
.cape-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 22px;
  padding: 20px 26px;
  background: var(--panel-glass);
  box-shadow: 0 20px 44px -30px rgba(24, 28, 25, 0.18);
}
.cape-telemetry-cell dt { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); margin-bottom: 4px; }
.cape-telemetry-cell dd { font-size: 1rem; color: #171b18; }

.atelier-section { padding: clamp(3.2rem, 6.4vh, 5rem) 0 0; }
.atelier-chapter { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); margin-bottom: 8px; }
.atelier-heading { font-weight: 300; font-style: italic; font-size: clamp(1.55rem, 2.4vw, 2.15rem); color: #171b18; }
.atelier-atlas-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; margin-bottom: 2rem; }

.cape-atlas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.94fr);
  gap: clamp(1.6rem, 3vw, 2.5rem);
  align-items: stretch;
}

.cape-map-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cape-map-mat {
  padding: 10px 10px 0;
}

.cape-map-viewport {
  background: rgba(253, 251, 247, 0.72);
  padding: 10px;
}

.cape-map-svg { width: 100%; height: auto; display: block; }
.cape-map-pin { cursor: pointer; outline: none; }

.cape-survey-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  padding: 18px 22px;
  background: var(--panel-glass);
  box-shadow: 0 20px 44px -30px rgba(24, 28, 25, 0.18);
}

.cape-survey-strip dt {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.5);
  margin-bottom: 4px;
}

.cape-survey-strip dd {
  font-size: 0.94rem;
  line-height: 1.44;
  color: #171b18;
}

.cape-companion-card {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
  padding: 12px;
  background: var(--mat-bg);
  box-shadow: 0 26px 54px -32px rgba(24, 28, 25, 0.24);
}

.cape-companion-plate {
  position: relative;
  overflow: hidden;
  min-height: 196px;
  background: #dfdcd4;
}

.cape-companion-plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-silk);
}

.cape-companion-card:hover .cape-companion-plate img {
  transform: scale(1.03);
}

.cape-companion-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 10px 8px 2px;
}

.cape-companion-title {
  font-style: italic;
  font-weight: 300;
  font-size: 1.32rem;
  line-height: 1.18;
  color: #171b18;
  margin-bottom: 12px;
}

.cape-radius-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0 14px;
}

.cape-radius-list dt {
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.5);
  margin-bottom: 2px;
}

.cape-radius-list dd {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.48;
  color: rgba(25, 29, 26, 0.82);
}

.cape-companion-info .page-link-btn {
  align-self: flex-start;
}

.cape-atlas-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cape-spotlight-panel {
  padding: 24px 26px;
  background: var(--mat-bg);
  box-shadow: 0 26px 54px -32px rgba(24, 28, 25, 0.24);
}

.cape-spotlight-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.54); margin-bottom: 8px; }
.cape-spotlight-title { font-style: italic; font-weight: 300; font-size: 1.56rem; margin-bottom: 10px; }
.cape-spotlight-copy { font-size: 0.99rem; font-weight: 300; line-height: 1.72; color: rgba(25, 29, 26, 0.86); }
.cape-spotlight-detail { margin-top: 10px; font-size: 0.94rem; font-style: italic; line-height: 1.64; color: rgba(25, 29, 26, 0.68); }
.cape-spotlight-specs { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cape-spotlight-specs dt { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.48); }
.cape-spotlight-specs dd { margin-top: 2px; font-size: 0.96rem; }

.cape-ledger-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  background: var(--panel-soft);
}

.cape-ledger-item {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: baseline; gap: 10px;
  padding: 10px 14px; border: 0;
  background: transparent; text-align: left; cursor: pointer; color: rgba(25, 29, 26, 0.68);
  transition: background-color 0.25s var(--ease-silk), color 0.25s var(--ease-silk);
}
.cape-ledger-item:hover, .cape-ledger-item.is-active { background: var(--mat-bg-hover); color: #171b18; }
.cape-ledger-num { font-size: 9.5px; letter-spacing: 0.14em; opacity: 0.58; }
.cape-ledger-name { font-size: 0.98rem; }
.cape-ledger-item.is-active .cape-ledger-name { font-style: italic; }
.cape-ledger-travel { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.58; white-space: nowrap; }

.sanctuary-discipline-spread { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(2rem, 4.4vw, 4.2rem); align-items: start; }
.sanctuary-discipline-spread--reverse .sanctuary-spread-plate { order: 2; }
.sanctuary-spread-title { font-weight: 300; font-style: italic; font-size: clamp(1.55rem, 2.3vw, 2.05rem); line-height: 1.15; }
.sanctuary-spread-lead { margin-top: 14px; font-size: 1.04rem; font-weight: 300; line-height: 1.76; color: rgba(25, 29, 26, 0.84); }
.sanctuary-spread-facts { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.sanctuary-fact-row dt { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); margin-bottom: 4px; }
.sanctuary-fact-row dd { font-size: 0.96rem; font-weight: 300; line-height: 1.66; color: rgba(25, 29, 26, 0.84); }

.atelier-dye-groups { margin-top: 2rem; display: flex; flex-direction: column; gap: 2.2rem; }
.atelier-dye-group-title { font-size: 10px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); margin-bottom: 14px; }
.atelier-dye-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px 18px; }
.atelier-dye-chip { display: inline-flex; align-items: center; gap: 11px; padding: 4px 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.atelier-dye-dot { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 3px 10px rgba(25, 29, 26, 0.14); }
.atelier-dye-info { display: flex; flex-direction: column; }
.atelier-dye-name { font-size: 0.96rem; color: #171b18; }
.atelier-dye-hex { font-size: 9.5px; letter-spacing: 0.14em; color: rgba(25, 29, 26, 0.5); }

.atelier-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.8rem); padding: clamp(3rem, 5.5vh, 4.2rem) 0 0; }
.atelier-spec-metric { display: block; font-weight: 300; font-size: clamp(1.9rem, 2.7vw, 2.55rem); line-height: 1.05; color: #171b18; }
.atelier-spec-label { margin-top: 8px; font-size: 10px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.64); }
.atelier-spec-desc { margin-top: 8px; font-size: 0.95rem; font-weight: 300; line-height: 1.68; color: rgba(25, 29, 26, 0.80); }

.maison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.4rem, 5vw, 4.6rem); }
.maison-colophon { display: grid; grid-template-columns: 112px minmax(0, 1fr); row-gap: 12px; column-gap: 14px; font-size: 0.96rem; }
.maison-colophon dt { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); padding-top: 3px; }
.season-almanac { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.season-row {
  padding: 16px 18px;
  background: var(--panel-glass);
}
.season-name { display: block; font-style: italic; font-size: 1.06rem; }
.season-temps { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(25, 29, 26, 0.54); }
.season-note { margin-top: 6px; font-size: 0.92rem; font-weight: 300; line-height: 1.56; color: rgba(25, 29, 26, 0.8); }

/* ==========================================================================
   Monograph Direct Booking Atelier, Architectural Selects & Folio Ledger
   ========================================================================== */

.booking-engine-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: clamp(2.4rem, 4.6vw, 4.6rem);
  align-items: start;
}

.booking-form-col,
.checkout-form-col {
  position: relative;
  background: linear-gradient(172deg, #fcfaf5 0%, #f8f4ec 56%, #f4efe5 100%);
  padding: clamp(2rem, 3.4vw, 3rem) clamp(2rem, 3.6vw, 3.3rem);
  box-shadow:
    0 38px 84px -40px rgba(28, 24, 18, 0.24),
    0 8px 22px -12px rgba(28, 24, 18, 0.08),
    inset 0 0 0 1px rgba(131, 113, 89, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.booking-form-col::before,
.checkout-form-col::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(131, 113, 89, 0.14);
  pointer-events: none;
  z-index: 1;
}

.envelope-letter-sheet {
  padding-top: 0;
}

.envelope-letter-crest {
  position: relative;
  z-index: 2;
  margin: 0 calc(clamp(2rem, 3.6vw, 3.3rem) * -1) 0;
  height: 64px;
  pointer-events: none;
}

.envelope-wax-seal--letter {
  width: 44px;
  height: 44px;
  bottom: -18px;
}

.envelope-wax-seal--letter .envelope-seal-monogram {
  font-size: 19px;
}

.envelope-letter-welcome {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 12px 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(131, 113, 89, 0.15);
}

.envelope-letter-kicker {
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(96, 82, 64, 0.68);
}

.envelope-letter-salutation {
  margin: 10px auto 0;
  max-width: 540px;
  font-style: italic;
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.62;
  color: rgba(25, 29, 26, 0.86);
}

.envelope-letter-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(131, 113, 89, 0.14);
}

.envelope-letter-signoff {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(25, 29, 26, 0.66);
}

.envelope-letter-signoff em {
  color: #171b18;
  font-size: 1.06rem;
}

.booking-step-block {
  position: relative;
  z-index: 2;
  padding: 0 0 2.2rem;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-margin-top: 96px;
}

.atelier-section[id],
.offer-spread[id] {
  scroll-margin-top: 96px;
}

.summary-dossier-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(25, 29, 26, 0.56);
  border-bottom: 1px solid rgba(25, 29, 26, 0.18);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease-silk), border-color 0.25s var(--ease-silk);
}

.summary-dossier-link:hover {
  color: #171b18;
  border-bottom-color: #171b18;
}

.booking-step-block + .booking-step-block {
  padding-top: 2.2rem;
  border-top: 1px solid rgba(131, 113, 89, 0.13);
}

.booking-step-block:last-child {
  padding-bottom: 0;
}

.booking-step-num {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.46);
  margin-bottom: 2px;
}

.reserve-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.maison-field { display: flex; flex-direction: column; gap: 6px; }
.maison-label { font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(25, 29, 26, 0.46); }

/* Quiet Architectural Hairline Fields — Pre-Styled <select> Prevents Native OS FOUC on Hard Refresh */
.maison-field input,
.maison-field select,
.maison-field textarea {
  width: 100%;
  padding: 9px 2px 10px;
  border: 0;
  border-bottom: 1px solid rgba(131, 113, 89, 0.26);
  background: transparent;
  color: #23201b;
  font-family: var(--font-editorial);
  font-size: 1.06rem;
  font-weight: 400;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s var(--ease-silk), background-color 0.3s var(--ease-silk);
}

.maison-field select,
.book-bar-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(25,29,26,0.44)' stroke-width='0.95' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 10px 6px;
}

.maison-field select::picker-icon,
.book-bar-field select::picker-icon {
  display: none;
}

.maison-field textarea {
  padding: 10px 2px 12px;
  border: 0;
  border-bottom: 1px solid rgba(131, 113, 89, 0.26);
  background: transparent;
  resize: none;
  line-height: 1.65;
}

.maison-field input:hover,
.maison-field input:focus {
  border-bottom-color: #837159;
  background: rgba(255, 253, 249, 0.36);
  outline: none;
  box-shadow: none;
}

.maison-field textarea:hover,
.maison-field textarea:focus {
  border-bottom-color: #837159;
  background: rgba(255, 253, 249, 0.36);
  outline: none;
  box-shadow: none;
}

.availability-pill {
  padding: 11px 16px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  border-left: 2px solid rgba(25, 29, 26, 0.24);
  color: rgba(25, 29, 26, 0.72);
}
.availability-pill.is-available {
  background: rgba(226, 235, 222, 0.42);
  border-left-color: #4f6a47;
  color: #263822;
}
.availability-pill.is-waitlist {
  background: rgba(242, 228, 220, 0.54);
  border-left-color: #8f4739;
  color: #5c332b;
}

.addons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.addon-check-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(25, 29, 26, 0.09);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-silk), box-shadow 0.3s var(--ease-silk);
}
.addon-check-card:hover {
  background: rgba(246, 242, 234, 0.55);
  box-shadow: inset 0 0 0 1px rgba(25, 29, 26, 0.22);
}
.addon-check-card:has(input:checked) {
  background: #faf7f1;
  box-shadow: inset 0 0 0 1px rgba(124, 104, 80, 0.58), 0 14px 28px -24px rgba(58, 47, 34, 0.24);
}
.addon-check-card input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border: 1px solid rgba(131, 113, 89, 0.44);
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s var(--ease-silk), border-color 0.25s var(--ease-silk);
}
.addon-check-card input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 8.5px;
  border: solid #faf7f1;
  border-width: 0 1.25px 1.25px 0;
  transform: rotate(42deg) scale(0.4);
  opacity: 0;
  transition: opacity 0.2s var(--ease-silk), transform 0.25s var(--ease-silk);
}
.addon-check-card input[type="checkbox"]:checked {
  background: #837159;
  border-color: #837159;
}
.addon-check-card input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: rotate(42deg) scale(1);
}

/* Custom Editorial Date Field Polish */
input[type="date"] {
  color-scheme: light;
  font-variant-numeric: tabular-nums;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.36;
  cursor: pointer;
  filter: sepia(0.25) contrast(0.85);
  transition: opacity 0.25s var(--ease-silk);
}
input[type="date"]:hover::-webkit-calendar-picker-indicator,
input[type="date"]:focus::-webkit-calendar-picker-indicator {
  opacity: 0.78;
}

/* ==========================================================================
   Bespoke JÌNG Architectural Hairline Select (Monograph Stationery Style)
   ========================================================================== */

.has-open-select {
  position: relative;
  z-index: 42 !important;
}

.jing-select {
  position: relative;
  width: 100%;
}

.jing-native-select {
  position: absolute !important;
  inset: 0;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.jing-select-trigger {
  width: 100%;
  min-height: 41px;
  padding: 8px 2px 10px;
  border: 0;
  border-bottom: 1px solid rgba(131, 113, 89, 0.26);
  background: transparent;
  color: #23201b;
  font-family: var(--font-editorial);
  font-size: 1.06rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 0.28s var(--ease-silk), color 0.28s var(--ease-silk);
}

.jing-select-trigger:hover,
.jing-select-trigger:focus-visible,
.jing-select.is-open .jing-select-trigger {
  border-bottom-color: #837159;
  outline: none;
}

.jing-select--ribbon .jing-select-trigger {
  min-height: 0;
  padding: 2px 0;
  border-bottom: 0;
  background: transparent;
  font-size: 1.04rem;
}

.jing-select--ribbon .jing-select-trigger:hover,
.jing-select--ribbon.is-open .jing-select-trigger {
  border-bottom: 0;
}

.jing-select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.jing-select-trigger-meta {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(25, 29, 26, 0.48);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.jing-select-trigger-meta[hidden] { display: none; }

.jing-select-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  color: rgba(25, 29, 26, 0.46);
  transition: transform 0.35s var(--ease-silk), color 0.3s var(--ease-silk);
}

.jing-select.is-open .jing-select-chevron {
  transform: rotate(180deg);
  color: #6f5d47;
}

/* 100% Opaque Honed-Limestone Floating Folio Sheet — Zero Bleed-Through */
.jing-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 75;
  min-width: 268px;
  max-height: 368px;
  overflow-y: auto;
  padding: 8px 0;
  background: #faf7f1;
  border: 1px solid rgba(25, 29, 26, 0.085);
  box-shadow:
    0 28px 64px -20px rgba(18, 22, 19, 0.24),
    0 6px 18px -8px rgba(18, 22, 19, 0.09);
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: jingMenuIn 0.24s var(--ease-silk);
}

.jing-select--ribbon .jing-select-menu {
  top: calc(100% + 18px);
  left: -22px;
  right: -22px;
  min-width: 300px;
}

.jing-select.is-dropup .jing-select-menu {
  top: auto;
  bottom: calc(100% + 8px);
}

.jing-select--ribbon.is-dropup .jing-select-menu {
  bottom: calc(100% + 18px);
}

.jing-select-menu[hidden] {
  display: none;
}

.jing-select-option {
  width: 100%;
  padding: 11px 18px;
  border: 0;
  background: transparent;
  color: rgba(25, 29, 26, 0.78);
  font-family: var(--font-editorial);
  font-size: 1.02rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  transition: background-color 0.22s var(--ease-silk), color 0.22s var(--ease-silk), padding-left 0.25s var(--ease-silk);
}

.jing-select-option:hover {
  background: rgba(235, 229, 218, 0.56);
  color: #171b18;
}

.jing-select-option.is-selected {
  background: rgba(238, 232, 222, 0.42);
  box-shadow: inset 2px 0 0 #837159;
  color: #23201b;
  font-style: italic;
}

.jing-select-opt-label {
  line-height: 1.3;
}

.jing-select-opt-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.jing-select-opt-meta {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.48);
  font-variant-numeric: tabular-nums;
}

.jing-select-opt-dot {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #837159;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.22s var(--ease-silk), transform 0.22s var(--ease-silk);
}

.jing-select-option.is-selected .jing-select-opt-dot {
  opacity: 1;
  transform: scale(1);
}

@keyframes jingMenuIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.addon-check-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.addon-check-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.addon-check-name { font-size: 1rem; color: #171b18; }
.addon-check-price { font-size: 10px; letter-spacing: 0.12em; color: rgba(25, 29, 26, 0.56); font-variant-numeric: tabular-nums; }
.addon-check-note { font-size: 0.86rem; font-style: italic; line-height: 1.48; color: rgba(25, 29, 26, 0.58); }

.maison-submit {
  align-self: flex-start;
  padding: 15px 32px;
  border: 0;
  background: rgba(235, 227, 213, 0.94);
  box-shadow: 0 12px 26px -18px rgba(48, 39, 28, 0.24);
  color: #1f1c18;
  font-family: var(--font-editorial);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-silk), color 0.3s var(--ease-silk), transform 0.3s var(--ease-silk), box-shadow 0.3s var(--ease-silk);
}
.maison-submit:hover {
  background: rgba(226, 216, 199, 1);
  color: #14120f;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -18px rgba(48, 39, 28, 0.30);
}
.maison-submit:disabled { opacity: 0.52; cursor: wait; transform: none; }
.booking-engine-footnote { font-size: 0.88rem; font-style: italic; color: rgba(25, 29, 26, 0.54); }
.booking-error { padding: 12px 16px; border-left: 2px solid #8f392e; background: rgba(196, 98, 86, 0.10); color: #6e2920; font-size: 0.95rem; }

/* Right-Hand Enclosed Correspondence Folio Card (Heavyweight Cotton Rag + Inset Fillet) */
.booking-summary-col { position: sticky; top: 88px; }
.booking-summary-card {
  position: relative;
  padding: 16px 16px 0;
  background: linear-gradient(172deg, #fcfaf5 0%, #f8f4ec 62%, #f4efe5 100%);
  box-shadow:
    0 38px 80px -38px rgba(28, 24, 18, 0.24),
    0 8px 22px -12px rgba(28, 24, 18, 0.08),
    inset 0 0 0 1px rgba(131, 113, 89, 0.14);
}
.booking-summary-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(131, 113, 89, 0.14);
  pointer-events: none;
  z-index: 1;
}
.envelope-enclosure-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 12px;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(96, 82, 64, 0.66);
}
.booking-summary-plate {
  position: relative;
  z-index: 2;
  display: block;
  width: calc(100% - 12px);
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e6e1d7;
}
.booking-summary-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.booking-summary-body {
  position: relative;
  z-index: 2;
  padding: 22px 18px 28px;
}
.booking-summary-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(131, 113, 89, 0.15);
}
.maison-fitting-title { font-style: italic; font-weight: 300; font-size: 1.72rem; color: #171b18; line-height: 1.15; margin-top: 2px; }
.maison-fitting-sub { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(25, 29, 26, 0.50); margin-top: 6px; }

.folio-ledger { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.folio-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.98rem; }
.folio-row[hidden] { display: none !important; }
.folio-row dt { color: rgba(25, 29, 26, 0.72); }
.folio-row dd { color: #171b18; white-space: nowrap; font-variant-numeric: tabular-nums; }
.folio-row--total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(25, 29, 26, 0.10);
  font-size: 1.12rem;
}
.folio-row--total dd { font-style: italic; font-size: 1.5rem; font-weight: 400; }
.folio-nightly-breakdown {
  padding: 10px 0 10px 14px;
  border-left: 1px solid rgba(25, 29, 26, 0.12);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.folio-nightly-breakdown[hidden] { display: none !important; }
.folio-night-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(25, 29, 26, 0.58);
  font-variant-numeric: tabular-nums;
}

/* Gallery-Grade Transparent Two-Month Dynamic Rate Calendar — Zero Nested Grey Boxes */
.rate-calendar-shell {
  padding: 20px 0 18px;
  margin: 4px 0;
  border-top: 1px solid rgba(25, 29, 26, 0.08);
  border-bottom: 1px solid rgba(25, 29, 26, 0.08);
  background: transparent;
}

.rate-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.rate-cal-nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(25, 29, 26, 0.12);
  background: transparent;
  color: #171b18;
  font-family: var(--font-editorial);
  font-size: 0.96rem;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-silk), border-color 0.25s var(--ease-silk), color 0.25s var(--ease-silk);
}

.rate-cal-nav:hover:not(:disabled) { background: #ece3d4; border-color: rgba(114, 96, 72, 0.54); color: #261f17; }
.rate-cal-nav:disabled { opacity: 0.28; cursor: default; }

.rate-cal-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.52);
}

.cal-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.cal-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.cal-dot--open { background: transparent; box-shadow: inset 0 0 0 1px rgba(25, 29, 26, 0.34); }
.cal-dot--limited { background: #a87f4f; }
.cal-dot--sold { background: rgba(25, 29, 26, 0.24); }
.cal-legend-status { font-style: italic; text-transform: none; letter-spacing: 0.04em; font-size: 0.92rem; color: #171b18; }

.rate-cal-months {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.rate-cal-loading {
  grid-column: 1 / -1;
  padding: 28px 12px;
  text-align: center;
  font-style: italic;
  color: rgba(25, 29, 26, 0.52);
}

.rate-cal-month {
  padding: 4px 0 0;
  background: transparent;
}

.rate-cal-month-title {
  text-align: center;
  font-style: italic;
  font-weight: 400;
  font-size: 1.42rem;
  letter-spacing: 0.03em;
  color: #171b18;
  margin-bottom: 16px;
}

.rate-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(25, 29, 26, 0.44);
}

.rate-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.rate-cal-blank { display: block; height: 58px; }

.rate-cal-day {
  position: relative;
  height: 58px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: #171b18;
  font-family: var(--font-editorial);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.22s var(--ease-silk), color 0.22s var(--ease-silk);
}

.rate-cal-day:hover:not(:disabled):not(.is-sold-out) { background: rgba(226, 219, 206, 0.54); }
.rate-cal-num { font-size: 1.2rem; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.rate-cal-price { font-size: 11.5px; letter-spacing: 0.03em; color: rgba(25, 29, 26, 0.62); line-height: 1; font-variant-numeric: tabular-nums; }

.rate-cal-day.is-limited::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a87f4f;
}

.rate-cal-day.is-past {
  background: transparent;
  color: rgba(25, 29, 26, 0.22);
  cursor: default;
}

.rate-cal-day.is-sold-out {
  background: transparent;
  color: rgba(25, 29, 26, 0.30);
}
.rate-cal-day.is-sold-out .rate-cal-num { text-decoration: line-through; }
.rate-cal-day.is-sold-out .rate-cal-price { color: rgba(25, 29, 26, 0.32); }

.rate-cal-day.is-in-range,
.rate-cal-day.is-hover-range {
  background: rgba(232, 223, 207, 0.36);
}
.rate-cal-day.is-in-range .rate-cal-price,
.rate-cal-day.is-hover-range .rate-cal-price {
  color: rgba(25, 29, 26, 0.64);
}

.rate-cal-day.is-start,
.rate-cal-day.is-end,
.rate-cal-day.is-hover-end {
  background: rgba(232, 223, 207, 0.92);
  box-shadow: inset 0 -2px 0 #8c775c;
  color: #191d1a;
}
.rate-cal-day.is-start .rate-cal-num,
.rate-cal-day.is-end .rate-cal-num,
.rate-cal-day.is-hover-end .rate-cal-num {
  font-weight: 500;
}
.rate-cal-day.is-start .rate-cal-price,
.rate-cal-day.is-end .rate-cal-price,
.rate-cal-day.is-hover-end .rate-cal-price {
  color: rgba(25, 29, 26, 0.78);
}

/* Phase 2 Self-Service /my-stay Lookup, Curation Form & Cancel Controls */
.stay-lookup-form {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 20px 22px;
  background: var(--mat-bg);
  box-shadow: 0 22px 48px -32px rgba(24, 28, 25, 0.2);
}

.stay-lookup-form input {
  padding: 13px 16px;
  border: 0;
  background: rgba(242, 238, 231, 0.78);
  color: #171b18;
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  outline: none;
}
.stay-lookup-form input:focus { background: #ffffff; }

.stay-status-pill {
  display: inline-block;
  padding: 2px 9px;
  background: rgba(225, 234, 221, 0.88);
  color: #263624;
  letter-spacing: 0.14em;
}
.stay-status-pill.is-cancelled {
  background: rgba(238, 220, 214, 0.9);
  color: #6b2e24;
}

.stay-prefs-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stay-prefs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 4px;
}

.stay-save-status {
  font-size: 0.95rem;
  font-style: italic;
  color: #2d432a;
}

.stay-cancel-panel {
  margin-top: 1.8rem;
  padding: 22px 26px;
  background: var(--panel-glass);
}

.stay-cancel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.stay-cancel-copy {
  max-width: 520px;
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.62;
  color: rgba(25, 29, 26, 0.76);
}

.stay-cancel-confirm {
  margin-top: 16px;
  padding: 16px 18px;
  background: rgba(244, 232, 226, 0.78);
  font-size: 0.96rem;
  color: #4f2620;
}
.stay-cancel-confirm[hidden] { display: none; }
.maison-submit--danger { background: rgba(232, 212, 206, 0.96); color: #6e2f24; }
.maison-submit--danger:hover { background: rgba(224, 198, 190, 1); color: #5c241b; }
.reserve-estimate-note { margin-top: 16px; font-size: 0.88rem; font-style: italic; line-height: 1.54; color: rgba(25, 29, 26, 0.62); }
.concierge-mini { margin-top: 18px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.concierge-mini a { color: #171b18; text-decoration: none; font-style: italic; text-transform: none; font-size: 0.98rem; }

.stay-dossier-card {
  margin-top: 2rem;
  padding: 30px 34px;
  background: var(--mat-bg);
  box-shadow: 0 26px 54px -30px rgba(24, 28, 25, 0.24);
}
.stay-notes { margin-top: 20px; font-size: 0.98rem; line-height: 1.65; }

/* Admin PMS Table */
.admin-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  background: var(--mat-bg);
  box-shadow: 0 22px 48px -30px rgba(24, 28, 25, 0.22);
}
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 14px 16px; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(25, 29, 26, 0.54); }
.admin-table td { padding: 15px 16px; font-size: 0.98rem; vertical-align: top; }
.admin-table tbody tr:nth-child(odd) { background: rgba(242, 238, 231, 0.36); }
.admin-table a { color: #171b18; text-decoration: none; }
.admin-muted { font-size: 0.88rem; color: rgba(25, 29, 26, 0.58); }
.admin-status-pill { display: inline-block; padding: 3px 9px; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(242, 236, 226, 0.86); color: #4d4030; }
.admin-status-pill.is-confirmed { background: rgba(235, 227, 213, 0.94); color: #2b241c; }
.admin-status-pill.is-cancelled { background: rgba(236, 220, 215, 0.88); color: #6e3528; }
.admin-action-link { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #63533d !important; text-decoration: none; }
.admin-action-link:hover { opacity: 0.65; }
.admin-refund-btn {
  padding: 6px 12px;
  border: 0;
  background: rgba(246, 241, 232, 0.88);
  font-family: var(--font-editorial);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3d3328;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-silk), color 0.25s var(--ease-silk);
}
.admin-refund-btn:hover { background: rgba(235, 227, 213, 0.98); }
.admin-refund-btn.is-armed { background: rgba(232, 212, 206, 0.96); color: #6e2f24; }
.admin-empty { padding: 28px 16px !important; text-align: center; font-style: italic; color: rgba(25, 29, 26, 0.58); }

/* ==========================================================================
   Phase 3 — Luxury International Settlement Desk (/checkout/<ref>) & Receipts
   ========================================================================== */

.hold-countdown-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px 22px;
  margin-bottom: 1.8rem;
  background: linear-gradient(172deg, rgba(252, 250, 245, 0.92) 0%, rgba(246, 241, 232, 0.90) 100%);
  box-shadow:
    0 16px 36px -26px rgba(48, 39, 28, 0.18),
    inset 0 0 0 1px rgba(131, 113, 89, 0.18);
}
.hold-countdown-bar.is-urgent {
  background: rgba(246, 234, 228, 0.94);
  box-shadow:
    0 16px 36px -26px rgba(143, 57, 46, 0.18),
    inset 0 0 0 1px rgba(143, 57, 46, 0.24);
}
.hold-countdown-left {
  display: flex;
  align-items: center;
  gap: 11px;
}
.hold-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5b7753;
  flex-shrink: 0;
}
.hold-countdown-bar.is-urgent .hold-live-dot {
  background: #8f392e;
}
.hold-countdown-copy {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(35, 32, 27, 0.84);
}
.hold-countdown-clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: #2f271e;
}
.hold-countdown-sub {
  color: rgba(88, 76, 60, 0.64);
  font-size: 0.92rem;
}
.gateway-mode-pill {
  display: inline-block;
  padding: 4px 11px;
  background: rgba(242, 236, 226, 0.84);
  border: 0;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5b4c39;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
  animation: jingCheckoutArrive 0.52s var(--ease-silk);
}
@keyframes jingCheckoutArrive {
  from { opacity: 0.15; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.checkout-form-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.settlement-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.settlement-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding: 18px 20px;
  border: 0;
  background: rgba(246, 241, 232, 0.56);
  font-family: var(--font-editorial);
  color: #23201b;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(131, 113, 89, 0.18);
  transition: background-color 0.25s var(--ease-silk), box-shadow 0.25s var(--ease-silk), transform 0.25s var(--ease-silk);
}
.settlement-option:hover {
  background: rgba(252, 250, 245, 0.92);
  box-shadow: inset 0 0 0 1px rgba(131, 113, 89, 0.36);
}
.settlement-option.is-active {
  background: linear-gradient(175deg, #fffefb 0%, #faf5ec 100%);
  box-shadow:
    inset 0 0 0 1px rgba(124, 104, 80, 0.54),
    0 16px 34px -26px rgba(58, 47, 34, 0.24);
}
.settlement-option-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.settlement-option-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.settlement-radio-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(131, 113, 89, 0.44);
  background: transparent;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.25s var(--ease-silk);
}
.settlement-radio-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #837159;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.22s var(--ease-silk), transform 0.22s var(--ease-silk);
}
.settlement-option.is-active .settlement-radio-mark {
  border-color: #837159;
}
.settlement-option.is-active .settlement-radio-mark::after {
  opacity: 1;
  transform: scale(1);
}
.settlement-option-title {
  font-size: 1.08rem;
  font-weight: 400;
  color: #23201b;
}
.settlement-option-amount {
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 400;
  color: #2f271e;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.settlement-option-copy {
  margin: 0;
  padding-left: 24px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(58, 49, 39, 0.68);
}

.wallet-express-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wallet-express-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 13px 16px;
  border: 0;
  font-family: var(--font-editorial);
  cursor: pointer;
  transition: transform 0.25s var(--ease-silk), background-color 0.25s var(--ease-silk), box-shadow 0.25s var(--ease-silk);
}
.wallet-express-btn--apple,
.wallet-express-btn--google {
  background: rgba(235, 227, 213, 0.94);
  color: #1f1c18;
  box-shadow: 0 10px 22px -18px rgba(48, 39, 28, 0.18);
}
.wallet-express-btn:hover:not(:disabled) {
  background: rgba(226, 216, 199, 1);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -16px rgba(48, 39, 28, 0.28);
}
.wallet-express-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.wallet-express-mark {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.wallet-express-sub {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.66;
}

.checkout-or-label {
  margin: 14px 0 10px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(96, 82, 64, 0.62);
}
.sandbox-card-fields,
.checkout-billing-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checkout-billing-fields {
  padding-top: 16px;
  border-top: 1px solid rgba(131, 113, 89, 0.14);
}
.card-brand-chip {
  float: right;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(96, 82, 64, 0.62);
}

.sandbox-test-bar {
  margin-top: 6px;
  margin-bottom: 4px;
  padding: 14px 16px;
  background: rgba(244, 239, 230, 0.58);
  border: 1px solid rgba(131, 113, 89, 0.16);
}
.sandbox-test-kicker {
  display: block;
  margin-bottom: 9px;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: rgba(96, 82, 64, 0.66);
}
.sandbox-test-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sandbox-pill {
  padding: 6px 12px;
  border: 0;
  background: rgba(246, 241, 232, 0.9);
  font-family: var(--font-editorial);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #362d23;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-silk), color 0.2s var(--ease-silk);
}
.sandbox-pill:hover {
  background: rgba(235, 227, 213, 0.98);
  color: #1f1c18;
}

.checkout-stripe-wrap {
  margin-bottom: 4px;
  padding: 2px 0;
  background: transparent;
}

.folio-row--due {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(131, 113, 89, 0.14);
  font-weight: 500;
  color: #23201b;
}
.folio-row--balance {
  font-size: 0.92rem;
  color: rgba(58, 49, 39, 0.66);
}

/* 3DS2 Bank Challenge Modal (Rendered at Body Root Above Footer) */
.three-ds-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(34, 29, 23, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.three-ds-modal[hidden] { display: none; }
.three-ds-card {
  position: relative;
  width: min(480px, 100%);
  padding: 2.3rem 2.3rem 2.1rem;
  background: linear-gradient(172deg, #fcfaf5 0%, #f8f4ec 62%, #f4efe5 100%);
  box-shadow:
    0 36px 76px -24px rgba(28, 22, 16, 0.34),
    inset 0 0 0 1px rgba(131, 113, 89, 0.18);
}
.three-ds-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(131, 113, 89, 0.14);
  pointer-events: none;
}
.three-ds-card > * {
  position: relative;
  z-index: 1;
}
.three-ds-title {
  margin: 8px 0 10px;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 300;
  color: #23201b;
}
.three-ds-copy {
  margin: 0 0 1.4rem;
  font-size: 0.98rem;
  line-height: 1.62;
  color: rgba(58, 49, 39, 0.76);
}
.three-ds-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 15px 17px;
  background: rgba(244, 239, 230, 0.62);
  border: 1px solid rgba(131, 113, 89, 0.16);
}
.three-ds-meta > div {
  min-width: 0;
}
.three-ds-meta-full {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid rgba(131, 113, 89, 0.14);
}
.three-ds-meta dt {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(96, 82, 64, 0.66);
}
.three-ds-meta dd {
  margin: 3px 0 0;
  font-size: 0.96rem;
  color: #23201b;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.three-ds-ref {
  font-size: 0.88rem !important;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* /my-stay Settled Banner, Hold Bar & Settlement Receipt */
.stay-status-pill.is-confirmed {
  background: rgba(208, 226, 204, 0.94);
  color: #1d321b;
}
.stay-settled-banner {
  padding: 18px 22px;
  margin-bottom: 1.6rem;
  background: rgba(226, 236, 222, 0.72);
}
.stay-settled-banner p {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #1f2e1d;
}
.stay-hold-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 18px 22px;
  margin-bottom: 1.6rem;
  background: rgba(245, 239, 228, 0.9);
}
.stay-hold-cta-copy {
  margin: 5px 0 0;
  font-size: 0.96rem;
  color: rgba(25, 29, 26, 0.76);
}
.receipt-ledger {
  margin-top: 1.6rem;
  padding: 18px 20px;
  background: rgba(244, 240, 232, 0.68);
}
.receipt-mono {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: rgba(25, 29, 26, 0.76);
}

/* ==========================================================================
   Phase 4 — Enterprise RBAC Login, 5-Tab PMS, Tape Chart, CRM & 2.5D Media CMS
   ========================================================================== */

.admin-login-shell { max-width: 620px; margin: 0 auto; }
.admin-login-card { display: flex; flex-direction: column; gap: 16px; margin-top: 2rem; }
.admin-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-role-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 18px 20px; border: 0; text-align: left; font-family: var(--font-editorial);
  background: rgba(250, 248, 243, 0.84); color: #191d1a; cursor: pointer;
  box-shadow: 0 14px 32px -24px rgba(20, 24, 22, 0.16);
  transition: background-color 0.25s var(--ease-silk), transform 0.25s var(--ease-silk);
}
.admin-role-card:hover { background: #fbf9f5; transform: translateY(-2px); }
.admin-role-card strong { font-size: 1.18rem; font-weight: 400; color: #171b18; }
.admin-role-card span:last-child { font-size: 0.88rem; color: rgba(25, 29, 26, 0.62); line-height: 1.45; }

.admin-topbar { align-items: flex-end; margin-bottom: 1.8rem; }
.admin-staff-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-staff-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; background: rgba(250, 247, 241, 0.84);
}
.admin-staff-role {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 8px; background: rgba(235, 227, 213, 0.94); color: #3f3428;
}
.admin-staff-name { font-size: 0.96rem; color: #241f19; }
.admin-logout-btn {
  padding: 9px 16px; border: 0; background: rgba(246, 241, 232, 0.86);
  font-family: var(--font-editorial); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #2b241c; cursor: pointer;
  transition: background-color 0.2s var(--ease-silk), color 0.2s var(--ease-silk);
}
.admin-logout-btn:hover { background: rgba(235, 227, 213, 0.98); color: #1f1c18; }

.admin-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem;
}
.admin-tab {
  padding: 10px 18px; border: 0; background: rgba(250, 247, 241, 0.76);
  font-family: var(--font-editorial); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(38, 32, 24, 0.66); cursor: pointer;
  transition: background-color 0.25s var(--ease-silk), color 0.25s var(--ease-silk), box-shadow 0.25s var(--ease-silk);
}
.admin-tab:hover { background: rgba(241, 235, 225, 0.92); color: #241f19; }
.admin-tab.is-active {
  background: rgba(235, 227, 213, 0.96);
  color: #1f1c18;
  box-shadow: inset 0 -2px 0 #837159;
}

.admin-panel[hidden] { display: none; }
.cape-telemetry-bar--six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.kpi-sub { display: block; margin-top: 3px; font-size: 0.82rem; font-weight: 300; color: rgba(25, 29, 26, 0.56); }

.admin-card-block {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: rgba(251, 249, 245, 0.86);
  box-shadow: 0 22px 52px -34px rgba(20, 24, 22, 0.18);
}
.admin-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px; margin-bottom: 1.2rem;
}
.admin-chart-svg { display: block; width: 100%; height: auto; max-height: 240px; }

/* Tape Chart Matrix */
.tape-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 20px; margin-bottom: 1.2rem;
}
.tape-nav-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tape-range-label { margin-left: 8px; font-size: 0.94rem; letter-spacing: 0.04em; color: rgba(25, 29, 26, 0.68); }
.tape-legend { display: flex; align-items: center; gap: 16px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(25, 29, 26, 0.62); }
.tape-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tape-dot { width: 9px; height: 9px; display: inline-block; }
.tape-dot--open { background: #efeae0; }
.tape-dot--booked { background: #5b7355; }
.tape-dot--held { background: #c6a473; }
.tape-dot--blocked { background: #434743; }

.tape-chart-wrap { overflow-x: auto; padding-bottom: 6px; }
.tape-table { width: 100%; border-collapse: separate; border-spacing: 3px; min-width: 980px; }
.tape-sticky-col {
  position: sticky; left: 0; z-index: 3; min-width: 128px;
  background: #f9f7f2; padding: 8px 10px; text-align: left;
}
.tape-unit-cell strong { display: block; font-size: 0.94rem; color: #171b18; }
.tape-unit-realm { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(25, 29, 26, 0.52); }
.tape-day-head { padding: 6px 4px; text-align: center; font-weight: 400; background: rgba(243, 239, 231, 0.7); }
.tape-day-head.is-weekend { background: rgba(235, 227, 214, 0.85); }
.tape-day-head.is-today { background: rgba(226, 216, 199, 0.98); color: #1f1c18; box-shadow: inset 0 -2px 0 #837159; }
.tape-day-head .tape-wd, .tape-day-head .tape-mo { display: block; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.tape-day-head strong { display: block; font-size: 0.95rem; font-weight: 400; }

.tape-cell { padding: 0; vertical-align: middle; }
.tape-cell-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 44px; padding: 4px 3px; border: 0; text-decoration: none;
  font-family: var(--font-editorial); cursor: pointer;
  transition: transform 0.18s var(--ease-silk), opacity 0.18s var(--ease-silk);
}
.tape-cell-inner:hover { opacity: 0.86; }
.tape-cell--open .tape-cell-inner { background: rgba(244, 240, 232, 0.78); color: #191d1a; }
.tape-cell--open .tape-cell-inner:hover { background: rgba(235, 229, 218, 1); }
.tape-cell--booked .tape-cell-inner { background: #5b7355; color: #fbf9f5; }
.tape-cell--held .tape-cell-inner { background: #c6a473; color: #171b18; }
.tape-cell--blocked .tape-cell-inner { background: #434743; color: #f4f1ea; }
.tape-cell-rate, .tape-cell-guest { font-size: 0.84rem; font-weight: 500; line-height: 1.15; }
.tape-cell-meta { font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.74; }

.tape-cell-editor {
  margin-top: 1.4rem; padding: 1.4rem 1.6rem; background: rgba(243, 239, 231, 0.92);
}
.tape-cell-editor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 1rem; }
.tape-cell-editor-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.7fr auto; gap: 14px; align-items: end; }
.bulk-rate-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.9fr 0.8fr auto; gap: 12px; align-items: end; }
.bulk-rate-submit-wrap .maison-submit, .tape-cell-editor-actions .maison-submit { margin-top: 0; padding: 12px 18px; width: auto; white-space: nowrap; }

/* Reservations Ledger Filters & Actions */
.res-filter-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 1.2rem; }
.res-status-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-search-input {
  min-width: 260px; padding: 9px 14px; border: 0; background: rgba(242, 238, 230, 0.88);
  font-family: var(--font-editorial); font-size: 0.96rem; color: #171b18;
}
.admin-ref-cell, .admin-nowrap { white-space: nowrap; }
.admin-action-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-life-btn {
  padding: 7px 13px; border: 0; background: rgba(235, 227, 213, 0.94); color: #1f1c18;
  font-family: var(--font-editorial); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease-silk);
}
.admin-life-btn:hover { background: rgba(224, 214, 196, 1); }
.admin-save-btn {
  padding: 9px 16px; border: 0; background: rgba(235, 227, 213, 0.94); color: #1f1c18;
  font-family: var(--font-editorial); font-size: 10.5px; letter-spacing: 0.15em;
  text-transform: uppercase; cursor: pointer;
  transition: background-color 0.2s var(--ease-silk);
}
.admin-save-btn--ghost { background: rgba(246, 241, 232, 0.88); color: #2b241c; }
.admin-save-btn:hover { background: rgba(224, 214, 196, 1); }
.admin-save-btn--ghost:hover { background: rgba(235, 227, 213, 0.96); }

/* Guest CRM & Dispatch */
.crm-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 1.8rem; align-items: start; }
.crm-stack { display: flex; flex-direction: column; gap: 1.2rem; }
.crm-guest-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 1.5rem 1.7rem; background: rgba(251, 249, 245, 0.88);
  box-shadow: 0 18px 44px -30px rgba(20, 24, 22, 0.16);
}
.crm-guest-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px 20px; }
.crm-guest-name { font-size: 1.3rem; font-weight: 400; color: #171b18; }
.crm-guest-stats { display: flex; gap: 16px; font-size: 0.9rem; color: rgba(25, 29, 26, 0.68); }
.crm-guest-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.crm-guest-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.crm-save-msg { font-size: 0.9rem; font-style: italic; color: #365231; }

/* Room Media, Depth Map & Tariff CMS */
.cms-realm-selector { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.6rem; }
.cms-realm-pill {
  padding: 8px 14px; border: 0; background: rgba(250, 247, 241, 0.78);
  font-family: var(--font-editorial); font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: rgba(38, 32, 24, 0.68); cursor: pointer;
  transition: background-color 0.2s var(--ease-silk), color 0.2s var(--ease-silk), box-shadow 0.2s var(--ease-silk);
}
.cms-realm-pill:hover { background: rgba(241, 235, 225, 0.94); color: #241f19; }
.cms-realm-pill.is-active {
  background: rgba(235, 227, 213, 0.96);
  color: #1f1c18;
  box-shadow: inset 0 -2px 0 #837159;
}
.cms-workspace { display: flex; flex-direction: column; gap: 1.8rem; }
.cms-checkbox-row { display: inline-flex; align-items: center; gap: 10px; margin: 12px 0 16px; font-size: 0.96rem; color: rgba(25, 29, 26, 0.78); cursor: pointer; }
.cms-preview-toggle { display: inline-flex; gap: 6px; }
.cms-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 1.8rem; }
.cms-step-card { background: rgba(244, 240, 232, 0.76); padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.cms-step-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e6e1d7; }
.cms-step-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cms-step-badge {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 8px;
  background: rgba(250, 247, 241, 0.92); color: #2b241c; font-size: 8.5px; letter-spacing: 0.14em;
}
.cms-step-meta { display: flex; flex-direction: column; gap: 8px; }
.cms-step-label-input {
  width: 100%; padding: 7px 10px; border: 0; background: #fbf9f5;
  font-family: var(--font-editorial); font-size: 0.94rem; color: #171b18;
}
.cms-step-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.cms-mini-btn {
  padding: 5px 9px; border: 0; background: rgba(246, 241, 232, 0.92);
  font-family: var(--font-editorial); font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #2b241c; cursor: pointer;
  transition: background-color 0.2s var(--ease-silk);
}
.cms-mini-btn:hover:not(:disabled) { background: rgba(235, 227, 213, 0.98); color: #1f1c18; }
.cms-mini-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.cms-upload-box { padding: 1.4rem 1.6rem; background: rgba(243, 239, 231, 0.72); }
.cms-upload-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0; }
.cms-dropzone {
  padding: 26px 20px; text-align: center; background: rgba(251, 249, 245, 0.88);
  outline: 1px dashed rgba(131, 113, 89, 0.34); cursor: pointer;
  font-size: 0.98rem; color: rgba(38, 32, 24, 0.72);
  transition: background-color 0.2s var(--ease-silk), outline-color 0.2s var(--ease-silk);
}
.cms-dropzone:hover, .cms-dropzone.is-dragover { background: #fbf9f5; outline-color: #837159; }

/* ==========================================================================
   Seamless Monograph Colophon Footer (Zero Seam, Zero Border, Melts Into Field)
   ========================================================================== */

.grand-footer {
  padding: clamp(5.5rem, 11vh, 8.5rem) 0 3.2rem;
  background: linear-gradient(
    to bottom,
    rgba(244, 241, 234, 0) 0%,
    rgba(240, 236, 228, 0.26) 48%,
    rgba(234, 230, 221, 0.48) 100%
  );
}

.grand-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 2.4rem 2.2rem;
}

.footer-social-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(246, 241, 232, 0.80);
  color: rgba(43, 36, 28, 0.78);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease-silk), color 0.25s var(--ease-silk), transform 0.25s var(--ease-silk);
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
  background: rgba(232, 223, 208, 0.96);
  color: #1f1c18;
  transform: translateY(-1px);
  outline: none;
}

.grand-footer-logo { font-size: 1.65rem; letter-spacing: 0.28em; color: #171b18; text-decoration: none; font-weight: 300; }
.grand-footer-sub { margin-top: 8px; font-style: italic; font-size: 1.02rem; color: rgba(25, 29, 26, 0.72); }
.grand-footer-coords, .grand-footer-contact { margin-top: 14px; font-size: 0.92rem; line-height: 1.7; color: rgba(25, 29, 26, 0.66); }
.grand-footer-contact a { color: #171b18; text-decoration: none; transition: opacity 0.3s var(--ease-silk); }
.grand-footer-contact a:hover { opacity: 0.6; }
.grand-footer-col h4 { font-size: 10px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(25, 29, 26, 0.5); margin-bottom: 16px; }
.grand-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.grand-footer-col a { font-size: 0.99rem; color: rgba(25, 29, 26, 0.80); text-decoration: none; transition: color 0.3s var(--ease-silk); }
.grand-footer-col a:hover { color: #171b18; }
.grand-footer-bottom {
  margin-top: 4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(131, 113, 89, 0.14);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  font-size: 9.5px; letter-spacing: 0.18em; color: rgba(25, 29, 26, 0.48);
}

.grand-footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.grand-footer-legal a {
  color: rgba(25, 29, 26, 0.58);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: color 0.25s var(--ease-silk);
}

.grand-footer-legal a:hover {
  color: #171b18;
}

/* ==========================================================================
   Optical Material Loupe, Lightbox & Status Toast
   ========================================================================== */

.material-loupe {
  position: fixed; top: 0; left: 0; width: 188px; height: 188px; border-radius: 50%; z-index: 80;
  pointer-events: none; opacity: 0; transform: translate3d(-9999px, -9999px, 0) scale(0.86);
  transition: opacity 0.18s var(--ease-silk), transform 0.18s var(--ease-silk);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 24, 22, 0.24);
  background: rgba(240, 236, 229, 0.84);
}
.material-loupe.is-active { opacity: 1; }
.material-loupe canvas { display: block; width: 100%; height: 100%; }
.material-loupe-tag { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); padding: 1px 7px; border-radius: 999px; background: rgba(246, 243, 237, 0.82); font-size: 10px; letter-spacing: 0.12em; color: rgba(25, 29, 26, 0.82); }
body.is-loupe-active { cursor: none; }

body.is-modal-open {
  overflow: hidden;
}

.dossier-lightbox {
  position: fixed; inset: 0; z-index: 230; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3.5rem 4rem 2.5rem; background: rgba(244, 241, 234, 0.96); cursor: zoom-out;
  opacity: 0; transition: opacity 0.24s var(--ease-silk);
}
.dossier-lightbox.is-open { opacity: 1; }
.dossier-lightbox-bar {
  position: fixed; top: 20px; left: 2.4rem; right: 2.4rem;
  display: flex; align-items: center; justify-content: space-between; pointer-events: none;
}
.dossier-lightbox-bar > * { pointer-events: auto; }
.dossier-lightbox-count {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(58, 49, 39, 0.62); font-variant-numeric: tabular-nums;
}
.dossier-lightbox-close {
  position: static; padding: 6px 2px; border: 0; background: none;
  font-family: var(--font-editorial); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #191d1a; cursor: pointer;
  transition: opacity 0.25s var(--ease-silk);
}
.dossier-lightbox-close:hover { opacity: 0.56; }
.dossier-lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; background: rgba(251, 249, 245, 0.82);
  color: #23201b; font-family: var(--font-editorial); font-size: 1.15rem;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -16px rgba(34, 29, 23, 0.24);
  transition: background-color 0.25s var(--ease-silk), transform 0.25s var(--ease-silk);
}
.dossier-lightbox-nav:hover { background: rgba(235, 227, 213, 0.96); transform: translateY(-50%) scale(1.04); }
.dossier-lightbox-nav--prev { left: 1.8rem; }
.dossier-lightbox-nav--next { right: 1.8rem; }
.dossier-lightbox-img {
  max-width: 88vw; max-height: 78vh; object-fit: contain;
  box-shadow: 0 28px 64px -26px rgba(20, 24, 22, 0.34); cursor: default;
  transition: opacity 0.26s var(--ease-silk);
}
.dossier-lightbox-img.is-swapping { opacity: 0.35; }
.dossier-lightbox-cap { margin-top: 16px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(25, 29, 26, 0.58); }

.gallery-status {
  position: fixed; z-index: 240; left: 50%; bottom: 2rem;
  transform: translate(-50%, 10px); opacity: 0; pointer-events: none;
  padding: 10px 22px; background: rgba(251, 249, 245, 0.96);
  box-shadow: 0 18px 40px -18px rgba(34, 29, 23, 0.26), inset 0 0 0 1px rgba(131, 113, 89, 0.16);
  font-size: 12px; letter-spacing: 0.08em; color: #23201b;
  transition: opacity 0.28s var(--ease-silk), transform 0.28s var(--ease-silk);
}
.gallery-status.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.gallery-status[hidden] { display: none; }

/* Bespoke Editorial Field Validation Popover (Replaces Native Browser Validation Bubbles) */
.maison-field input.is-field-invalid,
.maison-field textarea.is-field-invalid,
.dispatch-form input.is-field-invalid,
.stay-lookup-form input.is-field-invalid {
  border-bottom-color: #9a4538 !important;
  background: rgba(196, 98, 86, 0.04);
}

.jing-field-popover {
  position: fixed;
  z-index: 245;
  max-width: min(360px, calc(100vw - 32px));
  padding: 11px 16px 12px;
  background: #fcfaf5;
  border-left: 2px solid #9a4538;
  box-shadow:
    0 22px 48px -18px rgba(48, 35, 24, 0.24),
    0 4px 12px -6px rgba(48, 35, 24, 0.10),
    inset 0 0 0 1px rgba(131, 113, 89, 0.16);
  color: #6e2e24;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.96rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: auto;
  transition: opacity 0.22s var(--ease-silk), transform 0.22s var(--ease-silk);
}

.jing-field-popover.is-above {
  transform: translateY(-5px);
}

.jing-field-popover.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.jing-field-popover-arrow {
  position: absolute;
  top: -5px;
  left: 24px;
  width: 9px;
  height: 9px;
  background: #fcfaf5;
  border-top: 1px solid rgba(131, 113, 89, 0.22);
  border-left: 1px solid rgba(131, 113, 89, 0.22);
  transform: rotate(45deg);
}

.jing-field-popover.is-above .jing-field-popover-arrow {
  top: auto;
  bottom: -5px;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid rgba(131, 113, 89, 0.22);
  border-bottom: 1px solid rgba(131, 113, 89, 0.22);
}

.jing-field-popover-text {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Phase 4 Interaction Polish — Custom Date Pickers, Micro-Motion, Journal,
   Sortable Comparison Ledger & Ceremonial Envelope Seal / Unseal Rituals
   ========================================================================== */

/* Bespoke Homepage Date Popover */
.floating-book-bar.has-open-datepicker { z-index: 48; }
.jing-date-trigger {
  width: 100%; padding: 2px 0; border: 0; background: transparent;
  color: #171b18; font-family: var(--font-editorial); font-size: 1.04rem;
  letter-spacing: 0.02em; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.jing-date-trigger.is-open .jing-select-chevron { transform: rotate(180deg); color: #7c6852; }
.jing-date-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.jing-date-popover {
  position: absolute; top: calc(100% + 14px); left: 0; z-index: 78;
  width: min(390px, 100%); padding: 20px 22px 22px;
  background: #faf7f1;
  box-shadow: 0 34px 72px -24px rgba(28, 22, 16, 0.28), inset 0 0 0 1px rgba(131, 113, 89, 0.16);
  animation: jingMenuIn 0.24s var(--ease-silk);
}
.jing-date-popover[hidden] { display: none; }
.jing-dp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.jing-dp-status { font-style: italic; font-size: 0.96rem; color: #3a3025; text-align: center; }
.jing-dp-months { display: grid; grid-template-columns: 1fr; gap: 16px; }
.jing-dp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.jing-dp-blank { display: block; height: 40px; }
.jing-dp-day {
  height: 40px; border: 0; background: transparent; color: #191d1a;
  font-family: var(--font-editorial); font-size: 1.04rem; font-variant-numeric: tabular-nums;
  cursor: pointer; transition: background-color 0.2s var(--ease-silk), color 0.2s var(--ease-silk);
}
.jing-dp-day:hover:not(:disabled) { background: rgba(232, 223, 207, 0.56); }
.jing-dp-day.is-past { color: rgba(25, 29, 26, 0.22); cursor: default; }
.jing-dp-day.is-in-range { background: rgba(232, 223, 207, 0.36); }
.jing-dp-day.is-start,
.jing-dp-day.is-end {
  background: rgba(232, 223, 207, 0.94);
  box-shadow: inset 0 -2px 0 #8c775c;
  font-weight: 500;
}

/* /book Editorial Date Triggers (Synced Directly With Two-Month Rate Calendar) */
.jing-date-field-btn {
  width: 100%; min-height: 41px; padding: 8px 2px 10px; border: 0;
  border-bottom: 1px solid rgba(131, 113, 89, 0.26); background: transparent;
  color: #23201b; font-family: var(--font-editorial); font-size: 1.06rem;
  text-align: left; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  transition: border-color 0.28s var(--ease-silk), background-color 0.28s var(--ease-silk);
}
.jing-date-field-btn:hover,
.jing-date-field-btn.is-active-pick {
  border-bottom-color: #837159;
  background: rgba(255, 253, 249, 0.38);
}
.jing-date-field-hint {
  font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(96, 82, 64, 0.56); white-space: nowrap;
}
.rate-calendar-shell.is-guided-pick {
  animation: jingGuideGlow 1s var(--ease-silk);
}
@keyframes jingGuideGlow {
  0% { background: rgba(235, 227, 213, 0.42); }
  100% { background: transparent; }
}

/* Subtle Image, Calendar, Spotlight & Value Micro-Transitions */
.rate-cal-months { transition: opacity 0.22s var(--ease-silk); }
.rate-cal-months.is-cal-loading { opacity: 0.48; }
#summaryRealmImg,
#capeCompanionImg { transition: opacity 0.34s var(--ease-silk); }
.is-img-swapping { opacity: 0.22 !important; }
.is-value-updating { animation: jingValuePulse 0.42s var(--ease-silk); }
@keyframes jingValuePulse {
  0% { opacity: 0.38; transform: translateY(2px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cape-spotlight-panel.is-spot-entering { animation: jingSpotFade 0.32s var(--ease-silk); }
@keyframes jingSpotFade {
  from { opacity: 0.45; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.cape-map-pin-dot,
.cape-map-pin-label { transition: fill 0.28s var(--ease-silk), stroke 0.28s var(--ease-silk); }
.cape-map-active-route.is-route-drawing { animation: jingRoutePulse 0.45s var(--ease-silk); }
@keyframes jingRoutePulse {
  from { opacity: 0.18; }
  to { opacity: 1; }
}

/* Sortable Comparison Table Headers on /realms */
.compare-sort-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; letter-spacing: inherit;
  text-transform: inherit; cursor: pointer; transition: color 0.22s var(--ease-silk);
}
.compare-sort-btn:hover,
.compare-sort-btn.is-sorted { color: #23201b; }
.compare-sort-arrow { font-size: 9px; opacity: 0.46; }
.compare-sort-btn.is-sorted .compare-sort-arrow { opacity: 1; color: #837159; }
.comparison-table-wrap tbody tr { transition: background-color 0.22s var(--ease-silk); }
.comparison-table-wrap tbody tr:hover { background: rgba(244, 239, 230, 0.56); }

/* Journal Hairline Reading Progress Bar */
.journal-progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 65; pointer-events: none;
}
.journal-progress-fill {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(131, 113, 89, 0.42), #837159);
  transform-origin: left center; transform: scaleX(0);
}

/* /my-stay Inline Copy Reference & Unsaved Preferences Indicator */
.stay-ref-cell { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stay-ref-text { overflow-wrap: anywhere; word-break: break-word; }
.stay-inline-action {
  padding: 2px 8px; border: 0; background: rgba(235, 227, 213, 0.72);
  color: #3a3025; font-family: var(--font-editorial); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
  transition: background-color 0.22s var(--ease-silk), color 0.22s var(--ease-silk);
}
.stay-inline-action:hover,
.stay-inline-action.is-copied { background: rgba(224, 214, 196, 0.96); color: #191d1a; }
.stay-save-status.is-dirty { font-style: italic; color: #837159; }
.maison-submit.is-dirty { background: rgba(226, 216, 199, 0.98); }

/* ==========================================================================
   Ceremonial Envelope Sealing Ritual (/book submit) & Sealed Sanctuary
   Invitation Envelope (/my-stay/<ref>?settled=1)
   ========================================================================== */

.envelope-ritual-overlay,
.sealed-invitation-modal {
  position: fixed; inset: 0; z-index: 235;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(238, 233, 224, 0.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.36s var(--ease-silk);
}
.envelope-ritual-overlay.is-visible,
.sealed-invitation-modal.is-open { opacity: 1; }
.sealed-invitation-modal[hidden] { display: none; }

.envelope-ritual-stage,
.sealed-invitation-stage {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  width: min(460px, 100%); perspective: 1200px;
}

/* Act I — Folding & Wax-Stamping the Reservation Envelope (/book -> /checkout in place) */
.envelope-ritual-packet {
  position: relative; width: 100%; height: 296px;
  background: linear-gradient(172deg, #fcfaf5 0%, #f4ede0 100%);
  box-shadow:
    0 44px 96px -34px rgba(34, 28, 20, 0.30),
    inset 0 0 0 1px rgba(131, 113, 89, 0.22);
  overflow: visible;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.56s var(--ease-silk), opacity 0.4s var(--ease-silk);
}
.envelope-ritual-overlay.is-visible .envelope-ritual-packet {
  transform: translateY(0) scale(1);
}
.envelope-ritual-overlay.is-handing-off .envelope-ritual-packet {
  transform: translateY(-10px) scale(0.98);
  opacity: 0;
}
.envelope-ritual-sheet {
  position: absolute; left: 26px; right: 26px; top: 18px; bottom: 26px;
  padding: 24px 22px; text-align: center;
  background: #fffefb;
  box-shadow: 0 22px 44px -24px rgba(34, 28, 20, 0.22), inset 0 0 0 1px rgba(131, 113, 89, 0.16);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  transform: translateY(-68px);
  opacity: 1;
  transition: transform 0.58s var(--ease-silk), opacity 0.36s var(--ease-silk);
  z-index: 1;
}
.envelope-ritual-overlay.is-tucked .envelope-ritual-sheet,
.envelope-ritual-overlay.is-folded .envelope-ritual-sheet {
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
}
.envelope-ritual-sheet-kicker { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #5b4c39; }
.envelope-ritual-sheet-name { margin: 0; font-style: italic; font-size: 1.62rem; font-weight: 400; color: #191d1a; }
.envelope-ritual-sheet-meta { margin: 0; font-size: 1rem; color: #3a3025; }

.envelope-ritual-pocket {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(175deg, #fbf8f1 0%, #f5efe2 54%, #eee5d5 100%);
  border: 1px solid rgba(131, 113, 89, 0.22);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 22px 24px 20px;
}
.envelope-ritual-flap {
  position: absolute; top: 0; left: 0; right: 0; height: 162px; z-index: 3;
  transform-origin: top center; transform: rotateX(-168deg);
  transition: transform 0.58s var(--ease-silk);
}
.envelope-ritual-flap svg { display: block; width: 100%; height: 100%; }
.envelope-ritual-overlay.is-folded .envelope-ritual-flap { transform: rotateX(0deg); }

.envelope-ritual-seal {
  position: absolute; left: 50%; top: 146px; z-index: 4;
  width: 58px; height: 58px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(1.48); opacity: 0;
  background: radial-gradient(circle at 34% 28%, #f8f3e9 0%, #e7dece 62%, #d4c5ad 100%);
  box-shadow:
    0 14px 30px -6px rgba(58, 47, 34, 0.36),
    inset 0 1px 2px rgba(255, 253, 249, 0.94),
    inset 0 -1px 3px rgba(102, 86, 63, 0.28);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.46s var(--ease-silk), opacity 0.32s var(--ease-silk);
}
.envelope-ritual-seal::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(131, 113, 89, 0.48); opacity: 0; transform: scale(0.9);
}
.envelope-ritual-seal::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 1px solid rgba(114, 96, 72, 0.34);
}
.envelope-ritual-seal .envelope-seal-monogram { font-size: 23px; color: #3a3025; }
.envelope-ritual-overlay.is-sealed .envelope-ritual-seal {
  transform: translate(-50%, -50%) scale(1); opacity: 1;
}
.envelope-ritual-overlay.is-sealed .envelope-ritual-seal::before {
  animation: sealRingPulse 0.85s var(--ease-silk) forwards;
}
@keyframes sealRingPulse {
  0% { opacity: 0.72; transform: scale(0.95); }
  100% { opacity: 0; transform: scale(1.78); }
}
.envelope-ritual-caption {
  margin: 0; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #3a3025; text-align: center;
}

/* Crisp Engraved Front Typography on Opaque Cotton-Rag Envelope (Zero Ghosting) */
.envelope-front-engraving {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  transition: opacity 0.36s var(--ease-silk);
}
.envelope-front-kicker {
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #5b4c39; font-weight: 500;
}
.envelope-front-addressee {
  margin: 2px 0 0; font-style: italic; font-weight: 400; font-size: 1.48rem;
  line-height: 1.2; color: #1d1914;
}
.envelope-front-sub {
  margin: 0; font-size: 0.96rem; color: #43372a;
}
.envelope-front-colophon {
  margin-top: 6px; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #675845;
}

/* Act II -> Act III — 4-Stage Physical Unseal: Crack Wax -> Unfold Flap -> Draw Out Letter -> Present */
.sealed-invitation-stage { width: min(540px, 100%); }
.sealed-envelope-packet {
  position: relative; width: 100%; height: 348px;
  background: transparent;
  box-shadow: 0 46px 96px -34px rgba(34, 28, 20, 0.32);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.56s var(--ease-silk), box-shadow 0.56s var(--ease-silk);
}
.sealed-invitation-modal.is-open .sealed-envelope-packet {
  transform: translateY(0) scale(1);
}
.sealed-envelope-packet.is-letter-presented {
  box-shadow: 0 28px 64px -32px rgba(34, 28, 20, 0.16);
}

/* Warm recessed inside back wall of the envelope (revealed when flap unfolds in Stage 2) */
.sealed-envelope-interior {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, #e5dccb 0%, #eee6d6 34%, #f4ede0 100%);
  box-shadow: inset 0 12px 24px -12px rgba(58, 47, 34, 0.22), inset 0 0 0 1px rgba(131, 113, 89, 0.24);
  transition: opacity 0.5s var(--ease-silk), transform 0.56s var(--ease-silk);
}
.sealed-envelope-packet.is-letter-presented .sealed-envelope-interior {
  opacity: 0.45;
  transform: translateY(24px) scale(0.96);
}

/* Paper slot extending above the envelope throat so the letter physically emerges out of the slot */
.sealed-letter-slot {
  position: absolute; left: 20px; right: 20px; top: -220px; bottom: 20px; z-index: 2;
  overflow: hidden;
  pointer-events: none;
  display: flex; align-items: flex-end; justify-content: center;
}
.sealed-envelope-packet.is-letter-presented .sealed-letter-slot {
  overflow: visible;
  z-index: 6;
  pointer-events: auto;
}

.sealed-envelope-letter {
  width: 100%; min-height: 306px;
  padding: 28px 28px 26px;
  text-align: center; background: #fffefb;
  box-shadow: 0 18px 40px -20px rgba(34, 28, 20, 0.22), inset 0 0 0 1px rgba(131, 113, 89, 0.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  /* Stage 0 & Stage 1: tucked 100% below the front pocket inside the envelope */
  transform: translateY(108%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.86s cubic-bezier(0.22, 0.84, 0.28, 1),
    opacity 0.42s var(--ease-silk),
    box-shadow 0.5s var(--ease-silk),
    visibility 0s linear 0.42s;
}
/* Stage 2 (Flap opening): top cream edge of letterhead gently peeks inside the open throat */
.sealed-envelope-packet.is-flap-opening .sealed-envelope-letter {
  transform: translateY(34%);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.65s var(--ease-silk) 0.18s,
    opacity 0.36s var(--ease-silk) 0.18s,
    visibility 0s linear 0s;
}
/* Stage 3 (Drawing out): letter physically glides UP and OUT of the paper slot! */
.sealed-envelope-packet.is-drawing-letter .sealed-envelope-letter {
  transform: translateY(-190px);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.82s cubic-bezier(0.22, 0.84, 0.28, 1),
    opacity 0.3s var(--ease-silk),
    visibility 0s linear 0s;
}
/* Stage 4 (Presented): floats forward in serene centered reading poise above the opened envelope */
.sealed-envelope-packet.is-letter-presented .sealed-envelope-letter {
  transform: translateY(-28px) scale(1.015);
  opacity: 1;
  visibility: visible;
  box-shadow: 0 38px 82px -24px rgba(34, 28, 20, 0.30), inset 0 0 0 1px rgba(131, 113, 89, 0.22);
  transition:
    transform 0.68s var(--ease-silk),
    box-shadow 0.68s var(--ease-silk);
}

.sealed-letter-kicker { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #5b4c39; font-weight: 500; margin-bottom: 10px; }
.sealed-letter-heading { font-style: italic; font-weight: 400; font-size: 1.92rem; color: #191d1a; margin: 0 0 6px; }
.sealed-letter-realm { font-size: 1.08rem; letter-spacing: 0.14em; text-transform: uppercase; color: #4a3e30; margin: 0 0 4px; }
.sealed-letter-dates { font-size: 1rem; color: #3a3025; margin: 0 0 14px; }
.sealed-letter-note { font-style: italic; font-size: 1rem; line-height: 1.62; color: #3a3025; margin: 0; max-width: 390px; }
.sealed-letter-enter-btn {
  align-self: center;
  margin-top: 22px;
  padding: 13px 28px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.42s var(--ease-silk) 0.16s, transform 0.42s var(--ease-silk) 0.16s, background-color 0.25s var(--ease-silk);
}
.sealed-envelope-packet.is-letter-presented .sealed-letter-enter-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Front opaque cotton-rag envelope pocket (with authentic V-throat cut once flap lifts!) */
.sealed-envelope-pocket {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(175deg, #fbf8f1 0%, #f5efe2 54%, #ede4d4 100%);
  border: 1px solid rgba(131, 113, 89, 0.22);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 24px 24px 24px;
  transition: opacity 0.55s var(--ease-silk), transform 0.58s var(--ease-silk), clip-path 0.35s var(--ease-silk);
}
.sealed-envelope-packet.is-flap-opening .sealed-envelope-pocket,
.sealed-envelope-packet.is-drawing-letter .sealed-envelope-pocket {
  clip-path: polygon(0 0, 50% 42%, 100% 0, 100% 100%, 0 100%);
}
.sealed-envelope-packet.is-letter-presented .sealed-envelope-pocket {
  opacity: 0.42;
  transform: translateY(24px) scale(0.96);
}
.sealed-envelope-packet.is-drawing-letter .envelope-front-engraving,
.sealed-envelope-packet.is-letter-presented .envelope-front-engraving {
  opacity: 0.22;
}

/* Triangular V-Flap (stays completely shut during Stage 1, unfolds in Stage 2, drops behind letter in Stage 3) */
.sealed-envelope-flap {
  position: absolute; top: 0; left: 0; right: 0; height: 175px; z-index: 4; pointer-events: none;
  transform-origin: top center; transform: rotateX(0deg);
  transition: transform 0.78s cubic-bezier(0.22, 0.85, 0.28, 1), opacity 0.45s var(--ease-silk);
}
.sealed-envelope-flap svg { display: block; width: 100%; height: 100%; }
.sealed-envelope-packet.is-sealing-entry .sealed-envelope-flap {
  transform: rotateX(-176deg);
}
.sealed-envelope-packet.is-flap-opening .sealed-envelope-flap {
  transform: rotateX(-176deg);
}
.sealed-envelope-packet.is-drawing-letter .sealed-envelope-flap,
.sealed-envelope-packet.is-letter-presented .sealed-envelope-flap {
  transform: rotateX(-176deg);
  z-index: 1;
}
.sealed-envelope-packet.is-letter-presented .sealed-envelope-flap {
  opacity: 0.35;
}

/* Two-Half Split Embossed Champagne-Travertine J Wax Seal (Stage 1 Physical Fracture) */
.sealed-wax-btn {
  position: absolute; left: 50%; top: 158px; z-index: 5;
  width: 66px; height: 66px; border-radius: 50%; border: 0; padding: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.26s var(--ease-silk), opacity 0.34s var(--ease-silk);
}
.sealed-wax-btn::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(131, 113, 89, 0.56); opacity: 0; transform: scale(0.92);
  pointer-events: none;
}
.wax-half {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f8f3e9 0%, #e7dece 62%, #d4c5ad 100%);
  box-shadow:
    0 12px 26px -6px rgba(58, 47, 34, 0.34),
    inset 0 1px 2px rgba(255, 253, 249, 0.94),
    inset 0 -1px 3px rgba(102, 86, 63, 0.30);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.48s cubic-bezier(0.22, 0.85, 0.28, 1), opacity 0.44s var(--ease-silk);
}
.wax-half::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 1px solid rgba(114, 96, 72, 0.36);
}
.wax-half .envelope-seal-monogram { font-size: 26px; color: #3a3025; }
.wax-half--top { clip-path: inset(0 0 49% 0); }
.wax-half--bottom { clip-path: inset(49% 0 0 0); }

.wax-crack-line {
  position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(114, 96, 72, 0.72) 25%, rgba(255, 253, 249, 0.95) 50%, rgba(114, 96, 72, 0.72) 75%, transparent 100%);
  transform: translateY(-50%) scaleX(0);
  opacity: 0;
  transition: transform 0.22s var(--ease-silk), opacity 0.26s var(--ease-silk);
}

.sealed-envelope-packet.is-sealing-entry .sealed-wax-btn {
  transform: translate(-50%, -50%) scale(1.45);
  opacity: 0;
  pointer-events: none;
}
.sealed-envelope-packet.is-seal-stamping .sealed-wax-btn {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.sealed-envelope-packet.is-seal-stamping .sealed-wax-btn::before {
  animation: sealRingPulse 0.85s var(--ease-silk) forwards;
}
.sealed-wax-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
}
.sealed-envelope-packet.is-seal-pressed .sealed-wax-btn {
  transform: translate(-50%, -50%) scale(0.92);
}
/* Stage 1: Fracture hairline flashes & the two wax halves cleanly separate and dissolve */
.sealed-envelope-packet.is-breaking-seal .sealed-wax-btn {
  pointer-events: none;
}
.sealed-envelope-packet.is-breaking-seal .sealed-wax-btn::before {
  animation: sealRingPulse 0.72s var(--ease-silk) forwards;
}
.sealed-envelope-packet.is-breaking-seal .wax-crack-line {
  transform: translateY(-50%) scaleX(1.1);
  opacity: 1;
}
.sealed-envelope-packet.is-breaking-seal .wax-half--top {
  transform: translate(-4px, -18px) rotate(-11deg);
  opacity: 0;
}
.sealed-envelope-packet.is-breaking-seal .wax-half--bottom {
  transform: translate(4px, 18px) rotate(11deg);
  opacity: 0;
}
.sealed-envelope-packet.is-flap-opening .sealed-wax-btn,
.sealed-envelope-packet.is-drawing-letter .sealed-wax-btn,
.sealed-envelope-packet.is-letter-presented .sealed-wax-btn {
  opacity: 0;
  pointer-events: none;
}

.sealed-invitation-prompt {
  margin: 0; min-height: 1.5em; font-style: italic; font-size: 1.06rem; color: #2f271e;
  letter-spacing: 0.02em; text-align: center;
  transition: opacity 0.3s var(--ease-silk);
}

@media (max-width: 720px) {
  .jing-dp-months { grid-template-columns: 1fr; }
  .dossier-lightbox { padding: 3.5rem 1rem 2rem; }
  .dossier-lightbox-nav { width: 38px; height: 38px; }
  .dossier-lightbox-nav--prev { left: 0.75rem; }
  .dossier-lightbox-nav--next { right: 0.75rem; }
}

/* ==========================================================================
   Responsive Breakpoints & Reduced-Motion Parity
   ========================================================================== */

@media (max-width: 1120px) {
  .site-brand-coords { display: none; }
  .hero-carousel-viewport { scroll-padding-right: 0; margin-top: -24px; margin-bottom: -40px; }
  .hero-carousel-track { padding: 48px calc(50vw - min(33vw, 360px)) 68px; gap: 36px; }
  .hero-slide { flex: 0 0 min(66vw, 720px); width: min(66vw, 720px); }
  .floating-book-bar.envelope-desk { padding: 0 14px 18px; }
  .envelope-flap-crown { margin: 0 -14px; height: 42px; }
  .envelope-desk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 4px 2px; gap: 6px; }
  .book-bar-field + .book-bar-field::before { display: none; }
  .book-bar-submit { grid-column: 1 / -1; margin-left: 0; min-height: 48px; }
  .cape-telemetry-bar, .cape-telemetry-bar--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crm-grid, .bulk-rate-grid, .tape-cell-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manifesto-split, .cape-atlas-layout, .dossier-hero, .dossier-textile-grid,
  .sanctuary-discipline-spread, .offer-spread, .journal-feature-row,
  .maison-grid, .dispatch-panel, .tasting-menu-grid { grid-template-columns: 1fr; }
  .booking-engine-grid, .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .sanctuary-discipline-spread--reverse .sanctuary-spread-plate,
  .offer-spread--reverse .offer-spread-img { order: 0; }
  .dossier-board-col, .booking-summary-col { position: static; }
  .atelier-specs, .privileges-grid, .archive-grid--home, .rhythm-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers-preview-grid, .journal-grid, .press-grid, .makers-grid,
  .arrival-mini-grid, .excursion-grid, .arrival-modes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grand-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    height: 56px;
    padding: 0 1rem;
    gap: 10px;
  }
  .site-nav {
    min-width: 0;
    justify-self: stretch;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 6px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 14px), transparent 100%);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav-link { font-size: 10px; letter-spacing: 0.12em; }
  .hero-rail, .stage-tool-btn { display: none; }
  .hero-stage-section { min-height: auto; padding: 72px 1rem 2rem; }
  .hero-stage-inner { min-height: auto; gap: 18px; }
  .hero-carousel-viewport {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
    transform: none;
    scroll-padding-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-carousel-track { padding: 14px 1.2rem 36px; gap: 16px; }
  .hero-slide { flex: 0 0 calc(100vw - 2.4rem); width: calc(100vw - 2.4rem); }
  .hero-caption, .hero-arrows, .floating-book-bar { position: static; transform: none; width: 100%; max-width: none; }
  .hero-stage-section + .editorial-band { padding-top: 3.8rem; }
  .cape-survey-strip, .cape-companion-card { grid-template-columns: 1fr; }
  .cape-companion-plate { min-height: 210px; }
  .archive-layout, .archive-grid, .archive-grid--home, .sanctuary-dual-grid, .offers-preview-grid,
  .journal-grid, .atelier-specs, .privileges-grid, .dossier-textile-specs,
  .reserve-form-row, .addons-grid, .cape-telemetry-bar, .season-almanac,
  .grand-footer-grid, .rhythm-timeline, .arrival-mini-grid, .press-grid,
  .makers-grid, .dispatch-form, .dossier-policies-grid, .ritual-grid,
  .excursion-grid, .arrival-modes-grid, .rate-cal-months, .stay-lookup-form,
  .settlement-toggle, .wallet-express-row, .admin-role-grid, .crm-guest-fields,
  .cms-steps-grid, .cms-upload-controls, .bulk-rate-grid, .tape-cell-editor-grid,
  .gl-two-col { grid-template-columns: 1fr; }
  .gl-fx-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-index { position: static; }
}

/* ── Multi-Currency FX Snapshot Strip & Double-Entry Financial General Ledger ── */
.folio-fx-strip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(235, 227, 213, 0.36);
  border-top: 1px solid rgba(131, 113, 89, 0.16);
}
.folio-fx-rate {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b4c39;
}
.folio-fx-base {
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(48, 40, 31, 0.72);
}

.admin-role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gl-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 18px 22px;
  background: rgba(251, 249, 245, 0.86);
  box-shadow: 0 22px 52px -34px rgba(20, 24, 22, 0.16);
}
.gl-status-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.gl-status-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.gl-status-actions .admin-save-btn--ghost,
.gl-export-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 11px 20px;
  margin-top: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.gl-balance-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(242, 236, 226, 0.88);
  color: #3f3428;
}
.gl-balance-pill.is-balanced {
  background: rgba(242, 236, 226, 0.88);
  color: #3f3428;
}
.gl-balance-pill.is-unbalanced {
  background: rgba(236, 220, 215, 0.92);
  color: #6e2f24;
}

.gl-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}
.gl-two-col--even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gl-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gl-trial-total-row td {
  border-top: 1px solid rgba(131, 113, 89, 0.34);
  background: rgba(235, 227, 213, 0.36);
}

.gl-fx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gl-fx-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: rgba(244, 239, 230, 0.52);
  border-bottom: 1px solid rgba(131, 113, 89, 0.18);
}
.gl-fx-code {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b5c48;
}
.gl-fx-card strong {
  font-size: 1.08rem;
  font-weight: 500;
  color: #211d18;
  font-variant-numeric: tabular-nums;
}

.gl-journal-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.gl-entry-card {
  padding: 16px 18px;
  background: rgba(246, 241, 232, 0.44);
}
.gl-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.gl-entry-meta, .gl-entry-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.gl-entry-id {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: #362e24;
}
.gl-entry-memo {
  margin: 8px 0 10px;
  font-size: 0.96rem;
  color: rgba(34, 29, 24, 0.82);
}
.gl-type-pill {
  display: inline-flex;
  padding: 3px 9px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(242, 236, 226, 0.86);
  color: #4d4030;
}
.gl-type-pill--settlement_deposit,
.gl-type-pill--settlement_full,
.gl-type-pill--revenue_recognition {
  background: rgba(235, 227, 213, 0.92);
  color: #362c21;
}
.gl-type-pill--refund {
  background: rgba(236, 220, 215, 0.88);
  color: #6e2f24;
}
.gl-fx-pill {
  display: inline-flex;
  padding: 3px 9px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: rgba(242, 236, 226, 0.82);
  color: #5b4c39;
}

.gl-lines-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.gl-lines-table th {
  text-align: left;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(92, 78, 60, 0.72);
  padding: 6px 8px;
  border-bottom: 1px solid rgba(131, 113, 89, 0.18);
}
.gl-lines-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(131, 113, 89, 0.09);
  color: #211d18;
}
.gl-lines-table td code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  color: #6c5a44;
  margin-right: 4px;
}
.gl-acct-credit {
  padding-left: 24px !important;
}

/* ── Pricing Rule Simulator & Delete Confirmation ── */
.pricing-sim-box {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(131, 113, 89, 0.18);
}
.pricing-sim-form {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-top: 12px;
}
.pricing-sim-btn-wrap {
  display: flex;
  align-items: flex-end;
}
.pricing-del-btn.is-armed {
  background: rgba(232, 212, 206, 0.96);
  color: #6e2f24;
}
.tz-badge-line {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(96, 82, 64, 0.78);
}
@media (max-width: 960px) {
  .pricing-sim-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.lang-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: rgba(25, 29, 26, 0.76);
  font-family: inherit;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.24s var(--ease-silk), color 0.24s var(--ease-silk);
}

.lang-picker-trigger:hover,
.lang-picker-trigger:focus-visible,
.lang-picker.is-open .lang-picker-trigger {
  background: rgba(242, 236, 226, 0.86);
  color: #171b18;
  outline: none;
}

.lang-picker-globe {
  opacity: 0.72;
}

.lang-picker-caret {
  opacity: 0.62;
  transition: transform 0.24s var(--ease-silk);
}

.lang-picker.is-open .lang-picker-caret {
  transform: rotate(180deg);
}

.lang-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 158px;
  padding: 6px;
  border-radius: 2px;
  background: rgba(252, 250, 246, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(32, 27, 21, 0.11), 0 1px 3px rgba(32, 27, 21, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}

.lang-picker-menu[hidden] {
  display: none;
}

.lang-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 2px;
  text-decoration: none;
  color: rgba(25, 29, 26, 0.80);
  transition: background 0.2s var(--ease-silk), color 0.2s var(--ease-silk);
}

.lang-picker-option:hover,
.lang-picker-option:focus-visible {
  background: rgba(240, 234, 223, 0.88);
  color: #171b18;
  outline: none;
}

.lang-picker-option.is-active {
  background: rgba(235, 227, 213, 0.92);
  color: #1f1c18;
}

.lang-picker-code {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(96, 82, 64, 0.78);
  min-width: 22px;
}

.lang-picker-option.is-active .lang-picker-code {
  color: #5b4c39;
}

.lang-picker-name {
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.pricing-rule-panel { margin-top: 1.8rem; }
.pricing-rule-panel .admin-table-wrap { margin-block: 1rem; }
.pricing-rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 12px;
}
.pricing-weekdays {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  margin: 1rem 0;
  border: 0;
}
.pricing-weekdays label, .pricing-enabled {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
}
.pricing-rule-panel input[type="checkbox"] { accent-color: #837159; }

/* ── The House: About, Conservation, Press, Careers, Contact & Legal ── */
.house-hero-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
  margin-top: 2.2rem;
}

.house-prose {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 1.08rem;
  line-height: 1.78;
  color: rgba(25, 29, 26, 0.82);
}

.house-section {
  margin-top: clamp(3.6rem, 7vh, 5.4rem);
  padding-top: clamp(2.4rem, 4.5vh, 3.4rem);
  border-top: 1px solid rgba(131, 113, 89, 0.16);
  scroll-margin-top: 96px;
}

.house-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.house-card,
.house-maker-card,
.house-press-card {
  padding: 1.6rem 1.7rem;
  background: rgba(250, 247, 241, 0.72);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.house-card p,
.house-maker-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(25, 29, 26, 0.78);
}

.house-maker-card h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 400;
  color: #171b18;
}

.house-press-card {
  margin: 0;
  justify-content: space-between;
}

.house-press-card p {
  margin: 0;
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.68;
  color: rgba(25, 29, 26, 0.84);
}

.house-press-card footer {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(96, 82, 64, 0.78);
  margin-top: 8px;
}

.house-cta-strip {
  margin-top: 1.8rem;
  padding: 1.6rem 1.9rem;
  background: rgba(248, 244, 236, 0.80);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.house-cta-strip > div {
  max-width: 660px;
}

.house-legal-block + .house-legal-block {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(131, 113, 89, 0.14);
}

.house-legal-block h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  font-weight: 400;
  color: #171b18;
}

.house-legal-block p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.76;
  color: rgba(25, 29, 26, 0.80);
}

.folio-ledger a,
.booking-engine-footnote a {
  color: #3f3428;
  text-decoration: none;
  border-bottom: 1px solid rgba(131, 113, 89, 0.34);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease-silk), border-color 0.25s var(--ease-silk), opacity 0.25s var(--ease-silk);
}

.folio-ledger a:hover,
.booking-engine-footnote a:hover {
  color: #171b18;
  border-bottom-color: rgba(131, 113, 89, 0.72);
}

/* ── Admin Correspondence Inbox & Branded 404 Shell ── */
.inquiry-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.inquiry-card {
  padding: 14px 16px;
  background: rgba(249, 245, 238, 0.84);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inquiry-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.94rem;
}

.inquiry-card-head a {
  color: #3f3428;
  text-decoration: none;
  border-bottom: 1px solid rgba(131, 113, 89, 0.3);
}

.inquiry-dept-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(235, 227, 213, 0.92);
  color: #4f4232;
}

.inquiry-status-pill {
  padding: 2px 8px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(236, 226, 210, 0.94);
  color: #5b4c39;
}

.inquiry-status-pill.is-replied {
  background: rgba(226, 233, 224, 0.9);
  color: #3a523c;
}

.inquiry-card-msg {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: rgba(25, 29, 26, 0.82);
}

.inquiry-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(131, 113, 89, 0.12);
}

.not-found-shell {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

.sanctuary-film-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e4ded3;
}

.sanctuary-ambient-film {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e4ded3;
}

.sanctuary-ambient-film.is-letterbox-crop {
  transform: scale(1.32);
  transform-origin: center center;
}

.sanctuary-ambient-film.is-edge-trim {
  transform: scale(1.12);
  transform-origin: 72% center;
}

.sanctuary-film-frame--cinema {
  aspect-ratio: 16 / 9;
}

.dossier-cinema-section {
  margin-top: clamp(3rem, 6vh, 4.4rem);
}

@media (max-width: 960px) {
  .house-hero-band,
  .house-three-grid {
    grid-template-columns: 1fr;
  }
}
.pricing-rule-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0.75rem; }
.pricing-rule-panel .crm-save-msg { min-height: 1lh; }
.property-time-note { margin: 0.5rem 0 0; }
