:root {
  --green: #1d3a2f;
  --green-2: #2c5242;
  --green-ink: #12261e;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --gold: #c9a35b;
  --gold-2: #b38b40;
  --terra: #b5533c;
  --ink: #1f2420;
  --muted: #5f675f;
  --line: rgba(29, 58, 47, .14);
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(18, 38, 30, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", 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(--paper); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--cream { background: var(--cream); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section__head--light p:last-child { color: rgba(255,255,255,.75); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.eyebrow--dark { color: var(--gold-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 .95rem var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--gold { background: var(--gold); color: var(--green-ink); box-shadow: 0 10px 24px -12px rgba(201,163,91,.9); }
.btn--gold:hover { background: #d6b26c; }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--green { background: var(--green); color: #fff; margin-top: 8px; }
.btn--green:hover { background: var(--green-2); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; color: #fff; }
.nav.is-solid { background: rgba(18, 38, 30, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -14px rgba(0,0,0,.5); }
.nav__inner { width: min(1240px, 100% - 32px); margin: auto; display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); }
.brand__text { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.brand__text small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .92rem; opacity: .88; }
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 6px auto; transition: transform .25s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu { background: var(--green-ink); padding: 8px 16px 24px; display: grid; gap: 4px; }
.mobile-menu a { padding: 12px 4px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .btn { margin-top: 12px; border: 0; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,24,18,.55) 0%, rgba(10,24,18,0) 60%), linear-gradient(180deg, rgba(10,24,18,.55) 0%, rgba(10,24,18,.15) 35%, rgba(10,24,18,.8) 100%); }
.hero__content { position: relative; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 140px 0 64px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); max-width: 12ch; margin-bottom: .25em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 600px; color: rgba(255,255,255,.9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero__facts { list-style: none; padding: 22px 0 0; margin: 0; display: flex; gap: clamp(24px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.25); max-width: 640px; }
.hero__facts strong { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.hero__facts span { font-size: .82rem; opacity: .85; }

/* Promise */
.promise__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.promise__text { font-size: 1.1rem; color: var(--muted); }

/* Stay */
.stay { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.stay__card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stay__card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.stay__body { padding: 26px 28px 30px; }
.stay__cap { color: var(--gold-2); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--gold-2); border-bottom: 2px solid var(--gold-2); transform: rotate(-45deg); }

/* 3D grounds */
.grounds { background: radial-gradient(120% 80% at 70% 30%, #2d5646 0%, var(--green) 50%, var(--green-ink) 100%); color: #fff; overflow: hidden; }
.grounds__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.grounds__copy p { color: rgba(255,255,255,.78); }
.grounds__legend { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.grounds__legend li { display: flex; align-items: center; gap: 12px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.dot--pool { background: #49b6d6; } .dot--house { background: #e8d9bf; } .dot--kubo { background: #c9a35b; } .dot--fire { background: #f08a3c; } .dot--hall { background: #b5533c; }
.grounds__stage { position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; cursor: grab; touch-action: pan-y; }
.grounds__stage:active { cursor: grabbing; }
.grounds__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.grounds__fallback { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.grounds__stage.is-3d .grounds__fallback { display: none; }

/* Amenities */
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amenities li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .25s, box-shadow .25s; }
.amenities li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.amenities svg { width: 34px; height: 34px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.amenities h3 { font-size: 1.3rem; margin-bottom: .3em; }
.amenities p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Events */
.events__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.events__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.events__copy > p { color: var(--muted); font-size: 1.06rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.gallery button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; grid-row: span 2; background: var(--line); }
.gallery button.wide { grid-row: span 1; grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery button:hover img { transform: scale(1.05); }

/* Booking */
.booking { background: var(--green-ink); color: #fff; }
.booking__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: start; }
.cal, .req { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__title { margin: 0; font-size: 1.5rem; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.month__name { font: 600 .82rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; text-align: center; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.month__dow { font-size: .7rem; text-align: center; color: var(--muted); padding: 4px 0; font-weight: 600; }
.day { aspect-ratio: 1; border: 0; border-radius: 8px; background: #eef3ef; font: 500 .88rem var(--sans); color: var(--green-ink); cursor: pointer; position: relative; transition: background .15s; }
.day:hover:not(:disabled) { background: #d6e6db; }
.day:disabled { cursor: not-allowed; }
.day--past { background: transparent; color: #b9bdb9; }
.day--booked { background: repeating-linear-gradient(135deg, #f2dcd6 0 4px, #ead0c9 4px 8px); color: #a35a49; text-decoration: line-through; }
.day--held { background: #f7ead0; color: #8a6a2a; }
.day--range { background: #e8d4a8; border-radius: 0; }
.month__grid .day.day--start, .month__grid .day.day--end { background: var(--gold); color: var(--green-ink); font-weight: 700; }
.day--today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.day--empty { visibility: hidden; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: .82rem; color: var(--muted); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg--free { background: #eef3ef; border: 1px solid #cfdcd3; } .lg--held { background: #f7ead0; } .lg--booked { background: #ead0c9; } .lg--sel { background: var(--gold); }
.cal__updated { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }

.req h3 { margin-bottom: 14px; }
.req__type { border: 0; padding: 0; margin: 0 0 16px; display: flex; gap: 8px; }
.req__type legend { font-size: .8rem; color: var(--muted); margin-bottom: 6px; padding: 0; }
.req__type label { flex: 1; }
.req__type input { position: absolute; opacity: 0; }
.req__type span { display: block; text-align: center; padding: 9px 6px; border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; cursor: pointer; }
.req__type input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.req__type input:focus-visible + span { outline: 3px solid var(--gold); }
.req__dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.req__dates > div { padding: 10px 14px; }
.req__dates > div + div { border-left: 1px solid var(--line); }
.req__lbl { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.req__dates output { font-weight: 600; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #cfd6d0; border-radius: 10px; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--gold-2); outline: none; box-shadow: 0 0 0 3px rgba(201,163,91,.25); }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.req__send { display: grid; gap: 8px; }
.req__send .btn--ghost { color: var(--green); border-color: var(--line); background: transparent; }
.req__err { color: var(--terra); font-size: .88rem; min-height: 1.2em; margin: 0 0 6px; }
.req__note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* Location */
.loc { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.loc address { font-style: normal; font-size: 1.15rem; margin-bottom: 18px; }
.loc__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.loc__map iframe { width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; color: var(--gold-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Final */
.final { position: relative; color: #fff; text-align: center; padding: clamp(90px, 12vw, 160px) 16px; overflow: hidden; }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ""; position: absolute; inset: 0; background: rgba(10,24,18,.68); z-index: 1; }
.final__inner { position: relative; z-index: 2; }
.final p { font-size: 1.15rem; opacity: .9; }
.final .hero__ctas { justify-content: center; margin-bottom: 0; }

/* Footer */
.footer { background: var(--green-ink); color: rgba(255,255,255,.75); padding: 56px 0 90px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.footer__h { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--gold); margin-bottom: 8px; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--gold); }
.footer__copy { text-align: center; margin: 40px 0 0; font-size: .8rem; opacity: .6; }

/* Action bar (mobile) */
.actionbar { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8,16,12,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; border-radius: 8px; }
.lightbox__close, .lightbox__nav { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; } .lightbox__next { right: 16px; top: 50%; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--green-ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: .92rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 80; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .booking__grid, .grounds__grid, .events__grid, .loc, .promise__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 640px) {
  .stay { grid-template-columns: 1fr; }
  .cal__months { grid-template-columns: 1fr; }
  .cal__months .month:nth-child(2) { display: none; }
  .cal, .req { padding: 18px; }
  .amenities li { padding: 20px 16px; }
  .amenities h3 { font-size: 1.15rem; }
  .hero__facts strong { font-size: 1.7rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 170px; gap: 8px; }
  .gallery button, .gallery button.wide { grid-row: span 1; grid-column: span 1; }
  .grounds__stage { aspect-ratio: 1 / 1; }
  .actionbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(18,38,30,.97); backdrop-filter: blur(8px); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .actionbar a { color: #fff; text-decoration: none; text-align: center; padding: 11px 4px; font-weight: 600; font-size: .9rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); }
  .actionbar .actionbar__main { background: var(--gold); color: var(--green-ink); border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
