/* Umah Tenang — mobile first */

:root {
  --bg: #F4EFE6;        /* warm cream */
  --paper: #FAF7F1;     /* lighter cream */
  --stone: #E7DFD1;     /* limestone */
  --line: #D8CEBD;
  --ink: #26231F;       /* charcoal */
  --ink-soft: #57514A;
  --muted: #8C8378;
  --teak: #7B5236;
  --night: #1F2420;

  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif; /* accents only */

  --gutter: 20px;
  --max: 1240px;
  --section: clamp(80px, 14vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid var(--teak); outline-offset: 3px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--paper); padding: 8px 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--sans); font-weight: 300; margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(52px, 14vw, 140px); line-height: .92; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 7vw, 56px); line-height: 1.06; margin-bottom: 24px; text-wrap: balance; }
h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
h3 { font-size: 26px; line-height: 1.15; font-weight: 400; letter-spacing: -0.015em; }
p { margin: 0 0 1em; color: var(--ink-soft); max-width: 36em; }

.eyebrow {
  font: 500 11px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.lede { font-size: 21px; line-height: 1.45; font-weight: 300; color: var(--ink); }
.lede em { font-family: var(--serif); font-size: 1.12em; }
.num { font: 400 12px/1 var(--sans); letter-spacing: .14em; color: var(--muted); display: block; margin-bottom: 14px; }

.wordmark {
  font: 500 12px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0;
  position: relative; z-index: 2;
}
.wordmark--lg { font-size: 14px; color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  padding-top: max(16px, env(safe-area-inset-top));
  color: #fff;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(244, 239, 230, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-color: var(--line);
}
.nav-right { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.nav-cta, .menu-btn {
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding: 11px 14px; border: 1px solid currentColor; background: none;
  transition: background .3s, color .3s, border-color .3s;
}
.menu-btn { border-color: transparent; padding-right: 0; }

/* mobile menu panel */
.nav-links {
  position: fixed; inset: 0; z-index: 1;
  background: var(--bg); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 100px var(--gutter) 60px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
body.menu-open .nav-links { opacity: 1; visibility: visible; }
.nav-links a {
  font: 300 38px/1.25 var(--sans); letter-spacing: -0.03em; text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid var(--line);
}
.nav-links a[aria-current="page"] { color: var(--teak); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; }
.hero--short { height: 72svh; min-height: 460px; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 40% 50%;
  animation: settle 2.4s var(--ease) both;
}
@keyframes settle { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,15,.62) 0%, rgba(20,18,15,.15) 45%, rgba(20,18,15,.25) 100%);
}
.hero-copy {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 76px;
  animation: rise 1.6s .3s var(--ease) both;
}
.hero-copy h1 { margin-bottom: 16px; }
.hero-sub { font-size: clamp(18px, 4.6vw, 26px); font-weight: 300; color: #fff; margin: 0; letter-spacing: -0.01em; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; width: 1px; height: 36px; overflow: hidden;
  background: rgba(255,255,255,.3);
}
.hero-scroll span { position: absolute; inset: 0; background: #fff; animation: drip 2.4s infinite var(--ease); }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* plain page header (gallery) */
.page-head { padding: calc(var(--section) + 48px) 0 40px; }
.page-head h1 { font-size: clamp(48px, 12vw, 112px); margin-bottom: 18px; }

/* ---------- facts ---------- */
.facts { border-bottom: 1px solid var(--line); background: var(--paper); }
.facts dl {
  margin: 0 auto; max-width: var(--max);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.facts dl > div {
  padding: 26px var(--gutter);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts dl > div:nth-child(2n) { border-right: 0; }
.facts dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.facts dd { margin: 0; font: 200 44px/1 var(--sans); letter-spacing: -0.04em; }
.facts dd small { font-size: .5em; margin-left: 3px; letter-spacing: 0; }

/* ---------- story ---------- */
.story-grid { display: grid; gap: 48px; }
.signoff { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink); margin-top: 28px; }
.story-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; letter-spacing: .02em; }

/* ---------- house ---------- */
.house { background: var(--paper); }
.section-head { margin-bottom: 56px; }
.section-head h2 { max-width: 18em; }
.spaces { display: grid; gap: 64px; }
.space-copy { padding-top: 22px; }
.space-copy h3 { margin-bottom: 10px; }
.space-copy p { font-size: 16px; }

/* ---------- carousel ---------- */
.carousel { position: relative; background: var(--stone); }
.car-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(250,247,241,.88); border: 0; color: var(--ink);
  font: 300 22px/1 var(--sans);
  opacity: 0; transition: opacity .3s;
}
.car-prev { left: 10px; } .car-next { right: 10px; }
.car-btn[disabled] { opacity: 0 !important; pointer-events: none; }
.car-count {
  position: absolute; right: 10px; bottom: 10px; margin: 0;
  background: rgba(31,36,32,.62); color: #fff; padding: 6px 10px;
  font: 400 11px/1 var(--sans); letter-spacing: .12em;
}
.car-dots { display: flex; gap: 6px; justify-content: center; position: absolute; left: 0; right: 0; bottom: 14px; pointer-events: none; }
.car-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background .3s, transform .3s; }
.car-dots i.on { background: #fff; transform: scale(1.3); }
@media (hover: hover) {
  .carousel:hover .car-btn { opacity: 1; }
}

/* photo rail */
.rail {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 80px var(--gutter) 0; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 78%; scroll-snap-align: start; overflow: hidden; display: block; }
.rail-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.rail-item:hover img { transform: scale(1.03); }
.rail-foot { padding-top: 24px; }

.link-btn {
  background: none; border: 0; padding: 0 0 4px;
  font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; text-decoration: none; display: inline-block;
}
.link-btn span { display: inline-block; transition: transform .3s var(--ease); margin-left: 6px; }
.link-btn:hover span { transform: translateX(4px); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 12px; }

/* ---------- rooms ---------- */
.room-list { display: grid; gap: 72px; }
.room-copy { padding-top: 24px; }
.room-copy h3 { font-size: 30px; margin-bottom: 8px; }
.room-meta { font: 500 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--teak); margin-bottom: 16px; }

/* ---------- stay ---------- */
.stay { background: var(--stone); }
.stay-grid { display: grid; gap: 40px; }
.stay-col h3 { font-size: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line);
  position: relative; color: var(--ink); font-size: 16px;
}
.ticks li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 10px; height: 1px; background: var(--teak); }
.ticks--open li::before { width: 6px; height: 6px; border: 1px solid var(--teak); background: none; top: 22px; border-radius: 50%; }

.families { margin-top: 80px; background: var(--paper); display: grid; }
.families img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.families-copy { padding: 32px var(--gutter) 36px; }
.families-copy h3 { font-size: 28px; margin-bottom: 14px; }

.details {
  margin: 64px 0 0; display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
}
.details > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.details > div:nth-child(odd) { padding-right: 14px; }
.details dt { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.details dd { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 400; color: var(--ink); }

/* ---------- location ---------- */
.location { padding-bottom: 0; }
.loc-grid { display: grid; gap: 48px; }
.distances { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); align-self: end; }
.distances li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.distances li span:first-child { font-size: 19px; font-weight: 300; color: var(--ink); letter-spacing: -0.01em; }
.distances li span:last-child { color: var(--muted); font-size: 15px; align-self: center; white-space: nowrap; }
.loc-img { margin: var(--section) 0 0; }
.loc-img img { width: 100%; height: 70svh; min-height: 380px; object-fit: cover; }

.map-frame { position: relative; background: var(--stone); border: 1px solid var(--line); }
.map-frame iframe {
  display: block; width: 100%; height: 62svh; min-height: 380px; border: 0;
  filter: grayscale(1) sepia(.18) contrast(.92) brightness(1.04);
  transition: filter .6s var(--ease);
}
.map-frame:hover iframe { filter: none; }
.map-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 32px; padding: 22px 0 0; }
.map-meta p { margin: 0; color: var(--ink); }
.map-meta small { display: block; color: var(--muted); font-size: 14px; }

.area { display: grid; gap: 56px; }
.area-group h3 { font-size: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.area-group .distances { border-top: 0; }
.area-group li { flex-wrap: wrap; }
.area-group li p { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; }

.rating {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: 14px; text-decoration: none; letter-spacing: .02em;
}
.rating b { font-weight: 500; }
.rating .stars { letter-spacing: 2px; color: #C9A889; }

/* ---------- gallery page ---------- */
.g-nav {
  position: sticky; top: 61px; z-index: 20; background: rgba(244,239,230,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.g-nav .wrap { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 14px; }
.g-nav .wrap::-webkit-scrollbar { display: none; }
.g-nav a { font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--muted); }
.g-nav a:hover { color: var(--ink); }
.g-section { padding: 56px 0 8px; scroll-margin-top: 110px; }
.g-section h2 { font-size: clamp(26px, 5vw, 40px); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.g-section h2 small { font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.g-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.g-grid button { display: block; padding: 0; border: 0; background: var(--stone); overflow: hidden; }
.g-grid button:first-child, .g-grid button:last-child:nth-child(even) { grid-column: 1 / -1; }
.g-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease), opacity .3s; }
.g-grid button:hover img { transform: scale(1.03); }

/* ---------- enquire ---------- */
.enquire { background: var(--night); color: #EDE7DC; }
.enquire p { color: rgba(237,231,220,.72); }
.enquire .eyebrow { color: rgba(237,231,220,.55); }
.enquire h2 { color: #F4EFE6; }
.enquire-grid { display: grid; gap: 56px; }
.steps { list-style: none; padding: 0; margin: 28px 0 36px; }
.steps li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(237,231,220,.14); font-size: 16px; }
.steps span { font-size: 13px; color: #C9A889; width: 14px; font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 28px; border: 0; text-decoration: none;
  font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--wa { background: #F4EFE6; color: var(--night); width: 100%; }
.btn--wa:hover { background: #fff; }
.btn--dark { background: var(--ink); color: var(--paper); width: 100%; margin-top: 8px; }
.btn--dark:hover { background: #000; }
.phone { margin-top: 14px; font-size: 14px; letter-spacing: .06em; text-align: center; }
.enquire .rating { color: #EDE7DC; }

.form { background: var(--paper); color: var(--ink); padding: 32px 22px; }
.enquire .form-title { font-size: 24px; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
.form label { display: block; font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.form .opt { text-transform: none; letter-spacing: 0; font-weight: 300; }
.form input, .form textarea {
  display: block; width: 100%; min-width: 0; margin-top: 10px;
  font: 300 17px/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 0 10px; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.enquire-grid > *, .story-grid > *, .loc-grid > *, .stay-grid > *, .form .row > * { min-width: 0; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--ink); }
.form input[type="date"] { min-height: 40px; }
.form textarea { resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--muted) !important; margin: 12px 0 0; text-align: center; max-width: none; }
.form .invalid { border-color: #A4553A; }

/* CTA band on sub-pages */
.cta-band { background: var(--night); color: #EDE7DC; text-align: center; }
.cta-band h2 { color: #F4EFE6; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(237,231,220,.72); margin: 0 auto 32px; }
.cta-band .btn--wa { width: auto; }

/* ---------- footer ---------- */
.footer { background: var(--bg); padding: 64px 0 120px; text-align: center; }
.footer p { margin: 0 auto 8px; font-size: 14px; }
.footer .wordmark { margin-bottom: 18px; }
.footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0; }
.footer-links a { border: 0; font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.footer .small { font-size: 12px; color: var(--muted); margin-top: 22px; }

/* ---------- sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; z-index: 30;
  left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--ink); color: var(--paper); text-align: center; text-decoration: none;
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  padding: 19px; transform: translateY(150%); transition: transform .5s var(--ease);
}
.sticky-cta.is-on { transform: none; }

/* ---------- lightbox ---------- */
dialog { border: 0; padding: 0; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(20,18,15,.6); }
.close {
  background: none; border: 0; padding: 6px 0;
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}
/* dark frosted glass: the page stays faintly visible behind, hinting that tapping it returns you there */
.lightbox {
  width: 100vw; height: 100svh; margin: 0; inset: 0; color: #fff; overflow: hidden;
  background: rgba(22, 20, 17, .62);
  -webkit-backdrop-filter: blur(22px) saturate(.85);
  backdrop-filter: blur(22px) saturate(.85);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: block; animation: lb-in .35s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox .lb-slide { cursor: zoom-out; }
.lightbox .lb-slide img { cursor: default; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lightbox { background: rgba(22, 20, 17, .92); }
}
body.lb-open { overflow: hidden; }
.lb-track {
  display: flex; width: 100%; height: 100%;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide {
  flex: 0 0 100%; height: 100%; display: grid; place-items: center;
  scroll-snap-align: center; scroll-snap-stop: always;
  padding: 64px 0 56px;
}
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox.is-single .lb-nav, .lightbox.is-single .lb-count { display: none; }
[data-zoom] { cursor: zoom-in; }
.close--light { position: absolute; top: max(18px, env(safe-area-inset-top)); right: var(--gutter); color: #fff; z-index: 2; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: none; border: 0; color: #fff; font: 200 40px/1 var(--sans); padding: 20px 14px; opacity: .8;
}
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb-count { position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .2em; margin: 0; max-width: none; }
.lb-cap { position: absolute; top: max(22px, env(safe-area-inset-top)); left: var(--gutter); right: 90px; margin: 0; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .facts dl { grid-template-columns: repeat(4, 1fr); }
  .facts dl > div { border-bottom: 0; }
  .facts dl > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .facts dl > div:last-child { border-right: 0; }
  .rail-item { flex-basis: 42%; }
  .details { grid-template-columns: repeat(4, 1fr); }
  .details > div { padding-right: 14px; }
  .btn--wa { width: auto; }
  .phone { text-align: left; }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .g-grid button:last-child:nth-child(even) { grid-column: auto; }
  .g-grid button:first-child { grid-column: span 2; grid-row: span 2; }
  .g-grid button:first-child img { height: 100%; }
  .area { grid-template-columns: 1fr 1fr; gap: 56px 48px; }
}

@media (min-width: 900px) {
  :root { --gutter: 48px; }
  body { font-size: 18px; }
  .nav { padding-top: 24px; padding-bottom: 24px; }
  .menu-btn { display: none; }
  .nav-links {
    position: static; opacity: 1; visibility: visible; background: none; color: inherit;
    flex-direction: row; padding: 0; gap: 34px;
    position: absolute; inset: auto; left: 50%; top: 50%; transform: translate(-50%, -50%);
  }
  .nav-links a {
    font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
    border: 0; padding: 0; opacity: .85; transition: opacity .3s;
  }
  .nav-links a:hover { opacity: 1; }
  .nav-links a[aria-current="page"] { color: inherit; opacity: 1; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
  .nav-cta:hover { color: var(--bg); background: var(--ink); border-color: var(--ink); }
  .nav:not(.is-solid) .nav-cta:hover { color: var(--ink); background: #fff; border-color: #fff; }
  .g-nav { top: 75px; }

  .hero-copy { bottom: 96px; left: var(--gutter); }

  .story-grid { grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
  .story-text { padding-right: 24px; }

  .section-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px; margin-bottom: 96px; }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-head h2 { grid-column: 1; }
  .section-head p:not(.eyebrow) { grid-column: 2; align-self: end; }

  .spaces { grid-template-columns: 1fr 1fr; gap: 96px 48px; }
  .space--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: end; }
  .space--wide .space-copy { padding: 0 0 8px; }
  .space-copy p { max-width: 26em; }

  .rail { padding-top: 120px; padding-left: var(--gutter); }
  .rail-item { flex-basis: 26%; }

  .room-list { gap: 140px; }
  .room { display: grid; grid-template-columns: 7fr 4fr; gap: 72px; align-items: end; }
  .room:nth-child(even) { grid-template-columns: 4fr 7fr; }
  .room:nth-child(even) .carousel { order: 2; }
  .room-copy { padding: 0 0 12px; }
  .room-copy h3 { font-size: 38px; }

  .stay-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .families { grid-template-columns: 1.2fr 1fr; margin-top: 120px; }
  .families img { height: 100%; aspect-ratio: auto; }
  .families-copy { padding: 64px 56px; align-self: center; }
  .families-copy h3 { font-size: 34px; }

  .loc-grid { grid-template-columns: 1.1fr 1fr; gap: 120px; }
  .loc-img img { height: 82vh; }
  .map-frame iframe { height: 72vh; }
  .area { grid-template-columns: repeat(3, 1fr); }

  .enquire-grid { grid-template-columns: 1fr 1fr; gap: 120px; align-items: start; }
  .form { padding: 48px 44px; }

  .g-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }

  .sticky-cta { display: none; }
  .footer { padding-bottom: 72px; }
  .lb-nav { padding: 20px 32px; font-size: 52px; }
  .lb-slide { padding: 72px 110px 64px; }
}

@media (min-width: 1400px) {
  .rail-item { flex-basis: 22%; }
}

/* menu open: drop the blur so the fixed panel can cover the screen */
body.menu-open .nav { background: var(--bg); color: var(--ink); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- reviews ---------- */
.reviews { background: var(--paper); border-top: 1px solid var(--line); }
.reviews-grid { display: grid; gap: 48px; }
.score { font: 200 112px/0.9 var(--sans); letter-spacing: -0.06em; color: var(--ink); margin: 0 0 10px; }
.score-stars { color: #C9A889; letter-spacing: 4px; font-size: 18px; margin: 0 0 6px; }
.score-note { font-size: 15px; margin-bottom: 28px; }
.quote { margin: 0; padding: 0 0 32px; border-bottom: 1px solid var(--line); }
.quote blockquote { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 5.6vw, 40px); line-height: 1.2; color: var(--ink); }
.quote figcaption { margin: 0; font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.themes { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.themes li { font-size: 14px; color: var(--ink-soft); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; }
@media (min-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr 2fr; gap: 120px; align-items: center; }
  .score { font-size: 160px; }
}
