@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Public+Sans:wght@400;500;600&display=swap');

:root {
  --forest-ink: #16261F;
  --parchment: #EFE6D6;
  --parchment-deep: #E4D8C2;
  --cedar: #9C6B3E;
  --cedar-deep: #7A5230;
  --night-indigo: #2B3358;
  --night-indigo-deep: #1E2440;
  --ember: #C1592E;
  --moss: #4B6355;
  --ink: #201C16;
  --paper: #FAF7F0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Public Sans', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Nav */
nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  max-width: 1120px;
  margin: 0 auto;
}

nav.site-nav .brand {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
}

nav.site-nav .links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
}

nav.site-nav .links a:hover { color: var(--cedar); }

/* Hero */
.hero {
  background: var(--forest-ink);
  color: var(--paper);
  padding: 90px 32px 110px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: end;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  max-width: 11ch;
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 42ch;
  margin-top: 20px;
  color: #D9D2C1;
}

.hero-stats {
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 28px;
  font-size: 0.95rem;
  color: #C7C0AE;
}

.hero-stats strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--paper);
  margin-bottom: 4px;
}

/* The Guesty widget's own markup uses <section> tags internally (including a
   nested section for the date picker) — our global `section { padding }` rule
   above leaks into it and stretches/misaligns its pieces. Zero it out here. */
#search-widget_IO312PWQ section {
  padding: 0;
}

/* Search widget wrapper */
.search-panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  padding: 24px 28px;
  margin-top: -56px;
  position: relative;
  z-index: 5;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.search-panel .label {
  font-size: 0.8rem;
  text-transform: none;
  color: var(--moss);
  margin-bottom: 10px;
  font-weight: 600;
}

/* Section headers */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 44px;
  border-bottom: 1px solid #DDD3BE;
  padding-bottom: 20px;
}

.section-head h2 { font-size: 2rem; }
.section-head .tag { font-size: 0.95rem; color: var(--moss); }

section { padding: 80px 0; }
section.tinted { background: var(--parchment); }

/* Cabin rows (alternating) */
.cabin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid #DDD3BE;
}

.cabin-row:last-child { border-bottom: none; }

.cabin-row.reverse .photo { order: 2; }
.cabin-row.reverse .copy { order: 1; }

.photo-placeholder {
  aspect-ratio: 4/3;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

img.photo-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.copy .kicker {
  font-size: 0.85rem;
  color: var(--cedar);
  font-weight: 600;
  margin-bottom: 10px;
}

.copy.romantic .kicker { color: var(--night-indigo); }

.copy h3 { font-size: 1.7rem; margin-bottom: 12px; }
.copy .specs { color: #6B6154; font-size: 0.9rem; margin: 14px 0 18px; }
.copy p.desc { max-width: 46ch; color: #4A4438; }

.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 22px;
  background: var(--ember);
  color: var(--paper);
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn:hover { background: var(--cedar-deep); }

.btn.outline {
  background: transparent;
  border: 1px solid var(--paper);
  color: var(--paper);
}

/* Footer */
footer {
  background: var(--forest-ink);
  color: #A9A18E;
  padding: 56px 32px 40px;
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

footer .brand { font-family: 'Fraunces', serif; color: var(--paper); font-size: 1.2rem; }

/* Cabin detail page */
.cabin-hero {
  padding: 60px 32px 40px;
}

.cabin-hero .kicker {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cabin-hero.family .kicker { color: var(--cedar); }
.cabin-hero.romantic .kicker { color: var(--night-indigo); }

.cabin-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); max-width: 16ch; }

.gallery-placeholder {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin: 32px 0;
}

.gallery-placeholder .photo-placeholder.tall { aspect-ratio: auto; height: 100%; min-height: 420px; }
.gallery-placeholder .stack { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.gallery-placeholder .photo-placeholder.short { aspect-ratio: auto; height: 100%; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
}

.amenity-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.amenity-list li {
  font-size: 0.95rem;
  color: #4A4438;
  padding-left: 18px;
  position: relative;
}

.amenity-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--cedar);
}

.book-card {
  background: var(--parchment);
  border-radius: 4px;
  padding: 28px;
  align-self: start;
  position: sticky;
  top: 24px;
}

.book-card .price { font-family: 'Fraunces', serif; font-size: 1.8rem; margin-bottom: 4px; }
.book-card .price span { font-size: 0.95rem; font-family: 'Public Sans', sans-serif; color: #6B6154; font-weight: 400; }

@media (max-width: 860px) {
  .hero .wrap, .cabin-row, .cabin-row.reverse, .detail-grid, .gallery-placeholder, footer .wrap {
    grid-template-columns: 1fr;
    display: block;
  }
  .cabin-row.reverse .photo, .cabin-row.reverse .copy { order: initial; }
  .hero-stats { border-left: none; padding-left: 0; margin-top: 24px; }
  .amenity-list { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  footer .wrap > div { margin-bottom: 24px; }
}
