/* =========================================================================
   THE ORIAD — Morjim • Goa
   Brand palette taken from the logo: deep teal, sunset orange, warm cream.
   ========================================================================= */

:root {
    --teal-950: #05252c;
    --teal-900: #08333c;
    --teal-800: #0f4c58;
    --teal-700: #16606d;
    --teal-500: #3c8a93;
    --sun: #ef5f1f;
    --sun-600: #d84f12;
    --sun-300: #f6913d;
    --gold: #e9b872;
    --cream: #f4ecdd;
    --cream-2: #efe5d2;
    --sand: #e6d8bf;
    --ink: #13292e;
    --muted: #5b6b6d;
    --line: rgba(19, 41, 46, .12);
    --line-light: rgba(244, 236, 221, .16);

    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Jost", "Segoe UI", system-ui, sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 10px 30px -12px rgba(5, 37, 44, .25);
    --shadow: 0 30px 60px -24px rgba(5, 37, 44, .45);
    --shadow-sun: 0 18px 40px -12px rgba(239, 95, 31, .55);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --header-h: 88px;
    --container: 1240px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --tabbar-h: 66px;
    --tabbar-space: 0px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sun); color: #fff; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--sun); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--cream-2); }
.section--teal { background: radial-gradient(120% 80% at 50% 0%, var(--teal-700) 0%, var(--teal-800) 35%, var(--teal-900) 100%); color: var(--cream); }

/* ---------- Typography ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .8rem;
    margin: 0 0 1.1rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
    color: var(--sun);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

.display {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.01em;
    margin-bottom: 1.4rem;
    color: var(--teal-900);
}
.display em { font-style: italic; color: var(--sun); }
.display--light { color: var(--cream); }
.display--light em { color: var(--sun-300); }
.display--sm { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }

.signature { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--teal-700); border-left: 2px solid var(--sun); padding-left: 1rem; margin: 1.8rem 0 2rem; }
.fine-print { margin-top: 2.5rem; font-size: .88rem; color: var(--muted); text-align: center; }
.fine-print a { color: var(--sun); text-decoration: underline; }
.lead-p { font-size: 1.15rem; color: #2c4247; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--split .display { margin-bottom: 0; }
.section-head__lead { font-size: 1.12rem; opacity: .85; }
.section-head__aside { max-width: 460px; color: var(--muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--teal-800); --fg: var(--cream);
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: 1rem 1.9rem;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--bg); color: var(--fg);
    font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    cursor: pointer;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::after { /* sheen */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--sun { --bg: linear-gradient(135deg, var(--sun-300), var(--sun) 55%, var(--sun-600)); --fg: #fff; box-shadow: var(--shadow-sun); }
.btn--sun:hover { box-shadow: 0 22px 46px -12px rgba(239, 95, 31, .7); }
.btn--teal { --bg: var(--teal-800); --fg: var(--cream); box-shadow: var(--shadow-sm); }
.btn--teal:hover { --bg: var(--teal-900); }
.btn--ghost { --bg: transparent; --fg: var(--cream); border-color: rgba(244, 236, 221, .45); }
.btn--ghost:hover { --bg: var(--cream); --fg: var(--teal-900); border-color: var(--cream); }
.btn--glass { --bg: rgba(244, 236, 221, .12); --fg: #fff; border-color: rgba(244, 236, 221, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --bg: rgba(244, 236, 221, .24); }
.btn--line { --bg: transparent; --fg: var(--teal-800); border-color: rgba(15, 76, 88, .35); }
.btn--line:hover { --bg: var(--teal-800); --fg: var(--cream); }
.btn--sm { padding: .72rem 1.3rem; font-size: .72rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 3rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); }
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow--light { color: #fff; }

/* ---------- Logo ---------- */
.logo { display: block; width: auto; height: 100%; overflow: visible; }
.logo__the, .logo__loc { font-family: var(--sans); font-weight: 600; font-size: 25px; fill: var(--logo-ink, var(--cream)); }
.logo__loc { font-size: 21px; font-weight: 500; }
.logo__word { font-family: var(--sans); font-weight: 700; font-size: 108px; fill: var(--logo-ink, var(--cream)); }
.logo__sun { fill: var(--sun); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: calc(var(--header-h) + var(--safe-top));
    padding-top: var(--safe-top);
    transition: background .35s, height .35s var(--ease), box-shadow .35s;
    view-transition-name: site-header;
}
.site-header::before { /* soft top shade for legibility over imagery */
    content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 37, 44, .55), transparent);
    transition: opacity .4s;
}
.site-header.is-scrolled { --header-h: 72px; background: rgba(8, 51, 60, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.site-header__brand { height: 50px; flex: none; transition: height .4s var(--ease); }
.is-scrolled .site-header__brand { height: 42px; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: .3rem; }
.site-nav__link {
    position: relative; display: block; padding: .5rem .85rem;
    color: rgba(244, 236, 221, .88); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    transition: color .3s;
}
.site-nav__link::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; border-radius: 2px;
    background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.site-nav__link:hover, .site-nav__link.is-active { color: #fff; }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.app-action { display: none; }

@media (max-width: 1180px) {
    .site-nav__link { padding: .5rem .55rem; font-size: .76rem; }
    .site-nav__link::after { left: .55rem; right: .55rem; }
}

/* =========================================================================
   App shell — bottom tab bar & "More" sheet (tablet and mobile)
   ========================================================================= */
.tabbar, .sheet { display: none; }

@media (max-width: 1024px) {
    :root { --header-h: 64px; --tabbar-space: calc(var(--tabbar-h) + 22px + var(--safe-bottom)); }
    .site-header.is-scrolled { --header-h: 58px; }
    .site-header__inner { justify-content: space-between; }
    .site-header__brand { height: 40px; }
    .is-scrolled .site-header__brand { height: 36px; }
    .site-nav, .site-header__cta { display: none; }
    .app-action {
        display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
        background: rgba(244, 236, 221, .12); border: 1px solid rgba(244, 236, 221, .25); color: var(--cream);
    }
    .app-action .icon { width: 20px; height: 20px; }

    /* Tab bar */
    .tabbar {
        position: fixed; z-index: 150; left: 50%; bottom: calc(10px + var(--safe-bottom));
        width: min(100% - 20px, 560px); height: var(--tabbar-h); padding: 0 6px;
        display: grid; grid-template-columns: repeat(5, 1fr);
        transform: translateX(-50%);
        border-radius: 24px;
        background: rgba(7, 42, 50, .84);
        backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
        border: 1px solid rgba(244, 236, 221, .12);
        box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
        transition: transform .45s var(--ease), opacity .3s;
        view-transition-name: tabbar;
    }
    .kb-open .tabbar { transform: translate(-50%, calc(100% + 30px)); opacity: 0; pointer-events: none; }
    .tabbar__item {
        position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
        height: 100%; padding: 0; border: 0; background: none; cursor: pointer;
        color: rgba(244, 236, 221, .62); font-size: .66rem; font-weight: 500; letter-spacing: .04em;
        transition: color .3s;
    }
    .tabbar__item .icon { position: relative; z-index: 1; width: 22px; height: 22px; transition: transform .35s var(--ease), color .3s; }
    .tabbar__item span { position: relative; z-index: 1; }
    .tabbar__item::before { /* active pill */
        content: ""; position: absolute; top: 9px; left: 50%; width: 50px; height: 30px; margin-left: -25px; border-radius: 15px;
        background: rgba(239, 95, 31, .18); transform: scale(.4); opacity: 0;
        transition: transform .45s var(--ease), opacity .3s;
    }
    .tabbar__item:active .icon { transform: scale(.85); }
    .tabbar__item.is-active { color: #fff; }
    .tabbar__item.is-active .icon { color: var(--sun-300); transform: translateY(-1px); }
    .tabbar__item.is-active::before { transform: none; opacity: 1; }

    .tabbar__item--book { color: var(--cream); }
    .tabbar__item--book::before { display: none; }
    .tabbar__fab {
        display: grid; place-items: center; width: 54px; height: 54px; margin-top: -30px; margin-bottom: 1px; border-radius: 50%;
        background: linear-gradient(145deg, var(--sun-300), var(--sun) 55%, var(--sun-600)); color: #fff;
        box-shadow: 0 10px 22px -6px rgba(239, 95, 31, .8), 0 0 0 5px rgba(7, 42, 50, .92);
        transition: transform .35s var(--ease);
    }
    .tabbar__fab .icon { width: 24px; height: 24px; }
    .tabbar__item--book .tabbar__fab .icon, .tabbar__item--book.is-active .tabbar__fab .icon { color: #fff; transform: none; }
    .tabbar__item--book:active .tabbar__fab { transform: scale(.9); }

    /* Bottom sheet */
    .sheet { position: fixed; inset: 0; z-index: 300; display: block; }
    .sheet[hidden] { display: none; }
    .sheet__backdrop { position: absolute; inset: 0; background: rgba(3, 22, 27, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s; }
    .sheet.is-open .sheet__backdrop { opacity: 1; }
    .sheet__panel {
        position: absolute; left: 0; right: 0; bottom: 0; width: min(100%, 640px); margin-inline: auto;
        max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
        padding: 0 1.25rem calc(1.4rem + var(--safe-bottom));
        border-radius: 28px 28px 0 0; background: var(--cream); color: var(--ink);
        box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .5);
        transform: translateY(105%); transition: transform .5s var(--ease);
    }
    .sheet.is-open .sheet__panel { transform: translateY(var(--drag, 0px)); }
    .sheet__panel:focus { outline: none; }
    .sheet.is-dragging .sheet__panel { transition: none; }
    .sheet__grab { display: flex; justify-content: center; padding: .8rem 0 .5rem; cursor: grab; touch-action: none; }
    .sheet__handle { width: 44px; height: 5px; border-radius: 3px; background: rgba(19, 41, 46, .22); }
    .sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; touch-action: none; }
    .sheet__kicker { margin: 0 0 .2rem; font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sun); }
    .sheet__title { font-family: var(--serif); font-size: 1.9rem; color: var(--teal-900); }
    .sheet__close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream-2); color: var(--teal-800); cursor: pointer; }
    .sheet__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
    .sheet__tile {
        display: flex; flex-direction: column; gap: .1rem; height: 100%; padding: 1rem;
        border-radius: 18px; background: #fff; border: 1px solid var(--line);
        transition: transform .25s var(--ease), border-color .3s;
    }
    .sheet__tile:active { transform: scale(.97); }
    .sheet__tile.is-active { border-color: var(--sun); box-shadow: inset 0 0 0 1px var(--sun); }
    .sheet__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: .55rem; border-radius: 14px; background: var(--teal-800); color: var(--sun-300); }
    .sheet__icon .icon { width: 21px; height: 21px; }
    .sheet__tile strong { font-size: .98rem; font-weight: 600; color: var(--teal-900); line-height: 1.3; }
    .sheet__tile > span:last-child { font-size: .8rem; color: var(--muted); line-height: 1.4; }
    .sheet__book {
        display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; padding: 1.1rem 1.25rem;
        border-radius: 18px; background: linear-gradient(135deg, var(--sun-300), var(--sun) 60%, var(--sun-600)); color: #fff; box-shadow: var(--shadow-sun);
    }
    .sheet__book strong { display: block; font-size: 1.05rem; font-weight: 600; }
    .sheet__book span span { font-size: .82rem; opacity: .9; }
    .sheet__contact { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .6rem; margin-top: .7rem; }
    .sheet__contact a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; border-radius: 14px; background: var(--teal-800); color: var(--cream); font-size: .85rem; font-weight: 500; }
    .sheet__foot { margin: 1.1rem 0 0; text-align: center; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
    body.sheet-open { overflow: hidden; }
}
@media (min-width: 640px) and (max-width: 1024px) {
    .sheet__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .hero__shade { background: linear-gradient(0deg, rgba(5, 30, 36, .94) 0%, rgba(5, 30, 36, .74) 42%, rgba(5, 30, 36, .2) 72%, transparent 88%); }
    .hero__lead { text-shadow: 0 1px 12px rgba(5, 30, 36, .6); }
}

/* Smooth cross-page transitions (supporting browsers) */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0; transform: translate3d(0, 22px, 0);
    transition: opacity .75s cubic-bezier(.25, .6, .3, 1), transform .85s cubic-bezier(.25, .6, .3, 1);
    transition-delay: min(var(--d, 0s), .24s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.no-anim { transition: none; }

/* =========================================================================
   HERO — WebGL ocean
   ========================================================================= */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column;
    padding: calc(var(--header-h) + var(--safe-top) + 1.4rem) 0 calc(2.2rem + var(--tabbar-space));
    color: #fff;
    background: linear-gradient(180deg, #2a1f3d 0%, #b2504a 45%, #f39a52 58%, #0c3b45 60%, #05252c 100%);
}
.hero__fallback {
    position: absolute; inset: 0; z-index: -3;
    background: url("/images/morjim-sunset-view.jpg") center 40% / cover no-repeat;
    transition: opacity 1.4s ease;
}
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease; }
.hero.is-ready .hero__canvas { opacity: 1; }
.hero.is-ready .hero__fallback { opacity: 0; }
.hero__shade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(0deg, rgba(5, 30, 36, .85) 0%, rgba(5, 30, 36, .35) 32%, transparent 58%),
        radial-gradient(ellipse 70% 55% at 50% 42%, rgba(5, 30, 36, .5), transparent 70%);
}

.hero__top { position: relative; }
.hero__chip {
    display: inline-flex; align-items: center; gap: .65rem; margin: 0; padding: .7rem 1.25rem;
    border-radius: 999px; border: 1px solid rgba(244, 236, 221, .32); background: rgba(5, 30, 36, .38);
    font-size: .88rem; letter-spacing: .05em; color: #fff;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; animation: fadeUp .9s var(--ease) .25s forwards;
}
.hero__chip .icon { width: 1.15em; height: 1.15em; color: var(--sun-300); }

.hero__inner { position: relative; width: min(100% - 2.5rem, 1120px); margin: auto; padding: 1.8rem 0 2.2rem; text-align: center; }
.hero__title { font-weight: 400; margin-bottom: 1.5rem; }
.hero__kicker {
    display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.4rem;
    font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
    opacity: 0; animation: fadeUp 1s var(--ease) .3s forwards;
}
.hero__kicker-line { width: 48px; height: 1px; background: currentColor; opacity: .8; }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__line > span {
    display: block;
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(2.6rem, 5.5vw, 5.2rem); line-height: 1.04; letter-spacing: -.015em;
    text-shadow: 0 6px 40px rgba(0, 0, 0, .35);
    transform: translateY(110%); animation: lineUp 1.3s var(--ease) forwards;
}
.hero__line:nth-of-type(2) > span { animation-delay: .45s; }
.hero__line:nth-of-type(3) > span { animation-delay: .6s; }
.hero__line em {
    font-style: italic; padding-right: .06em;
    background: linear-gradient(95deg, var(--sun-300), var(--gold)); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead { max-width: 720px; margin: 0 auto; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .88); opacity: 0; animation: fadeUp 1s var(--ease) .9s forwards; }
.hero__fallback-cta { position: relative; text-align: center; }

@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
    .hero__shade { background: linear-gradient(0deg, rgba(5, 30, 36, .9) 0%, rgba(5, 30, 36, .6) 40%, rgba(5, 30, 36, .3) 75%, rgba(5, 30, 36, .25) 100%); }
}

/* =========================================================================
   Inner page hero
   ========================================================================= */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(460px, 72vh, 720px);
    display: flex; align-items: flex-end;
    padding: calc(var(--header-h) + var(--safe-top) + 3rem) 0 clamp(5rem, 10vw, 8rem);
    color: #fff; background: var(--teal-900);
}
.page-hero__media { position: absolute; inset: -8% 0 0; z-index: -3; will-change: transform; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out forwards; }
.page-hero__shade {
    position: absolute; inset: 0; z-index: -2;
    background: linear-gradient(0deg, rgba(5, 37, 44, .92) 0%, rgba(5, 37, 44, .45) 45%, rgba(5, 37, 44, .25) 100%),
                linear-gradient(90deg, rgba(5, 37, 44, .6), transparent 70%);
}
.page-hero__sun {
    position: absolute; z-index: -1; right: 8%; top: 22%;
    width: clamp(120px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #ffd29a, var(--sun-300) 40%, var(--sun) 75%);
    box-shadow: 0 0 120px 40px rgba(239, 95, 31, .35);
    -webkit-mask: linear-gradient(180deg, #000 0 56%, transparent 56% 61%, #000 61% 69%, transparent 69% 74%, #000 74% 82%, transparent 82% 87%, #000 87%);
            mask: linear-gradient(180deg, #000 0 56%, transparent 56% 61%, #000 61% 69%, transparent 69% 74%, #000 74% 82%, transparent 82% 87%, #000 87%);
    opacity: .9; animation: sunFloat 9s ease-in-out infinite alternate;
}
.page-hero__inner { position: relative; }
.page-hero__title { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 500; line-height: 1.02; max-width: 900px; margin-bottom: 1.2rem; }
.page-hero__title em { font-style: italic; color: var(--sun-300); }
.page-hero__lead { max-width: 640px; font-size: 1.12rem; color: rgba(255, 255, 255, .85); margin: 0; }
.page-hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); fill: var(--cream); }
.crumbs { display: flex; gap: .6rem; margin-bottom: 1.6rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.crumbs a:hover { color: #fff; }

@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1.02); } }
@keyframes sunFloat { from { transform: translateY(0); } to { transform: translateY(26px); } }

/* =========================================================================
   Welcome — 3D depth stack
   ========================================================================= */
.welcome__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.depth-stack { perspective: 1400px; }
.depth-stack__scene {
    position: relative; aspect-ratio: 4 / 4.6; transform-style: preserve-3d;
    transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -12deg));
    transition: transform .9s var(--ease);
}
.depth-stack__card {
    position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius);
    box-shadow: var(--shadow); transform: translateZ(var(--z));
    border: 6px solid #fff;
}
.depth-stack__card img { width: 100%; height: 100%; object-fit: cover; }
.depth-stack__card--main { left: 18%; top: 0; width: 58%; height: 86%; }
.depth-stack__card--room { left: 0; bottom: 4%; width: 52%; aspect-ratio: 16 / 10; }
.depth-stack__card--detail { right: 0; top: 14%; width: 40%; aspect-ratio: 1; }
.depth-stack__badge {
    position: absolute; right: 4%; bottom: 10%; transform: translateZ(var(--z));
    display: flex; align-items: center; gap: .9rem; padding: 1rem 1.3rem; border-radius: 16px;
    background: rgba(15, 76, 88, .9); color: var(--cream); box-shadow: var(--shadow);
}
.depth-stack__badge .icon { width: 34px; height: 34px; color: var(--sun-300); }
.depth-stack__badge strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1; }
.depth-stack__badge span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.depth-stack__sun {
    position: absolute; left: 4%; top: 2%; width: 34%; aspect-ratio: 1; border-radius: 50%;
    transform: translateZ(var(--z));
    background: radial-gradient(circle at 40% 35%, #ffc98b, var(--sun) 70%);
    filter: blur(1px); opacity: .9;
}

/* =========================================================================
   Stats band
   ========================================================================= */
.stats { background: var(--teal-800); color: var(--cream); padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12c15 0 15-8 30-8s15 8 30 8 15-8 30-8 15 8 30 8' fill='none' stroke='%23f4ecdd' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E"); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: .5rem 1rem; }
.stat + .stat { border-left: 1px solid var(--line-light); }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: var(--sun-300); }
.stat small { font-size: .45em; margin-left: .15em; }
.stat > span { display: block; margin-top: .6rem; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }

/* =========================================================================
   Feature cards (tilt)
   ========================================================================= */
/* Tilt transforms are applied inline by site.js; children use translateZ to pop forward. */
[data-tilt] { transform-style: preserve-3d; }

.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.feature {
    position: relative; padding: 2.2rem 1.6rem 2rem; border-radius: var(--radius);
    background: var(--cream); border: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.feature:hover { box-shadow: var(--shadow); }
.feature__num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--serif); font-size: 1.1rem; color: rgba(15, 76, 88, .35); }
.feature__icon {
    display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.6rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--sun-300), var(--sun)); color: #fff; box-shadow: var(--shadow-sun);
    transform: translateZ(40px);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--teal-900); margin-bottom: .6rem; transform: translateZ(25px); }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); transform: translateZ(15px); }

/* =========================================================================
   Room cards
   ========================================================================= */
.room-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.room-grid--3 { grid-template-columns: repeat(3, 1fr); }
.room-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm);
}
.room-card:hover { box-shadow: var(--shadow); }
.room-card__inner { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: inherit; color: inherit; transform-style: preserve-3d; }
.room-card__inner:focus-visible { outline-offset: 4px; }
.room-card__media { position: relative; display: block; aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.07); }
.room-card__glare {
    position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.4), transparent 45%);
}
.room-card.is-tilting .room-card__glare { opacity: 1; }
.room-card__badge {
    position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
    display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px;
    background: rgba(8, 51, 60, .78); color: var(--cream); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    transform: translateZ(50px);
}
.room-card__badge .icon { color: var(--sun-300); }
.room-card__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 1.7rem 1.8rem 2rem; transform: translateZ(30px); }
.room-card__count { display: block; margin: 0 0 .4rem; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sun); }
.room-card__title { font-family: var(--serif); font-size: 1.85rem; color: var(--teal-900); margin-bottom: .7rem; }
.room-card__text { display: block; margin-bottom: 1.1rem; color: var(--muted); font-size: .97rem; flex: 1; }
.room-card:hover .room-card__title { color: var(--sun); }
.room-card__title { transition: color .3s; }

/* =========================================================================
   Quote band (parallax)
   ========================================================================= */
.quote-band { position: relative; isolation: isolate; overflow: hidden; min-height: 70vh; display: grid; place-items: center; color: #fff; text-align: center; padding: 6rem 0; }
.quote-band__media { position: absolute; inset: -15% 0; z-index: -2; will-change: transform; }
.quote-band__media img { width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,37,44,.55), rgba(5,37,44,.35) 50%, rgba(5,37,44,.75)); }
.quote-band__inner { max-width: 980px; }
.quote-band__mark { width: 54px; height: 54px; margin: 0 auto 1.6rem; fill: none; stroke: var(--sun-300); stroke-width: 1.2; }
.quote-band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.25; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.quote-band blockquote em { color: var(--sun-300); }

/* =========================================================================
   3D ring carousel
   ========================================================================= */
.ring-section { overflow: hidden; }
.ring {
    --ring-w: clamp(190px, 21vw, 290px);
    position: relative; height: calc(var(--ring-w) * 1.45);
    perspective: 1500px; perspective-origin: 50% 35%;
    cursor: grab; touch-action: pan-y; user-select: none;
}
.ring.is-dragging { cursor: grabbing; }
.ring__stage { position: absolute; left: 50%; top: 6%; width: var(--ring-w); aspect-ratio: 3 / 4; margin-left: calc(var(--ring-w) / -2); transform-style: preserve-3d; }
.ring__item {
    position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius);
    box-shadow: 0 30px 50px -20px rgba(0,0,0,.6);
    border: 1px solid rgba(244, 236, 221, .25);
}
.ring__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ring__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .9rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(transparent, rgba(5,37,44,.85)); }
.ring__floor { position: absolute; left: 10%; right: 10%; bottom: 0; height: 40%; background: radial-gradient(50% 50% at 50% 50%, rgba(239,95,31,.22), transparent 70%); filter: blur(20px); pointer-events: none; }
.ring__hint { display: flex; justify-content: center; align-items: center; gap: .5rem; margin: 1rem 0 0; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* =========================================================================
   Explore teaser list
   ========================================================================= */
.explore-teaser { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.place-list { border-top: 1px solid var(--line); }
.place-list__item a {
    position: relative; display: grid; grid-template-columns: 3rem 1fr auto 1.5rem; align-items: center; gap: 1rem;
    padding: 1.25rem .5rem; border-bottom: 1px solid var(--line);
    transition: padding .5s var(--ease), color .3s;
}
.place-list__item a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(239,95,31,.1), transparent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.place-list__item a:hover { padding-left: 1.4rem; color: var(--sun); }
.place-list__item a:hover::before { transform: scaleX(1); }
.place-list__num { font-family: var(--serif); color: var(--sun); font-size: 1.1rem; }
.place-list__name { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--teal-900); }
.place-list__kind { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.place-list__item .icon { color: var(--sun); transition: transform .4s var(--ease); }
.place-list__item a:hover .icon { transform: translateX(5px); }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(8rem, 14vw, 11rem);
    background: linear-gradient(180deg, var(--teal-900), var(--teal-800));
    color: var(--cream); text-align: center;
}
.cta-band__sun {
    position: absolute; z-index: -2; left: 50%; bottom: calc(clamp(220px, 28vw, 400px) * -0.42);
    width: clamp(220px, 28vw, 400px); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
    background: radial-gradient(circle at 50% 40%, #ffcf8f, var(--sun-300) 35%, var(--sun) 70%);
    box-shadow: 0 0 160px 60px rgba(239, 95, 31, .3);
    animation: sunRise 10s ease-in-out infinite alternate;
}
.cta-band__waves { position: absolute; z-index: -1; left: 0; bottom: 0; width: 200%; height: 46%; }
.cta-band__waves { animation: waveSlide 16s linear infinite; will-change: transform; }
.cta-band__waves .w1 { fill: rgba(8, 51, 60, .65); }
.cta-band__waves .w2 { fill: rgba(8, 51, 60, .85); }
.cta-band__waves .w3 { fill: var(--teal-900); }
.cta-band__inner { position: relative; max-width: 820px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band__title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 1.2rem; }
.cta-band__title span { font-style: italic; color: var(--sun-300); }
.cta-band__inner { text-shadow: 0 2px 18px rgba(5, 37, 44, .55); }
.cta-band__text { font-size: 1.1rem; opacity: .86; max-width: 640px; margin-inline: auto; }
.cta-band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
@keyframes sunRise { from { transform: translate(-50%, 12%); } to { transform: translate(-50%, 0); } }
@keyframes waveSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { position: relative; background: var(--teal-950); color: rgba(244, 236, 221, .78); padding: 5rem 0 calc(2rem + var(--tabbar-space)); font-size: .95rem; }
.site-footer__waves { position: absolute; left: 0; right: 0; top: -1px; height: 40px; overflow: hidden; transform: rotate(180deg); }
.site-footer__waves svg { width: 100%; height: 100%; fill: var(--teal-900); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light); }
.site-footer__brand .logo { height: 78px; margin-bottom: 1.6rem; }
.site-footer__tag { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--cream); margin-bottom: .6rem; }
.site-footer__title { font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.3rem; }
.site-footer__links li + li { margin-top: .55rem; }
.site-footer__links a, .site-footer__contact a { transition: color .3s; }
.site-footer__links a:hover, .site-footer__contact a:hover { color: var(--sun-300); }
.site-footer__contact { margin-bottom: 1.5rem; }
.site-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.site-footer__contact li + li { margin-top: .7rem; }
.site-footer__contact .icon { margin-top: .25rem; color: var(--sun-300); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .82rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom strong { color: var(--cream); font-weight: 500; letter-spacing: .05em; }

/* =========================================================================
   Split layouts, frames
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.frame-3d { position: relative; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.frame-3d img { width: 100%; border-radius: inherit; object-fit: cover; }
.frame-3d::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: inherit; border: 1.5px solid var(--sun); opacity: .55; transform: translateZ(-40px); }
.frame-3d__label {
    position: absolute; left: 1.4rem; bottom: 1.4rem; display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1.1rem; border-radius: 999px; background: rgba(8, 51, 60, .85); color: var(--cream);
    font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; transform: translateZ(60px);
}
.frame-3d__label .icon { color: var(--sun-300); }
.split__media .frame-3d img { aspect-ratio: 4 / 4.6; }

.mini-stats { display: flex; gap: 2.5rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.mini-stats strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; color: var(--sun); line-height: 1; }
.mini-stats span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* About — pillars & managed */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar { padding: 2.6rem 2rem; border-radius: var(--radius-lg); background: rgba(244, 236, 221, .06); border: 1px solid var(--line-light); }
.pillar:hover { background: rgba(244, 236, 221, .1); }
.pillar__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.6rem; background: var(--sun); color: #fff; transform: translateZ(50px); box-shadow: var(--shadow-sun); }
.pillar__icon .icon { width: 28px; height: 28px; }
.pillar h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: .7rem; transform: translateZ(30px); }
.pillar p { margin: 0; opacity: .78; transform: translateZ(20px); }

.managed__card { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; max-width: 1000px; margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.managed__mark { display: grid; place-items: center; width: clamp(110px, 14vw, 160px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--teal-700), var(--teal-900)); color: var(--cream); font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); letter-spacing: .05em; box-shadow: var(--shadow); transform: translateZ(50px); }
.managed__card p:last-child { margin-bottom: 0; }

/* Rooms page rows */
.room-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.room-row + .room-row { margin-top: clamp(5rem, 10vw, 8rem); }
.room-row--flip .room-row__media { order: 2; }
.room-row__media { position: relative; }
.room-row__media .frame-3d img { aspect-ratio: 4 / 3.2; }
.room-row--flip .frame-3d::before { inset: 18px 18px -18px -18px; }
.room-row__index { position: absolute; top: -2.6rem; right: -.5rem; font-family: var(--serif); font-size: clamp(5rem, 10vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(239, 95, 31, .45); pointer-events: none; }
.room-row--flip .room-row__index { right: auto; left: -.5rem; }
.room-row__tagline { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--teal-700); }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.7rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; line-height: 1.3; color: var(--teal-800); }
.chip .icon { width: 1.1em; height: 1.1em; color: var(--sun); }
.ideal { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--cream-2); margin-bottom: 1.8rem; }
.ideal .icon { margin-top: .25rem; color: var(--teal-700); }

.inventory { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.inventory__table { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.inventory table { width: 100%; border-collapse: collapse; }
.inventory th, .inventory td { padding: 1.15rem 1.6rem; text-align: left; border-bottom: 1px solid var(--line); }
.inventory thead th { background: var(--teal-800); color: var(--cream); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.inventory tbody th { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.inventory tbody th a:hover { color: var(--sun); }
.inventory td { position: relative; width: 45%; font-family: var(--serif); font-size: 1.5rem; color: var(--teal-900); }
.inventory .bar { display: inline-block; vertical-align: middle; width: calc(var(--w) * 1.6); max-width: 70%; height: 8px; margin-right: 1rem; border-radius: 8px; background: linear-gradient(90deg, var(--sun-300), var(--sun)); }
.inventory tfoot th, .inventory tfoot td { border-bottom: 0; background: var(--cream-2); font-weight: 600; }
.note { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: #fff; border-left: 3px solid var(--sun); }
.note .icon { margin-top: .2rem; color: var(--sun); }
.note p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Room detail */
.room-detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.sub-title { font-family: var(--serif); font-size: 1.7rem; color: var(--teal-900); margin: 2.6rem 0 1.3rem; }
.sub-title__count { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; margin-left: .4rem; padding: 0 .5rem; border-radius: 999px; background: var(--teal-800); color: var(--cream); font-family: var(--sans); font-size: .8rem; font-weight: 600; vertical-align: middle; }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .7rem; }
.amenity { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.amenity__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--cream-2); color: var(--sun); }
.amenity__icon .icon { width: 22px; height: 22px; }
.amenity__text { font-size: .95rem; font-weight: 500; line-height: 1.3; color: var(--teal-900); }
.amenity__text small { display: block; margin-top: .15rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.photo-grid__item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.photo-grid__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-grid__item:hover img { transform: scale(1.06); }
.photo-grid__zoom { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(8,51,60,.75); color: #fff; opacity: 0; transform: translateY(10px); transition: .4s var(--ease); }
.photo-grid__item:hover .photo-grid__zoom { opacity: 1; transform: none; }
.room-detail__aside { position: sticky; top: 100px; }
.booking-card { padding: 2.2rem 2rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--teal-800), var(--teal-950)); color: var(--cream); box-shadow: var(--shadow); }
.booking-card .eyebrow { color: var(--gold); }
.booking-card__facts { margin: 0 0 1.8rem; }
.booking-card__facts div { padding: .9rem 0; border-bottom: 1px solid var(--line-light); }
.booking-card__facts dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.booking-card__facts dd { margin: .2rem 0 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.booking-card__note { margin: 1.2rem 0 0; font-size: .82rem; opacity: .7; }

/* Facilities */
.facility-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
.facility-group { padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.facility-group header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; }
.facility-group header .display { margin: 0; }
.facility-group__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--teal-800); color: var(--sun-300); }
.facility-group__icon .icon { width: 26px; height: 26px; }
.facility-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.facility-list li { display: flex; align-items: center; gap: .9rem; padding: 1.05rem 1.1rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); font-size: .96rem; line-height: 1.4; }
.facility-list li:hover { box-shadow: var(--shadow-sm); }
.facility-list .icon { width: 24px; height: 24px; color: var(--sun); transform: translateZ(20px); }
.facility-group__assist { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius); background: var(--teal-800); color: var(--cream); }
.facility-group__assist h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .4rem; color: var(--sun-300); }
.facility-group__assist p { margin: 0; opacity: .85; }

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); color: var(--teal-900); transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--sun); }
.faq__item summary .icon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; border: 1px solid var(--line); color: var(--sun); transition: transform .5s var(--ease), background .3s; }
.faq__item[open] summary .icon { transform: rotate(135deg); background: var(--sun); color: #fff; border-color: var(--sun); }
.faq__answer { padding: 0 3.5rem 1.6rem 0; color: var(--muted); animation: fadeUp .6s var(--ease); }
.faq__answer p { margin: 0; }

/* Explore */
.spotlight { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--teal-900); color: var(--cream); box-shadow: var(--shadow); }
.spotlight__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.spotlight__body { padding: 2rem 2.2rem 2.2rem; transform: translateZ(30px); }
.spotlight h3 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: .6rem; }
.spotlight p { opacity: .86; }
.spotlight__note { display: flex; gap: .8rem; align-items: flex-start; margin: 1.2rem 0 0; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: rgba(244,236,221,.08); font-size: .92rem; }
.spotlight__note .icon { width: 30px; height: 30px; color: var(--sun-300); }

.flip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.flip { perspective: 1200px; height: 380px; }
.flip__inner {
    position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
    transform-style: preserve-3d; transition: transform 1s var(--ease);
}
.flip:hover .flip__inner, .flip__inner.is-flipped { transform: rotateY(180deg); }
.flip__face {
    position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1.8rem 1.5rem; border-radius: var(--radius-lg);
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip__front { background: linear-gradient(165deg, rgba(244,236,221,.12), rgba(244,236,221,.03)); border: 1px solid var(--line-light); color: var(--cream); }
.flip__back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--sun-300), var(--sun) 60%, var(--sun-600)); color: #fff; justify-content: center; box-shadow: var(--shadow-sun); }
.flip__num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); }
.flip__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: auto 0 1.6rem; border-radius: 50%; border: 1px solid rgba(239,95,31,.6); color: var(--sun-300); transform: translateZ(40px); }
.flip__icon .icon { width: 32px; height: 32px; }
.flip__kind { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.flip__name { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; margin: .3rem 0 1.2rem; }
.flip__name--sm { font-size: 1.6rem; margin-top: 0; }
.flip__hint { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sun-300); }
.flip__text { font-size: .95rem; line-height: 1.6; }
.flip__note { display: flex; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.35); font-size: .82rem; line-height: 1.5; }
.flip__note .icon { margin-top: .1rem; }

.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.dual__card { padding: clamp(2rem, 4vw, 3.2rem); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.dual__card--dark { background: linear-gradient(160deg, var(--teal-800), var(--teal-950)); color: var(--cream); }
.dual__card--dark .display { color: var(--cream); }
.dual__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.6rem; border-radius: 50%; background: var(--sun); color: #fff; transform: translateZ(40px); box-shadow: var(--shadow-sun); }
.dual__icon .icon { width: 28px; height: 28px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.5rem; }
.filters__btn { padding: .75rem 1.4rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-800); transition: .3s; }
.filters__btn:hover { border-color: var(--sun); color: var(--sun); }
.filters__btn.is-active { background: var(--teal-800); border-color: var(--teal-800); color: var(--cream); }
.cat-notes { text-align: center; min-height: 1.8rem; margin-bottom: 2rem; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.2rem; }
.cat-notes__item { margin: 0; animation: fadeUp .6s var(--ease); }
.masonry { columns: 3 300px; column-gap: 1.2rem; }
.masonry__item { position: relative; display: block; margin-bottom: 1.2rem; break-inside: avoid; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.masonry__item.is-hidden { display: none; }
.masonry__item img { width: 100%; transition: transform 1.1s var(--ease); }
.masonry__item:hover img { transform: scale(1.06); }
.masonry__cap { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 3rem 1.3rem 1.2rem; background: linear-gradient(transparent, rgba(5,37,44,.88)); color: #fff; opacity: 0; transform: translateY(10px) translateZ(30px); transition: .5s var(--ease); }
.masonry__cap span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.masonry__cap strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.masonry__item:hover .masonry__cap, .masonry__item:focus-visible .masonry__cap { opacity: 1; transform: translateZ(30px); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 4.5rem 1rem; background: rgba(3, 22, 27, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: min(1200px, 100%); text-align: center; perspective: 1400px; }
.lightbox__img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius); box-shadow: 0 40px 80px -30px #000; animation: lbIn .7s var(--ease); }
.lightbox__cap { margin-top: 1rem; color: var(--cream); font-family: var(--serif); font-size: 1.3rem; }
.lightbox__count { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; color: var(--gold); margin-top: .3rem; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244,236,221,.35); background: rgba(244,236,221,.06); color: var(--cream); cursor: pointer; transition: background .3s, border-color .3s; }
.lightbox__btn:hover { background: var(--sun); border-color: var(--sun); }
.lightbox__btn--close { top: 1.2rem; right: 1.2rem; }
.lightbox__btn--prev { left: 1.2rem; top: 50%; margin-top: -26px; }
.lightbox__btn--next { right: 1.2rem; top: 50%; margin-top: -26px; }
@keyframes lbIn { from { opacity: 0; transform: rotateY(-14deg) scale(.92); } to { opacity: 1; transform: none; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.enquiry, .form-success { padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.enquiry header { margin-bottom: 2rem; }
.enquiry header p:last-child { color: var(--muted); margin: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.3rem; margin-bottom: 1.8rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-700); }
.field input, .field select, .field textarea {
    width: 100%; padding: .95rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--cream);
    font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun); background: #fff; box-shadow: 0 0 0 4px rgba(239, 95, 31, .14); }
.field .input-validation-error { border-color: #c0392b; background: #fff6f4; }
.field__error { font-size: .82rem; color: #b03a2e; }
.field__error:empty { display: none; }
.form-alert:empty, .form-alert.validation-summary-valid { display: none; }
.form-alert { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: 12px; background: #fff1ec; border: 1px solid rgba(239, 95, 31, .35); color: #9b3a12; }
.form-alert ul { margin: 0; }
.enquiry__note { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form-success { text-align: center; }
.form-success__sun { display: block; width: 90px; height: 90px; margin: 0 auto 1.5rem; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd29a, var(--sun) 70%); box-shadow: var(--shadow-sun); animation: sunFloat 3s ease-in-out infinite alternate; }

.contact__info { display: grid; gap: 1.4rem; }
.info-card { padding: 2.2rem 2rem; border-radius: var(--radius-lg); background: var(--teal-800); color: var(--cream); box-shadow: var(--shadow); }
.info-card__title { font-family: var(--sans); font-weight: 700; font-size: 1.6rem; letter-spacing: .14em; }
.info-card__sub { color: var(--gold); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.6rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line-light); transform: translateZ(20px); }
.info-list .icon { width: 22px; height: 22px; margin-top: .2rem; color: var(--sun-300); }
.info-list span { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .65; }
.info-list strong, .info-list a { font-weight: 400; font-size: 1.05rem; }
.info-list a:hover { color: var(--sun-300); }
.info-card__hint { margin: 1rem 0 0; font-size: .9rem; opacity: .75; }
.info-card--sun { background: linear-gradient(150deg, var(--sun-300), var(--sun) 55%, var(--sun-600)); box-shadow: var(--shadow-sun); }
.info-card--sun .eyebrow { color: #fff; }
.info-card--sun p:last-child { margin: 0; }

.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; align-items: stretch; }
.map-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); min-height: 440px; }
.map-card iframe { flex: 1; width: 100%; border: 0; min-height: 360px; }
.map-art { position: relative; flex: 1; min-height: 360px; overflow: hidden; }
.map-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-art__pin { position: absolute; left: 52%; top: 46%; width: 26px; height: 26px; margin: -26px 0 0 -13px; }
.map-art__pin span { position: absolute; inset: 0; border-radius: 50% 50% 50% 0; background: var(--sun); transform: rotate(-45deg); box-shadow: var(--shadow-sun); animation: pinBounce 2.4s var(--ease) infinite; }
.map-art__pin span::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.map-art__pin::before { content: ""; position: absolute; left: 50%; top: 100%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; border: 2px solid var(--sun); animation: ping 2.4s ease-out infinite; }
.map-art__label { position: absolute; left: 52%; top: 46%; transform: translate(26px, -8px); padding: .7rem 1rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.map-art__label strong { display: block; letter-spacing: .1em; }
.map-art__label span { font-size: .8rem; color: var(--muted); }
.map-art__sea { position: absolute; left: 6%; top: 50%; transform: rotate(-80deg); font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: rgba(244,236,221,.7); }
.map-card__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 1.5rem; border-top: 1px solid var(--line); }
.map-card__bar strong { display: block; letter-spacing: .1em; }
.map-card__bar span { font-size: .85rem; color: var(--muted); }
@keyframes pinBounce { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(4px, -4px); } }
@keyframes ping { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

.travel { display: grid; gap: 1.2rem; }
.travel__item { display: flex; gap: 1.3rem; align-items: flex-start; padding: 1.8rem; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.travel__item h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--teal-900); margin-bottom: .3rem; }
.travel__item p { margin: 0; color: var(--muted); font-size: .95rem; }
.travel__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-800); color: var(--sun-300); transform: translateZ(30px); }
.travel__icon .icon { width: 26px; height: 26px; }

/* Policies */
.policies { max-width: 860px; }
.policy { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.policy p { margin: 0; color: var(--muted); }

/* Error */
.error-page { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: grid; align-items: center; padding: 8rem 0 12rem; background: linear-gradient(180deg, #1d2a45 0%, #8f4553 50%, #e9844a 100%); color: var(--cream); text-align: center; }
.error-page__sun { position: absolute; z-index: -2; left: 50%; bottom: 14%; width: 340px; aspect-ratio: 1; margin-left: -170px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffd69e, var(--sun) 70%); box-shadow: 0 0 140px 50px rgba(239,95,31,.4); animation: sunRise 8s ease-in-out infinite alternate; }
.error-page__waves { position: absolute; z-index: -1; left: 0; bottom: 0; width: 100%; height: 34%; }
.error-page__waves path:first-child { fill: rgba(15, 76, 88, .8); }
.error-page__waves path:last-child { fill: var(--teal-900); }
.error-page .eyebrow, .error-page .btn-row { justify-content: center; }
.error-page__inner { max-width: 760px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
    .features { grid-template-columns: repeat(3, 1fr); }
    .flip-grid { grid-template-columns: repeat(3, 1fr); }
    .room-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .welcome__grid, .split, .explore-teaser, .room-row, .inventory, .room-detail, .facility-groups, .faq, .dual, .contact, .location { grid-template-columns: 1fr; }
    .room-row--flip .room-row__media { order: 0; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
    .stat:nth-child(3) { border-left: 0; }
    .faq__head, .room-detail__aside { position: static; }
    .depth-stack { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 680px) {
    body { font-size: 1rem; }
    .page-hero__sun { top: calc(var(--header-h) - 10px); right: -36px; width: 110px; opacity: .55; }
    .facility-list, .field-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .photo-grid__item { border-radius: 12px; }
    .amenity-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .amenity { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .85rem; }
    .amenity__text { font-size: .88rem; }
    .flip { height: 340px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .managed__card { grid-template-columns: 1fr; text-align: center; }
    .managed__card .eyebrow { justify-content: center; }
    .managed__mark { margin-inline: auto; }
    .mini-stats { gap: 1.5rem; }
    .place-list__item a { grid-template-columns: 2.2rem 1fr 1.2rem; }
    .place-list__kind { display: none; }
    .inventory th, .inventory td { padding: 1rem; }
    .inventory .bar { display: none; }
    .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 1.2rem; margin: 0; }
    .lightbox__btn--prev { left: calc(50% - 64px); }
    .lightbox__btn--next { right: calc(50% - 64px); }
    .frame-3d::before { display: none; }
}

/* =========================================================================
   Hero availability search (opens the SwiftBook booking page)
   ========================================================================= */
.hero-search {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) auto; align-items: stretch;
    width: min(100% - 2.5rem, 1080px); margin: 0 auto; border-radius: 8px; overflow: hidden;
    background: #fffaf2; color: var(--teal-900);
    box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .75);
    opacity: 0; animation: fadeUp 1s var(--ease) 1.05s forwards;
}
.hero-search__dates { display: flex; align-items: stretch; min-width: 0; border-right: 1px solid rgba(19, 41, 46, .12); }
.hero-search__field {
    position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: .95rem;
    padding: 1.05rem 1.5rem; cursor: pointer; transition: background .25s;
}
.hero-search__field:hover, .hero-search__field:focus-within { background: rgba(239, 95, 31, .07); }
.hero-search__field > .icon { flex: none; width: 26px; height: 26px; color: var(--sun); stroke-width: 1.5; }
.hero-search__text { display: flex; flex-direction: column; gap: .2rem; flex: 1; min-width: 0; }
.hero-search__label { font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #5b6b6d; }
.hero-search input {
    width: 100%; min-width: 0; padding: 0; border: 0; background: transparent;
    font: inherit; font-size: 1.2rem; font-weight: 500; color: var(--teal-900); color-scheme: light; cursor: pointer;
}
.hero-search input[type="text"] { cursor: text; }
.hero-search input::placeholder { color: #9aa5a6; }
/* the whole field opens the calendar, not just the little icon */
.hero-search input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.hero-search input:focus-visible { outline: none; }
.hero-search__arrow { display: grid; place-items: center; flex: none; width: 2rem; color: var(--sun); }
.hero-search__arrow .icon { width: 20px; height: 20px; }
.hero-search__submit { border-radius: 0; padding: 0 2.6rem; font-size: .82rem; letter-spacing: .2em; box-shadow: none; }
.hero-search__submit:hover { transform: none; box-shadow: none; }

@media (max-width: 1024px) {
    /* tablet & phone: dates side by side, offer code and button below */
    .hero-search { grid-template-columns: 1fr; width: min(100% - 2.5rem, 560px); border-radius: 14px; }
    .hero-search__dates { border-right: 0; border-bottom: 1px solid rgba(19, 41, 46, .12); }
    .hero-search__arrow { display: none; }
    .hero-search__dates .hero-search__field + .hero-search__arrow + .hero-search__field { border-left: 1px solid rgba(19, 41, 46, .12); }
    .hero-search__field { padding: .85rem 1.1rem; gap: .75rem; }
    .hero-search__field > .icon { width: 22px; height: 22px; }
    .hero-search__field--code { border-bottom: 1px solid rgba(19, 41, 46, .12); }
    .hero-search input { font-size: 1.05rem; }
    .hero-search__submit { padding: 1.1rem; }
}

.booking-card__enquire { display: block; margin-top: .9rem; text-align: center; font-size: .85rem; color: var(--gold); text-decoration: underline; }
.btn--light { --bg: #fff; --fg: var(--sun-600); margin-top: .6rem; }
.btn--light:hover { --bg: var(--cream); }
.enquiry__note a { color: var(--sun-600); text-decoration: underline; }

/* =========================================================================
   Floating WhatsApp button
   ========================================================================= */
.wa-float {
    position: fixed; z-index: 140; right: 1.4rem; bottom: calc(1.4rem + var(--safe-bottom));
    display: inline-flex; align-items: center; gap: .6rem; height: 58px; padding: 0 1.2rem 0 1rem;
    border-radius: 999px; background: #25d366; color: #fff;
    font-size: .86rem; font-weight: 600; letter-spacing: .04em;
    box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .65), 0 6px 16px rgba(0, 0, 0, .25);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -10px rgba(37, 211, 102, .8), 0 8px 18px rgba(0, 0, 0, .3); }
.wa-float::before { /* soft pulse */
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #25d366;
    animation: waPulse 2.8s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.35, 1.6); opacity: 0; } }
@media (max-width: 1024px) {
    /* sit above the bottom tab bar, round button only */
    .wa-float { right: .9rem; bottom: calc(var(--tabbar-space) + .5rem); width: 54px; height: 54px; padding: 0; justify-content: center; }
    .wa-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; opacity: 0; } }

/* =========================================================================
   Swipe rails & mobile polish
   ========================================================================= */
@media (max-width: 960px) {
    .room-grid, .features, .flip-grid, .pillars {
        display: grid; grid-auto-flow: column; grid-template-columns: none;
        grid-auto-columns: minmax(280px, 46%);
        gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem;
        margin-inline: -1.25rem; padding: .5rem 1.25rem 1.5rem;
        scrollbar-width: none;
    }
    .room-grid::-webkit-scrollbar, .features::-webkit-scrollbar, .flip-grid::-webkit-scrollbar, .pillars::-webkit-scrollbar { display: none; }
    .room-grid > *, .features > *, .flip-grid > *, .pillars > * { scroll-snap-align: start; }
    .room-grid > .reveal, .features > .reveal, .flip-grid > .reveal, .pillars > .reveal { opacity: 1; transform: none; }
    .section-head--split { align-items: flex-start; }

    .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -1.25rem; padding: .2rem 1.25rem .6rem; scrollbar-width: none; }
    .filters::-webkit-scrollbar { display: none; }
    .filters__btn { flex: none; }
}
@media (max-width: 680px) {
    .room-grid, .features, .flip-grid, .pillars { grid-auto-columns: 84%; }
    .section { padding: 3.75rem 0; }
    .section-head { margin-bottom: 2rem; }
    .display { font-size: clamp(2rem, 8.4vw, 2.6rem); }
    .eyebrow { font-size: .7rem; letter-spacing: .22em; }
    .btn { padding: .95rem 1.5rem; }

    .hero { padding-top: calc(var(--header-h) + var(--safe-top) + 1rem); }
    .hero__chip { padding: .55rem 1rem; font-size: .78rem; }
    .hero-search__dates .hero-search__field > .icon { display: none; }
    .hero-search__dates .hero-search__field { padding-inline: 1rem; }
    .hero__inner { padding: 1.6rem 0 1.8rem; }
    .hero__line > span { font-size: clamp(2.3rem, 10.6vw, 3.3rem); }
    .hero__kicker { gap: .7rem; font-size: .64rem; letter-spacing: .2em; margin-bottom: 1rem; }
    .hero__kicker-line { width: 26px; }
    .hero__lead { font-size: .96rem; }

    .page-hero { min-height: 380px; padding-bottom: 4.5rem; }
    .page-hero__title { font-size: clamp(2.3rem, 10vw, 3rem); }
    .page-hero__lead { font-size: 1rem; }
    .crumbs { margin-bottom: 1rem; }

    .stats__grid { row-gap: 1.6rem; }
    .stat strong { font-size: 2.6rem; }
    .stat > span { font-size: .64rem; letter-spacing: .14em; }

    .welcome__grid { gap: 2.5rem; }
    .signature { font-size: 1.25rem; }
    .quote-band { min-height: 56vh; padding: 4rem 0; }
    .ring { --ring-w: 190px; }
    .room-row + .room-row { margin-top: 4rem; }
    .room-row__index { font-size: 4.5rem; top: -1.8rem; }
    .room-row .btn-row .btn { flex: 1; }
    .cta-band { padding: 4rem 0 8rem; }
    .cta-band__actions .btn { width: 100%; }
    .enquiry, .form-success { padding: 1.5rem 1.25rem; border-radius: 22px; }
    .map-card { min-height: 380px; }
    .map-art__label { transform: translate(-50%, 22px); left: 52%; white-space: nowrap; }
    .travel__item { padding: 1.4rem; }
    .faq__answer { padding-right: 0; }

    .cat-notes { min-height: 0; margin-bottom: 1rem; font-size: 1.05rem; }
    .masonry { columns: 2; column-gap: .7rem; }
    .masonry__item { margin-bottom: .7rem; border-radius: 14px; }
    .masonry__cap span { display: none; }

    .site-footer { padding-top: 3.5rem; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding-bottom: 2.2rem; }
    .site-footer__brand, .site-footer__grid > div:last-child { grid-column: 1 / -1; }
    .site-footer__brand .logo { height: 64px; }
    .site-footer__bottom { flex-direction: column; gap: .4rem; text-align: center; }

    .lightbox { padding: 4rem .5rem calc(5rem + var(--safe-bottom)); }
    .lightbox__btn--prev, .lightbox__btn--next { bottom: calc(1.2rem + var(--safe-bottom)); }
}
@media (hover: none) {
    .masonry__cap { opacity: 1; transform: none; padding: 2.2rem .9rem .8rem; }
    .masonry__cap strong { font-size: 1.05rem; }
}

/* Touch devices: opaque bars instead of live blur keeps scrolling at 60fps */
@media (hover: none) {
    .site-header.is-scrolled { background: rgba(8, 51, 60, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .tabbar { background: rgba(7, 42, 50, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .sheet__backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(3, 22, 27, .65); }
    .btn--glass { backdrop-filter: none; -webkit-backdrop-filter: none; --bg: rgba(8, 51, 60, .45); }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .hero__line > span { transform: none; }
    .hero__kicker, .hero__lead, .hero__chip, .hero-search { opacity: 1; }
}
