@font-face {
  font-family: "Eschaton";
  src: url("fonts/Eschaton-XtraLight.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Eschaton";
  src: url("fonts/Eschaton-LightItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Eschaton";
  src: url("fonts/Eschaton-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Eschaton";
  src: url("fonts/Eschaton-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Eschaton";
  src: url("fonts/Eschaton-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #16372c;
  --deep: #112a22;
  --ink: #1d352b;
  --muted: #516259;
  --sage: #cfddbb;
  --gold: #ecd798;
  --paper: #f4f5ec;
  --white: #fffcf5;
  --line: #d3dacb;
  font-family: "Eschaton", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.06; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .24em; }
:focus-visible { outline: 3px solid #a67c45; outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }

.shell { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }
.skip {
  position: fixed; z-index: 10; inset: 10px auto auto 10px;
  padding: 10px; transform: translateY(-150%); background: var(--white);
}
.skip:focus { transform: translateY(0); }

.site-header { background: var(--paper); }
.header-inner {
  min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.brand { display: grid; width: max-content; justify-items: center; gap: 5px; text-decoration: none; }
.brand img { width: 156px; height: auto; }
.brand span {
  font-size: .69rem; line-height: 1.1; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 700;
}
nav, .header-actions { display: flex; align-items: center; gap: clamp(13px, 2vw, 29px); }
nav a, .footer-top { font-size: .91rem; font-weight: 600; text-decoration: none; }
nav a:hover, .footer-top:hover { text-decoration: underline; }
.header-actions { justify-content: end; gap: 12px; }
.language {
  min-width: 44px; min-height: 44px; padding: 0;
  border: 1px solid #aebaaa; border-radius: 50%; background: transparent;
  font-size: .88rem; font-weight: 700;
}
.language:hover { background: var(--sage); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 49px; padding: .65rem 1.18rem;
  border: 1px solid transparent; border-radius: 3px;
  background: var(--forest); color: var(--white);
  text-align: center; text-decoration: none; line-height: 1.25;
  font-size: .92rem; font-weight: 700;
}
.button:hover { background: #275544; }
.button.small { min-height: 44px; white-space: nowrap; }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; min-height: clamp(500px, 47vw, 700px);
  background: var(--deep); color: var(--white);
}
.hero-picture, .hero-picture img, .hero::after {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-picture { z-index: -2; }
.hero-picture img { object-fit: cover; object-position: center 45%; }
.hero::after {
  content: ""; z-index: -1;
  background: linear-gradient(90deg, #10241fef 0%, #112720d9 29%, #142a2394 55%, #12271a18 87%),
    linear-gradient(0deg, #12271f52, transparent 52%);
}
.hero-inner { padding-block: 58px 105px; }
.overline {
  color: var(--sage); font-size: .8rem; line-height: 1.3;
  letter-spacing: .17em; text-transform: uppercase; font-weight: 700;
}
.hero .overline { margin-bottom: 20px; }
h1 {
  font-size: clamp(3.75rem, 7.05vw, 7.35rem);
  line-height: .98;
  letter-spacing: -.046em;
}
h1 em { display: block; color: var(--sage); }
.hero-description {
  max-width: 46ch; margin-block: 24px 24px;
  color: #edf1e9; font-size: clamp(1.03rem, 1.6vw, 1.19rem);
}
.hero-button { color: var(--deep); background: var(--sage); }
.hero-button:hover { color: var(--deep); background: var(--gold); }

.booking {
  position: relative; margin-top: -40px; padding: clamp(19px, 3vw, 34px);
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--white); box-shadow: 0 19px 55px #1b30231a;
}
.booking h2 { font-size: clamp(2.3rem, 3.8vw, 3.25rem); letter-spacing: -.02em; }
form {
  display: grid; grid-template-columns: 1fr 1fr .62fr 1.01fr auto;
  align-items: end; gap: 12px; margin-top: 14px;
}
form label { display: grid; gap: 5px; min-width: 0; font-size: .9rem; font-weight: 700; }
input, select {
  display: block; width: 100%; min-width: 0; min-height: 49px; padding: 8px 10px;
  border: 1px solid #a3b0a2; border-radius: 3px;
  background-color: var(--white); font-weight: 500; font-size: 1rem;
}
input::-webkit-date-and-time-value { text-align: start; }
select {
  appearance: none;
  padding-right: 29px;
  background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%),
    linear-gradient(135deg, var(--forest) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
}
.booking-notice, .photo-note { color: var(--muted); font-size: .9rem; }
.booking-notice { margin-top: 13px; }
.booking-notice a, .booking-result a { font-weight: 700; }
.booking-result {
  margin-top: 15px; border-left: 3px solid var(--forest); padding: 10px 14px;
  background: #e8efdf; font-size: .96rem;
}

.rooms { padding-block: clamp(65px, 8.5vw, 117px); }
.section-heading {
  display: grid; grid-template-columns: 1fr minmax(210px, 350px);
  gap: 25px; align-items: end; margin-bottom: 26px;
}
.section-heading h2, .location h2, .faq h2 {
  font-size: clamp(3.05rem, 6.25vw, 6.15rem); line-height: .96; letter-spacing: -.035em;
}
.section-heading p { color: var(--muted); }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 27px); }
.room {
  display: flex; flex-direction: column; overflow: clip;
  border: 1px solid var(--line); border-radius: 3px; background: var(--white);
}
.room-photo {
  position: relative; display: block; width: 100%; overflow: hidden;
  border: 0; padding: 0; background: #e0ddce;
}
.room-photo:focus-visible { outline-offset: -5px; }
.room-photo img {
  width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover;
  transition: transform .3s ease;
}
.room-photo:hover img { transform: scale(1.035); }
.photo-link {
  position: absolute; right: 10px; bottom: 10px; padding: 5px 12px;
  border-radius: 3px; color: var(--forest); background: var(--white);
  font-size: .86rem; font-weight: 700;
}
.room-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(15px, 2vw, 24px); }
.room-body h3 { font-size: clamp(2.6rem, 4vw, 3.9rem); letter-spacing: -.025em; }
.room-meta { margin-block: 5px 11px; color: var(--forest); font-size: .91rem; font-weight: 700; }
.room-body p:not(.room-meta) { margin-bottom: 17px; color: var(--muted); }
.room-body a { margin-top: auto; font-size: .94rem; font-weight: 700; }
.room-body a:hover { color: #387758; }
.photo-note { margin-top: 15px; }

.location { background: var(--forest); color: var(--white); padding-block: clamp(28px, 5vw, 67px); }
.location-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: clamp(28px, 6vw, 90px);
}
.location-photo {
  width: 100%; height: auto; max-height: 445px; aspect-ratio: 5 / 4;
  border-radius: 2px; object-fit: cover; object-position: 50% 50%;
}
.location-copy .overline { margin-bottom: 10px; }
.location-copy h2 { color: var(--sage); }
.location-copy p:not(.overline) { max-width: 44ch; margin-block: 16px; color: #e6ede1; }
address { margin-bottom: 20px; color: var(--white); font-style: normal; font-weight: 650; }

.faq {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 25px;
  padding-block: clamp(58px, 8vw, 103px);
}
details { padding-block: 15px; border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; }
summary::marker { color: #407058; }
details p { margin: 8px 0 0 1rem; color: var(--muted); }

.site-footer { background: var(--deep); color: var(--white); padding-block: 27px; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.footer-address { display: grid; gap: 2px; }
.footer-inner .brand span { color: var(--sage); }

dialog {
  width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px);
  padding: 13px; border: 1px solid #648373; border-radius: 5px;
  background: var(--deep); color: var(--white);
}
dialog::backdrop { background: #081511de; }
.gallery-header, .gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 11px; }
.gallery-header { margin-bottom: 9px; }
.gallery-header h2 { font-size: 2.2rem; }
.gallery-controls { margin-top: 8px; text-align: center; }
dialog button {
  min-width: 44px; min-height: 44px; padding: 0;
  border: 1px solid #90ad94; border-radius: 3px; background: transparent;
  color: var(--white); font-size: 1.55rem;
}
dialog button:hover { color: var(--deep); background: var(--sage); }
#gallery-image { width: 100%; height: min(63dvh, 570px); object-fit: contain; background: #0e211c; }

@media (max-width: 940px) {
  .shell { width: calc(100% - 52px); }
  .header-inner, nav { gap: 15px; }
  .header-book { padding-inline: .78rem; }
  form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-button { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 0; grid-template-columns: 1fr auto; gap: 0 8px; padding-top: 11px; }
  .brand img { width: 120px; }
  .brand span { font-size: .62rem; }
  .header-actions { gap: 7px; }
  .header-book { max-width: 10.2rem; white-space: normal !important; font-size: .85rem; }
  nav {
    grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 6px;
    margin-top: 8px; border-top: 1px solid var(--line);
  }
  nav a { display: inline-flex; align-items: center; min-height: 39px; font-size: .86rem; }
  .hero { min-height: clamp(430px, 125vw, 570px); }
  .hero-inner { padding-block: 49px 74px; }
  .hero-picture img {
    object-position: 54% 46%;
    transform: scale(1.1);
    transform-origin: 50% 100%;
  }
  .hero::after {
    background: linear-gradient(90deg, #10241fe8, #10241f98 83%),
      linear-gradient(0deg, #10241f6a, transparent 72%);
  }
  .hero .overline { margin-bottom: 16px; }
  h1 { font-size: clamp(2.65rem, 10.1vw, 4.55rem); }
  .hero-description { max-width: 34ch; margin-block: 19px 20px; }
  .booking { margin-top: -33px; padding: 16px; }
  .booking h2 { font-size: clamp(1.8rem, 8.4vw, 2.4rem); }
  form { gap: 9px; }
  input { padding-inline: 6px; }
  .section-heading, .room-grid, .location-inner, .faq { grid-template-columns: minmax(0, 1fr); }
  .section-heading { gap: 12px; }
  .room-grid { gap: 18px; }
  .room-photo img { aspect-ratio: 4 / 3; }
  .location-inner { gap: 22px; }
  .location-photo { max-height: 285px; }
  .faq { gap: 20px; }
  .footer-inner { display: grid; justify-content: start; }
}

@media (max-width: 363px) {
  .header-book { max-width: 8.3rem; }
  form { grid-template-columns: 1fr; }
}

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