:root {
  --paper: #ffffff;
  --tint: #faf6ee;
  --ink: #3b352d;
  --ink-strong: #24211c;
  --ink-soft: #6b6458;
  --gold: #e7b635;
  --gold-text: #8a6a0e;
  --gold-light: #f2d47c;
  --cedar: #2e4a38;
  --cedar-deep: #223828;
  --brick: #9a4a2e;
  --brick-deep: #7d3a22;
  --stone: #ddd2bd;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-text: "EB Garamond", Garamond, Georgia, serif;
  --font-ui: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(1rem, 5vw, 4rem);
  --max: 84rem;
  --header-h: 4.5rem;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --menu-gap: clamp(2.5rem, 1rem + 3vw, 4.5rem);
}

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

html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem);
  line-height: 1.6;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--brick);
}

:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--cedar);
  color: var(--paper);
  transform: translateY(-200%);
}

.skip-link:hover {
  color: var(--gold-light);
}

.skip-link:focus {
  transform: none;
}

/* Type */

h1,
h2,
h3,
.display {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 300;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--cedar);
}

h1 em,
h2 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--brick);
}

h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 6rem);
}

h2 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 4.2rem);
}

h3 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  line-height: 1.15;
  color: var(--ink-strong);
}

p {
  margin: 0;
}

.lede {
  max-width: 34em;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.8rem);
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.35;
  color: var(--ink-soft);
}

.prose {
  max-width: 36em;
}

.prose--center {
  margin-inline: auto;
}

.prose > * + * {
  margin-top: 1em;
}

.note {
  font-style: italic;
  color: var(--ink-soft);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 380;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: #e1a400;
}

/* Actions */

.btn,
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 450;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.btn {
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid var(--cedar);
  border-radius: var(--radius);
  background: transparent;
  color: var(--cedar);
  text-decoration: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  background: var(--cedar);
  color: var(--paper);
}

.btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.btn:disabled:hover {
  background: transparent;
  color: var(--cedar);
}

.btn--icon {
  width: 2.25rem;
  padding: 0;
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(20, 26, 20, 0.3);
  color: #ffffff;
}

.btn--light:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--cedar-deep);
}

.btn--light:disabled:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(20, 26, 20, 0.3);
  color: #ffffff;
}

.close-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink-strong);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.close-x:hover {
  color: var(--brick);
}

.tour-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.fullscreen-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink-strong);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.fullscreen-btn:hover {
  color: var(--brick);
}

.fullscreen-btn[hidden] {
  display: none;
}

.fullscreen-btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}

.fullscreen-btn__icon path {
  vector-effect: non-scaling-stroke;
}

.fullscreen-btn__exit,
.fullscreen-btn[aria-pressed="true"] .fullscreen-btn__enter {
  display: none;
}

.fullscreen-btn[aria-pressed="true"] .fullscreen-btn__exit {
  display: inline;
}

.close-x__icon {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 0.6rem;
}

.close-x__icon::before,
.close-x__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
}

.close-x__icon::before {
  transform: rotate(45deg);
}

.close-x__icon::after {
  transform: rotate(-45deg);
}

.close-x--light {
  color: #ffffff;
}

.close-x--light:hover {
  color: var(--gold-light);
}

.link {
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--ink-strong);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.55em;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

.link:hover {
  color: var(--brick);
  text-decoration-color: var(--brick);
}

.link--light {
  color: #ffffff;
  text-decoration-color: var(--gold-light);
}

.link--light:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.icon {
  flex: none;
  width: auto;
  height: 0.8em;
  fill: currentColor;
  transition: transform 0.25s var(--ease);
}

.icon--arrow-back,
.icon--arrow-forward {
  aspect-ratio: 12.84 / 14.77;
}

.icon--arrow-down {
  aspect-ratio: 14.77 / 12.84;
}

.icon--arrow-up-right {
  height: 0.7em;
  aspect-ratio: 1;
}

.icon--close {
  height: 0.85em;
  aspect-ratio: 1;
}

.btn--icon .icon {
  height: 0.85rem;
}

.btn--icon .icon--close {
  height: 0.8rem;
}

.btn:hover .icon--arrow-forward,
.link:hover .icon--arrow-forward {
  transform: translateX(0.2rem);
}

.btn:hover .icon--arrow-down,
.link:hover .icon--arrow-down {
  transform: translateY(0.15rem);
}

.link:hover .icon--arrow-up-right {
  transform: translate(0.12rem, -0.12rem);
}

.btn--icon:hover .icon {
  transform: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

/* Layout */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.band {
  padding-block: clamp(4rem, 3rem + 6vw, 8.5rem);
}

.band--tint {
  background: var(--tint);
}

.band--cedar {
  background: var(--cedar);
  color: #eef0ea;
}

.band--cedar h2,
.band--cedar h3 {
  color: #fbfaf6;
}

.band--cedar h2 em {
  color: var(--gold-light);
}

.band__head {
  display: grid;
  gap: 1.25rem;
  max-width: 50rem;
  margin-bottom: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}

.band--flush .band__head {
  margin-bottom: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
}

.pair {
  display: grid;
  gap: clamp(2rem, 1.5rem + 4vw, 6rem);
  align-items: center;
}

.pair__text {
  display: grid;
  align-content: center;
  gap: 1.5rem;
}

.pair__text > * {
  margin: 0;
}

.pair__media .zoom,
.pair__media img {
  width: 100%;
}

.pair__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.duo {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1rem;
  aspect-ratio: 5 / 4;
}

.duo .zoom,
.duo img {
  height: 100%;
}

.duo img {
  aspect-ratio: auto;
}

@media (min-width: 56rem) {
  .pair {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .pair--reverse .pair__media {
    order: -1;
  }

  .pair__media {
    display: grid;
  }

  .pair__media .zoom,
  .pair__media img {
    height: 100%;
  }

  .duo {
    aspect-ratio: auto;
  }

  .duo > :first-child img {
    aspect-ratio: 3 / 4;
  }

  .duo > :last-child img {
    aspect-ratio: auto;
  }
}

/* Zoomable images */

.zoom {
  display: block;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--stone);
  cursor: zoom-in;
}

.zoom img {
  width: 100%;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}

.zoom:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 1px;
  background: var(--stone);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.site-header.is-stuck::after,
.site-header.is-open::after {
  opacity: 1;
}

.site-header__bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.75rem);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--gold-text);
}

.site-header__tools {
  display: contents;
}

.site-header__end {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.lang-switch,
.menu-toggle {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 450;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--stone);
}

.lang-switch a {
  display: block;
  padding: 0.45rem 0;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.lang-switch a:hover {
  color: var(--brick);
}

.lang-switch [aria-current="true"] {
  color: var(--ink-strong);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5em;
}

.lang-switch__sep {
  width: 1px;
  height: 0.8rem;
  background: currentColor;
}

.menu-toggle {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-strong);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.menu-toggle:hover {
  color: var(--brick);
}

.menu-toggle__icon {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 0.6rem;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.menu-toggle__icon::before {
  top: 0;
}

.menu-toggle__icon::after {
  bottom: 0;
}

.site-header.is-open .menu-toggle__icon::before {
  transform: translateY(calc(0.3rem - 0.75px)) rotate(45deg);
}

.site-header.is-open .menu-toggle__icon::after {
  transform: translateY(calc(-0.3rem + 0.75px)) rotate(-45deg);
}

.site-header__cta {
  font-size: 0.78rem;
}

@media (max-width: 48rem) {
  .site-header__cta {
    display: none;
  }
}

@media (max-width: 30rem) {
  .menu-toggle [data-menu-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .brand {
    font-size: 1.2rem;
  }
}

@media (max-width: 20rem) {
  .lang-switch {
    display: none;
  }
}

/* Mega menu */

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.75rem);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.site-header.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s;
}

.mega-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: -1;
  background: rgba(36, 33, 28, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.site-header.is-open .mega-backdrop {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease), visibility 0s;
}

.mega__inner {
  padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem) clamp(2rem, 1.5rem + 3vw, 4rem);
}

.mega__nav {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 36rem) {
  .mega__nav {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--menu-gap);
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .mega__logo {
    min-width: calc(8.43em - var(--menu-gap) / 2);
  }
}

.mega__group,
.site-footer__group {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.mega__title,
.site-footer__title {
  justify-self: start;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.25rem + 0.5vw, 1.7rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--brick);
}

.mega__title,
.site-footer__title a {
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.mega__title:hover,
.mega__title[aria-current="page"],
.site-footer__title a:hover {
  color: var(--brick-deep);
}

.mega__group ul,
.mega__contacts,
.site-footer__group ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.125rem;
}

.mega__group ul a,
.mega__contacts a,
.site-footer__group ul a {
  text-decoration: none;
  color: var(--ink);
}

.mega__group ul a:hover,
.mega__contacts a:hover,
.mega__group ul a[aria-current="page"],
.site-footer__group ul a:hover {
  color: var(--brick);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.mega__group .mega__contacts {
  margin-top: 0.8rem;
}

.mega__title--compact {
  display: none;
}

.logo-mark {
  position: relative;
  display: block;
  padding-top: 3.435em;
  font-size: clamp(1.45rem, 1.25rem + 0.5vw, 1.7rem);
  line-height: 0;
  text-decoration: none;
}

.logo-mark__drawing {
  position: absolute;
  top: 0;
  left: -0.69em;
  width: 9.12em;
  max-width: none;
  height: auto;
}

.logo-mark__name {
  position: relative;
  display: inline-block;
  line-height: 0.95;
  text-align: center;
  transition: color 0.25s var(--ease);
}

a.logo-mark:hover .logo-mark__name {
  color: var(--brick);
}

@media (min-width: 48rem) {
  .mega__nav {
    grid-template-columns: repeat(4, 1fr);
  }
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 36rem) {
    .mega__group {
      grid-row: span 2;
      grid-template-rows: subgrid;
      row-gap: 0.8rem;
    }

    .mega__title,
    .mega__logo {
      align-self: end;
    }

    .mega__logo {
      margin-bottom: 0.075em;
    }
  }
}

@media (max-width: 35.99rem) {
  .mega__inner {
    container-type: inline-size;
  }

  .mega__logo {
    padding-left: 0.69em;
    font-size: calc(100cqw / 9.12);
  }

  .mega__logo .logo-mark__drawing {
    left: 0;
  }
}

@media (max-width: 35.99rem) {
  .mega__nav {
    grid-template-columns: 1fr minmax(min-content, max-content) minmax(1rem, 2.5rem) minmax(min-content, max-content) 1fr;
    gap: 0.8rem 0;
  }

  .mega__group {
    display: contents;
  }

  .mega__logo {
    grid-row: 1;
    grid-column: 1 / -1;
    margin-bottom: 1.7rem;
  }

  .mega__title--compact {
    display: block;
    grid-row: 2;
    grid-column: 2;
  }

  .mega__group:nth-child(1) .mega__lists {
    grid-row: 3;
    grid-column: 2;
  }

  .mega__group:nth-child(2) > * {
    grid-column: 4;
  }

  .mega__group:nth-child(3) > * {
    grid-column: 2;
  }

  .mega__group:nth-child(4) > * {
    grid-column: 4;
  }

  .mega__group:nth-child(2) .mega__title {
    grid-row: 2;
  }

  .mega__group:nth-child(2) .mega__lists {
    grid-row: 3;
  }

  .mega__group:nth-child(n + 3) .mega__title {
    grid-row: 4;
    margin-top: 1.7rem;
  }

  .mega__group:nth-child(n + 3) .mega__lists {
    grid-row: 5;
  }
}

/* Hero */

.hero {
  position: relative;
  height: min(88svh, 60rem);
  min-height: 32rem;
  overflow: hidden;
  background: var(--cedar-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 26, 20, 0.78) 0%, rgba(20, 26, 20, 0.42) 38%, rgba(20, 26, 20, 0) 68%);
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: clamp(2rem, 1.5rem + 4vw, 5rem);
  color: #f4f1ea;
  animation: hero-in 1s var(--ease) 0.2s both;
}

.hero__content .wrap {
  display: grid;
  gap: 1.25rem;
}

.hero h1 {
  max-width: 15em;
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.8rem);
  line-height: 1.04;
  color: #ffffff;
}

.hero h1 em {
  color: var(--gold-light);
}

.hero p {
  max-width: 34em;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
}

.hero .actions {
  margin-top: 0.5rem;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Tour strip */

.tour-strip {
  position: relative;
  height: clamp(22rem, 55vw, 40rem);
  overflow: hidden;
  background: var(--cedar-deep);
}

.tour-strip__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s var(--ease), transform 1.2s var(--ease);
}

.tour-strip__start {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(9rem, 16vw, 12rem);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-strong);
  text-decoration: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease), color 0.3s var(--ease);
}

.tour-strip__start:hover {
  color: var(--brick);
  transform: translate(-50%, -50%) rotate(-8deg) scale(1.05);
}

.tour-strip:has(.tour-strip__start:hover) .tour-strip__poster {
  transform: scale(1.03);
}

.tour-strip__start svg {
  position: absolute;
  inset: 0.6rem;
  width: calc(100% - 1.2rem);
  height: calc(100% - 1.2rem);
  color: var(--gold-text);
}

.tour-strip__start span {
  max-width: 6em;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  line-height: 1.05;
  text-align: center;
}

.tour-strip__caption {
  padding-top: 1.25rem;
}

/* Rooms */

.rooms {
  display: grid;
  gap: clamp(3.5rem, 3rem + 4vw, 7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.room {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  align-items: center;
}

.room__media {
  display: block;
  overflow: hidden;
  background: var(--stone);
}

.room__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.room:has(a:hover) .room__media img {
  transform: scale(1.04);
}

.room__body {
  display: grid;
  gap: 1rem;
  max-width: 30rem;
}

.room__body h3 a {
  text-decoration: none;
}

.room__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-style: italic;
  color: var(--brick);
}

@media (min-width: 56rem) {
  .room {
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
  }

  .room__body {
    align-content: center;
  }

  .room__media,
  .room__media img {
    height: 100%;
  }

  .room:nth-child(even) {
    grid-template-columns: 5fr 7fr;
  }

  .room:nth-child(even) .room__media {
    order: 2;
  }

  .room:nth-child(even) .room__body {
    justify-self: end;
    text-align: right;
  }

  .room:nth-child(even) .room__facts,
  .room:nth-child(even) .actions {
    justify-content: flex-end;
  }
}

/* Enfilade: a horizontal walk through the rooms */

.enfilade {
  position: relative;
}

.enfilade__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto 1rem;
}

.enfilade__track {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: 0;
  padding: 0 max(var(--gutter), (100% - var(--max)) / 2) 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), (100% - var(--max)) / 2);
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
  list-style: none;
}

.enfilade__track li {
  flex: none;
  scroll-snap-align: start;
}

.enfilade figure {
  margin: 0;
}

.enfilade img {
  width: auto;
  height: clamp(15rem, 34vw, 30rem);
  max-width: none;
}

.enfilade figcaption {
  margin-top: 0.6rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* Masonry gallery */

.masonry {
  columns: 3 16rem;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.masonry li {
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* History */

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem);
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  line-height: 1;
  color: var(--gold);
}

.band:not(.band--cedar) .timeline__year {
  color: var(--brick);
}

/* Services list */

.service-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  border-top: 1px solid var(--stone);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--stone);
}

.service-list a,
.service-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  padding: 1.5rem 0;
  text-decoration: none;
}

.service-list h3 {
  transition: transform 0.4s var(--ease), color 0.25s var(--ease);
}

.service-list a:hover h3 {
  color: var(--brick);
  transform: translateX(0.6rem);
}

.service-list p {
  color: var(--ink-soft);
}

@media (min-width: 56rem) {
  .service-list a,
  .service-list__item {
    grid-template-columns: 1fr 1.2fr;
    align-items: baseline;
    gap: 2rem;
  }
}

/* Ratings */

.ratings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ratings li {
  display: grid;
  gap: 0.25rem;
}

.ratings strong {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.4rem + 2vw, 4.4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--brick);
}

/* Location */

.distances {
  margin: 0;
}

.distances div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--stone);
}

.distances dt {
  margin: 0;
}

.distances dd {
  margin: 0;
  font-style: italic;
  white-space: nowrap;
  color: var(--brick);
}

address {
  font-style: normal;
}

.location {
  display: grid;
  gap: clamp(2.5rem, 2rem + 4vw, 5rem);
  align-items: start;
}

@media (min-width: 56rem) {
  .location {
    grid-template-columns: 1fr 1fr;
  }
}

.location__aside {
  display: grid;
  gap: 2rem;
  min-width: 0;
}

.route-map {
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border-radius: var(--radius);
  background: var(--tint);
  overflow: hidden;
  z-index: 0;
}

.route-map .leaflet-tile-pane {
  filter: grayscale(1) sepia(0.12) brightness(1.04) contrast(0.92);
}

.route-map .leaflet-container,
.route-map.leaflet-container {
  font-family: var(--font-ui);
}

.route-map__route {
  stroke: var(--brick);
  stroke-opacity: 0.55;
  cursor: pointer;
  transition: stroke-opacity 0.25s var(--ease), stroke-width 0.25s var(--ease);
}

.route-map__route--active {
  stroke-opacity: 1;
  stroke-width: 5;
}

.route-map__route--dim {
  stroke-opacity: 0.2;
}

.route-map__pin {
  position: relative;
}

.route-map__dot {
  position: absolute;
  inset: 0;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--brick);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.route-map__pin--villa .route-map__dot {
  inset: -4px;
  background: var(--cedar);
}

.route-map__label {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  font-size: 0.66rem;
  font-weight: 450;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-strong);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}

.route-map__pin--villa .route-map__label,
.route-map__pin--active .route-map__label,
.route-map__pin:hover .route-map__label {
  opacity: 1;
}

.distances__btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.distances__btn:hover,
.distances__btn[aria-pressed="true"] {
  color: var(--brick);
}

.distances__btn[aria-pressed="true"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* Postcard back form */

.letter {
  position: relative;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

.letter__intro {
  display: grid;
  align-content: start;
  gap: 1.25rem;
}

.letter__intro > :first-child,
.letter__intro > :first-child + p {
  padding-right: clamp(7rem, 14vw, 10rem);
}

.letter__intro h2 {
  color: var(--cedar);
}

.letter__intro ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.letter__stamp {
  position: absolute;
  top: clamp(1rem, 2.5vw, 1.75rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  width: clamp(4.5rem, 7vw, 6rem);
  padding: 0.35rem;
  background: var(--paper);
  border: 1px dashed var(--stone);
  transform: rotate(4deg);
}

.letter__stamp img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.letter .postmark {
  position: absolute;
  top: clamp(2.5rem, 4.5vw, 3.75rem);
  right: clamp(3.75rem, 7.5vw, 6.25rem);
  z-index: 1;
  width: clamp(4.5rem, 7vw, 6rem);
  color: var(--brick);
  opacity: 0.85;
  transform: rotate(-12deg);
  pointer-events: none;
}

@media (max-width: 22rem) {
  .letter__stamp,
  .letter .postmark {
    width: 3.5rem;
  }

  .letter .postmark {
    right: 3rem;
  }

  .letter__intro > :first-child,
  .letter__intro > :first-child + p {
    padding-right: 5rem;
  }

  .letter__intro > :first-child {
    font-size: 1.75rem;
  }
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  font-family: var(--font-ui);
}

.form__field {
  display: grid;
  gap: 0;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form label {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 450;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.form__field:hover label {
  color: var(--brick);
}

.form input:not([type="checkbox"]),
.form select,
.form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--stone);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--tint);
  color: var(--ink-strong);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  transition: border-color 0.25s var(--ease);
}

.form input:hover,
.form select:hover,
.form textarea:hover {
  border-bottom-color: var(--gold-text);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-bottom-color: var(--cedar);
}

.form textarea {
  min-height: 10rem;
  padding: 0 0.75rem;
  resize: vertical;
  background-image: linear-gradient(transparent calc(2rem - 1px), var(--stone) calc(2rem - 1px), var(--stone) 2rem, transparent 2rem);
  background-size: 100% 2rem;
  background-attachment: local;
  line-height: 2rem;
  border-bottom: 0;
}

@supports (field-sizing: content) {
  .form textarea {
    field-sizing: content;
    resize: none;
  }
}

.form .form__consent {
  display: flex;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.875rem;
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
  color: var(--ink-soft);
  cursor: pointer;
}

.form__consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.3rem;
  margin-top: calc((1lh - 1.1rem) / 2);
  font-size: inherit;
  line-height: inherit;
  accent-color: var(--cedar);
  cursor: pointer;
}

.form__consent:hover span {
  color: var(--ink-strong);
}

.form__consent input:hover {
  outline: 1px solid var(--gold-text);
  outline-offset: 2px;
}

.form__submit {
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 60rem) {
  .letter {
    grid-template-columns: 1fr 1.4fr;
  }

  .letter__intro > :first-child,
  .letter__intro > :first-child + p {
    padding-right: 0;
  }

  .letter {
    padding-inline: clamp(3rem, 6vw, 6rem);
  }

  .letter .form {
    padding-top: clamp(5.5rem, 7vw, 6.5rem);
    padding-left: clamp(3rem, 6vw, 6rem);
    border-left: 1px solid var(--stone);
  }
}

@media (max-width: 36rem) {
  .form {
    grid-template-columns: 1fr;
  }

  .form__submit .btn {
    width: 100%;
  }
}

/* Inner pages */

.page-head {
  display: grid;
  gap: 1.25rem;
  padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 3vw, 4rem);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-style: italic;
  color: var(--gold-text);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--brick);
  text-decoration: underline;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--stone);
}

.page-hero {
  margin-block: 0;
}

.page-hero img {
  width: 100%;
  max-height: 75vh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content {
  display: grid;
  gap: clamp(2rem, 3vw, 4rem);
  align-items: start;
}

@media (min-width: 60rem) {
  .content {
    grid-template-columns: 1.4fr 1fr;
  }
}

.facts {
  margin: 0;
  border-top: 1px solid var(--stone);
}

.facts div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--stone);
}

.facts dt {
  font-style: italic;
  color: var(--brick);
}

.facts dd {
  margin: 0;
}

.placeholder {
  padding: 1.5rem;
  border: 1px dashed var(--stone);
  font-style: italic;
  color: var(--ink-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards a {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  text-decoration: none;
}

.cards__media {
  display: block;
  overflow: hidden;
  background: var(--stone);
}

.cards img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cards h3 {
  transition: color 0.25s var(--ease);
}

.cards a:hover img {
  transform: scale(1.04);
}

.cards a:hover h3 {
  color: var(--brick);
}

.cards p {
  color: var(--ink-soft);
}

.faq details {
  border-top: 1px solid var(--stone);
}

.faq details:last-child {
  border-bottom: 1px solid var(--stone);
}

.faq summary {
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--ink-strong);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.faq summary:hover {
  color: var(--brick);
}

.faq summary::marker {
  color: var(--gold-text);
}

.faq details > div {
  padding-bottom: 1.5rem;
}

/* Room dialog */

.room-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
}

.room-dialog::backdrop {
  background: rgba(36, 33, 28, 0.7);
}

.room-dialog__frame {
  height: 100%;
  background: var(--paper);
}

.room-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 3.6rem;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.room-dialog__title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 450;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-strong);
}

.room-dialog__viewer {
  height: calc(100% - 3.6rem);
}

/* Lightbox */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(24, 22, 18, 0.96);
  color: #f4f1ea;
}

.lightbox::backdrop {
  background: rgba(24, 22, 18, 0.96);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox__figure {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 4rem clamp(1rem, 7vw, 6rem) 1.5rem;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100svh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.25s var(--ease);
}

.lightbox__img.is-loading {
  opacity: 0;
}

.lightbox__caption {
  font-style: italic;
  text-align: center;
}

.lightbox__count {
  margin-left: 0.5rem;
  color: var(--gold-light);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: clamp(0.5rem, 2vw, 1.5rem);
}

.lightbox__next {
  right: clamp(0.5rem, 2vw, 1.5rem);
}

@media (max-width: 40rem) {
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
}

/* Footer */

.site-footer {
  container-type: inline-size;
  padding-block: clamp(4rem, 3rem + 4vw, 7rem) 2.5rem;
  border-top: 1px solid var(--stone);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 36rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--menu-gap);
    width: max-content;
    max-width: min(100% - 2 * var(--gutter), var(--max));
  }
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-footer__logo {
  position: relative;
  grid-column: 1 / -1;
  justify-self: center;
  --logo-w: min(100cqw - 2 * var(--gutter), 48rem);
  width: var(--logo-w);
  margin-inline: calc(var(--logo-w) / -2);
  container-type: inline-size;
}

.site-footer__logo img {
  width: 100%;
  height: auto;
}

.site-footer__compact {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1.8rem;
}

@media (max-width: 35.99rem) {
  .site-footer__logo {
    display: none;
  }

  .site-footer__compact {
    display: block;
  }

  .site-footer__grid {
    container-type: inline-size;
    grid-template-columns: 1fr minmax(min-content, max-content) minmax(1rem, 2.5rem) minmax(min-content, max-content) 1fr;
    column-gap: 0;
  }

  .site-footer__group:nth-child(odd) {
    grid-column: 2;
  }

  .site-footer__group:nth-child(even) {
    grid-column: 4;
  }

  .site-footer__compact {
    padding-left: 0.69em;
    font-size: calc(100cqw / 9.12);
  }

  .site-footer__compact .logo-mark__drawing {
    left: 0;
  }
}

.site-footer__name {
  position: absolute;
  top: 49.7%;
  left: 50%;
  margin: 0;
  font-size: 6.5vw;
  font-size: 8.6cqw;
  line-height: 0.93;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.site-footer__legal {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}

.site-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer__legal ul {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal a {
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--brick);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

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

.space-top {
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.video {
  width: 100%;
  height: auto;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
}

.legal h2:first-child {
  margin-top: 0;
}
