/* Berry Vista v2 — styled after the Wandering Escapes aesthetic:
   warm taupe/brown palette, light extended-grotesk headings, airy light body copy, pill buttons. */

:root {
  --taupe: #8c8070;
  --taupe-dark: #6a5e4f;
  --brown: #3d2b1f;
  --sand: #e2d8ca;
  --sand-light: #f3eee6;
  --grey: #f5f5f5;
  --ink: #1f1a16;
  --white: #ffffff;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--taupe-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul { padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 300;
  font-variation-settings: "wdth" 118;
  letter-spacing: 0.005em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--taupe);
  text-transform: capitalize;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); color: var(--white); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--taupe-dark); }
h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-dark); margin-bottom: 0.9em; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--head);
  font-variation-settings: "wdth" 125;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 1.2em;
}
.eyebrow.light { color: var(--sand); }
.lead { font-size: 1.2rem; line-height: 1.6; }
.tagline { font-family: var(--head); font-variation-settings: "wdth" 110; color: var(--taupe-dark); font-size: 1.05rem; margin: 1.6em 0 2em; }
.small { font-size: 0.85rem; color: #6b6259; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section.dark { background: var(--brown); color: var(--sand-light); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: #e9e1d6; }
.section.sand { background: var(--sand-light); }
.section.light { background: var(--grey); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-dark { background: var(--brown); color: #fff; }
.btn-dark:hover { background: #2b1d14; }
.btn-light { background: #fff; color: var(--brown); }
.btn-light:hover { background: var(--sand); }
.btn-taupe { background: var(--taupe); color: #fff; }
.btn-taupe:hover { background: var(--taupe-dark); }
.btn-header { padding: 12px 26px; font-size: 0.85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px 28px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(140,128,112,0.12);
}
.site-header .btn-header { justify-self: end; }
.menu-btn {
  justify-self: start; width: 40px; height: 32px; background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 4px;
}
.menu-btn span { display: block; height: 1.5px; width: 26px; background: var(--brown); transition: transform .25s, opacity .25s; }
.brand { display: flex; align-items: center; justify-content: center; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand img { width: 196px; height: auto; }

/* Off-canvas nav */
.site-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); z-index: 70;
  background: var(--white); padding: 90px 40px 40px;
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
}
.site-nav.open { transform: none; }
.site-nav ul { list-style: none; padding: 0; margin: 0; }
.site-nav li a {
  display: block; font-family: var(--head); font-variation-settings: "wdth" 115; font-weight: 300;
  font-size: 1.35rem; color: var(--brown); padding: 10px 0; border-bottom: 1px solid var(--sand);
}
.nav-close { position: absolute; top: 18px; right: 22px; font-size: 2rem; background: none; border: 0; color: var(--taupe); cursor: pointer; line-height: 1; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(61,43,31,0.45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; }
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* Hero */
.hero { position: relative; height: min(92vh, 860px); min-height: 520px; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(30,20,12,0.25), rgba(30,20,12,0.15) 50%, rgba(30,20,12,0.55)); }
.hero-inner { position: relative; z-index: 2; padding: 0 24px; max-width: 820px; }
.hero .eyebrow { color: #fff; opacity: 0.9; }
.hero-sub { font-size: 1.15rem; font-weight: 300; max-width: 560px; margin: 0 auto 2em; opacity: 0.95; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,0.8); border-radius: 14px; }
.hero-scroll span { position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(14px); opacity: 0 } 100% { opacity: 0 } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); width: min(100% - 48px, 1000px); margin: 0 auto; padding: 36px 0; border-bottom: 1px solid var(--sand); }
.stat { text-align: center; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.stat-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe-dark); line-height: 1.3; }
.stat-value { font-family: var(--head); font-variation-settings: "wdth" 115; font-size: 1.9rem; font-weight: 300; color: var(--brown); }

/* Features */
.features { padding-bottom: clamp(60px, 7vw, 110px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature img { aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 18px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.feature p { font-size: 0.95rem; color: #4d4540; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.stack { position: relative; margin: 0; padding-bottom: 60px; padding-right: 60px; }
.stack > img:first-child { aspect-ratio: 4/3; }
.split-media .stack-overlay { position: absolute; right: 0; bottom: 0; width: 55%; height: auto; aspect-ratio: 4/3; border: 8px solid var(--brown); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.new-list { list-style: none; padding: 0; margin: 1.5em 0 0; }
.new-list li { padding: 14px 0 14px 32px; border-top: 1px solid rgba(226,216,202,0.25); position: relative; color: #e9e1d6; }
.new-list li:last-child { border-bottom: 1px solid rgba(226,216,202,0.25); }
.new-list li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--sand); }
.new-list strong { font-weight: 500; color: #fff; }

/* Spaces */
.space { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 6vw, 90px); }
.space.reverse .space-media { order: 2; }
.space-media img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.space-text h3 { margin-bottom: 0.7em; }

/* Beds */
.beds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.bed { background: #fff; }
.bed img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.bed-text { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.bed-num { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe-dark); }
.bed-text strong { font-family: var(--head); font-variation-settings: "wdth" 112; font-weight: 300; font-size: 1.3rem; color: var(--brown); }
.bed-text span:last-child { font-size: 0.9rem; color: #6b6259; }

/* Amenities */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; margin-top: 30px; }
.amenity-group h3 { font-size: 1.05rem; padding-bottom: 10px; border-bottom: 1px solid var(--sand); margin-bottom: 14px; }
.amenity-group ul { list-style: none; padding: 0; margin: 0; }
.amenity-group li { padding: 6px 0 6px 22px; position: relative; font-size: 0.98rem; }
.amenity-group li::before { content: "✓"; position: absolute; left: 0; color: var(--taupe-dark); font-size: 0.85rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; margin-top: 40px; }
.gallery-grid a { overflow: hidden; display: block; background: var(--sand); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* Location */
.drive-times { width: 100%; border-collapse: collapse; margin: 1.5em 0 1em; font-size: 0.98rem; }
.drive-times td { padding: 10px 0; border-bottom: 1px solid var(--sand); }
.drive-times td:last-child { text-align: right; color: var(--taupe-dark); }
.map { aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.7); }

/* Reviews */
.ratings { display: flex; justify-content: center; gap: clamp(24px, 6vw, 90px); margin: 10px 0 56px; flex-wrap: wrap; }
.rating { text-align: center; }
.rating-score { display: block; font-family: var(--head); font-variation-settings: "wdth" 115; font-size: 2.6rem; font-weight: 200; color: #fff; }
.rating-src { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); }
.carousel { max-width: 860px; margin: 0 auto; overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s ease; }
.review { flex: 0 0 100%; margin: 0; padding: 0 20px; text-align: center; }
.review p { font-family: var(--head); font-variation-settings: "wdth" 105; font-weight: 200; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.5; color: #fff; }
.review footer { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); margin-top: 1.4em; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 36px; }
.carousel-btn { background: none; border: 1px solid rgba(226,216,202,0.5); color: var(--sand); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; transition: background .25s; }
.carousel-btn:hover { background: rgba(226,216,202,0.15); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(226,216,202,0.4); cursor: pointer; padding: 0; }
.carousel-dots button[aria-selected="true"] { background: var(--sand); }

/* FAQ */
.faq .split { align-items: start; }
.info-list dt { font-family: var(--head); font-variation-settings: "wdth" 110; font-weight: 400; color: var(--brown); margin-top: 1.2em; }
.info-list dd { margin: 0.3em 0 0; color: #4d4540; }
.faq-title { margin-top: 0.4em; }
.accordion details { border-bottom: 1px solid var(--sand); }
.accordion summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; font-weight: 400; color: var(--brown); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 200; color: var(--taupe); transition: transform .25s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion p { padding: 0 0 18px; margin: 0; color: #4d4540; }

/* CTA */
.cta { position: relative; min-height: 520px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(61,43,31,0.5); }
.cta img { object-position: center 35%; }
.cta-inner { position: relative; z-index: 2; padding: 80px 24px; max-width: 700px; }
.cta h2 { color: #fff; }
.cta p { font-size: 1.1rem; margin-bottom: 2em; }

/* Footer */
.site-footer { background: var(--sand-light); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { justify-content: flex-start; margin-bottom: 18px; }
.site-footer p { margin: 0 0 0.5em; font-size: 0.95rem; }
.site-footer a { color: var(--brown); }
.copyright { text-align: center; font-size: 0.8rem; color: var(--taupe-dark); margin-top: 50px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,14,10,0.94); display: none; place-items: center; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; padding: 10px 18px; opacity: 0.8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 14px; right: 18px; font-size: 2.6rem !important; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--sand); font-size: 0.85rem; letter-spacing: 0.08em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .split, .space, .space.reverse { grid-template-columns: 1fr; }
  .space.reverse .space-media { order: 0; }
  .beds { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stack { padding-right: 30px; padding-bottom: 40px; }
  .split-media .stack-overlay { width: 60%; border-width: 5px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--max)); }
  .site-header { padding: 10px 16px; }
  .brand img { width: 128px; }
  .btn-header { padding: 9px 14px; font-size: 0.75rem; }
  .site-header { grid-template-columns: 40px 1fr auto; column-gap: 8px; }
  .hero { height: 78vh; min-height: 480px; }
  .grid-4, .beds, .amenity-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-wide { grid-column: span 2; }
  .stats { width: min(100% - 32px, 1000px); }
  .stat-value { font-size: 1.5rem; }
  .ratings { gap: 28px; }
}
