/*
Theme Name:   HireAIPeople Child
Theme URI:    https://github.com/sasha2026-git/HAP-2026
Template:     hello-elementor
Description:  聘AI (Hire AI People) — AI 数字员工与 AI 解决方案平台。Aether Luxe AI — Minimalist Luxury。
Author:       sasha
Version: 3.10.3
Text Domain:  hireaipeople
*/

/* ==========================================================================
   0. Local fonts (SIL OFL, variable woff2)
   ========================================================================== */
@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/PlayfairDisplay-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}


@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/InterVariable-Italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
/* v3.3.0: Removed dead @font-face for Montserrat/Manrope/Hanken Grotesk
   (spec §1 only uses Playfair Display + Inter for English).
   --font-body-en / --font-label-en fallback to Inter cleanly. */

@font-face {
  font-family: 'Noto Serif SC';
  src: url('assets/fonts/NotoSerifSC-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif SC';
  src: url('assets/fonts/NotoSerifSC-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif SC';
  src: url('assets/fonts/NotoSerifSC-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SC';
  src: url('assets/fonts/NotoSansSC-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SC';
  src: url('assets/fonts/NotoSansSC-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ==========================================================================
   1. Design tokens — Aether Luxe AI
   ========================================================================== */
:root {
  /* Color */
  --surface: #f9f9f9;
  --surface-dim: #dadada;
  --surface-bright: #f9f9f9;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f3f3f3;
  --surface-container: #eeeeee;
  --surface-container-high: #e8e8e8;
  --surface-container-highest: #e2e2e2;
  --on-surface: #1a1c1c;
  --on-surface-variant: #4d4635;
  --outline: #7f7663;
  --outline-variant: #d0c5af;
  --primary: #735c00;
  --on-primary: #ffffff;
  --primary-container: #d4af37;
  /* v3.0.6: DESIGN.md secondary-fixed-dim token (Burnished Gold dim variant) */
  --secondary-fixed-dim: #e9c176;
  --on-primary-container: #554300;
  --inverse-primary: #e9c349;
  --gold-leaf: #d4af37;
  --platinum-grey: #b8b8b8;
  --ivory-white: #ffffff;
  --ink-charcoal: #1a1a1a;
  --surface-cream: #f9f9f9;
  --error: #1a1a1a;

  /* Typography */
  --font-serif: 'Playfair Display', 'Noto Serif SC', 'Noto Serif CJK SC', 'Songti SC', 'SimSun', serif;
  --fd: 'Playfair Display', serif;
  --txt-v: #444748;
  /* v3.0.6: per hireaipeople.txt — English body prefers Montserrat; Chinese falls back to Noto Sans SC */
  /* v3.0.7: 主 --font-body/--font-label 移除 Montserrat (woff2 未下载) — 避免系统字体错位 */
  --font-body: 'Inter', 'Noto Sans SC', 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-label: 'Inter', 'Noto Sans SC', 'PingFang SC', sans-serif;

  --fs-display: clamp(40px, 5.5vw, 72px);
  --fs-h1: clamp(32px, 4vw, 56px);
  --fs-h2: clamp(24px, 3vw, 42px);
  --fs-h3: clamp(20px, 1.8vw, 24px);
  --fs-h4: clamp(17px, 1.6vw, 20px);
  /* v3.0.6: align body sizes to DESIGN.md typography tokens */
  --fs-body-lg: 18px;             /* body-lg: Inter/Montserrat 18 / 400 / 1.6 */
  --fs-body: 16px;                /* body-md: Inter/Montserrat 16 / 400 / 1.6 */
  --fs-label: 12px;
  /* v3.3.0: spec §2 label-md = 14px Inter 600 (DESIGN.md label-md token) */
  --fs-label-md: 14px;
  --fs-label-mono: clamp(13px, 1vw, 14px);
  --fs-button: 14px;
  --fs-nav: 12px;
  --fs-footer: 11px;

  /* v3.0.5-fontsize: Design_System 对齐（font + fs 语言专属 + ls） */
  --font-display-en: 'Playfair Display', Georgia, serif;
  --font-display-zh: 'Noto Serif SC', 'Songti SC', serif;
  /* v3.0.6: switch English body/label to Montserrat per hireaipeople.txt */
  /* v3.3.0: spec §1 — English uses Playfair Display + Inter only; Montserrat废弃
     (was: Montserrat fallback @font-face removed; --font-body-en = Inter directly) */
  --font-body-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* v3.0.7: 完整中文 fallback 链（避免中文回退到系统字体错位） */
  --font-body-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  /* v3.3.0: spec §1 — label 也用 Inter only (Montserrat废弃) */
  --font-label-en: 'Inter', -apple-system, sans-serif;
  --font-label-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --fs-display-en: clamp(40px, 5.5vw, 72px);
  --fs-display-zh: clamp(36px, 5vw, 60px);
  --fs-h1-zh: clamp(28px, 3.5vw, 42px);
  --fs-h2-zh: clamp(24px, 2.8vw, 38px);
  /* v3.0.6: 中文 H3 卡片标题（hireaipeople.txt 中文 H3: 22-26px Noto Serif SC） */
  --fs-h3-zh: clamp(20px, 2.2vw, 26px);
  /* v3.0.6: DESIGN.md headline-lg-mobile: Playfair Display 32px / 600 / 1.2 */
  --fs-display-mobile: clamp(24px, 6vw, 32px);
  /* v3.0.6: DESIGN.md label-md letterSpacing: 0.1em (was 0.2em, too wide) */
  --ls-button: 0.1em;
  /* v3.0.6: DESIGN.md label-md letterSpacing — explicit alias for clarity */
  --ls-label: 0.1em;

  --lh-display: 1.15;
  --lh-heading: 1.2;
  --lh-heading-md: 1.3;
  /* v3.0.6: align body line-height to DESIGN.md (body-lg/md: 1.6, was 1.8 too airy) */
  --lh-body: 1.6;
  /* v3.0.7: 行高按语言区分 (中文 1.7, 英文 1.6) */
  --lh-body-en: 1.6;
  --lh-body-zh: 1.7;

  /* Shape */
  --radius-sm: 0.125rem;
  --radius-default: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Spacing */
  --unit: 8px;
  --gutter: 32px;
  --margin-mobile: 24px;
  --margin-desktop: 80px;
  --section-gap: clamp(40px, 5vw, 60px);
  --container-max: 1440px;

  /* Elevation */
  --shadow-sm: 0 4px 6px -1px rgba(26, 26, 26, 0.05);
  --shadow-card: 0 24px 60px rgba(26, 26, 26, 0.045);
  --shadow-hover: 0 32px 60px rgba(212, 175, 55, 0.07), 0 16px 40px rgba(26, 26, 26, 0.04);

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color-scheme: light;
  accent-color: var(--primary);
}

/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

body.drawer-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), opacity var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--lh-heading);
  letter-spacing: 0;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
  overflow-wrap: anywhere;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-height: 44px;
  padding: 12px 36px 12px 12px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-sm);
  background-color: var(--surface-container-lowest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23775a19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: var(--on-surface);
}

select:focus,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

select option,
select optgroup {
  background: var(--surface-container-lowest);
  color: var(--on-surface);
}

select option:checked,
select option:hover {
  background: linear-gradient(0deg, var(--primary-container), var(--primary-container));
  color: var(--ink-charcoal);
}

::selection {
  background: rgba(212, 175, 55, 0.28);
  color: var(--ink-charcoal);
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: var(--surface-container-lowest);
  color: var(--primary);
  clip: auto;
}

/* v3.7.16: keep archive, list, and single templates inside the black-gold system.
   Higher specificity prevents Elementor or cached page styles from re-linking
   titles and CTAs with any non-brand accent in any link state. */
html body .archive-header__title,
html body .post-card__title,
html body .post-card__title a:link,
html body .post-card__title a:visited,
html body .post-card__title a:hover,
html body .post-card__title a:active,
html body .post-card__title a:focus-visible,
html body .post-card:hover .post-card__title,
html body .post-card:hover .post-card__title a:link,
html body .post-card:hover .post-card__title a:visited,
html body .post-card:hover .post-card__title a:hover,
html body .post-card:hover .post-card__title a:active,
html body .post-card:hover .post-card__title a:focus-visible,
html body .insight-row__title,
html body .insight-row__title a:link,
html body .insight-row__title a:visited,
html body .insight-row__title a:hover,
html body .insight-row__title a:active,
html body .insight-row__title a:focus-visible,
html body .insight-row:hover .insight-row__title,
html body .insight-row:hover .insight-row__title a:link,
html body .insight-row:hover .insight-row__title a:visited,
html body .insight-row:hover .insight-row__title a:hover,
html body .insight-row:hover .insight-row__title a:active,
html body .insight-row:hover .insight-row__title a:focus-visible {
  color: var(--ink-charcoal, #1a1c1c);
  -webkit-text-fill-color: var(--ink-charcoal, #1a1c1c);
}

html body .btn-ghost:link,
html body .btn-ghost:visited,
html body .post-card__cta:link,
html body .post-card__cta:visited,
html body .post-card__cta:hover,
html body .post-card__cta:active,
html body .post-card__cta:focus-visible,
html body .insight-row__cta:link,
html body .insight-row__cta:visited,
html body .insight-row__cta:hover,
html body .insight-row__cta:active,
html body .insight-row__cta:focus-visible,
html body .archive-header__description a:link,
html body .archive-header__description a:visited,
html body .archive-header__description a:hover,
html body .archive-header__description a:active,
html body .archive-header__description a:focus-visible,
html body .hireai-link--ghost:link,
html body .hireai-link--ghost:visited,
html body .hireai-link--ghost:hover,
html body .hireai-link--ghost:active,
html body .hireai-link--ghost:focus-visible,
html body .hireai-prose a:link,
html body .hireai-prose a:visited,
html body .hireai-prose a:hover,
html body .hireai-prose a:active,
html body .hireai-prose a:focus-visible {
  color: #775a19;
  border-bottom-color: #775a19;
}

html body .btn-ghost:hover,
html body .btn-ghost:active,
html body .btn-ghost:focus-visible,
html body .post-card__cta:hover,
html body .post-card__cta:active,
html body .post-card__cta:focus-visible,
html body .insight-row__cta:hover,
html body .insight-row__cta:active,
html body .insight-row__cta:focus-visible,
html body .archive-header__description a:hover,
html body .archive-header__description a:active,
html body .archive-header__description a:focus-visible,
html body .hireai-link--ghost:hover,
html body .hireai-link--ghost:active,
html body .hireai-link--ghost:focus-visible,
html body .hireai-prose a:hover,
html body .hireai-prose a:active,
html body .hireai-prose a:focus-visible {
  color: #e9c176;
  border-bottom-color: #e9c176;
}

/* ==========================================================================
   3. Layout / typography utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
}

.section {
  padding-block: var(--section-gap);
}

.section--surface {
  background: var(--surface-container-lowest);
}

/* v3.0.6: 中文 H1 60-64px (hireaipeople.txt 中文 H1) — 在中文环境下用更大显示字号；letter-spacing 收紧到 -0.02em */
.display-lg {
  font-family: var(--font-display-en, var(--font-serif));
  font-size: var(--fs-display);
  font-weight: 700; /* v3.3.0: spec §2 display-lg weight=700 (was 600) */
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;

  /* v3.2.0 hotfix: 渐变金（模拟金属反射），仅 .display-lg 使用；fallback 兼容 background-clip:text 不支持的浏览器 */
  background: linear-gradient(45deg, #775a19, #fed488, #785a1a);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #775a19; /* fallback（不支持 background-clip:text 的浏览器降级） */
}

/* v3.0.6: DESIGN.md headline-lg-mobile 32px — 中文环境用紧凑 H1 */
html[lang^="zh"] .display-lg,
html[lang^="zh"] .display,
html[lang^="zh"] h1,
html[lang^="zh"] .h1 {
  font-size: clamp(32px, 5vw, 64px);
}

.headline-lg,
h1,
.page-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: var(--lh-heading);
  text-wrap: balance;
}

.headline-md,
h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: var(--lh-heading-md);
  text-wrap: balance;
}

.headline-sm,
h3,
h4 {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: var(--lh-heading-md);
  text-wrap: balance;
}

h4 {
  font-size: var(--fs-h4);
}

.body-lg {
  font-size: var(--fs-body-lg);
  font-weight: 400; /* v3.3.0: spec §2 body-lg weight=400 (was 300, was light) */
  line-height: var(--lh-body);
  letter-spacing: 0.01em;
}

.body-md {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
}

/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing) — was 0.12em */
.label,
.label-caps {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* v3.3.0: spec §2 label-md = 14px Inter 600 uppercase 0.1em — apply globally */
.label-md {
  font-family: var(--font-label);
  font-size: var(--fs-label-md);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing) — was 0.12em */
.label-mono {
  font-family: var(--font-label);
  font-size: var(--fs-label-mono);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-primary {
  color: var(--primary);
}

.text-gold {
  color: var(--gold-leaf);
}

.text-muted {
  color: var(--on-surface-variant);
}

/* ==========================================================================
   4. Header / mobile drawer — 0819 three-column top nav
      0819 palette is scoped to these components so it overrides the
      theme's gold-brown global :root tokens.
   ========================================================================== */
.hai-header,
.hai-footer {
  --hai-surface-lowest: #ffffff;
  --hai-primary: #000000;
  --hai-on-primary: #ffffff;
  --hai-on-surface-variant: #444748;
  --hai-secondary: #775a19;
  --hai-outline-variant: rgba(196, 199, 199, 0.3);
}

.hai-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 249, 249, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hai-outline-variant);
}

.hai-header__inner {
  display: flex;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
  gap: 0;
}

/* v3.5.7-p13 (header layout fix, mobile-first):
   fluid padding via clamp() - no hard 768px breakpoint that competes with 1280px nav. */
@media (min-width: 768px) {
  .hai-header__inner { padding: 0 clamp(16px, 5vw, 80px); }
}

/* Main nav — horizontal, right of logo */
.hai-header__nav {
  flex: 1 1 auto;
  display: none;
  /* v3.5.7-p13: fluid padding-right using clamp; no hard breakpoint edge. */
  padding-right: clamp(12px, 1.6vw, 36px);
  min-width: 0;
}
/* v3.5.7-p22 (header layout fix): lower nav breakpoint from 1280px to 1024px
   so mainstream PC laptops (1024-1279px) see horizontal nav, not hamburger.
   Fluid gap (clamp(12px, 1.3vw, 22px)) already keeps 6 items fitting. */
@media (min-width: 1024px) {
  .hai-header__nav { display: flex; }
}

.hai-header__nav-list {
  display: flex;
  align-items: center;
  /* v3.5.7-p13: fluid gap so nav fits at any PC width. */
  gap: clamp(12px, 1.3vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* label-md: 14px / Inter / 600 / uppercase / 0.1em */

/* Prevent nav items from being compressed and text wrapping vertically */
.hai-header__nav-list li {
  flex-shrink: 0;
}
.hai-header__nav-list li a {
  font-family: var(--font-label, Inter), sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hai-on-surface-variant, #444748);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.hai-header__nav-list li a:hover,
.hai-header__nav-list .current-menu-item > a {
  color: var(--hai-primary, #000);
  border-bottom-color: var(--hai-secondary, #775a19);
}

/* Left logo */
.hai-header__brand {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.hai-header__logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .hai-header__logo { height: 56px; }
}

/* Right actions */
.hai-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* v3.5.7-p13: fluid gap so Account + Lang + (mobile) hamburger never overflow. */
  gap: clamp(6px, 0.6vw, 10px);
  /* v3.5.7-p13: small right padding to keep Lang from kissing the viewport edge. */
  padding-right: clamp(8px, 1.2vw, 20px);
  min-width: 0;
}

/* Language pill — 白底黑框黑字 */
/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing) — was 0.08em */
/* v3.1.0 (Bug 4): 浅金色背景 + 金色细描边，与「我的账户」黑字协调但带品牌色 */
.hai-header__lang {
  font-family: var(--font-label, 'Montserrat', 'Inter'), sans-serif;
  /* v3.5.7-p12 (header layout fix): shrink lang pill so it fits at 1280px. */
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(119, 90, 25, 0.35);
  border-radius: var(--radius-full, 9999px);
  background: linear-gradient(135deg, rgba(233, 193, 118, 0.18), rgba(119, 90, 25, 0.06));
  color: #1a1c1c;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.hai-header__lang:hover,
.hai-header__lang:focus-visible,
.hai-header__lang.is-en,
.hai-header__lang.is-zh {
  background: linear-gradient(135deg, #e9c176 0%, #775a19 100%);
  color: #fff;
  border-color: transparent;
}

.hai-header__icon {
  font-size: 24px;
  line-height: 1;
}

/* Mobile menu toggle */
.hai-header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--hai-primary, #000);
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.hai-header__account.hai-header__account,
.hai-header__lang.hai-header__lang,
.hai-header__menu-toggle.hai-header__menu-toggle {
  color: var(--hai-primary, #000);
  background: none;
  border: none;
}

.hai-header__account.hai-header__account:hover,
.hai-header__account.hai-header__account:focus-visible,
.hai-header__menu-toggle.hai-header__menu-toggle:hover,
.hai-header__menu-toggle.hai-header__menu-toggle:focus-visible {
  color: var(--hai-secondary, #775a19);
}
/* v3.5.7-p22 (header layout fix): single breakpoint at 1024px.
   - >=1024px viewport: nav visible, hamburger hidden.
   - <1024px viewport: hamburger visible (mobile uses drawer).
   !important defends against JS-injected display toggles. */
@media (min-width: 1024px) {
  .hai-header__menu-toggle,
  .mobile-drawer,
  .hai-drawer-overlay {
    display: none !important;
  }
}
/* v3.8.0 (allscented mobile icon bar): portrait + language + hamburger stay
   visible below the desktop breakpoint. Desktop keeps the original text button. */
@media (max-width: 1023px) {
  .hai-header__inner {
    min-height: 50px;
    padding-inline: 16px;
  }

  .hai-header__actions {
    gap: 16px;
    padding-right: 0;
  }

  .hai-header__account {
    display: inline-flex;
    font-size: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    color: var(--hai-primary, #000);
    box-shadow: none;
  }

  .hai-header__account .hai-header__icon {
    font-size: 24px;
  }

  .hai-header__account:hover,
  .hai-header__account:focus-visible {
    background: none;
    color: var(--hai-secondary, #775a19);
  }

  .hai-header__lang {
    padding: 0;
    background: none;
    border: none;
    color: var(--hai-primary, #000);
    font-size: 12px;
  }

  .hai-header__lang:hover,
  .hai-header__lang:focus-visible,
  .hai-header__lang.is-en,
  .hai-header__lang.is-zh {
    background: none;
    color: var(--hai-secondary, #775a19);
  }

  .hai-header__logo {
    height: 36px;
  }
}

/* Mobile drawer overlay */
.hai-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 55;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 28, 28, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: 100vw;
  height: 100dvh;
  overflow-y: auto;
  padding: 24px 20px;
  border-left: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
  box-shadow: var(--shadow-card);
  transform: translateX(102%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}

.mobile-drawer__nav {
  flex: 1 1 auto;
  overflow-y: auto;
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--outline-variant);
}

.mobile-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--on-surface);
  background: none;
  border: none;
  padding: 0;
}

/* Parent reset loads after child styles and recolors plain buttons off-brand,
   so drawer controls need this scoped reset to keep the theme token color. */
.mobile-drawer__close.mobile-drawer__close {
  color: var(--on-surface);
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

body .mobile-drawer .mobile-drawer__menu a {
  color: var(--on-surface);
}

body .mobile-drawer .mobile-drawer__menu a:hover,
body .mobile-drawer .mobile-drawer__menu a:focus-visible,
body .mobile-drawer .mobile-drawer__menu .current-menu-item > a {
  color: var(--primary);
}

.mobile-drawer__menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  list-style: none;
  margin: 0;
  gap: 18px;
  padding: 36px 0 0;
}

.mobile-drawer__menu li {
  display: block;
  width: 100%;
}

.mobile-drawer__menu a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 2px;
  white-space: normal;
  text-decoration: none;
}

.mobile-drawer__menu a:hover,
.mobile-drawer__menu a:focus-visible,
.mobile-drawer__menu .current-menu-item > a {
  color: var(--primary);
}

.mobile-drawer__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--outline-variant);
}

.mobile-drawer__account {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  gap: 10px;
  color: var(--on-surface);
  text-decoration: none;
  font-family: var(--font-label, Inter), sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.mobile-drawer__account:hover,
.mobile-drawer__account:focus-visible {
  color: var(--primary);
}

.mobile-drawer .hai-header__lang {
  justify-self: end;
  width: auto;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(119, 90, 25, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(233, 193, 118, 0.2), rgba(119, 90, 25, 0.08));
  color: #1a1c1c;
  font-size: 12px;
}

.mobile-drawer .hai-header__lang:hover,
.mobile-drawer .hai-header__lang:focus-visible,
.mobile-drawer .hai-header__lang.is-en,
.mobile-drawer .hai-header__lang.is-zh {
  background: linear-gradient(135deg, #e9c176 0%, #775a19 100%);
  color: #fff;
}

.mobile-drawer__cta {
  width: 100%;
}

/* Scope vertical nav rules to the drawer. This supports both WP-assigned
   menus (.mobile-drawer__menu) and hireai_fallback_nav()'s desktop list. */
.mobile-drawer__nav ul,
.mobile-drawer__nav .mobile-drawer__menu,
.mobile-drawer__nav .hai-header__nav-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  list-style: none;
  margin: 0;
  gap: 18px;
  padding: 36px 0 0;
}

.mobile-drawer__nav ul li {
  display: block;
  width: 100%;
  flex-shrink: 0;
}

.mobile-drawer__nav ul li a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 2px;
  white-space: normal;
  text-decoration: none;
  border-bottom: none;
}

/* ==========================================================================
   5. Buttons / links
   ========================================================================== */
/* v3.0.6: 主按钮高度 56px (hireaipeople.txt) — letter-spacing 0.1em (label-md spec) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-default);
  padding: 16px 32px;
  min-height: 56px;
  font-family: var(--font-label);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(115, 92, 0, 0.08);
}

.btn-solid {
  border: 1px solid var(--gold-leaf);
  background: var(--gold-leaf);
  color: var(--ink-charcoal);
}

.btn-solid:hover {
  background: var(--inverse-primary);
}

.btn-ghost {
  position: relative;
  padding: 4px 2px 7px;
  border-bottom: 1px solid rgba(115, 92, 0, 0.55);
  border-radius: 0;
  color: var(--on-surface);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing) */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--primary);
  font-family: var(--font-label);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.text-link:hover {
  opacity: 1;
}

.text-link .hireai-icon {
  transition: transform var(--transition);
}

.text-link:hover .hireai-icon {
  transform: translateX(3px);
}

.btn-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-full);
  background: var(--surface-container-lowest);
  color: var(--on-surface-variant);
  transition: border-color var(--transition), color var(--transition);
}

.btn-round:hover,
.btn-round.is-active {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-round:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(600px, 80vh, 860px);
  overflow: hidden;
  text-align: center;
  padding-block: clamp(64px, 9vw, 120px);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--surface-container-high);
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}

.hero__media-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(249, 249, 249, 0.7) 0%,
    rgba(249, 249, 249, 0.3) 48%,
    var(--surface) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  margin-inline: auto;
  padding-inline: 0;
}

.hero__kicker {
  margin-bottom: 20px;
  color: var(--primary);
}

.hero h1 {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 300;
}

.hero p {
  max-width: 680px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  color: var(--on-surface-variant);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   7. Page hero
   ========================================================================== */
.page-hero {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.page-hero--center {
  text-align: center;
}

.page-hero__kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--primary);
}

.page-hero__title {
  max-width: 980px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.page-hero--center .page-hero__title {
  margin-inline: auto;
}

.page-hero__subtitle {
  max-width: 720px;
  color: var(--on-surface-variant);
}

.page-hero--center .page-hero__subtitle {
  margin-inline: auto;
}

/* Shared non-home page hero, matched to Cases & Insights */
.hireai-page-hero {
  display: block !important;
  min-height: auto !important;
  padding: 24px 24px 60px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  background: #faf9f9 !important;
  border-radius: 0 !important;
  text-align: center !important;
  align-items: unset !important;
  position: relative !important;
}
.hireai-page-hero h1 {
  color: #1a1c1c !important;
  margin-bottom: 12px !important;
}
.hireai-page-hero .kicker {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: #775a19 !important;
  display: block !important;
  margin-bottom: 12px !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.hireai-page-hero h1 {
  font-family: var(--fd);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 20px;
}
.hireai-page-hero h1 {
  background: linear-gradient(135deg, #775a19 0%, #fed488 50%, #775a19 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}
.hireai-page-hero p {
  font-size: clamp(14px, 1.2vw, 16px) !important;
  line-height: 1.6 !important;
  color: var(--txt-v) !important;
  margin: 0 auto !important;
}
.hireai-page-hero__background {
  display: none !important;
}

/* ==========================================================================
   8. Section headers / module head
   ========================================================================== */
.module-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.module-head__copy {
  max-width: 680px;
}

.module-head__kicker {
  display: none;
  margin-bottom: 16px;
  color: var(--primary);
}

.module-head h2 {
  margin-bottom: 12px;
}

.module-head p {
  margin: 0;
  color: var(--on-surface-variant);
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 5vw, 48px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--outline-variant);
}

.section-head--split h2 {
  margin: 0;
}

.section-head__meta {
  font-family: var(--font-label);
  font-size: var(--fs-label-mono);
  color: var(--gold-leaf);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   9. Employee cards (home)
   ========================================================================== */
.employee-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gutter);
}

.employee-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 384px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.employee-card__media {
  position: absolute;
  inset: 0;
  background-color: var(--surface-container-high);
  background-size: cover;
  background-position: center;
  opacity: 0.72;
  transition: opacity 0.5s ease, transform 0.7s ease;
}

.employee-card:hover .employee-card__media {
  opacity: 0.9;
  transform: scale(1.04);
}

.employee-card__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 24px 22px;
  background: linear-gradient(to top, rgba(249, 249, 249, 0.96) 0%, rgba(249, 249, 249, 0.55) 58%, rgba(249, 249, 249, 0) 100%);
}

.employee-card__role {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
}

.employee-card__name {
  font-size: var(--fs-h3);
}

.employee-card__line {
  width: 0;
  height: 1px;
  margin-top: 14px;
  background: var(--primary);
  transition: width 0.5s ease;
}

.employee-card--lg-only {
  display: none;
}

@media (min-width: 1024px) {
  .employee-card--lg-only {
    display: flex;
  }
}

.employee-card:hover .employee-card__line {
  width: 100%;
}

/* ==========================================================================
   10. Solutions cards
   ========================================================================== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.solution-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.solution-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.solution-card:hover .solution-card__media {
  transform: scale(1.04);
}

.solution-card__media {
  position: relative;
  height: clamp(200px, 22vw, 240px);
  background-color: var(--surface-container-high);
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.solution-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: flex-start;
  flex: 1;
  padding: clamp(24px, 3vw, 32px);
}

.solution-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-full);
  color: var(--primary);
}

.solution-card__cat {
  margin-bottom: 10px;
  color: var(--primary);
}

.solution-card h3 {
  margin-bottom: 12px;
}

.solution-card p {
  margin: 0 0 18px;
  color: var(--on-surface-variant);
}

.solution-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   11. Cases / insight cards
   ========================================================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px);
}

.case-card {
  cursor: pointer;
}

.case-card__media {
  display: block;
  position: relative;
  height: clamp(220px, 24vw, 260px);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  background-color: var(--surface-container);
  background-size: cover;
  background-position: center;
}

.case-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(238, 238, 238, 0.06);
}

.case-card__kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
}

.case-card h3 {
  margin-bottom: 12px;
  transition: color var(--transition);
}

.case-card:hover h3 {
  color: var(--primary);
}

.case-card p {
  margin: 0;
  color: var(--on-surface-variant);
}

.insight-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.insight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.insight-row__date,
.insight-row__cat {
  display: block;
  font-family: var(--font-label);
  font-size: var(--fs-label-mono);
  color: var(--gold-leaf);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-row__cat {
  margin-top: 10px;
  color: var(--on-surface-variant);
}

.insight-row h3 {
  margin-bottom: 12px;
  transition: color var(--transition);
}

.insight-row:hover h3 {
  color: var(--primary);
}

.insight-row p {
  max-width: 720px;
  margin: 0;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   12. FAQ
   ========================================================================== */
.faq-search-wrap {
  position: relative;
  max-width: 560px;
  margin: clamp(28px, 4vw, 40px) auto 0;
}

.faq-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  color: var(--on-surface-variant);
  transition: border-color var(--transition);
}

.faq-search:focus-within {
  border-color: var(--primary);
}

.faq-search input {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--on-surface);
}

.faq-search input::placeholder {
  color: rgba(77, 70, 53, 0.55);
}

.faq-search input:focus {
  outline: none;
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.faq-category {
  position: relative;
  padding: 14px 2px 18px;
  margin-bottom: -1px;
  border-bottom: 1px solid transparent;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  transition: color var(--transition), border-color var(--transition);
}

.faq-category:hover,
.faq-category.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.faq-panel {
  max-width: 768px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-width: 0;
  padding: 24px 0;
  text-align: left;
}

.faq-item__q {
  min-width: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  line-height: var(--lh-heading-md);
  overflow-wrap: anywhere;
  color: var(--on-surface);
  transition: color var(--transition);
}

.faq-item__toggle:hover .faq-item__q {
  color: var(--primary);
}

.faq-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s ease-out, opacity 0.32s ease-out;
}

.faq-item.is-open .faq-item__a {
  max-height: 640px;
  opacity: 1;
  padding-bottom: 24px;
}

.faq-item__a-inner {
  max-width: 680px;
  padding-right: 48px;
}

.faq-item__a p {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--on-surface-variant);
}

.faq-empty {
  padding: 24px 0;
  text-align: center;
  color: var(--on-surface-variant);
}

mark {
  background: rgba(212, 175, 55, 0.28);
  color: var(--on-surface);
}

/* ==========================================================================
   13. Employee directory (page)
   ========================================================================== */
.employee-directory {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: clamp(80px, 10vw, 120px);
}

.employee-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: var(--gutter);
}

.employee-row__media {
  position: relative;
  grid-column: 1 / span 7;
  min-height: clamp(360px, 44vw, 600px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--surface-container-high);
  background-size: cover;
  background-position: center;
}

.employee-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employee-row__content {
  position: relative;
  z-index: 2;
  grid-column: 6 / span 6;
  margin-left: -32px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.employee-row--reverse .employee-row__media {
  grid-column: 6 / span 7;
}

.employee-row--reverse .employee-row__content {
  grid-column: 1 / span 6;
  margin-left: 0;
  margin-right: -32px;
}

.employee-row__role {
  margin-bottom: 14px;
  font-family: var(--font-label);
  font-size: var(--fs-label-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-leaf);
}

.employee-row__name {
  margin-bottom: 18px;
}

.employee-row__intro {
  margin-bottom: 24px;
  color: var(--on-surface-variant);
}

.employee-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.employee-tag {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   14. Product / solution catalog
   ========================================================================== */
.solution-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  margin-bottom: clamp(40px, 6vw, 64px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--outline-variant);
}

.solution-filter {
  padding: 6px 2px 9px;
  border-bottom: 1px solid transparent;
  font-family: var(--font-label);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  transition: color var(--transition), border-color var(--transition);
}

.solution-filter:hover,
.solution-filter.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.hireai-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.product-card__media {
  position: relative;
  height: clamp(220px, 24vw, 260px);
  overflow: hidden;
  background-color: var(--surface-container-high);
  background-size: cover;
  background-position: center;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-default);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-primary-container);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3.5vw, 32px);
}

.product-card__title {
  margin-bottom: 8px;
}

.product-card__operative {
  margin-bottom: 20px;
  font-family: var(--font-label);
  font-size: var(--fs-label-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.product-card__excerpt {
  flex: 1;
  margin-bottom: 24px;
  color: var(--on-surface-variant);
}

.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--outline-variant);
}

.product-card__retainer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.product-card__price {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--on-primary-container);
}

.product-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--on-primary-container);
  transition: transform var(--transition);
}

.product-card:hover .product-card__arrow {
  transform: translateX(4px);
}

.solution-empty {
  margin-top: 32px;
  text-align: center;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   15. Pagination
   ========================================================================== */
.hireai-pagination {
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 7vw, 80px);
}

.hireai-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 4px;
  padding: 0 12px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-default);
  background: var(--surface-container-lowest);
  color: var(--on-surface-variant);
  font-family: var(--font-label);
  font-size: var(--fs-label-mono);
}

.hireai-pagination .page-numbers.current,
.hireai-pagination .page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   16. Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.contact-form-card {
  grid-column: 1 / span 8;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: clamp(24px, 3vw, 32px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.form-field {
  position: relative;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--outline-variant);
  border-radius: 0;
  background: transparent;
  color: var(--on-surface);
  transition: border-color var(--transition);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 1px 0 0 var(--primary);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: transparent;
}

.form-field label {
  position: absolute;
  left: 0;
  top: 13px;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.form-field input:focus + label,
.form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -14px;
  color: var(--primary);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 24px;
  grid-column: 9 / span 4;
}

.contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}

.contact-card:hover {
  border-color: rgba(115, 92, 0, 0.5);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  color: var(--primary);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-surface);
}

.contact-card__value {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--on-surface);
  overflow-wrap: anywhere;
}

.contact-qr {
  align-items: center;
  text-align: center;
}

.contact-qr h3 {
  width: 100%;
  text-align: left;
}

.contact-qr__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  padding: 8px;
  border: 1px solid var(--outline-variant);
  background: var(--ivory-white);
  box-shadow: var(--shadow-sm);
}

.contact-qr__image img,
.contact-qr__image .media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-qr p {
  margin: 12px 0 0;
  color: var(--on-surface-variant);
}

.contact-address {
  padding-top: 24px;
  border-top: 1px solid var(--outline-variant);
}

.contact-address h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-surface);
}

.contact-address p {
  margin: 0;
  color: var(--on-surface);
}

.form-message {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-default);
  background: var(--surface-container-low);
  color: var(--on-surface);
}

.form-message--error {
  border-color: rgba(119, 90, 25, 0.4);
  color: var(--error);
}

/* ==========================================================================
   17. WooCommerce single
   ========================================================================== */
.product-single {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 7vw, 96px);
}

.product-single__gallery {
  position: relative;
}

.product-single__gallery .woocommerce-product-gallery {
  margin: 0;
}

.product-single__gallery img {
  width: 100%;
  object-fit: cover;
}

.product-single__summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: clamp(0px, 4vw, 48px);
}

.product-single__cat {
  align-self: flex-start;
  margin-bottom: 24px;
}

.chip {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--platinum-grey);
  border-radius: var(--radius-default);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-charcoal);
}

.product-single__title {
  margin-bottom: 12px;
}

.product-single__price-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: var(--fs-body-lg);
  color: var(--on-surface-variant);
}

.product-single__price-line .price {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--ink-charcoal);
}

.product-single__divider {
  width: 48px;
  height: 1px;
  margin-bottom: 32px;
  background: var(--gold-leaf);
}

.product-single__excerpt {
  margin-bottom: 32px;
  color: var(--on-surface-variant);
}

.product-single__features {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 20px;
  margin-bottom: 32px;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.product-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--gold-leaf);
}

.product-feature h4 {
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-surface);
}

.product-feature p {
  margin: 0;
  color: var(--on-surface-variant);
}

.product-single__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.product-single__actions .btn {
  flex: 1 1 220px;
}

.product-single__meta,
.product-single .summary .product_meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--outline-variant);
  color: var(--on-surface-variant);
  font-size: var(--fs-body);
}

.product-single__meta a,
.product-single .summary .product_meta a {
  color: var(--primary);
}

.woocommerce form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.woocommerce form.cart .qty {
  width: 80px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-default);
  background: var(--surface-container-lowest);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border: 1px solid var(--gold-leaf);
  border-radius: var(--radius-default);
  padding: 14px 24px;
  background: var(--gold-leaf);
  color: var(--ink-charcoal);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   18. Blog / archive / single post / page content
   ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.post-card__media {
  position: relative;
  height: clamp(200px, 22vw, 240px);
  overflow: hidden;
  background-color: var(--surface-container-high);
  background-size: cover;
  background-position: center;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  justify-content: space-between;
  padding: 24px;
}

.post-card__meta {
  margin-bottom: 14px;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.post-card__title {
  margin-bottom: 12px;
}

.post-card__excerpt {
  margin-bottom: 24px;
  color: var(--on-surface-variant);
}

.post-card__cta {
  align-self: flex-start;
}

.single-layout {
  padding-block: clamp(48px, 7vw, 96px);
}

.single-layout__header {
  max-width: 900px;
  margin-bottom: 48px;
}

.single-layout__meta {
  margin-top: 20px;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.single-layout__content,
.page-content {
  max-width: 900px;
}

.single-layout__content > *,
.page-content > * {
  max-width: 100%;
}

.single-layout__content img,
.page-content img {
  height: auto;
  border-radius: var(--radius-lg);
}

.single-layout__content h2,
.single-layout__content h3,
.page-content h2,
.page-content h3 {
  margin-top: 1.4em;
  margin-bottom: 0.6em;
}

.single-layout__content p,
.page-content p {
  margin-bottom: 1.2em;
  color: var(--on-surface-variant);
}

.single-layout__content ul,
.single-layout__content ol,
.page-content ul,
.page-content ol {
  margin: 0 0 1.2em 1.4em;
  list-style: disc;
  color: var(--on-surface-variant);
}

.single-layout__content ol,
.page-content ol {
  list-style: decimal;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.table-scroll table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.table-scroll th,
.table-scroll td {
  padding: 12px;
  border: 1px solid var(--outline-variant);
  text-align: left;
}

.archive-header {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.archive-header__kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--primary);
}

.archive-header__title {
  margin-bottom: 16px;
}

.archive-header__description {
  max-width: 720px;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   19. CTA / footer / 404
   ========================================================================== */
.cta-section {
  padding-block: clamp(72px, 10vw, 120px);
}

.cta-section__inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 28px;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   4b. Footer — redesigned (0819)
   ========================================================================== */
.hai-footer {
  background: var(--hai-surface-lowest, #ffffff);
  border-top: 1px solid var(--hai-outline-variant, rgba(196, 199, 199, 0.3));
}

.hai-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 20px;
}
@media (min-width: 768px) {
  .hai-footer__inner { padding: 120px 80px; }
}

/* Footer logo */
.hai-footer__logo-wrap {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hai-footer__logo {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .hai-footer__logo { height: 72px; }
}

/* Footer nav — policy links */
.hai-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}


/* Prevent footer nav text wrapping vertically */
.hai-footer__nav-list li {
  flex-shrink: 0;
}
/* body-md: 16px / Inter / 400 */
.hai-footer__nav-list li a {
  font-family: var(--font-body, Inter), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--hai-on-surface-variant, #444748);
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}
.hai-footer__nav-list li a:hover {
  color: var(--hai-secondary, #775a19);
}

/* Social icons row with top/bottom border dividers */
.hai-footer__social {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--hai-outline-variant, rgba(196, 199, 199, 0.3));
  border-bottom: 1px solid var(--hai-outline-variant, rgba(196, 199, 199, 0.3));
  padding: 32px 0;
}

.hai-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.6);
  transition: color 0.3s;
}
.hai-footer__social-link:hover {
  color: var(--hai-primary, #000);
}

.hai-footer__social-icon {
  font-size: 24px;
  line-height: 1;
}

/* Copyright — body-md: 16px */
.hai-footer__copyright {
  font-family: var(--font-body, Inter), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--hai-on-surface-variant, #444748);
  text-align: center;
  margin: 0;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding-block: 80px;
  text-align: center;
}

.not-found__inner {
  max-width: 720px;
}

.not-found h1 {
  margin-bottom: 20px;
}

.not-found p {
  margin-bottom: 32px;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   19.5 Grid overflow safety / shared button aliases
   ========================================================================== */
.employee-grid > *,
.solution-grid > *,
.hireai-product-grid > *,
.post-grid > *,
.case-grid > *,
.form-grid > *,
.employee-row > *,
.insight-row > *,
.contact-grid > *,
.product-single > * {
  min-width: 0;
}

.btn-primary {
  border: 1px solid var(--gold-leaf);
  background: var(--gold-leaf);
  color: var(--ink-charcoal);
}

.btn-primary:hover {
  background: var(--inverse-primary);
  border-color: var(--inverse-primary);
}

.btn-secondary {
  border: 1px solid var(--platinum-grey);
  background: var(--surface-container-lowest);
  color: var(--ink-charcoal);
}

.btn-secondary:hover {
  border-color: var(--ink-charcoal);
}

.btn-lg {
  padding: 18px 36px;
}

.cta-band {
  padding-block: clamp(72px, 10vw, 120px);
  background: var(--surface-container-lowest);
  border-top: 1px solid var(--outline-variant);
}

.cta-band__inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.cta-band__kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--primary);
}

.cta-band__title {
  margin-bottom: 16px;
}

.cta-band__subtitle {
  margin-bottom: 28px;
  color: var(--on-surface-variant);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   20. Reveal
   ========================================================================== */
[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   21. Responsive
   ========================================================================== */

@media (min-width: 768px) {
  .container {
    max-width: min(100%, 1440px);
    padding-inline: 0;
  }
}

@media (max-width: 1100px) {
  .hireai-product-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid {
    gap: 32px;
  }

  .contact-form-card {
    grid-column: 1 / span 7;
  }

  .contact-side {
    grid-column: 8 / span 5;
  }
}

@media (max-width: 1023px) {
  .employee-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Mobile: hide desktop nav actions (handled by hai-header CSS media queries) */

  .employee-row {
    gap: 0;
  }

  .employee-row__media,
  .employee-row__content {
    grid-column: 1 / -1;
  }

  .employee-row__media {
    min-height: 420px;
  }

  .employee-row__content {
    margin: -56px 20px 0;
  }

  .employee-row--reverse .employee-row__content {
    margin: -56px 20px 0;
  }

  .product-single {
    grid-template-columns: 1fr;
  }

  .product-single__summary {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: min(100%, 1440px);
  }

  .employee-grid,
  .solution-grid,
  .hireai-product-grid,
  .post-grid,
  .case-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .module-head,
  .section-head--split {
    flex-direction: column;
  min-width: 0;
    align-items: flex-start;
  }

  .hero {
    min-height: 620px;
  }

  .hero__actions,
  .product-single__actions {
    width: 100%;
  }

  .hero__actions .btn,
  .product-single__actions .btn {
    width: 100%;
  }

  .case-card__media {
    height: 220px;
  }

  .insight-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .insight-row h3 {
    font-size: var(--fs-h3);
  }

  .employee-row__media {
    min-height: 360px;
  }

  .employee-row__content {
    margin: -44px 16px 0;
  }

  .contact-form-card,
  .contact-side {
    grid-column: 1 / -1;
  }

  .contact-form-card {
    padding: 24px;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }

  .hai-footer__inner {
    gap: 24px;
  }

  .faq-panel {
    padding: 20px;
  }

  .faq-item__q {
    font-size: var(--fs-h3);
  }

  .faq-item__a-inner {
    padding-right: 0;
  }

  .table-scroll {
    margin-inline: -8px;
    padding-inline: 8px;
  }
}

@media (max-width: 479px) {
  .container {
    max-width: min(100%, 1440px);
    padding-inline: 0;
  }

  .hai-header__logo,
  .header-logo-img {
    height: 44px;
    max-height: 44px;
  }

  .hai-header__inner {
    min-height: 56px;
    padding-block: 8px 0;
  }

  .employee-row__media {
    min-height: 320px;
  }

  .employee-row__content {
    padding: 24px;
  }

  .contact-qr__image {
    width: 160px;
    height: 160px;
  }
}

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

/* ==========================================================================
   22. 第三方覆盖 — 语言切换器 & 移动端菜单按钮（对齐 Aether Luxe 设计稿）
   ========================================================================== */

/* 隐藏第三方浮动语言切换卡片（TranslatePress 等底部悬浮 "EN ^" 组件；
   主题右上角已内置 ZH/EN 语言切换，悬浮卡片冗余且遮挡内容） */
#trp-floater-ls,
.trp-floater-ls,
.trp-language-switcher-container#trp-floater-ls,
.trp-floater-ls-codes,
.trp-floater-ls-names,
.trp-floater-ls-flags {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Elementor 导航菜单按钮：统一为设计稿金边风格，消除玫红/紫红边框 */
.elementor-menu-toggle {
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  background: rgba(212, 175, 55, 0.08) !important;
  color: var(--on-surface) !important;
  border-radius: 12px !important;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.elementor-menu-toggle:hover,
.elementor-menu-toggle:focus-visible {
  background: rgba(212, 175, 55, 0.18) !important;
  border-color: var(--gold-leaf) !important;
}
.elementor-menu-toggle .elementor-menu-toggle__icon--open,
.elementor-menu-toggle .elementor-menu-toggle__icon--close {
  color: inherit !important;
  fill: currentColor !important;
}

/* 其他常见移动端菜单按钮兜底（同样消除玫红/紫红边框） */
button.menu-toggle,
.navbar-toggle,
.mobile-menu-toggle,
button[aria-label*="menu" i][aria-expanded] {
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  background: rgba(212, 175, 55, 0.08) !important;
  color: var(--on-surface) !important;
  border-radius: 12px !important;
}

/* v3.7.12: last-resort color containment. Load-order wars with Elementor and
   cached mobile styles were resetting the header toggle off-brand. */
body .hai-header__menu-toggle,
body button[aria-label="Toggle menu"][aria-expanded],
body button[aria-label="Close menu"] {
  background-color: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  color: var(--ink-charcoal, #1a1a1a) !important;
  -webkit-tap-highlight-color: transparent;
}

body .hai-header__menu-toggle:hover,
body .hai-header__menu-toggle:focus-visible,
body .hai-header__menu-toggle:active,
body button[aria-label="Toggle menu"][aria-expanded]:hover,
body button[aria-label="Toggle menu"][aria-expanded]:focus-visible,
body button[aria-label="Toggle menu"][aria-expanded]:active,
body button[aria-label="Close menu"]:hover,
body button[aria-label="Close menu"]:focus-visible,
body button[aria-label="Close menu"]:active {
  background-color: rgba(233, 193, 118, 0.12) !important;
  border-color: rgba(233, 193, 118, 0.55) !important;
  color: var(--hai-secondary, #775a19) !important;
  outline-color: var(--primary, #735c00);
}

body .hai-header__menu-toggle svg {
  color: inherit !important;
  fill: none !important;
  stroke: currentColor !important;
}


/* ==========================================================================
   23. AI Employees Lookbook (v2 — matches code.html design)
   ========================================================================== */
:root {
  --lb-bg: #faf9f9;
  --lb-surface-low: #f4f3f3;
  --lb-on-surface: #1a1c1c;
  --lb-on-surface-variant: #444748;
  --lb-secondary: #775a19;
  --lb-secondary-dim: #e9c176;
  --lb-outline: #7a7670;
  --lb-outline-variant: #e8e5df;
  --lb-gold-grad: linear-gradient(180deg, #e9c176 0%, rgba(233, 193, 118, 0) 100%);
  --lb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 全局容器 ---------- */
.lb-main { background: var(--lb-bg); overflow-x: hidden; width: 100%; }
.lb-container {
  width: 100%;
  padding-inline: clamp(16px, 5vw, 80px);
  padding-bottom: clamp(64px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: clamp(64px, 8vw, 120px);
}

/* ---------- Hero ---------- */
.lb-hero {
  padding: clamp(48px, 9vw, 96px) clamp(16px, 5vw, 80px) 0;
  text-align: center;
  margin-bottom: clamp(64px, 8vw, 120px);
}
.lb-hero__kicker {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lb-secondary);
  margin-bottom: 24px;
}
.lb-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--lb-on-surface);
  margin-bottom: 32px;
}
.lb-hero__subtitle {
  font-family: var(--font-body-en, 'Inter'), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  /* v3.0.8 (Bug C): 移除 italic — DESIGN.md body-md 不允许 italic；颜色改 on-surface */
  font-style: normal !important;
  color: var(--lb-on-surface);
  max-width: 640px;
  margin-inline: auto;
}
.lb-hero__divider {
  width: 1px;
  height: 96px;
  margin: 48px auto 0;
  background: linear-gradient(to bottom, var(--lb-secondary), transparent);
}

/* ---------- 交替图文行 ---------- */
.lb-row {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  align-items: center;
}

/* 奇数行：图左文右 */
.lb-row__media {
  grid-column: 1 / span 7;
  position: relative;
}
.lb-row__text {
  grid-column: 8 / span 5;
  padding-left: clamp(24px, 3vw, 48px);
}

/* 偶数行：文左图右 */
.lb-row--reverse .lb-row__media {
  grid-column: 6 / span 7;
  order: 2;
}
.lb-row--reverse .lb-row__text {
  grid-column: 1 / span 5;
  order: 1;
  padding-left: 0;
  padding-right: clamp(24px, 3vw, 48px);
}

/* 图片装饰边框 */
/* v3.0.6: border-radius 4px (hireaipeople.txt 图片圆角 0或4px) — was 8px */
.lb-row__border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(119, 90, 25, 0.2);
  border-radius: 4px;
  transform: translate(16px, 16px);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.5s var(--lb-ease);
}
.lb-row--reverse .lb-row__border {
  transform: translate(-16px, 16px);
}
.lb-row:hover .lb-row__border {
  transform: translate(24px, 24px);
}
.lb-row--reverse:hover .lb-row__border {
  transform: translate(-24px, 24px);
}

/* Rows 3,7,11… (odd rows, negative y) */
.lb-row:nth-child(4n+3) .lb-row__border {
  transform: translate(16px, -16px);
}
.lb-row:nth-child(4n+3):hover .lb-row__border {
  transform: translate(24px, -24px);
}

/* Rows 4,8,12… (even rows, negative y) */
.lb-row:nth-child(4n+4) .lb-row__border {
  transform: translate(-16px, -16px);
}
.lb-row:nth-child(4n+4):hover .lb-row__border {
  transform: translate(-24px, -24px);
}

/* 图片 */
/* v3.0.6: border-radius 4px (hireaipeople.txt 图片圆角 0或4px) — was 8px */
.lb-row__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(30%);
  box-shadow: 0 25px 50px rgba(26, 28, 28, 0.15);
  transition: filter 0.7s ease, transform 0.7s var(--lb-ease), box-shadow 0.7s ease;
}
.lb-row:hover .lb-row__image {
  filter: grayscale(0);
  transform: scale(1.02);
  box-shadow: 0 30px 70px rgba(26, 28, 28, 0.22);
}

/* 文字内容 */
/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing); font uses Montserrat (English body spec) */
.lb-row__kicker {
  display: block;
  font-family: var(--font-label, 'Montserrat', 'Inter'), sans-serif;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lb-secondary-dim);
  margin-bottom: 16px;
}
.lb-row__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.2;
  color: var(--lb-on-surface);
  margin-bottom: 24px;
}
/* v3.0.6: line-height 1.6 (DESIGN.md body lineHeight); font uses Montserrat (English body spec) */
.lb-row__desc {
  font-family: var(--font-body, 'Montserrat', 'Inter'), sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--lb-on-surface-variant);
  margin-bottom: 32px;
}

/* ---------- 按钮 ---------- */
/* v3.0.6: hireaipeople.txt 主按钮高度 56px（原 48px → 56px）；letter-spacing 0.1em（label-md spec） */
.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 40px;
  border-radius: 999px;
  font-family: var(--font-label, 'Montserrat', 'Inter'), sans-serif;
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.lb-btn--primary {
  background: var(--lb-on-surface);
  color: #ffffff;
}
.lb-btn--primary:hover {
  box-shadow: 0 0 20px rgba(119, 90, 25, 0.3);
  transform: translateY(-2px);
}
.lb-btn--outline {
  background: transparent;
  border: 1px solid var(--lb-secondary);
  color: var(--lb-on-surface);
}
.lb-btn--outline:hover {
  background: rgba(119, 90, 25, 0.05);
}
/* v3.0.6: letter-spacing 0.1em */
.lb-btn--ghost {
  background: none;
  border: none;
  color: var(--lb-secondary);
  padding: 16px 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lb-btn--ghost:hover {
  color: var(--lb-on-surface-variant);
}

/* ---------- CTA 区 ---------- */
.lb-cta {
  background: var(--lb-surface-low);
  border-top: 1px solid rgba(196, 199, 199, 0.3);
  padding: clamp(64px, 8vw, 120px) clamp(16px, 5vw, 80px);
  text-align: center;
}
.lb-cta__inner {
  max-width: 768px;
  margin-inline: auto;
}
.lb-cta__heading {
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.2;
  font-style: italic;
  color: var(--lb-on-surface);
  margin-bottom: 32px;
}
.lb-cta__sub {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.6;
  color: var(--lb-on-surface-variant);
  margin-bottom: 48px;
}
.lb-cta__actions {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: center;
  gap: 24px;
}

@media (min-width: 769px) {
  .lb-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ---------- 分页 ---------- */
.lb-pagination {
  text-align: center;
  padding: 48px 0;
}
.lb-pagination a {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-nav);
  color: var(--lb-on-surface-variant);
  text-decoration: none;
  margin: 0 8px;
}
.lb-pagination a.current {
  color: var(--lb-secondary);
  font-weight: 700;
}

/* ---------- Reveal 动画 ---------- */
[data-lb-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--lb-ease), transform 0.8s var(--lb-ease);
}
[data-lb-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .lb-row { grid-template-columns: 1fr; gap: 32px; }
  .lb-row__media,
  .lb-row--reverse .lb-row__media { grid-column: 1 / -1; order: 1; }
  .lb-row__text,
  .lb-row--reverse .lb-row__text {
    grid-column: 1 / -1;
    order: 2;
    padding: 0;
  }
  .lb-row__border { transform: translate(8px, 8px); }
  .lb-row--reverse .lb-row__border { transform: translate(8px, 8px); }
  .lb-row:hover .lb-row__border { transform: translate(12px, 12px); }
  .lb-row--reverse:hover .lb-row__border { transform: translate(12px, 12px); }
  .lb-btn--ghost { margin-top: 8px; }
}

/* ==========================================================================
   24. Hello Elementor parent theme — full-width override (v1.3.1)
       Target ALL selectors that Hello Elementor or Elementor may constrain.
       !important ensures these win over parent-theme and Elementor defaults.
   ========================================================================== */

/* --- Outer page wrappers --- */
html,
body,
#page,
.site,
.site-content,
.site-main,
main,
#main,
.page-content,
.elementor-page-wrapper {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* --- Site header: must span full viewport width --- */
#site-header,
.hai-header {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* --- Elementor sections: force full width --- */
.elementor-section {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor-section .elementor-container {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor-section.full-width > .elementor-container {
  max-width: none !important;
  width: 100% !important;
}

/* --- Elementor widgets: no internal max-width --- */
.elementor-widget-wrap,
.elementor-widget-container {
  max-width: none !important;
}

/* --- Ensure .lb-main (AI employees page) remains unconstrained --- */
.lb-main {
  max-width: none !important;
  width: 100% !important;
}

/* --- Site footer: full width --- */
.hai-footer {
  max-width: none !important;
  width: 100% !important;
}

/* ==========================================================================
   25. Front-Page v2 — 新设计稿重做
       Hero / AI数字员工矩阵 / 品牌宣言 / 案例展示 / FAQ / 定制咨询
       设计体系: Aurelian白金 (#775a19 / #e9c176, Playfair Display + Inter)
       纯 CSS，无 Tailwind CDN 依赖
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --hp-primary: #000000;
  --hp-primary-text: #1a1c1c;
  --hp-secondary: #775a19;
  --hp-secondary-dim: #e9c176;
  --hp-surface: #faf9f9;
  --hp-surface-low: #f4f3f3;
  --hp-surface-card: rgba(250, 249, 249, 0.7);
  --hp-on-surface: #1a1c1c;
  --hp-on-surface-var: #444748;
  --hp-on-primary: #ffffff;
  --hp-outline-variant: #c4c7c7;

  --hp-font-serif: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --hp-font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --hp-section-gap: clamp(72px, 9vw, 120px);
  --hp-container: 1440px;
  --hp-margin: clamp(20px, 5vw, 80px);
  --hp-gutter: 24px;
}

/* ---------- 通用容器 ---------- */
.hp-container {
  width: 100%;
  max-width: var(--hp-container);
  margin-inline: auto;
  padding-inline: var(--hp-margin);
}

.hp-section {
  padding-block: var(--hp-section-gap);
}

.hp-section__head {
  margin-bottom: clamp(48px, 6vw, 96px);
}

.hp-section__head--center {
  text-align: center;
}

.hp-section__title {
  font-family: var(--hp-font-serif);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hp-on-surface);
  margin-top: 16px;
}

.hp-section__title--lg {
  font-size: var(--fs-h2);
}

/* ---------- Kicker 标签 ---------- */
.hp-kicker {
  display: block;
  font-family: var(--hp-font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-secondary);
}

.hp-kicker-sm {
  display: block;
  font-family: var(--hp-font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-on-surface-var);
}

.hp-kicker-sm--gold {
  color: var(--hp-secondary);
}

/* ---------- 金色分割线 ---------- */
.hp-gold-divider {
  width: 96px;
  height: 1px;
  margin: 40px auto 0;
  background: linear-gradient(90deg, transparent, rgba(119, 90, 25, 0.4), transparent);
}

/* ---------- 按钮 ---------- */
/* v3.0.6: hireaipeople.txt 主按钮高度 56px（原 48px → 56px）；letter-spacing 0.1em（label-md spec） */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 48px;
  border-radius: 999px;
  font-family: var(--hp-font-body, var(--font-label, 'Montserrat', 'Inter')), sans-serif;
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.hp-btn--primary {
  background: var(--hp-primary);
  color: var(--hp-on-primary);
}

.hp-btn--primary:hover {
  box-shadow: 0 0 20px rgba(119, 90, 25, 0.4);
  transform: translateY(-2px);
}

.hp-btn--outline {
  background: transparent;
  border: 1px solid rgba(119, 90, 25, 0.4);
  color: var(--hp-secondary);
}

.hp-btn--outline:hover {
  background: rgba(119, 90, 25, 0.05);
}

.hp-btn--full {
  width: 100%;
}

/* ---------- 文字链接箭头 ---------- */
/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing) */
.hp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--hp-font-body, var(--font-label, 'Montserrat', 'Inter')), sans-serif;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-on-surface);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}

.hp-link-arrow:hover {
  border-bottom-color: var(--hp-on-surface);
}

.hp-link-arrow__icon {
  transition: transform 0.3s ease;
}

.hp-link-arrow:hover .hp-link-arrow__icon {
  transform: translateX(6px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hp-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-hero__image {
  width: 100%;
  height: 100%;
  background-color: var(--surface-container-high);
  background-size: cover;
  background-position: center;
  transition: transform 20s ease;
}

.hp-hero:hover .hp-hero__image {
  transform: scale(1.05);
}

.hp-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 249, 0.05);
  z-index: 1;
}

.hp-hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(250, 249, 249, 0) 40%,
    rgba(250, 249, 249, 0.9) 80%,
    rgba(250, 249, 249, 1) 100%
  );
}

.hp-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--hp-container);
  margin-inline: auto;
  padding-inline: var(--hp-margin);
}

.hp-hero__inner {
  max-width: 720px;
}

.hp-hero__kicker {
  display: block;
  font-family: var(--hp-font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-secondary);
  margin-bottom: 24px;
}

.hp-hero__title {
  font-family: var(--hp-font-serif);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--hp-on-surface);
  margin-bottom: 32px;
}

.hp-hero__title-accent {
  font-weight: 400;
}

.hp-hero__subtitle {
  font-family: var(--hp-font-body);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(68, 71, 72, 0.8);
  max-width: 560px;
  margin-bottom: 48px;
}

.hp-hero__actions {
  display: flex;
  gap: var(--hp-gutter);
  flex-wrap: wrap;
}

/* ==========================================================================
   AI 数字员工矩阵 — Glass Cards
   ========================================================================== */
.hp-matrix__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.hp-glass-card {
  background: var(--hp-surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(119, 90, 25, 0.1);
  padding: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-glass-card:hover {
  border-color: rgba(119, 90, 25, 0.4);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.hp-glass-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 32px;
}

.hp-glass-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hp-glass-card:hover .hp-glass-card__image {
  transform: scale(1.1);
}

.hp-glass-card__hover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hp-glass-card:hover .hp-glass-card__hover-shade {
  opacity: 1;
}

.hp-glass-card__body {
  padding: 0 8px 8px;
}

.hp-glass-card__title {
  font-family: var(--hp-font-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
  color: var(--hp-on-surface);
  margin-top: 8px;
  margin-bottom: 16px;
}

.hp-glass-card__desc {
  font-family: var(--hp-font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--hp-on-surface-var);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   品牌宣言
   ========================================================================== */
.hp-brand-statement {
  background: var(--hp-primary);
  padding: 96px 0;
  margin-block: 80px;
}

.hp-brand-statement__inner {
  text-align: center;
}

.hp-brand-statement__title {
  font-family: var(--hp-font-serif);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 32px;
}

.hp-brand-statement__subtitle {
  font-family: var(--hp-font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-secondary);
  margin-bottom: 48px;
}

.hp-brand-statement__line {
  width: 1px;
  height: 96px;
  margin: 0 auto;
  background: linear-gradient(to bottom, rgba(233, 193, 118, 0.8), transparent);
}

/* ==========================================================================
   案例展示
   ========================================================================== */
.hp-cases {
  background: var(--hp-surface-low);
}

.hp-cases__head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: clamp(48px, 6vw, 80px);
  gap: 32px;
}

@media (min-width: 768px) {
  .hp-cases__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.hp-cases__head-left {
  max-width: 560px;
}

.hp-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hp-gutter);
}

@media (min-width: 1024px) {
  .hp-cases__grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .hp-case-major {
    grid-column: 1 / span 8;
  }
  .hp-case-side {
    grid-column: 9 / span 4;
    display: flex;
    flex-direction: column;
    gap: var(--hp-gutter);
  }
}

/* 大案例 */
.hp-case-major {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: var(--hp-primary);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hp-case-major {
    min-height: 650px;
  }
}

.hp-case-major__bg {
  position: absolute;
  inset: 0;
  background-color: var(--hp-surface-container);
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  transition: transform 3s ease;
}

.hp-case-major:hover .hp-case-major__bg {
  transform: scale(1.05);
}

.hp-case-major__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, rgba(0, 0, 0, 0.2), transparent);
}

.hp-case-major__content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 56px;
  color: #ffffff;
}

.hp-case-major__title {
  font-family: var(--hp-font-serif);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.2;
  margin: 24px 0;
}

.hp-case-major__desc {
  font-family: var(--hp-font-body);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
}

/* 小案例 */
.hp-case-small {
  background: #ffffff;
  padding: 40px;
  border: 1px solid rgba(196, 199, 199, 0.3);
  transition: border-color 0.3s ease;
  flex: 1;
}

.hp-case-small:hover {
  border-color: var(--hp-secondary);
}

.hp-case-small__title {
  font-family: var(--hp-font-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
  color: var(--hp-on-surface);
  margin: 24px 0;
}

.hp-case-small__desc {
  font-family: var(--hp-font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--hp-on-surface-var);
  margin-bottom: 32px;
}

.hp-case-small__img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.hp-case-small:hover .hp-case-small__img {
  filter: grayscale(0);
}

/* ==========================================================================
   FAQ 手风琴
   ========================================================================== */
.hp-faq-divider {
  width: 64px;
  height: 1px;
  margin: 32px auto 0;
  background: rgba(119, 90, 25, 0.3);
}

.hp-faq__list {
  max-width: 960px;
  margin-inline: auto;
}

.hp-faq-item {
  border-bottom: 1px solid rgba(196, 199, 199, 0.3);
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.hp-faq-item__toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  gap: 24px;
}

.hp-faq-item__q {
  font-family: var(--hp-font-serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
  color: var(--hp-on-surface);
  transition: color 0.3s ease;
}

.hp-faq-item__toggle:hover .hp-faq-item__q {
  color: var(--hp-secondary);
}

.hp-faq-item__chevron {
  flex-shrink: 0;
  color: var(--hp-on-surface-var);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hp-faq-item.is-open .hp-faq-item__chevron {
  transform: rotate(180deg);
}

.hp-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hp-faq-item.is-open .hp-faq-item__answer {
  max-height: 400px;
}

.hp-faq-item__answer p {
  padding-top: 24px;
  font-family: var(--hp-font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(68, 71, 72, 0.8);
  margin: 0;
}

/* ==========================================================================
   定制咨询表单
   ========================================================================== */
.hp-contact__card {
  position: relative;
  background: #ffffff;
  padding: clamp(48px, 6vw, 80px);
  border: 1px solid rgba(119, 90, 25, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.hp-contact__glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(119, 90, 25, 0.05);
  filter: blur(150px);
  transform: translate(256px, -256px);
  pointer-events: none;
}

.hp-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 96px);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hp-contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hp-contact__desc {
  font-family: var(--hp-font-body);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.6;
  color: var(--hp-on-surface-var);
  margin-top: 40px;
  margin-bottom: 64px;
  max-width: 480px;
}

.hp-contact__channels {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hp-contact__channel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hp-contact__channel-icon {
  color: var(--hp-secondary);
}

.hp-contact__channel span {
  font-family: var(--hp-font-body);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--hp-on-surface);
}

.hp-contact__social {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hp-contact__qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.hp-contact__qr-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hp-contact__qr-box {
  width: 96px;
  height: 96px;
  padding: 6px;
  border: 1px solid rgba(119, 90, 25, 0.2);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-contact__qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing) */
.hp-contact__qr-label {
  font-family: var(--hp-font-body, var(--font-label, 'Montserrat', 'Inter')), sans-serif;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-secondary);
  margin: 0 0 4px;
}

.hp-contact__qr-sublabel {
  font-family: var(--hp-font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--hp-on-surface-var);
  margin: 0;
}

/* 表单 */
/* v3.0.6: border-radius 4px (hireaipeople.txt 卡片圆角 0或4px) — was 12px */
.hp-contact__form-wrap {
  background: rgba(244, 243, 243, 0.5);
  padding: 40px;
  border-radius: 4px;
}

.hp-contact__form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hp-form-row--2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .hp-form-row--2col {
    grid-template-columns: 1fr 1fr;
  }
}

.hp-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing) */
.hp-form-label {
  font-family: var(--hp-font-body, var(--font-label, 'Montserrat', 'Inter')), sans-serif;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(68, 71, 72, 0.7);
}

.hp-form-input,
.hp-form-select,
.hp-form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hp-outline-variant);
  padding: 16px 0;
  font-family: var(--hp-font-body);
  font-size: var(--fs-body);
  color: var(--hp-on-surface);
  transition: border-color 0.3s ease;
  outline: none;
}

.hp-form-input:focus,
.hp-form-select:focus,
.hp-form-textarea:focus {
  border-bottom-color: var(--hp-secondary);
}

.hp-form-input::placeholder,
.hp-form-textarea::placeholder {
  color: rgba(68, 71, 72, 0.3);
}

.hp-form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23775a19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
}

.hp-form-textarea {
  resize: none;
  min-height: 80px;
}

.hp-contact__form .hp-btn--primary {
  margin-top: 24px;
}

/* ==========================================================================
   响应式断点
   ========================================================================== */
@media (max-width: 1023px) {
  .hp-matrix__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hp-case-major__content {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .hp-hero {
    min-height: 80vh;
  }

  .hp-hero__actions {
    flex-direction: column;
  }

  .hp-hero__actions .hp-btn {
    width: 100%;
    text-align: center;
  }

  .hp-brand-statement {
    padding: 64px 0;
    margin-block: 48px;
  }

  .hp-contact__card {
    padding: 32px;
  }

  .hp-contact__form-wrap {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-hero__image,
  .hp-case-major__bg,
  .hp-glass-card__image,
  .hp-glass-card,
  .hp-case-small,
  .hp-faq-item__answer,
  .hp-faq-item__chevron,
  .hp-case-small__img {
    transition: none !important;
  }
}

/* ==========================================================================
   26. WordPress custom-logo / site-logo — 5× enlarged
   ========================================================================== */
.custom-logo {
  width: auto !important;
  height: 68px !important;
}

.site-logo img {
  height: 68px !important;
  width: auto !important;
}



/* Dior audit typography normalization */
.kicker,
.tag,
.label,
.label-caps,
.chip,
.employee-tag,
.solution-card__cat,
.employee-card__role,
.archive-header__kicker,
.cta-band__kicker,
.product-card__badge,
.product-card__retainer,
.hp-kicker,
.hp-kicker-sm,
.hp-hero__kicker,
.hp-brand-statement__subtitle,
.hp-contact__qr-label,
.hp-form-label,
.lb-hero__kicker,
.lb-row__kicker,
.hp-link-arrow {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.label-mono,
.employee-row__role,
.product-card__operative {
  font-size: var(--fs-label-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn,
.btn-consult,
.btn-round,
.text-link,
.lb-btn,
.hp-btn,
.solution-filter,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-size: var(--fs-button);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-drawer a,
.lang-btn,
.lb-pagination a {
  font-size: var(--fs-nav);
  letter-spacing: 0.1em;
}

/* New header/footer typography — overrides above where needed */
.hai-header__nav-list li a {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.hai-header__account {
  /* v3.5.7-p12 (header layout fix): sync with primary definition. */
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* v3.8.0: allscented-style mobile icon bar wins over the late text-button reset. */
@media (max-width: 1023px) {
  .hai-header__account.hai-header__account {
    display: inline-flex;
    font-size: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    color: var(--hai-primary, #000);
  }

  .hai-header__account.hai-header__account .hai-header__icon {
    font-size: 24px;
  }
}

.hai-header__lang {
  /* v3.5.7-p12 (header layout fix): neutralize earlier 14px bump. */
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hai-footer__nav-list li a {
  font-size: 16px;
  text-transform: none;
  letter-spacing: normal;
}

.hai-footer__copyright {
  font-size: 16px;
}

/* ==========================================================================
   27. Mobile drawer logo sizing (header/footer logo rules live in sections
       4 / 4b above; only the drawer keeps a dedicated size here).
   ========================================================================== */
.header-logo-img {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* My Account button in header — 白底黑框黑字 */
/* v3.0.6: letter-spacing 0.1em (DESIGN.md label-md letterSpacing) — was 0.08em; font uses Montserrat */
.hai-header__account {
  display: inline-flex;
  align-items: center;
  /* v3.5.7-p12 (header layout fix): shrink Account button so it fits at 1280px
     alongside 6 nav items. */
  padding: 6px 14px;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 40px;
  font-family: var(--font-label, 'Montserrat', 'Inter'), sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.hai-header__account:hover {
  background: linear-gradient(135deg, #e9c176 0%, #775a19 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(233, 193, 118, 0.35);
}


/* ==========================================================================
   v3.0.5-fontsize: 全局排版优化（line-height + letter-spacing）
   ========================================================================== */
body, .hireai-fp, .lb-row, .hai-footer, .page-content {
  line-height: var(--lh-body);
}

.btn, .lb-btn, .hp-btn, .hireai-fp__btn, button, a.button {
  letter-spacing: var(--ls-button);
}

/* ==========================================================================
   v3.0.5-fontsize: 中文 H1/H2 字号更紧凑（lang=zh 时）
   ========================================================================== */
html[lang^="zh"] h1, html[lang="zh-CN"] h1 {
  font-family: var(--font-display-zh);
  font-size: var(--fs-h1-zh);
  line-height: 1.2;
}
html[lang^="zh"] h2, html[lang="zh-CN"] h2 {
  font-family: var(--font-display-zh);
  font-size: var(--fs-h2-zh);
  line-height: 1.3;
}
html[lang^="zh"] body {
  font-family: var(--font-body-zh);
  /* v3.0.7: 中文行高更舒展（DESIGN.md 中文 body lh 1.7） */
  line-height: var(--lh-body-zh);
}
/* v3.0.7: 英文 body 字体 + 行高显式控制（避免中英切换"字体奇怪"） */
html[lang="en"] body {
  font-family: var(--font-body-en);
  line-height: var(--lh-body-en);
}
/* v3.0.7: 英文 display 字体 */
/* v3.3.0: spec §2 headline-lg = 48px Playfair 600 (en only); zh keeps --fs-h1=56px/500 */
html[lang="en"] .headline-lg,
html[lang="en"] h1,
html[lang="en"] .page-title {
  font-family: var(--font-display-en);
  font-size: clamp(32px, 4vw, 48px); /* headline-lg desktop 48px */
  font-weight: 600; /* spec §2 headline-lg weight=600 */
  line-height: 1.2;
}
/* v3.3.0: spec §2 headline-lg-mobile = 32px @ ≤768px (en only) */
@media (max-width: 768px) {
  html[lang="en"] .headline-lg {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
  }
}
/* v3.0.7: 英文 label 字体 */
html[lang="en"] .label,
html[lang="en"] .label-md,
html[lang="en"] .label-sm {
  font-family: var(--font-label-en);
}
/* v3.3.0: spec §2 headline-md = 32px Playfair 500 (en only); zh keeps --fs-h2 */
html[lang="en"] .headline-md,
html[lang="en"] h2 {
  font-size: clamp(28px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.3;
}

/* ==========================================================================
 * v3.4.0: AI 数字员工页分页（AllScented 风格，金色活动态 #775a19）
 *   - 每页 5 个，超界自动加页
 *   - URL: ?emp_page=N（保留其他 query 参数）
 *   - 视觉与 nav 风格一致：label-md (14px / Inter / 600 / 0.05em)
 * ========================================================================== */
.lb-att-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.lb-att-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(115, 92, 0, 0.2);
  border-radius: 4px;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink, #1a1c1c);
  background: transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.lb-att-pagination__btn:hover {
  border-color: rgba(115, 92, 0, 0.5);
  background: rgba(115, 92, 0, 0.05);
  text-decoration: none;
}

.lb-att-pagination__btn.is-active {
  background: #775a19;
  border-color: #775a19;
  color: #fff;
}

/* ============================================================
 * v3.5.7-p18 Task B: AI 解决方案商城 8 场景 tab + 数字人筛选
 * ============================================================ */
.sols-tabs-wrap {
    max-width: 1440px;
    margin: 32px auto 0;
    padding: 0 20px;
}
.sols-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}
.sols-tab.sols-tab {
    padding: 10px 22px;
    border: 1px solid var(--gold-leaf, #775a19);
    border-radius: 9999px;
    background: transparent;
    color: var(--gold-leaf, #775a19);
    cursor: pointer;
    font-family: var(--font-label, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}
.sols-tab:hover {
    background: rgba(119, 90, 25, 0.06);
}
.sols-tab.is-active {
    background: var(--gold-leaf, #775a19);
    color: #fff;
    box-shadow: 0 6px 18px -6px rgba(119, 90, 25, 0.45);
}
.sols-tab[aria-selected="true"] {
    background: var(--gold-leaf, #775a19);
    color: #fff;
}

/* 数字人筛选 chip 行 */
.sols-personas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px dashed rgba(119, 90, 25, 0.2);
    border-bottom: 1px dashed rgba(119, 90, 25, 0.2);
    margin-bottom: 24px;
}
.sols-personas__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--on-surface-variant, #747878);
    margin-right: 4px;
    font-family: var(--font-label, 'Inter', sans-serif);
}
.sols-persona-chip {
    padding: 6px 14px;
    border: 1px solid var(--outline-variant, #e2e2e2);
    border-radius: 999px;
    background: transparent;
    color: var(--on-surface-variant, #444748);
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font-label, 'Inter', sans-serif);
    transition: all 0.2s ease;
}
.sols-persona-chip:hover {
    border-color: var(--gold-leaf, #775a19);
    color: var(--gold-leaf, #775a19);
}
.sols-persona-chip.is-active {
    background: rgba(119, 90, 25, 0.1);
    border-color: var(--gold-leaf, #775a19);
    color: var(--gold-leaf, #775a19);
    font-weight: 600;
}

/* tab panel 切换 */
.sols-tab-panel {
    display: none;
    padding: 0;
}
.sols-tab-panel.is-active {
    display: block;
}

/* 空状态 */
.sols-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: clamp(48px, 8vw, 96px) 24px;
    color: var(--on-surface-variant, #747878);
    font-family: var(--font-body-en, 'Inter', sans-serif);
    font-size: 16px;
    font-style: italic;
}

/* 窄屏优化(< 720px):tab 缩小 */
@media (max-width: 720px) {
    .sols-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    .sols-persona-chip {
        padding: 5px 12px;
        font-size: 12px;
    }
    .sols-personas__label {
        font-size: 12px;
    }
}

/* v3.7.13: keep the language control brand-colored through the active state
   and suppress Chromium/WebKit touch highlighting. */
/* v3.7.14: Elementor injects generic button interaction styles after the child
   stylesheet. Isolate every paint channel of the control, including child nodes
   and pseudo-elements, so a later generic :active rule cannot recolor it. */
html body button.hai-header__lang.hai-header__lang.hai-header__lang,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang {
  appearance: none;
  background: linear-gradient(135deg, rgba(233, 193, 118, 0.2), rgba(119, 90, 25, 0.08)) !important;
  background-color: rgba(233, 193, 118, 0.2) !important;
  background-image: linear-gradient(135deg, rgba(233, 193, 118, 0.2), rgba(119, 90, 25, 0.08)) !important;
  border: 1px solid rgba(119, 90, 25, 0.4) !important;
  border-radius: 999px;
  box-shadow: none !important;
  color: #1a1c1c !important;
  cursor: pointer;
  filter: none !important;
  outline-color: rgba(119, 90, 25, 0.4) !important;
}

html body button.hai-header__lang.hai-header__lang.hai-header__lang:hover,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:focus-visible,
html body button.hai-header__lang.hai-header__lang.hai-header__lang.is-en,
html body button.hai-header__lang.hai-header__lang.hai-header__lang.is-zh,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang:hover,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang:focus-visible,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang.is-en,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang.is-zh {
  background: linear-gradient(135deg, #e9c176 0%, #775a19 100%) !important;
  background-color: #e9c176 !important;
  background-image: linear-gradient(135deg, #e9c176 0%, #775a19 100%) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  outline-color: #775a19 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body button.hai-header__lang.hai-header__lang.hai-header__lang:active,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang:active {
  background: #e9c176 !important;
  background-color: #e9c176 !important;
  background-image: none !important;
  border-color: rgba(119, 90, 25, 0.35) !important;
  box-shadow: none !important;
  filter: none !important;
  outline-color: #775a19 !important;
  color: #1a1c1c !important;
  -webkit-text-fill-color: #1a1c1c !important;
  -webkit-tap-highlight-color: transparent !important;
}

@media (max-width: 1023px) {
  html body .hai-header button.hai-header__lang.hai-header__lang.hai-header__lang {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #1a1c1c !important;
    -webkit-text-fill-color: #1a1c1c !important;
  }

  html body .hai-header button.hai-header__lang.hai-header__lang.hai-header__lang:hover,
  html body .hai-header button.hai-header__lang.hai-header__lang.hai-header__lang:focus-visible,
  html body .hai-header button.hai-header__lang.hai-header__lang.hai-header__lang.is-en,
  html body .hai-header button.hai-header__lang.hai-header__lang.hai-header__lang.is-zh {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #775a19 !important;
    -webkit-text-fill-color: #775a19 !important;
  }

  html body .hai-header button.hai-header__lang.hai-header__lang.hai-header__lang:active {
    background: #e9c176 !important;
    background-color: #e9c176 !important;
    background-image: none !important;
    border-color: rgba(119, 90, 25, 0.35) !important;
    box-shadow: none !important;
    color: #1a1c1c !important;
    -webkit-text-fill-color: #1a1c1c !important;
  }
}

html body button.hai-header__lang.hai-header__lang.hai-header__lang *,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:active *,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang *,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang:active * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

html body button.hai-header__lang.hai-header__lang.hai-header__lang::before,
html body button.hai-header__lang.hai-header__lang.hai-header__lang::after,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:active::before,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:active::after,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:hover::before,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:hover::after,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:focus-visible::before,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:focus-visible::after,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang::before,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang::after,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang:active::before,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang:active::after {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  content: none !important;
}

html body button.hai-header__lang.hai-header__lang.hai-header__lang ::selection,
html body button.hai-header__lang.hai-header__lang.hai-header__lang:active ::selection,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang ::selection,
html body .mobile-drawer button.hai-header__lang.hai-header__lang.hai-header__lang:active ::selection {
  background: #e9c176 !important;
  color: #1a1c1c !important;
}

/* English navigation labels are wider than Chinese labels.  Compress the
   narrow-desktop header instead of allowing non-shrinking nav items to
   overflow into the Account control. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hai-header__nav {
    padding-right: 10px;
  }

  .hai-header__nav .hai-header__nav-list {
    gap: 9px;
    flex-wrap: wrap;
  }

  .hai-header__nav .hai-header__nav-list li a {
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 6px 0;
  }

  .hai-header__actions {
    gap: 8px;
    padding-right: 0;
  }

  .hai-header__account.hai-header__account {
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    font-size: 0;
  }

  .hai-header__account.hai-header__account .hai-header__icon {
    font-size: 24px;
  }

  .hai-header__lang {
    padding: 4px 8px;
    font-size: 10px;
  }
}
