/* ===================================================================
   THORNVELD LODGE : one scroll, one day in the bushveld
   The entire page lighting is driven by CSS custom properties that
   app.js interpolates against scroll progress (the "day engine").
   =================================================================== */

:root {
  /* day engine vars (defaults = pre-dawn) */
  --sky-top: #131a2b;
  --sky-top-raw: 19, 26, 43;
  --sky-mid: #4a4460;
  --sky-hor: #e8a13c;
  --clouds-op: 0;
  --clouds-x: 0vw;
  --birds-x: -30vw;
  --birds-y: 28vh;
  --birds-op: 0;
  --grade-a: 232, 161, 60;
  --grade-b: 122, 74, 58;
  --grade-op: 0.38;
  --dim: 0.22;
  --panel: 0;
  --stars-op: 0.35;
  --sun-x: 12vw; --sun-y: 78vh; --sun-op: 1; --sun-scale: 1;
  --moon-x: 70vw; --moon-y: 90vh; --moon-op: 0;

  /* palette */
  --ink: #10131a;
  --gold: #e8a13c;
  --sky-blue: #7fb6d9;
  --rose: #c96f4a;
  --khaki: #8a7b5c;
  --ivory: #f4ede1;
  --ivory-soft: rgba(244, 237, 225, 0.72);

  /* type */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--sky-mid);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

/* =================== FIXED SKY =================== */
.sky {
  position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(to bottom, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-hor) 100%);
}
#skyStars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--stars-op); }
.sky-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 42%, transparent 55%, rgba(6, 8, 15, 0.5) 100%);
}
.sun {
  position: absolute; left: var(--sun-x); top: var(--sun-y);
  width: 15vmin; height: 15vmin; margin: -7.5vmin;
  border-radius: 50%; opacity: var(--sun-op);
  transform: scale(var(--sun-scale));
  background: radial-gradient(circle, #fff8e2 0%, #fbd489 20%, rgba(240, 178, 84, 0.8) 32%, rgba(232, 161, 60, 0.3) 52%, rgba(232, 161, 60, 0) 70%);
  filter: blur(0.5px);
}
.sun::after {
  content: ""; position: absolute; inset: -110%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 196, 103, 0.35) 0%, rgba(246, 196, 103, 0) 65%);
}
.moon {
  position: absolute; left: var(--moon-x); top: var(--moon-y);
  width: 7vmin; height: 7vmin; margin: -3.5vmin;
  border-radius: 50%; opacity: var(--moon-op);
  /* waxing crescent: dark-side disc carves the terminator, craters on the lit limb */
  background:
    radial-gradient(circle at 78% 46%, rgba(11, 16, 28, 0.97) 0 54%, rgba(11, 16, 28, 0) 67%),
    radial-gradient(circle at 30% 58%, rgba(140, 143, 156, 0.55) 0 5.5%, transparent 8%),
    radial-gradient(circle at 42% 30%, rgba(140, 143, 156, 0.45) 0 4%, transparent 6.5%),
    radial-gradient(circle at 20% 36%, rgba(140, 143, 156, 0.4) 0 3%, transparent 5.5%),
    radial-gradient(circle at 34% 76%, rgba(140, 143, 156, 0.35) 0 3.5%, transparent 6%),
    radial-gradient(circle at 32% 32%, #faf7ee 0%, #e8e3d5 46%, #bfbaab 100%);
  box-shadow: 0 0 3.5vmin rgba(226, 233, 248, 0.28);
}
.clouds {
  position: absolute; inset: 0; pointer-events: none;
  opacity: var(--clouds-op); transform: translateX(var(--clouds-x));
}
.cl {
  position: absolute; display: block; border-radius: 50%; filter: blur(16px);
  background: radial-gradient(ellipse closest-side, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 72%);
}
.cl1 { left: 4vw; top: 15vh; width: 36vw; height: 7vh; }
.cl2 { left: 46vw; top: 8vh; width: 30vw; height: 6vh; opacity: 0.7; }
.cl3 { left: 68vw; top: 23vh; width: 26vw; height: 5vh; opacity: 0.5; }
.birds {
  position: absolute; left: 0; top: 0; width: clamp(130px, 15vw, 220px); height: auto;
  transform: translate(var(--birds-x), var(--birds-y));
  opacity: var(--birds-op); pointer-events: none;
}
.birds path {
  stroke: #0c1118; stroke-width: 2.4; fill: none; stroke-linecap: round;
  transform-box: fill-box; transform-origin: center;
  animation: flap 0.85s ease-in-out infinite alternate;
}
.birds path:nth-child(2) { animation-delay: -0.3s; }
.birds path:nth-child(3) { animation-delay: -0.55s; }
.birds path:nth-child(4) { animation-delay: -0.15s; }
.birds path:nth-child(5) { animation-delay: -0.7s; }
.birds path:nth-child(6) { animation-delay: -0.45s; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(0.55); } }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain-shift 1.4s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); } 75% { transform: translate(-1%, -1%); } 100% { transform: translate(0, 0); }
}

/* =================== LETTERBOX =================== */
.letterbox { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.bar {
  position: absolute; left: 0; right: 0; height: 11vh; background: #05070c;
  display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 56px);
}
.bar-top { top: 0; transform-origin: top center; }
.bar-bot { bottom: 0; transform-origin: bottom center; }
.bar-text {
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(244, 237, 225, 0.4); white-space: nowrap;
}

/* =================== HEADER =================== */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
/* scroll-aware scrim: tinted from the day engine's sky colour, so it stays in-grade
   from dawn amber-dark through midday blue to night, and fades out at the bottom */
.site-head::before {
  content: ""; position: absolute; inset: 0 0 -34px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(var(--sky-top-raw), 0.92) 0%,
    rgba(var(--sky-top-raw), 0.62) 52%,
    rgba(var(--sky-top-raw), 0) 100%);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(to bottom, black 52%, transparent);
  mask-image: linear-gradient(to bottom, black 52%, transparent);
}
.site-head.is-on { opacity: 1; transform: none; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.lm-sun { fill: var(--gold); }
.lm-mask { fill: transparent; }
.logo .lm-mask { fill: rgba(5, 7, 12, 0); }
.lm-horizon { stroke: var(--ivory); stroke-width: 1.6; }
.lm-tree { stroke: var(--ivory); stroke-width: 1.4; fill: none; stroke-linecap: round; }
svg.logo-mark { overflow: hidden; }
.logo-mark .lm-sun { clip-path: inset(0 0 52% 0); }
.logo-word {
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: 0.06em;
  color: var(--ivory); line-height: 1;
}
.logo-word em { font-style: normal; font-weight: 300; opacity: 0.75; margin-left: 6px; letter-spacing: 0.22em; text-transform: uppercase; font-size: 11px; font-family: var(--sans); vertical-align: 2px; }
.head-clock { text-align: center; line-height: 1.25; }
.clock-time { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.clock-label { display: block; font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-soft); }
.head-cta {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(244, 237, 225, 0.45); border-radius: 999px; padding: 10px 20px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.head-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* =================== SHARED PHOTO TREATMENT =================== */
.photo { position: relative; overflow: hidden; border-radius: 6px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* colour temperature grade, bound to the day engine */
.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(160deg, rgb(var(--grade-a)), rgb(var(--grade-b)));
  mix-blend-mode: soft-light; opacity: var(--grade-op);
}
/* night dimming */
.photo::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: #0a1220; opacity: var(--dim-local, var(--dim));
}
.photo figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 4;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(244, 237, 225, 0.85); text-shadow: 0 1px 8px rgba(5, 7, 12, 0.8);
}

/* =================== HERO =================== */
.hero { position: relative; height: 112vh; height: 112svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-photo { position: absolute; inset: -6% 0; border-radius: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { background: linear-gradient(to bottom, rgba(10, 14, 24, 0.35), rgba(10, 14, 24, 0) 40%, rgba(8, 11, 18, 0.45) 92%); opacity: 1; }
.hero-media {
  -webkit-mask-image: linear-gradient(to bottom, black 82%, rgba(0, 0, 0, 0.5) 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 82%, rgba(0, 0, 0, 0.5) 93%, transparent 100%);
}
.acacia-layer, .grass-layer {
  position: absolute; left: -2%; right: -2%; bottom: -2px; width: 104%; pointer-events: none;
}
.acacia-layer { height: 36vh; }
.acacia-layer path { fill: #070a11; }
.grass-layer { height: 17vh; }
.grass-layer path { fill: #05070c; }
.grass-golden { height: 13vh; opacity: 0.9; }
.hero-copy {
  position: relative; z-index: 5; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 24px;
}
.kicker {
  font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ivory-soft);
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 9.6vw, 132px); line-height: 1.02; letter-spacing: -0.01em;
  text-shadow: 0 2px 40px rgba(5, 7, 12, 0.45);
}
.hero-title em { font-style: italic; font-weight: 300; color: #f6cd8b; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-inner { display: inline-block; transform: translateY(112%); }
.credit-line { overflow: hidden; }
.credit-line > span { display: inline-block; transform: translateY(120%); }
.hero-sub {
  max-width: 500px; margin-top: 30px; color: var(--ivory-soft); font-size: 15px;
  text-shadow: 0 1px 14px rgba(5, 7, 12, 0.6);
}
.scroll-cue {
  position: absolute; bottom: 15vh; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 9.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ivory-soft);
}
.cue-line { width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, var(--gold)); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.5); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* =================== CHAPTERS =================== */
/* top padding keeps chapter heads clear of the fixed-header band (~90px);
   bottom padding is tight so the next chapter enters within ~60vh */
.chapter { position: relative; padding: clamp(88px, 11vh, 118px) clamp(20px, 6vw, 96px) clamp(40px, 6vh, 64px); }
.chapter-head { display: flex; align-items: baseline; gap: clamp(18px, 3vw, 42px); margin-bottom: clamp(28px, 4.5vh, 48px); }
.time-badge {
  font-family: var(--serif); font-size: clamp(15px, 1.6vw, 20px); font-weight: 400;
  color: var(--gold); letter-spacing: 0.14em; font-variant-numeric: tabular-nums;
  border: 1px solid rgba(232, 161, 60, 0.55); border-radius: 999px; padding: 7px 18px; white-space: nowrap;
  background: rgba(8, 11, 17, calc(0.22 + var(--panel) * 0.9));
}
.chapter h2, .suites h2, .checkin h2, .night h2 {
  font-family: var(--serif); font-weight: 300; line-height: 1.03;
  font-size: clamp(40px, 5.6vw, 78px); letter-spacing: -0.01em;
  text-shadow: 0 2px 26px rgba(5, 7, 12, 0.4);
}
.chapter h2 em, .suites h2 em, .checkin h2 em, .night h2 em { font-style: italic; color: #f2c887; }
.chapter-grid {
  display: grid; grid-template-columns: minmax(300px, 0.9fr) 1.1fr;
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.grid-flip { grid-template-columns: 1.15fr minmax(300px, 0.85fr); align-items: start; }
/* same radius + border language as the suite cards, so panels read as one family */
.copy-block {
  background: rgba(8, 11, 17, calc(0.16 + var(--panel) * 1.0));
  border: 1px solid rgba(244, 237, 225, calc(0.06 + var(--panel) * 0.2));
  border-radius: 10px;
  padding: clamp(20px, 2.4vw, 32px);
  max-width: 520px;
}
/* keep the short copy column alive while its taller photo column scrolls */
@media (min-width: 881px) {
  .chapter-grid > .copy-block { position: sticky; top: 104px; }
}
.copy-block p { margin-bottom: 1.2em; color: var(--ivory); font-size: clamp(15px, 1.25vw, 17.5px); }
.copy-block p:last-of-type { margin-bottom: 0; }
.fact-list { list-style: none; margin-top: 34px; border-top: 1px solid rgba(244, 237, 225, 0.22); }
.fact-list li {
  display: flex; gap: 18px; align-items: baseline; padding: 13px 2px;
  border-bottom: 1px solid rgba(244, 237, 225, 0.22); font-size: 13.5px; color: var(--ivory-soft);
}
.fact-list li span {
  flex: none; width: 128px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
}
.photo-stack { position: relative; display: grid; gap: clamp(20px, 3vw, 36px); }
.photo-stack .photo { aspect-ratio: 3 / 2; box-shadow: 0 30px 70px rgba(4, 6, 11, 0.45); }
.photo-offset { width: 72%; justify-self: end; margin-top: -6%; aspect-ratio: 4 / 3; }
.photo-wide { aspect-ratio: 16 / 10; box-shadow: 0 30px 70px rgba(4, 6, 11, 0.45); }
.p-drift img { will-change: transform; }

/* golden section leaves room for its grass silhouette */
.golden { padding-bottom: clamp(150px, 22vh, 240px); }

/* warm-neutral bake on the rim-flow pool shot so it sits in the graded family */
.pool .photo-wide img, .kb3 img { filter: saturate(0.76) sepia(0.22) contrast(1.03) brightness(1.02); }

/* =================== SKY INTERLUDE =================== */
.interlude { padding: clamp(30px, 5vh, 56px) 24px clamp(40px, 7vh, 72px); text-align: center; }
.interlude-line {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(17px, 1.7vw, 23px); color: rgba(244, 237, 225, 0.94);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 3px rgba(5, 7, 12, 0.55), 0 2px 18px rgba(5, 7, 12, 0.45);
}

/* =================== SUITES =================== */
.suites { position: relative; padding: clamp(60px, 9vh, 110px) 0 clamp(36px, 5vh, 64px); }
.suites-head {
  display: flex; align-items: baseline; gap: clamp(18px, 3vw, 42px);
  padding: 0 clamp(20px, 6vw, 96px); margin-bottom: clamp(36px, 5vh, 56px); flex-wrap: wrap;
}
.suites-hint { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivory-soft); }
.suites-viewport {
  overflow-x: auto; overflow-y: hidden; cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 10px clamp(20px, 6vw, 96px) 30px;
}
.suites-viewport::-webkit-scrollbar { display: none; }
.suites-viewport.dragging { cursor: grabbing; }
.suites-viewport.dragging * { pointer-events: none; }
.suites-track { display: flex; gap: clamp(18px, 2.4vw, 32px); width: max-content; }
.suite-card {
  width: clamp(260px, 26vw, 380px); flex: none;
  background: rgba(10, 14, 21, calc(0.45 + var(--panel) * 0.75));
  border: 1px solid rgba(244, 237, 225, 0.14);
  border-radius: 10px; padding: 14px 14px 22px;
  -webkit-user-select: none; user-select: none;
}
.suite-img { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; margin-bottom: 20px; }
.suite-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.suite-img::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(160deg, rgb(var(--grade-a)), rgb(var(--grade-b)));
  mix-blend-mode: soft-light; opacity: var(--grade-op);
}
.suite-img::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #0a1220; opacity: var(--dim); }
/* Ken Burns drift, phase-shifted per card */
.kb1 img { animation: kburns 26s ease-in-out infinite alternate; }
.kb2 img { animation: kburns 30s ease-in-out -6s infinite alternate-reverse; }
.kb3 img { animation: kburns 24s ease-in-out -12s infinite alternate; }
.kb4 img { animation: kburns 32s ease-in-out -3s infinite alternate-reverse; }
.kb5 img { animation: kburns 28s ease-in-out -18s infinite alternate; }
@keyframes kburns {
  from { transform: scale(1.02) translate(0.8%, 0.6%); }
  to { transform: scale(1.14) translate(-1.6%, -1.2%); }
}
.suite-card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 6px 6px; letter-spacing: 0.01em; }
.suite-card p { font-size: 13.5px; color: var(--ivory-soft); margin: 0 6px 14px; line-height: 1.55; }
.suite-meta { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin: 0 6px; }
.suites-progress {
  margin: 6px clamp(20px, 6vw, 96px) 0; height: 2px; background: rgba(244, 237, 225, 0.16); border-radius: 2px; overflow: hidden;
}
.suites-progress span { display: block; height: 100%; width: 20%; background: var(--gold); border-radius: 2px; transition: width 0.15s linear; }

/* =================== NIGHT =================== */
.night { position: relative; padding: clamp(110px, 18vh, 200px) clamp(20px, 6vw, 96px); overflow: hidden; }
.night-bg { position: absolute; inset: 0; }
.night-bg img { width: 100%; height: 100%; object-fit: cover; }
.night-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--sky-mid) 0%, rgba(10, 14, 24, 0) 22%, rgba(8, 11, 18, 0.25) 70%, #070a12 100%);
}
#nightCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.night { --dim-local: 0.08; }
.night-copy { position: relative; z-index: 3; }
.night-copy .chapter-head { margin-bottom: clamp(36px, 6vh, 64px); }
.night-block { max-width: 460px; }
.photo-boma {
  width: min(460px, 88%); aspect-ratio: 4 / 3; margin-top: clamp(40px, 7vh, 80px);
  margin-left: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(244, 237, 225, 0.12);
}

/* =================== CHECK-IN =================== */
.checkin { position: relative; padding: clamp(100px, 15vh, 170px) 24px; text-align: center; scroll-margin-top: 96px; }
.checkin .kicker { margin-bottom: 18px; }
.checkin h2 { margin-bottom: clamp(40px, 6vh, 64px); text-shadow: 0 2px 30px rgba(4, 6, 11, 0.7); }
.flip { display: inline-block; perspective: 1400px; outline: none; }
.flip-inner {
  position: relative; width: min(420px, 88vw); height: 300px;
  transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.flip:hover .flip-inner, .flip:focus-visible .flip-inner, .flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 14px; padding: 26px 28px; text-align: left;
  display: flex; flex-direction: column;
}
.front {
  background: linear-gradient(150deg, #f7efe0 0%, #eee1c9 100%); color: #241d12;
  box-shadow: 0 34px 80px rgba(3, 5, 9, 0.55), inset 0 0 0 1px rgba(36, 29, 18, 0.12);
}
.front::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 68%; width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(36, 29, 18, 0.28) 0 6px, transparent 6px 12px);
}
.card-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(36, 29, 18, 0.2); padding-bottom: 12px; margin-bottom: 18px; }
.card-brand { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: 0.04em; }
.card-tag { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7; }
.card-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; flex: 1; }
.card-field span { display: block; font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.55; margin-bottom: 3px; }
.card-field strong { font-family: var(--serif); font-weight: 500; font-size: 16.5px; }
.card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.card-barcode { width: 110px; height: 22px; color: #241d12; opacity: 0.8; }
.card-hint { font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.55; }
.back {
  background: linear-gradient(155deg, #171d2c 0%, #10131a 100%); color: var(--ivory);
  transform: rotateY(180deg);
  box-shadow: 0 34px 80px rgba(3, 5, 9, 0.55), inset 0 0 0 1px rgba(232, 161, 60, 0.35);
}
.back .card-top { border-bottom-color: rgba(244, 237, 225, 0.18); }
.back .card-brand { color: var(--gold); }
.rate-line { font-size: 14px; color: var(--ivory-soft); margin-bottom: 12px; }
.rate-line strong { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ivory); display: block; line-height: 1.15; }
.rate-list { list-style: none; margin-bottom: auto; }
.rate-list li { font-size: 12.5px; color: var(--ivory-soft); padding: 3px 0 3px 18px; position: relative; }
.rate-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 1px; background: var(--gold); }
.book-btn {
  display: block; text-align: center; text-decoration: none;
  background: var(--gold); color: var(--ink); font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 14px 10px; border-radius: 8px;
  transition: background 0.25s ease;
}
.book-btn:hover { background: #f2b95e; }
.checkin-alt { margin-top: 34px; font-size: 13px; color: var(--ivory-soft); }
.checkin-alt a { color: var(--gold); text-decoration-color: rgba(232, 161, 60, 0.4); }

/* =================== FOOTER =================== */
.site-foot { position: relative; background: #05070c; padding: clamp(60px, 9vh, 100px) clamp(20px, 6vw, 96px) 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.foot-brand .logo-mark { width: 34px; height: 34px; margin-bottom: 14px; }
.foot-word { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.foot-tag { font-size: 12px; color: var(--ivory-soft); font-style: italic; font-family: var(--serif); }
.foot-col h4 { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.foot-col p { font-size: 13.5px; color: var(--ivory-soft); line-height: 1.8; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--ivory); }
.foot-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(244, 237, 225, 0.14); padding-top: 24px;
  font-size: 11px; color: rgba(244, 237, 225, 0.45);
}
.foot-badge { letter-spacing: 0.06em; }

/* =================== REVEALS =================== */
[data-reveal] { opacity: 0; transform: translateY(38px); }
.no-motion [data-reveal], [data-reveal].revealed { opacity: 1; transform: none; }

/* =================== MOBILE =================== */
@media (max-width: 880px) {
  .head-clock { display: none; }
  .acacia-layer { height: 20vh; }
  .bar { height: 8vh; }
  .bar-text:last-child { display: none; }
  .hero { height: 102svh; }
  .hero-title { font-size: clamp(46px, 13.5vw, 72px); }
  .hero-sub { font-size: 14px; max-width: 420px; }
  .acacia-layer { height: 22vh; }
  .chapter-grid, .grid-flip { grid-template-columns: 1fr; }
  .grid-flip .photo-wide { order: -1; }
  .chapter-head { flex-direction: column; gap: 16px; align-items: flex-start; }
  .photo-offset { width: 82%; }
  .copy-block { max-width: none; }
  .suites-hint { margin-left: 0; width: 100%; }
  .suite-card { width: min(78vw, 320px); }
  .photo-boma { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .flip-inner { height: 290px; }
  .card-hint { display: none; }
  .sun { width: 18vmin; height: 18vmin; margin: -9vmin; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .head-cta { padding: 8px 14px; font-size: 10px; }
}

/* =================== REDUCED MOTION =================== */
@media (prefers-reduced-motion: reduce) {
  .kb1 img, .kb2 img, .kb3 img, .kb4 img, .kb5 img { animation: none; }
  .grain { animation: none; }
  .cue-line { animation: none; }
  .birds path { animation: none; }
  .flip-inner { transition: none; }
  .line-inner, .credit-line > span { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .bar-top, .bar-bot { display: none; }
}
