:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --card: #fffdf9;
  --ink: #1e2a2c;
  --muted: #566160;
  --line: #ddd5c8;
  --rust: #a2492a;
  --rust-dark: #853a20;
  --sea: #24494a;
  --on-sea: #f4efe6;
  --on-sea-muted: #c6d3cf;
  --radius: 6px;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rust-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

.wrap { width: min(100% - 2rem, 1240px); margin-inline: auto; }

.draft-banner {
  background: #2b2b2b;
  color: #fff;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  text-align: center;
}
.todo {
  background: #ffe98f;
  color: #3d3200;
  border-radius: 3px;
  padding: 0 0.3em;
  font-family: var(--sans);
  font-size: 0.92em;
}

.button {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  text-decoration: none;
}
.button:hover { background: var(--rust-dark); color: #fff; }
.button-small { padding: 0.45rem 0.95rem; font-size: 0.9375rem; }

.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.wordmark { font: 500 1.35rem/1.2 var(--serif); color: var(--ink); text-decoration: none; margin: 0; }
nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9375rem; }
nav a:not(.button) { color: var(--ink); text-decoration: none; }
nav a:not(.button):hover { color: var(--rust); text-decoration: underline; }

.intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: end;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.25rem);
}
.eyebrow { margin: 0 0 0.5rem; color: var(--rust-dark); font-weight: 500; }
h1 { font-size: clamp(3.5rem, 8vw, 6.75rem); letter-spacing: -0.02em; line-height: 0.95; white-space: nowrap; }
.lede { font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.3 var(--serif); margin: 0 0 1rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; color: var(--muted); }

.photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.photo:hover img { transform: scale(1.025); }

.mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(170px, 19vw, 265px));
  gap: 0.5rem;
}
.mosaic .photo:first-child { grid-row: span 2; }
.all-photos {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: 500 0.9375rem var(--sans);
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}
.all-photos:hover { background: #fff; color: var(--rust-dark); }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 4.5rem;
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.about p { font: 400 clamp(1.25rem, 1.8vw, 1.45rem)/1.45 var(--serif); margin: 0 0 1em; }
.about p:last-child { margin: 0; }
.section { margin-top: clamp(3rem, 6vw, 4.5rem); }
.section > h2 { margin-bottom: 1.5rem; }

.space { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.space:last-child { padding-bottom: 0; }
.space p { margin: 0.25rem 0 1rem; color: var(--muted); max-width: 62ch; }
.space-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.space-photos .photo { aspect-ratio: 3 / 2; }
.space-photos.count-3 { grid-template-columns: repeat(3, 1fr); }
.space-photos.count-3 .photo { aspect-ratio: 4 / 3; }

.amenities { columns: 2; column-gap: 2.5rem; }
.amenities li { break-inside: avoid; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }

.book { position: sticky; top: 1.5rem; scroll-margin-top: 1.5rem; }
/* The widget grows once dates are picked, so the card scrolls rather than hiding Reserve below the fold. */
.book-card { max-height: calc(100vh - 3rem); overflow-y: auto; }
.book-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}
.book-card h2 { font-size: 1.75rem; }
.book-card > p { margin: 0.4rem 0 1rem; color: var(--muted); }
.book-card > p.book-contact { margin: 1rem 0 0; font-size: 0.9375rem; }
.widget-placeholder {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 1.5rem;
  border: 2px dashed #d7bf54;
  border-radius: var(--radius);
  background: #fffbe4;
  color: #3d3200;
  text-align: center;
}

.location { background: var(--sea); color: var(--on-sea); padding-block: clamp(3rem, 6vw, 5rem); }
.location a { color: var(--on-sea); }
.location a:hover { color: #fff; }
.location h2 { margin-bottom: 1rem; }
.location-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem 4.5rem; align-items: start; }
.distances { margin-block: 1.5rem; border-top: 1px solid #47696a; }
.distances > div { padding-block: 0.7rem; border-bottom: 1px solid #47696a; }
.distances dd { color: var(--on-sea-muted); font-size: 0.9375rem; }
.location-photos { display: grid; gap: 0.5rem; }
.location-photos .photo { aspect-ratio: 16 / 9; background: #1a3738; }

.rules dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; border-top: 1px solid var(--line); }
.rules dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
.rules dt { font-weight: 600; }
.rules { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

.site-footer { border-top: 1px solid var(--line); padding-block: 2.25rem; color: var(--muted); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; }
.footer-grid p { margin: 0 0 0.3rem; }
.footer-grid .wordmark { margin-bottom: 0.4rem; }

.prose { max-width: 680px; padding-block: 3rem 4rem; }
.prose h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 0.5rem; }
.prose p { margin: 0 0 1rem; }

.mobile-book { display: none; }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 3.75rem 1rem 1rem;
  border: 0;
  background: #101617;
  color: #f4efe6;
}
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); gap: 0.75rem; align-items: center; }
.lightbox::backdrop { background: #101617; }
.lightbox figure { grid-column: 2; grid-row: 1; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; min-height: 0; }
.lightbox img { min-height: 0; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: #c9cfca; font-size: 0.9375rem; text-align: center; }
.lightbox button { background: transparent; color: inherit; border: 1px solid #5e6a68; border-radius: var(--radius); font: 500 1rem var(--sans); cursor: pointer; }
.lightbox button:hover { background: #2c3637; }
.lightbox-close { position: absolute; top: 0.75rem; right: 1rem; padding: 0.4rem 0.9rem; }
.lightbox-nav { grid-row: 1; width: 3rem; height: 3rem; font-size: 1.25rem !important; }
.lightbox-nav[data-step='-1'] { grid-column: 1; }
.lightbox-nav[data-step='1'] { grid-column: 3; }

@media (max-width: 1020px) {
  .layout { grid-template-columns: 1fr; gap: 3rem; }
  .book { position: static; order: 2; }
  .book-card { max-width: 560px; max-height: none; overflow-y: visible; }
  .content { order: 1; }
  .location-grid { grid-template-columns: 1fr; }
  .rules dl { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 4.5rem; font-size: 1rem; }
  nav a:not(.button) { display: none; }
  .intro { grid-template-columns: 1fr; gap: 1rem; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: 56vw repeat(2, 30vw); }
  .mosaic .photo:first-child { grid-column: span 2; grid-row: auto; }
  .space-photos.count-3 { grid-template-columns: repeat(2, 1fr); }
  .space-photos.count-3 .photo:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
  .amenities { columns: 1; }
  .rules dl > div { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-book {
    display: block;
    position: fixed;
    inset: auto 1rem 0.875rem 1rem;
    z-index: 10;
    text-align: center;
    box-shadow: 0 6px 20px rgb(30 42 44 / 25%);
  }
  .lightbox { padding-inline: 0.5rem; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lightbox figure { grid-column: 1 / -1; }
  .lightbox-nav { grid-row: 2; width: 100%; }
  .lightbox-nav[data-step='-1'] { grid-column: 1; }
  .lightbox-nav[data-step='1'] { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img { transition: none; }
  .photo:hover img { transform: none; }
}

.contact { background: var(--card); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem 4.5rem; align-items: start; }
.contact h2 { margin-bottom: 1rem; }
.contact-grid > div > p { color: var(--muted); margin: 0; max-width: 42ch; }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.3rem; font-weight: 500; font-size: 0.9375rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #a89f91;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
}
.contact-form textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-trap { position: absolute; left: -9999px; }
.contact-form .button { justify-self: start; border: 0; font: 600 1rem var(--sans); cursor: pointer; }
.contact-form .button:disabled { opacity: 0.55; cursor: not-allowed; }
.form-status { margin: 0; min-height: 1.6em; }

@media (max-width: 760px) {
  .contact-grid, .field-row { grid-template-columns: 1fr; }
}

.listing-name { margin: 0.75rem 0 0; font-size: 1rem; }
