:root {
  --bg: #f7f2ea;
  --surface: #fffdf9;
  --sand: #ece3d5;
  --ink: #1f2a28;
  --ink-soft: #55625f;
  --teal: #0f6e68;
  --teal-deep: #0a4a46;
  --line: #ddd2c1;
  --radius: 14px;
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --text-xs: clamp(0.78rem, 0.76rem + 0.1vw, 0.85rem);
  --text-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --text-xl: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem);
  --text-hero: clamp(2.3rem, 1.4rem + 3.8vw, 4.6rem);
  --section: clamp(4rem, 9vw, 8rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 0.6em; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--text-xs); }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--teal); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: 600 var(--text-sm)/1 var(--font-body); padding: 1rem 1.5rem; border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn-small { padding: .7rem 1.1rem; }
.btn-ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-ghost-dark { background: transparent; color: var(--teal-deep); border: 1px solid var(--teal); }
.btn-ghost-dark:hover { background: var(--teal); color: #fff; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s;
  color: #fff;
}
.site-header.scrolled { background: rgba(247,242,234,.92); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.wordmark { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; text-decoration: none; letter-spacing: -0.01em; margin: 0; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: inherit; margin-left: auto; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: slowzoom 18s var(--ease) both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,26,.55) 0%, rgba(10,28,26,0) 65%), linear-gradient(180deg, rgba(10,28,26,.55) 0%, rgba(10,28,26,.15) 35%, rgba(10,28,26,.75) 100%); }
.hero-content { position: relative; padding-top: 140px; max-width: 1200px; }
.hero h1 { font-size: var(--text-hero); max-width: 15ch; margin-bottom: .4em; }
.hero-sub { font-size: var(--text-lg); max-width: 46ch; opacity: .92; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-facts {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 0; border-top: 1px solid rgba(255,255,255,.3);
}
.hero-facts div { padding: 1.25rem 0 1.75rem; }
.hero-facts div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.2); }
.hero-facts dt { font-size: var(--text-xs); opacity: .8; }
.hero-facts dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: var(--text-lg); }

/* Sections */
.section { padding-block: var(--section); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-soft); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split-rev { grid-template-columns: .9fr 1fr; }
.split-text > p { color: var(--ink-soft); max-width: 52ch; }
.split-media { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; }
.split-media img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.m-a { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 4/3; }
.m-b { grid-column: 3 / 7; grid-row: 2; margin-top: -22%; aspect-ratio: 4/3; object-position: 50% 60%; border: 6px solid var(--bg); border-radius: calc(var(--radius) + 6px) !important; box-shadow: 0 20px 50px -20px rgba(20,40,38,.35); }
.split-media.single { display: block; }
.split-media.single img { aspect-ratio: 4/5; }

.amenities { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; }
.amenities li { display: flex; align-items: center; gap: .75rem; font-size: var(--text-sm); font-weight: 500; }
.amenities svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.tags { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { background: var(--surface); border: 1px solid var(--line); padding: .45rem .9rem; border-radius: 999px; font-size: var(--text-sm); }

/* Band */
.band { position: relative; height: clamp(320px, 62vh, 640px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,26,.6), transparent 55%); }
.band-caption { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 4vw, 3rem); z-index: 1; color: #fff; }
.band-caption p { font-family: var(--font-display); font-size: var(--text-xl); margin: 0; max-width: 20ch; line-height: 1.15; }

.kitchen { background: var(--sand); }

/* Video */
.tour { padding-bottom: 0; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: transform .6s var(--ease), filter .4s; }
.video-poster:hover img { transform: scale(1.03); filter: brightness(.6); }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.video-poster:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.play svg { width: 34px; height: 34px; fill: var(--teal); margin-left: 4px; }

/* Gallery */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.filters button { font: 500 var(--text-sm)/1 var(--font-body); padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--teal); }
.filters button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 14px; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button.hide { display: none; }

/* Neighborhood */
.neighborhood { background: var(--teal-deep); color: #eef5f3; }
.neighborhood .split-text > p { color: rgba(238,245,243,.78); }
.drives { list-style: none; padding: 0; margin: 2rem 0 0; }
.drives li { display: flex; justify-content: space-between; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.drives b { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: #0d3f3c; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* Rates */
.rate-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1.25rem; }
.rate { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.rate h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-base); margin-bottom: 1.25rem; }
.price { font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 1.5vw, 3.2rem); line-height: 1; margin: 0 0 .5rem; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.price span { font-family: var(--font-body); font-size: var(--text-sm); color: var(--ink-soft); }
.per { color: var(--ink-soft); font-size: var(--text-sm); margin: 0; }
.rate.featured { background: var(--teal); color: #fff; border-color: var(--teal); }
.rate.featured .price span, .rate.featured .per { color: rgba(255,255,255,.8); }
.policies ul { list-style: none; padding: 0; margin: 0; }
.policies li { padding: .55rem 0 .55rem 1.6rem; position: relative; font-size: var(--text-sm); border-bottom: 1px solid var(--line); }
.policies li:last-child { border-bottom: 0; }
.policies li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.reviews { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.75rem 2rem; border-radius: var(--radius); background: var(--sand); }
.reviews p { margin: 0; font-family: var(--font-display); font-size: var(--text-lg); }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact .split { align-items: start; }
.phone { display: inline-block; font-family: var(--font-display); font-size: var(--text-xl); color: var(--teal); text-decoration: none; margin: .5rem 0 2rem; }
.phone:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; max-width: 460px; }
.contact-options { display: grid; gap: 1.1rem; background: var(--bg); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); }
.contact-options h3, .contact-options p { margin: 0; }
.contact-options .btn { justify-self: start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-size: var(--text-sm); font-weight: 500; }
.form input, .form select, .form textarea {
  font: 400 var(--text-base)/1.4 var(--font-body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: .8rem .9rem; width: 100%; min-width: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,110,104,.15); }
.form .check { display: flex; align-items: center; gap: .6rem; font-weight: 400; }
.form .check input { width: 18px; height: 18px; accent-color: var(--teal); }
.form .invalid { border-color: #b4452f; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: var(--text-sm); min-height: 1.4em; }
.form-status.ok { color: var(--teal); font-weight: 500; }
.form-status.err { color: #b4452f; }

/* Footer */
.footer { background: var(--ink); color: #e8ece9; padding: 3.5rem 0 2.5rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: start; }
.footer .muted { color: rgba(232,236,233,.65); margin: .25rem 0 0; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-size: var(--text-sm); }
.footer-links a:hover { text-decoration: underline; }
.footer .small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; margin-top: 1rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,18,17,.94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 2rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .75rem; max-height: 100%; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 8px; }
.lightbox figcaption { color: rgba(255,255,255,.75); font-size: var(--text-sm); text-align: center; }
.lightbox button { background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav, .header-inner > .btn-small { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: grid; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); color: var(--ink); padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease); box-shadow: 0 10px 30px -10px rgba(0,0,0,.2); }
  .mobile-nav.open { max-height: 400px; padding: .5rem 1.25rem 1.25rem; }
  .mobile-nav a { padding: .9rem 0; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-rev .split-media { order: 2; }
  .rate-grid { grid-template-columns: 1fr 1fr; }
  .policies { grid-column: 1 / -1; }
  .map { aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); padding-top: 1rem; padding-bottom: 1.25rem; }
  .hero-facts div:nth-child(-n+2) { padding-bottom: 1rem; }
  .amenities { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery button { margin-bottom: 8px; }
  .rate-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr; padding: 4rem .5rem 5rem; }
  .lb-prev, .lb-next { position: absolute; bottom: 1.25rem; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .play { width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
