/* ============================================================
   THE INTENSIVE — Design System
   Dark luxury editorial. Helvetica Neue weight contrast.
   Warm near-black, bone, stone.
   ============================================================ */

:root {
  --ink:    #0D0C0A;   /* warm near-black, base */
  --ink-2:  #14120E;   /* raised surface */
  --ink-3:  #1B1813;   /* deepest plate tone */
  --bone:   #EDE9E2;   /* primary text */
  --ash:    #9C948A;   /* secondary text */
  --stone:  #B8997A;   /* warm stone accent */
  --line:   rgba(237, 233, 226, 0.13);
  --line-strong: rgba(237, 233, 226, 0.28);

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --pad: clamp(24px, 5vw, 88px);
  --max: 1440px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 1.1s;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---------- Type roles ---------- */

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash);
}

.label--stone { color: var(--stone); }
.label--bone  { color: var(--bone); }

.display {
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--bone);
}

.display .tint { color: var(--stone); }
.display .heavy { font-weight: 500; }

h1.display { font-size: clamp(3rem, 8.5vw, 7.5rem); }
h2.display { font-size: clamp(2.1rem, 4.8vw, 4.2rem); }
h3.display { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--bone);
}

.body-copy p { color: var(--ash); margin-bottom: 1.4em; max-width: 38em; }
.body-copy p:last-child { margin-bottom: 0; }
.body-copy strong { color: var(--bone); font-weight: 400; }
.body-copy em { font-style: normal; color: var(--stone); }

/* ---------- Layout primitives ---------- */

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section { padding-top: clamp(96px, 14vh, 200px); padding-bottom: clamp(96px, 14vh, 200px); }
.section--tight { padding-top: clamp(64px, 9vh, 120px); padding-bottom: clamp(64px, 9vh, 120px); }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(24px, 4vw, 64px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }

@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4, .grid--split { grid-template-columns: 1fr; }
}

/* ---------- Ledger row (recurring structural motif) ---------- */

.ledger {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: nowrap;
}

@media (max-width: 640px) {
  .ledger { gap: 12px; }
  .ledger .label {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .ledger .label + .label { text-align: right; }
}


.ledger .label { color: var(--bone); }
.ledger .label + .label { color: var(--ash); }
.ledger .label.right { color: var(--stone); }

/* ---------- Pull quote ---------- */

.pull {
  border-left: 1px solid var(--stone);
  padding-left: clamp(24px, 3vw, 44px);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--stone);
  max-width: 22em;
}

.pull strong { color: var(--bone); font-weight: 500; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 20px 56px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.btn:hover, .btn:focus-visible { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.btn--stone { border-color: var(--stone); color: var(--stone); }
.btn--stone:hover, .btn--stone:focus-visible { background: var(--stone); color: var(--ink); border-color: var(--stone); }

.link-more {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone);
  border-bottom: 1px solid var(--stone);
  padding-bottom: 10px;
  transition: color 0.4s var(--ease);
}
.link-more::after { content: "\00a0\00a0+"; color: var(--stone); }
.link-more:hover { color: var(--stone); }

/* ---------- Header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.6s var(--ease), border-color 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-head.scrolled {
  background: rgba(13, 12, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-head__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }

.site-nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  transition: color 0.4s var(--ease);
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bone); }

.site-nav a.nav-apply {
  color: var(--stone);
  font-weight: 500;
  transition: color 0.4s var(--ease);
}
.site-nav a.nav-apply:hover { color: var(--bone); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 0 10px 16px;
  margin: 0;
  color: var(--bone);
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__lines {
  display: block;
  position: relative;
  width: 22px;
  height: 12px;
}
.nav-toggle__lines > span {
  position: absolute;
  left: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle__lines > span:nth-child(1) { top: 3px; }
.nav-toggle__lines > span:nth-child(2) { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines > span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__lines > span:nth-child(2) {
  top: 5px;
  transform: rotate(-45deg);
}

/* When mobile menu is open: freeze page scroll and neutralize the header's
   backdrop-filter so it cannot create a containing block. The menu is also
   moved to <body> by JS, so this is belt-and-suspenders. */
html.menu-open { overflow: hidden; }
html.menu-open .site-head {
  backdrop-filter: none !important;
  background: #0D0C0A !important;
  border-bottom-color: var(--line);
  z-index: 300;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    background-color: #0D0C0A;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
    padding: 110px var(--pad) 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    z-index: 100;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 100;
  }
  .site-nav a {
    font-family: var(--font);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ash);
    padding: 7px 0;
    width: auto;
    border: 0;
    text-align: right;
    transition: color 0.4s ease;
    opacity: 0;
    transform: translateY(4px);
  }
  .site-nav.open a {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.4s ease;
  }
  .site-nav.open a:nth-child(1) { transition-delay: 0.06s; }
  .site-nav.open a:nth-child(2) { transition-delay: 0.11s; }
  .site-nav.open a:nth-child(3) { transition-delay: 0.16s; }
  .site-nav.open a:nth-child(4) { transition-delay: 0.21s; }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] { color: var(--bone); }
  .site-nav a.nav-apply { color: var(--stone); font-weight: 400; }
  .site-nav a.nav-apply:hover { color: var(--bone); }
  .nav-toggle { display: block; position: relative; z-index: 250; }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  position: relative;
}

.hero__media { position: relative; overflow: hidden; }

.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(96px, 12vh, 160px) var(--pad) clamp(48px, 7vh, 88px);
  gap: clamp(36px, 5vh, 64px);
}

.hero--full { grid-template-columns: 1fr; }
.hero--full .hero__media { position: absolute; inset: 0; }
.hero--full .hero__panel { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; }

.hero__title-block { position: absolute; left: var(--pad); bottom: clamp(40px, 6vh, 72px); z-index: 3; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { min-height: 62svh; }
  .hero__title-block { bottom: 32px; }
}

/* Venue full-bleed hero */
.venue-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.venue-hero .plate { position: absolute; inset: 0; height: 100%; }
.venue-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; background: linear-gradient(rgba(13,12,10,0.72), transparent); z-index: 1; pointer-events: none; }
.venue-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(to top, rgba(13,12,10,0.9), rgba(13,12,10,0.28) 42%, transparent); z-index: 1; pointer-events: none; }
.venue-hero__overlay { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); }
@media (max-width: 900px) { .venue-hero { min-height: 82svh; } }

/* ---------- Plates (art-directed image placeholders) ----------
   Replace each .plate with photography per the caption.
   Grain + layered gradients approximate tonal direction.        */

.plate {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  width: 100%;
}

.plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.plate__label {
  position: absolute;
  left: 24px;
  bottom: 20px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(237, 233, 226, 0.34);
  z-index: 2;
}

.plate--169 { aspect-ratio: 16 / 9; }
.plate--1610 { aspect-ratio: 16 / 10; }
.plate--34 { aspect-ratio: 3 / 4; }
.plate--45 { aspect-ratio: 4 / 5; }
.plate--219 { aspect-ratio: 21 / 9; }
.plate--32 { aspect-ratio: 3 / 2; }
.plate--43 { aspect-ratio: 4 / 3; }
.plate--fill { position: absolute; inset: 0; height: 100%; }

.plate--photo { background-size: cover; background-position: center; }
.plate--photo.focus-low { background-position: center 55%; }
.hero__media .plate__label { display: none; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(to top, rgba(13, 12, 10, 0.78), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  background: linear-gradient(rgba(13, 12, 10, 0.72), transparent);
  z-index: 2;
  pointer-events: none;
}
.plate--photo::after { content: none !important; }
.plate--photo .plate__label { color: rgba(237, 233, 226, 0.5); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }

/* tonal directions */
.plate--dusk     { background: linear-gradient(160deg, #221C14 0%, #14110C 38%, #0D0C0A 100%); }
.plate--dusk::after { content:""; position:absolute; inset:0;
  background: radial-gradient(120% 90% at 78% 8%, rgba(184,153,122,0.22) 0%, transparent 55%); }
.plate--jungle   { background: linear-gradient(195deg, #181B13 0%, #101209 45%, #0C0D08 100%); }
.plate--jungle::after { content:""; position:absolute; inset:0;
  background: radial-gradient(90% 70% at 20% 100%, rgba(96,108,72,0.20) 0%, transparent 60%); }
.plate--pool     { background: linear-gradient(180deg, #11161A 0%, #0C1013 55%, #0B0D0E 100%); }
.plate--pool::after { content:""; position:absolute; inset:0;
  background: radial-gradient(110% 60% at 50% 100%, rgba(94,118,124,0.22) 0%, transparent 65%); }
.plate--stone    { background: linear-gradient(170deg, #2A241C 0%, #191510 50%, #100E0B 100%); }
.plate--stone::after { content:""; position:absolute; inset:0;
  background: linear-gradient(115deg, transparent 42%, rgba(184,153,122,0.14) 50%, transparent 60%); }
.plate--interior { background: linear-gradient(150deg, #1E1812 0%, #131009 55%, #0D0C0A 100%); }
.plate--interior::after { content:""; position:absolute; inset:0;
  background: radial-gradient(70% 90% at 84% 50%, rgba(214,178,138,0.18) 0%, transparent 58%); }
.plate--sea      { background: linear-gradient(180deg, #15191C 0%, #0E1214 60%, #0B0D0E 100%); }
.plate--sea::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(110,128,130,0.16) 75%, transparent 100%); }

/* ---------- Sequence (Experience preview / itinerary) ---------- */

.seq { }

.seq__row {
  display: grid;
  grid-template-columns: 90px minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 56px);
  padding: clamp(32px, 4.5vh, 56px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.seq__row:first-child { padding-top: 0; }
.seq__row:last-child { border-bottom: none; padding-bottom: 0; }

.seq__num {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--stone);
  padding-top: 8px;
}

.seq__name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 200; line-height: 1.1; margin-bottom: clamp(16px, 2.4vh, 28px); }

.seq__copy { color: var(--ash); max-width: 34em; }

@media (max-width: 900px) {
  .seq__row { grid-template-columns: 1fr; gap: 12px; }
  .seq__name { margin-bottom: clamp(12px, 1.6vh, 20px); }
}


/* ---------- Footer ---------- */

.site-foot { border-top: 1px solid var(--line); margin-top: clamp(32px, 5vh, 64px); }

.site-foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 96px) var(--pad) clamp(56px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
}
.site-foot__meta { max-width: 26em; }

.site-foot nav { display: grid; gap: 14px; }
.site-foot nav a { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ash); transition: color 0.4s var(--ease); }
.site-foot nav a:hover { color: var(--bone); }

.site-foot__meta { color: var(--ash); font-size: 13px; line-height: 2; }

.site-foot__base {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 40px;
}

@media (max-width: 900px) {
  .site-foot__inner {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 36px;
  }
  .site-foot__inner > div:last-child {
    justify-content: flex-start !important;
  }
}

/* ---------- Forms (Apply / Inquire) ---------- */

.form { display: grid; gap: 44px; max-width: 720px; }

.field { display: grid; gap: 14px; scroll-margin-top: 120px; }

.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash);
  transition: color 0.3s var(--ease);
}

.field input, .field textarea, .field select {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  padding: 12px 0 16px;
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
  width: 100%;
  box-sizing: border-box;
}

.field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }

.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--stone); }

.field ::placeholder { color: rgba(156, 148, 138, 0.45); }

/* Kill Safari/Chrome autofill yellow background and force token colors */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active,
.field textarea:-webkit-autofill,
.field select:-webkit-autofill {
  -webkit-text-fill-color: var(--bone);
  -webkit-box-shadow: 0 0 0 1000px var(--ink) inset;
  box-shadow: 0 0 0 1000px var(--ink) inset;
  caret-color: var(--bone);
  transition: background-color 9999s ease-in-out 0s;
}


/* Subtle inline validation */
.field--error input,
.field--error textarea,
.field--error select { border-bottom-color: var(--line); }
.field__error {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
  margin-top: -2px;
}

.form__notice {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Mobile polish — prevent iOS zoom, preserve typographic style */
@media (max-width: 640px) {
  .form { gap: 36px; }
  .field { gap: 10px; }
  .field input, .field textarea, .field select {
    font-size: 16px;
    padding: 10px 0 14px;
  }
  .field textarea { min-height: 104px; line-height: 1.6; }
  .field label { font-size: 10px; letter-spacing: 0.24em; }
}

/* ---------- Reveal motion ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}

html.js .reveal.in { opacity: 1; transform: none; }

html.js .reveal[data-delay="1"] { transition-delay: 0.12s; }
html.js .reveal[data-delay="2"] { transition-delay: 0.24s; }
html.js .reveal[data-delay="3"] { transition-delay: 0.36s; }
html.js .reveal[data-delay="4"] { transition-delay: 0.48s; }
html.js .reveal[data-delay="5"] { transition-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Utilities ---------- */

.measure { max-width: 38em; }
.measure-wide { max-width: 52em; }
.stack-lg > * + * { margin-top: clamp(28px, 4vh, 48px); }
.stack-md > * + * { margin-top: 22px; }
.stack-sm > * + * { margin-top: 14px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

:focus-visible { outline: 1px solid var(--stone); outline-offset: 4px; }


/* ---------- Quiet hero (near-empty, type-led) ---------- */
.hero-quiet {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-quiet__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(28px, 4vh, 48px);
  padding-top: clamp(96px, 14vh, 180px);
  padding-bottom: clamp(48px, 7vh, 88px);
}
.hero-quiet__inner > .shell { margin-left: 0; margin-right: 0; width: 100%; max-width: none; }
.hero-quiet__inner > .shell.hero-quiet__head,
.hero-quiet__inner .hero-quiet__meta { padding-left: var(--pad); padding-right: var(--pad); }
.hero-quiet__word {
  font-size: clamp(3.4rem, 12vw, 10rem);
  line-height: 0.92;
  font-weight: 200;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: left;
}
.hero-quiet__line {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 300;
  color: var(--bone);
  letter-spacing: 0.01em;
  margin: 0;
}
.hero-quiet__foot { margin-top: clamp(40px, 9vh, 120px); }
.hero-quiet__rule {
  width: 100%;
  height: 1px;
  background: var(--line);
}
.hero-quiet__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 22px;
}
.hero-quiet__meta .label { color: var(--bone); }
.hero-quiet__six {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s var(--ease);
}
.hero-quiet__six:hover { color: var(--stone); }


/* ---------- View-rooms link (modal trigger) ---------- */
.ledger-viewlink {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--stone);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.4s var(--ease);
}
.ledger-viewlink:hover { opacity: 0.7; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal__scrim { position: absolute; inset: 0; background: rgba(8, 7, 6, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__panel {
  position: relative;
  z-index: 2;
  background: var(--ink);
  width: min(1040px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(32px, 5vw, 72px);
  transform: translateY(18px);
  transition: transform 0.5s var(--ease);
  -webkit-overflow-scrolling: touch;
}
.modal.open .modal__panel { transform: none; }
.modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  background: none;
  border: 0;
  color: var(--ash);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.4s var(--ease);
}
.modal__close:hover { color: var(--bone); }
.modal__head { max-width: 38em; margin: clamp(8px, 2vh, 24px) 0 clamp(32px, 5vh, 56px); }
.modal__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 200; line-height: 1.02; letter-spacing: -0.01em; margin: 18px 0; }
.modal__lede { color: var(--ash); font-size: 1rem; line-height: 1.7; max-width: 34em; }
.modal__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.modal__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; margin: 0; }
@media (max-width: 720px) {
  .modal__panel { width: 100vw; max-height: 100svh; height: 100svh; padding: 24px 20px 48px; }
  .modal__gallery { grid-template-columns: 1fr; }
}

/* ---------- View rooms CTA (venue page) ---------- */
.viewrooms-cta {
  background: none;
  border: 1px solid var(--stone);
  color: var(--stone);
  padding: 18px 44px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.viewrooms-cta:hover { background: var(--stone); color: var(--ink); }


/* ---------- Full-width rule above the application form ---------- */
.form-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: clamp(48px, 7vh, 88px) 0 clamp(40px, 6vh, 64px);
  width: 100%;
}

.privacy-link { text-decoration: none; transition: color 0.3s var(--ease); }
.privacy-link:hover, .privacy-link:focus-visible { color: #fff !important; }
