/* Nimbus Nook Apartments — design tokens */
:root {
  --terracotta: #a8634d;
  --terracotta-dark: #8a4d3a;
  --cream: #f7f3ee;
  --sand: #ece4d9;
  --ink: #1c1816;
  --muted: #6b625c;
  --line: #ddd3c6;
  --white: #fff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1.1em; color: var(--muted); font-weight: 400; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark p { color: #c9bfb5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  font-weight: 500; color: var(--terracotta); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 48px; height: 1px; background: currentColor; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.lead { font-size: 1.15rem; max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border: 1px solid var(--ink);
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn--primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.btn--primary:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); color: var(--white); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--ink); }
.link-arrow {
  font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.site-header .logo img { height: 52px; width: auto; }
.site-header .logo .logo-dark { display: none; }
.site-header.is-solid, .site-header.is-static { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .logo-light, .site-header.is-static .logo-light { display: none; }
.site-header.is-solid .logo-dark, .site-header.is-static .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream); position: relative;
}
.is-solid .nav a:not(.btn), .is-static .nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: currentColor; transition: width .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .btn { padding: 12px 22px; }
.site-header:not(.is-solid):not(.is-static) .nav .btn { border-color: var(--cream); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--cream); }
.is-solid .menu-toggle, .is-static .menu-toggle { color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--terracotta); color: var(--white);
  padding: 32px 28px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s ease; overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer-close { align-self: flex-start; background: none; border: 0; color: var(--white); cursor: pointer; padding: 0; }
.drawer-close svg { width: 32px; height: 32px; }
.drawer ol { list-style: none; padding: 0; margin: 40px 0; counter-reset: n; }
.drawer li { counter-increment: n; margin: 0 0 18px; display: flex; align-items: flex-start; gap: 18px; }
.drawer li::before { content: "0" counter(n); font-size: .85rem; font-weight: 500; padding-top: 8px; }
.drawer li a { font-family: var(--serif); font-size: 2.2rem; line-height: 1.2; }
.drawer .drawer-contact { margin-top: auto; font-weight: 400; line-height: 2; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--cream); padding: 160px 0 0;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 18s ease-out both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,14,.55) 0%, rgba(20,16,14,.2) 40%, rgba(20,16,14,.75) 100%);
}
.hero .hero-media::after {
  background: linear-gradient(90deg, rgba(20,16,14,.7) 0%, rgba(20,16,14,.15) 65%),
              linear-gradient(180deg, rgba(20,16,14,.45) 0%, rgba(20,16,14,0) 40%, rgba(20,16,14,.7) 100%);
}
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-content { position: relative; width: 100%; padding-bottom: 48px; }
.hero .eyebrow { color: var(--cream); }
.hero h1 { max-width: 820px; font-weight: 400; }
.hero h1 em { font-style: italic; }
.hero p { color: #e9e1d8; font-size: 1.15rem; max-width: 560px; }

/* Booking bar */
.booking-bar {
  position: relative; background: var(--white); color: var(--ink);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; box-shadow: 0 20px 60px rgba(0,0,0,.18);
  margin-top: 40px; transform: translateY(50%);
}
.booking-bar .field { padding: 20px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.booking-bar label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.booking-bar input, .booking-bar select {
  border: 0; padding: 0; font-family: var(--serif); font-size: 1.3rem; background: transparent; color: var(--ink); width: 100%;
}
.booking-bar input:focus, .booking-bar select:focus { outline: none; }
.booking-bar .btn { height: 100%; border: 0; padding: 0 40px; }
.after-hero { padding-top: clamp(120px, 14vw, 170px); }

/* Page hero (inner pages) */
.page-hero { position: relative; height: 62vh; min-height: 420px; display: flex; align-items: flex-end; color: var(--cream); }
.page-hero .hero-media img { animation: none; }
.page-hero .hero-content { padding-bottom: 64px; }
.page-hero .eyebrow { color: var(--cream); }
.page-intro { padding-top: 150px; padding-bottom: 40px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; }
.stat { text-align: center; padding: 36px 12px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 3.4rem; font-weight: 500; line-height: 1; }
.stat span { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 500; color: var(--muted); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-media .tag {
  position: absolute; left: -1px; bottom: 32px; background: var(--terracotta); color: var(--white);
  padding: 14px 22px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
}

/* Room cards */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.room-card { background: var(--white); display: flex; flex-direction: column; }
.room-card .media { overflow: hidden; aspect-ratio: 4/3; }
.room-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.room-card:hover .media img { transform: scale(1.06); }
.room-card .body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.price { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--terracotta); margin-bottom: 8px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 18px; color: var(--ink); font-size: .95rem; }
.specs span { display: inline-flex; align-items: center; gap: 8px; }
.specs svg { width: 20px; height: 20px; stroke: var(--terracotta); }
.room-card .actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.amenity { background: var(--cream); padding: 36px 28px; }
.section--sand .amenity { background: var(--sand); }
.amenity svg { width: 34px; height: 34px; stroke: var(--terracotta); margin-bottom: 18px; }
.amenity h4 { font-size: 1.35rem; margin-bottom: 6px; }
.amenity p { font-size: .95rem; margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.service { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: var(--cream); }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20,16,14,.85)); }
.service:hover img { transform: scale(1.05); }
.service .body { position: relative; z-index: 1; padding: 32px; }
.service .body p { color: #ddd3c8; font-size: .97rem; }
.service .eyebrow { color: #e7b8a6; }

/* Gallery strip */
/* Gallery: repeating blocks of 5 photos (one large + four small) that always fill two full rows;
   the large photo alternates left and right so the wall reads as a balanced mosaic. */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: row dense; gap: 12px; margin-top: 56px; }
.gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; cursor: zoom-in; display: block; }
.gallery img:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery img:nth-child(10n+6) { grid-column: 3 / span 2; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(15,12,10,.94); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; }

/* Quote band */
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.25; max-width: 900px; margin: 0 auto; color: inherit; }
.quote-by { margin-top: 22px; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: var(--terracotta); }

/* CTA band */
.cta-band { position: relative; color: var(--cream); text-align: center; padding: clamp(90px, 13vw, 160px) 0; overflow: hidden; }
.cta-band .hero-media img { animation: none; }
.cta-band .container { position: relative; }
.cta-band .eyebrow { color: var(--cream); }
.cta-band p { color: #e9e1d8; }

/* Room detail */
.room-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 260px 260px; gap: 12px; margin-top: 120px; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.room-gallery img:first-child { grid-row: span 2; }
.room-layout { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.room-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 32px 0 40px; }
.room-facts div { padding: 22px 0; text-align: center; border-right: 1px solid var(--line); }
.room-facts div:last-child { border-right: 0; }
.room-facts strong { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.room-facts span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; columns: 2; column-gap: 32px; }
.checklist li { padding: 10px 0 10px 30px; position: relative; break-inside: avoid; border-bottom: 1px solid var(--line); color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 1.5px solid var(--terracotta); border-bottom: 1.5px solid var(--terracotta); transform: rotate(-45deg); }
.policy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.policy div { border-top: 1px solid var(--ink); padding-top: 16px; }
.policy h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.policy p { font-size: .95rem; }

/* Booking widget */
.book-card { background: var(--white); padding: 30px 26px; position: sticky; top: 112px; box-shadow: 0 20px 50px rgba(28,24,22,.08); }
.book-card .rate { font-family: var(--serif); font-size: 2.2rem; }
.book-card .rate small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.input { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.input label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.input input, .input select, .input textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); background: var(--cream); padding: 13px 14px; border-radius: var(--radius); width: 100%; min-width: 0;
}
.input input:focus, .input select:focus, .input textarea:focus { outline: 2px solid var(--terracotta); outline-offset: -1px; }
.extras { display: grid; gap: 10px; margin: 6px 0; }
.extras label { display: flex; gap: 10px; align-items: center; font-size: .97rem; cursor: pointer; }
.extras input { accent-color: var(--terracotta); width: 18px; height: 18px; }
.summary { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; font-size: .97rem; }
.summary .row { display: flex; justify-content: space-between; padding: 4px 0; }
.summary .total { font-weight: 500; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.summary small { color: var(--muted); display: block; margin-top: 8px; line-height: 1.5; }
.book-actions { display: grid; gap: 10px; margin-top: 20px; }
.book-actions .btn { width: 100%; }
.form-error { color: #b0412e; font-size: .9rem; margin-top: 10px; display: none; }

/* Booking page */
.book-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.book-panel { background: var(--white); padding: clamp(24px, 4vw, 48px); }
.book-aside img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.contact-card { background: var(--white); padding: 36px; }
.contact-card h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--terracotta); }
.contact-card a, .contact-card address { font-family: var(--serif); font-size: 1.45rem; font-style: normal; color: var(--ink); word-break: break-word; }
.map { margin-top: 48px; border: 0; width: 100%; height: 440px; filter: grayscale(.4) sepia(.1); }

/* Hosts */
.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.host { background: var(--white); padding: clamp(28px, 4vw, 48px); }
.host .initial { width: 72px; height: 72px; border-radius: 50%; background: var(--terracotta); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; margin-bottom: 24px; }
.host blockquote { font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin: 16px 0 0; color: var(--ink); }

/* FAQ */
.faq { max-width: 860px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.45rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--terracotta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; }

/* Footer */
.site-footer { background: #141110; color: #cfc5bb; padding: 96px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; }
.site-footer img { height: 70px; width: auto; margin-bottom: 22px; }
.site-footer h4 { color: var(--white); font-size: 1.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--white); }
.site-footer p { color: #a99f95; }
.footer-bottom { border-top: 1px solid #2c2725; margin-top: 64px; padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
.newsletter { display: flex; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 1px solid #3b3431; color: var(--white); padding: 12px 14px; font: inherit; }
.newsletter button { background: var(--terracotta); color: var(--white); border: 0; padding: 0 18px; cursor: pointer; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .rooms, .services { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .room-layout, .book-layout { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .booking-bar { grid-template-columns: 1fr 1fr; transform: none; }
  .booking-bar .field:nth-child(2) { border-right: 0; }
  .booking-bar .field { border-bottom: 1px solid var(--line); }
  .booking-bar .btn { grid-column: 1 / -1; padding: 20px; }
  .after-hero { padding-top: clamp(64px, 10vw, 128px); }
  .hero-content { padding-bottom: 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .site-header .container { height: 72px; }
  .site-header .logo img { height: 42px; }
  .rooms, .services, .hosts, .contact-grid, .policy { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gallery img:nth-child(5n+1), .gallery img:nth-child(10n+6) { grid-column: 1 / -1; grid-row: span 2; }
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px; margin-top: 88px; }
  .room-gallery img:first-child { grid-row: auto; grid-column: span 2; }
  .room-facts { grid-template-columns: 1fr 1fr; }
  .room-facts div:nth-child(2) { border-right: 0; }
  .room-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .checklist { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .booking-bar { grid-template-columns: 1fr; }
  .booking-bar .field { border-right: 0; }
  .service { min-height: 400px; }
}

/* Room photo tour */
.room-gallery { position: relative; }
.gallery-more {
  position: absolute; right: 16px; bottom: 16px; background: var(--white); color: var(--ink);
  padding: 10px 18px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.gallery-more:hover { background: var(--ink); color: var(--cream); }
/* Photo tour: an even grid of same-size tiles, so mixed portrait and landscape shots line up. */
.photo-tour { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 16px; margin-top: 48px; }
.photo-tour figure { margin: 0; min-width: 0; }
.photo-tour img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; cursor: zoom-in; }
.photo-tour figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; line-height: 1.4; }
@media (max-width: 1024px) { .photo-tour { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .photo-tour { gap: 18px 8px; } .photo-tour img { aspect-ratio: 1; } .photo-tour figcaption { font-size: .75rem; } }

/* Video tour (click-to-play YouTube) */
.video { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video img { opacity: .7; transition: opacity .4s; }
.video:hover img { opacity: .85; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(168,99,77,.9); cursor: pointer; display: grid; place-items: center; transition: transform .3s; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
@media (max-width: 600px) { .video-play { width: 64px; height: 64px; } .video-play svg { width: 26px; height: 26px; } }

/* About: founder feature + single host card */
.host-quote { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; margin: 24px 0 0; padding-left: 20px; border-left: 2px solid var(--terracotta); color: var(--ink); }
.hosts--single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.contact-card a, .contact-card address { overflow-wrap: anywhere; }

/* Apartments dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav-dropdown:hover .chev, .nav-dropdown:focus-within .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: -24px; min-width: 240px; padding: 14px 0; margin-top: 18px;
  background: var(--cream); box-shadow: 0 18px 40px rgba(28,24,22,.14); border-top: 2px solid var(--terracotta);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-dropdown:hover .dropdown, .nav-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav .dropdown a { display: block; padding: 11px 24px; color: var(--ink) !important; white-space: nowrap; }
.nav .dropdown a::after { display: none; }
.nav .dropdown a:hover, .nav .dropdown a[aria-current="page"] { background: var(--sand); color: var(--terracotta) !important; }
.drawer .drawer-sub { list-style: none; padding: 6px 0 0; margin: 0; }
.drawer .drawer-sub li { margin: 0 0 6px; }
.drawer .drawer-sub li::before { content: none; }
.drawer .drawer-sub a { font-family: var(--sans, inherit); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.drawer li:has(.drawer-sub) { flex-wrap: wrap; }
.drawer .drawer-sub { flex-basis: 100%; padding-left: 40px; }
.drawer .drawer-sub li { counter-increment: none; display: block; }

/* Service posters (home) */
.posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.poster { display: block; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 14px 34px rgba(28,24,22,.12); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.poster:hover img { transform: scale(1.04); }
@media (max-width: 1000px) { .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .posters { grid-template-columns: minmax(0, 1fr); } }
/* Poster images in split layouts keep their own text, so drop the tag over them */
.split-media img[src*="svc-"] + .tag { display: none; }

/* Social icons and booking platforms */
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border: 1px solid #3a3330; border-radius: 50%; display: grid; place-items: center; color: #cfc5bb; transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.social svg { width: 18px; height: 18px; }
.social--dark a { border-color: var(--line); color: var(--ink); }
.platforms-label { margin: 22px 0 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.platform { padding: 8px 14px; border: 1px solid #3a3330; font-size: .85rem; letter-spacing: .04em; transition: background .2s, border-color .2s, color .2s; }
.platform:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--white) !important; }
.platforms--dark .platform { border-color: var(--line); color: var(--ink); }
.find-us { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; text-align: left; }
.find-us h4 { margin-bottom: 4px; }
.find-us .social { margin-top: 12px; }
.find-us .platforms { margin-top: 12px; }
@media (max-width: 600px) { .find-us { grid-template-columns: 1fr; } }

/* Guest reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.review { margin: 0; background: var(--white); padding: 32px; display: flex; flex-direction: column; }
.review-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.review-score { background: #003b95; color: #fff; font-weight: 500; padding: 6px 10px; border-radius: 8px 8px 8px 0; font-size: .95rem; }
.review-source { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); }
.review blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: var(--ink); flex: 1; }
.review figcaption strong { display: block; font-weight: 500; color: var(--ink); }
.review figcaption span { font-size: .88rem; color: #8a7f75; }
@media (max-width: 1000px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* Price table */
.price-table { max-width: 960px; margin: 48px auto 0; overflow-x: auto; }
.price-table table { width: 100%; border-collapse: collapse; background: var(--white); }
.price-table th, .price-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.price-table th { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--terracotta); }
.price-table td a { color: var(--terracotta); }
.price-table td:first-child { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.price-table td:first-child a { color: var(--ink); }
@media (max-width: 640px) { .price-table th:nth-child(2), .price-table td:nth-child(2), .price-table th:nth-child(4), .price-table td:nth-child(4) { display: none; } .price-table th, .price-table td { padding: 14px 12px; } }

/* ================= Motion layer ================= */
/* Intro curtain (only shown when JS motion is on) */
.curtain { display: none; }
.js-motion .curtain {
  display: flex; position: fixed; inset: 0; z-index: 200; background: #141110;
  flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.curtain img { height: 74px; width: auto; visibility: hidden; }
.curtain-line { width: 120px; height: 1px; background: var(--terracotta); transform-origin: left; transform: scaleX(0); }
.motion-ready .curtain:not([style]), .nn-return .curtain { display: none; }

/* Masked words */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw-i { display: inline-block; will-change: transform; }

/* Hero image is driven by GSAP instead of the CSS zoom */
.js-motion .hero-media img { animation: none; transform-origin: center; }
.js-motion .page-hero .hero-media { overflow: hidden; }

/* Header slides away on scroll down */
.site-header { transition: transform .5s cubic-bezier(.7,0,.2,1), background .3s, box-shadow .3s; }
.site-header.is-hidden { transform: translateY(-100%); }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; z-index: 120; pointer-events: none; }


/* Smoother, longer reveals */
.js-motion .reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transform: translateY(24px); }
.js-motion .reveal.in { transform: none; }

/* Button fill sweep */
.js-motion .btn {
  background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat;
  background-size: 100% 0; background-position: 50% 100%;
  transition: background-size .55s cubic-bezier(.7,0,.2,1), color .4s, border-color .4s;
}
.js-motion .btn:hover { background-color: transparent; background-size: 100% 100%; color: var(--cream); }
.js-motion .btn--primary:hover { background-color: var(--terracotta); border-color: var(--ink); color: var(--white); }
.js-motion .btn--light { background-image: linear-gradient(var(--cream), var(--cream)); }
.js-motion .btn--light:hover { color: var(--ink); }

/* Marquee band */
.marquee { overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; flex-shrink: 0; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--ink); white-space: nowrap; padding: 0 28px; }
.marquee i { font-style: normal; color: var(--terracotta); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Gentle image hover zoom on galleries */
.gallery img, .photo-tour img { transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; }
.gallery img:hover { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .site-header.is-hidden { transform: none; }
}

/* Online booking */
[hidden] { display: none !important; }
.avail { border: 1px solid var(--line); padding: 16px; margin-bottom: 4px; }
.avail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.avail-title { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.avail-nav { border: 1px solid var(--line); background: var(--white); width: 36px; height: 36px; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.avail-nav:disabled { opacity: .35; cursor: default; }
.avail-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.avail-month p { font-family: var(--serif); font-size: 1.2rem; text-align: center; margin: 0 0 8px; }
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.avail-grid b { font-size: .68rem; font-weight: 500; color: var(--muted); padding: 4px 0; }
.avail-grid button { aspect-ratio: 1; border: 0; background: var(--cream); font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; min-height: 32px; }
.avail-grid button:hover:not(:disabled) { outline: 1px solid var(--terracotta); }
.avail-grid button:disabled { background: transparent; color: #c4bab0; cursor: default; }
.avail-grid button.is-booked { background: transparent; color: #b5aaa0; text-decoration: line-through; cursor: not-allowed; }
.avail-grid button.is-picked, .avail-grid button.is-end { background: var(--terracotta); color: var(--white); text-decoration: none; }
.avail-key { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.avail-key i { display: inline-block; width: 12px; height: 12px; margin-right: -10px; vertical-align: -1px; }
.k-free { background: var(--cream); border: 1px solid var(--line); }
.k-booked { background: repeating-linear-gradient(135deg, transparent 0 3px, #c4bab0 3px 4px); border: 1px solid var(--line); }
.k-picked { background: var(--terracotta); }
.avail-status { margin: 12px 0 0; font-size: .95rem; min-height: 1em; }
.avail-status.is-free { color: #2f6b45; }
.avail-status.is-taken { color: #b0412e; }
.pay-note { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.pay-note svg { flex: none; margin-top: 3px; }

.booking-status { max-width: 640px; margin: 0 auto; }
.bs-details { text-align: left; background: var(--white); padding: 8px 28px; margin: 32px 0; }
.bs-details div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bs-details div:last-child { border-bottom: 0; }
.bs-details dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.bs-details dd { margin: 0; text-align: right; }
.bs-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.booking-status[data-state="ok"] .bs-title { color: var(--ink); }
.booking-status[data-state="error"] .bs-title { color: #b0412e; }

/* Admin dashboard */
.admin .admin-login { max-width: 420px; margin: 0 auto; display: grid; gap: 18px; }
.admin h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.admin h2 { margin-top: 56px; font-size: 1.9rem; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 24px 0; }
.admin-stats .stat { background: var(--white); padding: 20px; }
.admin-stats strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.admin-stats span { font-size: .8rem; color: var(--muted); }
.admin-filters { margin-bottom: 12px; font-size: .9rem; }
.table-wrap { overflow-x: auto; background: var(--white); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 880px; }
.admin-table th, .admin-table td { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; }
.admin-table small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.admin-table a { color: inherit; }
.admin-table code, .admin-feeds code { font-size: .8rem; word-break: break-all; }
.pill { display: inline-block; padding: 3px 10px; font-size: .75rem; background: var(--sand); }
.st-confirmed .pill { background: #dcebdf; color: #2f6b45; }
.st-conflict .pill, .st-review .pill { background: #f6d9d2; color: #b0412e; }
.st-cancelled { opacity: .55; }
.btn--sm { padding: 8px 14px; font-size: .7rem; }
.admin-block { margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.admin-blocks, .admin-feeds { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.admin-blocks li, .admin-feeds li { background: var(--white); padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.muted { color: var(--muted); }

/* ---------- Mobile fixes ---------- */
/* Always draw form controls in light colours, even when the phone is in dark mode */
:root { color-scheme: light; }
/* Stop the page sliding sideways on phones */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.drawer { visibility: hidden; transition: transform .4s ease, visibility 0s linear .4s; }
.drawer.open { visibility: visible; transition: transform .4s ease, visibility 0s; }

/* Hero booking bar on phones: a solid card with clear boxed fields */
.booking-bar input, .booking-bar select { -webkit-appearance: none; appearance: none; min-height: 44px; line-height: 1.2; color: var(--ink); opacity: 1; }
.booking-bar input::-webkit-date-and-time-value { text-align: left; }
@media (max-width: 720px) {
  .hero { min-height: auto; padding-top: 128px; }
  .hero .hero-media::after {
    background: linear-gradient(180deg, rgba(20,16,14,.55) 0%, rgba(20,16,14,.45) 45%, rgba(20,16,14,.92) 100%);
  }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero p { font-size: 1.02rem; }
  .booking-bar {
    grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; margin-top: 28px;
    background: var(--white); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  }
  .booking-bar .field { padding: 8px 12px 10px; border: 1px solid var(--line); background: var(--cream); gap: 2px; min-width: 0; }
  .booking-bar .field:nth-child(2) { border-right: 1px solid var(--line); }
  .booking-bar label { font-size: .62rem; letter-spacing: .16em; }
  .booking-bar input, .booking-bar select { font-family: var(--sans); font-size: 1rem; font-weight: 400; min-height: 32px; }
  .booking-bar .btn { grid-column: 1 / -1; padding: 16px; }
  .hero-content { padding-bottom: 32px; }
}
.booking-bar select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1816' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px;
  padding-right: 22px;
}

/* Cookie banner and consent placeholders */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--ink); color: var(--cream);
  border-top: 3px solid var(--terracotta); box-shadow: 0 -12px 40px rgba(0,0,0,.25);
  padding: 20px max(24px, calc((100vw - var(--max)) / 2 + 24px)) calc(20px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 16px 40px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .95rem; line-height: 1.6; max-width: 820px; color: #d9cfc4; }
.cookie-banner p strong { color: var(--cream); }
.cookie-banner a { color: #e2b29f; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 13px 26px; }
.cookie-banner .cookie-actions .btn:not(.btn--primary) { border-color: var(--cream); color: var(--cream); background-color: transparent; background-image: linear-gradient(var(--cream), var(--cream)); }
.cookie-banner .cookie-actions .btn:not(.btn--primary):hover { color: var(--ink); background-color: var(--cream); }
body:has(.cookie-banner:not([hidden])) .wa-float { bottom: 120px; }
@media (max-width: 860px) { body:has(.cookie-banner:not([hidden])) .wa-float { bottom: 190px; } }
@media (max-width: 860px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); gap: 12px; }
  .cookie-banner p { font-size: .84rem; line-height: 1.5; }
  .cookie-actions .btn { flex: 1; padding: 12px 10px; font-size: .68rem; }
}
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.footer-bottom a { text-decoration: underline; }
.map.consent-embed { display: flex; align-items: center; justify-content: center; background: var(--sand); filter: none; text-align: center; padding: 24px; }
.map.consent-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.1); }
.map.consent-embed:has(iframe) { padding: 0; }
.consent-ph p { margin: 0 0 18px; color: var(--muted); }
.consent-ph-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.prose h2 { font-size: 1.9rem; margin: 44px 0 12px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 10px; }
.prose a, .prose .link-btn { color: var(--terracotta); text-decoration: underline; }

/* Kids & families */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.photo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.photo-grid--2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.pg-item { margin: 0; overflow: hidden; aspect-ratio: 3/4; }
.photo-grid--4 .pg-item, .photo-grid--2 .pg-item { aspect-ratio: 9/16; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pg-item img:hover { transform: scale(1.03); }
.family-perks { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.family-perks li { background: var(--cream); padding: 28px 26px; display: flex; flex-direction: column; gap: 8px; }
.family-perks strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.family-perks span { color: var(--muted); line-height: 1.6; }
@media (max-width: 1024px) {
  .photo-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .family-perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .photo-grid > .pg-item:nth-child(3):last-child { grid-column: span 2; aspect-ratio: 4/3; }
  .family-perks { grid-template-columns: 1fr; }
}
