:root {
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --ink: #1f241f;
  --muted: #5d655d;
  --green: #2f4a3a;
  --green-2: #3f6150;
  --ochre: #b9893f;
  --line: #e2dacb;
  --taken: #d9d3c6;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4vw, 46px); max-width: 18ch; }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 600; color: var(--ochre); margin-bottom: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(246, 241, 231, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--green); text-decoration: none; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 15px 28px; font: 600 16px var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--green-2); }
.btn:disabled { background: #9aa59c; cursor: not-allowed; }
.btn-small { padding: 10px 20px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); margin: 28px auto 0; display: flex; }
.btn-ghost:hover { background: var(--green); color: #fff; }

/* hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(15,25,18,.72) 100%); }
.hero-copy { position: relative; padding: 0 clamp(16px, 6vw, 80px) clamp(40px, 8vh, 88px); max-width: 900px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); }
.hero .eyebrow { color: #f1d9a8; }
.lede { font-size: clamp(18px, 2vw, 21px); max-width: 38ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.hero .btn { background: #fff; color: var(--green); }
.hero .btn:hover { background: var(--cream); }
.rating { font-size: 15px; font-weight: 500; }
.rating span { color: #f1c76b; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--green); color: #fff; }
.facts div { padding: 26px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font: 500 30px var(--serif); }
.facts span { font-size: 13.5px; opacity: .85; }

/* sections */
.section { padding: clamp(64px, 10vw, 120px) clamp(16px, 6vw, 80px); max-width: 1280px; margin: 0 auto; }
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro-text p { color: var(--muted); max-width: 52ch; }
.callout { border-left: 3px solid var(--ochre); padding-left: 16px; color: var(--ink) !important; }
.intro-images { position: relative; padding-bottom: 18%; }
.intro-images img { border-radius: var(--radius); }
.intro-images img:first-child { width: 86%; aspect-ratio: 4/3; object-fit: cover; }
.intro-images img:last-child { position: absolute; width: 50%; right: 0; bottom: 0; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--cream); }

.space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.space { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.space img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.space-body { padding: 28px; }
.space-body p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 7px 0 7px 26px; border-top: 1px solid var(--line); position: relative; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 9px; height: 5px; border-left: 2px solid var(--ochre); border-bottom: 2px solid var(--ochre); transform: rotate(-45deg); }
.note { margin-top: 24px; font-size: 15px; color: var(--muted); background: #efe6d3; padding: 14px 18px; border-radius: 10px; }

.band { position: relative; height: clamp(360px, 60vh, 620px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band-copy { position: absolute; inset: auto 0 0 0; padding: 40px clamp(16px, 6vw, 80px); background: linear-gradient(transparent, rgba(10,20,14,.65)); color: #fff; }
.band h2 { max-width: 22ch; margin: 0; }

.wide { max-width: 60ch; color: var(--muted); }
.farm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.farm-grid figure { margin: 0; }
.farm-grid img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); width: 100%; }
.farm-grid figcaption { font-size: 14.5px; margin-top: 10px; color: var(--muted); }

.amenities { border-top: 1px solid var(--line); }
.amenity-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.amenity-cols h3 { font-size: 20px; color: var(--green); }
.amenity-cols ul { list-style: none; margin: 0; padding: 0; }
.amenity-cols li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }

.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.distances { list-style: none; padding: 0; margin: 0 0 22px; }
.distances li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.distances li span:last-child { color: var(--muted); }
.location > div > p { color: var(--muted); font-size: 15.5px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; margin-top: 28px; }
.gallery-grid button { padding: 0; border: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden; background: var(--taken); }
.gallery-grid button:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid button:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(12,16,13,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-count { position: absolute; bottom: 18px; color: #fff; font-size: 14px; opacity: .8; }

/* booking */
.book { background: var(--paper); max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-head, .book-grid { max-width: 1120px; margin: 0 auto; }
.book-head p:last-child { color: var(--muted); max-width: 56ch; }
.book-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin-top: 32px; align-items: start; }
.calendar-card, .book-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 40px -24px rgba(47,74,58,.35); }
.cal-nav { display: flex; justify-content: space-between; margin-bottom: -34px; position: relative; z-index: 1; pointer-events: none; }
.cal-nav button { pointer-events: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal-month h4 { text-align: center; font: 500 18px var(--serif); margin: 6px 0 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: 11.5px; text-align: center; color: var(--muted); padding-bottom: 6px; font-weight: 600; }
.cal-day { aspect-ratio: 1; border: 0; background: none; font: 500 14.5px var(--sans); border-radius: 50%; cursor: pointer; color: var(--ink); position: relative; }
.cal-day:hover:not(:disabled) { outline: 1.5px solid var(--ink); }
.cal-day:disabled { color: #b9b4a9; cursor: default; }
.cal-day.taken { text-decoration: line-through; color: #b2ab9d; }
.cal-day.in-range { background: #e5ede7; border-radius: 0; }
.cal-day.start, .cal-day.end { background: var(--green); color: #fff; border-radius: 50%; }
.cal-day.checkout-only::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ochre); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: -10px; vertical-align: middle; }
.lg-free { border: 1.5px solid var(--ink); }
.lg-taken { background: var(--taken); }
.lg-sel { background: var(--green); }
.cal-loading { padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }

.dates-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 16px; }
.dates-row div { padding: 10px 14px; }
.dates-row div + div { border-left: 1px solid var(--line); }
.dates-row label, .guests label, .field { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dates-row output { display: block; font-size: 16px; color: var(--ink); font-weight: 500; margin-top: 2px; }
.guests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
input, textarea { width: 100%; font: 400 16px var(--sans); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-top: 5px; background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: -1px; border-color: transparent; }
.field { margin-bottom: 12px; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.quote { background: var(--cream); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-size: 15px; }
.quote div { display: flex; justify-content: space-between; padding: 3px 0; }
.quote .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 9px; font-weight: 600; font-size: 17px; }
.form-msg { color: #a33a2a; font-size: 14.5px; min-height: 1em; margin: 4px 0 10px; }
.form-msg.ok { color: var(--green); }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; text-align: center; }

.rules { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.rules dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; }
.rules dt, .rules dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.rules dt { font-weight: 600; }
.rules dd { color: var(--muted); }

.footer { background: var(--green); color: #e6ece7; text-align: center; padding: 56px 16px; }
.footer .brand { color: #fff; margin-bottom: 6px; }
.footer .fine { color: #b8c6bc; }

/* simple pages */
.page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.page-card { max-width: 560px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div:nth-child(3) { border-right: 0; }
  .facts div:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .intro, .location, .rules, .book-grid { grid-template-columns: 1fr; }
  .space-grid { grid-template-columns: 1fr; }
  .farm-grid { grid-template-columns: 1fr 1fr; }
  .amenity-cols { grid-template-columns: 1fr; gap: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month:nth-child(2) { display: none; }
  .guests { grid-template-columns: 1fr 1fr; }
  .rules dl { grid-template-columns: 1fr; }
  .rules dt { border-bottom: 0; padding-bottom: 0; }
  .calendar-card, .book-card { padding: 18px; }
}
