:root {
  --bg: #EDE4D6;
  --bg-alt: #F3ECE0;
  --text: #3A342C;
  --text-muted: #5C5346;
  --text-soft: #8A7F6D;
  --link: #6B5F4E;
  --border: #DFD3BF;
  --border-soft: #D6C9B2;
  --input-bg: #FFFDF8;
  --taken: #DCD0BA;
  --taken-text: #9A8F7C;
  --range: #C9BCA2;
  --dark: #3A342C;
  --cream: #F6F0E4;
  --footer-text: #B8AB93;

  --font-serif: 'Newsreader', serif;
  --font-sans: 'Jost', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--text); }

input, textarea, button, select { font: inherit; color: inherit; }

img { display: block; max-width: 100%; }

.container-x { overflow-x: hidden; }

/* Header */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.site-header .logo {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 6vw, 80px);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 525px;
  color: var(--text);
  padding: clamp(21px, 2.6vw, 34px) clamp(18px, 2.6vw, 36px);
  background: var(--bg);
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(30, 25, 18, 0.22);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--link);
}

.hero-card h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(30px, 5.1vw, 45px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 16px 0 0;
  text-wrap: balance;
}

.hero-card p {
  max-width: 52ch;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  text-wrap: pretty;
}

.btn {
  display: inline-block;
  margin-top: 26px;
  background: var(--dark);
  color: var(--cream);
  padding: 12px 32px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  border-radius: 0;
  font-family: inherit;
}

.btn:hover { background: #5C5346; color: var(--cream); }

/* About */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 80px);
  background: var(--bg);
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.about h2, .availability h2, .gallery h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.1;
  margin: 18px 0 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.stat-card {
  background: var(--bg-alt);
  border-radius: 4px;
  padding: 16px 18px;
  text-align: left;
}

.stat-card .num {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
}

.stat-card .label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 6px;
}

.about p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 24px 0 0;
  text-wrap: pretty;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-photos img {
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  object-fit: cover;
  border-radius: 2px;
}

.about-photos img:first-child { margin-top: 34px; }

/* Availability */
.availability {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 80px);
  background: var(--bg-alt);
}

.availability .heading {
  text-align: center;
}

.availability .intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 18px auto 0;
  text-wrap: pretty;
  text-align: center;
}

.enquire-block {
  display: grid;
  gap: 16px;
  max-width: 620px;
  margin: 44px auto 0;
}

.calendar-card, .details-card {
  background: var(--bg);
  border-radius: 2px;
  padding: clamp(22px, 3vw, 32px);
}

.stay-summary {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.month-nav button {
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: var(--link);
  font-size: 15px;
}

.month-nav button:hover { border-color: var(--text-soft); color: var(--text); }

.month-label {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.01em;
}

.weekdays, .days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.weekdays { margin-top: 22px; }
.days-grid { margin-top: 5px; }

.weekdays div {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-bottom: 6px;
}

.day-cell {
  border: 0;
  border-radius: 2px;
  padding: 0;
  aspect-ratio: 1;
  font-size: 14px;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--input-bg);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  color: var(--text);
  cursor: pointer;
}

.day-cell.blank { background: transparent; box-shadow: none; visibility: hidden; }
.day-cell.taken {
  background: var(--taken);
  color: var(--taken-text);
  text-decoration: line-through;
  cursor: default;
  box-shadow: none;
}
.day-cell.in-range { background: var(--range); color: var(--text); cursor: pointer; box-shadow: none; }
.day-cell.is-end { background: var(--dark); color: var(--cream); cursor: pointer; box-shadow: none; }

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.legend span.item { display: flex; align-items: center; gap: 7px; }

.swatch {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  display: block;
}

.swatch.open { background: var(--input-bg); border: 1px solid var(--border-soft); }
.swatch.taken { background: var(--taken); }
.swatch.stay { background: var(--dark); }

.details-card {
  display: grid;
  gap: 16px;
}

.details-back-row {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 14px;
}

.back-link {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-family: inherit;
}

.back-link:hover { color: var(--text); }
.back-link .arrow { font-size: 15px; line-height: 1; }

.details-summary { font-size: 15px; line-height: 1.5; color: var(--text); }

.field {
  display: grid;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.field input, .field select, .field textarea {
  border: 1px solid var(--border-soft);
  background: var(--input-bg);
  border-radius: 2px;
  padding: 13px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  outline: none;
  appearance: none;
}

.field textarea { resize: vertical; }

.submit-btn {
  background: var(--dark);
  color: var(--bg-alt);
  border: 0;
  border-radius: 2px;
  padding: 16px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.submit-btn:hover { background: #5C5346; }

.mailto-line { text-align: center; font-size: 13px; color: var(--text-soft); }

.form-note { text-align: center; font-size: 13px; color: var(--text-soft); }

[hidden] { display: none !important; }

/* CTA banner */
.cta-banner {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 6vw, 80px);
}

.cta-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 38, 28, 0.5);
}

.cta-banner h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 4.4vw, 54px);
  line-height: 1.25;
  color: var(--cream);
  margin: 0;
  max-width: 22ch;
}

/* Gallery */
.gallery {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 80px);
  background: var(--bg-alt);
}

.gallery .heading { text-align: center; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.gallery-grid figure { margin: 0; }

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 2px;
}

.gallery-grid figcaption {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 10px;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 6vw, 80px);
  background: var(--dark);
  color: var(--footer-text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Thanks / 404 pages */
.simple-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(56px, 9vw, 120px) 24px;
  gap: 16px;
}

.simple-page h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0;
}

.simple-page p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.7;
}
