/* =========================================================
   KASHA BOUTIQUE HOTEL - Redesign
   Modern, minimal, quiet luxury
   ========================================================= */

:root {
  --ivory: #F7F3EC;
  --sand: #EDE5D8;
  --sand-deep: #DCCFBB;
  --ink: #1C2526;
  --ink-soft: #4A5556;
  --ocean: #24494D;
  --ocean-deep: #16302F;
  --brass: #A8834F;
  --line: rgba(28, 37, 38, 0.14);
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 12vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(44px, 7.5vw, 104px); font-weight: 300; }
h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 300; }
h3 { font-size: clamp(26px, 2.6vw, 34px); }
em { font-style: italic; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 60ch; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ocean-deep); color: var(--ivory); }
.section--dark .lead, .section--dark p { color: rgba(247, 243, 236, .78); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase;
  padding: 18px 34px;
  border: 1px solid currentColor;
  background: transparent; color: inherit;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--solid:hover { background: var(--brass); border-color: var(--brass); }
.btn--light { color: var(--ivory); }
.btn--light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.link-arrow {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  border-bottom: 1px solid var(--brass); padding-bottom: 6px;
  transition: color .3s;
}
.link-arrow:hover { color: var(--brass); }

/* ---------- Photo placeholders ----------
   Every <div class="photo" data-src="images/xxx.jpg"> shows a labelled
   sand-coloured box until you put a photo with that exact file name in
   the /images folder. Then the photo appears automatically. */
.photo {
  position: relative;
  background: linear-gradient(135deg, var(--sand-deep), var(--sand));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.photo > .ph-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px; text-align: center;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(28, 37, 38, .55);
  border: 1px dashed rgba(28, 37, 38, .22);
  margin: 14px;
}
.photo > .ph-label::before {
  content: ""; width: 34px; height: 26px;
  border: 1px solid rgba(28, 37, 38, .4); border-radius: 3px;
  background: radial-gradient(circle at 50% 55%, transparent 6px, rgba(28,37,38,.4) 6px 7px, transparent 7px);
}
.photo.has-img > .ph-label { display: none; }
.photo.has-img { background-color: var(--ink); }
.ratio-hero { position: absolute; inset: 0; }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-land { aspect-ratio: 4 / 3; }
.ratio-port { aspect-ratio: 4 / 5; }
.ratio-tall { aspect-ratio: 3 / 4; }
.ratio-sq { aspect-ratio: 1 / 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
  color: var(--ivory);
  padding: 26px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.scrolled, .header.solid {
  background: rgba(247, 243, 236, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink);
  padding: 16px 0;
  box-shadow: 0 1px 0 var(--line);
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-size: 30px; letter-spacing: .32em; font-weight: 400; }
.logo__sub { font-size: 9px; letter-spacing: .42em; text-transform: uppercase; margin-top: 6px; opacity: .8; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a:not(.btn) {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: 13px 24px; }
.header:not(.scrolled):not(.solid) .nav .btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.burger {
  display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0;
  cursor: pointer; color: inherit; position: relative; z-index: 60;
}
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--ivory);
  padding-bottom: clamp(60px, 10vh, 120px);
}
.hero--short { min-height: 72vh; min-height: 72svh; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,48,47,.45) 0%, rgba(22,48,47,.08) 40%, rgba(22,48,47,.6) 100%);
  pointer-events: none;
}
.hero .photo.ratio-hero { background: linear-gradient(160deg, #3C6A6D, #1E3B3C); }
.hero .photo.ratio-hero > .ph-label { color: rgba(247,243,236,.6); border-color: rgba(247,243,236,.3); z-index: 1; }
.hero .photo.ratio-hero > .ph-label::before { border-color: rgba(247,243,236,.5); background: radial-gradient(circle at 50% 55%, transparent 6px, rgba(247,243,236,.5) 6px 7px, transparent 7px); }
.hero__content { position: relative; z-index: 2; }
.hero__content .eyebrow { color: var(--ivory); opacity: .85; }
.hero h1 { max-width: 13ch; margin-bottom: 30px; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 44px; }
.hero__row p { max-width: 42ch; margin: 0; font-size: 18px; opacity: .9; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 2;
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: currentColor; animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Booking bar ---------- */
.booking-bar {
  position: relative; z-index: 5;
  background: var(--white);
  margin-top: -54px;
  box-shadow: 0 30px 60px -30px rgba(22, 48, 47, .25);
}
.booking-bar form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
}
.field { padding: 20px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.field input, .field select, .field textarea {
  border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink);
  padding: 4px 0; outline: none; width: 100%; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.booking-bar .btn { border: 0; padding: 0 40px; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.stack-photos { position: relative; padding-bottom: 18%; }
.stack-photos .photo:first-child { width: 78%; }
.stack-photos .photo:last-child {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border: 10px solid var(--ivory);
}
.section--sand .stack-photos .photo:last-child { border-color: var(--sand); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; padding-top: 36px; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(40px, 4vw, 54px); line-height: 1; color: var(--ocean); }
.stat__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Room cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.room-card { display: block; }
.room-card .photo { transition: transform 1.2s var(--ease); }
.room-card__media { overflow: hidden; margin-bottom: 26px; }
.room-card:hover .photo { transform: scale(1.04); }
.room-card__meta { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.room-card h3 { margin-bottom: 10px; }
.room-card p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Feature band ---------- */
.band { position: relative; min-height: 80vh; display: flex; align-items: center; color: var(--ivory); }
.band .photo.ratio-hero { background: linear-gradient(160deg, #2F5256, #16302F); }
.band .photo.ratio-hero > .ph-label { color: rgba(247,243,236,.6); border-color: rgba(247,243,236,.3); }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(22,48,47,.42); pointer-events: none; }
.band__content { position: relative; z-index: 2; max-width: 640px; }
.band__content .eyebrow { color: var(--ivory); opacity: .85; }
.band__content p { opacity: .9; }

/* ---------- Experiences grid ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.exp { position: relative; color: var(--ivory); overflow: hidden; }
.exp .photo { background: linear-gradient(160deg, #3A6468, #1E3B3C); }
.exp .photo > .ph-label { color: rgba(247,243,236,.6); border-color: rgba(247,243,236,.3); align-items: center; justify-content: flex-start; padding-top: 30%; }
.exp__txt {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px;
  background: linear-gradient(0deg, rgba(22,48,47,.85), transparent);
}
.exp__txt h3 { font-size: 26px; margin: 0 0 4px; }
.exp__txt span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity { padding: 40px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amenity svg { width: 34px; height: 34px; stroke: var(--brass); fill: none; stroke-width: 1.2; margin-bottom: 22px; }
.amenity h4 { font-size: 22px; margin-bottom: 6px; }
.amenity p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- Testimonials ---------- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.35;
  font-style: italic; font-weight: 300; margin: 0 0 30px;
}
.quote cite { font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.quote-dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.quote-dots button { width: 30px; height: 2px; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.quote-dots button.on { background: var(--brass); }
.quote-slide { display: none; }
.quote-slide.on { display: block; animation: fade .9s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery .photo { height: 100%; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* ---------- Room detail blocks (rooms page) ---------- */
.room-detail { padding: clamp(60px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.room-detail:last-child { border-bottom: 0; }
.room-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.room-photos .photo:first-child { grid-row: span 2; }
.room-photos .photo { height: 100%; min-height: 180px; }
.room-photos .photo:first-child { min-height: 460px; }
.facts { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.facts li { font-size: 15px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 1px; background: var(--brass); }
.tag { display: inline-block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 14px; margin-bottom: 20px; color: var(--ocean); }

/* ---------- Menu-like lists (dining/spa) ---------- */
.list-lines { list-style: none; padding: 0; margin: 0; }
.list-lines li { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.list-lines li strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.list-lines li span { font-size: 14px; color: var(--ink-soft); text-align: right; }
.section--dark .list-lines li { border-color: rgba(247,243,236,.15); }
.section--dark .list-lines li span { color: rgba(247,243,236,.65); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin-top: 30px; }
.contact-info dd { margin: 6px 0 0; font-family: var(--serif); font-size: 26px; }
.enquiry { background: var(--white); padding: clamp(28px, 4vw, 56px); }
.enquiry .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.enquiry .field { border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
.enquiry textarea { min-height: 110px; resize: vertical; }
.enquiry .btn { margin-top: 30px; }
.map-ph { margin-top: 60px; }

/* ---------- CTA & footer ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto 36px; }
.footer { background: var(--ink); color: rgba(247,243,236,.72); padding: 90px 0 36px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: var(--ivory); margin-bottom: 24px; }
.footer h5 { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin: 0 0 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--ivory); }
.footer__bottom { margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(247,243,236,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; }

/* Floating WhatsApp */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ocean); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), background .3s;
}
.wa:hover { transform: translateY(-3px); background: var(--brass); }
.wa svg { width: 26px; height: 26px; fill: currentColor; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .booking-bar form { grid-template-columns: 1fr 1fr; }
  .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: 22px; justify-content: center; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    background: var(--ivory); color: var(--ink);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 34px; letter-spacing: .02em; text-transform: none; }
  .nav .btn { margin-top: 14px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .header { color: var(--ink); }
  .menu-open { overflow: hidden; }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .room-grid { grid-template-columns: 1fr; gap: 56px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .room-photos { grid-template-columns: 1fr 1fr; }
  .room-photos .photo:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
  .room-photos .photo { min-height: 150px; }
  .scroll-cue { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo__name { font-size: 24px; }
  .booking-bar { margin-top: 0; box-shadow: none; }
  .booking-bar form { grid-template-columns: 1fr; }
  .booking-bar .field { border-right: 0; }
  .exp-grid, .amenities, .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat__label { font-size: 10px; letter-spacing: .12em; }
  .facts, .enquiry .grid2 { grid-template-columns: 1fr; }
  .hero__row .btn { width: 100%; justify-content: center; }
  .list-lines li { flex-direction: column; gap: 4px; }
  .list-lines li span { text-align: left; }
  .stack-photos .photo:last-child { border-width: 6px; }
  .wa { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}

/* Keep hero/band photo labels clear of the headline */
.hero .photo.ratio-hero > .ph-label, .band .photo.ratio-hero > .ph-label { justify-content: flex-start; padding-top: 130px; }
.scroll-cue { bottom: 110px; }
@media (max-width: 600px) { .stack-photos .photo:last-child { width: 56%; } }

/* Real photos always fill their frame (cropped to fit, never stretched or overflowing) */
.photo.has-img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.hero, .band, .exp { overflow: hidden; }

/* Big photo sections grow with the screen width so a normal landscape (3:2) photo
   shows almost entirely instead of being heavily cropped */
.hero:not(.hero--short) { min-height: max(100svh, 66.66vw); }
.band { min-height: max(80vh, 66.66vw); }
@media (min-width: 1600px) {
  .hero:not(.hero--short) { min-height: 100svh; }
  .band { min-height: 90vh; }
}

/* Experience cards: square frames suit both portrait and landscape photos */
.exp .photo.ratio-port { aspect-ratio: 1 / 1; }
.exp .photo > .ph-label { padding-top: 14%; }
.band .lead, .hero .lead { color: rgba(247, 243, 236, .92); }
.band::after { background: rgba(22, 48, 47, .5); }

/* =========================================================
   Brand logo
   ========================================================= */
:root { --logo-cyan: #0B98C0; --logo-orange: #F4A94E; }
.logo { flex-direction: row; align-items: center; gap: 14px; position: relative; z-index: 60; }
.logo__mark { height: 46px; width: auto; flex: none; transition: filter .5s var(--ease), height .5s var(--ease); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo .logo__name {
  font-family: "Cinzel Decorative", var(--serif); font-weight: 400;
  font-size: 21px; letter-spacing: .02em; transition: color .5s var(--ease);
}
.logo .logo__sub {
  font-family: "Montserrat", var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: none; margin-top: 7px; opacity: .9;
  transition: color .5s var(--ease);
}
/* Over the hero photo: white logo */
.header:not(.scrolled):not(.solid) .logo__mark { filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
.header:not(.scrolled):not(.solid) .logo__text { text-shadow: 0 1px 8px rgba(0,0,0,.25); }
/* On light header: original brand colours */
.header.scrolled .logo__name, .header.solid .logo__name, .menu-open .header .logo__name { color: var(--logo-cyan); }
.header.scrolled .logo__sub, .header.solid .logo__sub, .menu-open .header .logo__sub { color: var(--logo-cyan); }
.menu-open .header .logo__mark { filter: none !important; }
.menu-open .header .logo__text { text-shadow: none !important; }
.header.scrolled .logo__mark { height: 40px; }

/* Footer: stacked, like the original logo */
.logo--stacked { flex-direction: column; align-items: flex-start; gap: 16px; }
.footer .logo--stacked .logo__mark { height: 64px; }
.footer .logo .logo__name { color: #3FB6D8; font-size: 20px; }
.footer .logo .logo__sub { color: rgba(247,243,236,.7); }

/* CTA mark */
.cta__mark { height: 52px; width: auto; margin: 0 auto 26px; display: block; }

@media (max-width: 600px) {
  .logo { gap: 10px; }
  .logo__mark { height: 38px; }
  .header.scrolled .logo__mark { height: 34px; }
  .logo .logo__name { font-size: 15px; }
  .logo .logo__sub { font-size: 9.5px; margin-top: 5px; }
}

/* =========================================================
   Photo frames matched to landscape (3:2) photos - inner pages
   ========================================================= */
/* Page heroes (Rooms, Dining, Experiences) show most of the photo */
.hero--short { min-height: max(72svh, 60vw); }
@media (min-width: 1600px) { .hero--short { min-height: 85vh; } }

/* Room galleries: one large photo on top, two below, all 3:2 */
.room-photos { grid-template-columns: 1fr 1fr; gap: 12px; }
.room-photos .photo,
.room-photos .photo:first-child { min-height: 0; height: auto; aspect-ratio: 3 / 2; grid-row: auto; }
.room-photos .photo:first-child { grid-column: 1 / -1; }

/* Dining / bar: landscape frames */
.stack-photos .photo.ratio-land:first-child { width: 86%; }
.stack-photos .photo.ratio-land:last-child { width: 50%; }
.stack-photos:has(.ratio-land) { padding-bottom: 22%; }

/* Logo - stacked like the original: flower on top, name below, compact */
.logo, .logo--stacked { flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.logo__text { align-items: center; }
.logo__mark, .header.scrolled .logo__mark { height: 30px; }
.logo .logo__name { font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.logo .logo__sub { font-size: 8.5px; margin-top: 4px; letter-spacing: .1em; white-space: nowrap; }
.header.scrolled .logo__mark { height: 26px; }
.header.scrolled .logo { gap: 3px; }
/* Footer: same stacked logo, a little larger */
.footer .logo--stacked { display: inline-flex; gap: 8px; }
.footer .logo--stacked .logo__mark { height: 44px; }
.footer .logo .logo__name { font-size: 15px; }
.footer .logo .logo__sub { font-size: 10px; }
@media (max-width: 600px) {
  .logo__mark, .header.scrolled .logo__mark { height: 26px; }
  .logo .logo__name { font-size: 12px; }
  .logo .logo__sub { font-size: 8px; }
}

/* Dining page: Sama photos keep their own shape (see data-fit in main.js) */
.ratio-32 { aspect-ratio: 3 / 2; }
.stack-photos .photo[data-fit]:first-child { width: 72%; }
.stack-photos .photo[data-fit]:last-child { width: 52%; }
.stack-photos:has([data-fit]) { padding-bottom: 20%; }
/* No overlap in the Sama section: photos sit side by side, fully visible */
.stack-photos:has([data-fit]) {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: end; padding-bottom: 0;
}
.stack-photos .photo[data-fit]:first-child,
.stack-photos .photo[data-fit]:last-child { width: 100%; position: static; border: 0; }

/* =========================================================
   Booking page
   ========================================================= */
.booking-page { padding-top: 110px; }
.booking-intro { padding-top: clamp(40px, 6vw, 80px); }
.booking-head { max-width: 720px; margin-bottom: 44px; }
.booking-head h1 { font-size: clamp(44px, 6vw, 80px); }
.booking-bar--page { margin-top: 0; display: grid; grid-template-columns: repeat(4, 1fr) auto; box-shadow: 0 30px 60px -36px rgba(22, 48, 47, .3); }
.booking-bar--page .btn { border: 0; padding: 0 34px; }
.engine-card { margin-top: 28px; background: var(--white); border: 1px solid var(--line); }
.engine-card__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ocean);
}
.engine-card__secure { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.engine-card__secure::before {
  content: ""; width: 9px; height: 7px; border: 1.5px solid currentColor; border-radius: 1px;
  box-shadow: 0 -4px 0 -1.5px var(--white), 0 -5px 0 -1.5px currentColor; margin-top: 3px;
}
#webDiv { min-height: 600px; padding: 8px; }
#webDiv iframe { display: block; width: 100% !important; border: 0 !important; }
.engine-fallback { padding: 50px 30px; text-align: center; }
.engine-fallback .btn { margin-top: 10px; }
.booking-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--line); }
.booking-help h4 { font-size: 24px; margin-bottom: 10px; }
.booking-help p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.booking-help a { color: var(--ocean); border-bottom: 1px solid var(--line); }
@media (max-width: 1080px) {
  .booking-bar--page { grid-template-columns: 1fr 1fr; }
  .booking-bar--page .field:nth-child(2) { border-right: 0; }
  .booking-bar--page .field { border-bottom: 1px solid var(--line); }
  .booking-bar--page .btn { grid-column: 1 / -1; padding: 22px; justify-content: center; }
}
@media (max-width: 700px) {
  .booking-help { grid-template-columns: 1fr; gap: 28px; }
  #webDiv { padding: 0; }
  .engine-card__bar { padding: 14px 16px; font-size: 10px; letter-spacing: .14em; }
}
@media (max-width: 600px) {
  .booking-bar--page { grid-template-columns: 1fr 1fr; }
  .booking-bar--page .field { border-right: 0; }
  .booking-bar--page .field:nth-child(odd) { border-right: 1px solid var(--line); }
}
.booking-bar--page { width: 100%; max-width: 100%; }
.booking-bar--page .field { min-width: 0; }
.booking-bar--page input, .booking-bar--page select { min-width: 0; max-width: 100%; }
#webDiv[hidden] { display: none; }
@media (max-width: 600px) { .booking-bar--page .field { padding: 16px 18px; } }
/* Booking frame: never collapse to the browser's tiny default height */
#webDiv iframe { min-height: 900px; }
/* When Hotelogix reports its height, follow it exactly */
#webDiv.auto-height { min-height: 0; }
#webDiv.auto-height iframe { min-height: 0 !important; transition: height .3s ease; }

/* Booking bars with Infants: 5 fields + button */
.booking-bar form, .booking-bar--page { grid-template-columns: 1.25fr 1.25fr 1fr 1fr 1fr auto; }
@media (max-width: 1080px) {
  .booking-bar form, .booking-bar--page { grid-template-columns: repeat(6, 1fr); }
  .booking-bar form .field, .booking-bar--page .field { grid-column: span 2; border-right: 1px solid var(--line); }
  .booking-bar form .field:nth-child(-n+2), .booking-bar--page .field:nth-child(-n+2) { grid-column: span 3; }
  .booking-bar form .field:nth-child(2), .booking-bar form .field:nth-child(5),
  .booking-bar--page .field:nth-child(2), .booking-bar--page .field:nth-child(5) { border-right: 0; }
  .booking-bar form .btn, .booking-bar--page .btn { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .booking-bar form .field, .booking-bar--page .field { padding: 14px 14px; }
  .booking-bar form .field label, .booking-bar--page .field label { letter-spacing: .14em; }
}

/* Fix: blur on the header itself traps the full-screen mobile menu.
   Put the solid/blurred background on a separate layer instead. */
.header.scrolled, .header.solid {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 243, 236, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .5s var(--ease);
  pointer-events: none;
}
.header.scrolled::before, .header.solid::before { opacity: 1; }
.menu-open .wa { opacity: 0; pointer-events: none; }
/* Only the header logo needs to sit above the open menu */
.footer .logo { position: static; z-index: auto; }

/* Contact form: spam trap (hidden from people) and status messages */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
#turnstile-box:not(:empty) { margin-top: 24px; }
.form-status { margin: 22px 0 0; padding: 14px 18px; font-size: 15px; border-left: 2px solid var(--brass); background: var(--ivory); }
.form-status--success { border-color: var(--ocean); color: var(--ocean); }
.form-status--error { border-color: #B5523B; color: #8A3B2A; }
.enquiry button[disabled] { opacity: .65; cursor: default; }
.enquiry { position: relative; }

/* =========================================================
   Room galleries
   ========================================================= */
.room-photos .photo.is-clickable { cursor: zoom-in; }
.room-photos .photo.is-clickable::after {
  content: ""; position: absolute; inset: 0; background: rgba(22, 48, 47, 0);
  transition: background .4s var(--ease);
}
.room-photos .photo.is-clickable:hover::after { background: rgba(22, 48, 47, .12); }
.room-photos .photo:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.gallery-more {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  background: rgba(22, 48, 47, .55); color: var(--ivory);
  font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); pointer-events: none;
}
.gallery-open {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--ink);
  font: inherit; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid var(--brass);
}
.gallery-open:hover { color: var(--brass); }
.gallery-open__icon { width: 16px; height: 12px; border: 1px solid currentColor; border-radius: 1px; position: relative; }
.gallery-open__icon::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 4px; border-top: 1px solid currentColor; transform: skewY(-20deg); }

/* Full-screen viewer */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(16, 24, 24, .97); color: var(--ivory);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }
.lightbox__top { display: flex; align-items: center; gap: 20px; padding: 16px clamp(16px, 3vw, 32px); }
.lightbox__title { font-family: var(--serif); font-size: 22px; }
.lightbox__count { font-size: 12px; letter-spacing: .2em; opacity: .7; }
.lightbox__close {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: inherit;
  font-size: 34px; line-height: 1; cursor: pointer; opacity: .85;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(8px, 6vw, 90px); }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s ease; user-select: none; }
.lightbox__img.is-in { opacity: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(247, 243, 236, .35); background: rgba(16, 24, 24, .4); color: var(--ivory); cursor: pointer;
}
.lightbox__nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; }
.lightbox__nav--prev { left: clamp(8px, 2vw, 24px); }
.lightbox__nav--prev::before { transform: translate(-30%, -50%) rotate(135deg); }
.lightbox__nav--next { right: clamp(8px, 2vw, 24px); }
.lightbox__nav--next::before { transform: translate(-70%, -50%) rotate(-45deg); }
.lightbox__nav:hover { background: rgba(247, 243, 236, .15); }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px clamp(16px, 3vw, 32px) 20px; justify-content: safe center; scrollbar-width: thin; }
.lightbox__thumbs button {
  flex: none; width: 76px; height: 52px; border: 1px solid transparent; padding: 0; cursor: pointer;
  background-size: cover; background-position: center; opacity: .5; transition: opacity .2s;
}
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button.on { opacity: 1; border-color: var(--brass); }
.lightbox--single .lightbox__nav, .lightbox--single .lightbox__thumbs { display: none; }
@media (max-width: 700px) {
  .lightbox__nav { width: 42px; height: 42px; background: rgba(16, 24, 24, .55); }
  .lightbox__thumbs button { width: 58px; height: 40px; }
  .lightbox__title { font-size: 18px; }
}
.lightbox { background: #101818; }
body.lightbox-open .wa { opacity: 0; pointer-events: none; }

/* Contact page map */
.map-box { background: var(--white); border: 1px solid var(--line); }
.map-frame { position: relative; aspect-ratio: 16 / 9; background: var(--sand); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; }
.map-bar p { margin: 6px 0 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 700px) {
  .map-frame { aspect-ratio: 4 / 5; }
  .map-bar { flex-direction: column; align-items: flex-start; padding: 20px; }
  .map-bar .btn { width: 100%; justify-content: center; }
}

/* Reviews section: Tripadvisor award */
.quote__title { margin-bottom: 34px; }
.ta-award { display: flex; justify-content: center; margin: 0 auto 18px; min-height: 120px; }
.ta-award .TA_links { list-style: none; margin: 0; padding: 0; }
.ta-award img { max-width: 160px; height: auto; }
.ta-link { margin: 0 0 46px; }
/* Review source line under each quote */
.quote cite { display: block; }
.quote-src { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); text-transform: none; }
.quote-src a { color: inherit; border-bottom: 1px solid var(--line); }
.quote-src a:hover { color: var(--brass); }
.quote .ta-award { margin-top: 56px; }
.quote .ta-link { margin: 0; }

/* Photos as real images (SEO): fill the frame like the old background images */
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.photo.has-img { background: none; }
.photo .gallery-more { z-index: 2; }
.room-photos .photo.is-clickable::after { z-index: 1; }

/* Phones and tablets: booking continues on the full-screen Hotelogix page */
.engine-mobile { padding: 34px 24px 38px; text-align: center; }
.engine-mobile p { margin: 0 auto; max-width: 440px; color: var(--ink-soft); font-size: 15px; }
.engine-mobile strong { color: var(--ocean); font-weight: 500; }
html.handoff body > * { visibility: hidden; }
html.handoff body::after {
  content: "Opening secure booking";
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ocean); background: var(--white);
}
