:root {
  --sand: #f6f1ea;
  --sand-2: #ece3d6;
  --paper: #fffdf9;
  --ink: #2b2622;
  --muted: #6f655c;
  --line: #ddd2c3;
  --terracotta: #b5653e;
  --terracotta-dk: #96512f;
  --teal: #2e8c8a;
  --booked: #e7ddd0;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--terracotta-dk); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }
h4 { font: 500 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .6em; }
ul { padding-left: 1.1em; margin: 0; }
li { margin-bottom: .35em; }
.center { text-align: center; }
.eyebrow { font: 500 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 1rem; }

.btn { display: inline-block; font: 500 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 1.05em 2em; border: 1px solid var(--terracotta); background: var(--terracotta); color: #fff; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--terracotta-dk); border-color: var(--terracotta-dk); }
.btn-light { background: transparent; border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 4vw, 48px); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.nav.solid { background: rgba(246, 241, 234, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); }
.brand { color: inherit; text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 500 1.6rem/1 var(--serif); }
.brand-sub { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { color: inherit; text-decoration: none; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.nav nav a:hover { opacity: .7; }
.nav .nav-cta { border: 1px solid currentColor; padding: .7em 1.2em; border-radius: var(--radius); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; color: inherit; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .25s; }
.menu-btn span:first-child { top: 15px; } .menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 540px; color: #fff; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.6) 100%); }
.hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 12vh; text-align: center; padding: 0 16px; }
.hero-text .eyebrow { color: #fff; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin-bottom: 2rem; text-shadow: 0 2px 24px rgba(0,0,0,.25); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; border-bottom: 1px solid var(--line); }
.facts div { text-align: center; padding: 28px 8px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { display: block; font: 400 2.2rem/1.1 var(--serif); }
.facts span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 40px); }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 0; }
.detail { border-top: 1px solid var(--line); padding-top: 24px; }

/* Gallery */
.gallery-wrap { max-width: 1400px; }
.gallery { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 10px; }
.gallery button { padding: 0; border: 0; background: var(--sand-2); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery-more { display: block; margin: 28px auto 0; background: none !important; border: 1px solid var(--ink) !important; color: var(--ink); padding: .9em 1.8em !important; font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer !important; }

/* Rates */
.rates { padding-top: 40px; }
.rate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 28px; }
.rate { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.rate h3 { margin-bottom: .1em; }
.season { color: var(--muted); font-style: italic; margin: 0 0 1.2rem; }
.price { font: 400 2rem/1.2 var(--serif); margin: 0; }
.price span { font: 300 .85rem var(--sans); color: var(--muted); }
.price.small { font-size: 1.5rem; }
.week { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 400; }
.note { color: var(--muted); font-size: .92rem; max-width: 640px; margin: 0 auto; }

/* Booking */
.book { background: var(--paper); max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.book-head { margin-bottom: 36px; }
.book-head p:last-child { color: var(--muted); max-width: 560px; }
.book-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.cal-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cal-nav button { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-status { font-size: .82rem; color: var(--muted); text-align: center; }
.cal-status.warn { color: var(--terracotta-dk); }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal-month h4 { text-align: center; font-size: .82rem; margin: 10px 0 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { font-size: .7rem; text-align: center; color: var(--muted); padding-bottom: 6px; letter-spacing: .06em; }
.day { aspect-ratio: 1; border: 0; background: none; font: 400 .9rem/1 var(--sans); color: var(--ink); border-radius: 50%; cursor: pointer; position: relative; padding: 0; }
.day:hover:not(:disabled) { background: var(--sand-2); }
.day:disabled { cursor: default; color: #c5bbb0; }
.day.booked { color: #b0a597; text-decoration: line-through; background: var(--booked); border-radius: 0; }
.day.booked:disabled { color: #b0a597; }
.day.today { font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.day.in-range { background: #d8ecea; border-radius: 0; }
.day.sel-start, .day.sel-end { background: var(--teal); color: #fff; border-radius: 50%; }
.day.checkout-only { color: var(--ink); }
.cal-legend { display: flex; gap: 20px; justify-content: center; font-size: .78rem; color: var(--muted); margin-top: 14px; flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 2px; }
.lg-free { border: 1px solid var(--line); background: #fff; }
.lg-booked { background: var(--booked); }
.lg-sel { background: var(--teal); }

.enquiry { display: grid; gap: 14px; }
.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry label { display: grid; gap: 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.enquiry label small { text-transform: none; letter-spacing: 0; }
.enquiry input, .enquiry textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .7em .8em; width: 100%; min-width: 0; }
.enquiry input:focus, .enquiry textarea:focus { outline: 2px solid var(--teal); outline-offset: -1px; border-color: transparent; }
.enquiry .invalid { border-color: #c0392b; }
.stay-summary { margin: -4px 0 0; font-size: .92rem; min-height: 1.4em; }
.stay-summary.warn { color: #b03a2e; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-size: .95rem; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: #b03a2e; }

/* Night image */
.night { height: 62vh; min-height: 320px; }
.night img { width: 100%; height: 100%; object-fit: cover; }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.map iframe { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--radius); filter: grayscale(.35) sepia(.12); }
.getting { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 40px; }
.getting > p { max-width: 720px; color: var(--muted); }
.travel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.travel ul { list-style: none; padding: 0; }

/* Reviews */
.reviews { padding-top: 40px; }
.review-grid { columns: 3 300px; column-gap: 20px; margin-top: 40px; }
.review-grid blockquote { break-inside: avoid; margin: 0 0 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.review-grid h3 { font-size: 1.35rem; font-style: italic; }
.review-grid p { margin: 0 0 1rem; color: #4b433c; }
.review-grid cite { font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); }

/* Terms */
.terms { border-top: 1px solid var(--line); max-width: 820px; padding-top: 56px; }
.terms h2 { font-size: 1.9rem; }
.terms li { color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: #e9e1d6; display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 48px clamp(16px, 4vw, 48px); }
.footer p { margin: .3em 0 0; color: #b9ada0; font-size: .9rem; }
.footer-links { display: grid; gap: 8px; text-align: right; }
.footer a { color: #e9e1d6; text-decoration: none; font-size: .92rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .copy { grid-column: 1 / -1; font-size: .78rem; border-top: 1px solid #4a423b; padding-top: 18px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 17, 15, .96); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; margin: 0 auto; }
.lightbox figcaption { margin-top: 12px; font-size: .9rem; color: #cfc4b7; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 960px) {
  .menu-btn { display: block; z-index: 2; }
  .nav nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: var(--sand); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .nav nav a { font-size: 1rem; }
  .nav.open nav { opacity: 1; visibility: visible; }
  .nav.open { color: var(--ink); }
  .book-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .intro, .location { grid-template-columns: 1fr; }
  .details, .rate-cards, .travel { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 6px; }
  .gallery .big { grid-column: span 2; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month + .cal-month { display: none; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
  .enquiry .row { gap: 10px; }
}
