html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  background: #fafbf8;
  color: #24352e;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: auto;
  padding: 22px max(4%, calc((100vw - 1472px) / 2));
  background: #183d34f5;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #ffffff20;
  box-shadow: 0 4px 20px #10291f24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #244b40;
  font:
    24px/1.1 Georgia,
    serif;
}
.site-header .brand {
  color: #f5f3e9;
}
.brand-mark svg {
  width: 38px;
  height: 38px;
}
.brand-small {
  display: block;
  font:
    9px system-ui,
    sans-serif;
  letter-spacing: 2px;
  margin-top: 7px;
}
.header-cta {
  background: #f5f3e9;
  color: #183d34;
  border-color: #f5f3e9;
}
.header-cta:hover {
  background: #e1e6d7;
  color: #183d34;
  border-color: #e1e6d7;
}
.btn {
  border-radius: 5px;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.btn svg {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover svg {
  transform: translateX(3px);
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
h1 {
  font-size: clamp(46px, 5.4vw, 80px);
  margin: 0 0 22px;
}
h2 {
  font-size: clamp(32px, 3.3vw, 46px);
  margin: 0 0 20px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  margin: 0 0 22px;
}
/* One full-width photograph anchors the page; the two smaller frames open the tour. */
.hero {
  max-width: 1536px;
  min-height: 640px;
  height: min(74vw, 720px);
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 10px;
  background: #344c3c;
  color: #fff;
}
.photo-mosaic {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.photo-mosaic > button {
  position: absolute;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #344c3c;
}
.photo-mosaic > button:first-child {
  inset: 0;
  width: 100%;
  height: 100%;
}
.photo-mosaic > button:not(:first-child) {
  z-index: 3;
  width: 154px;
  height: 112px;
  bottom: 36px;
  border: 3px solid #fff9;
  border-radius: 6px;
  box-shadow: 0 5px 20px #0003;
}
.photo-mosaic > button:nth-child(2) {
  right: 214px;
}
.photo-mosaic > button:nth-child(3) {
  right: 42px;
}
.photo-mosaic img,
.hero-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.photo-mosaic > button:first-child img,
.hero-fallback {
  object-position: center 32%;
}
.photo-mosaic > button:first-child:focus-visible {
  outline: 3px solid white;
  outline-offset: -8px;
}
.photo-mosaic > button:hover img {
  transform: scale(1.035);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #10291fcc 0%, #13281f77 42%, #12281a08 75%),
    linear-gradient(0deg, #10201655, transparent 60%);
}
.hero-copy {
  position: absolute;
  left: 6%;
  bottom: 66px;
  width: min(560px, 65%);
  pointer-events: none;
}
.hero-copy > * {
  pointer-events: auto;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 300px;
  font-size: 16px;
  line-height: 1.65;
  color: #f0f3ed;
  margin-bottom: 30px;
}
.gallery-trigger {
  position: absolute;
  right: 38px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: #10291f24;
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid #ffffff70;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.gallery-trigger:hover {
  background: #10291f60;
  border-color: #fff;
}
.facts {
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 31px 0;
  border-bottom: 1px solid #dfe5dd;
}
.facts > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.facts svg {
  color: #54705f;
}
.section {
  max-width: 1240px;
  margin: auto;
  padding: 76px 0;
}
.cabin-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 110px;
  padding-bottom: 50px;
}
.cabin-section p,
.stay-intro > p,
.location p {
  font-size: 15px;
  line-height: 1.8;
  color: #647168;
  max-width: 420px;
}
.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: center;
}
.amenity {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.amenity-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #3f6250;
}
.moments {
  padding-top: 16px;
  padding-bottom: 84px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h2 {
  font-size: 30px;
  letter-spacing: -0.7px;
  margin: 0;
}
.section-heading p {
  font-size: 13px;
  color: #647168;
  margin: 0;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.experience {
  border: none;
  padding: 0;
  background: transparent;
  text-align: left;
  color: inherit;
}
.experience-photo {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/4.25;
  background: #e2e8df;
}
.experience:nth-child(2) .experience-photo {
  aspect-ratio: 4/3.65;
}
.experience img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.experience:hover img,
.experience:focus-visible img {
  transform: scale(1.04);
}
.photo-open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fffffff0;
  color: #244b40;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
}
.experience:hover .photo-open {
  transform: translateX(3px);
}
.experience-title {
  display: block;
  font:
    23px/1.3 Georgia,
    serif;
  margin-top: 20px;
}
.experience-detail {
  display: block;
  font-size: 12px;
  color: #65736b;
  margin-top: 8px;
}
.stay-section {
  background: #edf1e9;
  max-width: none;
  padding: 80px max(5%, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.stay-intro {
  position: sticky;
  top: 120px;
  padding-top: 35px;
}
.stay-steps {
  display: grid;
  gap: 24px;
  margin-top: 35px;
  font-size: 13px;
}
.stay-steps b {
  font:
    19px Georgia,
    serif;
  color: #70856a;
  display: inline-block;
  width: 40px;
}
.minimum-stay {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 12px !important;
}
.house-rules {
  margin-top: 35px;
  font-size: 12px;
  color: #52664f;
  line-height: 1.8;
}
.house-rules summary {
  cursor: pointer;
  font-weight: 600;
}
.house-rules ul {
  padding-left: 20px;
  margin-top: 12px;
}
.booking-card {
  background: #fff;
  border: 1px solid #dbe3d7;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 20px 60px #30442b08;
  scroll-margin-top: 25px;
}
.booking-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.booking-heading h3 {
  font:
    26px Georgia,
    serif;
  margin: 0;
}
.booking-heading p {
  font-size: 11px;
  margin: 0;
  white-space: nowrap;
}
.booking-heading strong {
  font-size: 19px;
  color: #244b40;
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 15px;
}
.calendar-toolbar strong {
  font-size: 13px;
}
.calendar-day {
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.calendar-legend {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: #657362;
  margin-top: 15px;
}
.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.calendar-legend i {
  width: 7px;
  height: 7px;
  border: 1px solid #87a385;
  border-radius: 50%;
}
.calendar-legend i.unavailable {
  background: #cbd1c7;
  border-color: #cbd1c7;
}
#calendar-help {
  margin: 15px 0 23px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
form input,
form select,
form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  box-sizing: border-box;
  min-width: 0;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
form input:focus,
form select:focus,
form textarea:focus {
  border-color: #64846c;
  box-shadow: 0 0 0 3px #244b400a;
}
form .pet-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
}
form .pet-choice input {
  width: 16px;
  margin: 0;
}
.estimate {
  border-top: 1px solid #e6eae3;
  border-bottom: 1px solid #e6eae3;
  margin: 0 0 23px;
  padding: 15px 0;
  font-size: 13px;
}
.estimate p {
  margin: 8px 0;
  display: flex;
  justify-content: space-between;
}
.estimate .total {
  font-weight: 650;
  font-size: 15px;
  margin-top: 16px;
}
.request-button {
  width: 100%;
}
.booking-disclaimer {
  text-align: center;
  line-height: 1.6;
  margin: 12px 0 0;
}
.small {
  font-size: 12px;
}
.muted {
  color: #69756b;
}
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #244b40;
  font-size: 13px;
  text-underline-offset: 5px;
  margin-top: 10px;
}
.location-photo {
  margin: 0;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
}
.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 5%;
  border-top: 1px solid #dfe5dd;
  gap: 20px;
  font-size: 12px;
  color: #647168;
}
footer .brand {
  font-size: 18px;
}
dialog {
  max-width: 1100px;
  width: 92vw;
  max-height: 90vh;
  padding: 0 28px 28px;
  border: 0;
  border-radius: 12px;
}
dialog::backdrop {
  background: #13271fe8;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.dialog-heading h2 {
  font-size: 25px;
  letter-spacing: -0.5px;
  margin: 0;
}
#full-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 18px;
}
#full-gallery figure {
  margin: 0;
  scroll-margin-top: 100px;
}
#full-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}
#full-gallery figcaption {
  font-size: 12px;
  margin-top: 10px;
  color: #647262;
}
#form-message:not(:empty) {
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  background: #e8f0e4;
  color: #244b40;
}
#form-message.error {
  background: #fff0ea;
  color: #963e27;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 10px;
  background: white;
  z-index: 30;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
/* A single opening sequence; subsequent movement responds to the guest. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: arrive 0.9s cubic-bezier(0.2, 0.65, 0.3, 1) both;
  }
  .hero .photo-mosaic > button:first-child img {
    animation: settle 1.4s cubic-bezier(0.2, 0.65, 0.3, 1) both;
  }
  dialog[open] {
    animation: gallery-in 0.25s ease-out;
  }
  dialog[open]::backdrop {
    animation: backdrop-in 0.25s ease-out;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes settle {
  from {
    transform: scale(1.045);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes gallery-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1600px) {
  .hero {
    margin: 0 24px;
  }
}
@media (max-width: 1380px) {
  .facts,
  .section:not(.stay-section) {
    margin-left: 6%;
    margin-right: 6%;
  }
  .cabin-section,
  .location {
    gap: 65px;
  }
  .stay-section {
    gap: 55px;
  }
}
@media (max-width: 950px) {
  .hero {
    height: 650px;
    min-height: 0;
  }
  .hero-copy {
    bottom: 58px;
    width: 60%;
  }
  .photo-mosaic > button:not(:first-child) {
    width: 110px;
    height: 86px;
    bottom: 32px;
  }
  .photo-mosaic > button:nth-child(2) {
    right: 28px;
    bottom: 132px;
  }
  .photo-mosaic > button:nth-child(3) {
    right: 28px;
  }
  .cabin-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .amenities {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .stay-section {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
  }
  .booking-card {
    padding: 24px;
  }
  .booking-heading {
    flex-wrap: wrap;
  }
  .experience-grid {
    gap: 16px;
  }
  .experience-title {
    font-size: 21px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 20px;
    gap: 12px;
  }
  .brand {
    font-size: 19px;
    gap: 8px;
  }
  .brand-mark svg {
    width: 29px;
    height: 29px;
  }
  .brand-small {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .header-cta {
    padding: 11px 12px;
    font-size: 12px;
  }
  .header-cta svg {
    display: none;
  }
  .hero {
    margin: 0 12px;
    height: 600px;
    border-radius: 7px;
  }
  .hero::after {
    background: linear-gradient(
      0deg,
      #10291fe8 0%,
      #10291f75 48%,
      #10291f08 90%
    );
  }
  .hero-copy {
    width: auto;
    right: 26px;
    left: 26px;
    bottom: 36px;
  }
  h1 {
    font-size: clamp(43px, 9vw, 62px);
    letter-spacing: -1.3px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 14px;
    max-width: 250px;
    margin-bottom: 24px;
  }
  .photo-mosaic > button:not(:first-child) {
    display: none;
  }
  .gallery-trigger {
    top: 18px;
    right: 18px;
  }
  .facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 26px 0;
    gap: 20px 15px;
  }
  .facts > span {
    font-size: 11px;
    gap: 7px;
  }
  .facts svg {
    width: 18px;
  }
  .section {
    padding: 48px 0;
  }
  .cabin-section {
    padding-bottom: 25px;
  }
  .amenities {
    grid-template-columns: 1fr 1fr;
  }
  .amenity {
    gap: 7px;
    font-size: 12px;
  }
  .moments {
    padding-top: 20px;
  }
  .section-heading {
    display: block;
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .section-heading p {
    margin-top: 10px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .experience .experience-photo {
    aspect-ratio: 4/3;
  }
  .experience-title {
    margin-top: 14px;
  }
  .experience-detail {
    margin-top: 5px;
  }
  .stay-section {
    grid-template-columns: minmax(0, 1fr);
    padding: 45px 5%;
    gap: 30px;
  }
  .stay-intro {
    min-width: 0;
    position: static;
    padding: 0;
  }
  .stay-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 25px;
    font-size: 11px;
  }
  .stay-steps b {
    font-size: 16px;
    width: 23px;
  }
  .house-rules {
    margin-top: 24px;
  }
  .minimum-stay {
    margin: 16px 0 0;
  }
  .booking-card {
    padding: 24px 18px;
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }
  .booking-heading h3 {
    font-size: 24px;
  }
  .location {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .location-photo {
    height: 250px;
  }
  footer {
    flex-wrap: wrap;
    padding: 28px 6%;
  }
  footer > span {
    width: 100%;
  }
  #full-gallery {
    grid-template-columns: 1fr;
  }
  dialog {
    padding: 0 18px 22px;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  form input,
  form select,
  form textarea {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    display: none;
  }
  .header-cta {
    padding: 11px 10px;
    font-size: 11px;
  }
}
