:root {
  --paper: #f7f0e6;
  --soft: #fffaf2;
  --ink: #231a13;
  --muted: #756a5d;
  --earth: #553727;
  --terracotta: #b66f46;
  --olive: #667457;
  --water: #5f8183;
  --line: rgba(35, 26, 19, 0.16);
  --shadow: 0 24px 80px rgba(35, 26, 19, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--soft);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(247, 240, 230, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 112px clamp(20px, 6vw, 78px) 50px;
  color: var(--soft);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--earth);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(23, 15, 10, 0.78), rgba(23, 15, 10, 0.2) 58%, rgba(23, 15, 10, 0.42));
  content: "";
}

.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  animation: slow-pan 18s ease-in-out infinite alternate;
}

.hero-media img {
  z-index: 0;
}

.hero-media video {
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: end;
  width: min(860px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.45rem, 8.2vw, 7.6rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.1vw, 2.25rem);
  font-weight: 400;
  line-height: 1.05;
}

.hero-content p:not(.eyebrow),
.intro > p,
.section-copy p,
.contact-copy address {
  max-width: 660px;
  color: inherit;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-dark {
  border-color: var(--earth);
  background: var(--earth);
  color: var(--soft);
}

.button-light {
  background: rgba(255, 250, 242, 0.12);
  color: currentColor;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 78px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: end;
}

.intro h2 {
  max-width: 920px;
}

.intro > p,
.section-copy p {
  color: var(--muted);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.quick-facts article {
  display: grid;
  min-height: 170px;
  padding: 28px clamp(18px, 4vw, 42px);
  border-right: 1px solid var(--line);
  align-content: center;
}

.quick-facts article:last-child {
  border-right: 0;
}

.quick-facts span {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 1;
}

.quick-facts p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.house {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(34px, 7vw, 104px);
  background: var(--paper);
}

.section-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-list article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--soft);
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.visual-story {
  padding: clamp(72px, 9vw, 132px) 0;
  background: #e5dacb;
  overflow: hidden;
}

.story-heading {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto clamp(34px, 6vw, 76px);
}

.story-heading h2 {
  max-width: 780px;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  grid-template-rows: repeat(2, minmax(260px, 38vh));
  gap: 16px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.media-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.media-grid img,
.media-grid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transition: transform 700ms ease;
}

.media-grid figure:hover img {
  transform: scale(1.04);
}

.media-grid figure:hover video {
  transform: scale(1.04);
}

.media-large {
  grid-row: span 2;
}

.moving-strip {
  display: flex;
  width: max-content;
  gap: 14px;
  margin-top: 18px;
  animation: gallery-move 32s linear infinite;
}

.moving-strip img,
.moving-strip video {
  width: clamp(220px, 26vw, 410px);
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  object-fit: cover;
  object-position: center bottom;
}

.area {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 7vw, 98px);
  align-items: center;
  background: var(--soft);
}

.area-image img,
.area-image video {
  width: 100%;
  height: min(720px, 72vh);
  min-height: 420px;
  border-radius: 4px;
  object-fit: cover;
  object-position: center bottom;
  box-shadow: var(--shadow);
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.15fr);
  gap: clamp(34px, 7vw, 104px);
  background: #d8d0bf;
}

.stay-rules {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  max-width: 380px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stay-rules span {
  color: var(--muted);
}

.booking-tool {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.calendar-panel,
.booking-form {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.calendar-panel {
  padding: 20px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.calendar-head h3 {
  margin: 0;
  font-size: 1.45rem;
  text-align: center;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  display: grid;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  background: #fffdf8;
  color: var(--ink);
  font-size: 0.86rem;
}

.calendar-day.is-empty {
  border-color: transparent;
  background: transparent;
}

.calendar-day.is-past {
  color: rgba(117, 106, 93, 0.46);
}

.calendar-day.is-booked {
  background: rgba(85, 55, 39, 0.12);
  color: var(--earth);
  text-decoration: line-through;
}

.calendar-day.is-selected {
  border-color: var(--water);
  background: rgba(95, 129, 131, 0.2);
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 36px);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--earth);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fffdf8;
  color: var(--ink);
  padding: 13px 14px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--water);
  outline: 3px solid rgba(95, 129, 131, 0.22);
}

.availability-result {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf8;
  color: var(--muted);
  font-weight: 700;
}

.availability-result.is-available {
  border-color: rgba(102, 116, 87, 0.45);
  background: rgba(102, 116, 87, 0.12);
  color: #405034;
}

.availability-result.is-unavailable {
  border-color: rgba(182, 111, 70, 0.48);
  background: rgba(182, 111, 70, 0.14);
  color: #783f29;
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  background: var(--earth);
  color: var(--soft);
}

address {
  color: rgba(255, 250, 242, 0.78);
  font-style: normal;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 78px);
  background: #17100c;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.86rem;
}

.booking-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 34px;
  background: var(--soft);
  color: var(--ink);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.34);
}

.booking-dialog::backdrop {
  background: rgba(23, 15, 10, 0.56);
  backdrop-filter: blur(6px);
}

.booking-dialog h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

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

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

@keyframes slow-pan {
  from {
    transform: scale(1.03) translateX(-1.3%);
  }
  to {
    transform: scale(1.09) translateX(1.3%);
  }
}

@keyframes gallery-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .booking-tool {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    position: relative;
    z-index: 35;
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 999px;
    place-content: center;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .site-header.nav-active .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.nav-active .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 24px;
    background: var(--paper);
    color: var(--ink);
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .intro,
  .house,
  .area,
  .booking {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

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

  .quick-facts article:nth-child(2) {
    border-right: 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .media-large {
    grid-row: auto;
  }

  .media-grid figure {
    min-height: 320px;
  }

  .area-image {
    order: 2;
  }

  .contact {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 88vh;
    padding: 96px 18px 38px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5.6rem);
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts article {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions,
  .button {
    width: 100%;
  }

  .calendar-day {
    min-height: 36px;
    font-size: 0.78rem;
  }

  .site-footer {
    display: grid;
    padding-right: 18px;
    padding-left: 18px;
  }
}
