@import url("fonts.css");

/* =========================================================
   Kendwa Sky Hotel — design system
   Palette drawn from the property itself: the copper dhow-sail
   logo, makuti thatch, lime-washed sand walls, the lit pool at
   night and the Zanzibar sky above it.
   ========================================================= */

:root {
  /* Core palette */
  --night:      #101a2b;
  --night-2:    #16233a;
  --night-3:    #1e3050;
  --ink:        #1b1a17;
  --ink-soft:   #4a4640;

  --copper:     #b0703f;
  --copper-lt:  #d69a63;
  --copper-dk:  #8a5430;

  --sand:       #f6f0e6;
  --sand-2:     #efe6d7;
  --sand-3:     #e2d5be;
  --cream:      #fdfaf5;

  --lagoon:     #2a94a8;
  --lagoon-lt:  #4fb9cb;

  --line:       rgba(27, 26, 23, 0.14);
  --line-dark:  rgba(246, 240, 230, 0.18);

  /* Type */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Jost", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --shell: 1240px;
  --section: clamp(4.5rem, 10vw, 9rem);

  --r-arch: 50% 50% 6px 6px / 34% 34% 6px 6px;
  --shadow: 0 24px 60px -28px rgba(16, 26, 43, 0.5);
  --shadow-lg: 0 40px 90px -40px rgba(16, 26, 43, 0.65);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--copper); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.5vw, 5.75rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--copper);
  opacity: 0.65;
  flex: none;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--copper);
  opacity: 0.65;
  flex: none;
}

.lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.62;
  color: var(--ink-soft);
  font-weight: 300;
}

.script {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
}

/* ---------- Layout ---------- */
.shell {
  width: min(100% - (var(--gut) * 2), var(--shell));
  margin-inline: auto;
}
.shell--wide { --shell: 1500px; }
.shell--narrow { --shell: 820px; }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--night {
  background: var(--night);
  color: var(--sand);
}
.section--night .lede,
.section--night p { color: rgba(246, 240, 230, 0.74); }
.section--night .eyebrow { color: var(--copper-lt); }
.section--night .eyebrow::before,
.section--night .eyebrow::after { background: var(--copper-lt); }

.section--sand { background: var(--sand); }

.centered { text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered .eyebrow::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
  flex: none;
}
.measure { max-width: 62ch; }
.centered .measure { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--copper-dk);
  border-color: var(--copper-dk);
  box-shadow: 0 14px 30px -14px rgba(138, 84, 48, 0.75);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  box-shadow: none;
}
.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--sand);
  border-color: rgba(246, 240, 230, 0.4);
}
.btn--light:hover {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--night);
  box-shadow: none;
}
.btn--sm { padding: 0.75rem 1.5rem; font-size: 0.7rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.centered .btn-row { justify-content: center; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--copper);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(176, 112, 63, 0.35);
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.textlink:hover { gap: 1rem; border-color: var(--copper); }
.textlink .arrow { transition: transform 0.3s var(--ease); }
.textlink:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 1.15rem;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease),
              box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(253, 250, 245, 0.94);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  padding-block: 0.7rem;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -30px rgba(16, 26, 43, 0.7);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--sand);
  transition: color 0.45s var(--ease);
}
.is-stuck .brand, .site-header--solid .brand { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark path, .brand__mark line { transition: stroke 0.45s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: 0.06em;
}
.brand__sub {
  font-size: 0.53rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 0.28rem;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sand);
  padding-block: 0.3rem;
  transition: color 0.45s var(--ease);
}
.is-stuck .nav__link, .site-header--solid .nav__link { color: var(--ink-soft); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link[aria-current="page"] { color: var(--copper); }
.is-stuck .nav__link[aria-current="page"] { color: var(--copper); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: none;
  border: 1px solid rgba(246, 240, 230, 0.35);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: border-color 0.45s var(--ease);
}
.is-stuck .nav-toggle { border-color: var(--line); }
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px; height: 1px;
  background: var(--sand);
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease),
              background 0.45s var(--ease);
}
.is-stuck .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

/* Solid header for interior pages */
.site-header--solid {
  position: sticky;
  background: rgba(253, 250, 245, 0.94);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line);
}
.site-header--solid .nav-toggle { border-color: var(--line); }
.site-header--solid .nav-toggle span { background: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--night);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    clip-path: circle(0% at calc(100% - 46px) 46px);
    transition: clip-path 0.65s var(--ease);
    pointer-events: none;
  }
  .nav.is-open {
    clip-path: circle(150% at calc(100% - 46px) 46px);
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; text-align: center; gap: 1.6rem; }
  .nav__link, .is-stuck .nav__link {
    color: var(--sand);
    font-size: 1rem;
    letter-spacing: 0.22em;
  }
  .nav .btn { align-self: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(3rem, 8vh, 5rem);
  color: var(--sand);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 26s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.15) translate3d(-1.5%, -1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: scale(1.06); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* readability scrim behind the headline column */
    linear-gradient(to right, rgba(8, 13, 24, 0.82) 0%, rgba(8, 13, 24, 0.55) 38%, rgba(8, 13, 24, 0.12) 68%, transparent 100%),
    linear-gradient(to top, rgba(10, 16, 28, 0.92) 0%, rgba(10, 16, 28, 0.4) 45%, rgba(10, 16, 28, 0.6) 100%),
    radial-gradient(120% 80% at 50% 100%, rgba(176, 112, 63, 0.2), transparent 60%);
}
@media (max-width: 760px) {
  .hero__media::after {
    background:
      linear-gradient(to top, rgba(10, 16, 28, 0.94) 0%, rgba(10, 16, 28, 0.62) 55%, rgba(10, 16, 28, 0.72) 100%);
  }
}

.hero__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.hero__title { margin: 0 0 1.2rem; }
.hero__title .line { display: block; }
.hero__title em {
  font-style: italic;
  color: var(--copper-lt);
}
.hero__sub {
  max-width: 46ch;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
  color: rgba(246, 240, 230, 0.82);
  margin-bottom: 2.2rem;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(246, 240, 230, 0.2);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.25rem);
}
.fact__k {
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--copper-lt);
}
.fact__v {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 0.5rem;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1.15rem;
  background: rgba(246, 240, 230, 0.09);
  border: 1px solid rgba(246, 240, 230, 0.22);
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* Only give hover feedback when the badge is actually a link. It renders as a
   plain <div> now that it no longer points anywhere. */
a.score-badge:hover {
  background: rgba(246, 240, 230, 0.16);
  border-color: rgba(246, 240, 230, 0.4);
}
.score-badge__num {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--copper-lt);
}
.score-badge__txt { line-height: 1.35; }
.score-badge__txt strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.score-badge__txt span {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.66;
}

@media (max-width: 700px) {
  .hero { min-height: auto; padding-block: 8rem 3.5rem; }
  .hero__sub { margin-bottom: 1.75rem; }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .hero__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .fact__k { font-size: 1.35rem; }
  .fact__v { font-size: 0.56rem; letter-spacing: 0.14em; margin-top: 0.35rem; }
  .score-badge { align-self: flex-start; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, transparent, rgba(246, 240, 230, 0.55));
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--copper-lt);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; opacity: 0.5; } }

/* ---------- Page banner (interior pages) ---------- */
.page-head {
  position: relative;
  padding-block: clamp(5rem, 12vw, 8.5rem) clamp(3.5rem, 8vw, 5.5rem);
  background: var(--night);
  color: var(--sand);
  overflow: hidden;
  isolation: isolate;
}
.page-head__media { position: absolute; inset: 0; z-index: -1; opacity: 0.42; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16,26,43,0.7), rgba(16,26,43,0.92));
}
.page-head h1 { margin-bottom: 0.35em; }
.page-head .lede { color: rgba(246, 240, 230, 0.78); max-width: 58ch; }
.page-head .eyebrow { color: var(--copper-lt); }
.page-head .eyebrow::before { background: var(--copper-lt); }

.crumbs {
  display: flex;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 2rem;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--copper-lt); }

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--night-2);
  color: var(--sand);
  padding-block: 1.4rem;
  overflow: hidden;
  border-block: 1px solid rgba(246, 240, 230, 0.1);
}
.strip__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: slide 38s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }
@keyframes slide { to { transform: translateX(-50%); } }
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
}
.strip__item::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--copper-lt);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Split / intro ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.split__media { position: relative; }
.arch {
  border-radius: var(--r-arch);
  overflow: hidden;
  box-shadow: var(--shadow);
}
/* height:auto lets aspect-ratio actually govern the box. Without it the img's
   height attribute wins, the arch grows to the photo's pixel height, and every
   source gets needlessly upscaled to fill it (object-fit:cover hides the
   stretch by cropping, so it reads as blur rather than distortion). */
.arch img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* .stack-img is absolutely positioned, so whatever wraps it MUST establish a
   containing block. Without this, it resolves against the viewport and its
   percentage width blows up to page scale. body{overflow-x:hidden} hides the
   resulting scrollbar, so the breakage is visual only and easy to miss. */
:has(> .stack-img) { position: relative; }

.stack-img {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 46%;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream);
}
.stack-img img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 520px) { .stack-img { right: -4%; bottom: -8%; width: 42%; border-width: 4px; } }

.signature {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--copper);
  margin-top: 2rem;
}
.signature small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* ---------- Feature cards ---------- */
.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.feature {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  isolation: isolate;
  min-height: clamp(360px, 46vw, 480px);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--sand);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.feature__media { position: absolute; inset: 0; z-index: -2; }
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.07); }
.feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 30, 0.88) 8%, rgba(12, 18, 30, 0.28) 52%, rgba(12, 18, 30, 0.12) 100%);
}
.feature__body { position: relative; }
.feature__body h3 { margin-bottom: 0.4rem; }
.feature__body p {
  font-size: 0.94rem;
  color: rgba(246, 240, 230, 0.78);
  margin: 0;
}
.feature__num {
  position: absolute;
  top: clamp(1.25rem, 3vw, 2rem);
  right: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--copper-lt);
  opacity: 0.9;
}

/* ---------- Amenity list ---------- */
.amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.section--night .amenities { border-color: var(--line-dark); }
.amenities li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.section--night .amenities li { border-color: var(--line-dark); }
.amenities li svg { flex: none; color: var(--copper); }
.section--night .amenities li svg { color: var(--copper-lt); }

/* ---------- Room ---------- */
.room {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 880px) { .room { grid-template-columns: 1fr; } }

.room__specs {
  list-style: none;
  margin: 1.75rem 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.room__specs li {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}
.section--night .room__specs li {
  border-color: var(--line-dark);
  color: rgba(246, 240, 230, 0.8);
}

/* ---------- Rate cards (rooms & rates) ---------- */
.rates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.rate-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.rate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.rate-card__media { overflow: hidden; }
.rate-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.rate-card:hover .rate-card__media img { transform: scale(1.05); }
.rate-card__body {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rate-card__body h3 { margin-bottom: 0.5rem; }
.rate-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.rate-card__amount {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  line-height: 1;
  color: var(--copper);
}
.rate-card__unit {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rate-card__specs {
  list-style: none;
  margin: 1.15rem 0 1.6rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.rate-card__specs li {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}
.rate-card .btn { margin-top: auto; align-self: flex-start; }

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.price-tag__num {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--copper);
}
.price-tag__meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.section--night .price-tag__meta { color: rgba(246, 240, 230, 0.66); }

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.6rem 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--copper); color: var(--copper); }
.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.masonry { columns: 3; column-gap: 14px; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 540px) { .masonry { columns: 1; } }

.tile {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sand-3);
  border-radius: 3px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 10px 30px -22px rgba(16, 26, 43, 0.8);
}
.tile img {
  width: 100%;
  /* height:auto is load-bearing. The width/height attributes on each <img>
     are there to reserve layout space, but without this the attribute height
     becomes the literal rendered height and every photo is stretched to fit
     the column width. */
  height: auto;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 30, 0.5), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tile:hover::after { opacity: 1; }
.tile__cap {
  position: absolute;
  left: 1rem; bottom: 0.9rem;
  z-index: 1;
  color: var(--sand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile:hover .tile__cap { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }

/* Home gallery mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(120px, 15vw, 190px);
  gap: 12px;
}
.mosaic .tile { margin: 0; height: 100%; }
.mosaic .tile img { height: 100%; object-fit: cover; }
.mosaic .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .tile:nth-child(4) { grid-column: span 2; }
.mosaic .tile:nth-child(7) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .tile:nth-child(4) { grid-column: span 2; }
  .mosaic .tile:nth-child(7) { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 14, 24, 0.96);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 40px 100px -40px #000;
}
.lightbox__cap {
  color: rgba(246, 240, 230, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 1.25rem;
}
.lightbox__btn {
  position: absolute;
  background: rgba(246, 240, 230, 0.08);
  border: 1px solid rgba(246, 240, 230, 0.25);
  color: var(--sand);
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox__btn:hover { background: rgba(246, 240, 230, 0.2); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

/* ---------- Reviews ---------- */
.review {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}
.section--night .review {
  background: rgba(246, 240, 230, 0.05);
  border-color: var(--line-dark);
}
.review__stars { color: var(--copper); letter-spacing: 0.25em; font-size: 0.8rem; }
.section--night .review__stars { color: var(--copper-lt); }
.review__quote {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  font-style: italic;
  margin: 0;
  flex: 1;
}
.review__by {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
.section--night .review__by { color: rgba(246, 240, 230, 0.6); }

.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.score-grid div {
  background: var(--night);
  padding: 1.5rem 1rem;
  text-align: center;
}
.score-grid dt {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-bottom: 0.6rem;
}
.score-grid dd {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  margin: 0;
  color: var(--copper-lt);
}

/* ---------- Info rows (location / practical) ---------- */
.info-list { margin: 0; }
.info-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.section--night .info-list > div { border-color: var(--line-dark); }
.info-list dt { font-size: 0.94rem; }
.info-list dd {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  white-space: nowrap;
}
.section--night .info-list dd { color: var(--copper-lt); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--sand-3);
  min-height: 420px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Experience cards ---------- */
.exp {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  padding-block: clamp(2rem, 4vw, 3rem);
  gap: 1rem;
}
@media (min-width: 780px) {
  .exp { grid-template-columns: 0.35fr 0.85fr 1.4fr; gap: 2.5rem; align-items: start; }
}
.exp__idx {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--copper);
  letter-spacing: 0.1em;
}
.exp h3 { margin: 0; }
.exp__meta {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(176, 112, 63, 0.13);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 3rem 1.35rem 0;
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.35;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--copper); }
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  background: var(--copper);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq summary::before { width: 15px; height: 1px; transform: translateY(-50%); }
.faq summary::after { width: 1px; height: 15px; right: 0.8rem; transform: translateY(-50%); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq details > div {
  padding: 0 3rem 1.6rem 0;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ---------- Contact channels ---------- */
.channel {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.section--night .channel { border-color: var(--line-dark); }
.channel:first-child { border-top: 1px solid var(--line); }
.section--night .channel:first-child { border-color: var(--line-dark); }
.channel__icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--copper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.section--night .channel__icon { border-color: var(--line-dark); color: var(--copper-lt); }
.channel:hover .channel__icon {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.channel__label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.section--night .channel__label { color: rgba(246, 240, 230, 0.55); }
.channel__value { display: block; font-size: 1.02rem; line-height: 1.45; }
.channel__value small {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
.section--night .channel__value small { color: rgba(246, 240, 230, 0.55); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding-block: clamp(5rem, 12vw, 8rem);
  color: var(--sand);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band__media { position: absolute; inset: 0; z-index: -1; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16, 26, 43, 0.86), rgba(16, 26, 43, 0.92));
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: rgba(246, 240, 230, 0.72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 0.92rem;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-lt);
  margin-bottom: 1.35rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--sand); margin-bottom: 1.25rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-links a {
  text-decoration: none;
  transition: color 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a:hover { color: var(--copper-lt); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.76rem;
  opacity: 0.66;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--copper-lt); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* Never hide content when JS is unavailable or slow to boot. */
.no-js .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Utilities ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--copper);
  color: #fff;
  padding: 0.85rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: clamp(2rem, 4vw, 3rem); }
.stack-lg > * + * { margin-top: clamp(2.5rem, 5vw, 4rem); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--night .rule { background: var(--line-dark); }
