/* ---------- Tokens ---------- */
:root{
  --bg: #0c0c0a;
  --bg-alt: #131310;
  --bg-raised: #17170f;
  --text: #f3efe4;
  --text-muted: #b5ae9d;
  --text-dim: #7d7768;
  --accent: #c9a56b;
  --accent-soft: rgba(201,165,107,.14);
  --sage: #7c8863;
  --line: rgba(243,239,228,.12);
  --line-strong: rgba(243,239,228,.22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--serif); font-weight: 500; margin:0; letter-spacing:.01em; }
button{ font-family: inherit; cursor:pointer; background:none; border:none; color:inherit; }

.eyebrow{
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .72rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

/* film grain overlay for texture */
.grain{
  position: fixed; inset:0; pointer-events:none; z-index: 9998;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress-bar{
  position: fixed; top:0; left:0; height:2px; width:0%;
  background: var(--accent); z-index: 9999; transition: width .1s linear;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  padding: .9rem 1.9rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  border-radius: 2px;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-solid{ background: var(--accent); color:#161307; }
.btn-solid:hover{ background:#e0bc82; transform: translateY(-2px); }
.btn-outline{ border:1px solid var(--line-strong); color: var(--text); }
.btn-outline:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost{ border:1px solid var(--line-strong); padding:.65rem 1.3rem; font-size:.72rem; }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.arrow{ display:inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow{ transform: translate(2px,-2px); }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 1.6rem 0;
  transition: all .4s var(--ease);
  background: transparent;
}
.site-header.scrolled{
  padding: 1rem 0;
  background: rgba(12,12,10,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: 1320px; margin: 0 auto; padding: 0 2.5rem;
  display:flex; align-items:center; justify-content: space-between; gap: 2rem;
}
.logo{
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: .12em; font-weight:600;
  color: var(--text);
}
.logo span{ color: var(--accent); }
.nav-desktop{ display:flex; gap: 2.4rem; margin-left: auto; margin-right: 2.4rem; }
.nav-link{
  font-size: .82rem; text-transform: uppercase; letter-spacing:.1em; color: var(--text-muted);
  position: relative; padding-bottom: 4px; transition: color .3s;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active{ color: var(--text); }
.nav-link:hover::after, .nav-link.active::after{ width: 100%; }
.header-cta{ flex-shrink:0; }
.menu-toggle{ display:none; flex-direction:column; gap:5px; width:26px; }
.menu-toggle span{ height:1px; background: var(--text); width:100%; transition: all .3s var(--ease); }
.menu-toggle.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity:0; }
.menu-toggle.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.nav-mobile{
  position: fixed; inset: 0; top:0; z-index:400;
  background: var(--bg);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 2rem;
  transform: translateY(-100%); transition: transform .5s var(--ease);
}
.nav-mobile.open{ transform: translateY(0); }
.nav-mobile a{ font-family: var(--serif); font-size: 2rem; color: var(--text); }

/* ---------- Hero ---------- */
.hero{
  position: relative; height: 100vh; min-height: 560px;
  display:flex; align-items:center; justify-content:center; text-align:center;
  overflow:hidden;
  padding: 0; max-width: none; margin: 0;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{
  width:100%; height:100%; object-fit: cover;
  filter: grayscale(.35) sepia(.15) brightness(.38) contrast(1.05);
  transform: scale(1.08);
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(6,6,5,.55) 0%, rgba(6,6,5,.15) 100%),
    linear-gradient(180deg, rgba(6,6,5,.6) 0%, rgba(6,6,5,.45) 40%, rgba(6,6,5,.88) 100%);
}
.hero-content{ position:relative; z-index:1; max-width: 760px; padding: 0 1.5rem; }
.hero .eyebrow{ display:inline-block; }
.hero h1{
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.6);
}
.hero-sub{
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2.4rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.hero .eyebrow{ text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero-actions{ display:flex; gap: 1rem; justify-content:center; flex-wrap: wrap; }

.hero-scroll{
  position:absolute; bottom: 2.2rem; left:50%; transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:.6rem; z-index:1;
  color: var(--text-dim); font-size:.68rem; text-transform:uppercase; letter-spacing:.2em;
}
.scroll-line{ width:1px; height:40px; background: var(--line-strong); overflow:hidden; position:relative; }
.scroll-line i{
  position:absolute; top:-40px; left:0; width:100%; height:40px; background: var(--accent);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown{
  0%{ top:-40px; } 60%{ top:40px; } 100%{ top:40px; }
}

/* reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform: translateY(0); }

/* ---------- Section shell ---------- */
main > section{ padding: 7rem 2.5rem; max-width: 1320px; margin: 0 auto; }
.section-head{ text-align:center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2{ font-size: clamp(2rem, 4vw, 2.8rem); }

/* ---------- Intro / stats ---------- */
.intro{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items:center;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.intro-lead{ font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--text); line-height:1.5; }
.stats{ display:grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.stat{ text-align:center; padding: 1.2rem .5rem; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat-num{ display:block; font-family: var(--serif); font-size: 2.6rem; color: var(--accent); }
.stat-label{ display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color: var(--text-muted); margin-top:.4rem; }

/* ---------- Rooms ---------- */
.room-list{ display:flex; flex-direction:column; gap: 5rem; }
.room-card{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items:center; }
.room-card.reverse{ direction: rtl; }
.room-card.reverse > *{ direction: ltr; }
.room-media{ overflow:hidden; border-radius: 2px; aspect-ratio: 4/3; }
.room-media img{ width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); }
.room-card:hover .room-media img{ transform: scale(1.05); }
.room-info-top{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; margin-bottom: 1rem; }
.room-info-top h3{ font-size: 1.9rem; }
.room-price{ font-family: var(--serif); font-size: 1.5rem; color: var(--accent); white-space:nowrap; }
.room-price span{ font-family: var(--sans); font-size:.7rem; color: var(--text-dim); }
.room-desc{ color: var(--text-muted); margin-bottom: 1.4rem; }
.room-tags{ display:flex; flex-wrap:wrap; gap: .6rem; margin-bottom: 1.8rem; }
.room-tags li{
  font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color: var(--text-muted);
  border:1px solid var(--line); padding:.4rem .8rem; border-radius: 2px;
}

.amenities{
  margin-top: 5rem; padding-top: 3rem; border-top:1px solid var(--line);
  display:flex; flex-wrap:wrap; justify-content:center; gap: 3rem 3.5rem;
}
.amenity{ display:flex; flex-direction:column; align-items:center; gap:.7rem; text-align:center; width: 110px; }
.amenity svg{ width:28px; height:28px; stroke: var(--accent); fill:none; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; }
.amenity span{ font-size:.76rem; color: var(--text-muted); }

/* ---------- Surroundings ---------- */
.surroundings{ max-width:none; padding:0; position:relative; display:grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }
.surroundings-media{ position:relative; }
.surroundings-media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter: grayscale(.2) sepia(.1) brightness(.75) contrast(1.05);
}
.surroundings-overlay{ position:absolute; inset:0; background: linear-gradient(90deg, transparent 0%, var(--bg) 100%); }
.surroundings-content{ background: var(--bg-alt); padding: 5.5rem 4rem; display:flex; flex-direction:column; justify-content:center; }
.surroundings-lead{ color: var(--text-muted); font-size: 1.05rem; max-width: 480px; margin-bottom: 2.8rem; }
.activity-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }
.activity-num{ font-family: var(--serif); color: var(--accent); font-size: 1rem; }
.activity h3{ font-size: 1.15rem; margin: .5rem 0 .5rem; }
.activity p{ color: var(--text-muted); font-size: .9rem; margin:0; }

/* ---------- Gallery ---------- */
.gallery{ background: var(--bg-alt); max-width:none; padding: 7rem 2.5rem; }
.gallery .section-head, .gallery-grid{ max-width: 1320px; margin-left:auto; margin-right:auto; }
.gallery-grid{ display:grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 1rem; }
.gallery-item{ position:relative; overflow:hidden; border-radius:2px; }
.gallery-item.span-2{ grid-column: span 2; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-zoom{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background: rgba(8,8,6,0); color: var(--text); font-size: 1.6rem;
  opacity:0; transition: all .35s var(--ease);
}
.gallery-item:hover .gallery-zoom{ opacity:1; background: rgba(8,8,6,.35); }

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed; inset:0; z-index: 2000; background: rgba(6,6,5,.94);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 1rem;
  opacity:0; visibility:hidden; transition: opacity .35s var(--ease);
  padding: 2rem;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{ max-width: min(90vw, 1100px); max-height: 78vh; object-fit:contain; border-radius:2px; }
.lightbox-caption{ color: var(--text-muted); font-size:.85rem; letter-spacing:.05em; }
.lightbox-close{
  position:absolute; top: 2rem; right: 2.5rem; font-size: 1.4rem; color: var(--text);
  width:44px; height:44px; border:1px solid var(--line-strong); border-radius:50%;
  display:flex; align-items:center; justify-content:center; transition: all .3s;
}
.lightbox-close:hover{ border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.contact-info{ display:flex; flex-direction:column; gap: 1.8rem; }
.contact-item{ padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.contact-label{ display:block; font-size:.7rem; text-transform:uppercase; letter-spacing:.14em; color: var(--accent); margin-bottom:.5rem; }
.contact-item p{ margin:0; color: var(--text-muted); }
.contact-item a:hover{ color: var(--accent); }

.contact-form{ display:flex; flex-direction:column; gap: 1.3rem; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field{ display:flex; flex-direction:column; gap:.5rem; position:relative; }
.field label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color: var(--text-muted); }
.field input, .field select, .field textarea{
  background: var(--bg-raised); border: 1px solid var(--line); color: var(--text);
  padding: .85rem 1rem; font-family: var(--sans); font-size:.95rem; border-radius:2px;
  transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--accent); }
.field textarea{ resize: vertical; }
.field-error{ display:none; font-size:.72rem; color:#d98a6d; }
.field.error input, .field.error select, .field.error textarea{ border-color:#d98a6d; }
.field.error .field-error{ display:block; }
.form-submit{ align-self:flex-start; margin-top: .5rem; position:relative; }
.form-note{ font-size:.75rem; color: var(--text-dim); margin: 0; }

/* toast */
.toast{
  position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%, 20px);
  background: var(--accent); color:#161307; padding: 1rem 1.8rem; border-radius: 2px;
  font-size:.85rem; letter-spacing:.02em; z-index: 3000;
  opacity:0; pointer-events:none; transition: all .4s var(--ease);
}
.toast.show{ opacity:1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer{ border-top: 1px solid var(--line); padding: 3.5rem 2.5rem; text-align:center; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:.8rem; }
.footer-inner p{ color: var(--text-dim); font-size:.85rem; margin:0; }
.footer-copy{ font-size:.75rem; }
.footer-credit{
  margin-top: .6rem; font-size:.72rem; letter-spacing:.04em; color: var(--text-dim);
}
.footer-credit span{ color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .nav-desktop, .header-cta{ display:none; }
  .menu-toggle{ display:flex; }
  .intro{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3){ border-left:none; }
  .room-card, .room-card.reverse{ grid-template-columns: 1fr; direction: ltr; }
  .surroundings{ grid-template-columns: 1fr; }
  .surroundings-media{ height: 320px; }
  .surroundings-overlay{ background: linear-gradient(180deg, transparent 0%, var(--bg) 100%); }
  .activity-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
  .gallery-item.span-2{ grid-column: span 2; }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  main > section{ padding: 4.5rem 1.4rem; }
  .header-inner{ padding: 0 1.4rem; }
  .form-row{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item.span-2{ grid-column: span 1; }
  .amenities{ gap: 2rem; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html{ scroll-behavior:auto; }
}
