/* ============================================================
   HOMJAN / หอมจันทร์ — Thai Premium White Spirit
   Cinematic editorial system — midnight navy + gold
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Light (ivory) register */
  --ivory:        #F5F0E5;
  --ivory-2:      #EFE8D8;
  --cream:        #EBE2D0;
  --paper-deep:   #E2D7BE;

  /* Dark (midnight) register — drawn from the key art */
  --midnight:     #0B1A30;
  --midnight-2:   #071224;
  --midnight-3:   #112540;
  --night-line:   rgba(213,178,98,0.20);

  /* Ink */
  --ink:          #1C1A17;
  --ink-soft:     #574F43;
  --ink-mute:     #8B8071;
  --on-dark:      #EAE2D2;
  --on-dark-soft: #B7AC92;
  --on-dark-mute: #7E886F;

  /* Accents */
  --gold:         #BC9844;
  --gold-bright:  #E4CB84;
  --gold-deep:    #93722C;
  --moon:         #E6C56B;
  --oxblood:      #8A2E22;
  --herb:         #5E6B45;

  /* Lines */
  --line:         #DACDAD;
  --line-soft:    #E5DBC3;

  /* Type */
  --serif:  "Cormorant Garamond", "Noto Serif Thai", Georgia, serif;
  --sans:   "Hanken Grotesk", "Noto Sans Thai", system-ui, sans-serif;
  --thai-serif: "Noto Serif Thai", "Cormorant Garamond", serif;

  /* Rhythm */
  --gutter: clamp(22px, 5vw, 92px);
  --maxw: 1280px;
  --sec-y: clamp(60px, 8.5vw, 128px);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #0B1A30; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 1em;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: currentColor; opacity: 0.7;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1.display { font-size: clamp(48px, 8.5vw, 120px); }
h2.display { font-size: clamp(38px, 5.6vw, 80px); }
h3.display { font-size: clamp(28px, 3.4vw, 46px); }
.display em { font-style: italic; color: var(--gold-deep); }
.thai { font-family: var(--thai-serif); font-weight: 500; }

.lede {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 54ch;
  text-wrap: pretty;
}
p { text-wrap: pretty; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--sec-y); z-index: 2; }
.section.dark { background: var(--midnight); color: var(--on-dark); }
.section.cream { background: var(--cream); }
.section.tight { padding-block: clamp(48px, 6.5vw, 96px); }
.dark .eyebrow { color: var(--gold-bright); }
.dark .lede { color: var(--on-dark-soft); }
.dark .display em { color: var(--gold-bright); }

.sec-head { max-width: 62ch; }
.sec-head .display { margin-top: 24px; }
.sec-head .lede { margin-top: 24px; }
.center { text-align: center; margin-inline: auto; }

/* Ornament divider (Thai-inspired) */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; color: var(--gold);
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: min(120px, 18vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 26px; height: 26px; flex: none; }

/* Section flourish — small centered lotus rule */
.flourish { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold); margin-bottom: 26px; }
.flourish span { height: 1px; width: clamp(40px, 10vw, 90px); background: linear-gradient(90deg, transparent, var(--gold)); }
.flourish span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.flourish svg { width: 20px; height: 20px; flex: none; opacity: 0.9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 18px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--gold-deep); color: #fff; }
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #1c1305; box-shadow: 0 14px 34px -16px rgba(196,160,80,0.7); }
.btn-gold:hover { box-shadow: 0 18px 40px -14px rgba(196,160,80,0.85); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.dark .btn-outline { border-color: rgba(228,203,132,0.5); color: var(--on-dark); }
.dark .btn-outline:hover { background: var(--gold); border-color: var(--gold); color: #1c1305; }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   AGE GATE
   ============================================================ */
.agegate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--midnight-2);
  padding: 28px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.agegate.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.agegate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 14%, rgba(230,197,107,0.16), transparent 60%);
}
.agegate-card {
  position: relative; z-index: 1;
  max-width: 540px; width: 100%; text-align: center;
  color: var(--on-dark);
}
.agegate-card .gate-mark { width: 230px; margin: 0 auto 32px; opacity: 0.98; }
.agegate-card .eyebrow { color: var(--gold-bright); justify-content: center; }
.agegate-card h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 6vw, 54px); line-height: 1.05;
  margin: 22px 0 0;
}
.agegate-card .thai-sub { font-family: var(--thai-serif); color: var(--gold-bright); font-size: 24px; margin-top: 12px; }
.agegate-card p.note { color: var(--on-dark-soft); font-size: 15px; max-width: 42ch; margin: 24px auto 0; }
.gate-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.gate-rule { width: 54px; height: 1px; background: var(--night-line); margin: 32px auto 0; }
.gate-legal { color: var(--on-dark-mute); font-size: 12.5px; letter-spacing: 0.05em; margin-top: 22px; }
.gate-exit { margin-top: 26px; font-size: 14px; color: var(--on-dark-soft); }
.gate-exit strong { color: var(--gold-bright); font-weight: 500; }

/* ============================================================
   NAV  (theme-aware: light over hero, solid when scrolled)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 26px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s var(--ease);
}
.nav-logo img { height: 46px; width: auto; transition: height .4s var(--ease); filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark); position: relative; padding: 4px 0; transition: color .4s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0;
  background: var(--gold-bright); transition: width .4s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 13px 26px; }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid rgba(228,203,132,0.45); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px); }
.lang-switch button {
  border: none; background: transparent; color: var(--on-dark-soft);
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em;
  padding: 9px 13px; min-width: 44px; line-height: 1; transition: background .3s var(--ease), color .3s var(--ease);
}
.lang-switch button + button { border-left: 1px solid rgba(228,203,132,0.3); }
.lang-switch button.on { background: var(--gold); color: #1c1305; }
.lang-switch button:not(.on):hover { color: var(--on-dark); }
.nav.scrolled .lang-switch { border-color: var(--line); }
.nav.scrolled .lang-switch button { color: var(--ink-soft); }
.nav.scrolled .lang-switch button + button { border-left-color: var(--line-soft); }
.nav.scrolled .lang-switch button.on { background: var(--ink); color: var(--ivory); }
.mm-lang { border-color: var(--night-line); }
.mm-lang button { padding: 13px 18px; font-size: 13px; }

/* over-hero state (default at top) */
.nav .btn-primary { background: rgba(255,255,255,0.08); color: var(--on-dark); border: 1px solid rgba(228,203,132,0.45); backdrop-filter: blur(6px); }
.nav .btn-primary:hover { background: var(--gold); color: #1c1305; border-color: var(--gold); }

/* scrolled state — solid ivory */
.nav.scrolled { background: rgba(245,240,229,0.9); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line-soft); }
.nav.scrolled .nav-inner { padding-block: 16px; }
.nav.scrolled .nav-logo img { height: 38px; filter: none; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav.scrolled .nav-links a::after { background: var(--gold); }
.nav.scrolled .btn-primary { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.nav.scrolled .btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.nav.scrolled .nav-burger { border-color: var(--line); }
.nav.scrolled .nav-burger span, .nav.scrolled .nav-burger span::before, .nav.scrolled .nav-burger span::after { background: var(--ink); }
.nav.hidden-up { transform: translateY(-100%); }

.nav-burger {
  display: none; width: 46px; height: 46px;
  border: 1px solid rgba(228,203,132,0.5); border-radius: var(--radius);
  background: transparent; align-items: center; justify-content: center;
}
.nav-burger span { display: block; width: 19px; height: 1.5px; background: var(--on-dark); position: relative; transition: .3s var(--ease); }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--on-dark); transition: .3s var(--ease);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 890;
  background: var(--midnight-2); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform .6s var(--ease);
}
body.menu-open .mobile-menu { transform: none; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(30px, 9vw, 48px); font-weight: 400;
  padding: 11px 0; border-bottom: 1px solid var(--night-line); color: var(--on-dark);
  display: flex; align-items: baseline; gap: 16px;
}
.mobile-menu a .mnum { font-family: var(--sans); font-size: 12px; color: var(--gold-bright); letter-spacing: 0.2em; }
.mobile-menu .mm-foot { margin-top: 40px; display: flex; gap: 14px; }

/* ============================================================
   HERO — cinematic full-bleed banner
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 0 0 clamp(48px, 7vw, 96px); overflow: hidden;
  background: var(--midnight-2);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,18,36,0.62) 0%, rgba(7,18,36,0.12) 26%, rgba(7,18,36,0.32) 62%, rgba(7,18,36,0.94) 100%),
    linear-gradient(95deg, rgba(7,18,36,0.86) 0%, rgba(7,18,36,0.42) 46%, rgba(7,18,36,0) 72%);
}
.hero-wrap { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: var(--gold-bright); }
.hero-lockup { display: block; margin: 22px 0 0; }
.hero-lockup img { height: clamp(78px, 12vw, 150px); width: auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,0.5)); }
.hero-thai { font-family: var(--thai-serif); color: var(--gold-bright); font-weight: 500; font-size: clamp(24px, 3.4vw, 40px); margin: 14px 0 0; letter-spacing: 0.04em; }
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 3.4vw, 40px);
  color: var(--on-dark); margin: 26px 0 0; line-height: 1.18;
}
.hero-lede { color: var(--on-dark-soft); margin-top: 22px; max-width: 50ch; font-size: clamp(16px, 1.7vw, 19px); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 13px; color: var(--on-dark-soft); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.hero-scroll .line { width: 52px; height: 1px; background: rgba(228,203,132,0.35); position: relative; overflow: hidden; }
.hero-scroll .line::after { content:""; position:absolute; inset:0; background: var(--gold-bright); animation: scrollline 2.6s var(--ease) infinite; }
@keyframes scrollline { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }
@media (prefers-reduced-motion: reduce){ .hero-scroll .line::after{ animation:none } }

/* Hero variant: editorial (text-forward, smaller art focus) */
[data-hero="editorial"] .hero { align-items: center; }
[data-hero="editorial"] .hero-media img { object-position: 80% center; }
[data-hero="editorial"] .hero-media::after {
  background:
    linear-gradient(180deg, rgba(7,18,36,0.5), rgba(7,18,36,0.5)),
    linear-gradient(95deg, rgba(7,18,36,0.92) 0%, rgba(7,18,36,0.55) 55%, rgba(7,18,36,0.1) 100%);
}

/* ============================================================
   MARQUEE / SPEC BAND
   ============================================================ */
.band { background: var(--midnight-2); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item { padding: 38px var(--gutter); text-align: center; border-left: 1px solid var(--night-line); }
.band-item:first-child { border-left: none; }
.band-item .k { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 48px); color: var(--on-dark); line-height: 1; }
.band-item .k em { font-style: italic; color: var(--gold-bright); font-size: 0.66em; }
.band-item .l { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: 12px; }

/* ============================================================
   BOTTLE FOCUS
   ============================================================ */
.bottle-sec { background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); overflow: hidden; }
.bottle-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.bottle-stage { position: relative; display: grid; place-items: center; min-height: 60vh; }
.bottle-stage .halo {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,251,240,0.95), rgba(245,240,229,0) 64%);
  z-index: 0;
}
.bottle-stage .ring { position: absolute; width: min(70%, 440px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; z-index: 0; }
.bottle-stage img.bottle { position: relative; z-index: 2; max-height: 80vh; width: auto; filter: drop-shadow(0 50px 60px rgba(40,30,15,0.26)); }
.bottle-stage .seal {
  position: absolute; z-index: 3; right: 4%; bottom: 10%;
  width: clamp(104px, 12vw, 138px); height: clamp(104px, 12vw, 138px);
  display: grid; place-items: center; text-align: center;
  border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(245,240,229,0.78); backdrop-filter: blur(3px);
  color: var(--gold-deep);
}
.bottle-stage .seal b { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; color: var(--ink); }
.bottle-stage .seal span { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 5px; }
.bottle-copy .display { margin-top: 24px; }
.bottle-copy .lede { margin-top: 22px; }
.spec { margin-top: 36px; border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.spec-row dt { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); }
.spec-row dd { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); color: var(--ink); text-align: right; }
.spec-row dd small { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }
.tasting { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 28px; }
.tasting span { font-size: 13px; letter-spacing: 0.05em; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; }
.tasting span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex: none; }

/* ============================================================
   LEGEND (dark, poster art)
   ============================================================ */
.legend-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.legend-art {
  position: relative; padding: 14px;
  background: linear-gradient(160deg, rgba(228,203,132,0.1), rgba(228,203,132,0.02));
  border: 1px solid var(--night-line);
}
.legend-art img { width: 100%; display: block; }
.legend-art .frameline { position: absolute; inset: 24px; border: 1px solid var(--night-line); pointer-events: none; z-index: 2; }
.legend-art figcaption { margin-top: 16px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-mute); text-align: center; }
.legend-copy .display { margin-top: 24px; }
.legend-copy .pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(23px, 2.7vw, 32px);
  line-height: 1.38; color: var(--gold-bright); margin: 30px 0; padding-left: 26px;
  border-left: 2px solid var(--gold-deep);
}
.legend-copy p { color: var(--on-dark-soft); }
.legend-copy p + p { margin-top: 20px; }
.dropcap::first-letter {
  font-family: var(--serif); float: left; font-size: 4.6em; line-height: 0.76;
  padding: 6px 14px 0 0; color: var(--gold-bright); font-weight: 500;
}

/* ============================================================
   HERBS — editorial index (no cards)
   ============================================================ */
.herb-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.herb-index { margin-top: 56px; border-top: 1px solid var(--line); }
.herb-row {
  display: grid; grid-template-columns: 30px 42px 1.05fr 1.4fr; gap: clamp(14px, 2.6vw, 44px);
  align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-soft);
  transition: background .4s var(--ease);
}
.herb-row:hover { background: rgba(188,152,68,0.05); }
.herb-row .h-ico { width: 27px; height: 27px; color: var(--gold-deep); flex: none; }
.herb-row .h-num { font-family: var(--serif); font-size: 18px; color: var(--gold-deep); }
.herb-row .h-name { display: flex; flex-direction: column; gap: 3px; }
.herb-row .h-name b { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); }
.herb-row .h-name .thai-name { font-family: var(--thai-serif); font-size: 15px; color: var(--gold-deep); }
.herb-row .h-note { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.herb-coda { margin-top: 34px; display: flex; align-items: center; gap: 14px; color: var(--ink-mute); font-size: 14px; }
.herb-coda::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

/* ============================================================
   CRAFT — editorial numbered list
   ============================================================ */
.craft-list { margin-top: 56px; }
.craft-item {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 64px);
  align-items: start; padding: 40px 0; border-top: 1px solid var(--line);
}
.craft-item:last-child { border-bottom: 1px solid var(--line); }
.craft-item .c-num { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); color: var(--gold); line-height: 0.8; }
.craft-item .c-body { max-width: 64ch; }
.craft-item .c-ico { width: 34px; height: 34px; color: var(--gold-deep); display: block; margin-bottom: 16px; }
.craft-item h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); margin: 0; color: var(--ink); }
.craft-item p { font-size: 16px; color: var(--ink-soft); margin: 12px 0 0; }

/* ============================================================
   TASTE PROFILE (dark)
   ============================================================ */
.taste-grid { display: grid; grid-template-columns: 0.84fr 1.16fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.taste-figure { position: relative; }
.taste-figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); }
.taste-figure .tf-frame { position: absolute; inset: 16px; border: 1px solid var(--night-line); pointer-events: none; }
.taste-rows { margin-top: 18px; }
.taste-row { padding: 30px 0; border-bottom: 1px solid var(--night-line); display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: baseline; }
.taste-row:first-child { border-top: 1px solid var(--night-line); }
.taste-row .tr-label { font-family: var(--serif); font-style: italic; font-size: clamp(25px, 2.7vw, 34px); color: var(--gold-bright); }
.taste-row .tr-body p { color: var(--on-dark-soft); margin: 0; }
.taste-row .tr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.taste-row .tr-tags span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); border: 1px solid var(--night-line); padding: 6px 13px; border-radius: 100px; }
.taste-quote { margin-top: 38px; font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.4vw, 28px); color: var(--on-dark); line-height: 1.4; }

/* ============================================================
   SERVE — editorial menu
   ============================================================ */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); margin-top: 60px; }
.serve-col { display: flex; flex-direction: column; }
.serve-col .sc-mode { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.serve-col h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); margin: 14px 0 0; color: var(--ink); }
.serve-col .sc-desc { font-size: 15px; color: var(--ink-soft); margin: 14px 0 26px; }
.serve-menu { border-top: 1px solid var(--line); margin-top: auto; padding-top: 22px; }
.serve-menu .sm-title { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.serve-menu .sm-item { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 0; }
.serve-menu .sm-item:not(:last-child) { border-bottom: 1px dotted var(--line); }
.serve-menu .sm-item .sm-name { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.serve-menu .sm-item .sm-meta { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.05em; }

/* ============================================================
   VENUE PARTNERSHIP (cinematic)
   ============================================================ */
.venue { position: relative; overflow: hidden; }
.venue-bg { position: absolute; inset: 0; z-index: 0; }
.venue-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.venue-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,18,36,0.96) 0%, rgba(7,18,36,0.86) 40%, rgba(7,18,36,0.5) 100%); }
.venue .wrap { position: relative; z-index: 2; }
.venue-copy { max-width: 680px; }
.venue-copy .display { margin-top: 24px; }
.venue-copy .lede { margin-top: 24px; color: var(--on-dark-soft); }
.venue-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px; margin-top: 36px; max-width: 540px; }
.venue-points span { font-size: 14px; color: var(--on-dark); display: flex; align-items: center; gap: 12px; letter-spacing: 0.02em; }
.venue-points span::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--gold-bright); transform: rotate(45deg); flex: none; }
.venue-terms { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--night-line); }
.venue-term .vt-k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); }
.venue-term .vt-v { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); color: var(--on-dark); margin-top: 4px; }
.venue-term .vt-v small { font-family: var(--sans); font-size: 12px; color: var(--on-dark-mute); letter-spacing: 0.04em; }
.venue-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   SLIDESHOW (Brand world & events)
   ============================================================ */
.slideshow-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.ss-controls { display: flex; gap: 10px; flex: none; }
.ss-btn { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--ink); transition: .3s var(--ease); }
.ss-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.ss-btn svg { width: 20px; height: 20px; }
.ss-btn[disabled] { opacity: 0.32; pointer-events: none; }
.slideshow { margin-top: 44px; position: relative; }
.ss-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 6px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.ss-track::-webkit-scrollbar { display: none; }
.ss-slide {
  flex: 0 0 auto; width: clamp(260px, 34vw, 360px); margin: 0; scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.ss-slide > img, .ss-slide .ss-img, .ss-slide image-slot {
  width: 100%; height: clamp(300px, 42vw, 440px); object-fit: cover; border-radius: var(--radius);
  background: var(--paper-deep); display: block;
}
.ss-slide figcaption { margin-top: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.ss-slot image-slot { border: 1px dashed var(--gold); }
/* Showcase variant — smaller frames so 5-6 photos sit in view, the rest scroll */
.showcase .ss-slide { width: clamp(190px, 23vw, 250px); }
.showcase .ss-slide > img, .showcase .ss-slide image-slot { height: clamp(240px, 30vw, 320px); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 6vw, 88px); }
.contact-aside .display { margin-top: 24px; }
.contact-aside p { color: var(--ink-soft); margin-top: 22px; }
.contact-links { margin-top: 36px; display: flex; flex-direction: column; gap: 2px; }
.contact-link { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-link:last-child { border-bottom: 1px solid var(--line); }
.contact-link .ci { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.contact-link .cl-k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.contact-link .cl-v { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.contact-link:hover .cl-v { color: var(--gold-deep); }

.form { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-top: 18px; }
.field:first-child { margin-top: 0; }
.field label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 9px; }
.field label .req { color: var(--oxblood); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(188,152,68,0.15); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--oxblood); }
.field .err { display: none; color: var(--oxblood); font-size: 12px; margin-top: 7px; letter-spacing: 0.02em; }
.field.invalid .err { display: block; }
.inquiry-types { display: flex; flex-wrap: wrap; gap: 10px; }
.inquiry-types label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 11px 18px; border: 1px solid var(--line); border-radius: 100px; cursor: pointer; font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-soft); transition: .25s var(--ease); }
.inquiry-types label:hover { border-color: var(--gold); }
.inquiry-types input { width: auto; position: absolute; opacity: 0; }
.inquiry-types label.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.form-submit { margin-top: 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-submit .btn { width: auto; }
.form-fineprint { font-size: 12.5px; color: var(--ink-mute); }
.form-success { display: none; text-align: center; padding: 32px 10px; }
.form-success.show { display: block; }
.form.sent .form-body { display: none; }
.form-success .sc-mark { width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-deep); }
.form-success h3 { font-family: var(--serif); font-size: 32px; margin: 0 0 10px; }
.form-success p { color: var(--ink-soft); max-width: 42ch; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--midnight-2); color: var(--on-dark); padding-top: clamp(64px, 8vw, 104px); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 54px; border-bottom: 1px solid var(--night-line); }
.footer-brand img { height: 50px; margin-bottom: 22px; }
.footer-brand .thai { color: var(--gold-bright); font-size: 22px; font-family: var(--thai-serif); }
.footer-brand p { color: var(--on-dark-soft); font-size: 14px; max-width: 38ch; margin-top: 16px; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 18px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--on-dark-soft); font-size: 14px; padding: 7px 0; margin: 0; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 30px 0 44px; }
.footer-bottom .legal { font-size: 12.5px; color: var(--on-dark-mute); letter-spacing: 0.03em; }
.footer-bottom .legal strong { color: var(--on-dark-soft); font-weight: 500; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; border: 1px solid var(--night-line); border-radius: 50%; display: grid; place-items: center; color: var(--on-dark-soft); transition: .3s var(--ease); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #1c1305; }
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
#tweaks { position: fixed; right: 22px; bottom: 22px; z-index: 1200; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px -20px rgba(20,15,8,0.55); font-family: var(--sans); display: none; overflow: hidden; }
#tweaks.show { display: block; }
.tw-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); cursor: grab; background: var(--ivory); }
.tw-head h6 { margin: 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.tw-head button { border: none; background: transparent; color: var(--ink-mute); font-size: 18px; line-height: 1; }
.tw-body { padding: 16px; }
.tw-body label.tl { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin: 18px 0 10px; }
.tw-body label.tl:first-child { margin-top: 0; }
.tw-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--ivory-2); padding: 4px; border-radius: 9px; }
.tw-seg button { border: none; background: transparent; padding: 9px 6px; border-radius: 6px; font-size: 12px; color: var(--ink-soft); text-transform: capitalize; transition: .2s; }
.tw-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.12); font-weight: 600; }
.tw-swatch { display: flex; gap: 8px; }
.tw-swatch button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.tw-swatch button.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
.tw-hint { font-size: 12px; color: var(--ink-mute); margin: 14px 0 0; line-height: 1.5; }

/* ============================================================
   THAI LANGUAGE TYPOGRAPHY
   Thai script needs looser leading and no letterspacing tricks.
   ============================================================ */
html[lang="th"] body { line-height: 1.85; }
html[lang="th"] .display { font-family: var(--thai-serif); line-height: 1.28; letter-spacing: 0; }
html[lang="th"] h1.display { font-size: clamp(40px, 7vw, 96px); }
html[lang="th"] h2.display { font-size: clamp(32px, 4.6vw, 64px); }
html[lang="th"] .eyebrow { letter-spacing: 0.14em; }
html[lang="th"] .btn { letter-spacing: 0.08em; font-size: 13.5px; }
html[lang="th"] .hero-tagline { font-style: normal; font-family: var(--thai-serif); line-height: 1.45; font-size: clamp(22px, 3vw, 34px); }
html[lang="th"] .legend-copy .pull { font-style: normal; font-family: var(--thai-serif); line-height: 1.6; font-size: clamp(20px, 2.3vw, 27px); }
html[lang="th"] .dropcap::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-weight: inherit; line-height: inherit; }
html[lang="th"] .taste-row .tr-label,
html[lang="th"] .taste-quote { font-style: normal; font-family: var(--thai-serif); }
html[lang="th"] .taste-quote { line-height: 1.6; font-size: clamp(19px, 2.1vw, 25px); }
html[lang="th"] .spec-row dd,
html[lang="th"] .herb-row .h-name b,
html[lang="th"] .craft-item h4,
html[lang="th"] .serve-col h4,
html[lang="th"] .sm-item .sm-name,
html[lang="th"] .contact-link .cl-v,
html[lang="th"] .venue-term .vt-v,
html[lang="th"] .agegate-card h1,
html[lang="th"] .mobile-menu a,
html[lang="th"] .form-success h3 { font-family: var(--thai-serif); }
html[lang="th"] .agegate-card h1 { line-height: 1.35; font-size: clamp(28px, 5vw, 44px); }
html[lang="th"] .mobile-menu a { font-size: clamp(26px, 7.5vw, 40px); line-height: 1.4; }
html[lang="th"] .nav-links a { letter-spacing: 0.04em; font-size: 14px; text-transform: none; }
html[lang="th"] .tr-tags span, html[lang="th"] .sc-mode, html[lang="th"] .sm-title,
html[lang="th"] .spec-row dt, html[lang="th"] .venue-term .vt-k,
html[lang="th"] .field label, html[lang="th"] .footer-col h5,
html[lang="th"] .ss-slide figcaption, html[lang="th"] .band-item .l,
html[lang="th"] .hero-scroll { letter-spacing: 0.1em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .bottle-grid, .legend-grid, .taste-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .legend-art { order: -1; max-width: 520px; }
  .bottle-stage { order: -1; min-height: 52vh; }
  .bottle-stage img.bottle { max-height: 56vh; }
  .serve-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --sec-y: clamp(56px, 14vw, 80px); }
  .nav-inner { padding: 14px var(--gutter); }
  .nav-logo img { height: 40px; }
  .nav-burger { width: 42px; height: 42px; }
  .lang-switch button { padding: 12px 13px; }
  .hero { min-height: 96svh; padding-bottom: 84px; }
  .hero-media img { object-position: 64% center; }
  .hero-lockup img { height: clamp(64px, 17vw, 90px); }
  .hero-tagline { margin-top: 20px; }
  .hero-actions { margin-top: 30px; gap: 12px; }
  .hero-scroll { bottom: 20px; }
  h2.display { font-size: clamp(32px, 9vw, 44px); }
  .sec-head .display, .bottle-copy .display, .legend-copy .display,
  .taste-copy .display, .venue-copy .display, .contact-aside .display { margin-top: 18px; }
  .lede { font-size: 17px; }
  .bottle-stage { min-height: 0; padding-block: 24px; }
  .bottle-stage img.bottle { max-height: 52vh; }
  .legend-art { max-width: none; }
  .legend-art .frameline { inset: 22px; }
  .legend-copy .pull { padding-left: 18px; }
  .herb-index { margin-top: 36px; }
  .herb-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .herb-row { padding: 20px 0; }
  .herb-row .h-name b { font-size: 21px; }
  .craft-list { margin-top: 36px; }
  .craft-item { padding: 30px 0; }
  .taste-figure .tf-frame { inset: 12px; }
  .taste-row { padding: 24px 0; }
  .serve-grid { margin-top: 40px; }
  .venue-terms { gap: 18px 32px; padding-top: 22px; }
  .slideshow { margin-top: 30px; }
  .slideshow-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ss-btn { width: 46px; height: 46px; }
  .showcase .ss-slide { width: min(72vw, 280px); }
  .showcase .ss-slide > img, .showcase .ss-slide image-slot { height: clamp(280px, 88vw, 360px); }
  .contact-grid { gap: 34px; }
  .contact-link { padding: 16px 0; }
  .contact-link .cl-v { font-size: 19px; }
  .form { padding: 22px 18px; }
  .footer-brand img { height: 42px; }
  .footer-top { gap: 30px; padding-bottom: 38px; }
  .footer-bottom { padding: 24px 0 34px; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .band-item { padding: 28px var(--gutter); border-left: none; }
  .band-item:nth-child(even) { border-left: 1px solid var(--night-line); }
  .band-item:nth-child(-n+2) { border-bottom: 1px solid var(--night-line); }
  .herb-row { grid-template-columns: 27px 1fr; gap: 12px 16px; align-items: center; }
  .herb-row .h-num { display: none; }
  .herb-row .h-note { grid-column: 1 / -1; margin-top: 2px; }
  .craft-item { grid-template-columns: 1fr; gap: 10px; }
  .craft-item .c-num { font-size: 34px; }
  .venue-points { grid-template-columns: 1fr; }
  .price, .form-row { grid-template-columns: 1fr; }
  .taste-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  #tweaks { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .btn { width: 100%; }
  .hero-actions .btn, .gate-actions .btn, .venue-actions .btn, .form-submit .btn { width: auto; }
}
@media (max-width: 760px) {
  .agegate { padding: 22px; }
  .agegate-card .gate-mark { width: 168px; margin-bottom: 24px; }
  .agegate-card h1 { margin-top: 16px; }
  .gate-actions { margin-top: 28px; }
  .gate-rule { margin-top: 26px; }
  .nav-cta { gap: 12px; }
  .band-item .k { font-size: 28px; }
  .band-item { padding: 24px var(--gutter); }
  .dropcap::first-letter { font-size: 3.6em; }
  .ss-slide figcaption { margin-top: 11px; font-size: 10px; }
  .showcase .ss-slide { width: min(68vw, 260px); }
  .showcase .ss-slide > img, .showcase .ss-slide image-slot { height: clamp(260px, 84vw, 330px); }
  .spec-row { padding: 15px 0; }
  .venue-copy .lede, .sec-head .lede { margin-top: 18px; }
}
@media (max-width: 460px) {
  .hero-actions .btn { width: 100%; }
  .band-grid { grid-template-columns: 1fr 1fr; }
}
