:root {
  --ink: #13222a;
  --muted: #53646b;
  --paper: #f7f5f0;
  --mist: #e6ecea;
  --lake: #386d7a;
  --pine: #1f4947;
  --sun: #d99052;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 92px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    height 180ms ease;
}

.site-header.is-scrolled {
  height: 76px;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.brand {
  width: 92px;
  flex: 0 0 auto;
}

.brand img {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.26));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.95rem;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta,
.booking-panel button {
  border: 0;
  background: var(--sun);
  color: var(--white);
  font-weight: 700;
}

.header-cta {
  padding: 0.85rem 1.1rem;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  padding: 8rem clamp(1rem, 4vw, 4rem) 2rem;
  overflow: hidden;
}

.hero-media,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.1s ease,
    transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 16, 20, 0.38), rgba(8, 16, 20, 0.74)),
    linear-gradient(90deg, rgba(8, 16, 20, 0.52), transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--white);
  animation: rise-in 900ms ease both;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: color-mix(in srgb, var(--white) 80%, var(--sun));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.hero-copy {
  max-width: 540px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.6;
}

.booking-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  width: min(900px, 100%);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.booking-panel label {
  display: grid;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
}

.booking-panel span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-panel input,
.booking-panel select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.booking-panel button {
  min-width: 180px;
  cursor: pointer;
}

.band {
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.intro-copy {
  color: var(--muted);
  line-height: 1.75;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.stats strong {
  display: grid;
  gap: 0.25rem;
  color: var(--ink);
}

.stats span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.rooms,
.amenities,
.gallery {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

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

.room-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(19, 34, 42, 0.08);
}

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

.room-card div {
  padding: 1rem;
}

.room-card h3,
.amenity-grid h3 {
  margin-bottom: 0.45rem;
}

.room-card p,
.amenity-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.amenity-grid article {
  padding-top: 1rem;
  border-top: 1px solid rgba(19, 34, 42, 0.14);
}

.amenity-grid span {
  color: var(--lake);
  font-size: 0.78rem;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(180px, 260px));
  gap: 1rem;
}

.gallery-item {
  padding: 0;
  overflow: hidden;
  border: 0;
  cursor: zoom-in;
}

.gallery-item.featured {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.local {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.local img {
  min-height: 360px;
  object-fit: cover;
}

.local p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  background: var(--ink);
  color: var(--white);
}

.site-footer > div:first-child {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer img {
  width: 72px;
}

.site-footer p {
  margin-bottom: 0;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.lightbox {
  width: min(900px, calc(100% - 2rem));
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  max-height: 80vh;
  object-fit: contain;
}

.lightbox button {
  margin-left: auto;
  margin-bottom: 0.75rem;
  border: 0;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  cursor: pointer;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .site-header {
    height: 76px;
    gap: 1rem;
  }

  .brand {
    width: 74px;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: inherit;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 1rem;
    display: none;
    width: min(220px, calc(100vw - 2rem));
    padding: 1rem;
    background: color-mix(in srgb, var(--ink) 94%, transparent);
  }

  .site-nav.is-open {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .booking-panel,
  .intro,
  .room-grid,
  .amenity-grid,
  .local {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    margin-top: 1rem;
  }

  .booking-panel button {
    min-height: 54px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .site-footer,
  .footer-links {
    display: grid;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 720px;
  }

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

  .gallery-grid {
    grid-template-rows: repeat(5, 210px);
  }

  .gallery-item.featured {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
