/* =========================================================
   Aden Organic — front-end styles
   Thai-safe typography notes:
   - Never apply letter-spacing / uppercase to Thai text (breaks
     combining vowels & tone marks). Only on [lang="en"] / .mini latin.
   - Thai needs taller line-height (tone marks sit above ascenders),
     so headings use >= 1.35 and body 1.8.
   - Headings + numbers: Prompt · body: Noto Sans Thai · CN: Noto Sans SC.
     Cormorant (italic) is kept only for the decorative "Pure by Nature."
   ========================================================= */
:root {
  --forest: #1b3324;
  --forest-2: #24432f;
  --forest-deep: #12241a;
  --moss: #56703f;
  --sage: #b7c2a3;
  --sage-soft: #e3e8d8;
  --cream: #f4efe4;
  --paper: #faf7f0;
  --sand: #e9dfca;
  --honey: #b98532;
  --honey-2: #d4a24e;
  --clay: #a4583a;
  --ink: #1c241e;
  --ink-2: #4a544b;
  --line: rgba(28, 36, 30, .14);
  --line-l: rgba(244, 239, 228, .18);

  /* Fonts (v2): Prompt for headings & numbers, Noto Sans Thai for body text.
     Both have clear, upright "lining" digits (0-9 same height, easy to read).
     Chinese falls through to Noto Sans SC (loaded only on the CN page).
     --serif / --serif-th keep their old names so the rest of the file works. */
  --serif: "Prompt", "Noto Sans Thai", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Leelawadee UI", sans-serif;
  --serif-th: "Prompt", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Leelawadee UI", "Thonburi", sans-serif;
  --sans: "Noto Sans Thai", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Leelawadee UI", "Sukhumvit Set", "Thonburi", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 18px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; font-size: 16.5px; line-height: 1.8;
  color: var(--ink); background: var(--paper); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
em { font-style: normal; }
.nw { white-space: nowrap; }
h1, h2, h3, .display, .h2, .h3 { text-wrap: balance; }
p, li { text-wrap: pretty; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
[lang="en"] { font-family: var(--serif), var(--sans); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- type ---------- */
.display, .h2, .h3, h1, h2, h3 { font-family: var(--serif-th); font-weight: 600; letter-spacing: 0; margin: 0; }
.display { font-size: clamp(2.6rem, 6vw, 5.1rem); line-height: 1.32; color: var(--forest); padding-top: .1em; }
.h2 { font-size: clamp(2rem, 3.9vw, 3.2rem); line-height: 1.38; color: var(--forest); padding-top: .08em; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.4; color: var(--forest); }
.display em, .h2 em, .h3 em { color: var(--honey); font-weight: 500; }
.light, .dark .h2, .dark .display { color: var(--cream); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.85; color: var(--ink-2); max-width: 36em; font-weight: 300; }
.lead.light { color: rgba(244, 239, 228, .82); }
.muted { color: var(--ink-2); }
.fine { font-size: .84rem; color: var(--ink-2); line-height: 1.7; }
.script { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--moss); margin: 0 0 .2em; line-height: 1.2; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .95rem; font-weight: 500; color: var(--moss); margin: 0 0 1.1em; }
.eyebrow.light { color: var(--sage); }
.eyebrow .num { font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-style: italic; color: var(--honey); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 4px rgba(185, 133, 50, .18); }
.mini { display: block; font-size: .78rem; font-weight: 500; color: var(--moss); margin: 0 0 .5em; }
.dark .mini { color: var(--sage); }
.mini[lang="en"], h3.mini[lang="en"] { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.7em .9em; border-radius: 999px; font-weight: 500; font-size: 1rem; line-height: 1.5; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: 0 10px 30px -12px rgba(27, 51, 36, .6); }
.btn-primary:hover { background: var(--forest-2); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-line { border: 1px solid currentColor; }
.btn-honey { background: var(--honey); color: #fff; }
.btn-honey:hover { background: var(--honey-2); transform: translateY(-2px); }
.btn-sm { padding: .55em 1.2em .5em; font-size: .92rem; }
.w100 { width: 100%; }
.arr { display: inline-block; }

/* ---------- topbar / nav ---------- */
.topbar { background: var(--forest-deep); color: var(--sage); font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1em; padding: .45em 0; }
.topbar-tel { color: var(--cream); }
.nav { position: sticky; top: 0; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; background: rgba(250, 247, 240, 0); }
.nav.scrolled { background: rgba(250, 247, 240, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 50px; width: auto; }
.menu { display: flex; gap: clamp(14px, 2vw, 30px); font-size: .98rem; }
.menu a { position: relative; padding: .4em 0; color: var(--ink); }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .1em; height: 1px; background: var(--honey); transition: right .4s var(--ease); }
.menu a:hover::after { right: 0; }
.menu .menu-cta-m { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-contact { color: var(--forest); }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--forest); transition: background .3s; }
.cart-btn:hover { background: var(--sand); }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--honey); color: #fff; font-size: .72rem; line-height: 20px; text-align: center; padding: 0 5px; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.on { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.15); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--forest); transition: transform .35s var(--ease), top .35s; }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

/* ---------- grain ---------- */
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.dark .grain { mix-blend-mode: screen; opacity: .35; }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, #efe6d2 0%, var(--paper) 55%); margin-top: -84px; padding-top: 84px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10vw; top: 10%; width: 46vw; height: 46vw; border-radius: 50%; background: radial-gradient(circle, rgba(183, 194, 163, .45), transparent 65%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 80px); align-items: center; min-height: min(860px, calc(100vh - 40px)); padding: 60px 0 90px; }
.hero-copy .lead { margin: 1.3em 0 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-certs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 2.6em 0 0; color: var(--ink-2); font-size: 1.02rem; }
.hero-certs li { display: flex; align-items: center; gap: 8px; font-style: italic; }
.hero-certs li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--moss); }
.hero-art { position: relative; height: clamp(480px, 62vw, 680px); }
.arch { position: absolute; right: 6%; top: 0; width: 66%; height: 92%; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(27, 51, 36, .55); }
.arch img, .orb img { width: 100%; height: 100%; object-fit: cover; }
.arch img { transform: scale(1.06); animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.14) translateY(-2%); } }
.orb { position: absolute; left: 0; bottom: 6%; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--paper); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.seal { position: absolute; right: -10px; top: 46%; width: 132px; height: 132px; color: var(--forest); background: var(--cream); border-radius: 50%; padding: 6px; box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .25); animation: spin 26s linear infinite; }
.seal text { font-family: var(--sans); font-size: 13.5px; letter-spacing: 2.6px; fill: currentColor; font-weight: 500; }
.seal g { color: var(--honey); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-card { position: absolute; left: 14%; top: 7%; display: flex; gap: 12px; align-items: center; background: rgba(250, 247, 240, .92); backdrop-filter: blur(10px); padding: 10px 18px 10px 10px; border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); max-width: 290px; animation: float 6s ease-in-out infinite; }
.hero-card img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: #fff; }
.hero-card strong { display: block; font-size: 1.1rem; color: var(--forest); line-height: 1.3; }
.hero-card span { font-size: .82rem; color: var(--ink-2); line-height: 1.55; display: block; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- stats ---------- */
.stats { background: var(--forest); color: var(--cream); position: relative; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 42px 28px; border-left: 1px solid var(--line-l); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { display: flex; align-items: baseline; gap: 8px; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.1; color: var(--honey-2); }
.stat-num span { font-weight: 500; }
.stat-num small { font-family: var(--serif-th); font-size: 1.05rem; color: var(--cream); }
.stat p { margin: .7em 0 0; color: rgba(244, 239, 228, .72); font-size: .94rem; line-height: 1.65; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-desc { max-width: 380px; color: var(--ink-2); margin: 0; }
.dark { background: var(--forest); color: var(--cream); overflow: hidden; }

/* ---------- about ---------- */
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; height: clamp(460px, 48vw, 600px); }
.ph { margin: 0; position: absolute; overflow: hidden; border-radius: var(--r); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-a { left: 0; top: 0; width: 72%; height: 78%; }
.ph-b { right: 0; bottom: 0; width: 52%; height: 50%; border: 10px solid var(--paper); border-radius: 26px; }
.badge-yr { position: absolute; left: 6%; bottom: 3%; display: flex; align-items: center; gap: 12px; background: var(--honey); color: #fff; padding: 14px 22px 14px 18px; border-radius: 999px; box-shadow: 0 20px 40px -20px rgba(185, 133, 50, .8); }
.badge-yr b { font-size: 2.6rem; line-height: 1; font-weight: 600; }
.badge-yr span { font-size: .85rem; line-height: 1.45; }
.prose p { color: var(--ink-2); }
.about-copy .h2 { margin-bottom: .8em; }
.h2 + .lead, .display + .lead { margin-top: 1.1em; }
.pull { margin: 2em 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--honey); font-family: var(--serif-th); font-size: 1.3rem; line-height: 1.7; color: var(--forest); }

/* ---------- pillars ---------- */
.pillars { background: var(--cream); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.pillar:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -40px rgba(27, 51, 36, .5); }
.pillar-img { aspect-ratio: 4/4.4; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.07); }
.pillar-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pillar-num { font-size: 1rem; font-style: italic; color: var(--honey); }
.pillar h3 { font-size: 1.32rem; line-height: 1.45; color: var(--forest); margin: .35em 0 .45em; }
.pillar p { font-size: .94rem; line-height: 1.75; color: var(--ink-2); flex: 1; }
.pillar-link { font-size: .92rem; font-weight: 500; color: var(--forest); display: inline-flex; gap: 6px; }
.pillar:hover .pillar-link .arr { transform: translateX(4px); }
.pillar-link .arr { transition: transform .35s var(--ease); }

/* ---------- shop ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: .5em 1.2em .45em; border-radius: 999px; border: 1px solid var(--line); font-size: .94rem; transition: all .3s; background: transparent; }
.chip:hover { border-color: var(--forest); }
.chip.active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
.product { display: flex; flex-direction: column; transition: opacity .4s, transform .4s; }
.product.hide { display: none; }
.product-img { position: relative; aspect-ratio: 1; background: var(--sand); border-radius: var(--r); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover .product-img img { transform: scale(1.05); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--forest); color: var(--cream); font-size: .74rem; padding: .3em .9em .25em; border-radius: 999px; }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: .6em; border-radius: 12px; background: rgba(250, 247, 240, .94); font-size: .9rem; font-weight: 500; color: var(--forest); transform: translateY(130%); transition: transform .45s var(--ease); }
.product:hover .quick, .quick:focus { transform: none; }
.product-body { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.product-en { font-size: .98rem; font-style: italic; color: var(--moss); margin: 0; line-height: 1.4; }
.product h3 { font-family: var(--sans); font-weight: 500; font-size: 1.06rem; line-height: 1.6; margin: .25em 0 .1em; color: var(--ink); }
.product-size { font-size: .84rem; color: var(--ink-2); margin: 0; }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--serif-th); font-weight: 600; font-size: 1.15rem; color: var(--forest); }
.add { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--cream); transition: transform .3s var(--ease), background .3s; }
.add:hover { background: var(--honey); transform: rotate(90deg); }
.feature { margin-top: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: 1.1fr 1fr; background: var(--forest); color: var(--cream); border-radius: 28px; overflow: hidden; }
.feature-img { min-height: 420px; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: clamp(36px, 5vw, 70px); align-self: center; }
.feature-copy .h3 { color: var(--cream); margin-bottom: .7em; }
.feature-copy .h3 em { color: var(--honey-2); font-family: "Cormorant Garamond", serif; font-style: italic; }
.feature-copy p { color: rgba(244, 239, 228, .8); margin-bottom: 2em; }

/* ---------- export ---------- */
.export .h2 em { color: var(--honey-2); }
.export-top { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.markets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2em; }
.markets span { border: 1px solid var(--line-l); padding: .4em 1.1em; border-radius: 999px; font-size: 1.05rem; font-style: italic; color: var(--cream); }
.export-media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: end; }
.export-media figure { margin: 0; }
.export-media figure:first-child img { aspect-ratio: 3/3.4; }
.export-media figure:last-child { margin-bottom: 60px; }
.export-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.export-media figcaption { font-size: .82rem; color: var(--sage); margin-top: .7em; }
.export-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); margin-top: clamp(60px, 8vw, 100px); padding-top: 50px; border-top: 1px solid var(--line-l); }
.export-list ol { list-style: none; margin: 0; padding: 0; columns: 1; }
.export-list li { display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line-l); font-size: 1.02rem; line-height: 1.6; }
.export-list li span { color: var(--honey-2); font-style: italic; font-size: 1.1rem; min-width: 26px; }
.export-side { display: flex; flex-direction: column; gap: 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.step { background: rgba(244, 239, 228, .06); border: 1px solid var(--line-l); border-radius: 14px; padding: 16px 14px; }
.step b { display: block; font-size: 1.8rem; line-height: 1; color: var(--honey-2); font-weight: 500; margin-bottom: 10px; }
.step span { font-size: .9rem; line-height: 1.5; }
.certs ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.certs li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--cream); color: var(--forest); border-radius: 12px; font-size: 1.12rem; font-weight: 600; }
.certs li svg { color: var(--moss); flex: none; }
.offices { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(50px, 6vw, 80px); }
.office { border: 1px solid var(--line-l); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.office-city { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.office strong { font-size: 1.35rem; font-weight: 600; line-height: 1.3; color: var(--cream); }
.office p { font-family: var(--sans); font-size: .88rem; color: rgba(244, 239, 228, .7); margin: 0; line-height: 1.6; }
.office-cta { background: var(--honey); border-color: var(--honey); transition: background .3s; }
.office-cta .office-city { color: rgba(255, 255, 255, .85); letter-spacing: 0; text-transform: none; font-size: .85rem; }
.office-cta strong { font-family: var(--serif-th); font-size: 1.3rem; }
.office-cta strong span { font-style: italic; font-weight: 500; font-size: 1.15rem; }
.office-cta:hover { background: var(--honey-2); }
.arr.big { font-size: 1.6rem; margin-top: auto; align-self: flex-end; transition: transform .35s var(--ease); }
.office-cta:hover .arr.big { transform: translateX(6px); }

/* ---------- R&D ---------- */
.rnd { background: linear-gradient(180deg, var(--paper), #f0f1ea); }
.rnd-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.rnd-copy .lead { margin: 1em 0; color: var(--forest); font-weight: 400; }
.rnd-visual { position: relative; }
.rnd-visual > img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; border-radius: 300px 300px var(--r) var(--r); }
.molecule { position: absolute; left: -30px; bottom: 30px; background: var(--paper); border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; color: var(--forest); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35); }
.molecule svg { width: 54px; height: 54px; color: var(--moss); animation: spin 40s linear infinite; }
.molecule span { font-size: 1.3rem; font-weight: 600; font-style: italic; }
.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(60px, 8vw, 100px); }
.ps-col { border-radius: 24px; padding: clamp(28px, 4vw, 46px); }
.ps-prob { background: var(--paper); border: 1px solid var(--line); }
.ps-sol { background: var(--forest); color: var(--cream); }
.ps-sol .mini { color: var(--sage); }
.ps-title { font-family: var(--serif-th); font-size: 1.55rem; line-height: 1.45; font-weight: 600; margin: 0 0 1.1em; color: var(--forest); }
.ps-sol .ps-title { color: var(--cream); }
.ps-prob .mini { color: var(--clay); }
.ps-item { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.ps-sol .ps-item { border-color: var(--line-l); }
.ps-item > span { font-style: italic; font-size: 1.2rem; color: var(--clay); min-width: 28px; line-height: 1.5; }
.ps-sol .ps-item > span { color: var(--honey-2); }
.ps-item strong { display: block; font-weight: 600; line-height: 1.6; }
.ps-item p { margin: .2em 0 0; font-size: .93rem; color: var(--ink-2); line-height: 1.7; }
.ps-sol .ps-item p { color: rgba(244, 239, 228, .75); }
.apps { margin-top: 50px; text-align: center; }
.apps .mini { margin-bottom: 1.2em; }
.apps-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.apps-row span { font-size: 1.35rem; font-style: italic; color: var(--forest); padding: .3em 1.1em; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); transition: background .3s, color .3s; }
.apps-row span:hover { background: var(--forest); color: var(--cream); }
.rnd-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.credential { display: flex; gap: 16px; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.credential svg { flex: none; color: var(--honey); }
.credential p { margin: 0; font-size: .95rem; line-height: 1.65; }
.credential p[lang="en"] { font-family: var(--sans); }
.credential a { text-decoration: underline; text-underline-offset: 3px; }
.rnd .fine { text-align: center; margin-top: 30px; }

/* ---------- farm ---------- */
.farm { padding-top: 0; background: var(--sage-soft); }
.farm-hero { position: relative; height: clamp(440px, 70vh, 720px); overflow: hidden; }
.farm-hero picture { display: contents; }
.farm-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.04); }
.farm-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 36, 26, .15) 30%, rgba(18, 36, 26, .82)); }
.farm-hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(40px, 7vw, 90px); }
.farm-hero-copy .display em { color: var(--honey-2); }
.farm-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 90px); padding: clamp(50px, 7vw, 90px) 0; align-items: start; }
.farm-intro .lead { font-family: var(--serif-th); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.85; color: var(--forest); font-weight: 400; max-width: none; }
.farm-info { display: flex; flex-direction: column; gap: 20px; padding-left: 30px; border-left: 1px solid var(--line); }
.farm-info p { margin: 0; }
.farm-info a { margin-right: 10px; border-bottom: 1px solid var(--line); }
.farm-info .btn { align-self: flex-start; border: 0; margin-top: 6px; }
.highlights { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 18px; }
.hl { position: relative; overflow: hidden; border-radius: var(--r); margin: 0; }
.hl-wide { grid-row: span 2; }
.hl:nth-child(4) { grid-column: span 2; }
.hl img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hl:hover img { transform: scale(1.06); }
.hl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18, 36, 26, .85)); }
.hl-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px; color: var(--cream); }
.hl-copy span { font-style: italic; color: var(--honey-2); font-size: 1.1rem; }
.hl-copy h3 { font-size: 1.35rem; line-height: 1.45; margin: .15em 0 .3em; }
.hl-copy p { font-size: .9rem; margin: 0; color: rgba(244, 239, 228, .85); line-height: 1.65; max-width: 30em; }
.menu-head { display: flex; justify-content: space-between; align-items: end; margin: clamp(70px, 9vw, 110px) 0 28px; }
.menu-nav { display: flex; gap: 10px; }
.circle { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--forest); color: var(--forest); font-size: 1.1rem; transition: background .3s, color .3s; }
.circle:hover { background: var(--forest); color: var(--cream); }
.menu-rail { --pad: max(20px, calc((100vw - var(--wrap)) / 2)); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--pad) 20px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.menu-rail::-webkit-scrollbar { display: none; }
.dish { flex: 0 0 clamp(220px, 22vw, 280px); scroll-snap-align: start; margin: 0; }
.dish-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .45); transition: transform .6s var(--ease); }
.dish:hover .dish-img { transform: translateY(-6px) rotate(-2deg); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); transform-origin: 55% 58%; }
.dish figcaption { text-align: center; margin-top: 16px; font-weight: 500; font-size: 1.02rem; }
.dish figcaption span { color: var(--honey); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.gallery figure { margin: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reviews ---------- */
.reviews { background: var(--paper); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--cream); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.review-img { display: block; width: 100%; aspect-ratio: 4/3; overflow: hidden; padding: 0; }
.review-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.review-img:hover img { transform: scale(1.04); }
.review-body { position: relative; padding: 28px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.qmark { position: absolute; top: -18px; right: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--honey); color: #fff; font-family: "Cormorant Garamond", serif; font-size: 3rem; line-height: 62px; text-align: center; }
.review-body p { font-family: var(--serif-th); font-size: 1.08rem; line-height: 1.85; color: var(--forest); flex: 1; }
.review-body footer strong { display: block; font-weight: 600; }
.review-body footer span { font-size: .85rem; color: var(--ink-2); }

/* ---------- branches ---------- */
.branches { background: var(--cream); }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.branch { background: var(--paper); border-radius: var(--r); padding: 26px 26px 24px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.branch:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(27, 51, 36, .5); }
.branch.hq { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.branch-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.branch-no { font-size: 1.6rem; font-style: italic; color: var(--honey); line-height: 1; }
.pill { font-size: .76rem; padding: .3em .9em .25em; border-radius: 999px; background: var(--honey); color: #fff; }
.pill.soft { background: var(--sage-soft); color: var(--forest); }
.branch h3 { font-size: 1.3rem; line-height: 1.45; color: var(--forest); margin-bottom: .4em; }
.branch.hq h3 { color: var(--cream); }
.branch-addr { font-size: .92rem; color: var(--ink-2); line-height: 1.7; flex: 1; }
.branch.hq .branch-addr { color: rgba(244, 239, 228, .75); }
.branch-phones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.branch-phones a { display: inline-flex; align-items: center; gap: 6px; padding: .35em .9em .3em; border-radius: 999px; background: var(--sand); color: var(--forest); font-size: .9rem; font-weight: 500; }
.branch.hq .branch-phones a { background: rgba(244, 239, 228, .12); color: var(--cream); }
.branch-map { font-size: .9rem; font-weight: 500; color: var(--moss); border-top: 1px solid var(--line); padding-top: 14px; }
.branch.hq .branch-map { color: var(--honey-2); border-color: var(--line-l); }

/* ---------- contact ---------- */
.contact-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.contact .h2 em { color: var(--honey-2); }
.contact-list { list-style: none; padding: 0; margin: 2.2em 0; display: grid; gap: 18px; }
.contact-list li { padding-bottom: 18px; border-bottom: 1px solid var(--line-l); }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-list a:hover { border-color: var(--honey-2); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-l); padding: .55em 1.2em .5em; border-radius: 999px; font-size: .92rem; transition: background .3s, color .3s; }
.socials a:hover { background: var(--cream); color: var(--forest); }
.contact-form { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(26px, 4vw, 44px); }
.contact-form h3 { font-size: 1.5rem; line-height: 1.45; color: var(--forest); margin-bottom: 1em; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .84rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; line-height: 1.6; padding: .7em .95em; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(86, 112, 63, .15); }
.field.err input, .field.err textarea { border-color: var(--clay); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { margin: 12px 0 0; font-size: .92rem; min-height: 1.6em; }
.form-msg.ok { color: var(--moss); }
.form-msg.bad { color: var(--clay); }

/* ---------- footer ---------- */
.foot { background: var(--forest-deep); color: rgba(244, 239, 228, .75); padding: 70px 0 30px; font-size: .94rem; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid var(--line-l); }
.foot-logo { display: inline-block; background: var(--paper); border-radius: 16px; padding: 14px 20px; margin-bottom: 18px; }
.foot-logo img { height: 48px; width: auto; }
.foot-brand p { max-width: 340px; }
.foot-cols { display: flex; gap: clamp(40px, 8vw, 110px); }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols .mini { color: var(--honey-2); }
.foot-cols a:hover { color: var(--cream); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: .84rem; flex-wrap: wrap; }
.foot-admin { opacity: .55; }
.foot-admin:hover { opacity: 1; }

/* ---------- drawer / modal ---------- */
.scrim { position: fixed; inset: 0; background: rgba(18, 36, 26, .45); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 80; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); z-index: 90; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; display: flex; flex-direction: column; }
.drawer.on { transform: none; visibility: visible; transition: transform .5s var(--ease); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.4rem; line-height: 1.4; color: var(--forest); }
.x { width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--forest); border: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 20px 26px 30px; flex: 1; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cart-item strong { display: block; font-weight: 500; font-size: .96rem; line-height: 1.5; }
.cart-item small { color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; font-size: 1rem; }
.qty span { min-width: 22px; text-align: center; font-size: .92rem; }
.rm { font-size: .78rem; color: var(--clay); margin-top: 4px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--ink-2); }
.checkout { display: none; }
.checkout.on { display: block; }
.checkout h4 { font-family: var(--serif-th); font-size: 1.15rem; color: var(--forest); margin: 1.4em 0 .8em; font-weight: 600; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; }
.cart-total strong { font-family: var(--serif-th); font-size: 1.5rem; color: var(--forest); }
.bank { background: var(--cream); border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(18, 36, 26, .55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.on { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; background: var(--paper); border-radius: 24px; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: auto; transform: translateY(20px) scale(.98); transition: transform .45s var(--ease); }
.modal.on .modal-card { transform: none; }
.modal-card > .x { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--paper); }
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.pd-copy { padding: 40px 34px; display: flex; flex-direction: column; }
.pd-copy h3 { font-size: 1.6rem; line-height: 1.45; color: var(--forest); margin: .2em 0 .4em; }
.pd-copy .price { font-size: 1.5rem; display: block; margin: .3em 0 1em; }
.pd-copy .btn { margin-top: auto; }
.zoom img { width: 100%; height: auto; }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--honey); color: #fff; display: none; place-items: center; box-shadow: 0 16px 30px -12px rgba(185, 133, 50, .8); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .arch img, .seal, .hero-card, .molecule svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu { gap: 16px; font-size: .92rem; }
  .nav-contact { display: none; }
  .pillar-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .offices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0 0 auto 0; top: 0; padding: 110px 28px 40px; flex-direction: column; gap: 0; background: var(--paper); transform: translateY(-105%); transition: transform .55s var(--ease); z-index: -1; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3); font-size: 1.25rem; font-family: var(--serif-th); }
  .menu a { padding: .7em 0; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .menu .menu-cta-m { display: block; }
  .menu.on { transform: none; }
  .hero-in, .about-in, .export-top, .export-grid, .rnd-head, .farm-intro, .contact-in, .ps { grid-template-columns: 1fr; }
  .hero-in { min-height: 0; padding: 40px 0 70px; }
  .hero-art { height: clamp(420px, 95vw, 600px); max-width: 560px; width: 100%; margin-inline: auto; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 20px; border-top: 1px solid var(--line-l); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .feature { grid-template-columns: 1fr; }
  .feature-img { min-height: 280px; }
  .highlights { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hl { aspect-ratio: 4/3.4; }
  .hl-wide { grid-row: auto; grid-column: span 2; aspect-ratio: 16/10; }
  .hl:nth-child(4) { grid-column: span 2; aspect-ratio: 16/9; }
  .rnd-foot, .review-grid, .branch-grid { grid-template-columns: 1fr 1fr; }
  .farm-info { padding-left: 0; border-left: 0; }
  .molecule { left: 12px; }
  .fab { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .topbar .wrap span:first-child { font-size: .78rem; }
  .topbar-tel { display: none; }
  .nav-in { height: 72px; }
  .hero { margin-top: -72px; padding-top: 72px; }
  .brand img { height: 42px; }
  .cart-btn, .burger { width: 44px; height: 44px; }
  .burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
  .burger[aria-expanded="true"] span { top: 21.5px !important; }
  .hero-card { left: 0; top: 2%; max-width: 250px; }
  .seal { width: 104px; height: 104px; right: -4px; }
  .arch { width: 74%; right: 0; }
  .orb { width: 44%; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { flex-direction: row; }
  .pillar-img { aspect-ratio: auto; width: 38%; flex: none; }
  .pillar-body { padding: 18px; }
  .pillar h3 { font-size: 1.12rem; }
  .pillar p { font-size: .88rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .product h3 { font-size: .96rem; }
  .quick { display: none; }
  .export-media { grid-template-columns: 1fr 1fr; }
  .export-media figure:last-child { margin-bottom: 30px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .certs ul { grid-template-columns: 1fr 1fr; }
  .certs li { font-size: 1rem; padding: 10px 12px; }
  .offices, .rnd-foot, .review-grid, .branch-grid, .field-row { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .hl, .hl-wide, .hl:nth-child(4) { grid-column: auto; aspect-ratio: 4/3.6; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; }
  .pd img { min-height: 0; aspect-ratio: 1; }
  .pd-copy { padding: 26px 22px; }
  .sec-head.split { gap: 16px; }
  .menu-nav { display: none; }
  .dish { flex-basis: 62vw; }
  .about-media { height: 420px; }
}

/* =========================================================
   Hero — background video (autoplay, muted, loop)
   ========================================================= */
.has-hero-video .nav { background: rgba(250, 247, 240, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.hero-video { background: var(--forest-deep); }
.hero-video::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14, 30, 20, .92) 0%, rgba(14, 30, 20, .82) 34%, rgba(14, 30, 20, .45) 58%, rgba(14, 30, 20, .12) 82%, rgba(14, 30, 20, .05) 100%),
  linear-gradient(180deg, rgba(14, 30, 20, .35) 0%, transparent 30%, transparent 70%, rgba(14, 30, 20, .55) 100%); }
.hero-video .hero-in { grid-template-columns: minmax(0, 640px); min-height: min(820px, calc(100vh - 40px)); z-index: 1; }
.hero-video .script { color: var(--honey-2); }
.hero-video .eyebrow { color: var(--sage); }
.hero-video .display { color: var(--cream); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-video .display em { color: var(--honey-2); }
.hero-video .lead { color: rgba(244, 239, 228, .88); }
.hero-video .btn-ghost { border-color: rgba(244, 239, 228, .55); color: var(--cream); }
.hero-video .btn-ghost:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.hero-video .btn-primary { background: var(--honey); }
.hero-video .btn-primary:hover { background: var(--honey-2); }
.hero-video .hero-certs { color: rgba(244, 239, 228, .82); }
.hero-video .hero-certs li::before { background: var(--honey-2); }
@media (max-width: 960px) {
  .hero-video .hero-in { min-height: 78vh; min-height: 78svh; align-content: end; padding: 60px 0 56px; }
  .hero-shade { background: linear-gradient(180deg, rgba(14, 30, 20, .55) 0%, rgba(14, 30, 20, .72) 30%, rgba(14, 30, 20, .9) 60%, rgba(14, 30, 20, .95) 100%); }
  .hero-bg video { object-position: center 20%; }
}

/* =========================================================
   Anniversary — 9 ปี เอเดนฟาร์ม
   ========================================================= */
.anniv { background: #fffbde; position: relative; overflow: hidden; }
.anniv::before { content: ""; position: absolute; left: -12vw; bottom: -18vw; width: 48vw; height: 48vw; border-radius: 50%; background: radial-gradient(circle, rgba(183, 194, 163, .4), transparent 65%); pointer-events: none; }
.anniv-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.anniv-logo { width: clamp(150px, 16vw, 216px); height: auto; margin: 0 0 18px -10px; }
.anniv-copy .h2 em { color: #c0392b; }
.anniv-copy .lead { margin: 1em 0 1.6em; }
.anniv-when { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0 0 2em; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .55); }
.anniv-when > div { padding: 16px 22px; }
.anniv-when > div + div { border-left: 1px solid var(--line); }
.anniv-when strong { display: block; font-family: var(--serif-th); font-weight: 600; color: var(--forest); font-size: 1.12rem; line-height: 1.5; }
.anniv-date strong { color: #c0392b; font-size: 1.3rem; white-space: nowrap; }
.anniv-posters { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.anniv-poster { display: block; padding: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(27, 51, 36, .55); transition: transform .5s var(--ease), box-shadow .5s; cursor: zoom-in; }
.anniv-poster img { width: 100%; height: auto; }
.anniv-poster.p1 { transform: rotate(-2deg); }
.anniv-poster.p2 { transform: rotate(2deg) translateY(48px); }
.anniv-poster:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 40px 70px -30px rgba(27, 51, 36, .65); }
.anniv-poster.p2:hover { transform: rotate(0) translateY(40px); }
@media (max-width: 960px) {
  .anniv-in { grid-template-columns: 1fr; }
  .anniv-posters { max-width: 620px; width: 100%; margin: 0 auto 40px; }
}
@media (max-width: 640px) {
  .anniv-when { grid-template-columns: 1fr; }
  .anniv-when > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .anniv-posters { gap: 12px; }
  .anniv-poster.p2 { transform: rotate(2deg) translateY(28px); }
}
@media (prefers-reduced-motion: reduce) {
  .anniv-poster, .anniv-poster.p1, .anniv-poster.p2 { transform: none; }
}

/* =========================================================
   Typography v2 — easy-to-read numbers
   ========================================================= */
body { font-variant-numeric: lining-nums; }
.stat-num, .price, .badge-yr b, .step b, .cart-total strong, .qty span,
.topbar-tel, .branch-phones a, .contact-list a, .farm-info a, .anniv-date strong { font-variant-numeric: lining-nums tabular-nums; }
.stat-num span { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.price { font-family: var(--serif); font-weight: 600; }
/* number labels: upright Prompt instead of thin italic serif */
.eyebrow .num, .pillar-num, .export-list li span, .ps-item > span, .hl-copy span, .branch-no, .step b, .badge-yr b {
  font-family: var(--serif); font-style: normal; font-weight: 600;
}
.eyebrow .num { font-size: 1rem; }
.branch-no { font-size: 1.4rem; }
.hero-certs li, .product-en, .markets span, .office-cta strong span, .molecule span, .apps-row span { font-style: normal; }
.product-en { font-family: var(--serif); font-weight: 500; font-size: .9rem; }
.apps-row span { font-size: 1.1rem; }
.markets span { font-size: .98rem; }
.display { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.3; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.display, .h2, .h3, h1, h2, h3 { font-weight: 600; }
.display em, .h2 em, .h3 em { font-weight: 500; }
.pull { font-weight: 500; font-size: 1.22rem; }
/* Chinese page: CJK needs no extra tall line-height, and no italics */
.lang-zh .display { line-height: 1.25; }
.lang-zh .h2, .lang-zh .h3 { line-height: 1.35; }
.lang-zh em { font-style: normal; }

/* ---------- language switcher ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(250, 247, 240, .6); }
.lang-switch a { font-family: "Prompt", var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em; line-height: 1; padding: .62em .72em .58em; border-radius: 999px; color: var(--ink-2); transition: background .25s, color .25s; }
.lang-switch a:hover { color: var(--forest); background: var(--sand); }
.lang-switch a.on { background: var(--forest); color: var(--cream); }
@media (max-width: 1240px) { .nav-contact { display: none; } .menu { gap: clamp(12px, 1.5vw, 22px); } }
@media (max-width: 640px) {
  .nav-actions { gap: 8px; }
  .lang-switch a { padding: .6em .55em .56em; font-size: .72rem; }
}
@media (max-width: 380px) { .brand img { height: 34px; } }
.stat-num.is-long { font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.3; }
