:root {
  --paper: #f6f3ee;
  --paper-deep: #efeae3;
  --white: #fbfaf7;
  --ink: #1c1916;
  --ink-soft: #3f3a35;
  --muted: #5c564e;
  --line: rgba(28, 25, 22, 0.14);
  --crimson: #7c2f38;
  --crimson-deep: #64262d;
  --champagne: #b08958;
  --champagne-soft: #e4d3b4;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1120px;
  color-scheme: only light;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

html.lightbox-open,
html.lead-gate-open,
html.lead-gate-open body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.hero-price,
.tour-price,
.level h3,
.facts dd,
.footer-name,
.slot-label {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}

h1,
h2 {
  line-height: 0.96;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 40;
  background: var(--white);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin-bottom: 0.7rem;
  color: var(--crimson);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker-light {
  color: var(--champagne-soft);
}

.lede {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.6;
}

.section {
  padding: 4.25rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--crimson-deep);
  border-color: var(--crimson-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.masthead {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.masthead-row,
.footer-grid,
.schedule-layout,
.residence-top {
  display: grid;
  gap: 1.25rem;
}

.masthead-row {
  align-items: end;
}

.masthead-role {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wordmark {
  color: inherit;
  text-decoration: none;
}

.wordmark-name,
.property-lockup,
.property-price {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}

.wordmark-firm,
.property-lockup span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.intro {
  padding: 3.5rem 0 4.5rem;
}

.intro h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(3.2rem, 8vw, 6rem);
}

.tour-card h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(2.5rem, 7vw, 3.4rem);
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .tour-card h2 {
    white-space: nowrap;
  }
}

.tour-list {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
}

.tour-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.tour-card a {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.tour-card-media {
  display: block;
  overflow: hidden;
  background: #d9d3cb;
}

.tour-card-media img,
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #d9d3cb;
}

.tour-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.4rem 1.25rem 1.5rem;
}

.tour-price {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.tour-stats {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-more {
  margin-top: 0.8rem;
  color: var(--crimson);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  color: #fbfaf7;
  background: linear-gradient(to bottom, rgba(16, 14, 12, 0.62), rgba(16, 14, 12, 0));
}

.site-header .wordmark-name,
.site-header .property-lockup {
  font-size: 1.35rem;
}

.site-header .wordmark-firm,
.site-header .property-lockup span {
  color: rgba(251, 250, 247, 0.78);
}

.site-header.is-stuck {
  color: var(--ink);
  background: rgba(246, 243, 238, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header.is-stuck .wordmark-firm,
.site-header.is-stuck .property-lockup span {
  color: var(--muted);
}

.header-link {
  border: 1px solid currentColor;
  padding: 0.55rem 0.75rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-link:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}

.header-link .short {
  display: none;
}

.property-price {
  font-size: 1.25rem;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #fbfaf7;
  background: #141210;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  background:
    linear-gradient(to top, rgba(8, 7, 6, 0.94) 0%, rgba(8, 7, 6, 0.78) 26%, rgba(8, 7, 6, 0.28) 48%, rgba(8, 7, 6, 0.05) 66%, rgba(8, 7, 6, 0.5) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5.5rem;
  padding-bottom: 2.4rem;
}

.hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
}

.hero-city {
  display: block;
  margin-top: 0.2em;
  font-size: 0.46em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-price {
  margin: 0.85rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-variant-numeric: lining-nums;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 1.15rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(251, 250, 247, 0.32);
  list-style: none;
}

.stats li {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stats li:not(:last-child)::after {
  content: "·";
  margin: 0 0.65rem;
  color: var(--champagne-soft);
}

.hero-actions,
.video-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.2rem;
  margin-top: 1.25rem;
}

.hero-actions .btn-primary {
  min-width: 11.5rem;
  padding-inline: 1.6rem;
}

.hero-quiet {
  color: #f7f4ef;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: underline;
  text-decoration-color: rgba(228, 211, 180, 0.75);
  text-underline-offset: 0.28em;
  text-transform: uppercase;
}

.hero-quiet:hover {
  color: var(--champagne-soft);
}

.onpage-bar {
  border-bottom: 1px solid var(--line);
}

.onpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.onpage a {
  padding: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.onpage a:hover {
  color: var(--crimson);
}

.video-frame {
  position: relative;
  width: 100%;
  margin-top: 1.4rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #141210;
}

.video-frame img,
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame img {
  max-width: none;
  object-fit: cover;
}

.video-frame video {
  background: #000;
  object-fit: contain;
}

.video-frame.is-poster::after {
  content: "On demand";
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(228, 211, 180, 0.75);
  color: #f6f3ee;
  background: rgba(12, 10, 9, 0.45);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-frame.is-locked::after {
  content: none;
}

.tour-lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.16), rgba(12, 10, 9, 0.22) 42%, rgba(12, 10, 9, 0.62));
  color: #f6f3ee;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  touch-action: manipulation;
}

.tour-lock-mark {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(228, 211, 180, 0.9);
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.4);
}

.tour-lock-mark::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.22rem;
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent #f7f4ef;
}

.tour-lock-label {
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(228, 211, 180, 0.75);
  background: rgba(12, 10, 9, 0.5);
}

.tour-lock:hover .tour-lock-mark,
.tour-lock:focus-visible .tour-lock-mark {
  background: var(--crimson);
  border-color: var(--crimson);
}

.tour-lock:focus-visible {
  outline: 2px solid var(--champagne-soft);
  outline-offset: -8px;
}

.video-note,
.video-status {
  max-width: 42rem;
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.theater {
  background: #141210;
  color: #f6f3ee;
  border-top: 0;
}

.theater .kicker {
  color: var(--champagne-soft);
}

.theater .video-note,
.theater .video-status {
  color: rgba(246, 243, 238, 0.78);
}

.theater.is-cued .video-frame {
  outline: 2px solid var(--champagne-soft);
  outline-offset: 8px;
}

.residence-top {
  margin-bottom: 2.5rem;
}

.facts {
  display: grid;
  gap: 0.9rem 2rem;
  margin: 0;
}

.facts div {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.area-sum {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.levels {
  display: grid;
  gap: 1.5rem;
}

.level {
  padding-top: 0.9rem;
  border-top: 1px solid var(--ink);
}

.level-index,
.subhead,
.gallery-index {
  color: var(--crimson);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.level h3 {
  margin: 0.25rem 0;
  font-size: clamp(1.7rem, 2vw, 2.15rem);
}

.level-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.level ul,
.notes {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.level li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}

.subhead {
  margin: 2.8rem 0 1rem;
}

.notes {
  display: grid;
  gap: 0.85rem 2rem;
}

.notes li {
  padding-left: 0.85rem;
  border-left: 1px solid var(--champagne);
}

.gallery {
  display: grid;
  gap: 1.35rem 1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.gallery-media {
  display: block;
  overflow: hidden;
  background: #d9d3cb;
}

.gallery-caption {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  padding-top: 0.55rem;
  font-size: 0.95rem;
}

.schedule-help,
.schedule-direct {
  color: var(--ink-soft);
}

.slots {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.slots legend {
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slot-grid {
  display: grid;
  gap: 0.7rem;
}

.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 6.2rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.slot input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.slot-label {
  font-size: 1.45rem;
  line-height: 1.1;
}

.slot-detail {
  color: var(--muted);
  font-size: 0.85rem;
}

.slot-flag {
  margin-top: auto;
  color: var(--crimson);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  visibility: hidden;
}

.slot.is-selected {
  border-color: var(--crimson);
  box-shadow: inset 0 0 0 1px var(--crimson);
}

.slot.is-selected .slot-flag {
  visibility: visible;
}

.slot:focus-within {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.hint {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.note-preview {
  margin: 1rem 0 0;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.schedule-status {
  min-height: 1.4em;
  margin: 0.8rem 0 0;
}

.schedule-direct a {
  text-underline-offset: 0.18em;
}

.site-footer {
  padding: 3.2rem 0;
  border-top: 1px solid var(--champagne);
  background: var(--ink);
  color: #f3eee7;
}

.footer-name {
  margin-bottom: 0.45rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.site-footer p {
  margin: 0.15rem 0;
}

.site-footer a {
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}

.site-footer a:hover {
  color: var(--champagne-soft);
}

.fineprint {
  max-width: 46rem;
  margin-top: 1.4rem;
  color: rgba(243, 238, 231, 0.7);
  font-size: 0.85rem;
}

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: #f7f4ef;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: rgba(14, 12, 11, 0.94);
}

.lightbox-panel {
  width: min(1040px, 100%);
}

.lightbox-toolbar,
.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lightbox-toolbar {
  margin-bottom: 0.7rem;
}

.lightbox-count,
.lightbox figcaption {
  margin: 0;
}

.lightbox-count {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lightbox figure {
  margin: 0;
}

.lightbox-panel img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 12.5rem);
  max-height: calc(100svh - 12.5rem);
  margin-inline: auto;
  background: #000;
}

.lightbox figcaption {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.lightbox-nav {
  margin-top: 0.85rem;
}

.lightbox button {
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(247, 244, 239, 0.45);
  background: transparent;
  color: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox button:hover {
  border-color: var(--champagne-soft);
  color: var(--champagne-soft);
}

.lead-gate {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.lead-gate[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.lead-gate::backdrop {
  background: rgba(18, 16, 14, 0.64);
}

.lead-gate-panel {
  position: relative;
  width: min(28rem, 100%);
  max-height: 100%;
  margin: 0;
  padding: 1.7rem 1.5rem 1.45rem;
  overflow: auto;
  border: 0;
  border-top: 3px solid var(--champagne);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(12, 10, 9, 0.42);
}

.lead-gate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lead-gate-top .kicker {
  margin-bottom: 0;
}

.lead-gate-close {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  margin: -0.4rem -0.35rem -0.4rem 0;
  padding: 0.4rem 0.35rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead-gate-close:hover {
  color: var(--ink);
}

.lead-gate h2 {
  margin: 0.85rem 0 0.6rem;
  font-size: clamp(2.2rem, 6vw, 2.95rem);
}

.lead-gate-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}

.lead-gate .field {
  margin-top: 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead-gate .field input {
  margin-top: 0.15rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.lead-gate .field input[aria-invalid="true"] {
  border-color: var(--crimson);
}

.lead-gate input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset;
  -webkit-text-fill-color: var(--ink);
}

.lead-gate .lead-error {
  color: var(--crimson);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.lead-gate .btn {
  width: 100%;
  margin-top: 1.25rem;
  white-space: normal;
}

@media (max-width: 420px) {
  .header-link .wide {
    display: none;
  }

  .header-link .short {
    display: inline;
  }

  .masthead-role {
    display: none;
  }
}

@media (min-width: 700px) {
  .facts,
  .gallery,
  .notes {
    grid-template-columns: 1fr 1fr;
  }

  .slot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .section {
    padding: 6.25rem 0;
  }

  .masthead-row {
    grid-template-columns: 1fr auto;
  }

  .tour-card a {
    grid-template-columns: 1.25fr 1fr;
    min-height: 28rem;
  }

  .tour-card-media,
  .tour-card-media img {
    height: 100%;
  }

  .tour-card-media img {
    aspect-ratio: auto;
  }

  .tour-card-body {
    justify-content: flex-end;
    padding: 2rem 1.8rem 2rem;
  }

  .schedule-layout,
  .residence-top,
  .footer-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .footer-grid .fineprint {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .levels {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .gallery li:first-child {
    grid-column: span 2;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tour-card-media img,
  .gallery img {
    transition: transform 0.6s ease;
  }

  .tour-card:hover img,
  .gallery button:hover img {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
