:root {
  --ink: #16211b;
  --forest: #10281c;
  --header: #07110d;
  --palm: #1c7a4a;
  --palm-deep: #145c38;
  --cream: #f3eee4;
  --paper: #faf7f2;
  --sand: #e6d9c6;
  --clay: #8d4e32;
  --ivory: #f6f1e7;
  --muted: #5d675f;
  --line: rgba(22, 33, 27, 0.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header-h: 88px;
  --space: clamp(3.5rem, 8vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: var(--palm-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--palm);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 40;
}

.skip:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.4rem 4vw;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 72px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--forest);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--palm);
}

.site-nav a.nav-cta {
  border: 1px solid var(--palm);
  color: var(--palm-deep);
  padding: 0.55rem 0.9rem;
}

.nav-cta:hover {
  background: var(--palm);
  border-color: var(--palm);
  color: var(--ivory) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--palm);
  padding: 0.45rem 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(7, 17, 13, 0.15) 0%, rgba(7, 17, 13, 0.2) 40%, rgba(7, 17, 13, 0.82) 100%),
    url("../assets/images/garden-pavilion.jpg") center 40% / cover no-repeat;
}

.hero-copy,
.wrap,
.page-hero-inner {
  width: min(1120px, calc(100% - 8vw));
  margin-inline: auto;
}

.hero-copy {
  padding: 4.5rem 0 4rem;
}

.eyebrow,
.section-label {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9e6d4;
}

.section-label {
  color: var(--palm-deep);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  max-width: 12ch;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
}

.lede,
.intro p,
.prose p {
  max-width: 42rem;
}

.lede {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(246, 241, 231, 0.92);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-solid {
  background: var(--palm);
  color: var(--ivory);
}

.btn-solid:hover {
  background: var(--palm-deep);
  color: var(--ivory);
}

.btn-ghost {
  border-color: rgba(246, 241, 231, 0.7);
  color: var(--ivory);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(246, 241, 231, 0.12);
  color: var(--ivory);
}

.btn-ink {
  background: var(--forest);
  color: var(--ivory);
}

.btn-ink:hover {
  background: #0a1c14;
  color: var(--ivory);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--forest);
  color: var(--ivory);
}

.facts div {
  padding: 1.3rem 1.2rem;
  border-right: 1px solid rgba(246, 241, 231, 0.12);
}

.facts div:last-child {
  border-right: 0;
}

.facts span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7d7c4;
}

.facts strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.section {
  padding: var(--space) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.tile-section {
  background:
    linear-gradient(180deg, rgba(243, 238, 228, 0.92), rgba(243, 238, 228, 0.94)),
    url("../assets/decor/tile.svg");
}

.card-grid,
.amenity-grid,
.split,
.contact-layout,
.stay-grid {
  display: grid;
  gap: 1.2rem;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.amenity,
.stay-card,
.film-card,
.detail-card {
  background: #fff;
  border: 1px solid var(--line);
}

.card > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.card-body,
.amenity,
.stay-card div,
.film-card figcaption,
.detail-card {
  padding: 1.1rem 1.15rem 1.3rem;
}

.card p,
.stay-card p,
.amenity p,
.detail-card p {
  margin: 0;
  color: var(--muted);
}

.card a,
.stay-card a {
  display: inline-block;
  margin-top: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.split {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split > img,
.frame > img {
  width: 100%;
  height: min(520px, 70vw);
  object-fit: cover;
}

.portrait-frame img,
.portrait-frame video {
  height: min(640px, 88vw);
  width: 100%;
  object-fit: cover;
  background: #111;
}

.palm-mark {
  width: 42px;
  height: auto;
  margin-bottom: 0.8rem;
}

.page-hero {
  background:
    linear-gradient(100deg, rgba(7, 17, 13, 0.78), rgba(7, 17, 13, 0.35)),
    var(--hero) center / cover no-repeat;
  color: var(--ivory);
  min-height: 42vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.page-hero-inner {
  padding: 4.5rem 0 2.8rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 14ch;
}

.page-hero p {
  max-width: 36rem;
  color: rgba(246, 241, 231, 0.9);
}

.about-hero { --hero: url("../assets/images/entrance-walkway.jpg"); }
.rooms-hero { --hero: url("../assets/images/lobby-lounge.jpg"); }
.gallery-hero { --hero: url("../assets/images/garden-pavilion.jpg"); }
.contact-hero { --hero: url("../assets/images/entrance-dusk.jpg"); }

.prose p + p {
  margin-top: 1rem;
}

.amenity-grid {
  grid-template-columns: repeat(3, 1fr);
}

.amenity h3 {
  font-size: 1.55rem;
}

.stay-grid {
  grid-template-columns: 1fr;
  gap: 3rem;
}

.stay-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0;
  overflow: hidden;
}

.stay-card video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #111;
}

.stay-card div {
  padding: 1.6rem 1.5rem 1.8rem;
  align-self: center;
}

.gallery-grid {
  columns: 3 240px;
  column-gap: 1rem;
}

.shot {
  margin: 0 0 1rem;
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--line);
}

.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 0.75rem 0.9rem 0.95rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.film-card video {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  background: #111;
}

.film-card figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  background: rgba(7, 17, 13, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  max-width: min(1100px, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ivory);
  color: var(--ink);
  border: 0;
  padding: 0.55rem 0.8rem;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
}

.contact-layout {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

form {
  display: grid;
  gap: 0.95rem;
  padding: 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--sand);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.75rem 0.8rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--palm);
  outline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.95rem;
}

.form-status.is-error {
  color: var(--clay);
}

.form-status.is-success {
  padding: 0.9rem 1rem;
  background: #e7f4ec;
  color: var(--forest);
}

.detail-card h2 {
  font-size: 2.2rem;
}

.detail-card a[data-booking-email] {
  font-size: 1.15rem;
}

.map-frame {
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: #ddd;
  min-height: 240px;
}

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.band {
  background: var(--forest);
  color: var(--ivory);
}

.band .section-label,
.band p {
  color: #d5e7db;
}

.band h2 {
  max-width: 16ch;
}

.site-footer {
  position: relative;
  background: var(--header);
  color: rgba(246, 241, 231, 0.82);
  padding: 2.5rem 0 1.4rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -47px;
  height: 48px;
  background: url("../assets/decor/wave.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer img {
  height: 84px;
  width: auto;
}

.site-footer .section-label {
  color: #b7d7c4;
}

.site-footer a {
  color: var(--ivory);
  text-decoration: none;
}

.site-footer a:hover {
  color: #b7e0c8;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.legal {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 241, 231, 0.1);
  font-size: 0.85rem;
  color: rgba(246, 241, 231, 0.62);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    padding: 0.4rem 0 0.8rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 6vw;
  }

  .nav-cta {
    margin: 0.4rem 6vw 0;
    text-align: center;
  }

  .facts,
  .card-grid,
  .amenity-grid,
  .section-head,
  .split,
  .split.reverse,
  .contact-layout,
  .stay-card,
  .footer-grid,
  .field-row,
  .film-grid {
    grid-template-columns: 1fr;
  }

  .facts div {
    border-right: 0;
    border-bottom: 1px solid rgba(246, 241, 231, 0.12);
  }

  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stay-card video {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .film-grid {
    grid-template-columns: 1fr;
  }

  h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3.3rem);
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
