:root {
  --paper: #f7f5ef;
  --ink: #252821;
  --muted: #676b61;
  --field: #dfe5d9;
  --leaf: #294238;
  --rust: #9a4f3e;
  --sand: #d6b977;
  --sage: #e4e9df;
  --white: #ffffff;
  --media-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.55;
}

body.booking-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(37, 40, 33, 0.1);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  padding: 17px 34px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  height: auto;
  width: 230px;
}

nav {
  align-items: center;
  display: flex;
  gap: 26px;
  font-weight: 600;
}

nav a {
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

nav a:hover {
  border-color: var(--rust);
}

button {
  font: inherit;
}

.nav-book-button {
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 18px;
  text-decoration: none;
}

.hero {
  align-items: end;
  background:
    url("/video/byrd-homestead-poster.jpg") center / cover,
    linear-gradient(135deg, var(--leaf), var(--rust));
  background-position: center;
  background-size: cover;
  border-radius: var(--media-radius);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  isolation: isolate;
  margin: 16px auto 0;
  max-width: 1408px;
  min-height: 710px;
  overflow: hidden;
  padding: 92px 64px 64px;
  position: relative;
  width: calc(100% - 32px);
}

.hero::after {
  background: linear-gradient(180deg, rgba(20, 27, 23, 0.12), rgba(20, 27, 23, 0.74));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero__video {
  border-radius: inherit;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero__content,
.hero__note {
  position: relative;
  z-index: 2;
}

.hero__mark {
  display: block;
  height: auto;
  margin-bottom: 18px;
  width: 54px;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: 7rem;
  line-height: 0.83;
  margin: 8px 0 0;
  max-width: 760px;
}

.hero__content > p:not(.hero__location) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.3rem;
  margin: 28px 0 0;
  max-width: 510px;
}

.hero__location {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.hero__note {
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  margin: 0 0 10px;
  max-width: 250px;
  padding-left: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

.eyebrow {
  color: var(--rust);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.button {
  align-items: center;
  background: var(--leaf);
  border: 0;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  margin-top: 26px;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
}

.button--light {
  background: var(--white);
  color: var(--leaf);
}

.button--small {
  margin: 0;
  min-height: 42px;
  padding: 0 17px;
}

.intro-strip,
.feature-story,
.properties-header,
.detail-layout,
.amenities-section,
.site-footer {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
}

.feature-story {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
  padding-bottom: 58px;
  padding-top: 20px;
}

.feature-story h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.96;
  margin: 0;
}

.feature-story > p {
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
  margin: 36px 0 0;
}

.intro-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 48px;
  padding-top: 12px;
}

.intro-strip div {
  border-top: 1px solid rgba(39, 35, 31, 0.22);
  padding-top: 16px;
}

.intro-strip strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.intro-strip span {
  color: var(--muted);
  font-weight: 700;
}

.properties-header {
  align-items: end;
  display: grid;
  gap: 22px;
  grid-template-columns: 0.8fr 1.2fr;
  padding-bottom: 24px;
}

.properties-header h2,
.site-footer h2,
.detail-panel h2,
.amenities-section h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  margin: 0;
}

.filters {
  align-items: end;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(39, 35, 31, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.25fr 0.7fr 0.8fr 0.8fr auto;
  padding: 14px;
}

.filters label {
  display: grid;
  gap: 5px;
}

.filters span,
.filters p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.filters input,
.filters select {
  background: var(--white);
  border: 1px solid rgba(39, 35, 31, 0.18);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}

.filters .button {
  margin: 0;
}

.listings {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 0 auto;
  max-width: 1180px;
  padding: 16px 24px 72px;
}

.listing-card {
  background: var(--white);
  border: 1px solid rgba(39, 35, 31, 0.12);
  border-radius: 3px;
  box-shadow: 0 28px 70px rgba(39, 35, 31, 0.12);
  overflow: hidden;
}

.listing-card__media {
  display: block;
  position: relative;
}

.listing-card__media span {
  background: var(--white);
  border-radius: 999px;
  bottom: 14px;
  box-shadow: 0 10px 26px rgba(39, 35, 31, 0.14);
  font-weight: 900;
  left: 14px;
  padding: 8px 12px;
  position: absolute;
}

.listing-card img,
.image-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--field), #d5c0a6);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.listing-card__body {
  padding: 22px;
}

.listing-card h2 {
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  line-height: 1.05;
  margin: 0 0 12px;
}

.listing-card h2 a {
  text-decoration: none;
}

.listing-card__body > p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 18px;
}

dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  font-weight: 800;
  margin: 2px 0 0;
}

.amenity-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.amenity-row span,
.amenity-list li {
  background: #f4ecdf;
  border-radius: 999px;
  color: var(--leaf);
  font-weight: 800;
  padding: 7px 10px;
}

.text-link,
.back-link {
  color: var(--rust);
  display: inline-block;
  font-weight: 900;
  margin-top: 18px;
  text-decoration: none;
}

.empty-state {
  background: var(--white);
  border-radius: 8px;
  color: var(--muted);
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
}

.welcome,
.cabins,
.homestead-promise {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: 32px;
  padding-right: 32px;
}

.welcome {
  align-items: center;
  display: grid;
  gap: 88px;
  grid-template-columns: 1.05fr 0.95fr;
  padding-bottom: 120px;
  padding-top: 120px;
}

.welcome__images {
  min-height: 580px;
  position: relative;
}

.welcome__images img {
  border-radius: var(--media-radius);
  display: block;
  object-fit: cover;
  position: absolute;
}

.welcome__images img:first-child {
  height: 510px;
  left: 0;
  top: 0;
  width: 78%;
}

.welcome__images img:last-child:not(:first-child) {
  border: 10px solid var(--paper);
  bottom: 0;
  height: 260px;
  object-position: center;
  right: 0;
  width: 48%;
}

.welcome__copy {
  max-width: 510px;
}

.welcome__copy h2,
.cabins__heading h2 {
  font-family: "Fraunces", serif;
  font-size: 4.2rem;
  line-height: 0.98;
  margin: 0 0 30px;
}

.welcome__copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 0 18px;
}

.cabins {
  background: var(--sage);
  max-width: 1440px;
  padding-bottom: 120px;
  padding-left: max(32px, calc((100% - 1176px) / 2));
  padding-right: max(32px, calc((100% - 1176px) / 2));
  padding-top: 110px;
}

.cabins__heading {
  align-items: end;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 0.65fr;
  margin-bottom: 70px;
}

.cabins__heading h2 {
  margin-bottom: 0;
}

.cabins__heading > p {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 0 8px;
  max-width: 430px;
}

.cabin-grid {
  display: grid;
  gap: 80px 44px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cabin-card {
  min-width: 0;
}

.cabin-card:nth-child(even) {
  transform: translateY(56px);
}

.cabin-card .listing-card__media {
  border-radius: var(--media-radius);
  overflow: hidden;
}

.cabin-card img,
.cabin-card .image-placeholder {
  aspect-ratio: 5 / 4;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.cabin-card .listing-card__media:hover img {
  transform: scale(1.025);
}

.cabin-card .listing-card__body {
  padding: 24px 4px 0;
}

.cabin-number {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.cabin-card h2 {
  font-family: "Fraunces", serif;
  font-size: 2.65rem;
  line-height: 1;
  margin: 0;
}

.cabin-card h2 a {
  text-decoration: none;
}

.cabin-meta {
  color: var(--muted);
  margin: 12px 0 0;
}

.cabin-card__footer {
  align-items: center;
  border-top: 1px solid rgba(37, 40, 33, 0.2);
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
}

.cabin-card__footer > p {
  color: var(--muted);
  margin: 0;
}

.cabin-card__footer strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.cabin-card__footer > div {
  align-items: center;
  display: flex;
  gap: 18px;
}

.cabin-card .text-link {
  margin: 0;
}

.homestead-promise {
  padding-bottom: 128px;
  padding-top: 128px;
  text-align: center;
}

.homestead-promise blockquote {
  color: var(--leaf);
  font-family: "Fraunces", serif;
  font-size: 3.5rem;
  line-height: 1.08;
  margin: 18px auto 0;
  max-width: 980px;
}

.detail-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: 64px 24px 34px;
}

.detail-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.9;
  margin: 10px 0 18px;
  max-width: 880px;
}

.detail-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 760px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-actions span {
  color: var(--leaf);
  font-weight: 900;
  margin-top: 26px;
}

.gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(150px, 250px));
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px 40px;
}

.gallery img {
  border-radius: var(--media-radius);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery__item--1 {
  grid-row: 1 / 3;
}

.detail-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 360px;
  padding-bottom: 46px;
}

.detail-panel {
  background: var(--white);
  border: 1px solid rgba(39, 35, 31, 0.12);
  border-radius: 3px;
  box-shadow: 0 18px 46px rgba(39, 35, 31, 0.08);
  padding: 26px;
}

.detail-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.booking-panel h2 span {
  color: var(--muted);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
}

.booking-panel p:not(.eyebrow) {
  color: var(--muted);
}

.amenities-section {
  padding-bottom: 74px;
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.site-footer {
  align-items: center;
  background: var(--leaf);
  border-radius: 28px 28px 0 0;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-bottom: 38px;
  padding-top: 38px;
}

.site-footer__logo {
  display: block;
  height: auto;
  margin-bottom: 28px;
  width: 260px;
}

.site-footer__phone {
  align-items: baseline;
  display: flex;
  gap: 12px;
  margin: 24px 0 0;
}

.site-footer__phone span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer__phone a {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer > .button {
  flex: 0 0 auto;
  margin-top: 0;
}

.booking-modal[aria-hidden="true"] {
  display: none;
}

.booking-modal {
  inset: 0;
  position: fixed;
  z-index: 20;
}

.booking-modal__overlay {
  background: rgba(34, 33, 29, 0.64);
  inset: 0;
  position: absolute;
}

.booking-modal__panel {
  background: var(--paper);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  display: grid;
  grid-template-rows: auto 1fr;
  height: min(840px, calc(100vh - 32px));
  left: 50%;
  max-width: 1120px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100vw - 32px));
}

.booking-modal__header {
  align-items: center;
  border-bottom: 1px solid rgba(34, 33, 29, 0.12);
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
}

.booking-modal__header h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  margin: 0;
}

.booking-modal__close {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 40px;
  padding: 0 16px;
}

#hostaway-calendar-widget {
  min-height: 560px;
  overflow: auto;
  padding: 22px;
}

.booking-modal__empty {
  align-self: center;
  justify-self: center;
  max-width: 560px;
  padding: 34px;
  text-align: center;
}

.booking-modal__empty h3 {
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  line-height: 1;
  margin: 0 0 16px;
}

.booking-modal__empty p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

.site-footer .eyebrow {
  color: #efc0a5;
}

.status-page {
  margin: 0 auto;
  max-width: 760px;
  padding: 72px 24px;
}

.status-page h1 {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  line-height: 1;
  margin: 0 0 18px;
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    margin: 0;
    padding: 14px 18px;
  }

  nav {
    gap: 12px;
  }

  nav > a:not(.nav-book-button) {
    display: none;
  }

  .brand {
    max-width: calc(100% - 150px);
  }

  .brand img {
    width: 172px;
  }

  .hero {
    display: flex;
    margin-top: 12px;
    min-height: 620px;
    padding: 70px 22px 38px;
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 4.25rem;
  }

  .hero__note {
    display: none;
  }

  .hero__content > p:not(.hero__location) {
    font-size: 1.08rem;
  }

  .intro-strip,
  .feature-story,
  .properties-header,
  .filters,
  .detail-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-strip,
  .site-footer {
    display: grid;
  }

  .site-footer > .button {
    justify-self: start;
    margin-top: 32px;
  }

  .welcome,
  .cabins,
  .homestead-promise {
    padding-left: 20px;
    padding-right: 20px;
  }

  .welcome {
    gap: 46px;
    grid-template-columns: 1fr;
    padding-bottom: 74px;
    padding-top: 74px;
  }

  .welcome__images {
    min-height: 390px;
  }

  .welcome__images img:first-child {
    height: 340px;
    width: 84%;
  }

  .welcome__images img:last-child:not(:first-child) {
    border-width: 7px;
    height: 170px;
    width: 50%;
  }

  .welcome__copy h2,
  .cabins__heading h2 {
    font-size: 2.7rem;
  }

  .cabins {
    padding-bottom: 76px;
    padding-top: 72px;
  }

  .cabins__heading,
  .cabin-grid {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .cabins__heading {
    margin-bottom: 48px;
  }

  .cabin-card:nth-child(even) {
    transform: none;
  }

  .cabin-card h2 {
    font-size: 2.25rem;
  }

  .cabin-card__footer {
    align-items: flex-start;
    gap: 16px;
  }

  .cabin-card__footer > div {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .homestead-promise {
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .homestead-promise blockquote {
    font-size: 2.3rem;
  }

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

  .gallery__item--1 {
    grid-row: auto;
  }

  dl {
    grid-template-columns: 1fr;
  }
}