:root {
  color-scheme: light;
  --ink: #24231f;
  --paper: #f7f4ec;
  --line: rgba(36, 35, 31, 0.16);
  --site-header-height: calc(env(safe-area-inset-top, 0px) + 52px);
  --hero-height: 100vh;
  --hero-backdrop-height: 100vh;
  --hero-bleed: 18vh;
}

@supports (height: 100dvh) {
  :root {
    --hero-height: 100dvh;
    --hero-backdrop-height: 100lvh;
    --hero-bleed: 18dvh;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:has(body.home-page) {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body.home-page {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 0;
  background: #1e281f;
  overflow: hidden;
  overscroll-behavior: none;
}

body.info-page {
  min-height: 100vh;
  min-height: 100dvh;
  color: rgba(255, 255, 255, 0.9);
  background: #1e281f;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--site-header-height);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 14px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.36);
}

.home-header {
  justify-content: flex-end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.86rem;
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  border-bottom: 1px solid currentColor;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.language-switch a {
  text-decoration: none;
}

.language-switch a[aria-current="true"] {
  border-bottom: 1px solid currentColor;
}

.hero {
  position: relative;
  height: var(--hero-height, 100vh);
  min-height: var(--hero-height, 100vh);
  color: #fff;
  background: #1e281f;
  isolation: isolate;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel {
  position: fixed;
  top: calc(var(--hero-bleed) * -1);
  right: 0;
  left: 0;
  z-index: 0;
  height: calc(var(--hero-backdrop-height, 100vh) + var(--hero-bleed) + var(--hero-bleed));
  pointer-events: none;
  touch-action: none;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  background-image: var(--slide-image);
  background-position: var(--focus-x, 50%) var(--focus-y, 50%);
  background-size: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 1800ms ease-in-out;
}

@media (min-width: 900px) and (orientation: landscape) {
  .slide {
    background-position:
      var(--desktop-focus-x, var(--focus-x, 50%))
      var(--desktop-focus-y, var(--focus-y, 50%));
  }
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.14)),
    radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.04) 34%, rgba(0, 0, 0, 0.08) 74%);
}

.slide[data-tone="bright"]::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 47%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.05) 34%, rgba(0, 0, 0, 0.12) 74%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: grid;
  align-content: center;
  justify-items: center;
  height: var(--hero-height, 100vh);
  min-height: var(--hero-height, 100vh);
  width: min(920px, calc(100% - 42px));
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 88px) 0 calc(env(safe-area-inset-bottom, 0px) + 128px);
  text-align: center;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.56),
    0 10px 34px rgba(0, 0, 0, 0.36);
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(760px, 100%);
  height: min(380px, 58vh);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.13) 46%, rgba(0, 0, 0, 0) 74%);
  filter: blur(10px);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 13.8vw, 8.6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p {
  width: min(640px, 100%);
  margin: 16px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 4.5vw, 1.8rem);
  line-height: 1.18;
  text-wrap: balance;
}

.hero-description {
  max-width: 540px;
  margin-top: 18px !important;
  color: rgba(255, 255, 255, 0.94);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  font-size: clamp(0.95rem, 3.5vw, 1.15rem) !important;
  line-height: 1.42 !important;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 44px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  padding: 0 22px;
  color: #fff;
  background: rgba(18, 22, 20, 0.28);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.hero-button:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(18, 22, 20, 0.42);
  transform: translateY(-1px);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.14);
}

.carousel-control svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.6;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 104px);
  left: 0;
  z-index: 8;
  display: none;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  pointer-events: auto;
}

.carousel-dots button[aria-current="true"] {
  background: #fff;
}

.page {
  min-height: 100vh;
}

.info-page .page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 0;
}

.info-page .site-header {
  color: #fff;
  background: rgba(30, 40, 31, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.36);
}

.booking-info {
  display: grid;
  align-content: center;
  width: min(720px, calc(100% - 44px));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 94px) 0 calc(env(safe-area-inset-bottom, 0px) + 34px);
  font-size: clamp(1rem, 4.1vw, 1.25rem);
  line-height: 1.5;
}

.booking-info p {
  margin: 0;
  text-wrap: pretty;
}

.booking-info p:first-of-type {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 7.3vw, 2.5rem);
  line-height: 1.12;
}

.booking-info ul {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
}

.booking-info a {
  color: #fff;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.booking-info .text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 760px) {
  .site-header {
    padding-right: 42px;
    padding-left: 42px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .nav {
    gap: 24px;
    font-size: 0.95rem;
  }

  .header-actions {
    gap: 24px;
  }

  .language-switch {
    gap: 10px;
    font-size: 0.8rem;
  }

  .hero,
  .hero-copy {
    height: var(--hero-height, 100vh);
    min-height: var(--hero-height, 100vh);
  }

  .hero-copy {
    padding-bottom: 132px;
  }

  .hero.is-carousel-ready .carousel-dots {
    display: flex;
  }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .hero.is-carousel-ready .carousel-control {
    display: grid;
  }

  .carousel-control.prev {
    left: 28px;
  }

  .carousel-control.next {
    right: 28px;
  }

}

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

  .slide {
    transition: none;
  }
}
