:root {
  --ink: #2b241d;
  --surface: #f7f2e9;
  --surface-alt: #efe6d6;
  --accent: #b3673f;
  --accent-deep: #8f5031;
  --line: rgba(43, 36, 29, 0.14);
  --white: #fffdf9;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.preloader{ position:fixed; inset:0; z-index:9999; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; background:var(--surface); transition:opacity .5s var(--ease), visibility .5s var(--ease); }
.preloader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-mark{ display:flex; align-items:center; gap:10px; opacity:0; animation:preloaderIn .6s var(--ease) forwards; }
.preloader-bar{ width:120px; height:2px; background:var(--line); overflow:hidden; border-radius:2px; }
.preloader-bar-fill{ display:block; height:100%; width:0%; background:var(--accent); transition:width .25s var(--ease); }
@keyframes preloaderIn{ to{ opacity:1; } }
body.is-preloading{ overflow:hidden; }
@media (prefers-reduced-motion:reduce){ .preloader-mark{ animation:none; opacity:1; } }

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 1.08rem;
  color: rgba(43, 36, 29, 0.72);
}

.section { padding: clamp(90px, 12vw, 150px) 0; }

.section-head { margin-bottom: 56px; }

.muted-accent { color: var(--accent-deep); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  border-color: rgba(255, 253, 249, 0.55);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 253, 249, 0.12); }
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(247, 242, 233, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { color: var(--accent-deep); width: 26px; height: 26px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.92rem;
  color: rgba(43, 36, 29, 0.78);
  transition: color 200ms var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 11px 22px;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 3px;
  transition: background 200ms var(--ease);
}
.nav-cta:hover { background: var(--accent-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  display: block;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 8px 32px 24px;
}
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.mobile-nav .nav-cta { text-align: center; margin-top: 14px; border-bottom: none; }
.mobile-nav.open { display: flex; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media video, .hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: rgba(20, 15, 10, 0.42);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-bottom: 200px;
  padding-top: 160px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.86);
  margin-bottom: 22px;
  font-weight: 500;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1.02;
  max-width: 15ch;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 1.12rem;
  color: rgba(255, 253, 249, 0.86);
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-booking-card {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 60px;
  width: 340px;
  background: var(--white);
  border-radius: 6px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 60px rgba(20, 15, 10, 0.28), 0 6px 18px rgba(20, 15, 10, 0.14);
}
.hbc-row { display: flex; align-items: baseline; }
.hbc-price { justify-content: space-between; margin-bottom: 18px; }
.hbc-amount { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.hbc-unit { font-size: 0.85rem; color: rgba(43, 36, 29, 0.6); margin-left: 4px; margin-right: auto; }
.hbc-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 0.85rem; color: var(--accent-deep); }
.hbc-count { color: rgba(43, 36, 29, 0.55); }
.hbc-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}
.hbc-field {
  padding: 11px 14px;
  border-left: 1px solid var(--line);
}
.hbc-field:first-child { border-left: none; }
.hbc-field label {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(43, 36, 29, 0.55);
  margin-bottom: 3px;
}
.hbc-guests {
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 18px;
}
.hbc-btn { width: 100%; margin-bottom: 12px; }
.hbc-note { text-align: center; font-size: 0.78rem; color: rgba(43, 36, 29, 0.55); }

/* Strip */
.strip {
  background: var(--ink);
  color: var(--white);
}
.strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 46px 32px;
  gap: 20px;
}
.strip-item { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.strip-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--white); }
.strip-label { font-size: 0.82rem; color: rgba(255, 253, 249, 0.68); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item { overflow: hidden; border-radius: 5px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-large { grid-column: span 2; grid-row: span 2; }
.gallery-grid .gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-more { display: block; margin: 40px auto 0; }

/* Amenities */
.amenities-section { background: var(--surface-alt); }
.amenities-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.amenities-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 34px;
}
.amenity { display: flex; flex-direction: column; gap: 8px; }
.amenity-icon {
  width: 40px; height: 40px;
  color: var(--accent-deep);
}
.amenity-icon svg { width: 100%; height: 100%; }
.amenity-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.amenity-desc { font-size: 0.9rem; color: rgba(43, 36, 29, 0.65); }

/* Spaces */
.space-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.space-row:last-child { margin-bottom: 0; }
.space-reverse { grid-template-columns: 0.9fr 1.1fr; }
.space-reverse .space-media { order: 2; }
.space-reverse .space-copy { order: 1; }
.space-media { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; }
.space-media img { width: 100%; height: 100%; }
.space-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 16px;
}
.space-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 16px;
}
.space-copy p { color: rgba(43, 36, 29, 0.72); max-width: 44ch; }

/* Host */
.host-section { background: var(--surface-alt); }
.host-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.host-media { border-radius: 6px; overflow: hidden; aspect-ratio: 4/5; }
.host-media img { width: 100%; height: 100%; }
.host-copy p { margin-top: 18px; color: rgba(43, 36, 29, 0.75); max-width: 52ch; }
.host-copy p:nth-of-type(2) {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.host-stats {
  display: flex;
  gap: 44px;
  margin-top: 34px;
}
.host-stats > div { display: flex; flex-direction: column; gap: 4px; }
.host-stat-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--accent-deep); }
.host-stat-label { font-size: 0.82rem; color: rgba(43, 36, 29, 0.6); }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-stars { color: var(--accent); font-size: 0.95rem; letter-spacing: 2px; }
.review-card p { font-size: 1rem; color: rgba(43, 36, 29, 0.82); line-height: 1.65; }
.review-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(43, 36, 29, 0.55);
  font-weight: 500;
}

/* Booking */
.book-section { background: var(--ink); color: var(--white); }
.book-section .eyebrow { color: rgba(255, 253, 249, 0.75); }
.book-section .section-title { color: var(--white); }
.book-section .section-lead { color: rgba(255, 253, 249, 0.68); }
.book-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }

.booking-widget {
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  padding: 34px;
}
.bw-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.bw-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.bw-unit { color: rgba(43, 36, 29, 0.6); font-size: 0.95rem; }

.bw-calendar {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 18px;
  margin-bottom: 22px;
}
.bw-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.bw-cal-arrow { color: rgba(43, 36, 29, 0.4); font-size: 0.9rem; }
.bw-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.bw-cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border-radius: 3px;
  color: rgba(43, 36, 29, 0.7);
}
.bw-cal-cell.bw-muted { color: rgba(43, 36, 29, 0.25); }
.bw-cal-cell.bw-selected { background: var(--ink); color: var(--white); }
.bw-cal-cell.bw-range { background: rgba(179, 103, 63, 0.16); color: var(--accent-deep); }

.bw-dates-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}
.bw-date-field { padding: 12px 16px; border-left: 1px solid var(--line); }
.bw-date-field:first-child { border-left: none; }
.bw-date-field label {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(43, 36, 29, 0.55);
  margin-bottom: 3px;
}
.bw-guests-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 22px;
}
.bw-guests-row label { font-size: 0.85rem; }
.bw-stepper { display: flex; align-items: center; gap: 14px; }
.bw-stepper button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1rem;
  line-height: 1;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.bw-stepper button:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

.bw-breakdown { margin-bottom: 22px; }
.bw-line {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 0.9rem;
  color: rgba(43, 36, 29, 0.72);
  border-bottom: 1px solid var(--line);
}
.bw-total {
  border-bottom: none;
  padding-top: 14px;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.bw-submit { width: 100%; margin-bottom: 10px; }
.bw-note { text-align: center; font-size: 0.78rem; color: rgba(43, 36, 29, 0.55); }

/* Footer */
.site-footer {
  background: #201a14;
  color: rgba(255, 253, 249, 0.82);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 253, 249, 0.12);
}
.footer-brand .brand-word { color: var(--white); font-size: 1.3rem; }
.footer-brand p { margin-top: 14px; max-width: 32ch; font-size: 0.9rem; color: rgba(255, 253, 249, 0.6); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-head {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 253, 249, 0.5);
  margin-bottom: 6px;
}
.footer-col a, .footer-text { font-size: 0.92rem; color: rgba(255, 253, 249, 0.78); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(255, 253, 249, 0.5);
}

/* Demo pill */
.demo-pill {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 600;
  background: rgba(43, 36, 29, 0.88);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 30px;
  backdrop-filter: blur(6px);
  transition: background 200ms var(--ease);
}
.demo-pill:hover { background: var(--accent-deep); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-item img { transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .amenities-layout { grid-template-columns: 1fr; gap: 40px; }
  .host-layout { grid-template-columns: 1fr; }
  .host-media { aspect-ratio: 16/9; }
  .book-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero { flex-wrap: wrap; min-height: 0; overflow: visible; padding-bottom: 0; }
  .hero-content { padding-bottom: 60px; flex: 1 1 100%; }
  .hero-booking-card { position: static; width: auto; flex: 1 1 100%; margin: 0 32px 40px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .strip-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-large { grid-column: span 2; }
  .gallery-grid .gallery-item:nth-child(2) { grid-column: span 2; }
  .amenities-grid { grid-template-columns: 1fr; }
  .space-row, .space-reverse { grid-template-columns: 1fr; gap: 28px; }
  .space-reverse .space-media, .space-reverse .space-copy { order: initial; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .header-row { height: 72px; }
  .hero-content { padding-top: 110px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-booking-card { margin: 32px 20px 0; }
  .strip-row { grid-template-columns: 1fr 1fr; gap: 26px 16px; padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-nav { padding: 8px 20px 20px; }
  .demo-pill { padding: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 0; display: flex; align-items: center; justify-content: center; }
  .demo-pill::after { content: "AW"; font-size: 0.6rem; letter-spacing: 0.02em; }
}
