/* =========================================================
   WOO PHUKET — Organic & Healthy
   ========================================================= */
:root {
  --jungle: #0d2419;
  --jungle-2: #143425;
  --moss: #1f4d36;
  --leaf: #2d6a45;
  --lime: #d2f36b;
  --lime-2: #bde34a;
  --cream: #f6f1e7;
  --sand: #ebe2d0;
  --paper: #fbf8f2;
  --papaya: #ff8a4c;
  --orchid: #d9468f;
  --ink: #0f1712;
  --muted: #5c6a60;
  --line: rgba(15, 23, 18, .12);
  --line-light: rgba(246, 241, 231, .16);

  --serif: "Fraunces", "Lora", "Noto Serif Thai", "Times New Roman", serif;
  --sans: "Manrope", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --radius-lg: 34px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
::selection { background: var(--lime); color: var(--jungle); }
:focus-visible { outline: 2px solid var(--papaya); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  color: var(--leaf); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow--lime { color: var(--lime); }
.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6.4vw, 96px); line-height: .98; letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
}
.display em { font-style: italic; color: var(--leaf); }
.display--light { color: var(--cream); }
.display--light em { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--jungle); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 14px; letter-spacing: .04em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), box-shadow .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--papaya));
  transform: translateY(101%); border-radius: inherit;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn span { position: relative; display: inline-block; }
.btn--lime { --bg: var(--lime); --fg: var(--jungle); --hover: var(--cream); }
.btn--dark { --bg: var(--jungle); --fg: var(--cream); --hover: var(--leaf); }
.btn--ghost { --bg: rgba(246, 241, 231, .12); --fg: var(--cream); --hover: var(--cream); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(246,241,231,.35); }
.btn--ghost:hover { color: var(--jungle); }
.btn--outline { --bg: transparent; --fg: var(--jungle); --hover: var(--jungle); box-shadow: inset 0 0 0 1.5px var(--jungle); }
.btn--outline:hover { color: var(--cream); }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px;
  letter-spacing: .03em; padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: var(--cream); }

/* ---------- Preloader ---------- */
.preloader { display: none; }
html.anim.is-loading .preloader, html.anim .preloader.is-running {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000;
  background: var(--jungle); color: var(--cream);
}
.preloader__inner { position: relative; width: 150px; height: 150px; display: grid; place-items: center; z-index: 2; }
.preloader__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.preloader__ring circle { fill: none; stroke: var(--lime); stroke-width: 1.5; stroke-dasharray: 352; stroke-dashoffset: 352; }
.preloader__logo { width: 110px; height: 110px; border-radius: 50%; background: var(--cream); padding: 6px; }
.preloader__count { position: absolute; bottom: 40px; right: var(--gutter); font-family: var(--serif); font-size: clamp(48px, 9vw, 120px); font-weight: 300; line-height: 1; z-index: 2; color: var(--lime); }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50%; background: var(--jungle); z-index: 1; }
.preloader__panel--a { top: 0; } .preloader__panel--b { bottom: 0; }
html.is-loading body { overflow: hidden; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.anim .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 999; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--papaya); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 138, 76, .7);
    display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s;
  }
  .cursor__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jungle); opacity: 0; transition: opacity .3s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 138, 76, .12); }
  .cursor.is-view .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--lime); border-color: var(--lime); }
  .cursor.is-view .cursor__label { opacity: 1; }
  .cursor.is-view .cursor__dot { opacity: 0; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter); color: var(--cream);
  transition: transform .6s var(--ease), background .5s, color .5s, box-shadow .5s, height .5s var(--ease);
}
.nav.is-solid {
  background: rgba(251, 248, 242, .82); color: var(--jungle);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line); height: 66px;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-solid .lang__btn { background: var(--cream); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; margin-right: auto; }
.nav__logo img { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); padding: 2px; transition: transform .6s var(--ease); }
.nav__logo:hover img { transform: rotate(-20deg) scale(1.05); }
.nav__logo em { font-style: italic; font-weight: 300; margin-left: 4px; opacity: .8; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 600; letter-spacing: .02em; border-radius: 999px; transition: background .3s; }
.nav__links a:hover { background: rgba(127, 127, 127, .14); }
.nav__links a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--papaya); }
.nav__cta { min-height: 44px; padding: 0 20px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; background: rgba(246,241,231,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav.is-solid .nav__burger { background: var(--jungle); color: var(--cream); }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 22.5px; transform: rotate(-45deg); }
.menu-open .nav { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .nav__burger { background: var(--lime); color: var(--jungle); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--jungle); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 46px) 38px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 12vw, 72px); line-height: 1.12;
  display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line-light); padding: 6px 0;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu nav a:hover { color: var(--lime); }
.mobile-menu nav a small { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--lime); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .18s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .24s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .30s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .36s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .42s; }
.mobile-menu__foot { font-size: 14px; color: rgba(246,241,231,.75); }
.mobile-menu__foot p { margin-bottom: 4px; }
.mobile-menu__foot > a { font-size: 20px; color: var(--cream); font-weight: 600; }
.socials { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.socials a { font-weight: 700; color: var(--lime); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; background: var(--jungle);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 60%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 22, 15, .55) 0%, rgba(8, 22, 15, 0) 26%),
    linear-gradient(0deg, rgba(8, 22, 15, .88) 0%, rgba(8, 22, 15, .35) 42%, rgba(8, 22, 15, 0) 70%),
    radial-gradient(120% 80% at 0% 100%, rgba(13, 36, 25, .55), transparent 60%);
}
.hero__content { position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter) clamp(84px, 12vh, 130px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; color: var(--lime); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(210,243,107,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(210,243,107,0); } 100% { box-shadow: 0 0 0 0 rgba(210,243,107,0); } }
.hero__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 14.5vw, 232px);
  line-height: .86; letter-spacing: -.045em; margin: 0 0 22px; font-variation-settings: "opsz" 144;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line--italic { font-style: italic; color: var(--lime); padding-left: .55em; }
.hero__title .ch { display: inline-block; will-change: transform; }
.hero__sub { font-size: clamp(16px, 1.6vw, 21px); max-width: 520px; color: rgba(246,241,231,.9); margin-bottom: 30px; }
.hero__sub em { font-family: var(--serif); font-size: 1.15em; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badge {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(84px, 12vh, 130px);
  width: clamp(120px, 12vw, 168px); aspect-ratio: 1; display: grid; place-items: center; color: var(--cream);
  border-radius: 50%; background: rgba(8, 22, 15, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { font-family: var(--sans); font-size: 13.5px; font-weight: 700; letter-spacing: .24em; fill: currentColor; }
.hero__badge-leaf { width: 48%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: var(--jungle); display: grid; place-items: center; transition: transform .6s var(--ease); }
.hero__badge-leaf svg { width: 46%; }
.hero__badge:hover .hero__badge-leaf { transform: scale(1.12) rotate(-25deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(246,241,231,.7); }
.hero__scroll i { width: 1px; height: 38px; background: rgba(246,241,231,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--lime); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--jungle); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(13,36,25,.1); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marquee 34s linear infinite; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 48px); font-weight: 300; font-style: italic; white-space: nowrap; line-height: 1; }
.marquee__track i { font-style: normal; font-size: 20px; color: var(--leaf); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.story { padding: clamp(90px, 13vw, 180px) 0 clamp(70px, 10vw, 140px); background: var(--paper); overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.story__text .display { margin-bottom: 30px; }
.story__lead { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; font-weight: 300; margin-bottom: 26px; color: var(--jungle); }
.story__text > p:not(.eyebrow):not(.story__lead) { color: var(--muted); font-size: 17px; max-width: 520px; }
.story__ctas { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.story__media { position: relative; min-height: clamp(420px, 52vw, 680px); }
.story__img { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius-lg); }
.story__img img { width: 100%; height: 118%; object-fit: cover; }
.story__img--main { inset: 0 0 14% 12%; }
.story__img--small { width: 38%; aspect-ratio: 3/4; left: 0; bottom: 0; border: 8px solid var(--paper); border-radius: 26px; }
.story__stamp { position: absolute; top: -34px; right: -20px; width: clamp(100px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--cream); padding: 8px; box-shadow: 0 20px 40px rgba(13,36,25,.18); z-index: 2; animation: spin 26s linear infinite; }

.statement { margin-top: clamp(90px, 12vw, 170px); }
.statement__text {
  font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4.2vw, 62px); line-height: 1.12;
  letter-spacing: -.02em; max-width: 1180px; color: var(--jungle);
}
.statement__text .w { display: inline; transition: none; }
html.anim .statement__text .w { opacity: .14; }

/* ---------- Signatures ---------- */
.sig { background: var(--jungle); color: var(--cream); position: relative; overflow: hidden; }
.sig__pin { padding: clamp(80px, 10vw, 120px) 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 5vw, 60px); }
.sig__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sig__head .eyebrow { width: 100%; margin-bottom: -6px; }
.sig__hint { margin: 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246,241,231,.6); }
.only-touch { display: none; }
.sig__track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.sig__card {
  position: relative; flex: 0 0 auto; width: clamp(280px, 26vw, 380px); aspect-ratio: 3 / 4.3;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--jungle-2);
}
.sig__card figure { margin: 0; position: absolute; inset: 0; }
.sig__card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.sig__card:hover img { transform: scale(1.12); }
.sig__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,22,15,.92) 0%, rgba(8,22,15,.25) 45%, rgba(8,22,15,0) 70%); }
.sig__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
.sig__num { grid-column: 1 / -1; font-size: 12px; letter-spacing: .2em; color: var(--lime); margin-bottom: 8px; }
.sig__meta h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; font-weight: 400; }
html:not(.anim) .sig__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; }
html:not(.anim) .sig__card { scroll-snap-align: start; }
.sig__meta h3 { grid-column: 1; grid-row: 2; }
.sig__meta b { grid-column: 2; grid-row: 2; align-self: start; font-weight: 700; background: var(--lime); color: var(--jungle); padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.sig__meta p { grid-column: 1 / -1; margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: rgba(246,241,231,.78); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s var(--ease); }
.sig__card:hover .sig__meta p, .sig__card:focus-within .sig__meta p { max-height: 120px; opacity: 1; }
.sig__card--end { display: flex; flex-direction: column; justify-content: space-between; padding: 34px; background: var(--lime); color: var(--jungle); }
.sig__card--end::after { display: none; }
.sig__card--end span { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 50px); line-height: 1; font-weight: 300; }
.sig__card--end i { font-style: normal; font-size: 64px; align-self: flex-end; transition: transform .6s var(--ease); }
.sig__card--end:hover i { transform: translateX(10px) rotate(-30deg); }

/* ---------- Ethos (stacked cards) ---------- */
.ethos { background: var(--cream); padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); }
.ethos__head { margin-bottom: clamp(40px, 6vw, 80px); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack__card {
  position: sticky; top: calc(84px + var(--i, 0) * 18px);
  display: grid; grid-template-columns: 1.1fr .9fr; min-height: clamp(380px, 46vw, 540px);
  border-radius: var(--radius-lg); overflow: hidden; transform-origin: 50% 0;
  box-shadow: 0 -10px 40px rgba(13,36,25,.08);
}
.stack__card:nth-child(1) { --i: 0; } .stack__card:nth-child(2) { --i: 1; } .stack__card:nth-child(3) { --i: 2; } .stack__card:nth-child(4) { --i: 3; }
.stack__text { padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.stack__num { font-family: var(--serif); font-size: clamp(60px, 8vw, 120px); line-height: .9; font-weight: 300; font-style: italic; margin-bottom: auto; opacity: .9; }
.stack__text h3 { font-family: var(--serif); font-size: clamp(28px, 3.3vw, 48px); line-height: 1.04; letter-spacing: -.015em; margin: 20px 0 14px; max-width: 14ch; }
.stack__text p { max-width: 44ch; opacity: .82; margin-bottom: 20px; }
.stack__text .link-arrow { align-self: flex-start; }
.stack__card figure { margin: 0; position: relative; overflow: hidden; }
.stack__card figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack__card--lime { background: var(--lime); color: var(--jungle); }
.stack__card--cream { background: var(--paper); color: var(--jungle); box-shadow: inset 0 0 0 1px var(--line), 0 -10px 40px rgba(13,36,25,.08); }
.stack__card--orchid { background: var(--orchid); color: #fff; }
.stack__card--jungle { background: var(--jungle); color: var(--cream); }
.stack__card--jungle .stack__num { color: var(--lime); }

/* ---------- Menu ---------- */
.menu { background: var(--paper); padding: clamp(90px, 12vw, 160px) 0 clamp(80px, 10vw, 130px); }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 50px); }
.toggle { position: relative; display: inline-flex; padding: 6px; border-radius: 999px; background: var(--sand); }
.toggle__btn { position: relative; z-index: 2; min-width: 120px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .03em; transition: color .5s var(--ease); }
.toggle__btn.is-active { color: var(--cream); }
.toggle__pill { position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 6px; width: 120px; border-radius: 999px; background: var(--jungle); transition: transform .6s var(--ease), width .6s var(--ease); }

.menu-mode { display: block; }
html.js .menu-mode:not(.is-active) { display: none; }
.chips {
  position: sticky; top: 66px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 14px var(--gutter); margin: 0 calc(var(--gutter) * -1) clamp(26px, 3vw, 40px);
  background: rgba(251, 248, 242, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
}
.chips::-webkit-scrollbar { display: none; }
.chips { transition: top .6s var(--ease); }
html.nav-hidden .chips { top: 0; }
@media (min-width: 1101px) { .chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
.chip {
  flex: 0 0 auto; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); transition: background .35s, color .35s, box-shadow .35s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--jungle); }
.chip.is-active { background: var(--jungle); color: var(--lime); box-shadow: none; }
html.js .cat:not(.is-active) { display: none; }
.cat + .cat { margin-top: 70px; }
html.js .cat + .cat { margin-top: 0; }
.cat__head { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: baseline; margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.cat__num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: clamp(44px, 5vw, 72px); line-height: .9; color: var(--papaya); font-weight: 300; }
.cat__head h3 { font-family: var(--serif); font-size: clamp(32px, 4vw, 58px); line-height: 1; letter-spacing: -.02em; font-weight: 300; }
.cat__head p { margin: 10px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.grp + .grp { margin-top: 56px; }
.grp__title { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--leaf); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.grp__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.cards + .rows { margin-top: 36px; }
.dish--card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(13,36,25,.35); transition: transform .6s var(--ease), box-shadow .6s var(--ease); display: flex; flex-direction: column; }
.dish--card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(13,36,25,.45); }
.dish__img { margin: 0; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sand); }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dish--card:hover .dish__img img { transform: scale(1.06); }
.dish__body { padding: 20px 22px 24px; }
.dish__top { display: flex; align-items: baseline; gap: 12px; }
.dish h5 { font-family: var(--serif); font-size: 21px; line-height: 1.15; font-weight: 400; letter-spacing: -.005em; }
.dish--card .dish__top h5 { flex: 1; }
.price { flex: 0 0 auto; font-weight: 700; font-size: 15px; color: var(--jungle); font-variant-numeric: tabular-nums; }
.dish--card .price { background: var(--lime); padding: 2px 11px; border-radius: 999px; font-size: 14px; }
.dish p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.rows { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(30px, 5vw, 80px); }
.dish--row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.dish--row .dots { flex: 1; border-bottom: 1.5px dotted rgba(15,23,18,.25); transform: translateY(-5px); min-width: 20px; }
.dish--row h5 { font-size: 20px; }
.rows--compact .dish--row { padding: 14px 0; }
.rows--compact .dish--row h5 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.extras { list-style: none; padding: 18px 22px; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px; background: var(--cream); border-radius: 16px; font-size: 14px; }
.extras li { display: flex; gap: 8px; }
.extras b { color: var(--leaf); }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); padding: 18px 22px; border-left: 3px solid var(--lime); background: var(--cream); border-radius: 0 16px 16px 0; }
.menu__foot { margin-top: 50px; text-align: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { background: var(--jungle); color: var(--cream); padding: clamp(90px, 12vw, 160px) 0; }
.gallery__head { margin-bottom: clamp(40px, 5vw, 70px); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 240px); grid-auto-flow: dense; gap: clamp(10px, 1.2vw, 16px); }
.g { position: relative; overflow: hidden; border-radius: 20px; background: var(--jungle-2); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g:hover img { transform: scale(1.07); }
.gallery__foot { margin-top: 50px; display: flex; justify-content: center; }

/* ---------- Reviews ---------- */
.reviews { background: var(--lime); color: var(--jungle); padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.reviews__inner { max-width: 900px; }
.reviews__stars { font-size: 28px; letter-spacing: .3em; color: var(--jungle); margin-bottom: 18px; }
.reviews .display { margin-bottom: 26px; }
.reviews .display em { color: var(--jungle); }
.reviews p { font-size: 18px; max-width: 560px; margin: 0 auto 34px; }
.reviews__ctas { display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ---------- Visit ---------- */
.visit { background: var(--paper); padding: clamp(90px, 12vw, 160px) 0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.visit .display { margin-bottom: 26px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: var(--cream); font-weight: 700; font-size: 14px; margin-bottom: 34px; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status.is-open .status__dot { background: #3ccf6e; box-shadow: 0 0 0 0 rgba(60,207,110,.6); animation: pulse-g 2s infinite; }
.status.is-closed .status__dot { background: var(--papaya); }
@keyframes pulse-g { 70% { box-shadow: 0 0 0 10px rgba(60,207,110,0); } 100% { box-shadow: 0 0 0 0 rgba(60,207,110,0); } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; margin: 0 0 40px; }
.facts dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--leaf); font-weight: 700; margin-bottom: 8px; }
.facts dd { margin: 0; font-size: 17px; line-height: 1.5; }
.facts dd strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.facts a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.facts a:hover { border-color: var(--papaya); }
.visit__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.visit__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--sand); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--jungle); color: var(--cream); padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; opacity: .22; }
.contact__bg img { width: 100%; height: 120%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--jungle) 20%, rgba(13,36,25,.6)); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact__text .display { margin-bottom: 26px; }
.contact__text > p { color: rgba(246,241,231,.82); font-size: 18px; max-width: 440px; }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; }
.contact__list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.contact__list span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.contact__list a { font-weight: 600; }
.contact__list a:hover { color: var(--lime); }
.book {
  background: rgba(246, 241, 231, .06); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 44px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.book h3 { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 38px); font-weight: 300; margin-bottom: 24px; }
.book__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: rgba(246,241,231,.7); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-light);
  background: rgba(8, 22, 15, .45); color: var(--cream); font-size: 16px; outline: none; transition: border-color .3s, background .3s;
  -webkit-appearance: none; appearance: none; color-scheme: dark;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(135deg, var(--lime) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(246,241,231,.4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); background: rgba(8, 22, 15, .7); }
.field.is-invalid input { border-color: var(--papaya); }
.book__error { color: var(--papaya); font-weight: 600; font-size: 14px; }
.book__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(246,241,231,.8); padding: clamp(60px, 8vw, 100px) 0 30px; overflow: hidden; }
.footer .footer__big { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(80px, 22vw, 340px); line-height: .8; letter-spacing: -.05em; color: var(--lime); margin: 0 0 clamp(40px, 6vw, 80px); white-space: nowrap; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer__logo { width: 96px; height: 96px; border-radius: 50%; background: var(--cream); padding: 4px; }
.footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); font-weight: 700; margin-bottom: 14px; }
.footer p { font-size: 15px; line-height: 1.9; }
.footer a:hover { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }
.footer__bottom p { margin: 0; }

/* ---------- FAB ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: none; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .4s var(--ease), opacity .4s; }
.fab svg { width: 30px; height: 30px; }
.fab.is-hidden { transform: scale(.4); opacity: 0; pointer-events: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8, 18, 12, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.lightbox__fig { margin: 0; max-width: min(92vw, 1400px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__fig img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 16px; object-fit: contain; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox__fig img { transform: none; }
.lightbox__fig figcaption { color: rgba(246,241,231,.75); font-size: 14px; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(246,241,231,.1); color: var(--cream); font-size: 20px; display: grid; place-items: center; transition: background .3s, color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--lime); color: var(--jungle); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; background: rgba(127,127,127,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s; }
.lang__btn:hover { background: rgba(127,127,127,.24); }
.lang__btn svg { width: 17px; height: 17px; }
.lang__list {
  list-style: none; margin: 0; padding: 8px; position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px;
  background: var(--paper); color: var(--jungle); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(13,36,25,.45), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.lang__list button { width: 100%; display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; font-size: 15px; text-align: left; transition: background .25s; }
.lang__list button:hover { background: var(--cream); }
.lang__list button b { font-size: 11px; letter-spacing: .1em; width: 26px; color: var(--leaf); }
.lang__list button[aria-checked="true"] { background: var(--jungle); color: var(--cream); }
.lang__list button[aria-checked="true"] b { color: var(--lime); }
.lang-inline { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(246,241,231,.08); margin-bottom: 18px; }
.lang-inline button { min-width: 48px; height: 38px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--cream); }
.lang-inline button.is-active { background: var(--lime); color: var(--jungle); }
.menu__lang-note { font-size: 13px; color: var(--muted); margin: -10px 0 20px; font-style: italic; }
html[lang="en"] .menu__lang-note { display: none; }

/* Script-specific tuning (Thai has tall marks, Cyrillic is wider) */
html[lang="th"] .hero__title { line-height: 1.12; letter-spacing: -.01em; font-size: clamp(54px, 11vw, 170px); }
html[lang="th"] .display { line-height: 1.22; letter-spacing: 0; }
html[lang="th"] .statement__text, html[lang="th"] .stack__text h3, html[lang="th"] .cat__head h3 { line-height: 1.35; letter-spacing: 0; }
html[lang="th"] .footer .footer__big { line-height: 1.15; letter-spacing: 0; font-size: clamp(64px, 16vw, 240px); }
html[lang="th"] body { line-height: 1.75; }
html[lang="th"] :is(.eyebrow, .hero__eyebrow, .grp__title, .cat__head p, .facts dt, .field span, .contact__list span, .footer h4, .sig__hint, .menu__foot, .hero__scroll) { letter-spacing: .02em; }
html[lang="ru"] .hero__title { font-size: clamp(50px, 11.2vw, 180px); letter-spacing: -.03em; line-height: .95; }
html[lang="ru"] .footer .footer__big { font-size: clamp(64px, 16vw, 250px); }
html[lang="ru"] .display { font-size: clamp(36px, 5.6vw, 86px); }

/* ---------- Initial animation states (only when JS + motion allowed) ---------- */
html.anim [data-reveal], html.anim [data-reveal-item] { opacity: 0; transform: translateY(40px); }
html.anim [data-hero-fade] { opacity: 0; transform: translateY(24px); }
html.anim [data-clip] { clip-path: inset(12% 8% 12% 8% round 34px); }
html.anim .hero__title .ch { transform: translateY(110%); }
html.anim.intro-done .hero__title .ch { transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__cta { display: none; }
  .story__grid, .visit__grid, .contact__grid { grid-template-columns: 1fr; }
  .story__media { min-height: 0; aspect-ratio: 1 / 1.05; margin-top: 10px; }
  .story__stamp { top: -24px; right: 4px; }
  .stack__card { grid-template-columns: 1fr; grid-template-rows: auto 220px; min-height: 0; top: calc(78px + var(--i, 0) * 12px); }
  .stack__card figure { order: 2; }
  .stack__num { font-size: 54px; margin-bottom: 10px; }
  .stack__text h3 { margin-top: 6px; max-width: none; }
  .rows { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .visit__map { min-height: 360px; }
  .fab { display: grid; }

  /* Signatures become a native swipe carousel */
  .sig__pin { min-height: 0; }
  .sig__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; scroll-padding-inline: var(--gutter); }
  .sig__track::-webkit-scrollbar { display: none; }
  .sig__card { scroll-snap-align: start; width: 74vw; max-width: 340px; }
  .sig__meta p { max-height: none; opacity: 1; }
  .only-desktop { display: none; } .only-touch { display: inline; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .nav { gap: 10px; }
  .nav__logo { font-size: 19px; gap: 9px; }
  .nav__logo img { width: 40px; height: 40px; }
  .lang__btn { padding: 0 12px; }
  .hero { min-height: 560px; }
  .hero__title { font-size: clamp(60px, 19vw, 110px); }
  .hero__title .line--italic { padding-left: .3em; }
  .hero__content { padding-bottom: 96px; }
  .hero__badge { width: 104px; right: 12px; bottom: auto; top: calc(var(--nav-h) + 18px); }
  .hero__badge text { font-size: 15px; }
  .hero__ctas .btn { flex: 1; }
  .hero__scroll { display: none; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .dish--card { flex-direction: row; align-items: stretch; border-radius: 18px; }
  .dish--card .dish__img { flex: 0 0 108px; aspect-ratio: auto; min-height: 118px; }
  .dish--card .dish__body { padding: 14px 14px 14px 16px; flex: 1; min-width: 0; }
  .dish--card .dish__top { flex-direction: column; gap: 6px; }
  .dish--card h5 { font-size: 18px; }
  .dish--card p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; }
  .dish--card.is-expanded p { -webkit-line-clamp: unset; display: block; }
  .toggle { width: 100%; }
  .toggle__btn { flex: 1; min-width: 0; }
  .menu__head { align-items: stretch; }
  .facts { grid-template-columns: 1fr; gap: 22px; }
  .book__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .gallery__grid { grid-auto-rows: 46vw; }
  .g--wide { grid-column: span 2; }
  .story__img--small { width: 44%; border-width: 6px; }
  .cat__head { column-gap: 14px; }
  .contact__list li { flex-direction: column; gap: 4px; }
  .book__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
