/* ─────────────────────────────────────────────────────────
   Kuta Lombok Land — landing page
   ───────────────────────────────────────────────────────── */

/* Fonts: self-hosted copies of Google Fonts (Instrument Serif, Inter Tight, JetBrains Mono; SIL OFL),
   latin + latin-ext only, with Google's unicode ranges so each character uses the same file as before.
   One rule per file: Inter Tight and JetBrains Mono are variable fonts, so a weight range covers every weight used. */
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0c0b09;
  --ink-2: #14120f;
  --ink-3: #1c1915;
  --line: rgba(243, 236, 225, 0.12);
  --line-2: rgba(243, 236, 225, 0.22);
  --paper: #f3ece1;
  --paper-2: #e9e0d2;
  --paper-dim: rgba(243, 236, 225, 0.66);
  --paper-faint: rgba(243, 236, 225, 0.52); /* lowest alpha that keeps small text ≥ 4.5:1 on --ink */
  --sand: #dcaa78;
  --sand-2: #c28a57;
  --sand-soft: rgba(220, 170, 120, 0.16);
  --sea: #62c6bf;
  --text-on-sand: #1b130c;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 68px;
}

*,
*::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(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* film grain — subtle, fixed, never intercepts input */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

img, video, canvas, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--sand); color: var(--text-on-sand);
  padding: 10px 14px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

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

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--paper-faint); }
.ic { width: 18px; height: 18px; flex: none; }

/* ── type ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper-dim);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--sand); flex: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 92px);
  line-height: .98;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--sand); }

.sec-lede, .lede { color: var(--paper-dim); font-size: clamp(17px, 1.4vw, 20px); max-width: 38ch; text-wrap: pretty; }

/* ── buttons ──────────────────────────────────────────── */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--sand); color: var(--text-on-sand); }
.btn-primary:hover { background: #e8bb8d; }
.btn-ghost { border-color: var(--line-2); color: var(--paper); background: rgba(12, 11, 9, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2a251f; }

/* ── nav ──────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(12, 11, 9, .72);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 34px; height: auto; fill: var(--sand); }
.brand-name { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.brand-name em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.2em; color: var(--paper-dim); margin-left: 2px; }
.brand-tag { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-faint); white-space: nowrap; }
/* Below 375 px (narrow Android phones) the tagline can't share a line with the Enquire button. */
@media (max-width: 374px) { .brand-tag { display: none; } }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--paper-dim); transition: color .25s; position: relative; }
.nav-links a:hover, .nav-links a.is-active { color: var(--paper); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--sand); }
@media (max-width: 900px) { .nav-links { display: none; } }
/* One Enquire on screen at a time. Desktop: hero button, then the floating button (.wa-float).
   ≤ 900 px: the top-bar button, so the bar stays pinned instead of sliding away on scroll. */
@media (min-width: 901px) { .nav-cta { display: none; } }
@media (max-width: 900px) { .nav.is-hidden { transform: none; } }

/* ── hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: max(640px, 100vh);
  min-height: max(640px, 100svh);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: #1a1510 url("../assets/img/hero-poster.jpg") center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,11,9,.55) 0%, rgba(12,11,9,0) 22%),
    linear-gradient(0deg, rgba(12,11,9,.92) 0%, rgba(12,11,9,.55) 30%, rgba(12,11,9,0) 62%),
    linear-gradient(90deg, rgba(12,11,9,.55) 0%, rgba(12,11,9,0) 55%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0,0,0,.35) 100%);
}

.hero-inner {
  align-self: end;
  padding: calc(var(--nav-h) + clamp(16px, 4vh, 40px)) var(--gutter) clamp(22px, 4vh, 48px);
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  width: 100%; margin-inline: auto;
}
.hero-eyebrow { margin-bottom: clamp(18px, 3vh, 28px); color: rgba(243,236,225,.86); }
.hero-inner { text-shadow: 0 1px 22px rgba(0,0,0,.35); }
.hero-inner .btn { text-shadow: none; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, min(8.6vw, 12.5vh), 148px);
  font-size: clamp(44px, min(8.6vw, 12.5svh), 148px);
  line-height: .92;
  letter-spacing: -.02em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
/* Hero entrance runs as CSS animations from first paint, not on a class added by main.js: waiting for the
   script kept the hero text invisible for seconds on slow phones. */
.hero-title .line > span { display: inline-block; animation: hero-line 1.2s var(--ease-out) both; }
.hero-title em { font-style: italic; color: var(--sand); }
.hero-title .line:nth-child(2) > span { animation-delay: .09s; }
.hero-title .line:nth-child(3) > span { animation-delay: .18s; }
@keyframes hero-line { from { transform: translateY(105%); } }

.hero-sub { max-width: 52ch; margin-top: clamp(14px, 2.6vh, 28px); color: rgba(243,236,225,.84); font-size: clamp(16px, 1.3vw, 19px); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3.2vh, 34px); }

.reveal-up { animation: reveal-up 1s var(--ease) both; }
/* Compound selectors so the delays outrank the `animation` shorthand above, which resets the delay. */
.reveal-up.hero-sub { animation-delay: .35s; }
.reveal-up.hero-ctas { animation-delay: .45s; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(14px); } }

.hero-foot {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(12, 11, 9, .38);
  backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1);
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) 3fr;
  align-items: stretch;
}
.shot { padding: 16px var(--gutter) 16px var(--gutter); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.shot-bars { display: flex; gap: 3px; height: 2px; }
.shot-bars i { flex: 1; background: rgba(243,236,225,.2); position: relative; overflow: hidden; border-radius: 2px; }
.shot-bars i::after { content: ""; position: absolute; inset: 0; background: var(--sand); transform-origin: left; transform: scaleX(var(--p, 0)); }
.shot-meta { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.shot-idx { font-family: var(--mono); font-size: 11px; color: var(--paper-faint); letter-spacing: .08em; flex: none; }
.shot-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: hidden; }
.shot-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); flex: none; }
.shot-value { font-size: 14px; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-text.swap { animation: swap .55s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-specs { display: grid; grid-template-columns: repeat(5, 1fr); }
.hero-specs > div { padding: 16px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.hero-specs > div:last-child { border-right: 0; }
.hero-specs dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-faint); }
.hero-specs dd { font-size: 15px; font-weight: 500; text-wrap: balance; }

.hero-toggle {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 16px);
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(12,11,9,.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; cursor: pointer; opacity: .75; transition: opacity .2s;
}
.hero-toggle:hover { opacity: 1; }
.hero-toggle .ic { width: 14px; height: 14px; }
.hero-toggle .ic-play { display: none; }
.hero-toggle.is-paused .ic-play { display: block; }
.hero-toggle.is-paused .ic-pause { display: none; }

@media (max-width: 1100px) {
  .hero-foot { grid-template-columns: 1fr; }
  .shot { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 12px; }
  .shot-text { flex-direction: row; align-items: baseline; gap: 10px; }
  /* All five specs stay visible: 3 + 2 on tablets, 2 + 2 + 1 on phones. */
  .hero-specs { grid-template-columns: repeat(3, 1fr); }
  .hero-specs > div { padding: 12px var(--gutter); }
  .hero-specs > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .hero-specs > div:nth-child(3) { border-right: 0; }
  .hero-specs > div:last-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .hero { min-height: max(600px, 100vh); min-height: max(600px, 100svh); }
  .hero-shade { background: linear-gradient(180deg, rgba(12,11,9,.55) 0%, rgba(12,11,9,0) 18%), linear-gradient(0deg, rgba(12,11,9,.95) 0%, rgba(12,11,9,.75) 55%, rgba(12,11,9,.1) 84%); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-ctas .btn-ghost { display: none; }
  .hero-specs { grid-template-columns: repeat(2, 1fr); }
  .hero-specs > div { padding-block: 8px; gap: 2px; }
  .hero-specs dd { font-size: 14px; }
  .hero-specs > div:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .hero-specs > div:nth-child(2n), .hero-specs > div:last-child { border-right: 0; }
  .hero-specs > div:last-child { border-bottom: 0; }
  .hero-toggle { top: auto; bottom: calc(100% + 10px); }
  .hero-foot .hero-toggle { display: none; }
}

/* ── generic reveal ───────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal-up, .hero-title .line > span { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .hero-media video { animation: none; transform: none; }
}

/* ── intro ────────────────────────────────────────────── */
.intro { padding-block: clamp(96px, 14vw, 200px) clamp(80px, 10vw, 150px); }
.intro-title { max-width: 15ch; margin-top: 28px; font-size: clamp(44px, 7vw, 112px); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 26px 0 28px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.stats li:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.stats li:nth-child(even) { padding-left: 28px; }
.stat-num { display: flex; align-items: baseline; gap: 8px; }
.stat-num b { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 6vw, 88px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-num i { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--sand); letter-spacing: .08em; }
.stat-lbl { font-size: 14.5px; color: var(--paper-dim); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .stats li:nth-child(odd) { padding-right: 14px; }
  .stats li:nth-child(even) { padding-left: 16px; }
}

/* ── 3D parcel ────────────────────────────────────────── */
.parcel { position: relative; background: var(--ink); }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 60% 55%, #221c15 0%, #120f0c 55%, var(--ink) 100%);
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.stage.is-exploring canvas { touch-action: none; cursor: grab; }
.stage.is-exploring canvas:active { cursor: grabbing; }
.stage-labels { position: absolute; inset: 0; pointer-events: none; }
.stage-top {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 12px);
  display: flex; justify-content: space-between; align-items: center; pointer-events: none;
}
.stage-dots { display: flex; gap: 8px; }
.stage-dots li { width: 22px; height: 2px; background: rgba(243,236,225,.2); border-radius: 2px; transition: background .4s, width .4s var(--ease); }
.stage-dots li.on { background: var(--sand); width: 38px; }
/* Bottom-left: the bottom-right corner belongs to the elevation panel and the floating Enquire button. */
.stage-note {
  position: absolute; left: var(--gutter); bottom: 18px; max-width: 360px;
  font-size: 11.5px; color: var(--paper-faint); font-family: var(--mono); letter-spacing: .02em; line-height: 1.5;
  pointer-events: none;
}
.stage-loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-faint);
  transition: opacity .8s var(--ease);
}
.stage-loading span { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.stage-loading span::after { content: ""; position: absolute; inset: 0; background: var(--sand); transform-origin: left; animation: load 1.4s var(--ease) infinite; }
@keyframes load { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.stage.is-ready .stage-loading { opacity: 0; pointer-events: none; }
.stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
/* No WebGL: parcel3d.js never runs, so nothing activates the cards. Show them all and drop the 3D-only parts. */
.parcel.is-fallback .step-card { opacity: 1; transform: none; border-color: var(--line-2); }
.parcel.is-fallback :is(canvas, .step-last, .step-note) { display: none; }

.steps { position: relative; margin-top: -100vh; margin-top: -100svh; z-index: 2; pointer-events: none; }
.step { height: 92vh; height: 92svh; display: flex; align-items: center; padding-inline: var(--gutter); }
.step:first-child { height: 100vh; height: 100svh; }
.step-last { height: 120vh; height: 120svh; align-items: flex-start; padding-top: 34vh; }
.step-card {
  pointer-events: auto;
  width: min(420px, 100%);
  padding: 28px 28px 26px;
  border-radius: var(--radius);
  background: rgba(16, 14, 11, .62);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
  opacity: .28; transform: translateY(18px) scale(.985);
  transition: opacity .7s var(--ease), transform .9s var(--ease-out), border-color .6s;
}
.step.is-active .step-card { opacity: 1; transform: none; border-color: var(--line-2); }
.step-k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.step-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.02; letter-spacing: -.01em; margin: 12px 0 14px; text-wrap: balance; }
.step-card p { color: var(--paper-dim); font-size: 15.5px; }
.step-fact { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--paper) !important; letter-spacing: .06em; }
.step-fact b { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; letter-spacing: -.02em; }
.step-note { margin-top: 14px; font-family: var(--mono); font-size: 11px !important; letter-spacing: .04em; color: var(--paper-faint) !important; }
.step-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step-jumps button {
  height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; font-size: 13.5px; color: var(--paper);
  transition: background .25s, border-color .25s, color .25s;
}
.step-jumps button[aria-pressed="true"] { background: var(--sand); color: var(--text-on-sand); border-color: var(--sand); }
/* Hover only on mouse devices: phones keep :hover on the last tapped button, which made it look selected. */
@media (hover: hover) { .step-jumps button:hover { background: var(--sand); color: var(--text-on-sand); border-color: var(--sand); } }
/* The finger-rotate switch is a mode, not a destination: sand outline on its own line, never the solid fill of a jump button. */
.step-rotate {
  display: none; align-items: center; gap: 8px; margin-top: 14px; height: 36px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid var(--sand); background: transparent; color: var(--sand);
  font-size: 13.5px; cursor: pointer; transition: background .25s;
}
.step-rotate[aria-pressed="true"] { background: color-mix(in srgb, var(--sand) 16%, transparent); }
.only-coarse { display: none !important; }
@media (pointer: coarse) {
  .only-fine { display: none !important; }
  .only-coarse { display: initial !important; }
  p.only-coarse { display: block !important; }
  .step-rotate { display: flex; }
}

.elev {
  position: absolute; right: var(--gutter); bottom: 64px;
  width: 300px; padding: 18px 20px 16px;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(16, 14, 11, .7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .8s var(--ease-out);
  pointer-events: none;
}
.stage[data-step="2"] .elev { opacity: 1; transform: none; }
.elev-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 14px; }
.elev-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; height: 130px; }
.elev-col { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; height: 100%; font-size: 11.5px; color: var(--paper-dim); }
.elev-col b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--paper); }
.elev-bar { display: block; height: calc(8px + var(--h) * 110px); background: linear-gradient(180deg, #7d5a3c, #4a3322); border-top: 2px solid #a37b56; border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease-out) .15s; }
.stage[data-step="2"] .elev-bar { transform: scaleY(1); }
.elev-col.is-hi .elev-bar { background: linear-gradient(180deg, var(--sand), #9a6b43); border-top-color: #f2cfa7; }
.elev-col.is-hi b { color: var(--sand); }

/* CSS2D labels */
.lbl3d {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper); white-space: nowrap;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(12, 11, 9, .72); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.lbl3d.on { opacity: 1; }
.lbl3d.big { font-size: 13px; padding: 8px 12px; color: var(--sand); border-color: rgba(220,170,120,.45); }
@media (max-width: 900px) { .lbl3d.lbl-wide { display: none; } }
@media (max-width: 640px) { .lbl-more { display: none; } }
.pin3d { pointer-events: auto; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.pin3d::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px rgba(220,170,120,.25); animation: pinPulse 2.4s var(--ease) infinite; }
.pin3d:not(.on) { pointer-events: none; }
@keyframes pinPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(220,170,120,.25); } 50% { box-shadow: 0 0 0 7px rgba(220,170,120,0); } }

.elev-mini { display: none; }
@media (max-width: 860px) {
  .elev { display: none; }
  .elev-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; margin-top: 14px; height: 74px; }
  .elev-mini span { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; font-size: 11px; color: var(--paper-faint); gap: 2px; }
  .elev-mini i { display: block; height: calc(var(--h) * 40px + 3px); background: linear-gradient(180deg, #7d5a3c, #4a3322); border-top: 2px solid #a37b56; border-radius: 3px 3px 0 0; margin-bottom: 4px; }
  .elev-mini .is-hi i { background: linear-gradient(180deg, var(--sand), #9a6b43); border-top-color: #f2cfa7; }
  .elev-mini b { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--paper); }
  .elev-mini .is-hi b { color: var(--sand); }
  .stage-top .eyebrow { display: none; }
  .stage-top { justify-content: flex-end; }
  .step { align-items: flex-end; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .step-last { align-items: flex-end; padding-top: 0; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .step-card { width: 100%; padding: 20px 20px 18px; }
  .step-card h3 { font-size: 27px; margin: 8px 0 10px; }
  .step-card p { font-size: 14.5px; }
  .step-fact b { font-size: 40px; }
  .stage-note { display: none; }
  .elev { top: calc(var(--nav-h) + 44px); bottom: auto; right: var(--gutter); left: var(--gutter); width: auto; }
  .elev-bars { height: 96px; }
  .elev-bar { height: calc(6px + var(--h) * 80px); }
}

/* ── works ────────────────────────────────────────────── */
.works { padding-block: clamp(110px, 14vw, 200px); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .display { max-width: 14ch; }
.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(300px, auto); gap: 14px; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); min-height: 300px; isolation: isolate; }
.work video, .work .water-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.work::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,11,9,.9) 0%, rgba(12,11,9,.35) 45%, rgba(12,11,9,0) 70%); }
.work:hover video { transform: scale(1.04); }
.work-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.work-num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.work h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.02; margin: 8px 0 6px; }
.work p { color: var(--paper-dim); font-size: 15px; max-width: 42ch; }
.work-a { grid-column: span 7; min-height: 440px; }
.work-b { grid-column: span 5; min-height: 440px; }
.work-d { grid-column: span 6; min-height: 360px; }
.work-e { grid-column: span 6; min-height: 360px; }
.work-water { background: #1a130d; }
.water-art svg { width: 100%; height: 100%; }
.water-art .wave { animation: wave 5s linear infinite; }
@keyframes wave { to { transform: translateX(-80px); } }
.water-art .bore { stroke-dashoffset: 0; animation: bore 2.4s linear infinite; }
@keyframes bore { to { stroke-dashoffset: -28; } }
/* After the animation rules above, so it wins at equal specificity. */
@media (prefers-reduced-motion: reduce) { .pin3d::before, .water-art .wave, .water-art .bore { animation: none; } }
@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .work-a, .work-b, .work-d, .work-e { grid-column: span 1; min-height: 340px; }
}
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } }

/* ── paper theme sections ─────────────────────────────── */
.theme-paper {
  --line: rgba(27, 19, 12, 0.14);
  --line-2: rgba(27, 19, 12, 0.26);
  --paper-dim: rgba(27, 19, 12, 0.68);
  --paper-faint: rgba(27, 19, 12, 0.62); /* ≥ 4.5:1 on --paper */
  --sand: #a8683a;
  background: var(--paper);
  color: #1b130c;
}
.theme-paper .display em { color: var(--sand); }

/* ── location ─────────────────────────────────────────── */
.location { padding-block: clamp(110px, 14vw, 200px); }
.loc-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.loc-copy .display { margin-top: 24px; max-width: 13ch; }
.loc-copy .sec-lede { margin-top: 22px; }
/* Rows share the list's columns (subgrid), so every bar track starts and ends at the same x and the time column
   is as wide as the longest time: this is what keeps "Bars to scale" true. */
.times {
  display: grid; grid-template-columns: 22px minmax(0, 1.25fr) minmax(0, 1fr) auto; column-gap: 14px;
  margin-top: 44px; border-top: 1px solid var(--line);
}
.times li {
  grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.times .ic { color: var(--sand); width: 20px; height: 20px; }
.times .is-ride .ic { color: #2f8f88; }
.t-name { font-size: 15.5px; font-weight: 500; }
.t-name small { display: block; font-weight: 400; font-size: 12.5px; color: var(--paper-faint); }
.t-bar { position: relative; height: 6px; border-radius: 6px; background: rgba(27,19,12,.07); overflow: hidden; }
.t-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--hi) / 25 * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--sand) calc(var(--lo) / var(--hi) * 100%), rgba(168,104,58,.35) calc(var(--lo) / var(--hi) * 100%)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out) .2s; }
.times .is-ride .t-bar i { background: linear-gradient(90deg, #2f8f88 calc(var(--lo) / var(--hi) * 100%), rgba(47,143,136,.35) calc(var(--lo) / var(--hi) * 100%)); }
.times li.in .t-bar i { transform: scaleX(1); }
.t-time { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--paper-dim); text-align: right; white-space: nowrap; }
.times-key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 12.5px; color: var(--paper-dim); }
.times-key span { display: inline-flex; align-items: center; gap: 6px; }
.times-key .ic { width: 15px; height: 15px; color: var(--sand); }
.times-key .is-ride .ic { color: #2f8f88; }
.times-key .muted { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }

.loc-visual { display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 24px); }
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e4dccd; }
.map { height: clamp(320px, 42vw, 480px); width: 100%; z-index: 0; }
.map canvas { filter: saturate(.85); }
.map-note {
  position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 5; width: fit-content; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px; font-size: 12.5px;
  background: rgba(243, 236, 225, .92); border: 1px solid var(--line); color: #1b130c;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.map-note .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px dashed var(--sand); background: rgba(168,104,58,.2); flex: none; }
.map-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #1b130c; background: rgba(243,236,225,.94); border: 1px solid rgba(27,19,12,.2); padding: 5px 9px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 20px -8px rgba(0,0,0,.3); }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-group { border-radius: 10px !important; box-shadow: 0 4px 16px -6px rgba(0,0,0,.25) !important; }
.maplibregl-cooperative-gesture-screen { font-family: var(--sans); font-size: 15px; }

.loc-clip { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; background: #d9cfbf; }
.loc-clip video { width: 100%; height: 100%; object-fit: cover; }
.loc-clip::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(0deg, rgba(12,11,9,.7), transparent); pointer-events: none; }
.loc-clip figcaption { z-index: 1; }
.loc-clip figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--paper); text-shadow: 0 1px 12px rgba(0,0,0,.6); color: #f3ece1; }
@media (max-width: 960px) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-visual { position: static; }
}
@media (max-width: 520px) {
  .loc-clip { aspect-ratio: 16 / 10; }
  /* Each row gets its own columns again so short times leave room for long names; bars still align, on their own row. */
  .times li { grid-template-columns: 20px 1fr auto; row-gap: 8px; }
  .t-bar { grid-column: 2 / -1; grid-row: 2; }
}

/* ── why ──────────────────────────────────────────────── */
.why { position: relative; padding-block: clamp(120px, 16vw, 220px); overflow: hidden; isolation: isolate; }
.why-media { position: absolute; inset: 0; z-index: -1; }
.why-media video { width: 100%; height: 100%; object-fit: cover; }
.why-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(12,11,9,.55) 22%, rgba(12,11,9,.62) 70%, var(--ink) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(12,11,9,.1), rgba(12,11,9,.5));
}
.why-title { margin-top: 26px; max-width: 16ch; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(56px, 8vw, 110px); }
.why-grid article {
  padding: 28px 26px 30px; border-radius: var(--radius);
  background: rgba(12, 11, 9, .48); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
}
.why-big { font-family: var(--serif); font-size: clamp(64px, 7vw, 110px); line-height: .9; letter-spacing: -.03em; color: var(--paper); margin-bottom: 30px; }
.why-big-sm { font-size: clamp(46px, 4.6vw, 70px); line-height: .95; font-style: italic; color: var(--sand); }
.why-grid h3 { font-size: 17px; font-weight: 600; letter-spacing: .005em; margin-bottom: 8px; }
.why-grid p { color: var(--paper-dim); font-size: 15px; }
.why-grid cite { margin-top: auto; padding-top: 16px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--paper-faint); }
.why-grid article:nth-child(2) { --d: .08s; }
.why-grid article:nth-child(3) { --d: .16s; }
.why-grid article:nth-child(4) { --d: .24s; }
/* Four cards in one row only on wide screens; "15–30%" and "Starbucks" must fit a quarter-width card. */
@media (min-width: 1101px) {
  .why-big { font-size: clamp(64px, 6.2vw, 92px); }
  .why-big-sm { font-size: clamp(40px, 3.4vw, 54px); }
}
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* ── specs ────────────────────────────────────────────── */
.specs { padding-block: clamp(110px, 14vw, 200px); }
.specs-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.specs-head { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 26px; justify-items: start; }
.specs-head .display { max-width: 9ch; }
.spec-list { border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-faint); padding-top: 3px; }
.spec-list dd { font-size: 16.5px; text-wrap: pretty; }
.spec-list [data-reveal] { transform: translateY(10px); }
@media (max-width: 900px) {
  .specs-grid { grid-template-columns: 1fr; }
  .specs-head { position: static; }
}
@media (max-width: 560px) { .spec-list > div { grid-template-columns: 1fr; gap: 6px; } }

/* ── deal + enquire ───────────────────────────────────── */
.deal { padding-block: clamp(110px, 14vw, 200px) clamp(80px, 10vw, 140px); }
.deal .display { margin-top: 26px; max-width: 14ch; }
.deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(44px, 6vw, 80px); }
.deal-card { position: relative; padding: 30px 28px 32px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); overflow: hidden; }
.deal-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(220,170,120,.16), transparent 70%); }
/* The icon art starts 3 viewBox units (6 px) in; the negative margin lines its left edge up with the heading. */
.deal-ic { display: block; width: 96px; height: 48px; margin-left: -6px; color: var(--sand); }
.deal-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.2vw, 48px); line-height: 1; margin: 22px 0 10px; }
.deal-card p { color: var(--paper-dim); }
.deal-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.deal-chips li { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--paper-dim); }

.enquire {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(220,170,120,.18), transparent 60%),
    var(--ink-2);
  border: 1px solid var(--line);
}
.enq-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 76px); line-height: .95; letter-spacing: -.015em; }
.enq-copy p { color: var(--paper-dim); margin-top: 16px; max-width: 32ch; }
.enq-form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-faint); padding: 0; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--paper);
  background: rgba(243,236,225,.04); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 14px; transition: border-color .2s, background .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sand); background: rgba(243,236,225,.07); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border: 1px solid var(--line-2); border-radius: 14px; }
.seg label { position: relative; cursor: pointer; text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; height: 40px; border-radius: 10px; font-size: 14.5px; color: var(--paper-dim); transition: background .25s, color .25s; text-align: center; }
.seg input:checked + span { background: var(--sand); color: var(--text-on-sand); }
.seg input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.form-note { font-size: 12.5px; color: var(--paper-faint); text-align: center; }
@media (max-width: 860px) {
  .deal-grid { grid-template-columns: 1fr; }
  .enquire { grid-template-columns: 1fr; }
}

/* ── footer ───────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding-block: 44px calc(44px + env(safe-area-inset-bottom)); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: end; }
.foot-brand { display: grid; gap: 10px; }
.foot-brand .brand-mark { width: 54px; }
.foot-meta { text-align: right; font-size: 14px; color: var(--paper-dim); display: grid; gap: 4px; }
.foot .muted { font-size: 13px; }
.foot-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--paper-faint); }
@media (max-width: 640px) { .foot-meta { text-align: left; } }

/* ── floating WhatsApp ────────────────────────────────── */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 18px; border-radius: 999px;
  background: var(--sand); color: var(--text-on-sand); text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
  /* visibility (delayed until the slide-out ends) keeps the hidden button out of the Tab order. */
  transform: translateY(140%); opacity: 0; visibility: hidden;
  transition: transform .6s var(--ease-out), opacity .4s var(--ease), background .25s, visibility 0s linear .6s;
}
.wa-float.show { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.wa-float:hover { background: #e8bb8d; }
.wa-float .ic { width: 20px; height: 20px; }
@media (max-width: 900px) { .wa-float { display: none; } }
