:root {
  --bg: #f7f4ef;
  --bg-strong: #121212;
  --surface: rgba(255, 255, 255, 0.76);
  --text: #171717;
  --muted: #62605d;
  --line: rgba(23, 23, 23, 0.12);
  --shadow: 0 28px 70px rgba(17, 17, 17, 0.1);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L",
    Georgia, serif;
  --sans: "Optima", "Candara", "Noto Sans", sans-serif;
  --page: min(1180px, calc(100vw - 3rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.topbar,
.section,
.footer {
  width: var(--page);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  mix-blend-mode: difference;
  color: #f7f4ef;
}

.topbar__brand,
.eyebrow,
.project-data span,
.footer {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topbar__brand,
.topbar__nav,
.eyebrow,
.project-data,
.footer {
  font-size: 0.75rem;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  padding: 7rem max(1.5rem, calc((100vw - var(--page)) / 2)) 4rem;
  overflow: clip;
  background: var(--bg-strong);
}

.hero__media,
.hero__overlay,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__media {
  overflow: hidden;
}

.hero__slide {
  opacity: 0;
  animation: fadeCycle 18s infinite;
}

.hero__slide:nth-child(2) {
  animation-delay: 6s;
}

.hero__slide:nth-child(3) {
  animation-delay: 12s;
}

.hero__slide img {
  transform: scale(1.04);
  animation: drift 18s infinite;
}

.hero__slide:nth-child(2) img {
  animation-delay: 6s;
}

.hero__slide:nth-child(3) img {
  animation-delay: 12s;
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.16), rgba(8, 8, 8, 0.66)),
    linear-gradient(120deg, rgba(8, 8, 8, 0.7) 0%, rgba(8, 8, 8, 0.2) 58%, rgba(8, 8, 8, 0.52) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  color: #f7f4ef;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.94;
}

.hero__lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: 1.06rem;
  color: rgba(247, 244, 239, 0.84);
}

.eyebrow {
  margin-bottom: 1rem;
  color: currentColor;
  opacity: 0.72;
}

.section {
  padding: 6rem 0;
}

.section__intro {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2.75rem;
}

.section h2 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.98;
}

.section--split {
  padding-top: 5rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.split-layout__text {
  display: grid;
  gap: 1.4rem;
}

.project-data {
  display: grid;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.project-data p {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.project-data span {
  color: var(--muted);
}

.frame {
  margin: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  background: #e8e3db;
  box-shadow: var(--shadow);
}

.frame img {
  transition: transform 900ms ease, filter 900ms ease;
}

.frame:hover img {
  transform: scale(1.025);
  filter: saturate(1.03);
}

.frame figcaption {
  padding: 1rem 1.1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
}

.frame picture {
  display: block;
  aspect-ratio: 3 / 2;
}

.frame--portrait picture {
  aspect-ratio: 5 / 6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.card {
  display: grid;
  gap: 1rem;
}

.card h3 {
  font-size: 1.55rem;
}

.card p {
  color: var(--muted);
}

.section--reservations {
  position: relative;
}

.reservation-layout {
  display: grid;
  gap: 2rem;
}

.reservation-summary {
  display: grid;
  gap: 1.25rem;
  width: min(760px, 100%);
}

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

.reservation-card {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.92)),
    linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0));
  box-shadow: var(--shadow);
}

.reservation-card__kicker,
.setup-note__title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.reservation-card h3 {
  font-size: 1.5rem;
}

.reservation-card p,
.reservation-rules {
  color: var(--muted);
}

.reservation-rules {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.75;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  width: fit-content;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.18);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(23, 23, 23, 0.04);
}

.action-button--disabled {
  color: var(--muted);
  cursor: default;
}

.setup-note {
  display: grid;
  gap: 0.6rem;
  width: min(760px, 100%);
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-top: 1px solid var(--line);
}

.section--details {
  width: min(1280px, calc(100vw - 3rem));
}

.details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.details-grid__item picture {
  aspect-ratio: 4 / 3;
}

.details-grid__item--large {
  grid-row: span 2;
}

.details-grid__item--large picture {
  aspect-ratio: 4 / 5.2;
}

.details-grid__item--wide {
  grid-column: 2 / span 2;
}

.section--closing {
  display: grid;
  gap: 2rem;
}

.frame--full picture {
  aspect-ratio: 16 / 9;
}

.closing-copy {
  width: min(760px, 100%);
  padding-bottom: 1rem;
}

.closing-copy p:last-child {
  margin-top: 1.2rem;
  color: var(--muted);
}

.brand-signature {
  display: grid;
  gap: 0.7rem;
  width: min(280px, 72%);
  margin-top: 2.2rem;
  opacity: 0.68;
}

.brand-signature__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-signature__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
}

.footer {
  padding: 0 0 2.5rem;
  color: var(--muted);
}

@keyframes fadeCycle {
  0%,
  28% {
    opacity: 1;
  }

  34%,
  100% {
    opacity: 0;
  }
}

@keyframes drift {
  0% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .topbar {
    padding: 1rem 0;
  }

  .hero {
    min-height: 86svh;
    padding-bottom: 3rem;
  }

  .split-layout,
  .cards,
  .reservation-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .details-grid__item--large,
  .details-grid__item--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 720px) {
  :root {
    --page: calc(100vw - 1.5rem);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .topbar__nav {
    gap: 0.75rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .frame,
  .frame figcaption {
    border-radius: 1rem;
  }
}

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

  .hero__slide,
  .hero__slide img,
  .frame img {
    animation: none;
    transition: none;
  }

  .hero__slide {
    opacity: 0;
  }

  .hero__slide:first-child {
    opacity: 1;
  }
}

@page {
  margin: 1.4cm;
}

@media print {
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --text: #111111;
    --muted: #4f4f4f;
    --line: rgba(0, 0, 0, 0.12);
    --shadow: none;
  }

  body {
    background: #ffffff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .topbar {
    position: static;
    color: var(--text);
    mix-blend-mode: normal;
    padding-top: 0;
  }

  .hero {
    min-height: auto;
    padding: 0;
    background: transparent;
    break-inside: avoid;
  }

  .hero__slide,
  .hero__slide img {
    animation: none;
  }

  .hero__slide {
    opacity: 0;
  }

  .hero__slide:first-child {
    opacity: 1;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.22));
  }

  .hero__content {
    padding: 2.2rem;
  }

  .brand-signature {
    opacity: 0.9;
  }

  .section,
  .footer {
    width: 100%;
    padding: 2.2rem 0;
  }

  .section,
  .cards,
  .card,
  .split-layout,
  .details-grid,
  .section--closing,
  .frame {
    break-inside: avoid;
  }
}
