:root {
  --forest: #2f3e2f;
  --forest-deep: #1f2a20;
  --moss: #5c7a4a;
  --spring: #4f8a8b;
  --cream: #f7f2e9;
  --sand: #ece3d3;
  --bark: #6b4a32;
  --ember: #c8693a;
  --ember-dark: #a9532a;
  --ink: #2a2622;
  --muted: #6d665e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 32, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 0.6em; color: var(--forest-deep); }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--spring); }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100; background: #fff; padding: 0.5rem 1rem; border-radius: 8px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 600;
  color: var(--moss); margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--ember); color: #fff; text-decoration: none;
  font-weight: 600; padding: 0.85rem 1.6rem; border-radius: 999px; border: 2px solid var(--ember);
  cursor: pointer; font: inherit; font-weight: 600; transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--ember-dark); border-color: var(--ember-dark); transform: translateY(-1px); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.8); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost-dark:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { background: rgba(31, 42, 32, 0.96); box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: rgba(255,255,255,0.88); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform 0.3s, opacity 0.3s; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden; padding-top: 72px;
}
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,22,0.75) 0%, rgba(20,28,22,0.25) 65%, transparent 100%); }
.hero-content { padding: 4rem 0 2rem; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #e9c9a0; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.quick-facts {
  display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; padding: 0; margin: 1rem auto 3rem;
}
.quick-facts li {
  display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.2); padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.92rem;
}
.quick-facts strong { font-family: var(--serif); font-size: 1.1rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--forest); color: rgba(255,255,255,0.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #a9c79a; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: 0.6rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

.photo-frame { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.amenities { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.amenities .card { transition: transform 0.25s; }
.amenities .card:hover { transform: translateY(-4px); }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.icon { font-size: 1.8rem; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; background: var(--cream); border-radius: 12px; margin-bottom: 1rem; }

.area { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.area article { border-top: 2px solid rgba(255,255,255,0.2); padding-top: 1.25rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.gallery-item { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(15, 20, 16, 0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1100px, 86vw); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 1rem; font-family: var(--serif); font-size: 1.1rem; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 0; cursor: pointer;
  width: 3rem; height: 3rem; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-nav.prev { left: 1.25rem; }
.lightbox-nav.next { right: 1.25rem; }

/* Rates + form */
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.rate { background: var(--sand); border-radius: var(--radius); padding: 1.1rem; text-align: center; }
.rate span { display: block; font-size: 0.85rem; color: var(--muted); }
.rate strong { font-family: var(--serif); font-size: 1.6rem; color: var(--forest); }
.rate small { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); font-weight: 400; }

.book-form { display: flex; flex-direction: column; gap: 1rem; }
.book-form h3 { margin-bottom: 0.25rem; }
.book-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; font-weight: 500; color: var(--forest-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.book-form input, .book-form select, .book-form textarea {
  font: inherit; font-size: 0.95rem; padding: 0.7rem 0.85rem; border: 1px solid #d9d0c1; border-radius: 10px; background: #fdfbf7; color: var(--ink);
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: 2px solid var(--spring); outline-offset: 1px; border-color: transparent; }
.book-form .muted { margin: 0; text-align: center; }
.estimate { margin: 0; font-weight: 600; color: var(--forest); }
.estimate:empty, .form-error:empty { display: none; }
.form-error { margin: 0; color: #b23b2b; font-size: 0.9rem; }

/* FAQ */
details { background: #fff; border-radius: 12px; margin-bottom: 0.75rem; box-shadow: 0 2px 10px rgba(31,42,32,0.06); }
summary { cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--moss); transition: transform 0.25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* Contact */
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }

/* Footer */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,0.7); padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner p { margin: 0; color: rgba(255,255,255,0.6); }
.site-footer a { color: rgba(255,255,255,0.8); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--forest-deep); padding: 0.5rem 1.25rem 1.25rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links .btn { margin-top: 1rem; text-align: center; width: 100%; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .site-header:has(.nav-links.open) { background: var(--forest-deep); }
  .hero-art::after { background: linear-gradient(180deg, rgba(20,28,22,0.55) 0%, rgba(20,28,22,0.75) 100%); }
  .rates { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .lightbox-nav { top: auto; bottom: 1.25rem; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.tall { grid-row: auto; }
  .gallery-item.wide { grid-column: auto; }
}
