:root {
  --paper: #FBF8F3;
  --sand: #EAE1D4;
  --ink: #22303A;
  --sea: #2E5A6B;
  --sky: #A8CADD;
  --gold: #C29A3B;
  --white: #fff;
  --line: rgba(34, 48, 58, .14);
  --soft: rgba(34, 48, 58, .68);
  --shadow: 0 18px 48px rgba(34, 48, 58, .12);
  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1200px;
  --prose: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, .price, .serif { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { margin: .28rem 0 0; font-size: clamp(2rem, 4vw, 3.7rem); max-width: 13ch; }
h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - clamp(2rem, 7vw, 6rem))); margin-inline: auto; }
.prose { max-width: var(--prose); }
.label {
  display: inline-block;
  font: 650 .72rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sea);
}
.muted { color: var(--soft); }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem .8rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  color: var(--white);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-nav {
  background: linear-gradient(to bottom, rgba(16, 24, 30, .34), rgba(16, 24, 30, .12));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-nav.scrolled,
.site-nav.open {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(34, 48, 58, .08);
  border-bottom: 1px solid rgba(34, 48, 58, .06);
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: .18rem;
}
.brand-sub {
  font-family: inherit;
  font-size: .52rem;
  letter-spacing: .46em;
  opacity: .72;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.35rem, 1.2vw, .95rem);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .87rem;
  font-weight: 760;
  letter-spacing: 0;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: .24rem .58rem;
  border-radius: 999px;
  text-decoration: none;
  opacity: .86;
  transition: opacity .16s ease, color .16s ease, background-color .16s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 .15rem;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.42);
  transform-origin: center;
  transition: opacity .16s ease, transform .16s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active,
.nav-links a[aria-current="location"] {
  opacity: 1;
  background: color-mix(in srgb, currentColor 11%, transparent);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  opacity: .72;
  transform: scaleX(1);
}
.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
.nav-tools { display: flex; align-items: center; gap: .7rem; }
.locale-control {
  position: relative;
  z-index: 2;
}
.locale-dropdown {
  position: relative;
  font-size: .78rem;
}
.locale-dropdown summary {
  min-width: 6.35rem;
  min-height: 2.08rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .42rem;
  list-style: none;
  border: 1px solid color-mix(in srgb, currentColor 52%, transparent);
  border-radius: 999px;
  padding: .32rem .5rem;
  background: color-mix(in srgb, currentColor 9%, transparent);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  cursor: pointer;
  user-select: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.locale-dropdown summary:hover {
  border-color: color-mix(in srgb, currentColor 78%, transparent);
}
.locale-dropdown summary::-webkit-details-marker { display: none; }
.locale-dropdown summary .locale-caret {
  width: .88rem;
  height: .88rem;
  transition: transform .16s ease;
}
.locale-dropdown[open] summary .locale-caret { transform: rotate(180deg); }
.locale-flag {
  flex: 0 0 auto;
  width: 1.18rem;
  height: .78rem;
  display: inline-block;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(34, 48, 58, .16);
}
.locale-flag svg {
  width: 100%;
  height: 100%;
}
.locale-dropdown summary:focus-visible,
.locale-menu a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.locale-menu {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  min-width: 9.35rem;
  display: grid;
  gap: .1rem;
  border: 1px solid rgba(255, 255, 255, .35);
  background: color-mix(in srgb, var(--paper) 62%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(34, 48, 58, .22);
  padding: .38rem;
  border-radius: 14px;
  overflow: hidden;
}
.locale-menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .52rem;
  min-height: 2.08rem;
  padding: .42rem .52rem;
  text-decoration: none;
  line-height: 1.2;
  border-radius: 2px;
}
.locale-menu a:hover,
.locale-menu a:focus-visible {
  background: rgba(46, 90, 107, .08);
}
.locale-menu a[aria-current="true"] {
  color: var(--sea);
  font-weight: 750;
}
.locale-menu a[aria-current="true"]::after {
  content: "";
  margin-left: auto;
  width: .38rem;
  height: .38rem;
  border-radius: 999px;
  background: var(--gold);
}
.nav-cta {
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: .58rem .8rem;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
}
.site-nav.scrolled .nav-cta { opacity: 1; pointer-events: auto; }
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.nav-cta:focus-visible,
.cta:focus-visible,
.text-link:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
}
.menu-toggle svg { width: 1.15rem; height: 1.15rem; }

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  /* First-paint fallback while the aerial loads: sky-to-sea in brand tones so
     the white nav/headline never sit on bare paper. */
  background: linear-gradient(180deg, #A8CADD 0%, #7FA9BE 45%, #2E5A6B 100%);
}
.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero img { object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 30, 38, .12) 0%, rgba(20, 30, 38, .07) 22%, transparent 42%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(6rem, 13vh, 10rem) clamp(2rem, 8vh, 5rem);
  text-shadow: 0 1px 14px rgba(20, 30, 38, .28);
}
.hero .label { color: var(--sky); }
.hero-lead {
  max-width: 35ch;
  margin-top: .8rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
}
.price {
  margin-top: 1.2rem;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}
.price small {
  display: block;
  margin-top: .25rem;
  font: 500 .78rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-facts {
  max-width: 58ch;
  margin: .55rem 0 0;
  color: rgba(255, 255, 255, .92);
  font: 650 .9rem/1.55 var(--sans);
}
.cta,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.cta {
  margin-top: 1.45rem;
  padding: 1rem 1.65rem;
  border-radius: 2px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font: 750 .78rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: none;
  transition: background .2s ease, transform .2s ease;
}
.cta:hover,
.cta:focus-visible { background: color-mix(in srgb, var(--gold) 82%, var(--paper)); transform: translateY(-1px); }
.text-link {
  color: var(--sea);
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover,
.text-link:focus-visible { color: var(--gold); }

section {
  padding-block: clamp(4rem, 9vw, 8rem);
  scroll-margin-top: 6.5rem;
}
.room-detail { scroll-margin-top: 6.5rem; }
.intro {
  background: var(--paper);
}
.story-preview .wrap {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.story-preview-copy {
  max-width: 74ch;
}
.story-preview-copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.34rem, 1.58rem);
  line-height: 1.5;
}
.story-preview-copy p + p {
  margin-top: 1rem;
}
.read-full-story {
  grid-column: 2;
  justify-self: start;
  margin-top: .2rem;
}
.advantage {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.6rem, 4vw, 2.6rem);
}
.advantage article {
  padding-top: .85rem;
  border-top: 2px solid color-mix(in srgb, var(--gold) 72%, var(--paper));
}
.advantage strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--sea);
}
.advantage span {
  display: block;
  margin-top: .55rem;
  color: var(--soft);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-head p { max-width: 54ch; color: var(--soft); }

.gallery { background: var(--sand); }
.video-spotlight {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.video-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, .85fr);
  gap: clamp(1.4rem, 5vw, 4rem);
  align-items: center;
}
.video-spotlight h2 {
  max-width: 12ch;
}
.video-spotlight .muted {
  max-width: 42ch;
  margin-top: 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: .9rem;
}
.photo-tile {
  grid-column: span 4;
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  color: inherit;
  text-align: left;
}
.photo-tile.wide { grid-column: span 8; }
.photo-tile.tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.photo-tile:hover img,
.photo-tile:focus-visible img { transform: scale(1.035); }
.photo-tile:focus-visible,
.room-card:focus-visible,
.floorplan button:focus-visible,
.video-card:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
}
.tile-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.8rem .9rem .85rem;
  background: linear-gradient(180deg, rgba(15, 22, 28, 0) 0%, rgba(15, 22, 28, .34) 45%, rgba(15, 22, 28, .66) 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .38);
  overflow: hidden;
}
.caption-room,
.caption-value {
  display: block;
  overflow-wrap: anywhere;
}
.caption-room {
  font-size: .78rem;
  font-weight: 760;
  line-height: 1.25;
}
.caption-value {
  margin-top: .12rem;
  font-size: .68rem;
  line-height: 1.34;
  color: rgba(255, 255, 255, .9);
}
@media (hover: hover) and (pointer: fine) {
  .tile-caption {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
  }
  .photo-tile:hover .tile-caption,
  .photo-tile:focus-visible .tile-caption {
    opacity: 1;
    transform: none;
  }
}
.gallery-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.rooms .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .9rem;
  align-items: stretch;
}
.room-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.room-card:hover,
.room-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); }
.room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-card div {
  min-height: 4.4rem;
  display: flex;
  align-items: flex-end;
  padding: .95rem 1rem 1rem;
}
.room-card h3 {
  margin: 0;
  font-size: clamp(.82rem, .96rem, 1rem);
  line-height: 1.16;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.room-detail {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, .88fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(3rem, 7vw, 6rem);
}
.room-detail:nth-of-type(even) .detail-image { order: 2; }
.room-detail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-detail p { margin-top: .9rem; color: var(--soft); }
.room-photo-set {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.room-photo-set .photo-tile {
  grid-column: auto;
  min-height: 9rem;
}
.room-photo-set .photo-tile:first-child {
  grid-column: 1 / -1;
}

.place {
  background: var(--paper);
}
.place-layout {
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(320px, 1.12fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.place-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.place-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.place-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.place-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.place-list div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.place-list strong { display: block; margin-bottom: .22rem; }

.history {
  background: var(--sea);
  color: var(--paper);
}
.history .label { color: var(--sky); }
.history-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(300px, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.history p + p { margin-top: 1rem; }
.museum-card {
  align-self: start;
  border: 1px solid rgba(251, 248, 243, .26);
  background: rgba(251, 248, 243, .06);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.museum-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(251, 248, 243, .18);
}
.museum-row:last-child { border-bottom: 0; }
.museum-row span:first-child {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
}

.facts { background: var(--paper); }
.facts-layout {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, 1.08fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.facts table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.facts td {
  padding: .9rem .2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.facts td:last-child {
  text-align: right;
  font-weight: 750;
}
.source-note {
  margin-top: .9rem;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--soft);
}
.floorplan {
  display: grid;
  gap: 1rem;
}
.floorplan button {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  color: inherit;
}
.floorplan img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}
.video-card {
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  background: var(--ink);
  color: var(--white);
  text-align: left;
  overflow: hidden;
}
.video-card:focus-visible { box-shadow: var(--shadow); }
.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .45s ease;
}
.video-card:hover img,
.video-card:focus-visible img {
  transform: scale(1.025);
}
.video-play {
  position: absolute;
  inset: auto 1rem 1rem auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .58rem .72rem;
  background: rgba(34, 48, 58, .78);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.map-section {
  background: var(--white);
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(320px, 1.3fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.map-layout iframe {
  width: 100%;
  min-height: 390px;
  border: 1px solid var(--line);
  background: var(--sand);
}

.contact {
  background: var(--sand);
}
.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.contact-methods {
  display: grid;
  gap: .9rem;
}
.contact-method {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(34, 48, 58, .16);
}
.contact-method a { color: var(--sea); font-weight: 750; text-decoration: none; }
.contact .cta { margin-top: 0; }
.request-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, .55fr);
  gap: clamp(1.2rem, 4vw, 2rem);
  padding-top: 0;
}
.request-form,
.prospect-card {
  background: var(--white);
  border: 1px solid rgba(34, 48, 58, .12);
  padding: clamp(1.1rem, 3vw, 1.7rem);
}
.request-form {
  display: grid;
  gap: .85rem;
}
.request-form h3,
.prospect-card h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}
.request-form label {
  display: grid;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--sea);
}
.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(34, 48, 58, .18);
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.45 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  padding: .82rem .9rem;
  border-radius: 2px;
}
.request-form textarea {
  min-height: 120px;
  resize: vertical;
}
.prospect-card .text-link {
  margin-top: 1rem;
}

.gallery-page {
  padding-top: 8rem;
  background: var(--sand);
}
.gallery-page h1 {
  color: var(--ink);
  text-shadow: none;
  font-size: clamp(2.5rem, 6vw, 5rem);
}
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .75rem;
  margin-top: 2rem;
}
.full-gallery-grid .photo-tile { grid-column: auto; }
.room-gallery-sections {
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}
.section-head.compact {
  margin-bottom: 1.4rem;
}
.room-gallery-section {
  scroll-margin-top: 6rem;
}
.room-gallery-section .room-photo-set {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.room-gallery-section .room-photo-set .photo-tile:first-child {
  grid-column: span 2;
}

footer {
  background: var(--ink);
  color: var(--sand);
  padding: 3rem 0;
  font-size: .9rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lightbox,
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  background: rgba(20, 28, 34, .94);
  color: var(--white);
}
.lightbox.open,
.video-modal.open { display: grid; }
.lightbox {
  grid-template-rows: auto 1fr auto;
}
.lb-top,
.lb-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
}
.lb-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.lb-stage .lb-counter {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: .35rem .6rem;
  border-radius: 2px;
  background: rgba(20, 28, 34, .68);
  font-weight: 750;
}
.lb-stage img {
  max-width: 92vw;
  max-height: 76vh;
  object-fit: contain;
  transform-origin: center center;
}
.lb-btn {
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 2px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  min-width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
}
.lb-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lb-prev { left: clamp(.5rem, 3vw, 2rem); }
.lb-next { right: clamp(.5rem, 3vw, 2rem); }
.lb-caption { max-width: 70ch; font-size: .92rem; color: rgba(255, 255, 255, .82); }
.lb-counter {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.zoom-tools { display: flex; gap: .5rem; }
.video-modal {
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.video-shell { width: min(1100px, 96vw); }
.video-shell video { width: 100%; max-height: 78vh; background: #000; }
.video-shell .lb-top { padding-inline: 0; }

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.45rem);
  bottom: clamp(1rem, 3vw, 1.45rem);
  z-index: 90;
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 48, 58, .18);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  color: var(--sea);
  box-shadow: 0 12px 34px rgba(34, 48, 58, .14);
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.96);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--gold) 62%, var(--line));
}
.back-to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.back-to-top span {
  display: block;
  transform: translateY(-1px);
  font-size: 1.18rem;
  line-height: 1;
}

@media (max-width: 1020px) {
  .rooms .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-tile,
  .photo-tile.wide { grid-column: span 6; }
}
@media (max-width: 820px) {
  body { font-size: 1rem; }
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: 4.5rem 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .8rem clamp(1.2rem, 4vw, 3rem) 1.2rem;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 12px 30px rgba(34, 48, 58, .12);
  }
  .site-nav.open .nav-links { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: .88rem 0; }
  .nav-cta { display: none; }
  .section-head,
  .story-preview .wrap,
  .video-spotlight-grid,
  .room-detail,
  .place-layout,
  .history-grid,
  .facts-layout,
  .map-layout,
  .contact-panel,
  .request-grid {
    grid-template-columns: 1fr;
  }
  .advantage-grid { grid-template-columns: 1fr; }
  .room-detail:nth-of-type(even) .detail-image { order: initial; }
  .photo-tile,
  .photo-tile.wide,
  .photo-tile.tall {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }
  .room-photo-set,
  .room-gallery-section .room-photo-set {
    grid-template-columns: 1fr;
  }
  .room-photo-set .photo-tile:first-child,
  .room-gallery-section .room-photo-set .photo-tile:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 2rem)); }
  .site-nav { gap: .65rem; padding-inline: 1rem; }
  .brand { flex: 0 0 auto; }
  .nav-tools {
    position: absolute;
    top: .9rem;
    right: 1rem;
    width: 8.6rem;
    height: 2.5rem;
    min-width: 0;
    max-width: calc(100vw - 8.4rem);
    flex: 0 1 auto;
    display: block;
  }
  .menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.35rem;
    height: 2.35rem;
  }
  .locale-control {
    position: absolute;
    top: 0;
    right: 2.75rem;
    width: 5.75rem;
    min-width: 0;
  }
  .locale-dropdown {
    min-width: 0;
    font-size: .76rem;
  }
  .locale-dropdown summary {
    width: 100%;
    min-width: 0;
    min-height: 2.35rem;
    gap: .35rem;
    padding-inline: .46rem;
  }
  .locale-dropdown summary span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .locale-menu { right: -.15rem; min-width: 9.6rem; }
  .rooms .cards { grid-template-columns: 1fr; }
  .place-photos { grid-template-columns: 1fr; }
  .museum-row { grid-template-columns: 1fr; gap: .25rem; }
  .facts td { display: block; padding: .55rem 0; }
  .facts td:last-child { text-align: left; padding-top: 0; }
  .contact-method {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: .85rem 0;
  }
  .contact-method a,
  .contact-method strong { overflow-wrap: anywhere; }
  .lb-arrow { top: auto; bottom: 5.6rem; transform: none; }
  .read-full-story { grid-column: 1; }
  .back-to-top {
    right: .85rem;
    bottom: calc(.85rem + env(safe-area-inset-bottom));
    width: 3.15rem;
    height: 3.15rem;
    touch-action: manipulation;
  }
  .back-to-top.is-visible,
  .back-to-top[data-mobile-persistent="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
  }
}

/* Pre-decode placeholder: photos occupy reserved space (width/height attrs)
   tinted a shade deeper than the section background, so a not-yet-loaded
   image reads as an intentional plate — never a caption floating on blank. */
main img[loading="lazy"] { background-color: #E9E0D0; }

.footer-ai { opacity: .62; font-size: .82em; letter-spacing: .04em; }

.map-photo { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.map-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-photo-pin {
  position: absolute; right: .9rem; bottom: .9rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.4);
  font-size: .82rem; letter-spacing: .05em; color: var(--ink);
  box-shadow: 0 8px 24px rgba(34,48,58,.22);
}
.map-photo:hover .map-photo-pin { background: var(--gold); border-color: var(--gold); }
.contact { min-height: calc(100vh - 96px); }

/* ============================================================
   v9 BRAND — GPT-Pro logo set integration
   Nav + footer carry logo 01 (classic charcoal), the lightbox
   carries logo 02 (frosted glass, dark surface), every photo
   carries the light-window monogram as a corner watermark.
   ============================================================ */
.brand-logo {
  display: block;
  height: 38px;
  width: auto;
}
@media (max-width: 720px) {
  .brand-logo { height: 30px; }
}
/* GPT-Pro state system: frosted glass (02) over the dark hero nav,
   classic charcoal (01) once the nav scrolls onto paper. */
.brand-logo--light { display: none; }
.site-nav.scrolled .brand-logo--dark,
.site-nav.open .brand-logo--dark { display: none; }
.site-nav.scrolled .brand-logo--light,
.site-nav.open .brand-logo--light { display: block; }

.photo-mark {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  width: 40px;
  pointer-events: none;
  opacity: .78;
  filter: drop-shadow(0 1px 5px rgba(15, 21, 23, .28));
  z-index: 2;
}
.photo-mark img { display: block; width: 100%; height: auto; }
.photo-tile .photo-mark { transition: opacity .25s ease; }
.photo-tile:hover .photo-mark,
.photo-tile:focus-visible .photo-mark { opacity: .92; }
@media (max-width: 720px) {
  .photo-mark { width: 30px; right: .45rem; bottom: .45rem; }
}

.lb-brand {
  display: block;
  height: 24px;
  width: auto;
  opacity: .9;
}

/* Professional footer (GPT-Pro base, adapted to house tokens) */
.lyssted-footer {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px) 34px;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid rgba(34, 48, 58, .08);
}
.lyssted-footer__brand { max-width: 620px; margin-bottom: 48px; }
.footer-logo {
  display: block;
  height: clamp(44px, 6vw, 64px);
  width: auto;
  margin-bottom: 18px;
}
.lyssted-footer__brand p,
.lyssted-footer p,
.lyssted-footer a {
  font: 400 .95rem/1.7 var(--sans);
  color: var(--muted, #6e7b7b);
  margin: 0 0 .35rem;
}
.lyssted-footer a { color: var(--ink); text-decoration: none; }
.lyssted-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lyssted-footer h3 {
  font: 650 .72rem/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted, #6e7b7b);
  margin: 0 0 .9rem;
}
.lyssted-footer__grid {
  border-top: 1px solid rgba(34, 48, 58, .12);
  padding-top: 42px;
  display: grid;
  grid-template-columns: minmax(210px, .9fr) minmax(260px, 1.1fr) minmax(160px, .65fr);
  gap: clamp(28px, 6vw, 84px);
}
.lyssted-footer__grid nav { display: flex; flex-direction: column; gap: 8px; }
.lyssted-footer__bottom {
  border-top: 1px solid rgba(34, 48, 58, .12);
  margin-top: 52px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  font: 400 .8rem/1.4 var(--sans);
  color: var(--muted, #6e7b7b);
}
@media (max-width: 760px) {
  .lyssted-footer__grid { grid-template-columns: 1fr; }
  .lyssted-footer__bottom { flex-direction: column; }
}

/* lightbox watermark: subtle full lockup (mark + small ESTATE wordmark) on opened photos */
.lb-mark {
  position: absolute;
  right: clamp(1rem, 4vw, 2.4rem);
  bottom: clamp(1rem, 4vw, 2.4rem);
  width: clamp(54px, 6vw, 84px);
  height: auto;
  opacity: .55;
  pointer-events: none;
  filter: drop-shadow(0 1px 6px rgba(15, 21, 23, .35));
  z-index: 3;
}

/* merged booking panel: the form lives inside the sand contact band */
.contact .request-form {
  background: color-mix(in srgb, #ffffff 78%, transparent);
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  box-shadow: 0 18px 56px rgba(15, 21, 23, .10);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.contact .request-form label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font: 650 .72rem/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--soft);
}
.contact .request-form input,
.contact .request-form textarea {
  font: 400 1rem/1.4 var(--sans);
  padding: .65rem .8rem;
  border: 1px solid rgba(34, 48, 58, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
}
.contact .contact-methods { margin: 1.4rem 0; }
.contact .prospect-card { margin-top: 1.2rem; }

/* Historien painting panel (PD anchor image + link-cards for the circle) */
.painting-card { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.painting-frame { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.painting-frame img { width: 100%; height: auto; display: block; transition: transform .3s ease; }
.painting-frame:hover img { transform: scale(1.02); }
.painting-caption { margin: .55rem 0 1.1rem; font: 400 .74rem/1.5 var(--sans); opacity: .72; }
.painting-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.painting-note { font: 400 .82rem/1.55 var(--sans); opacity: .78; margin: .3rem 0 .7rem; }
.painting-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.painting-links a { font: 500 .85rem/1.45 var(--sans); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: .12rem; }
.painting-links a:hover { border-bottom-color: currentColor; }

/* R03: status block, lead form additions */
.hp-wrap{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}
.consent-row{display:flex;gap:.6rem;align-items:flex-start;font-size:.85rem;line-height:1.5}
.consent-row input{margin-top:.3rem;flex:none}
.form-feedback{color:#8a2f2f;font-size:.9rem}
.status-block .prose p{max-width:64ch;margin:.55rem 0;line-height:1.65}
.r03-simple .prose p{max-width:68ch;margin:.6rem 0;line-height:1.65}
.r03-simple .prose ul{max-width:68ch;line-height:1.6}
.request-form select{width:100%;padding:.55rem;border:1px solid #d8d2c6;background:transparent;font:inherit}
