/* les bobos 官网统一设计令牌（无日期正式文件）
   依据 lesbobos-site-style 与《全站视觉统一 · 执行任务书》§3。
   严禁自引用变量；所有内页共用同一套字号与 1280px 12 列栅格。 */

@font-face {
  font-family: "LesBobosSerifSC";
  src: url("/fonts/site-serif-sc-20261104b.woff2?v=207945c5ec3a") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-303F, U+3100-312F, U+31A0-31EF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE10-FE1F, U+FE30-FE6F, U+FF01-FF60, U+FFE0-FFE6, U+20000-323AF;
}

@font-face {
  font-family: "LesBobosSerifHK";
  src: url("/fonts/site-serif-hk-20261104b.woff2?v=c37db2540beb") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-303F, U+3100-312F, U+31A0-31EF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE10-FE1F, U+FE30-FE6F, U+FF01-FF60, U+FFE0-FFE6, U+20000-323AF;
}

:root {
  /* 颜色 */
  --bg: rgb(250, 249, 246);
  --bg-alt: rgb(244, 242, 236);
  --ink: rgb(41, 52, 44);
  --ink-2: rgb(95, 104, 93);
  --line: rgb(217, 220, 211);
  --line-strong: rgb(184, 191, 178);
  --brand: #4a3a2c;
  --link: rgb(41, 52, 44);
  --btn: rgb(74, 58, 44);
  --btn-hover: rgb(58, 45, 34);
  --btn-ink: rgb(250, 249, 246);
  --error: #a13628;
  --footer-bg: rgb(46, 38, 32);
  --footer-ink: rgb(237, 228, 216);
  --footer-ink-2: rgb(184, 172, 158);
  --footer-line: rgba(237, 228, 216, 0.16);
  --overlay: rgba(26, 24, 20, 0.76);
  --hero-bg: rgb(43, 40, 34);
  --hero-shade: linear-gradient(90deg, rgba(17, 22, 17, 0.58), rgba(17, 22, 17, 0.12) 72%), linear-gradient(rgba(0, 0, 0, 0) 78%, rgba(10, 15, 12, 0.48));
  --input-bg: rgb(250, 249, 246);
  --input-placeholder: rgb(112, 117, 109);

  /* 字体 */
  --font-head: "Cormorant Garamond", "LesBobosSerifSC", "Songti SC", "Noto Serif CJK SC", serif;
  --font-head-sm: "Cormorant Garamond", "LesBobosSerifSC", "Songti SC", "Noto Serif CJK SC", serif;
  --font-body: "DM Sans Variable", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-wordmark: "Cormorant Garamond", "LesBobosSerifSC", "Songti SC", "Noto Serif CJK SC", serif;
  --font-footer-wordmark: "Cormorant Garamond", Georgia, serif;

  /* 字号：全站统一 6 档以内（不含页脚），桌面 1440 = 12 / 15 / 22 / 36 / 40 / 52 */
  --fs-display: clamp(42px, 4.86vw, 70px);
  --fs-h1: clamp(36px, 3.61vw, 52px);
  --fs-h2: clamp(28px, 2.5vw, 36px);
  --fs-h3: 22px;
  --fs-lead: 15px;
  --fs-body: 15px;
  --fs-ui: 15px;
  --fs-input: 15px;
  --fs-small: 12px;
  --fs-legal: 12px;
  --fs-nav: 12px;
  --fs-wordmark: 40px;
  --fs-footer-wordmark: clamp(52px, 6vw, 76px);

  /* 行高与字距 */
  --lh-display: 1.25;
  --lh-h1: 1.22;
  --lh-h2: 1.24;
  --lh-h3: 1.42;
  --lh-lead: 1.75;
  --lh-body: 1.72;
  --lh-ui: 1.45;
  --lh-small: 1.6;
  --lh-wordmark: 0.95;
  --lh-nav: 1.8;
  --track-head: 0.01em;
  --track-body: normal;
  --track-wordmark: -0.035em;

  /* 间距与栅格 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --content-max: 1280px;
  --gutter: clamp(24px, 5.5vw, 88px);
  --col-gap: 32px;
  --section-y: 80px;
  --head-gap: 32px;
  --text-max: 36em;
  --header-h: 96px;
  --hero-h: 590px;

  /* 边线、圆角、触点与动效 */
  --radius-img: 0px;
  --radius-btn: 6px;
  --radius-card: 0px;
  --btn-h: 50px;
  --btn-h-compact: 44px;
  --btn-px: 24px;
  --tap-min: 44px;
  --line-width: 1px;
  --ease: ease;
  --dur: 0.2s;

  /* 兼容旧页面/门店页变量别名（只单向指向正式令牌） */
  --paper: var(--bg);
  --cream: var(--bg-alt);
  --muted: var(--ink-2);
  --olive: var(--brand);
  --olive-light: var(--bg-alt);
  --serif: var(--font-head);
  --sans: var(--font-body);
  --space: var(--gutter);
  --white: #faf9f6;
}

:root:lang(zh-HK),
:root:lang(zh-Hant) {
  --font-head: "Cormorant Garamond", "LesBobosSerifHK", "Songti TC", "Noto Serif CJK HK", "Songti SC", "Noto Serif CJK SC", serif;
  --font-head-sm: "Cormorant Garamond", "LesBobosSerifHK", "Songti TC", "Noto Serif CJK HK", "Songti SC", "Noto Serif CJK SC", serif;
  --font-wordmark: "Cormorant Garamond", "LesBobosSerifHK", "Songti TC", "Noto Serif CJK HK", "Songti SC", "Noto Serif CJK SC", serif;
}

:root:lang(en),
:root:lang(fr),
:root:lang(de),
:root:lang(pt),
:root:lang(ru) {
  --track-head: -0.02em;
  --lh-h1: 1.12;
  --lh-h2: 1.16;
  --lh-h3: 1.3;
}

:root:lang(ja),
:root:lang(ko),
:root:lang(ar) {
  --font-head: var(--locale-sans, var(--font-body));
  --font-head-sm: var(--locale-sans, var(--font-body));
}

@media (max-width: 1024px) {
  :root {
    --gutter: 40px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 80px;
    --fs-wordmark: 36px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 24px;
    --col-gap: 16px;
    --section-y: 48px;
    --head-gap: 24px;
    --header-h: 76px;
    --hero-h: 520px;
    --hero-shade: linear-gradient(90deg, rgba(17, 22, 17, 0.67), rgba(17, 22, 17, 0.3)), linear-gradient(rgba(0, 0, 0, 0) 78%, rgba(10, 15, 12, 0.48));
    --fs-display: 36px;
    --fs-h1: 32px;
    --fs-h2: 26px;
    --fs-h3: 20px;
    --fs-lead: 14px;
    --fs-body: 14px;
    --fs-ui: 14px;
    --fs-input: 16px;
    --fs-small: 12px;
    --fs-wordmark: 36px;
    --fs-footer-wordmark: 48px;
    --lh-h1: 1.28;
    --lh-h2: 1.3;
    --lh-h3: 1.38;
  }
}
