/* ==========================================================================
   YANSE COS (妍色美妆 · www.yansecos.cn) — V12 International Atelier Design System
   Aesthetic Thesis: Swiss-Clinical Precision × Clean Editorial Beauty
   Benchmarks: Cosmax · Intercos · Kolmar · DSM-Firmenich · La Roche-Posay Atelier
   ========================================================================== */

:root {
  /* 60 / 30 / 10 Light Architectural Palette — Single Cohesive Light World */
  --bg: #FCFCFA;
  --bg-pure: #FFFFFF;
  --bg-alt: #F3F5F8;
  --bg-stone: #EBEEF3;
  --bg-card: #FFFFFF;

  /* Crisp High-Contrast Ink Hierarchy (Strictly >= #333333 per Readability Rule) */
  --ink: #0B1324;
  --body: #182232;
  --sub: #2B3445;

  /* Brand Identity Lock: Single Primary Action Color (#002F6C) + Micro Botanical Accent (#509E2F) */
  --navy: #002F6C;
  --navy-hover: #002252;
  --navy-tint: #EFF4FB;
  --green: #509E2F;
  --green-hover: #3F8023;
  --green-tint: #EFF7EC;

  /* Architectural Hairlines & Tinted Diffuse Shadows (Zero Harsh Black Shadows) */
  --line: #E4E9F0;
  --line-strong: #CBD5E1;
  --shadow-whisper: 0 12px 32px -12px rgba(11, 19, 36, 0.06);
  --shadow-sm: 0 18px 44px -16px rgba(11, 19, 36, 0.08);
  --shadow-md: 0 28px 68px -22px rgba(0, 47, 108, 0.11);
  --shadow-lg: 0 36px 88px -24px rgba(11, 19, 36, 0.18);

  /* Concentric Radii System: Outer Shell (24px) - Gap (8px) = Inner Core (16px) */
  --r-shell: 24px;
  --r-card: 16px;
  --r-ctrl: 10px;
  --r-pill: 999px;

  /* Spacing Rhythm Tokens (4px Base Grid -> Macro Whitespace) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-30: 120px;

  /* Typography & Motion Tokens */
  --ff-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --ff-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1320px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--navy);
  color: #FFFFFF;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

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

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  caret-color: var(--navy);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.25s var(--ease-out);
}

img, video, svg {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 900;
  background: var(--navy);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
}

.skip-link:focus {
  left: 16px;
}

.container {
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.ic {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.nw {
  white-space: nowrap;
}

@media (max-width: 370px) {
  .nw {
    white-space: normal;
  }
}

/* ---------- 1. Single-Line Frosted Architectural Header ---------- */
/* Legacy .top-strip retired cleanly if any cached fragment exists */
.top-strip {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(252, 252, 250, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #FCFCFA;
    backdrop-filter: none;
  }
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-whisper);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo img,
.brand-logo svg {
  height: 38px;
  width: auto;
}

.brand-divider,
.brand-positioning {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.85vw, 30px);
  white-space: nowrap;
}

.nav-link,
.nav-dd-btn {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  background: none;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease-out);
}

.nav-link::after,
.nav-dd-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active,
.nav-dd:hover .nav-dd-btn,
.nav-dd-btn.active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-dd-btn.active::after {
  transform: scaleX(1);
}

.nav-dd {
  position: relative;
}

.nav-dd::before {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 14px;
}

.nav-dd-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -24px;
  width: min(740px, calc(100vw - 48px));
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  z-index: 500;
}

.nav-dd:hover .nav-dd-panel,
.nav-dd:focus-within .nav-dd-panel,
.nav-dd.is-open .nav-dd-panel {
  display: grid;
}

.dd-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sub);
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.dd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dd-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.dd-list a:hover {
  background: var(--bg-alt);
  color: var(--navy);
}

.dd-list a span.tag-hot {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--sub);
  font-weight: 500;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-direct-btn {
  background: none;
  border: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sub);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  transition: color 0.2s var(--ease-out);
}

.header-direct-btn:hover {
  color: var(--navy);
}

@media (max-width: 1340px) {
  .header-direct-btn,
  .hide-below-1520 {
    display: none !important;
  }
}

.mob-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #FFFFFF;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out);
}

.mob-menu-btn:hover {
  border-color: var(--navy);
}

/* ---------- 2. Unified Architectural Pill & Button-in-Button System ---------- */
/* Shape Consistency Lock: Buttons = Full Pill, Cards = 16px, Inputs = 10px */
/* Color Consistency Lock: Single Primary Action Accent (--navy) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.22s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn .ic {
  transition: transform 0.35s var(--ease-out);
}

/* Nested Button-in-Button Trailing Capsule (Awwwards / Apple Hardware Spec) */
.btn-orb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}

.btn-orb .ic {
  width: 14px;
  height: 14px;
}

.btn:has(.btn-orb) {
  padding: 7px 8px 7px 22px;
  gap: 11px;
}

.btn-block {
  width: 100%;
}

.btn-block:has(.btn-orb) {
  position: relative;
  justify-content: center;
  padding-inline: 48px;
}

.btn-block .btn-orb {
  position: absolute;
  right: 8px;
}

.btn-lg {
  min-height: 52px;
  padding: 13px 28px;
  font-size: 15px;
}

.btn-lg .btn-orb {
  width: 34px;
  height: 34px;
}

.btn-lg .btn-orb .ic {
  width: 15px;
  height: 15px;
}

.btn-lg:has(.btn-orb) {
  padding: 8px 9px 8px 26px;
  gap: 13px;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 13.5px;
}

.btn-sm .btn-orb {
  width: 25px;
  height: 25px;
}

.btn-sm .btn-orb .ic {
  width: 13px;
  height: 13px;
}

.btn-sm:has(.btn-orb) {
  padding: 6px 7px 6px 16px;
  gap: 9px;
}

.btn-navy {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px -10px rgba(0, 47, 108, 0.38);
}

.btn-navy .btn-orb {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-navy:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 28px -10px rgba(0, 47, 108, 0.48);
}

.btn-navy:hover .btn-orb {
  background: rgba(255, 255, 255, 0.26);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:not(:has(.btn-orb)):hover .ic {
    transform: translateX(2px);
  }
  .btn:hover .btn-orb {
    transform: translate(2px, -1px) scale(1.05);
  }
}

/* Harmonized secondary buttons: quiet architectural hairline (eliminates 1688 dual-color clash) */
.btn-outline,
.btn-green {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--line-strong);
  font-weight: 500;
}

.btn-outline:hover,
.btn-green:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-tint);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost-light:hover {
  background: #FFFFFF;
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- 3. Sculpted Split Hero (Macro Whitespace & Double-Bezel Stage) ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 7.6vw, 112px) 0 clamp(84px, 8.8vw, 132px);
  background:
    radial-gradient(62% 76% at 82% 20%, rgba(0, 47, 108, 0.042), transparent 72%),
    radial-gradient(46% 54% at 10% 88%, rgba(80, 158, 47, 0.025), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.sub-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--sub);
  margin-bottom: 22px;
}

.sub-breadcrumb a {
  color: var(--sub);
}

.sub-breadcrumb a:hover {
  color: var(--navy);
}

.sub-breadcrumb .sep {
  color: #64748B;
}

.hero-meta,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 22px;
  background: none;
  border: none;
  padding: 0;
}

.kicker .dot {
  display: none;
}

.hero h1 {
  font-size: clamp(2.05rem, 0.65rem + 2.65vw, 3.25rem);
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 26px;
}

.hero h1:has(br) {
  text-wrap: normal;
}

.hero:has(.sub-breadcrumb) h1 {
  font-size: clamp(1.62rem, 0.5rem + 1.82vw, 2.42rem);
  line-height: 1.24;
}

.hero h1 .accent {
  color: var(--navy);
}

.hero-lead {
  font-size: clamp(1.02rem, 0.96rem + 0.22vw, 1.125rem);
  line-height: 1.82;
  color: var(--sub);
  max-width: 30em;
  text-wrap: pretty;
  margin-bottom: 38px;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Retire cluttered checkmark list under hero buttons */
.hero-trust-row {
  display: none;
}

/* Double-Bezel Concentric Media Enclosure (24px outer - 8px padding = 16px inner) */
.hero-stage {
  padding: 8px;
  border-radius: var(--r-shell);
  background: var(--bg-alt);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), var(--shadow-md);
}

.hero-stage-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: clip;
  background: #E8ECF2;
}

.hero-stage-media img,
.hero-stage-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-ctrl-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: rgba(11, 19, 36, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out);
}

.video-ctrl-btn:hover {
  background: rgba(11, 19, 36, 0.82);
}

.hero-stage-bar {
  padding: 12px 10px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.hero-stage-bar .cap {
  color: var(--sub);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 220px;
  min-width: 0;
}

.hero-stage-bar .tour-trigger {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.hero-stage-bar .tour-trigger:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- 4. Minimalist Architectural Metrics & Global Audit Bar ---------- */
.stat-ribbon {
  background: var(--bg-pure);
  border-bottom: 1px solid var(--line);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-cell {
  padding: clamp(32px, 4vw, 48px) clamp(20px, 2.5vw, 36px);
  border-right: 1px solid var(--line);
}

.stat-cell:first-child {
  padding-left: 0;
}

.stat-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-num {
  font-size: clamp(2.1rem, 1.5rem + 1.8vw, 3.1rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.stat-num small {
  font-size: 15px;
  font-weight: 500;
  color: var(--sub);
  margin-left: 4px;
  letter-spacing: 0;
}

.stat-label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--sub);
  margin-top: 10px;
}

.stat-desc {
  font-size: 13px;
  color: var(--sub);
  margin-top: 4px;
}

.audit-ribbon {
  background: var(--bg-pure);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.audit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.audit-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  letter-spacing: 0.02em;
}

.audit-brands {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
}

.audit-brand-pill {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.audit-brand-pill em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--sub);
  letter-spacing: 0;
}

/* ---------- 5. Macro-Whitespace Section Rhythm & Editorial Headings ---------- */
.section {
  padding-block: clamp(104px, 9.8vw, 148px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

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

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

/* Harmonized architectural stone surface — replaces jarring mid-page dark hole */
.section-deep {
  background: var(--bg-stone);
  color: var(--body);
  border-bottom: 1px solid var(--line);
}

.sec-header {
  max-width: 840px;
  margin-bottom: clamp(52px, 5.8vw, 76px);
}

.sec-header h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.45vw, 2.5rem);
  line-height: 1.24;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-deep .sec-header h2 {
  color: var(--ink);
}

.sec-header p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--sub);
  max-width: 44em;
  text-wrap: pretty;
}

.section-deep .sec-header p {
  color: var(--sub);
}

/* ---------- 6. PCCR Four-Step Minimalist Atelier Tabs ---------- */
.pccr-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: clamp(32px, 4vw, 52px);
  gap: 0;
}

.pccr-tab {
  text-align: left;
  padding: 0 20px 22px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  color: var(--sub);
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.pccr-tab:hover {
  color: var(--ink);
}

.pccr-tab.active {
  color: var(--ink);
  border-bottom-color: var(--navy);
}

.pccr-step-code {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--sub);
  display: block;
}

.pccr-tab.active .pccr-step-code {
  color: var(--navy);
}

.pccr-step-name {
  font-size: 18px;
  font-weight: 600;
  color: inherit;
  margin-top: 6px;
  display: block;
}

.pccr-step-sub {
  font-size: 13px;
  color: var(--sub);
  margin-top: 4px;
  display: block;
}

.pccr-panel {
  display: none;
}

.pccr-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.pccr-media {
  padding: 8px;
  border-radius: var(--r-shell);
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), var(--shadow-sm);
}

.pccr-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-card);
  object-fit: cover;
}

.pccr-copy h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.pccr-copy p {
  color: var(--sub);
  font-size: 15.5px;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 34em;
}

.pccr-sku-list {
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
}

.pccr-sku-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease-out);
}

.pccr-sku-row strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s var(--ease-out), transform 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pccr-sku-row:hover {
    color: var(--navy);
  }
  .pccr-sku-row:hover strong {
    color: var(--navy);
    transform: translateX(4px);
  }
}

.pccr-sku-row span {
  font-size: 13px;
  color: var(--sub);
  text-align: right;
}

/* ---------- 7. Asymmetric 12-Column Gallery Bento Showcase ---------- */
.bento-atelier {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.bento-tile {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-tile:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
  }
}

.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-12 {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.bento-visual {
  border-radius: var(--r-card);
  overflow: clip;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
}

@media (min-width: 1161px) {
  .bento-span-7 .bento-visual,
  .bento-span-5 .bento-visual {
    aspect-ratio: auto;
    height: 348px;
  }
}

.bento-span-12 .bento-visual {
  aspect-ratio: 16 / 9;
}

.bento-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-tile:hover .bento-visual img {
    transform: scale(1.03);
  }
}

.bento-info {
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-span-12 .bento-info {
  padding: 24px 28px 24px 8px;
}

.bento-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sub);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bento-info h3 {
  font-size: 20px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.bento-span-7 .bento-info h3,
.bento-span-12 .bento-info h3 {
  font-size: 22px;
}

.bento-info p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--sub);
  margin-top: 8px;
  margin-bottom: 18px;
  max-width: 36em;
  text-wrap: pretty;
  flex: 1;
}

/* ---------- 8. Open Gallery Craftsmanship Spreads (Zero Box-in-Box) ---------- */
.feature-spread {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(36px, 5.5vw, 80px);
  align-items: center;
}

.feature-spread.is-reversed {
  grid-template-columns: 1.06fr 0.94fr;
}

.feature-spread + .feature-spread {
  margin-top: clamp(64px, 7vw, 108px);
  padding-top: clamp(64px, 7vw, 108px);
  border-top: 1px solid var(--line);
}

.feature-spread h3 {
  font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.26;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.feature-spread p {
  color: var(--sub);
  font-size: 15.5px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 34em;
  text-wrap: pretty;
}

.showcase-stage {
  padding: 8px;
  border-radius: var(--r-shell);
  background: var(--bg-alt);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-whisper);
}

.showcase-stage img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-card);
  object-fit: cover;
}

.showcase-stage img.is-diagram,
.card-media.is-diagram img {
  object-fit: contain;
  background: #FFFFFF;
  padding: 12px;
}

.showcase-stage-meta {
  padding: 12px 10px 4px;
  font-size: 13px;
  color: var(--sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.param-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.param-chip {
  padding: 0;
  background: none;
  border: none;
}

.param-chip .v {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.param-chip .k {
  font-size: 13px;
  color: var(--sub);
  margin-top: 4px;
}

/* ---------- 9. Clean Subpage Cards & Grids ---------- */
.bento-6,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

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

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.card:hover {
  border-color: var(--line-strong);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }
}

.card-media {
  aspect-ratio: 16 / 10.5;
  border-radius: var(--r-card);
  overflow: clip;
  background: var(--bg-alt);
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover .card-media img {
    transform: scale(1.03);
  }
}

.card-media.is-cert {
  background: var(--bg-alt);
  padding: 14px;
  cursor: zoom-in;
}

button.card-media.is-cert {
  width: 100%;
  border: 0;
  text-align: left;
  appearance: none;
  display: block;
}

.card-media.is-cert img {
  object-fit: contain;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.card-body {
  padding: 20px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.meta-line {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--sub);
  margin-bottom: 8px;
}

.card-body h3 {
  font-size: 18px;
  line-height: 1.38;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  text-wrap: balance;
}

.card-body h3 a:hover {
  color: var(--navy);
}

.card-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--sub);
  margin-bottom: 16px;
  flex: 1;
}

.card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.25s var(--ease-out);
}

.card-link:hover {
  gap: 10px;
}

/* ---------- 10. Cleanroom Multi-Camera Showcase (Light Stone Atelier) ---------- */
.cleanroom-layout {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: clamp(24px, 3.5vw, 40px);
  align-items: start;
}

.video-stage-box {
  padding: 8px;
  border-radius: var(--r-shell);
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.video-stage-box video {
  width: 100%;
  aspect-ratio: 16 / 9.6;
  border-radius: var(--r-card);
  object-fit: cover;
  background: #0F172A;
}

.video-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding-top: 8px;
}

.video-tab {
  padding: 10px 8px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--sub);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.video-tab:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.video-tab.active {
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 600;
}

.cleanroom-caption-row {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

#cleanroomStageCap {
  font-size: 13.5px;
  color: var(--sub) !important;
}

.cleanroom-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cleanroom-photo {
  padding: 6px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--line);
}

.cleanroom-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
}

.cleanroom-photo figcaption {
  padding: 10px 8px 6px;
  font-size: 12.5px;
  color: var(--sub);
  font-weight: 400;
}

/* ---------- 11. Minimalist Swiss Engineering Spec Table ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-pure);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  border-left: none;
  border-right: none;
  border-radius: 0;
  box-shadow: none;
}

table.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 680px;
}

table.spec-table th {
  background: transparent;
  color: var(--sub);
  text-align: left;
  padding: 16px 20px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  letter-spacing: 0.03em;
}

table.spec-table th:first-child,
table.spec-table td:first-child {
  padding-left: 4px;
}

table.spec-table td {
  padding: 20px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  vertical-align: top;
  line-height: 1.65;
}

table.spec-table td strong {
  font-weight: 600;
  color: var(--ink);
}

table.spec-table tr:last-child td {
  border-bottom: none;
}

table.spec-table tr:hover td {
  background: rgba(243, 245, 248, 0.55);
}

/* ---------- 12. Museum-Frame Official Red-Seal Certifications ---------- */
.cert-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.cert-card:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.cert-card .cert-thumb {
  height: 156px;
  width: 100%;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
}

.cert-card .cert-thumb img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.cert-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.cert-card span {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--sub);
  margin-top: 4px;
  display: block;
}

.cert-card em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- 13. Architectural Hairline Buyer Channels & Borderless FAQ ---------- */
.tribe-list {
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  padding-top: 32px;
}

.tribe-list.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.tribe-k {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--sub);
  letter-spacing: 0.04em;
}

.tribe-card {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s var(--ease-out);
}

.grid-5 .tribe-card {
  padding: 24px 20px;
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.grid-5 .tribe-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-whisper);
}

.tribe-card .code {
  display: none;
}

.tribe-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s var(--ease-out);
}

.tribe-card:hover h3 {
  color: var(--navy);
}

.tribe-card p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.7;
  flex: 1;
}

/* Borderless Swiss Hairline Accordion FAQ (Minimalist-UI Spec) */
.faq-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(32px, 4.6vw, 68px);
  align-items: start;
}

.faq-layout .sec-header {
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
  max-width: 900px;
}

details.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

details.faq-item summary {
  list-style: none;
  padding: 24px 0;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.2s var(--ease-out);
}

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

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

details.faq-item summary .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

details.faq-item[open] summary .faq-icon {
  transform: rotate(180deg);
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

details.faq-item .faq-body {
  padding: 0 36px 26px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--sub);
}

/* ---------- 14. Spacious Executive RFQ Atelier ---------- */
.rfq-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5.5vw, 76px);
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: clamp(32px, 4.5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.rfq-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.rfq-aside h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.15rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.26;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.rfq-promise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.rfq-promise-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  color: var(--sub);
}

.rfq-promise-list li .ic {
  color: var(--green);
  margin-top: 4px;
}

.rfq-promise-list li strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.rfq-direct-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 24px;
}

.rfq-direct-card .lbl {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sub);
}

.rfq-direct-card .phone {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 4px;
  letter-spacing: -0.01em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctrl);
  font-size: 14.5px;
  color: var(--ink);
  background: #FFFFFF;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  text-overflow: ellipsis;
}

.form-group textarea {
  min-height: 96px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #475569;
}

/* ---------- 14B. International Atelier Subpage Primitives ---------- */
/* 1. Transparent Lab Author Byline for Whitepaper Guides */
.author-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 13px 18px;
  margin-bottom: 24px;
  background: var(--bg-alt);
  border-left: 2.5px solid var(--navy);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: var(--sub);
}

.author-byline strong {
  color: var(--ink);
  font-weight: 600;
}

/* 2. Architectural 2x2 / 3x2 Parameter Matrix (Replaces Wordy Text Tables) */
.spec-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink);
  border-left: 1px solid var(--line);
  background: var(--bg-pure);
}

.spec-matrix.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-cell {
  padding: clamp(26px, 3.2vw, 38px) clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-cell .spec-k {
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
}

.spec-cell .spec-v {
  font-size: clamp(1.32rem, 1.05rem + 0.65vw, 1.7rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.spec-cell .spec-note {
  font-size: 14px;
  line-height: 1.68;
  color: var(--sub);
  max-width: 32em;
}

/* 3. Asymmetric 7+5 Atelier Proof Showcase (Replaces Banned 3-Equal-Card Rows) */
.atelier-duo {
  display: grid;
  grid-template-columns: 1.26fr 0.94fr;
  gap: clamp(24px, 3.2vw, 36px);
  align-items: stretch;
}

.atelier-lead-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.atelier-lead-media {
  border-radius: var(--r-card);
  overflow: clip;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
}

.atelier-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atelier-lead-body {
  padding: 24px 20px 18px;
}

.atelier-lead-body h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.42rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.32;
  margin-bottom: 8px;
}

.atelier-lead-body p {
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--sub);
  max-width: 36em;
}

.atelier-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.atelier-side-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: 18px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  flex: 1;
}

.atelier-side-thumb {
  border-radius: 12px;
  overflow: clip;
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
}

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

.atelier-side-thumb.is-cert-box {
  padding: 8px;
  cursor: zoom-in;
  border: 1px solid var(--line);
  background: #FFFFFF;
}

button.atelier-side-thumb.is-cert-box {
  width: 100%;
  appearance: none;
}

.atelier-side-thumb.is-cert-box img {
  object-fit: contain;
}

.atelier-side-copy h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 6px;
}

.atelier-side-copy p {
  font-size: 13.8px;
  line-height: 1.68;
  color: var(--sub);
}

/* 4. Live Interactive On-Page 13% VAT BOM Studio Calculator */
.inline-bom-studio {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 52px);
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.inline-bom-ledger {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(26px, 3.2vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inline-bom-price {
  font-size: clamp(1.85rem, 1.35rem + 1.3vw, 2.55rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.inline-bom-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  font-size: 13.5px;
  color: var(--sub);
}

.inline-bom-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-top: 2px;
}

.scroll-top-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 12px;
  pointer-events: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 47, 108, 0.1);
}

.rfq-success-msg {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--green-tint);
  border: 1px solid rgba(80, 158, 47, 0.35);
  border-radius: var(--r-ctrl);
  color: #14532D;
  font-size: 14px;
}

/* ---------- 15. Quiet Architectural Footer ---------- */
.site-footer {
  background: var(--bg-pure);
  border-top: 1px solid var(--line);
  padding: clamp(64px, 7vw, 96px) 0 36px;
  color: var(--body);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.05fr;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 48px;
}

.site-footer h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer ul a {
  color: var(--sub);
  font-size: 13.5px;
}

.site-footer ul a:hover {
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--sub);
}

/* ---------- 16. Native <dialog> Modals & Floating Launcher ---------- */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(11, 19, 36, 0.56);
  backdrop-filter: blur(6px);
  overflow: hidden;
  overscroll-behavior: contain;
}

dialog.yanse-dialog {
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  background: #FFFFFF;
  color: var(--body);
  max-width: 680px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  padding: 0;
  box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: no-preference) {
  dialog.yanse-dialog {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out), overlay 0.28s var(--ease-out), display 0.28s var(--ease-out);
    transition-behavior: allow-discrete;
  }
  dialog.yanse-dialog[open] {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  @starting-style {
    dialog.yanse-dialog[open] {
      opacity: 0;
      transform: translateY(10px) scale(0.985);
    }
  }
  dialog.mob-drawer {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s var(--ease-out), transform 0.34s var(--ease-out), overlay 0.34s var(--ease-out), display 0.34s var(--ease-out);
    transition-behavior: allow-discrete;
  }
  dialog.mob-drawer[open] {
    opacity: 1;
    transform: translateX(0);
  }
  @starting-style {
    dialog.mob-drawer[open] {
      opacity: 0;
      transform: translateX(100%);
    }
  }
}

dialog.yanse-dialog.wide {
  max-width: 920px;
}

.dlg-head {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.dlg-head h2,
.dlg-head h1 {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
}

.dlg-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.dlg-close:hover {
  background: var(--navy);
  color: #FFFFFF;
}

.dlg-body {
  padding: 24px 26px 28px;
  overflow-y: auto;
  max-height: calc(90dvh - 76px);
}

.calc-res {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 22px;
  margin: 18px 0;
}

.calc-res .price-band {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 4px;
}

dialog.mob-drawer {
  margin: 0 0 0 auto;
  max-width: 360px;
  width: 88vw;
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.mob-nav-group {
  margin-bottom: 20px;
}

.mob-nav-group h3 {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--sub);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.mob-nav-group a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.mob-nav-group a:hover {
  background: var(--bg-alt);
  color: var(--navy);
}

.float-calc-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 380;
  background: var(--navy);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--shadow-lg);
  padding: 7px 8px 7px 16px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s var(--ease-out), transform 0.24s var(--ease-out), background-color 0.25s var(--ease-out);
}

.float-calc-btn .btn-orb {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.float-calc-btn .btn-orb .ic {
  width: 13px;
  height: 13px;
}

.float-calc-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-calc-btn.is-visible:hover {
  background: var(--navy-hover);
  transform: translateY(-2px);
}

.float-calc-btn.is-visible:hover .btn-orb {
  background: rgba(255, 255, 255, 0.26);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .float-calc-btn.is-visible:hover .btn-orb {
    transform: translate(2px, -1px) scale(1.05);
  }
}

.float-calc-btn.is-visible:active {
  transform: scale(0.98);
}

.yanse-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%) translateY(16px);
  z-index: 950;
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  max-width: 92vw;
  text-align: center;
}

.yanse-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 390;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}

/* Progressive IntersectionObserver Scroll Choreography (Compositor-Only + Reduced-Motion Safe) */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-motion-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--stagger, 0) * 65ms);
  }

  html.js-motion-ready .reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
  }
}

@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- 17. Responsive Breakpoints (1440 / 1160 / 768 / 390 / 360) ---------- */
@media (max-width: 1160px) {
  .main-nav,
  .header-cta .btn-outline {
    display: none;
  }
  .mob-menu-btn {
    display: inline-flex;
  }
  .hero-grid,
  .pccr-panel.active,
  .feature-spread,
  .feature-spread.is-reversed,
  .cleanroom-layout,
  .faq-layout,
  .rfq-shell,
  .bento-span-12,
  .atelier-duo,
  .inline-bom-studio {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento-span-7,
  .bento-span-5 {
    grid-column: span 6;
  }
  .bento-span-4 {
    grid-column: span 4;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-cell {
    padding: 28px 20px;
    border-bottom: 1px solid var(--line);
  }
  .stat-cell:nth-child(2n) {
    border-right: none;
  }
  .pccr-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .bento-6,
  .grid-3,
  .spec-matrix.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-5,
  .tribe-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tribe-list.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px;
  }
  .header-inner {
    height: 64px;
  }
  .header-cta .btn-navy {
    display: none;
  }
  .brand-logo img,
  .brand-logo svg {
    height: 34px;
  }
  .hero {
    padding: 36px 0 52px;
  }
  .hero-meta,
  .kicker {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 6.8vw, 1.95rem);
    line-height: 1.24;
    margin-bottom: 16px;
  }
  .hero:has(.sub-breadcrumb) h1 {
    font-size: clamp(1.3rem, 5.4vw, 1.65rem);
    line-height: 1.26;
    margin-bottom: 16px;
  }
  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.72;
    margin-bottom: 26px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .btn-lg {
    width: 100%;
  }
  .hero-actions .btn-lg:has(.btn-orb) {
    position: relative;
    justify-content: center;
    padding-inline: 52px;
  }
  .hero-actions .btn-lg .btn-orb {
    position: absolute;
    right: 9px;
  }
  .section {
    padding-block: 68px;
  }
  .sec-header {
    margin-bottom: 36px;
  }
  .bento-atelier {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .bento-span-7,
  .bento-span-5,
  .bento-span-4,
  .bento-span-12 {
    grid-column: 1 / -1;
  }
  .bento-span-12 .bento-info {
    padding: 18px 14px 14px;
  }
  .pccr-tabs,
  .param-chips,
  .bento-6,
  .grid-3,
  .grid-2,
  .grid-4,
  .grid-5,
  .tribe-list,
  .tribe-list.cols-4,
  .spec-matrix,
  .spec-matrix.cols-3,
  .atelier-side-card,
  .inline-bom-meta,
  .cleanroom-photo-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pccr-sku-row {
    flex-direction: column;
    gap: 4px;
  }
  .pccr-sku-row span {
    text-align: left;
  }
  .video-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rfq-shell,
  .inline-bom-studio {
    padding: 24px 20px;
  }
  .float-calc-btn {
    display: none;
  }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
  }
  .mobile-bar .btn {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
  }
}
