/* ============ TOKENS ============ */
:root{
  --bg: #F8F4EE;
  --white: #FFFFFF;
  --ink: #241F1B;
  --accent: #A89C8E;
  --accent-deep: #756D63;
  --accent-soft: #D7D2CC;
  --line: rgba(36,31,27,.09);

  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --shadow-soft: 0 25px 60px -25px rgba(23,17,13,.35);
  --shadow-card: 0 15px 35px -18px rgba(23,17,13,.22);

  /* Apple's own font stack: on Mac/iPhone/iPad -apple-system resolves to the
     real San Francisco already installed on the device; everywhere else it
     falls back exactly as apple.com itself does. No font files are embedded. */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--bg);
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
h1,h2,h3{
  font-family:var(--display); font-weight:600; color:var(--ink);
  margin:0 0 .4em; line-height:1.08; letter-spacing:-.02em;
}
h2{ font-size:clamp(2.1rem, 4.2vw, 3.4rem); }
h3{ font-size:1.3rem; margin-bottom:.3em; }
p{ line-height:1.7; margin:0 0 1em; color:#4B443D; }
.container{ max-width:1180px; margin:0 auto; padding:0 32px; }

.eyebrow{
  font-family:var(--sans);
  text-transform:lowercase;
  letter-spacing:.02em;
  font-size:.85rem;
  font-weight:600;
  color:var(--accent-deep);
  margin-bottom:.8em;
}
.eyebrow--light{ color:var(--accent-soft); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.light{ color:var(--white); }
.lede{ max-width:640px; margin-left:auto; margin-right:auto; }

section h2.center, p.center{ text-align:center; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 34px;
  border-radius:50px;
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.01em;
  transition:transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-radius .4s ease;
  white-space:nowrap;
}
.btn--primary{
  background:var(--accent);
  color:var(--ink);
  box-shadow:0 15px 30px -12px rgba(168,156,142,.55);
}
.btn--primary:hover{
  background:var(--accent-deep); color:var(--white); transform:translateY(-2px);
  border-radius:38% 62% 58% 42% / 48% 40% 60% 52%;
}
.btn--ghost{
  background:transparent;
  color:var(--white);
  border:1.5px solid rgba(255,255,255,.6);
}
.btn--ghost:hover{ background:rgba(255,255,255,.12); transform:translateY(-2px); }

/* ============ NAV ============ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  transition:background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding:22px 0;
}
.nav__inner{
  max-width:1180px; margin:0 auto; padding:0 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav__brand{ display:flex; align-items:center; }
.nav__logo{ height:40px; width:auto; transition:opacity .3s ease; }
.nav__logo--navy{ display:none; }
.nav__links{ display:flex; align-items:center; gap:34px; }
.nav__links a{
  font-size:.95rem; font-weight:500; color:var(--white); text-transform:lowercase;
  position:relative;
  transition:color .3s ease;
}
.nav__links a:not(.nav__cta){ padding-bottom:4px; }
.nav__links a:not(.nav__cta)::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background:currentColor;
  transition:width .3s ease;
}
.nav__links a:not(.nav__cta):hover::after{ width:100%; }
.nav__cta{
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--accent); color:var(--ink) !important;
  padding:11px 24px; border-radius:50px; font-weight:600; line-height:1;
  transition:background .3s ease, transform .3s ease, border-radius .4s ease, color .3s ease;
}
.nav__cta:hover{
  background:var(--accent-deep); color:var(--white) !important; transform:translateY(-1px);
  border-radius:40% 60% 55% 45% / 50% 45% 55% 50%;
}

.nav.scrolled{
  background:rgba(248,244,238,.92);
  backdrop-filter:blur(10px);
  box-shadow:0 4px 25px rgba(23,17,13,.08);
  padding:14px 0;
}
.nav.scrolled .nav__logo--navy{ display:block; }
.nav.scrolled .nav__logo--white{ display:none; }
.nav.scrolled .nav__links a{ color:var(--ink); }
.nav.scrolled .nav__links a.nav__cta{ color:var(--ink) !important; }

.nav__toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px;
}
.nav__toggle span{ width:24px; height:2px; background:var(--white); transition:.3s; }
.nav.scrolled .nav__toggle span{ background:var(--ink); }

/* ============ HERO ============ */
.hero{
  position:relative; height:100vh; min-height:640px;
  display:flex; align-items:center; justify-content:center;
  text-align:center; overflow:hidden;
}
.hero__media{ position:absolute; inset:0; }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(23,17,13,.55) 0%, rgba(23,17,13,.35) 45%, rgba(23,17,13,.78) 100%);
}
.hero__content{ position:relative; z-index:2; max-width:780px; padding:0 24px; color:var(--white); }
.hero__logo{
  width:min(75%, 440px);
  margin:.2em auto 1.4em;
  filter:drop-shadow(0 15px 40px rgba(0,0,0,.35));
}
.hero__tagline{ font-size:1.2rem; color:#F1E9E4; max-width:520px; margin:0 auto 1.6em; }
.hero__rating{
  display:inline-flex; align-items:center; gap:12px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.35);
  padding:11px 24px; border-radius:50px; margin:0 0 2em;
  font-size:.88rem; color:#F1E9E4; backdrop-filter:blur(4px);
}
.hero__rating .stars{ color:var(--accent-soft); letter-spacing:1px; font-size:.85rem; }
.hero__rating strong{ color:var(--white); }
.hero__actions{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }

.hero__scroll{
  position:absolute; bottom:34px; left:50%; transform:translateX(-50%); z-index:2;
  width:26px; height:42px; border:2px solid rgba(255,255,255,.7); border-radius:20px;
}
.hero__scroll span{
  position:absolute; top:8px; left:50%; transform:translateX(-50%);
  width:4px; height:8px; border-radius:2px; background:var(--white);
  animation:scrollDot 1.6s infinite;
}
@keyframes scrollDot{
  0%{ opacity:1; top:8px; } 70%{ opacity:0; top:22px; } 100%{ opacity:0; top:8px; }
}

/* ============ SECTIONS ============ */
/* One single background color for the whole site — sections carry no background of their own. */
.section{ padding:130px 0; }

/* ============ ABOUT ============ */
.about{ display:grid; grid-template-columns:1.3fr 1fr; gap:80px; align-items:center; }
.about__stats{
  display:grid; grid-template-columns:1fr 1fr; gap:24px;
}
.stat{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:30px 24px;
  box-shadow:var(--shadow-card); text-align:center;
}
.stat__num{ display:block; font-family:var(--display); font-size:2.8rem; color:var(--accent-deep); font-weight:700; letter-spacing:-.02em; }
.stat__label{ font-size:.85rem; color:#7a7168; text-transform:lowercase; letter-spacing:.02em; }

/* ============ GALLERY: FEATURED + FILMSTRIP ============ */
/* Deliberately square corners (no border-radius) — client preference for this section. */
.gallery-feature{ margin-top:56px; }
.gallery-feature__main{
  cursor:pointer; overflow:hidden; aspect-ratio:16/9; box-shadow:var(--shadow-soft);
}
.gallery-feature__main img{ width:100%; height:100%; object-fit:cover; }
.gallery-feature__strip{
  display:flex; gap:14px; overflow-x:auto; margin-top:20px;
  padding:4px 4px 8px; scrollbar-width:none;
}
.gallery-feature__strip::-webkit-scrollbar{ display:none; }
.gallery-feature__strip img{
  width:150px; height:100px; object-fit:cover; flex:none; cursor:pointer;
  opacity:.5; transition:opacity .25s ease, outline-color .25s ease;
  outline:2px solid transparent; outline-offset:2px;
}
.gallery-feature__strip img:hover{ opacity:.8; }
.gallery-feature__strip img.active{ opacity:1; outline-color:var(--accent-deep); }

/* ============ RATING BADGE ============ */
.rating-badge{
  display:inline-flex; align-items:center; gap:22px;
  background:var(--white); border:1px solid var(--line); border-radius:100px; padding:14px 32px 14px 14px;
  box-shadow:var(--shadow-card); margin-bottom:36px;
}
.rating-badge__score{
  display:flex; align-items:center; justify-content:center;
  width:74px; height:74px; border-radius:50%; flex:none;
  background:var(--accent); color:var(--ink);
  font-family:var(--display); font-size:1.9rem; font-weight:700;
}
.rating-badge__text{ display:flex; flex-direction:column; text-align:left; }
.rating-badge__text strong{ font-family:var(--display); font-size:1.3rem; color:var(--ink); font-weight:600; }
.rating-badge__text span{ font-size:.8rem; color:#847a72; }

/* ============ AMENITIES ============ */
.amenity-groups{
  margin-top:56px;
  display:grid; grid-template-columns:repeat(3, 1fr); gap:28px;
}
.amenity-group{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:30px 30px 32px;
  box-shadow:var(--shadow-card);
}
.amenity-group__head{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.amenity-group__head svg{
  width:26px; height:26px; flex:none; stroke:var(--accent-deep); fill:none; stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round;
}
.amenity-group__head h3{ margin:0; font-size:1.25rem; }
.amenity-group ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.amenity-group li{
  display:flex; align-items:center; gap:10px;
  font-size:.92rem; color:#4B443D; line-height:1.4;
}
.amenity-group li::before{
  content:'✓'; flex:none; color:var(--accent-deep); font-weight:700; font-size:.85rem;
}

/* ============ LOCATION ============ */
.location{ display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.location__map{
  border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-card); height:420px;
}
.location__map iframe{ width:100%; height:100%; border:0; }
.link-arrow{
  display:inline-block; margin-top:8px; font-weight:700; color:var(--accent-deep);
  border-bottom:1.5px solid var(--accent-deep); padding-bottom:2px; transition:.25s;
}
.link-arrow:hover{ color:var(--ink); border-color:var(--ink); }

/* ============ CONTACT ============ */
.contact-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:26px;
  margin:56px 0 50px;
}
.contact-card{
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius-md); padding:32px 28px; text-align:center;
  box-shadow:var(--shadow-card);
  transition:transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-soft); }
.contact-card svg{
  width:32px; height:32px; margin:0 auto 16px; stroke:var(--accent-deep); fill:none;
  stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;
}
.contact-card h3{ color:var(--ink); font-size:1.2rem; }
.contact-card p{ color:#6b6259; margin:0; }
.cta-row{ display:flex; justify-content:center; }

/* ============ FOOTER ============ */
.footer{ border-top:1px solid var(--line); padding:60px 0 34px; text-align:center; }
.footer__logo{ height:60px; margin:0 auto 20px; }
.footer p{ color:#6b6259; font-size:.92rem; margin:.3em 0; }
.footer__links a{ color:var(--accent-deep); transition:.25s; }
.footer__links a:hover{ color:var(--ink); }
.footer__links span{ margin:0 8px; color:#b3a99f; }
.footer__copy{ margin-top:20px !important; font-size:.8rem !important; color:#948a80 !important; }

/* ============ LIGHTBOX ============ */
.lightbox{
  position:fixed; inset:0; background:rgba(17,13,10,.94); z-index:999;
  display:none; align-items:center; justify-content:center;
}
.lightbox.active{ display:flex; }
.lightbox img{ max-width:88vw; max-height:84vh; border-radius:12px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.lightbox__close{
  position:absolute; top:24px; right:32px; background:none; border:none; color:var(--white);
  font-size:2.4rem; cursor:pointer; line-height:1; opacity:.85;
}
.lightbox__close:hover{ opacity:1; }
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.1);
  border:none; color:var(--white); width:52px; height:52px; border-radius:50%; font-size:1.1rem; cursor:pointer;
  transition:background .25s;
}
.lightbox__nav:hover{ background:rgba(255,255,255,.22); }
.lightbox__prev{ left:24px; } .lightbox__next{ right:24px; }

/* ============ REVEAL ANIM ============ */
/* Hidden-by-default state only applies once JS confirms it can reveal it again (see script.js) */
html.js-reveal .reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
html.js-reveal .reveal.in{ opacity:1; transform:translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .about{ grid-template-columns:1fr; gap:50px; }
  .amenity-groups{ grid-template-columns:repeat(2,1fr); }
  .location{ grid-template-columns:1fr; gap:40px; }
  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width: 760px){
  .container{ padding:0 22px; }
  .section{ padding:80px 0; }
  .nav__toggle{ display:flex; }
  .nav__links{
    position:fixed; top:0; right:0; height:100vh; width:78%; max-width:320px;
    background:var(--ink); flex-direction:column; align-items:flex-start;
    padding:110px 34px 40px; gap:26px;
    transform:translateX(100%); transition:transform .4s ease; z-index:150;
  }
  .nav__links.open{ transform:translateX(0); }
  .nav__links a{ color:var(--white) !important; font-size:1.05rem; }
  .nav__cta{ margin-top:10px; }
  .hero__actions{ flex-direction:column; width:100%; }
  .hero__actions .btn{ width:100%; }
  .amenity-groups{ grid-template-columns:1fr; }
  .contact-grid{ margin:40px 0; }
  .hero__rating{ text-align:left; }
  .gallery-feature__main{ aspect-ratio:4/3; }
  .gallery-feature__strip img{ width:110px; height:78px; }
  .hide-mobile{ display:none; }
}
