/* =====================================================================
   MUQING BEAUTY SPA — STYLES
   Palette pulled from the space: sage-ivory walls, walnut joinery,
   jade towels & teaware, bamboo gold from the backlit tea wall, slate tray.
   Layout uses logical properties so Arabic (RTL) and English (LTR) mirror.
   ===================================================================== */

:root {
  --paper: #F3F1E7;       /* rice-paper walls */
  --paper-2: #E8E3D3;     /* sand stone floor */
  --walnut: #4A3223;      /* joinery, screens */
  --walnut-deep: #2F2119;
  --jade: #2E5B4F;        /* folded towels, teaware */
  --bamboo: #C9A55C;      /* bamboo print on the tea wall */
  --ink: #2B2825;         /* slate tea tray, logo */
  --muted: #675F55;
  --wa: #25D366;

  --f-display: "Reem Kufi", "Marcellus", Tahoma, serif;
  --f-body: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, system-ui, sans-serif;
  --lh: 1.9;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --cut: 16%;             /* octagon chamfer, from the carved screens */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: 1.1s;
}

html[lang="en"] {
  --f-display: "Marcellus", "Reem Kufi", Georgia, serif;
  --f-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --lh: 1.7;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1rem + .15vw, 18px);
  line-height: var(--lh);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1.25; }
[lang="zh"] { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; inset-inline-start: 12px; top: 12px; z-index: 100;
  background: var(--walnut); color: var(--paper); padding: 10px 16px; text-decoration: none;
  transform: translateY(-200%); transition: transform .3s;
}
.skip-link:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 150px); }

.icon { width: 20px; height: 20px; flex: none; }

.h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); color: var(--walnut-deep); }
.h2--light { color: var(--paper); }
.lead { font-size: 1.12em; color: var(--ink); }

/* Brush stroke under headings — draws in when revealed */
.brush { display: block; width: 130px; height: 12px; margin-block: 14px 26px; fill: var(--bamboo); }
html.js .brush { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease) .35s; }
html.js[dir="rtl"] .brush { clip-path: inset(0 0 0 100%); }
html.js .is-in .brush, html.js .is-in.brush { clip-path: inset(0 0 0 0); }
[dir="rtl"] .brush { transform: scaleX(-1); }

.link { color: var(--jade); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link--light { color: var(--paper); }

/* ---------- Octagon frame (the carved screens in the corridor) ---------- */
.octa {
  --c: var(--cut);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% calc(var(--c) * .75), 100% calc(100% - var(--c) * .75), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c) * .75), 0 calc(var(--c) * .75));
  background: var(--walnut);
  padding: 9px;
}
.octa__inner {
  clip-path: inherit;
  overflow: hidden;
  height: 100%;
  background: var(--paper-2);
}
.octa__inner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding-inline: 24px;
  border: 1px solid var(--walnut); border-radius: 999px;
  text-decoration: none; font-weight: 500; line-height: 1;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: var(--origin, left);
  transition: transform .55s var(--ease);
}
[dir="rtl"] .btn::before { --origin: right; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:active { transform: scale(.98); }

.btn--primary { background: var(--jade); border-color: var(--jade); color: #fff; }
.btn--primary::before { background: var(--walnut-deep); }
.btn--ghost { color: var(--walnut); background: transparent; }
.btn--ghost::before { background: var(--walnut); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--paper); }
.btn--wa-small { min-height: 40px; padding-inline: 18px; background: var(--walnut); color: var(--paper); border-color: var(--walnut); }
.btn--wa-small::before { background: var(--jade); }
.btn--wa-large { min-height: 58px; padding-inline: 32px; font-size: 1.08rem; background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa-large::before { background: #1DA851; }

/* ===================================================================
   INTRO — logo mark draws, then two lattice doors slide open.
   Pure CSS so it always finishes, even if JavaScript fails.
   =================================================================== */
.intro { display: none; }
html.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  animation: intro-out 0s linear 2.7s forwards;
}
.intro__door {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: var(--paper); color: rgba(74, 50, 35, .13);
  transition: none;
}
.intro__door svg { width: 100%; height: 100%; display: block; }
.intro__door--a { inset-inline-start: 0; animation: door-a 1.1s var(--ease) 1.55s forwards; border-inline-end: 1px solid rgba(74,50,35,.25); }
.intro__door--b { inset-inline-end: 0; animation: door-b 1.1s var(--ease) 1.55s forwards; border-inline-start: 1px solid rgba(74,50,35,.25); }
[dir="rtl"] .intro__door--a { animation-name: door-b; }
[dir="rtl"] .intro__door--b { animation-name: door-a; }
.intro__mark {
  position: relative; width: min(38vw, 180px); color: var(--walnut);
  animation: mark-out .5s ease 1.35s forwards;
}
.intro__mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
.intro__mark path:nth-child(2) { animation-delay: .35s; }
.intro__mark path:nth-child(3) { animation-delay: .7s; animation-duration: .5s; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes door-a { to { transform: translateX(-101%); } }
@keyframes door-b { to { transform: translateX(101%); } }
@keyframes mark-out { to { opacity: 0; transform: scale(.92); } }
@keyframes intro-out { to { visibility: hidden; } }

/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: transform .5s var(--ease), background-color .5s var(--ease), box-shadow .5s;
}
.site-header.is-scrolled { background: rgba(243, 241, 231, .94); box-shadow: 0 1px 0 rgba(74,50,35,.1); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--walnut-deep); }
.brand__mark { width: 52px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__latin { font-family: "IBM Plex Sans", sans-serif; letter-spacing: .28em; font-size: .82rem; font-weight: 500; }
.brand__han { font-size: .8rem; letter-spacing: .5em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative; text-decoration: none; font-size: .95rem; padding-block: 6px; color: var(--ink);
}
.nav__list a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--bamboo);
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav__list a:hover::after, .nav__list a:focus-visible::after, .nav__list a.is-current::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; border: 1px solid rgba(74,50,35,.35); border-radius: 999px; padding: 3px;
}
.lang__btn {
  border: 0; background: transparent; cursor: pointer; min-width: 44px; min-height: 34px;
  padding-inline: 10px; border-radius: 999px; font-size: .85rem; color: var(--walnut);
  transition: background-color .35s, color .35s;
}
.lang__btn[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang__btn[lang="en"] { font-family: "IBM Plex Sans", sans-serif; letter-spacing: .06em; }
.lang__btn[aria-pressed="true"] { background: var(--walnut); color: var(--paper); }

.menu-btn { display: none; }

@media (max-width: 959px) {
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; background: transparent; cursor: pointer;
  }
  .menu-btn__lines, .menu-btn__lines::before, .menu-btn__lines::after {
    display: block; width: 22px; height: 1.5px; background: var(--walnut-deep); position: relative;
    transition: transform .4s var(--ease), opacity .3s;
  }
  .menu-btn__lines::before, .menu-btn__lines::after { content: ""; position: absolute; inset-inline-start: 0; }
  .menu-btn__lines::before { top: -7px; }
  .menu-btn__lines::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-btn__lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__lines::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__lines::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 36px;
    background: var(--paper); color: var(--walnut);
    clip-path: circle(0% at 50% 0%);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s linear .7s;
  }
  .nav::before { /* faint lattice behind the menu */
    content: ""; position: absolute; inset: 0; opacity: .035; pointer-events: none;
    background:
      linear-gradient(currentColor 3px, transparent 3px) 0 0 / 48px 48px,
      linear-gradient(90deg, currentColor 3px, transparent 3px) 0 0 / 48px 48px;
  }
  .nav.is-open { clip-path: circle(150% at 50% 0%); visibility: visible; transition: clip-path .8s var(--ease); }
  .nav__list { flex-direction: column; align-items: center; gap: 18px; position: relative; }
  .nav__list a { font-family: var(--f-display); font-size: 1.7rem; }
  .nav__book { position: relative; }
  .brand__text { display: none; }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-block: 110px clamp(56px, 8vw, 100px);
  min-height: 100svh; display: flex; align-items: center;
}
.hero__grid { display: grid; gap: 48px; align-items: center; position: relative; }
.hero__name {
  display: block;
  font-size: clamp(3.4rem, 1.6rem + 8vw, 7.4rem);
  line-height: 1.05; color: var(--walnut-deep); font-weight: 500;
}
html[lang="en"] .hero__name { letter-spacing: .02em; }
.hero__sub {
  display: block; margin-top: 10px;
  font-family: var(--f-body); font-weight: 300;
  font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); color: var(--jade);
}
html[lang="en"] .hero__sub { letter-spacing: .14em; }
.hero__line { max-width: 34ch; margin-block: 26px 34px; color: var(--muted); font-size: 1.08em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__welcome { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 0; font-size: .92rem; color: var(--walnut); }
.octa-dot {
  width: 10px; height: 10px; background: var(--bamboo);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

/* Staggered entrance after the doors open */
html.js .hero__name, html.js .hero__sub, html.js .hero__line, html.js .hero__actions, html.js .hero__welcome {
  opacity: 0; transform: translateY(24px);
  animation: rise 1.1s var(--ease) forwards;
}
html.js .hero__name    { animation-delay: 2.0s; }
html.js .hero__sub     { animation-delay: 2.15s; }
html.js .hero__line    { animation-delay: 2.3s; }
html.js .hero__actions { animation-delay: 2.45s; }
html.js .hero__welcome { animation-delay: 2.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__visual { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }
.octa--hero { aspect-ratio: 3 / 4; }
html.js .octa--hero { opacity: 0; transform: scale(.96); animation: frame-in 1.4s var(--ease) 1.8s forwards; }
html.js .octa--hero img { transform: scale(1.18); animation: settle 3.2s var(--ease) 1.8s forwards; }
@keyframes frame-in { to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1.02); } }

/* Backlit lattice glow behind the frame, like the lit screens inside */
.hero__glow {
  position: absolute; inset: -9% -14%; z-index: -1; color: var(--walnut);
  -webkit-mask: radial-gradient(closest-side, #000 35%, transparent 100%);
          mask: radial-gradient(closest-side, #000 35%, transparent 100%);
  opacity: .12; animation: breathe 7s ease-in-out infinite;
}
.hero__glow svg { width: 100%; height: 100%; display: block; }
@keyframes breathe { 50% { opacity: .22; } }

/* Seal stamp with the brand's own characters */
.seal {
  position: absolute; inset-inline-end: -10px; bottom: 12%;
  background: var(--jade); color: var(--paper);
  padding: 12px 8px; font-size: 1.05rem; letter-spacing: .25em; line-height: 1;
  border-radius: 3px; box-shadow: inset 0 0 0 3px var(--jade), inset 0 0 0 4px rgba(243,241,231,.5);
}
html.js .seal { opacity: 0; transform: rotate(-12deg) scale(1.6); animation: stamp .6s cubic-bezier(.5,1.6,.6,1) 3s forwards; }
.seal > span { writing-mode: vertical-rl; display: block; }
@keyframes stamp { to { opacity: 1; transform: rotate(-4deg) scale(1); } }

/* Drifting bamboo leaves, echoing the tea-wall print */
.hero__leaves { position: absolute; inset: 0; pointer-events: none; }
.leaf { position: absolute; fill: var(--bamboo); opacity: .16; width: 160px; }
.leaf--1 { top: 16%; inset-inline-start: 46%; transform: rotate(-24deg); animation: sway 11s ease-in-out infinite; }
.leaf--2 { top: 70%; inset-inline-start: 6%; width: 120px; transform: rotate(18deg); animation: sway 14s ease-in-out -4s infinite; }
.leaf--3 { top: 8%; inset-inline-end: 4%; width: 200px; transform: rotate(-38deg); animation: sway 16s ease-in-out -8s infinite; }
.leaf--4 { bottom: 6%; inset-inline-end: 40%; width: 110px; transform: rotate(8deg); animation: sway 12s ease-in-out -2s infinite; }
@keyframes sway {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 18px 26px; rotate: 9deg; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero__visual { justify-self: end; }
}

/* ===================================================================
   MARQUEE on fluted walnut (the storefront slats)
   =================================================================== */
.marquee {
  --dir: -1;
  overflow: hidden; color: var(--paper);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 14px),
    var(--walnut);
  padding-block: 20px;
}
[dir="rtl"] .marquee { --dir: 1; }
.marquee__track {
  display: flex; width: max-content; gap: 34px; align-items: center;
  animation: marquee 38s linear infinite;
  font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); white-space: nowrap;
}
.marquee__track .sep { width: 9px; height: 9px; background: var(--bamboo); clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(var(--dir) * 50%)); } }

/* ===================================================================
   ABOUT
   =================================================================== */
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__chars { display: flex; gap: 12px; color: var(--walnut); line-height: 1; }
.char { font-size: clamp(4rem, 3rem + 5vw, 8rem); }
.char:last-child { color: var(--jade); translate: 0 .35em; }
@media (min-width: 960px) {
  .about__chars { flex-direction: column; gap: 0; }
  .char:last-child { translate: 0; margin-inline-start: .5em; }
}
.meaning { display: grid; gap: 8px; margin: 0 0 26px; }
.meaning div { display: flex; align-items: baseline; gap: 14px; }
.meaning dt { font-size: 1.4rem; color: var(--jade); }
.meaning dd { margin: 0; color: var(--muted); }
.about__copy { max-width: 52ch; }
.about__photo { margin: 0; }
.about__photo .octa { aspect-ratio: 3 / 4; max-width: 380px; margin-inline: auto; }

@media (min-width: 960px) {
  .about__grid { grid-template-columns: auto 1fr .8fr; gap: 64px; }
}

/* ===================================================================
   SERVICES
   =================================================================== */
.services { background: var(--paper-2); position: relative; }
.section-head { max-width: 60ch; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head__intro { color: var(--muted); }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc {
  position: relative; padding-block: 30px;
  border-top: 1px solid rgba(74,50,35,.18);
  transition: padding-inline .6s var(--ease);
}
.svc:last-child { border-bottom: 1px solid rgba(74,50,35,.18); }
.svc__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; border-radius: 2px; }
.svc__title { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); color: var(--walnut-deep); transition: color .5s; }
.svc__text { margin: 10px 0 12px; color: var(--muted); max-width: 46ch; }
.svc__ask { font-size: .92rem; color: var(--jade); text-underline-offset: 5px; }

.svc-stage { display: none; }

@media (min-width: 960px) {
  .svc-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; }
  .svc__img { display: none; }
  .svc { padding-block: 36px; cursor: default; }
  .svc::before { /* bamboo-gold marker slides in for the active item */
    content: ""; position: absolute; inset-inline-start: 0; top: 60px; width: 28px; height: 1px;
    background: var(--bamboo); transform: scaleX(0); transform-origin: var(--o, left);
    transition: transform .6s var(--ease);
  }
  [dir="rtl"] .svc::before { --o: right; }
  .svc.is-active { padding-inline-start: 44px; }
  .svc.is-active::before { transform: scaleX(1); }
  .svc.is-active .svc__title { color: var(--jade); }

  .svc-stage { display: block; position: sticky; top: 110px; }
  .octa--stage { aspect-ratio: 3 / 4; }
  .octa--stage .octa__inner { position: relative; }
  .octa--stage img {
    position: absolute; inset: 0; opacity: 0; transform: scale(1.08);
    transition: opacity 1s var(--ease), transform 1.6s var(--ease);
  }
  .octa--stage img.is-active { opacity: 1; transform: scale(1); }
  .svc-stage__ticks { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
  .svc-stage__ticks i { width: 22px; height: 2px; background: rgba(74,50,35,.2); transition: background .5s, width .5s var(--ease); }
  .svc-stage__ticks i.is-active { background: var(--jade); width: 44px; }
}

/* ===================================================================
   TEA & HOSPITALITY
   =================================================================== */
.tea__grid { display: grid; gap: 44px; align-items: center; }
.tea__main, .tea__side { margin: 0; position: relative; }
.frame { overflow: hidden; }
.frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.frame--round { border-radius: 50%; aspect-ratio: 1; max-width: 300px; margin-inline: auto; box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px rgba(74,50,35,.25); }
.frame--round img { aspect-ratio: 1; height: 100%; }
.tag {
  position: absolute; bottom: 18px; inset-inline-start: 18px;
  background: var(--paper); color: var(--walnut); padding: 6px 14px; font-size: .88rem; border-radius: 999px;
}
.tea__side .tag { inset-inline-start: 50%; transform: translateX(-50%); bottom: -8px; }
[dir="rtl"] .tea__side .tag { transform: translateX(50%); }
.tea__copy { max-width: 46ch; }

.steam { width: 64px; color: var(--walnut); margin-bottom: 16px; overflow: visible; }
.steam__w { stroke-dasharray: 60; stroke-dashoffset: 60; opacity: 0; animation: steam 4.2s ease-in-out infinite; }
.steam__w--2 { animation-delay: 1.2s; }
.steam__w--3 { animation-delay: 2.4s; }
@keyframes steam {
  0% { stroke-dashoffset: 60; opacity: 0; transform: translateY(8px); }
  35% { opacity: .9; }
  100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-10px); }
}

@media (min-width: 960px) {
  .tea__grid { grid-template-columns: .95fr 1fr .6fr; gap: 56px; }
  .tea__side { align-self: end; margin-bottom: -40px; }
}

/* ===================================================================
   GALLERY — mosaic
   =================================================================== */
.gallery { padding-top: clamp(40px, 6vw, 80px); }
.mosaic {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px; grid-auto-flow: dense;
}
.m { grid-row: span 2; }
.m--tall { grid-row: span 3; }
.m--wide { grid-column: span 2; grid-row: span 2; }
.m__btn {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  overflow: hidden; background: var(--paper-2); position: relative;
}
.m__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.m__btn::after { /* lattice veil on hover */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  background:
    linear-gradient(rgba(243,241,231,.5) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(243,241,231,.5) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask: linear-gradient(to top, #000, transparent 55%); mask: linear-gradient(to top, #000, transparent 55%);
}
.m__btn:hover img, .m__btn:focus-visible img { transform: scale(1.06); }
.m__btn:hover::after, .m__btn:focus-visible::after { opacity: 1; }

@media (min-width: 768px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; gap: 14px; }
}
@media (min-width: 1200px) {
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .m { grid-column: span 2; grid-row: span 3; }
  .m--tall { grid-row: span 4; }
  .m--wide { grid-column: span 4; grid-row: span 3; }
}

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: #211812; color: var(--paper);
}
.lightbox[open] { display: grid; place-items: center; animation: fade .4s ease; }
.lightbox::backdrop { background: rgba(33, 24, 18, .9); }
.lightbox__figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 60px 16px; }
.lightbox__figure img { max-width: min(92vw, 1100px); max-height: 78dvh; width: auto; object-fit: contain; animation: zoom .5s var(--ease); }
.lightbox__figure figcaption { font-size: .95rem; opacity: .85; text-align: center; max-width: 60ch; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243,241,231,.35);
  background: transparent; color: var(--paper); cursor: pointer; display: grid; place-items: center;
  transition: background-color .3s;
}
.lb-btn:hover { background: rgba(243,241,231,.12); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn--close { top: 16px; inset-inline-end: 16px; }
.lb-btn--prev { top: 50%; inset-inline-start: 16px; translate: 0 -50%; }
.lb-btn--next { top: 50%; inset-inline-end: 16px; translate: 0 -50%; }
[dir="ltr"] .lb-btn--prev svg, [dir="ltr"] .lb-btn--next svg { transform: scaleX(-1); }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { opacity: 0; transform: scale(.96); } }

/* ===================================================================
   VISIT
   =================================================================== */
.visit__grid { display: grid; gap: 48px; }
.facts { margin: 0 0 30px; }
.facts__row { padding-block: 16px; border-bottom: 1px solid rgba(74,50,35,.15); display: grid; gap: 4px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; }
.hours-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; max-width: 360px; }

.sign { margin: 36px 0 0; display: flex; align-items: center; gap: 18px; }
.sign img { width: 110px; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; }
.sign figcaption { color: var(--muted); font-size: .95rem; }

.map-frame {
  --c: 7%;
  height: 100%; min-height: 380px; background: var(--paper-2);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: sepia(.25) saturate(.85); }

@media (min-width: 960px) {
  .visit__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: stretch; }
}

/* ===================================================================
   BOOK
   =================================================================== */
.book {
  position: relative; overflow: hidden; text-align: center;
  background: var(--walnut-deep); color: var(--paper);
  padding-block: clamp(90px, 13vw, 160px);
}
.book__lattice {
  position: absolute; inset: 0; width: 100%; height: 100%; color: var(--bamboo);
  opacity: .08;
  -webkit-mask: radial-gradient(ellipse at center, transparent 20%, #000 75%);
          mask: radial-gradient(ellipse at center, transparent 20%, #000 75%);
  animation: lattice-drift 40s linear infinite;
}
@keyframes lattice-drift { to { transform: translateY(-48px); } }
.book__inner { position: relative; display: grid; justify-items: center; }
.book__mark { width: 90px; height: 60px; color: var(--bamboo); margin-bottom: 24px; }
.book__text { max-width: 44ch; margin: 18px auto 34px; opacity: .85; }
.book__call { margin: 24px 0 0; opacity: .85; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--walnut); color: var(--paper); padding-block: 48px calc(40px + env(safe-area-inset-bottom)); }
.site-footer__inner { display: grid; gap: 24px; align-items: center; justify-items: center; text-align: center; }
.site-footer__logo { width: 96px; height: auto; opacity: .92; }
.site-footer__meta p { margin: 0; font-size: .95rem; }
.site-footer__name { font-family: var(--f-display); font-size: 1.15rem !important; margin-bottom: 4px !important; }
.site-footer__copy { margin: 0; font-size: .82rem; opacity: .7; }

@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: start; gap: 40px; }
}

/* ===================================================================
   FLOATING WHATSAPP — official look, independent of the theme
   =================================================================== */
.wa-float {
  position: fixed; z-index: 80;
  inset-inline-end: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transform: scale(0); animation: wa-in .7s cubic-bezier(.34,1.56,.64,1) 3.2s forwards;
  transition: box-shadow .3s;
}
html:not(.js) .wa-float { transform: none; animation: none; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: wa-ring 2.8s ease-out 4.2s infinite; opacity: 0;
}
.wa-float:hover { box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.wa-float:focus-visible { outline: 3px solid #128C7E; outline-offset: 3px; }
@keyframes wa-in { to { transform: scale(1); } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ===================================================================
   SCROLL REVEALS & PARALLAX
   =================================================================== */
html.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .svc.reveal:nth-child(2) { transition-delay: .08s; }
html.js .svc.reveal:nth-child(3) { transition-delay: .16s; }
html.js .svc.reveal:nth-child(4) { transition-delay: .24s; }
html.js .svc.reveal:nth-child(5) { transition-delay: .32s; }

/* Image "unveil": a paper panel lifts off photos as they enter */
html.js .reveal .octa__inner, html.js .reveal .frame { position: relative; }
html.js .reveal .octa__inner::after, html.js .reveal .frame::after {
  content: ""; position: absolute; inset: 0; background: var(--paper-2);
  transform-origin: top; transition: transform 1.3s var(--ease) .15s;
}
html.js .reveal.is-in .octa__inner::after, html.js .reveal.is-in .frame::after { transform: scaleY(0); }

[data-parallax] { will-change: transform; }

/* Mosaic tiles float in one by one */
html.js .mosaic .m { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .mosaic .m.is-in { opacity: 1; transform: none; }

/* ===================================================================
   REDUCED MOTION — everything visible, nothing moves
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .intro { display: none; }
  .hero__leaves, .marquee__track { animation: none !important; }
  .marquee__track { transform: none; flex-wrap: wrap; width: auto; justify-content: center; }
  [data-parallax] { transform: none !important; }
}
