/* ==========================================================================
   星南袜业官网（xnsocks.com.cn）· V3 Apple × 星南品牌精工制造视觉设计系统
   设计原则：纯白/浅灰双底色呼吸感 · 星南真实品牌标 + 克制星南红(#B81D24)点缀
   特点：无外部字体阻塞、WCAG AA+ 对比度、中英双语基线、打印友好、零占位上线级完成度
   ========================================================================== */

:root {
  /* Surface & Canvas Tokens */
  --bg-canvas: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #fafafc;
  --bg-hero-stage: #f2f1ed;
  --bg-dark: #0e0f12;
  --bg-dark-elevated: #18191e;

  /* Text Tokens (WCAG AA+ Verified on #FFFFFF & #F5F5F7) */
  --text-primary: #1d1d1f;
  --text-secondary: #49494d;
  --text-tertiary: #636368;
  --text-on-dark: #f5f5f7;
  --text-on-dark-muted: #b0b0b6;

  /* Brand & Action Tokens (Restrained Xingnan Crimson #B81D24, 6.2:1 on white) */
  --accent: #b81d24;
  --accent-hover: #96151b;
  --accent-on-dark: #ff6e75;
  --accent-on-dark-hover: #ff9499;
  --btn-primary-bg: #1d1d1f;
  --btn-primary-hover: #333336;
  --btn-primary-text: #ffffff;

  /* Semantic Status Tokens */
  --badge-bg: rgba(184, 29, 36, 0.08);
  --badge-text: #9c161c;
  --success-bg: #edf7f0;
  --success-text: #146c3a;

  /* Borders, Radii & Elevation */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --border-on-dark: rgba(255, 255, 255, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 14px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.24);

  /* Layout & Typography */
  --container-max: 1140px;
  --nav-height: 62px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-canvas);
  color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.sr-only {
  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 {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--btn-primary-bg);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: top 0.2s var(--ease-apple);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Sticky Translucent Apple Navigation with Authentic Xingnan Brand Mark
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  height: 30px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 16px;
  background: var(--border-strong);
  flex-shrink: 0;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color 0.18s var(--ease-apple), background 0.18s var(--ease-apple);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
}

.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-pill);
  padding: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-switch a {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  line-height: 1;
  transition: all 0.18s var(--ease-apple);
}

.lang-switch a[aria-current="true"] {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s var(--ease-apple), transform 0.18s var(--ease-apple);
}

.nav-cta:hover {
  background: var(--btn-primary-hover);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: 190;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background: var(--bg-alt);
}

.mobile-drawer-list a[aria-current="page"] {
  background: var(--text-primary);
  color: #ffffff;
}

/* ==========================================================================
   Typography & Shared Section Rhythm
   ========================================================================== */
.section {
  padding: 88px 0;
  background: var(--bg-canvas);
}

.section--alt {
  background: var(--bg-alt);
}

.section--compact {
  padding: 60px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

html[lang="en"] .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.1vw, 2.45rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--text-primary);
  text-wrap: balance;
}

html[lang="en"] .section-title {
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.section-lead {
  margin: 12px 0 0;
  font-size: 1.04rem;
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 640px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 0.18s var(--ease-apple);
}

.text-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Buttons */
.btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-group--left {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease-apple);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
}

.btn--secondary {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--bg-alt);
  border-color: rgba(0, 0, 0, 0.28);
}

.btn--accent {
  background: var(--accent);
  color: #ffffff;
}

.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.86rem;
}

/* ==========================================================================
   Screen 1: Single-Focal Precision Hero (Apple Split Architecture)
   ========================================================================== */
.hero {
  padding: 68px 0 76px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

.hero-copy {
  text-align: left;
  max-width: 600px;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  text-wrap: balance;
}

html[lang="en"] .hero-title {
  letter-spacing: -0.028em;
  line-height: 1.1;
  font-size: clamp(1.9rem, 3.25vw, 2.75rem);
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.hero-trust-strip {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-trust-item strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.hero-trust-item span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-tertiary);
}

.hero-focal-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-hero-stage);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1 / 1;
}

.hero-focal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-focal-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

.hero-focal-caption strong {
  font-weight: 600;
  color: var(--text-primary);
}

.hero-focal-caption span {
  color: var(--text-secondary);
  font-size: 0.76rem;
}

/* ==========================================================================
   Screen 2: Buyer Dual-Track Routing & 4-Step Workflow
   ========================================================================== */
.coop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.coop-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coop-card h3 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.3;
}

.coop-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.coop-card-actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.check-list {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

.process-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}

.process-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.process-step h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ==========================================================================
   Screen 3: 4 Core Product Categories (2x2 Showcase Cards)
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform 0.28s var(--ease-apple), box-shadow 0.28s var(--ease-apple);
}

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

.category-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #ececef;
  overflow: hidden;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.55s var(--ease-apple);
}

.category-media--contain {
  background: #f6f6f7;
}

.category-media--contain img {
  object-fit: contain;
  padding: 12px;
}

.category-card:hover .category-media img {
  transform: scale(1.03);
}

.category-body {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.pill-tag--accent {
  background: var(--badge-bg);
  color: var(--badge-text);
  border-color: transparent;
}

.category-title {
  margin: 0 0 10px;
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

.category-desc {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}

.category-cta {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Screen 4: Dark Studio Craftsmanship Spotlight (Macro Inspection)
   ========================================================================== */
.craft-spotlight {
  background:
    radial-gradient(ellipse 68% 42% at 50% 0%, rgba(184, 29, 36, 0.16), transparent 70%),
    #0a0b0e;
  color: var(--text-on-dark);
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}

.craft-spotlight .eyebrow {
  color: var(--accent-on-dark);
}

.craft-spotlight .section-title {
  color: #ffffff;
}

.craft-spotlight .section-lead {
  color: var(--text-on-dark-muted);
}

.segmented--dark {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.segmented--dark .segmented-btn {
  color: #d1d1d6;
}

.segmented--dark .segmented-btn:hover {
  color: #ffffff;
}

.segmented--dark .segmented-btn[aria-selected="true"] {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.craft-panel[hidden] {
  display: none;
}

.craft-stage {
  display: grid;
  grid-template-columns: 1.3fr 0.96fr;
  gap: 36px;
  align-items: center;
  margin-top: 36px;
}

.craft-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #14151a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  aspect-ratio: 4 / 3;
}

.craft-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.craft-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 9, 12, 0.64) 100%);
  pointer-events: none;
}

.craft-pin {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  border-radius: var(--radius-pill);
  background: rgba(18, 20, 26, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  transition: transform 0.2s var(--ease-apple), background 0.2s var(--ease-apple), border-color 0.2s var(--ease-apple);
}

.craft-pin:hover,
.craft-pin.is-active {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(255, 255, 255, 0.96);
  color: #1d1d1f;
  border-color: #ffffff;
}

.craft-pin-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.craft-visual-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.02em;
}

.craft-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.craft-detail h3 {
  margin: 0;
  font-size: clamp(1.48rem, 2.35vw, 1.95rem);
  font-weight: 600;
  line-height: 1.24;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.craft-detail-lead {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--text-on-dark-muted);
}

.craft-specs-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.craft-spec-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  cursor: pointer;
  transition: background 0.2s var(--ease-apple), border-color 0.2s var(--ease-apple);
}

.craft-spec-card.is-highlighted {
  background: rgba(184, 29, 36, 0.18);
  border-color: rgba(255, 110, 117, 0.62);
}

.craft-spec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.craft-spec-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.craft-spec-card.is-highlighted .craft-spec-num {
  background: var(--accent);
}

.craft-spec-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.craft-spec-card span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.56;
  color: var(--text-on-dark-muted);
}

.craft-spotlight .text-link {
  color: var(--accent-on-dark);
}

.craft-spotlight .text-link:hover {
  color: var(--accent-on-dark-hover);
}

/* ==========================================================================
   Screen 5: Factory & Quality Control Bento Grid (De-duplicated)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.bento-span-7 {
  grid-column: span 7;
}

.bento-span-5 {
  grid-column: span 5;
}

.bento-span-12 {
  grid-column: span 12;
}

.bento-card--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--border-on-dark);
}

.bento-card--dark .bento-title {
  color: #ffffff;
}

.bento-card--dark .bento-desc {
  color: var(--text-on-dark-muted);
}

.bento-card--dark .eyebrow {
  color: var(--accent-on-dark);
}

.bento-title {
  margin: 0 0 10px;
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.bento-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bento-visual-split {
  display: grid;
  grid-template-columns: 1fr 124px;
  gap: 18px;
  align-items: center;
}

.bento-thumb {
  width: 124px;
  height: 124px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.bento-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qc-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.qc-step {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  border: 1px solid var(--border-subtle);
}

.qc-step-num {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}

.qc-step-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.qc-step-desc {
  font-size: 0.78rem;
  line-height: 1.48;
  color: var(--text-secondary);
}

/* ==========================================================================
   Screen 6: Credentials Preview & Evidence Cards
   ========================================================================== */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.cred-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s var(--ease-apple), box-shadow 0.24s var(--ease-apple);
}

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

.cred-preview-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 18px;
  border: none;
  background: #f8f8fa;
  border-bottom: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.cred-preview-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease-apple);
}

.cred-preview-btn:hover img {
  transform: scale(1.025);
}

.cred-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(29, 29, 31, 0.82);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 500;
}

.cred-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.cred-body h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.38;
}

.cred-body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.cred-scope {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Screen 7: B2B Procurement FAQ Accordion + Frictionless Contact CTA
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto 56px;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.18s var(--ease-apple);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease-apple), background 0.22s var(--ease-apple), color 0.22s var(--ease-apple);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--text-primary);
  color: #ffffff;
}

.faq-answer {
  padding: 0 4px 22px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 760px;
}

.cta-panel {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  border: 1px solid var(--border-subtle);
}

.cta-top {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.cta-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.channel-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 26px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
}

.channel-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-alt);
  font-size: 0.9rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.phone-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.phone-link {
  color: var(--text-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  word-break: keep-all;
}

.phone-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copy-btn {
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  flex-shrink: 0;
  transition: all 0.15s var(--ease-apple);
}

.copy-btn:hover {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.prefill-notice {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 40px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand .brand-logo {
  height: 28px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.62;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-beian {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-secondary);
}

.footer-beian a {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-beian a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   Subpages: Products Catalog, Swatches, Factory Spec Table & Contact Page
   ========================================================================== */
.page-hero {
  padding: 64px 0 44px;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

html[lang="en"] .page-hero h1 {
  letter-spacing: -0.028em;
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  font-size: 1.04rem;
  color: var(--text-secondary);
}

/* Apple Segmented Control */
.segmented-wrap {
  margin-top: 28px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.segmented {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.06);
}

.segmented-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.18s var(--ease-apple);
}

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

.segmented-btn[aria-selected="true"],
.segmented-btn[aria-pressed="true"] {
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Products Grid & Apple Color Swatch Switcher */
.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s var(--ease-apple), box-shadow 0.24s var(--ease-apple);
}

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

.product-card[hidden] {
  display: none;
}

.product-thumb-btn {
  position: relative;
  width: 100%;
  border: none;
  padding: 0;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-apple), opacity 0.16s var(--ease-apple);
}

.product-thumb-btn--contain img {
  object-fit: contain;
  padding: 12px;
}

.product-card:hover .product-thumb-btn img {
  transform: scale(1.03);
}

.product-code-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.swatch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 16px 0;
  min-height: 36px;
}

.swatch-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.swatch-btn {
  width: 22px;
  height: 26px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s var(--ease-apple);
}

.swatch-btn:hover {
  transform: scale(1.1);
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch-color, #8e8e93);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.18s var(--ease-apple);
}

.swatch-btn[aria-pressed="true"] .swatch-dot {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px #1d1d1f;
}

.swatch-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.product-thumb-btn img.is-swapping,
.product-modal-img img.is-swapping {
  opacity: 0.5;
}

.modal-swatch-wrap {
  margin: 14px 0 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-swatch-wrap[hidden] {
  display: none;
}

.modal-swatch-title {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.product-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.product-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}

.product-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
}

.product-detail-trigger {
  border: none;
  background: transparent;
  padding: 4px 0;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.84rem;
}

.product-detail-trigger:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Spec Table (<dl> semantic definition list on Factory Page) */
.spec-table-wrap {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  margin: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.spec-val {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.tab-panel[hidden] {
  display: none;
}

.archive-note-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.archive-note-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.archive-note-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.copyright-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.copyright-list li {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

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

/* Contact Page 2-Column Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.prep-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.prep-box h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.prep-template {
  margin: 18px 0;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-primary);
  white-space: pre-line;
}

/* ==========================================================================
   Accessible Lightbox & Product Detail Dialog (Native <dialog>)
   ========================================================================== */
dialog.app-dialog {
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--text-primary);
  max-width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  width: 100%;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
}

dialog.app-dialog::backdrop {
  background: rgba(15, 16, 20, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.dialog-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.dialog-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dialog-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  color: var(--text-primary);
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dialog-close:hover {
  background: var(--text-primary);
  color: #ffffff;
}

.dialog-body {
  padding: 24px;
  overflow: auto;
  max-height: calc(100vh - 120px);
}

.lightbox-stage {
  background: #f5f5f7;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.lightbox-stage img {
  max-height: 68vh;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  transition: transform 0.25s var(--ease-apple);
}

.lightbox-stage.is-zoomed {
  display: block;
}

.lightbox-stage.is-zoomed img {
  max-height: none;
  width: 100%;
  min-width: 780px;
}

.lightbox-meta {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.product-modal-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
}

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

.product-modal-img--contain img {
  object-fit: contain;
  padding: 14px;
}

.product-modal-info h3 {
  margin: 8px 0 12px;
  font-size: 1.42rem;
}

.product-modal-specs {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
}

.product-modal-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.product-modal-specs span {
  color: var(--text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}

.product-modal-specs strong {
  text-align: right;
  font-weight: 500;
  color: var(--text-primary);
}

/* Toast Status */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: #1d1d1f;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-apple), transform 0.2s var(--ease-apple);
  z-index: 900;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Progressive Scroll Reveal (only when JS active & motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.36s var(--ease-apple), transform 0.36s var(--ease-apple);
  }
  .js-ready .reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Breakpoints (Tested at 1440px, 1024px, 768px, 390px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-focal-card {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
  .craft-stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-span-7,
  .bento-span-5 {
    grid-column: span 12;
  }
  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .qc-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .craft-spotlight {
    padding: 72px 0;
  }
  /* Keep compact numbered hotspots interactive on mobile! */
  .craft-pin {
    width: 30px;
    height: 30px;
    padding: 0;
    justify-content: center;
  }
  .craft-pin-text {
    display: none;
  }
  .craft-pin-num {
    width: 22px;
    height: 22px;
    font-size: 0.74rem;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding: 44px 0 56px;
  }
  .hero-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
  .section {
    padding: 60px 0;
  }
  .category-grid,
  .coop-grid,
  .cred-grid,
  .cred-grid--2,
  .cta-channels,
  .contact-layout,
  .product-modal-grid,
  .copyright-list {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .swatch-btn {
    width: 26px;
    height: 28px;
  }
  .qc-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 20px;
  }
  .cta-panel {
    padding: 32px 20px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .brand-divider,
  .brand-sub {
    display: none;
  }
  .brand-logo {
    height: 26px;
  }
  .hero-title {
    font-size: 1.82rem;
    line-height: 1.22;
  }
  html[lang="en"] .hero-title {
    font-size: 1.85rem;
  }
  .segmented--dark {
    gap: 2px;
    padding: 3px;
  }
  .segmented--dark .segmented-btn {
    padding: 8px 10px;
    font-size: 0.78rem;
  }
  html[lang="en"] .segmented--dark .segmented-btn {
    padding: 7px 9px;
    font-size: 0.74rem;
  }
  .swatch-btn {
    width: 32px;
    height: 32px;
  }
  .swatch-dot {
    width: 16px;
    height: 16px;
  }
  .process-bar,
  .product-grid,
  .qc-steps {
    grid-template-columns: 1fr;
  }
  .bento-visual-split {
    grid-template-columns: 1fr;
  }
  .bento-card,
  .coop-card,
  .prep-box {
    padding: 24px 20px;
  }
  .category-body {
    padding: 22px 20px 24px;
  }
}

/* ==========================================================================
   Print Stylesheet (Clean B2B Spec / Credentials PDF Saving)
   ========================================================================== */
@media print {
  .site-header,
  .mobile-drawer,
  .skip-link,
  .nav-actions,
  .segmented-wrap,
  .btn,
  .copy-btn,
  .cred-zoom-hint,
  .swatch-row,
  .toast,
  dialog {
    display: none !important;
  }
  body,
  .section,
  .section--alt,
  .craft-spotlight,
  .bento-card--dark {
    background: #ffffff !important;
    color: #1d1d1f !important;
    padding: 16px 0 !important;
  }
  .craft-spotlight *,
  .bento-card--dark * {
    color: #1d1d1f !important;
    border-color: #d2d2d7 !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .tab-panel[hidden],
  .craft-panel[hidden] {
    display: block !important;
    margin-bottom: 24px;
  }
  .cred-card,
  .bento-card,
  .coop-card,
  .faq-item {
    break-inside: avoid;
    box-shadow: none !important;
  }
}
