:root {
  color-scheme: dark;
  --background: #080808;
  --text: #f2f1ed;
  --muted: #a5a5a2;
  --line: #292929;
  --content-width: 46rem;
  --gallery-width: 70rem;
  --space-copy: clamp(2.5rem, 5vw, 3.5rem);
  --space-section: clamp(3.5rem, 7vw, 5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: #777;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.6rem 0.9rem;
  transform: translateY(-200%);
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.hero {
  display: flex;
  position: relative;
  isolation: isolate;
  min-height: clamp(26rem, 55svh, 38rem);
  padding: clamp(3.5rem, 10vw, 7rem) 1rem clamp(4rem, 9vw, 6rem);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  content: "";
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.brand-mark {
  display: grid;
  position: absolute;
  z-index: 1;
  top: clamp(1.25rem, 3vw, 2.25rem);
  left: clamp(1.25rem, 3vw, 2.25rem);
  justify-items: center;
}

.logo {
  display: block;
  width: clamp(2.25rem, 3.25vw, 3rem);
  height: auto;
  opacity: 0.72;
}

.brand-mark span {
  margin-top: 0.3rem;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.5rem, 0.65vw, 0.625rem);
  font-style: italic;
  letter-spacing: 0.12em;
  line-height: 1;
  opacity: 0.55;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 10.5vw, 6.25rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.tagline {
  display: flex;
  margin: 1.4rem 0 0;
  color: var(--muted);
  flex-wrap: wrap;
  font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  gap: 0.25rem 0.6rem;
  justify-content: center;
  letter-spacing: 0.015em;
}

main {
  padding: 0 1rem;
}

.introduction,
.details,
.booking-links,
.gallery-preview {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.gallery-preview {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.gallery-preview > a {
  display: grid;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: #0d0d0d;
  gap: 0.75rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.gallery-preview > a:hover {
  border-color: #545454;
  background: #111;
}

.gallery-preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-preview-label > span:last-child {
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
}

.gallery-preview-images {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.gallery-preview-images img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.gallery-preview > a:hover .gallery-preview-images img {
  opacity: 1;
}

.introduction {
  display: grid;
  padding-top: var(--space-section);
  gap: var(--space-copy);
}

.language-block {
  display: grid;
  gap: 0.75rem;
}

.language-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.language-block > p:last-child {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.65;
}

.details {
  padding-top: var(--space-section);
}

.details h2,
.gallery-section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.details h2 span,
.gallery-section h2 span {
  color: var(--muted);
  font-weight: 450;
}

.details dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-row {
  display: grid;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  gap: 0.25rem 1.5rem;
}

.detail-row dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.detail-row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.booking-links {
  display: grid;
  margin-top: var(--space-section);
  gap: 0.75rem;
}

.booking-link {
  display: grid;
  position: relative;
  min-height: 6.75rem;
  padding: 1.15rem 3rem 1.15rem 1.25rem;
  align-content: center;
  border: 1px solid #545454;
  gap: 0.05rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease,
    color 160ms ease;
}

.booking-link > span:first-child {
  font-weight: 650;
}

.booking-link > span:nth-child(2) {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 160ms ease;
}

.booking-link:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--background);
}

.booking-link:hover > span:nth-child(2) {
  color: #444;
}

.external-icon {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-size: 1.2rem;
}

.gallery-section {
  width: min(100%, var(--gallery-width));
  margin: 0 auto;
  padding-top: var(--space-section);
}

.gallery-section h2 {
  width: min(100%, var(--content-width));
  margin-right: auto;
  margin-left: auto;
}

.gallery-video {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9;
  background: #151515;
}

.gallery {
  display: grid;
  gap: 0.75rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #151515;
  object-fit: cover;
}

footer {
  width: min(calc(100% - 2rem), var(--gallery-width));
  margin: var(--space-section) auto 0;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (min-width: 36rem) {
  .detail-row {
    grid-template-columns: 9.5rem 1fr;
    align-items: baseline;
  }

  .booking-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  main {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

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

  .booking-link {
    transition: none;
  }

  .gallery-preview > a,
  .gallery-preview-images img {
    transition: none;
  }
}
