/* ==========================================================================
   Bliss Beauty Salon — Design System
   Warm editorial luxe: ivory base · espresso ink · plum-rose accent · gold hairlines
   Demo styles only (mock data). Self-contained — no external image dependencies.
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
    /* Surfaces */
    --cream:      #FAF7F4;   /* soft warm white */
    --sand:       #F1EBE9;   /* mauve-greige */
    --sand-deep:  #E7DFDC;
    --ink:        #2C2630;   /* deep aubergine-charcoal (from logo) */
    --ink-2:      #3C3545;
    --ink-soft:   #6B626F;   /* muted plum-grey body text */
    --line:       rgba(44, 38, 48, .12);
    --line-soft:  rgba(44, 38, 48, .07);

    /* Accents */
    --plum:       #564C5E;   /* brand plum-grey (sampled from logo) */
    --plum-deep:  #3F3748;
    --gold:       #A8823F;   /* metallic, fine accents */
    --gold-bright:#C9A15B;   /* gold on dark */
    --gold-soft:  #E7D6B8;

    /* Typography */
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Rhythm */
    --container: 1200px;
    --gap: clamp(1rem, 2.5vw, 2rem);
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(31,26,23,.04), 0 18px 40px -24px rgba(31,26,23,.35);
    --shadow-soft: 0 10px 30px -20px rgba(31,26,23,.4);
    --ease: cubic-bezier(.22,.61,.36,1);
    --header-h: 76px;
}

/* ----- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(1rem, .55vw + .9rem, 1.0625rem);
    line-height: 1.7;
    color: var(--ink-2);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--ink); margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
p  { margin: 0 0 1rem; }

/* ----- Layout primitives ------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--cream); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--plum);
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.bg-ink .eyebrow { color: var(--gold-bright); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
/* Contrast: eyebrows over dark heroes must be light, not plum */
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-bright); }
/* Contrast: ghost buttons (e.g. Login) over a dark transparent header */
.site-header.on-dark:not(.is-solid) .btn--ghost { --fg: var(--cream); --bd: rgba(251,247,241,.4); }
.site-header.on-dark:not(.is-solid) .btn--ghost:hover { --bg: var(--cream); --fg: var(--ink); }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.bg-ink .lede { color: rgba(251,247,241,.72); }
.section-head { max-width: 64ch; }
.section-head.center { margin-inline: auto; }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
    --bg: var(--ink); --fg: var(--cream); --bd: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .9rem 1.7rem;
    background: var(--bg); color: var(--fg);
    border: 1px solid var(--bd); border-radius: 999px;
    font-size: .92rem; font-weight: 600; letter-spacing: .02em;
    transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .35s var(--ease);
    will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn--plum { --bg: var(--plum); --bd: var(--plum); }
.btn--plum:hover { --bg: var(--plum-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--cream); --bd: var(--ink); }
.btn--gold { --bg: linear-gradient(135deg, var(--gold-bright), var(--gold)); --bd: transparent; --fg: #2a1d0a; }
.btn--light { --bg: var(--cream); --fg: var(--ink); --bd: var(--cream); }
.btn--block { width: 100%; }
.btn--sm { padding: .6rem 1.15rem; font-size: .82rem; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--plum); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.bg-ink .link-arrow { color: var(--gold-bright); }

/* ----- Header ------------------------------------------------------------ */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-solid {
    background: rgba(251,247,241,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
/* On pages with a dark hero, header text starts light */
.site-header.on-dark:not(.is-solid) { color: var(--cream); }
.site-header.on-dark:not(.is-solid) .brand-sub { color: rgba(251,247,241,.65); }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: .01em; }
.brand-sub { font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); margin-top: .25rem; }
/* Real logo (transparent PNG). Plum on light; auto-whitened over dark sections. */
.brand-logo { height: clamp(40px, 5vw, 54px); width: auto; display: block; }
.site-header.on-dark:not(.is-solid) .brand-logo { filter: brightness(0) invert(1); opacity: .96; }
.brand-logo--footer { height: 54px; filter: brightness(0) invert(1); opacity: .85; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: .92rem; font-weight: 500; position: relative; padding-block: .4rem; }
.nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: currentColor; transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: none; position: relative; }
.nav-close, .nav-head, .nav-ico { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: currentColor; transition: .3s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ----- Hero -------------------------------------------------------------- */
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center;
    color: var(--cream); overflow: hidden;
    background:
        radial-gradient(75% 60% at 70% 16%, rgba(150,96,124,.5), transparent 60%),
        radial-gradient(65% 70% at 90% 32%, rgba(94,84,104,.55), transparent 55%),
        radial-gradient(60% 85% at 8% 90%, rgba(168,130,63,.16), transparent 60%),
        linear-gradient(155deg, #3a3042 0%, #271f2e 46%, #17121d 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 -120px 160px -80px rgba(0,0,0,.6), inset 0 0 240px rgba(0,0,0,.22); }
/* Faint, randomized salon photo behind the hero (set by site.js) */
.hero__bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-size: cover; background-position: center;
    background-image: url('/images/hero-bg/bg-1.jpg'); /* default so it's never blank */
    opacity: .22; filter: grayscale(1) contrast(1.05);
    mix-blend-mode: soft-light;
}
.hero__grain {
    position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .05; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__art { position: absolute; inset: 0; opacity: .45; pointer-events: none; }
.hero__grid {
    position: relative; z-index: 2; width: 100%;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center; padding-top: calc(var(--header-h) + 4vh); padding-bottom: 9vh;
}
.hero__copy { max-width: 38rem; }
.hero h1 { color: var(--cream); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero .lede { color: rgba(251,247,241,.82); max-width: 46ch; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta { margin-top: 3.2rem; display: flex; flex-wrap: wrap; gap: 2.4rem; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-family: var(--serif); font-size: 2rem; color: var(--gold-bright); }
.hero__meta span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(251,247,241,.6); }

/* Hero visual panel — decorative; designed to be swapped for a real photo later */
.hero__visual { position: relative; height: min(64vh, 540px); }
.hero__panel {
    position: absolute; inset: 0; border-radius: 26px; overflow: hidden;
    border: 1px solid rgba(251,247,241,.12);
    background: linear-gradient(160deg, rgba(110,96,124,.5), rgba(34,28,40,.55));
    box-shadow: 0 50px 90px -50px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.hero__panel::before, .hero__panel::after {
    content: ""; position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
    border-radius: 50%; border: 1px solid rgba(201,161,91,.35);
}
.hero__panel::before { width: 78%; aspect-ratio: 1; }
.hero__panel::after { width: 52%; aspect-ratio: 1; border-color: rgba(201,161,91,.5); }
.hero__emblem { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__script { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.6rem); color: rgba(231,214,184,.92); transform: translateY(-6%); }
.hero-chip {
    position: absolute; display: inline-flex; align-items: center; gap: .45rem;
    padding: .6rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--cream);
    background: rgba(251,247,241,.1); border: 1px solid rgba(251,247,241,.2);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -16px rgba(0,0,0,.6); animation: floaty 7s var(--ease) infinite;
}
.hero-chip--1 { top: 13%; left: -6%; }
.hero-chip--2 { top: 40%; right: -8%; animation-delay: 1.2s; }
.hero-chip--3 { bottom: 22%; left: -2%; animation-delay: 2.4s; }
.hero__rating {
    position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); white-space: nowrap;
    display: flex; flex-direction: column; align-items: center; gap: .15rem; text-align: center;
    padding: .75rem 1.2rem; border-radius: 16px;
    background: rgba(23,18,29,.5); border: 1px solid rgba(251,247,241,.14);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__rating .stars { color: var(--gold-bright); letter-spacing: .2em; margin: 0; }
.hero__rating span:last-child { font-size: .78rem; color: rgba(251,247,241,.75); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 920px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
}
@media (max-width: 620px) {
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; }
    .hero .btn--lg { padding: .9rem 1.4rem; font-size: .95rem; }
    .hero__meta { gap: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(251,247,241,.55); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--gold-bright), transparent); }

/* page hero (interior pages, shorter) */
.page-hero {
    position: relative; color: var(--cream); overflow: hidden;
    padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
    padding-bottom: clamp(3rem, 7vw, 6rem);
    background:
        radial-gradient(110% 120% at 85% 0%, rgba(86,76,94,.55), transparent 60%),
        linear-gradient(155deg, #2c2535, #16121b);
}
.page-hero h1 { color: var(--cream); }
.page-hero .lede { color: rgba(251,247,241,.78); margin-inline: auto; }
.crumbs { font-size: .8rem; letter-spacing: .04em; color: rgba(251,247,241,.6); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--gold-bright); }

/* ----- Cards & grids ----------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    padding: 1.8rem; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(31,26,23,.5); }

/* service card */
.service-card { display: flex; flex-direction: column; gap: .6rem; }
.service-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--plum); margin-bottom: .4rem; }
.service-card h3 { font-size: 1.4rem; }
.service-card .price { margin-top: auto; padding-top: 1rem; display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line-soft); }
.service-card .price b { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.service-card .price span { font-size: .82rem; color: var(--ink-soft); }

/* feature / value */
.feature { text-align: left; }
.feature .num { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.feature h3 { margin: .4rem 0 .5rem; }
.feature p { color: var(--ink-soft); margin: 0; }

/* team */
.team-card { text-align: center; }
.avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto .9rem; display: grid; place-items: center; font-family: var(--serif); font-size: 2.2rem; color: #fff; box-shadow: var(--shadow-soft); }
.team-card h3 { font-size: 1.25rem; }
.team-card span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery .tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; display: flex; align-items: flex-end; padding: 1rem; color: #fff; isolation: isolate; transition: transform .5s var(--ease); }
.gallery .tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(20,16,14,.6)); }
.gallery .tile:hover { transform: scale(1.02); }
.gallery .tile span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.gallery .tile.tall { aspect-ratio: 3/5; }
.gallery .tile.wide { grid-column: span 2; aspect-ratio: 16/10; }
.gallery .tile[style*="url"] { background-size: cover; background-position: center; }

/* Real-photo hero panel */
.hero__panel--photo { background: #2c2630; }
.hero__panel--photo::before, .hero__panel--photo::after { display: none; }
.hero__panel--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Hero slideshow: cross-fade + slow Ken Burns zoom (desktop panel only) */
.hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.06); transition: opacity 1.4s var(--ease); will-change: opacity, transform; }
.hero__slide.is-active { opacity: 1; animation: kenburns 6s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active { animation: none; } }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23,18,29,.15) 0%, rgba(23,18,29,.15) 45%, rgba(23,18,29,.62) 100%); }
.hero__panel--photo .hero-chip, .hero__panel--photo .hero__rating { z-index: 2; }

/* Masonry photo gallery + lightbox */
.photo-grid { columns: 280px; column-gap: 14px; }
.photo-grid figure { margin: 0 0 14px; break-inside: avoid; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); }
.photo-grid img { width: 100%; display: block; transition: transform .6s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.05); }
.photo-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .8rem; color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(transparent, rgba(20,16,20,.72)); opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.photo-grid figure:hover figcaption { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 5vh 5vw; background: rgba(20,16,20,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox.open { display: grid; animation: fade .25s var(--ease); }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 40px 90px -40px #000; }
.lightbox .lb-close { position: absolute; top: 1.4rem; right: 1.4rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); color: #fff; font-size: 1.5rem; line-height: 1; }
.zoomable { cursor: zoom-in; }

/* ============================================================
   Installed-PWA app shell: bottom tab bar, immersive top, More page
   (Bottom bar is injected by site.js only in standalone mode.)
   ============================================================ */
.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; justify-content: space-around; align-items: flex-end;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: .5rem .3rem calc(.5rem + env(safe-area-inset-bottom, 0px));
}
.tabbar .tab {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: #9a909c; font-size: .62rem; font-weight: 600; letter-spacing: .01em; text-decoration: none;
    padding-top: .25rem; position: relative; transition: color .2s var(--ease), transform .15s var(--ease);
}
.tabbar .tab svg { width: 23px; height: 23px; transition: transform .2s var(--ease); }
.tabbar .tab.active { color: var(--plum); }
.tabbar .tab.active svg { transform: translateY(-2px); }
.tabbar .tab.active::after {
    content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--plum);
}
.tabbar .tab:active { transform: scale(.92); }
.tabbar .tab--book { margin-top: -22px; }
.tabbar .tab--book .fab {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #2a1d0a;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 10px 22px -8px rgba(168, 130, 63, .7); border: 3px solid #fff; transition: transform .2s var(--ease);
}
.tabbar .tab--book span:last-child { color: var(--gold); }
.tabbar .tab--book.active::after { display: none; }
.tabbar .tab--book:active .fab { transform: scale(.9); }

/* Standalone (installed app) overrides */
body.standalone .nav,
body.standalone .nav-toggle,
body.standalone .header-actions { display: none !important; }
body.standalone .site-header,
body.standalone .site-header.is-solid {
    background: linear-gradient(180deg, rgba(20, 16, 20, .65), rgba(20, 16, 20, 0));
    -webkit-backdrop-filter: none; backdrop-filter: none;
    color: var(--cream); border-bottom: none;
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
}
body.standalone .brand-logo { filter: brightness(0) invert(1); }
body.standalone { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
body.standalone .hero__grid { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 4vh); }
body.standalone .page-hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(2.5rem, 7vw, 5rem)); }
/* In the app, the booking nav sits at the top of the content (the fixed bottom bar would hide behind the tab bar) */
body.standalone .booking-actions { position: static; margin: 0 0 1.4rem; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.standalone .booking-grid { padding-bottom: 1rem; }
@media (prefers-reduced-motion: reduce) { .tabbar .tab, .tabbar .tab svg, .tabbar .tab--book .fab { transition: none; } }

/* More page (also a normal page in the browser) */
.page-hero--compact { padding-top: calc(var(--header-h) + .9rem); padding-bottom: .9rem; }
.page-hero--compact h1 { font-size: clamp(1.5rem, 4.5vw, 1.9rem); }
body.standalone .page-hero--compact { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + .6rem); }

.more-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.7rem; }
.more-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; background: #fff; border: 1px solid var(--line-soft);
    border-radius: 16px; padding: 1rem 1rem 1.05rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.more-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.more-tile .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sand); color: var(--plum); display: grid; place-items: center; }
.more-tile .ic svg { width: 20px; height: 20px; }
.more-tile b { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.1; }
.more-list { background: #fff; border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; }
.more-link { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.more-link:last-child { border-bottom: none; }
.more-link:hover { background: var(--sand); }
.more-link .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--sand); color: var(--plum); display: grid; place-items: center; flex: none; }
.more-link:hover .ic { background: #fff; }
.more-link .tx { flex: 1; }
.more-link .tx b { display: block; font-weight: 600; }
.more-link .tx small { color: var(--ink-soft); }
.more-link .ch { color: #b3aab4; font-size: 1.3rem; }

/* testimonial */
.quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; color: var(--ink); font-style: italic; }
.bg-ink .quote { color: var(--cream); }
.quote-by { margin-top: 1.4rem; font-family: var(--sans); font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.stars { color: var(--gold-bright); letter-spacing: .2em; margin-bottom: 1.2rem; }

/* location card */
.loc-card { display: flex; flex-direction: column; gap: 1rem; }
.loc-card h3 { font-size: 1.7rem; }
.loc-map { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background:
    repeating-linear-gradient(45deg, var(--sand-deep) 0 12px, var(--sand) 12px 24px);
    position: relative; display: grid; place-items: center; color: var(--ink-soft); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .95rem; }
.loc-card dt { color: var(--gold); font-weight: 600; }
.loc-card dd { margin: 0; color: var(--ink-soft); }

/* split / about */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.media-frame { aspect-ratio: 4/5; border-radius: var(--radius-lg); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.media-frame .badge { position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem; background: rgba(251,247,241,.92); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 1rem 1.2rem; }
.media-frame .badge b { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.media-frame .badge span { display: block; font-size: .8rem; color: var(--ink-soft); }

/* duotone fill helper (set via inline --c1/--c2) */
.duo { background: linear-gradient(150deg, var(--c1, #4a4154), var(--c2, #221c28)); position: relative; }
.duo::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,.5) 0, transparent 35%); }

/* ----- CTA band ---------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; text-align: center; color: var(--cream);
    background: radial-gradient(100% 140% at 50% 0%, rgba(86,76,94,.55), transparent 60%), linear-gradient(160deg, #2c2535, #16121b); }
.cta-band h2 { color: var(--cream); }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ----- Forms ------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.field input, .field select, .field textarea {
    font: inherit; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(140,74,94,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.auth-card { max-width: 460px; margin-inline: auto; }
.tabs { display: flex; background: var(--sand); border-radius: 999px; padding: 4px; margin-bottom: 1.6rem; }
.tabs button { flex: 1; border: none; background: none; padding: .7rem; border-radius: 999px; font-weight: 600; color: var(--ink-soft); transition: .25s; }
.tabs button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* ----- Booking flow ------------------------------------------------------ */
.steps { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.steps .step { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--ink-soft); }
.steps .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .85rem; transition: .3s; }
.steps .step.is-active .dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps .step.is-done .dot { background: var(--plum); color: #fff; border-color: var(--plum); }
.steps .bar { width: 26px; height: 1px; background: var(--line); }
.booking-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.date-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; margin-bottom: 1.6rem; }
@media (max-width: 620px) { .date-row { grid-template-columns: repeat(4, 1fr); } }
.booking-panel { display: none; animation: fade .4s var(--ease); }
.booking-panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.choice {
    text-align: left; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; transition: .25s var(--ease); display: flex; flex-direction: column; gap: .3rem;
}
.choice:hover { border-color: var(--plum); transform: translateY(-2px); }
.choice.is-selected { border-color: var(--plum); box-shadow: 0 0 0 2px var(--plum) inset; background: #fff; }
.choice b { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.choice small { color: var(--ink-soft); }
.choice .meta { margin-top: .3rem; font-size: .85rem; color: var(--plum); font-weight: 600; }

.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.time-grid button { padding: .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; transition: .2s; }
.time-grid button:hover { border-color: var(--plum); }
.time-grid button.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }

.summary { background: var(--sand); border-radius: var(--radius-lg); padding: 1.6rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.summary h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.summary .row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.summary .row span:first-child { color: var(--ink-soft); }
.summary .row.total { border-bottom: none; font-size: 1.1rem; font-weight: 700; padding-top: 1rem; }
.summary .row.total b { font-family: var(--serif); color: var(--plum); }
.summary .deposit-note { font-size: .8rem; color: var(--ink-soft); margin-top: .8rem; background: rgba(168,124,61,.12); padding: .7rem .9rem; border-radius: 10px; }
.booking-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0 1.4rem; }
.booking-hint { font-size: .9rem; font-weight: 600; color: var(--plum);
    background: rgba(168,124,61,.16); padding: .7rem 1rem; border-radius: 10px; margin: 0 0 1.4rem; }
.steps .step.is-clickable { cursor: pointer; }
.steps .step.is-clickable:hover { color: var(--plum); }
.steps .step.is-clickable:hover .dot { border-color: var(--plum); color: var(--plum); }

/* Compact mobile step indicator (replaces the dot row on small screens) */
.steps-mobile { display: none; margin-bottom: 1.8rem; }
.steps-mobile__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .55rem; }
.steps-mobile__row span:first-child { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.steps-mobile__row span:last-child { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.steps-mobile__bar { height: 5px; border-radius: 999px; background: var(--sand-deep); overflow: hidden; }
.steps-mobile__bar i { display: block; height: 100%; background: var(--plum); border-radius: 999px; transition: width .45s var(--ease); }

@media (max-width: 760px) {
    .steps { display: none; }
    .steps-mobile { display: block; }
    .booking-actions {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0;
        padding: .8rem 1.1rem calc(.8rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
        box-shadow: 0 -12px 26px -18px rgba(31,26,23,.45);
    }
    .booking-actions [data-nav=next] { flex: 1; }
    .booking-hint { margin: 0 0 1rem; text-align: center; }
    .booking-grid { padding-bottom: 5.5rem; }
    .choice { padding: 1.1rem 1.2rem; }
}

.confirm-check { width: 86px; height: 86px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); display: grid; place-items: center; margin: 0 auto 1.5rem; color: #fff; }

/* badge / chips */
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: .35rem .8rem; border-radius: 999px; background: var(--sand); color: var(--plum); }
.chip--gold { background: rgba(168,124,61,.16); color: var(--gold); }

/* Auto-scrolling service marquee */
.trust { position: relative; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.trust__track { display: inline-flex; align-items: center; gap: 2.6rem; white-space: nowrap; will-change: transform; animation: marquee 30s linear infinite; }
.trust__track span { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--ink-soft); }
.trust__track .dot { color: var(--gold); }
.trust:hover .trust__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust__track { animation: none; } }

/* ----- Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(251,247,241,.72); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: var(--cream); font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer .brand-name { color: var(--cream); }
.site-footer ul li { margin-bottom: .6rem; font-size: .95rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,247,241,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(251,247,241,.5); }
.social { display: flex; gap: .8rem; }
.social a { width: 38px; height: 38px; border: 1px solid rgba(251,247,241,.2); border-radius: 50%; display: grid; place-items: center; transition: .3s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ----- Mobile nav drawer ------------------------------------------------- */
.nav-scrim { position: fixed; inset: 0; background: rgba(20,16,14,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* ----- Reveal animation -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .btn:hover, .card:hover, .gallery .tile:hover { transform: none; }
}

/* ----- Utilities --------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.show-mobile { display: none; }
.flow > * + * { margin-top: 1.5rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ----- Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery .tile.wide { grid-column: span 2; }
    .split { grid-template-columns: 1fr; }
    .split--reverse > :first-child { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .booking-grid { grid-template-columns: 1fr !important; }
    .summary { position: static; }
}
@media (max-width: 760px) {
    .header-actions .btn { display: none; }
    .nav-toggle { display: block; }
    /* Slide-in right drawer */
    .nav {
        position: fixed; top: 0; right: 0; bottom: 0; height: 100dvh; width: min(86vw, 360px);
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
        background: #fff; padding: 0 0 1.6rem;
        transform: translateX(100%); transition: transform .35s var(--ease);
        z-index: 95; box-shadow: -24px 0 60px -28px rgba(20,16,20,.55); overflow-y: auto;
    }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav { transform: none; }

    /* Branded header band */
    .nav-head { display: block; position: relative;
        padding: calc(env(safe-area-inset-top, 0px) + 1.7rem) 1.6rem 1.4rem;
        background: linear-gradient(150deg, #5e5468, #3f3748); color: var(--cream); }
    .nav-head__logo { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: .7rem; }
    .nav-head__tag { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(251,247,241,.92); margin: 0; }
    .nav-head__loc { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); margin: .4rem 0 0; }

    /* Menu rows with icons */
    .nav a:not(.btn) { display: flex; align-items: center; gap: .95rem; font-size: 1.12rem; font-weight: 600;
        font-family: var(--serif); color: var(--ink); padding: 1.05rem 1.6rem; margin: 0;
        border-bottom: 1px solid var(--line); }
    .nav a::after { display: none; }
    .nav-ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none;
        border-radius: 11px; background: var(--sand); color: var(--plum); }
    .nav-ico svg { width: 19px; height: 19px; }

    /* Book button */
    .nav .btn { margin: 1.4rem 1.6rem .2rem; width: calc(100% - 3.2rem); font-family: var(--sans);
        background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #2a1d0a; border-color: transparent; }
    .show-mobile { display: inline-flex; }

    /* Close (X) over the header band */
    .nav-close { display: grid; place-items: center; position: absolute;
        top: calc(env(safe-area-inset-top, 0px) + 1rem); right: 1.1rem; z-index: 2;
        width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(251,247,241,.4);
        background: rgba(251,247,241,.14); color: var(--cream); font-size: 1.6rem; line-height: 1; }
    .site-header.on-dark:not(.is-solid) { color: var(--cream); }
    body.nav-open .brand { visibility: hidden; }   /* drawer has its own logo */
    body.nav-open .nav-toggle { display: none; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero__meta { gap: 1.5rem; }
}
