/* ==========================================================================
   The Katampe — Abuja
   Direction: quiet authority. See DESIGN-BRIEF.md
   ========================================================================== */

:root {
  --bone: #F6F1EA;
  --bone-2: #EDE5DA;
  --ink: #1E1B18;
  --ink-2: #2A2622;
  --laterite: #A4532F;
  --granite: #6E675F;
  --olive: #5C6E21;
  --brass: #C4A06A;

  --line: rgba(30, 27, 24, .14);
  --line-inv: rgba(246, 241, 234, .2);

  --serif: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* Motion measured from the references with the Awwwards MCP (Nov 2026) */
  --ease-expo: cubic-bezier(.19, 1, .22, 1);   /* Tengile reveal curve */
  --ease-hover: cubic-bezier(.5, 1, .89, 1);   /* White Desert hover curve */
  --dur-text: 1.4s;                            /* White Desert reveal */
  --dur-image: 1.6s;                           /* Tengile reveal */
  --dur-hover: .3s;                            /* both references */
  --stagger: .2s;                              /* White Desert sibling delay */

  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 40px; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--laterite); outline-offset: 3px; }
::selection { background: var(--laterite); color: var(--bone); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 300; background: var(--ink); color: var(--bone); padding: 10px 16px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--granite);
  line-height: 1.5;
}

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6.2vw, 6rem);
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.h2 em { font-style: italic; text-transform: none; letter-spacing: -.02em; }

.link {
  display: inline-block;
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 0;
}
.link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: currentColor;
  transform-origin: right; transition: transform var(--dur-hover) var(--ease-hover);
}
.link:hover::after { animation: underline .6s var(--ease-hover) forwards; }
@keyframes underline {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}
/* inline links inside paragraphs keep normal case */
p .link { font-size: inherit; letter-spacing: 0; text-transform: none; font-weight: 400; padding: 0; }

.btn-line {
  position: relative;
  display: inline-flex; align-items: center;
  height: 38px; padding: 0 18px;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  overflow: hidden;
  transition: border-color var(--dur-hover) var(--ease-hover);
}
.btn-line::before {
  content: ""; position: absolute; inset: 0;
  background: currentColor; opacity: .12;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--dur-hover) var(--ease-hover);
}
.btn-line:hover { border-color: currentColor; }
.btn-line:hover::before { transform: scaleY(1); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--ink); color: var(--bone);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io);
  animation: loader-failsafe 0s 5s forwards;
}
.is-loaded .loader { clip-path: inset(0 0 100% 0); }
.loader.is-gone { display: none; }
@keyframes loader-failsafe { to { visibility: hidden; } }

.aso path { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.aso--loader { width: min(340px, 72vw); height: auto; color: var(--brass); }
.aso--loader path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s var(--ease-io) forwards; }
.aso--loader path + path { opacity: .55; animation-delay: .5s; animation-duration: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__mark {
  font-family: var(--serif); font-size: 14px; letter-spacing: .34em; text-transform: uppercase;
  opacity: 0; animation: fade-in .9s .7s var(--ease) forwards;
}
.loader__mark span { display: block; text-align: center; font-family: var(--sans); font-size: 9px; letter-spacing: .4em; margin-top: 8px; color: var(--brass); }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  color: var(--bone);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .7s var(--ease);
}
.site-header.is-solid {
  background: rgba(246, 241, 234, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ink);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-101%); }
.menu-open .site-header { background: transparent; color: var(--bone); border-color: transparent; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.header__left { justify-self: start; }
.header__right { justify-self: end; display: flex; align-items: center; gap: 14px; }

.wordmark {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--serif); font-weight: 400;
  font-size: 19px; line-height: 1; letter-spacing: .26em; text-transform: uppercase;
  padding-left: .26em; /* optically centre tracked caps */
}
.wordmark span { font-size: 8.5px; letter-spacing: .5em; margin-bottom: 5px; font-family: var(--sans); }
.wordmark small { font-family: var(--sans); font-size: 8px; letter-spacing: .36em; margin-top: 7px; opacity: .72; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 38px; padding: 0 2px; background: none; border: 0;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.menu-btn__lines { position: relative; width: 24px; height: 8px; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .6s var(--ease);
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { bottom: 0; }
.menu-open .menu-btn__lines::before { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn__lines::after { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gutter);
  padding: calc(var(--header-h) + 6vh) var(--gutter) 6vh;
  background: var(--ink); color: var(--bone);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s linear .9s;
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .9s var(--ease-io); }
.menu__list { list-style: none; margin: 0; padding: 0; align-self: end; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-inv); }
.menu__list a {
  display: flex; align-items: baseline; gap: 22px;
  padding: .12em 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 5.6vw, 5.4rem); line-height: 1.08; letter-spacing: -.02em; text-transform: uppercase;
  transform: translateY(105%);
  transition: transform .8s var(--ease), color var(--dur-hover) var(--ease-hover);
}
.menu.is-open .menu__list a { transform: none; transition-delay: calc(.3s + var(--i) * .06s), 0s; }
.menu__list a span { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; color: var(--brass); transform: translateY(-1.4em); }
.menu__list a:hover { color: var(--brass); font-style: italic; }
.menu__aside { align-self: end; display: grid; gap: 10px; font-size: 15px; color: rgba(246, 241, 234, .75); padding-bottom: 8px; }
.menu__aside .eyebrow { color: var(--brass); margin-top: 18px; }
.menu__clock { margin-top: 24px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto auto;
  color: var(--bone);
  background: var(--ink-2);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: -4% 0 0; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.1); transition: transform 2.6s var(--ease); }
.is-loaded .hero__media img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 15, 12, .55) 0%, rgba(18, 15, 12, .12) 26%, rgba(18, 15, 12, .18) 52%, rgba(18, 15, 12, .78) 100%),
    linear-gradient(90deg, rgba(18, 15, 12, .35), transparent 60%);
}

.hero__title {
  align-self: center;
  margin: 0;
  padding: calc(var(--header-h) + 48px) var(--gutter) 40px;
  font-family: var(--serif); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(3.1rem, 9.6vw, 10.5rem);
  line-height: .9; letter-spacing: -.035em; text-transform: uppercase;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; transform: translateY(108%); transition: transform var(--dur-image) var(--ease-expo); }
.is-loaded .line > span { transform: none; }
.is-loaded .line:nth-child(2) > span { transition-delay: var(--stagger); }
.is-loaded .line:nth-child(3) > span { transition-delay: calc(var(--stagger) * 2); }
.line--indent { padding-left: 22vw; }
.line--soft { padding-left: 9vw; }
.line--soft em { font-style: italic; text-transform: none; letter-spacing: -.03em; }

.hero__bottom {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  padding: 0 var(--gutter) 28px;
  opacity: 0; transition: opacity var(--dur-text) calc(var(--stagger) * 3) var(--ease-expo);
}
.is-loaded .hero__bottom { opacity: 1; }
.hero__note { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.3; }
.hero__meta { display: grid; gap: 4px; text-align: right; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

/* Booking bar */
.booking {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr) auto;
  border-top: 1px solid var(--line-inv);
  background: rgba(18, 15, 12, .38);
  -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--dur-text) calc(var(--stagger) * 4) var(--ease-expo), transform var(--dur-text) calc(var(--stagger) * 4) var(--ease-expo);
}
.is-loaded .booking { opacity: 1; transform: none; }
.field { display: flex; flex-direction: column; gap: 2px; padding: 16px var(--gutter) 14px; border-right: 1px solid var(--line-inv); min-width: 0; }
.field label { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.field input, .field select {
  width: 100%; min-width: 0;
  background: transparent; border: 0; padding: 2px 0 0; border-radius: 0;
  font-family: var(--serif); font-weight: 300; font-size: 21px; line-height: 1.3;
  color: var(--bone); color-scheme: dark;
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-size: 5px 5px; background-position: right 4px center, right 0 center; background-repeat: no-repeat; padding-right: 18px; }
.field option { color: var(--ink); background: var(--bone); }
.field input:focus-visible, .field select:focus-visible { outline: none; }
.field:focus-within { background: rgba(246, 241, 234, .06); }
.booking button {
  border: 0; padding: 0 clamp(24px, 3vw, 44px);
  background: var(--bone); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover);
}
.booking button:hover { background: var(--laterite); color: var(--bone); }
.booking .form-status { position: absolute; left: var(--gutter); top: -32px; font-size: 13px; }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 13vw, 176px) var(--gutter); }

.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head > .eyebrow { grid-column: 1 / 4; align-self: start; padding-top: .6em; }
.section-head > .h2 { grid-column: 4 / 10; }
.section-head__aside { grid-column: 10 / 13; display: grid; gap: 24px; font-size: 15px; color: var(--granite); max-width: 34ch; }

/* Manifesto */
.manifesto { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.manifesto > .eyebrow { grid-column: 1 / 4; padding-top: 1.1em; }
.manifesto__text {
  grid-column: 4 / 13;
  margin: 0;
  font-family: var(--serif); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(1.75rem, 3.7vw, 3.55rem); line-height: 1.12; letter-spacing: -.018em;
  text-wrap: pretty;
}
.manifesto__text .w { transition: opacity .35s linear; }
.js .manifesto__text .w { opacity: .18; }
.js .manifesto__text .w.on { opacity: 1; }
.nb { white-space: nowrap; }
.thumb {
  display: inline-block; vertical-align: -.1em;
  width: 1.9em; height: 1em; margin: 0 .12em;
  overflow: hidden; background: var(--bone-2);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Reuses the already-loaded hero image, zoomed in on the rock: no extra download */
.thumb--rock img { object-position: 52% 30%; transform: translateY(16%) scale(1.65); transform-origin: 52% 29%; }
/* the plate sits small in its frame; zoom so it reads at thumbnail size */
.thumb--dish img { transform: scale(1.6); transform-origin: 50% 52%; }
.manifesto__foot { grid-column: 4 / 13; display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: clamp(40px, 5vw, 72px); }
.manifesto__foot p { max-width: 46ch; font-size: 15px; color: var(--granite); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: clamp(28px, 3vw, 44px) var(--gutter); border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact dt { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.03em; }
.fact dt small { font-size: .3em; letter-spacing: .02em; margin-left: .2em; font-style: italic; }
.fact dd { margin: 14px 0 0; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--granite); max-width: 24ch; }

/* Suites carousel */
.suites { padding-left: 0; padding-right: 0; }
.suites .section-head { padding: 0 var(--gutter); }
.ctrl { display: flex; gap: 8px; }
.ctrl button {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  font-size: 18px; line-height: 1;
  transition: background-color var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover);
}
.ctrl button:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.ctrl button:disabled { opacity: .3; pointer-events: none; }

.track {
  list-style: none; margin: 0;
  display: flex; gap: var(--gutter);
  padding: 0 var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.track.is-dragging a, .track.is-dragging img { pointer-events: none; }
.suite { flex: 0 0 clamp(290px, 33vw, 540px); scroll-snap-align: start; }
.suite:nth-child(even) { margin-top: clamp(0px, 5vw, 80px); }
.suite__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bone-2); }
.suite__img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.suite__meta { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding-top: 20px; }
.suite h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.suite__spec { grid-column: 1; font-size: 14px; color: var(--granite); }
.suite__rate { grid-column: 2; grid-row: 1 / 3; display: grid; justify-items: end; align-content: start; font-size: 12px; color: var(--granite); line-height: 1.4; }
.suite__rate strong { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.track-progress { position: relative; height: 1px; margin: clamp(40px, 5vw, 64px) var(--gutter) 0; background: var(--line); }
.track-progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .3s var(--ease); }

/* Dining */
.dining { border-top: 1px solid var(--line); }
.dishes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dish { border-bottom: 1px solid var(--line); }
.dish a {
  display: grid; grid-template-columns: 2fr 11fr 8fr 3fr; gap: var(--gutter);
  align-items: baseline;
  padding: clamp(28px, 3vw, 44px) 0;
}
.dish__no { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--granite); }
.dish__name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: .95; letter-spacing: -.03em; text-transform: uppercase;
  transition: transform var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover);
  text-wrap: balance;
}
.dish__desc { font-size: 15px; color: var(--granite); max-width: 44ch; }
.dish__hours { justify-self: end; text-align: right; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.8; }
.dish a:hover .dish__name, .dish a:focus-visible .dish__name { transform: translateX(18px); color: var(--laterite); }

.dish-float {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: clamp(220px, 20vw, 320px); aspect-ratio: 3 / 4;
  overflow: hidden; pointer-events: none;
  background: var(--bone-2);
  opacity: 0;
  transform: translate3d(calc(var(--x, 0px) - 50%), calc(var(--y, 0px) - 50%), 0) scale(var(--s, .85)) rotate(var(--r, 0deg));
  transition: opacity var(--dur-hover) var(--ease-hover);
}
.dish-float.is-on { opacity: 1; --s: 1; }
.dish-float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .dish-float { display: none; } }

/* Day timeline */
.day { background: var(--bone-2); }
.day__wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.day__aside { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 48px); align-self: start; display: grid; gap: 28px; }
.sun { width: min(320px, 100%); height: auto; margin-top: 24px; overflow: visible; }
.sun__arc { fill: none; stroke: var(--ink); stroke-opacity: .25; stroke-dasharray: 2 5; }
.sun__horizon { stroke: var(--ink); stroke-opacity: .5; }
.sun__dot { fill: var(--laterite); transition: cx .8s var(--ease), cy .8s var(--ease); }
.day__now { font-family: var(--serif); font-weight: 300; font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

.day__list { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; position: relative; }
.day__list::before, .day__list::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 0; width: 1px; background: var(--line); }
.day__list::after { background: var(--laterite); transform-origin: top; transform: scaleY(var(--p, 0)); }
.moment { position: relative; padding: 0 0 clamp(72px, 9vw, 128px) clamp(32px, 4vw, 56px); transition: opacity .6s var(--ease); }
.moment:last-child { padding-bottom: 0; }
.js .moment { opacity: .32; }
.js .moment.is-active { opacity: 1; }
.moment::before {
  content: ""; position: absolute; left: -4px; top: 6px; z-index: 1;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bone-2); border: 1px solid var(--laterite);
  transition: background-color .5s var(--ease);
}
.moment.is-active::before { background: var(--laterite); }
.moment time { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--laterite); }
.moment h3 { margin: 8px 0 12px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.moment p { max-width: 44ch; color: var(--granite); }

/* Spa */
.spa {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 115vh;
  display: grid; grid-template-rows: 1fr auto;
  color: var(--bone); background: var(--ink-2);
}
.spa__media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.spa__media img { width: 100%; height: 100%; object-fit: cover; }
.spa::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 15, 12, .2), rgba(18, 15, 12, .15) 40%, rgba(18, 15, 12, .82)); }
.spa__word {
  align-self: center;
  font-family: var(--serif); font-weight: 300;
  font-size: 15.6vw; line-height: .8; letter-spacing: -.055em; text-transform: uppercase;
  text-align: center; white-space: nowrap;
  color: rgba(246, 241, 234, .92);
  mix-blend-mode: overlay;
}
.spa__body {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  padding: 0 var(--gutter) clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line-inv); padding-top: 28px;
}
.spa__body > .eyebrow { grid-column: 1 / 4; color: rgba(246, 241, 234, .75); }
.spa__body > div { grid-column: 7 / 13; display: grid; gap: 28px; justify-items: start; }
.spa__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; max-width: 20ch; }
.spa__spec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; font-size: 14px; }
.spa__spec li { padding-top: 10px; border-top: 1px solid var(--line-inv); }

/* Summits */
.summits { background: var(--ink); color: var(--bone); }
.summits .eyebrow { color: var(--brass); }
.summits .section-head__aside { color: rgba(246, 241, 234, .7); }
.summits__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: start; }
.summits__img { grid-column: 1 / 7; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); position: relative; }
/* the generated image has a thin white frame baked in: overscan 3% on every side to hide it */
.summits__img img { position: absolute; inset: -3%; width: 106%; height: 106%; max-width: none; object-fit: cover; }
.summits__body { grid-column: 8 / 13; display: grid; gap: clamp(40px, 5vw, 64px); justify-items: start; padding-top: 8px; }
.venues { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.venues caption { text-align: left; padding-bottom: 16px; }
.venues th, .venues td { padding: 18px 0; border-bottom: 1px solid var(--line-inv); text-align: right; font-weight: 400; }
.venues thead th { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 241, 234, .6); padding-top: 0; }
.venues th:first-child { text-align: left; }
.venues tbody th { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.01em; }
.venues td { font-family: var(--serif); font-weight: 300; font-size: 20px; width: 22%; }
.assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 15px; color: rgba(246, 241, 234, .82); }
.assure li { display: grid; grid-template-columns: 28px 1fr; }
.assure span { font-family: var(--serif); font-style: italic; color: var(--brass); }
.link--light { color: var(--bone); }

/* Quote */
.quote { text-align: center; display: grid; justify-items: center; gap: 40px; }
.aso--small { width: 140px; height: auto; color: var(--laterite); }
.quote blockquote { margin: 0; display: grid; gap: 28px; justify-items: center; }
.quote blockquote p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.08; letter-spacing: -.025em; max-width: 20ch; text-wrap: balance; }

/* Enquire */
.enquire { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); border-top: 1px solid var(--line); }
.enquire__head { grid-column: 1 / 6; display: grid; gap: 28px; align-content: start; }
.enquire__head > p:last-child { max-width: 34ch; color: var(--granite); font-size: 15px; }
.enquire__form { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gutter); align-content: start; }
.u-field { display: grid; gap: 4px; }
.u-field--full { grid-column: 1 / -1; }
.u-field label { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--granite); }
.u-field input, .u-field select, .u-field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; padding: 8px 0 10px;
  font-family: var(--serif); font-weight: 300; font-size: 22px;
  transition: border-color var(--dur-hover) var(--ease-hover);
  -webkit-appearance: none; appearance: none;
}
.u-field textarea { resize: vertical; min-height: 96px; }
.u-field select { cursor: pointer; }
.u-field input:focus, .u-field select:focus, .u-field textarea:focus { outline: none; border-color: var(--ink); }
.btn-solid {
  justify-self: start; height: 56px; padding: 0 36px; border: 0;
  background: var(--ink); color: var(--bone);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.btn-solid:hover { background: var(--laterite); }
.enquire__form .form-status { grid-column: 1 / -1; font-size: 14px; color: var(--olive); min-height: 1.5em; }

/* Footer */
.footer { background: var(--ink); color: var(--bone); padding: clamp(72px, 9vw, 120px) var(--gutter) 24px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); font-size: 15px; color: rgba(246, 241, 234, .82); line-height: 1.8; }
.footer .eyebrow { color: var(--brass); margin-bottom: 12px; }
.aso--footer { display: block; width: 100%; height: clamp(60px, 9vw, 140px); margin-top: clamp(64px, 8vw, 120px); color: var(--brass); opacity: .55; }
.footer__word {
  margin-top: -.08em;
  font-family: var(--serif); font-weight: 300;
  font-size: 30.5vw; line-height: .78; letter-spacing: -.06em; text-transform: uppercase;
  text-align: center; white-space: nowrap;
  color: var(--bone);
}
.footer__legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-inv); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 241, 234, .55); }

/* Mobile book pill */
.book-pill {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  display: none;
  padding: 16px 30px;
  background: var(--ink); color: var(--bone);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(18, 15, 12, .25);
  transform: translate(-50%, 180%);
  transition: transform .6s var(--ease);
}
.book-pill.is-on { transform: translate(-50%, 0); }

/* ---------- Reveal system ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-text) var(--ease-expo), transform var(--dur-text) var(--ease-expo); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* siblings that enter together step in 200 ms apart (White Desert) */
.reveal + .reveal { --d: var(--stagger); }
.reveal + .reveal + .reveal { --d: calc(var(--stagger) * 2); }
.reveal + .reveal + .reveal + .reveal { --d: calc(var(--stagger) * 3); }
.js .wipe { clip-path: inset(100% 0 0 0); transition: clip-path var(--dur-image) var(--ease-expo); }
.js .wipe img { transform: scale(1.14); transition: transform 2s var(--ease-expo); }
.js .wipe.is-in { clip-path: inset(0 0 0 0); }
.js .wipe.is-in img { transform: scale(1); }
.js .suite:hover .wipe.is-in img { transform: scale(1.04); transition-duration: 1.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .section-head > .eyebrow { grid-column: 1 / -1; }
  .section-head > .h2 { grid-column: 1 / 9; }
  .section-head__aside { grid-column: 9 / 13; }
  .dish a { grid-template-columns: 2fr 10fr 10fr; }
  .dish__hours { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .wordmark { font-size: 16px; }
  .site-header { grid-template-columns: 1fr auto 1fr; }

  .menu { grid-template-columns: 1fr; align-content: end; }
  .menu__list a { font-size: clamp(2.1rem, 10vw, 3.4rem); }

  .hero__title { font-size: clamp(2.9rem, 13.4vw, 5.5rem); padding-top: calc(var(--header-h) + 32px); }
  .line--indent { padding-left: 14vw; }
  .line--soft { padding-left: 4vw; }
  .hero__bottom { padding-bottom: 20px; }
  .hero__meta span:last-child { display: none; }

  .booking { grid-template-columns: 1fr 1fr; }
  .field { padding: 12px var(--gutter); border-bottom: 1px solid var(--line-inv); }
  .field:nth-child(2n) { border-right: 0; }
  .field input, .field select { font-size: 18px; }
  .booking button { grid-column: 1 / -1; height: 56px; }

  .manifesto > .eyebrow, .manifesto__text, .manifesto__foot { grid-column: 1 / -1; }
  .manifesto__foot { flex-direction: column; align-items: start; gap: 20px; }

  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .section-head { margin-bottom: 40px; row-gap: 20px; }
  .section-head > .h2, .section-head__aside { grid-column: 1 / -1; }
  .section-head__aside { max-width: none; grid-template-columns: 1fr auto; align-items: end; }

  .suite { flex-basis: 80vw; }
  .suite:nth-child(even) { margin-top: 0; }

  .dish a { grid-template-columns: 36px 1fr; row-gap: 12px; }
  .dish__desc { grid-column: 2; }

  .day__wrap { grid-template-columns: 1fr; }
  .day__aside { grid-column: 1; position: relative; top: auto; gap: 16px; margin-bottom: 48px; }
  .sun, .day__now { display: none; }
  .day__list { grid-column: 1; }

  .spa { min-height: 100svh; }
  .spa__word { font-size: 15.4vw; }
  .spa__body > .eyebrow, .spa__body > div { grid-column: 1 / -1; }

  .summits__img, .summits__body { grid-column: 1 / -1; }
  .summits__img { aspect-ratio: 4 / 3; }

  .enquire__head, .enquire__form { grid-column: 1 / -1; }
  .enquire__form { grid-template-columns: 1fr; margin-top: 24px; }

  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__legal { flex-direction: column; }

  .book-pill { display: block; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .line > span, .hero__bottom, .booking, .hero__media img,
  .js .reveal, .js .wipe, .js .wipe img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .manifesto__text .w { opacity: 1 !important; }
  .dish-float { display: none; }
}
