:root {
  color-scheme: light;
  --bg: #f5f0e7;
  --surface: #ffffff;
  --cream: #fff8e8;
  --panel: #fffaf0;
  --panel-strong: #ffffff;
  --text: #12312f;
  --muted: #52706c;
  --blue: #0797c7;
  --blue-dark: #036783;
  --green: #b9df00;
  --green-dark: #0ba866;
  --red: #e62b1f;
  --line: rgba(18, 49, 47, 0.16);
  --wood: #8a4f23;
  --shadow: 0 12px 34px rgba(18, 49, 47, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  display: flex;
  justify-content: space-between;
  left: 50%;
  padding: 0.55rem 0.8rem 0.55rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  width: min(1120px, calc(100% - 2rem));
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 240, 0.98);
  border-color: rgba(18, 49, 47, 0.22);
  box-shadow: var(--shadow);
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 0;
  letter-spacing: -0.03em;
}

.brand img {
  height: 3.15rem;
  object-fit: contain;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  border-radius: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.68rem 0.9rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--panel);
  color: var(--text);
}

.site-nav .nav-cta {
  background: var(--green);
  box-shadow: none;
  color: #12312f;
  margin-left: 0.35rem;
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  padding: 0.5rem;
}

.menu-toggle span:not(.sr-only) {
  background: var(--blue-dark);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 1.5rem;
}

.hero {
  align-items: end;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 9rem max(1.25rem, calc((100vw - 1120px) / 2)) 3rem;
  position: relative;
}

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

.hero-media {
  background-image: url("assets/images/hotel/cue.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.95) contrast(0.98);
}

.hero-overlay {
  background: rgba(245, 240, 231, 0.68);
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 0.45rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  width: min(24rem, 86vw);
}

.eyebrow {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  margin-bottom: 1.5rem;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.hero-content > p:not(.eyebrow),
.section-copy p,
.sustainability-panel p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  font-weight: 800;
  padding: 0.95rem 1.25rem;
}

.button.primary {
  background: var(--green);
  border-color: rgba(139, 199, 0, 0.8);
  box-shadow: none;
  color: #12312f;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-dark);
}

.booking-card {
  backdrop-filter: blur(12px);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  bottom: 3rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.1rem;
  padding: 1.25rem;
  position: absolute;
  right: max(1.25rem, calc((100vw - 1120px) / 2));
  width: min(22rem, calc(100% - 2.5rem));
  z-index: 1;
}

.booking-card span,
.booking-card a,
.site-footer p {
  color: var(--muted);
}

.booking-card strong {
  color: var(--blue-dark);
  font-size: 1.6rem;
}

.section {
  margin: 0 auto;
  padding: 7rem 1.25rem;
  width: min(1120px, 100%);
}

.intro,
.location {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.stat-grid {
  display: grid;
  gap: 0.85rem;
}

.stat-grid article,
.contact-panel,
.room-card,
.sustainability-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  box-shadow: var(--shadow);
}

.stat-grid article {
  padding: 1.2rem;
}

.stat-grid strong {
  color: var(--blue);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.stat-grid span {
  color: var(--muted);
}

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.15fr 0.85fr;
  padding-top: 1rem;
}

.gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 0.45rem;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery img:first-child {
  grid-row: span 2;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 760px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.room-card {
  overflow: hidden;
}

.room-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
}

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

.room-card p,
.contact-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.sustainability {
  width: min(1280px, 100%);
}

.sustainability-panel {
  background-color: rgba(255, 250, 240, 0.9);
  background-image: url("assets/images/hotel/hotel4.webp");
  background-blend-mode: lighten;
  background-position: center;
  background-size: cover;
  min-height: 37rem;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 2rem 0 0;
  max-width: 34rem;
  padding: 0;
}

.feature-list li {
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
}

.feature-list li::before {
  background: var(--green-dark);
  border-radius: 50%;
  content: "";
  flex: 0 0 0.55rem;
  height: 0.55rem;
  width: 0.55rem;
}

.contact-panel {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
}

.cards-section {
  padding-top: 2rem;
}

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

.info-card,
.collab-card,
.reservation-form,
.article-page {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  box-shadow: var(--shadow);
}

.info-card,
.collab-card {
  display: grid;
  gap: 0.65rem;
  padding: 1.35rem;
}

.info-card p,
.collab-card p,
.article-page p,
.article-page li,
.page-hero p {
  color: var(--muted);
}

.info-card a,
.article-page a,
.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.collab-card {
  color: inherit;
  min-height: 15rem;
  overflow: hidden;
  position: relative;
}

.collab-card img {
  aspect-ratio: 16 / 9;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  object-fit: contain;
  padding: 0.85rem;
  width: 100%;
}

.page-shell {
  margin: 0 auto;
  padding: 9rem 1.25rem 4rem;
  width: min(1120px, 100%);
}

.page-hero {
  margin-bottom: 2rem;
  max-width: 820px;
}

.page-hero h1,
.article-page h1 {
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  max-width: 13ch;
}

.article-page {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.legal-page {
  margin-top: 8.5rem;
  padding-top: clamp(1.4rem, 4vw, 3rem);
}

.related-link {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 0.75rem 0.9rem;
}

.related-link + h2 {
  margin-top: 1.2rem;
}

.article-page h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-top: 2.4rem;
}

.article-page h3 {
  color: var(--wood);
  margin-top: 1.6rem;
}

.article-page ul,
.article-page ol {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.2rem;
}

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

.reservation-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
}

.disabled-form {
  position: relative;
}

.disabled-form .reservation-form {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.form-overlay {
  align-content: center;
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  display: grid;
  gap: 0.5rem;
  inset: 0;
  justify-items: center;
  padding: 1.5rem;
  position: absolute;
  text-align: center;
}

.form-overlay strong {
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.form-overlay span {
  color: var(--muted);
  max-width: 34rem;
}

.reservation-form label {
  color: var(--blue-dark);
  display: grid;
  font-weight: 800;
  gap: 0.45rem;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  color: var(--text);
  font: inherit;
  padding: 0.9rem 1rem;
}

.reservation-form .full,
.reservation-form button {
  grid-column: 1 / -1;
}

.terms-check {
  align-items: start;
  color: var(--muted) !important;
  display: flex !important;
  flex-direction: row;
  font-weight: 600 !important;
}

.terms-check input {
  margin-top: 0.25rem;
}

.reservation-contact-card {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.45rem;
  padding: 1.5rem;
  position: sticky;
  top: 6.5rem;
}

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

.reservation-contact-card strong {
  color: var(--blue-dark);
  font-size: 1.55rem;
}

.reservation-contact-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.admin-links a {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.65rem 0.9rem;
}

.contact-panel a {
  color: var(--blue-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  width: min(1120px, 100%);
}

.site-footer p {
  margin: 0;
}

.github-link {
  display: inline-flex;
  vertical-align: text-bottom;
}

.github-link svg {
  fill: currentColor;
  height: 1.15rem;
  width: 1.15rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 12;
  }

  .site-nav {
    align-content: center;
    background: rgba(247, 251, 245, 0.98);
    display: none;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    padding: 2rem;
    position: fixed;
    z-index: 11;
  }

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

  .site-nav a {
    font-size: 1.3rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    align-items: center;
    padding-top: 8rem;
  }

  .brand img {
    height: 2.7rem;
    width: auto;
  }

  .booking-card {
    bottom: auto;
    margin-top: 2rem;
    position: relative;
    right: auto;
  }

  .intro,
  .location,
  .room-grid,
  .gallery,
  .info-grid,
  .collab-grid,
  .reservation-layout,
  .reservation-form {
    grid-template-columns: 1fr;
  }

  .reservation-contact-card {
    position: static;
  }

  .gallery img:first-child {
    grid-row: auto;
  }

  .section {
    padding-block: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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