/*
Theme Name: Huaheng Industrial B2B
Theme URI: https://www.huahengmaterials.com
Author: Jiangsu Huaheng Insulation Technology
Description: Fluid spatial B2B WordPress + WooCommerce catalog and inquiry theme with EN/ES/FR/ZH multilingual support, unified studio product imagery, and interactive material layer choreography.
Version: 3.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
Text Domain: huaheng-industrial
*/

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/plex-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/plex-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-canvas: #f6f7f9;
  --bg-surface: #ffffff;
  --bg-stone: #f1efe9;
  --bg-soft: #eef2f6;
  --bg-cinema: #0c1826;
  --brand-ink: #0f1d2d;
  --brand-navy: #14365d;
  --cta-accent: #c85a17;
  --cta-accent-hover: #b24c0e;
  --whatsapp-green: #1d7a46;
  --text-primary: #111c29;
  --text-secondary: #48586a;
  --text-muted: #6c7d90;
  --shadow-ambient: 0 12px 34px -10px rgba(15, 29, 45, 0.07), 0 2px 8px -2px rgba(15, 29, 45, 0.03);
  --shadow-hover: 0 24px 52px -14px rgba(15, 29, 45, 0.14), 0 4px 14px -4px rgba(15, 29, 45, 0.05);
  --shadow-island: 0 14px 40px -10px rgba(15, 29, 45, 0.12), 0 2px 10px rgba(15, 29, 45, 0.04);
  --r-stage: 32px;
  --r-card: 24px;
  --r-inner: 16px;
  --r-control: 14px;
  --r-pill: 999px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --container-max: 1320px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'IBM Plex Sans', 'PingFang SC', 'Segoe UI', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-navy);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}

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

/* Scroll Progress Hairline */
.hh-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  z-index: 260;
  pointer-events: none;
  background: transparent;
}

.hh-scroll-progress__bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-navy), var(--cta-accent));
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll-ratio, 0));
}

/* Floating Rounded Translucent Glass Navbar (Apple Spatial Island) */
.hh-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: min(1300px, calc(100% - 32px));
  z-index: 220;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  box-shadow: var(--shadow-island), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition:
    background-color 260ms var(--ease-out),
    box-shadow 280ms var(--ease-out),
    top 240ms var(--ease-out),
    border-radius 340ms cubic-bezier(0.32, 0.72, 0, 1);
}

body.admin-bar .hh-header {
  top: 46px;
}

.hh-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px -12px rgba(15, 29, 45, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.admin-bar .hh-header.is-scrolled {
  top: 40px;
}

.hh-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 6px 10px 6px 16px;
}

.hh-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--brand-ink);
  text-decoration: none !important;
  flex-shrink: 0;
}

.hh-brand__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}

.hh-brand__name {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--brand-ink);
  line-height: 1.15;
}

.hh-brand__sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.hh-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.hh-nav__glide {
  position: absolute;
  top: 50%;
  left: 0;
  height: 36px;
  width: var(--glide-w, 0px);
  transform: translate3d(var(--glide-x, 0px), -50%, 0);
  background: rgba(20, 54, 93, 0.07);
  border-radius: var(--r-pill);
  opacity: var(--glide-o, 0);
  pointer-events: none;
  transition: transform 220ms var(--ease-spring), width 220ms var(--ease-spring), opacity 160ms ease;
}

.hh-nav__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.hh-nav__item {
  position: relative;
}

.hh-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 160ms ease;
}

.hh-nav__item.is-current > .hh-nav__link {
  font-weight: 600;
  color: var(--brand-navy);
  background: rgba(20, 54, 93, 0.08);
}

.hh-nav__caret {
  width: 9px;
  height: 9px;
  opacity: 0.55;
  transition: transform 200ms var(--ease-out);
}

.hh-nav__item:hover > .hh-nav__link .hh-nav__caret {
  transform: rotate(180deg);
}

/* Origin-Aware Smooth Popover Dropdowns */
.hh-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 268px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-radius: 20px;
  box-shadow: 0 22px 48px -12px rgba(15, 29, 45, 0.18), 0 0 0 1px rgba(15, 29, 45, 0.05);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform-origin: top left;
  transform: translateY(-4px) scale(0.96);
  transition: opacity 180ms var(--ease-out), transform 200ms var(--ease-out), visibility 180ms;
  z-index: 250;
}

.hh-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.hh-nav__item:hover > .hh-dropdown,
.hh-nav__item:focus-within > .hh-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hh-dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 13px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.hh-dropdown li a:hover {
  background: var(--bg-soft);
  color: var(--brand-navy);
}

/* Header Right Actions: Search + 4-Language Switcher + Pill CTA */
.hh-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hh-search-pill {
  display: flex;
  align-items: center;
  background: rgba(15, 29, 45, 0.055);
  border-radius: var(--r-pill);
  padding: 4px 6px 4px 12px;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.hh-search-pill:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(20, 54, 93, 0.22);
}

.hh-search-pill input[type="search"] {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-primary);
  width: 132px;
  padding: 4px 0;
  transition: width 220ms var(--ease-spring);
}

.hh-search-pill input[type="search"]:focus {
  outline: none;
  width: 168px;
}

.hh-search-pill button {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease, transform 140ms var(--ease-out);
}

.hh-search-pill button:hover {
  background: rgba(15, 29, 45, 0.08);
  color: var(--brand-ink);
}

/* 4-Language Switcher Pill + Popover */
.hh-lang-switcher {
  position: relative;
}

.hh-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  border: 0;
  background: rgba(15, 29, 45, 0.055);
  color: var(--brand-ink);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, transform 150ms var(--ease-out);
}

.hh-lang-trigger:hover {
  background: rgba(15, 29, 45, 0.1);
}

.hh-lang-trigger:active {
  transform: scale(0.96);
}

.hh-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 176px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-radius: 18px;
  box-shadow: 0 22px 48px -12px rgba(15, 29, 45, 0.2), 0 0 0 1px rgba(15, 29, 45, 0.06);
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform-origin: top right;
  transform: translateY(-4px) scale(0.95);
  transition: opacity 170ms var(--ease-out), transform 190ms var(--ease-out), visibility 170ms;
  z-index: 260;
}

.hh-lang-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.hh-lang-switcher:hover .hh-lang-menu,
.hh-lang-switcher:focus-within .hh-lang-menu,
.hh-lang-switcher.is-open .hh-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hh-lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}

.hh-lang-menu a:hover {
  background: var(--bg-soft);
  color: var(--brand-navy);
}

.hh-lang-menu a.is-active {
  background: rgba(20, 54, 93, 0.09);
  color: var(--brand-navy);
  font-weight: 600;
}

.hh-lang-code {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Tactile Pill Buttons (Apple / Emil Press Feedback) */
.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  border: 0;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  will-change: transform;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, box-shadow 200ms var(--ease-out), color 180ms ease;
}

.hh-btn:active {
  transform: scale(0.965) !important;
}

.hh-btn--primary {
  background: var(--cta-accent);
  color: #ffffff !important;
  box-shadow: 0 8px 20px -6px rgba(200, 90, 23, 0.42);
}

.hh-btn--primary:hover {
  background: var(--cta-accent-hover);
  box-shadow: 0 12px 26px -6px rgba(200, 90, 23, 0.52);
}

.hh-btn--header {
  height: 40px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.hh-btn--glass {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--brand-ink) !important;
  box-shadow: 0 6px 20px -6px rgba(15, 29, 45, 0.12), inset 0 0 0 1px rgba(15, 29, 45, 0.08);
}

.hh-btn--glass:hover {
  background: #ffffff;
}

.hh-btn--soft {
  background: var(--bg-soft);
  color: var(--brand-ink) !important;
}

.hh-btn--soft:hover {
  background: #e1e8f0;
}

.hh-btn--whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff !important;
  box-shadow: 0 8px 20px -6px rgba(29, 122, 70, 0.35);
}

.hh-btn--whatsapp:hover {
  background: #166037;
}

.hh-btn--sm {
  padding: 9px 15px;
  font-size: 0.8125rem;
}

.hh-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 0;
  background: rgba(15, 29, 45, 0.06);
  color: var(--brand-ink);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   STAGE 1: FULL-BLEED UNDER-HEADER HERO BANNER (沉底在页眉的背景图)
   ========================================================================== */
.hh-hero-stage {
  position: relative;
  min-height: 700px;
  padding: 132px 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #e8eaee;
}

.hh-hero-stage__bg {
  position: absolute;
  inset: -4% 0;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(1.03);
  will-change: transform;
}

.hh-hero-stage__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hh-hero-stage__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(96deg, rgba(247, 248, 250, 0.96) 0%, rgba(247, 248, 250, 0.88) 38%, rgba(247, 248, 250, 0.36) 66%, rgba(247, 248, 250, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 24%);
  pointer-events: none;
}

.hh-hero-stage__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 28px 0 36px;
}

.hh-hero-stage__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--brand-navy);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(15, 29, 45, 0.05);
}

.hh-hero-stage__title {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 4.1vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 600;
  color: var(--brand-ink);
}

.hh-hero-stage__lead {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  line-height: 1.66;
  color: #334252;
  max-width: 58ch;
}

.hh-hero-stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Floating Frosted Capability Dock Inside Hero */
.hh-hero-dock {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  box-shadow: 0 18px 44px -14px rgba(15, 29, 45, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hh-hero-dock__item {
  padding: 12px 16px;
  border-radius: var(--r-inner);
  background: rgba(255, 255, 255, 0.66);
  transition: transform 220ms var(--ease-out), background-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .hh-hero-dock__item:hover {
    transform: translateY(-2px);
    background: #ffffff;
  }
}

.hh-hero-dock__item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
  margin-bottom: 3px;
}

.hh-hero-dock__item span {
  display: block;
  font-size: 0.79rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   SUBPAGE FULL-BLEED UNDER-HEADER BANNER (沉底在页眉的子页背景图)
   ========================================================================== */
.hh-subbanner {
  position: relative;
  padding: 144px 0 48px;
  overflow: hidden;
  background: #edf1f5;
}

.hh-subbanner__bg {
  position: absolute;
  inset: -4% 0;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(1.02);
}

.hh-subbanner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hh-subbanner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(265deg, rgba(244, 246, 249, 0.96) 0%, rgba(244, 246, 249, 0.91) 52%, rgba(244, 246, 249, 0.52) 100%);
}

.hh-subbanner__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-left: auto;
}

.hh-breadcrumbs-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.hh-breadcrumbs-pill a {
  color: var(--brand-navy);
  font-weight: 500;
}

.hh-subbanner h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--brand-ink);
}

.hh-subbanner p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 62ch;
}

/* ==========================================================================
   SECTIONS & SPATIAL TYPOGRAPHY
   ========================================================================== */
.hh-section {
  padding: 84px 0;
}

.hh-section--white {
  background: var(--bg-surface);
}

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

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

.hh-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 600;
  color: var(--brand-ink);
}

.hh-section-head p {
  margin: 0;
  max-width: 64ch;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ==========================================================================
   LINKED MOTION #1: INTERACTIVE 3D EXPLODED MATERIAL LAYER STUDIO
   ========================================================================== */
.hh-studio-shell {
  background: var(--bg-surface);
  border-radius: var(--r-stage);
  padding: 36px;
  box-shadow: var(--shadow-ambient);
}

.hh-segmented {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  margin-bottom: 32px;
}

.hh-segmented__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--seg-w, 0px);
  height: var(--seg-h, calc(100% - 12px));
  transform: translate3d(var(--seg-x, 6px), var(--seg-y, 6px), 0);
  background: #ffffff;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 14px rgba(15, 29, 45, 0.1);
  transition:
    transform 280ms var(--ease-spring),
    width 280ms var(--ease-spring),
    height 280ms var(--ease-spring);
  pointer-events: none;
}

.hh-segmented__btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 180ms ease;
}

.hh-segmented__btn.is-active {
  color: var(--brand-ink);
}

.hh-studio-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

/* 3D Free-Orbit Exploded Stack Stage (360° Direct Manipulation + Inertia + Auto-Orbit) */
.hh-iso-stage {
  position: relative;
  min-height: 380px;
  border-radius: var(--r-card);
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #eaf0f6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 22px;
  overflow: hidden;
  perspective: 1150px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: inset 0 0 0 1px rgba(15, 29, 45, 0.05);
}

.hh-iso-stage.is-dragging {
  cursor: grabbing;
}

.hh-iso-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
}

.hh-iso-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 2px 10px rgba(15, 29, 45, 0.05);
  pointer-events: none;
}

.hh-iso-reset {
  border: 0;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(15, 29, 45, 0.07);
  color: var(--brand-ink);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}

.hh-iso-reset:hover {
  background: var(--brand-ink);
  color: #ffffff;
}

.hh-iso-reset:active {
  transform: scale(0.95);
}

.hh-iso-stack {
  position: relative;
  width: 240px;
  height: 200px;
  margin: 14px 0 8px;
  transform-style: preserve-3d;
  transform: rotateX(var(--iso-rx, 54deg)) rotateZ(var(--iso-rz, -32deg)) scale(var(--iso-scale, 1));
  will-change: transform;
}

.hh-iso-plate {
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  backface-visibility: visible;
  transition: transform 440ms var(--ease-spring), opacity 300ms var(--ease-out), box-shadow 320ms var(--ease-out);
  box-shadow: -12px 16px 28px rgba(15, 29, 45, 0.14), inset 0 0 0 1.5px rgba(255, 255, 255, 0.8);
}

.hh-iso-plate--woven {
  background-color: #f8fafc;
  background-image:
    repeating-linear-gradient(0deg, rgba(20, 54, 93, 0.12) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(90deg, rgba(20, 54, 93, 0.12) 0 2px, transparent 2px 11px);
}

.hh-iso-plate--pe {
  background:
    radial-gradient(circle at var(--sheen-x, 38%) var(--sheen-y, 32%), rgba(255, 255, 255, 0.34) 0%, transparent 54%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.88), rgba(29, 78, 216, 0.72));
}

.hh-iso-plate--tie {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.56), rgba(226, 232, 240, 0.76));
  backdrop-filter: blur(4px);
}

.hh-iso-plate--vmpet {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px 9px),
    radial-gradient(circle at var(--sheen-x, 35%) var(--sheen-y, 35%), rgba(255, 255, 255, 0.96) 0%, rgba(226, 232, 240, 0.55) 36%, transparent 70%),
    linear-gradient(135deg, #cbd5e1 0%, #f8fafc 38%, #94a3b8 68%, #e2e8f0 100%);
}

.hh-iso-plate--tubular {
  border-radius: 999px;
  background-color: #f8fafc;
  background-image:
    repeating-linear-gradient(45deg, rgba(20, 54, 93, 0.1) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(-45deg, rgba(20, 54, 93, 0.1) 0 2px, transparent 2px 10px);
}

.hh-iso-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  z-index: 2;
}

.hh-iso-pill {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: 0 4px 12px rgba(15, 29, 45, 0.06);
}

/* Studio Detail Panel with Emil Blur Crossfade */
.hh-studio-detail {
  transition: opacity 220ms var(--ease-out), filter 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.hh-studio-detail.is-switching {
  opacity: 0.35;
  filter: blur(3px);
  transform: scale(0.985);
}

.hh-studio-detail__preview {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-canvas);
  padding: 20px;
  border-radius: var(--r-card);
}

.hh-studio-detail__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-inner);
  overflow: hidden;
  background: #f2f4f7;
}

.hh-studio-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-studio-detail h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}

.hh-studio-detail p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   UNIFIED 8-SKU STUDIO PRODUCT CARDS (Concentric Curvature, Zero Wireframes)
   ========================================================================== */
.hh-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.hh-filter-chip {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 0;
  background: #ffffff;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 29, 45, 0.04);
  transition: background-color 180ms ease, color 180ms ease, transform 150ms var(--ease-out), box-shadow 180ms ease;
}

.hh-filter-chip:hover {
  color: var(--brand-ink);
}

.hh-filter-chip:active {
  transform: scale(0.96);
}

.hh-filter-chip.is-active {
  background: var(--brand-ink);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(15, 29, 45, 0.3);
}

.hh-product-grid {
  display: grid;
  gap: 22px;
}

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

.hh-product-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hh-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-radius: var(--r-card);
  padding: 10px;
  box-shadow: var(--shadow-ambient);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), opacity 220ms var(--ease-out), filter 220ms var(--ease-out);
}

.hh-product-card.is-filtered-out {
  display: none;
}

.hh-product-card.is-filtering {
  opacity: 0;
  filter: blur(3px);
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .hh-product-card:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
    box-shadow: var(--shadow-hover);
  }
  .hh-product-card:hover .hh-product-card__media img {
    transform: scale(1.045);
  }
}

.hh-product-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-inner);
  background: #f2f4f7;
  overflow: hidden;
  position: relative;
}

.hh-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}

.hh-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 10px 10px;
}

.hh-product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.74rem;
}

.hh-sku-tag {
  font-weight: 600;
  color: var(--brand-navy);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hh-mat-tag {
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 62%;
}

.hh-product-card__title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.hh-product-card__title a {
  color: var(--brand-ink);
  text-decoration: none !important;
}

.hh-product-card__title a:hover {
  color: var(--brand-navy);
}

.hh-product-card__structure {
  margin: 0 0 18px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.hh-product-card__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
}

/* ==========================================================================
   LINKED MOTION #3: DRAGGABLE CLIP-PATH MACRO SPLIT COMPARATOR
   ========================================================================== */
.hh-compare-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.hh-split-loupe {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-stage);
  overflow: hidden;
  background: #f2f4f7;
  box-shadow: var(--shadow-hover);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  --split: 52%;
}

.hh-split-loupe__layer {
  position: absolute;
  inset: 0;
}

.hh-split-loupe__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hh-split-loupe__top {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.hh-split-loupe__badge {
  position: absolute;
  bottom: 18px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(15, 29, 45, 0.76);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 3;
  pointer-events: none;
}

.hh-split-loupe__badge--left {
  left: 18px;
}

.hh-split-loupe__badge--right {
  right: 18px;
}

.hh-split-loupe__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2.5px;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(15, 29, 45, 0.35);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.hh-split-loupe__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 29, 45, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-ink);
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 160ms var(--ease-out);
}

.hh-split-loupe.is-dragging .hh-split-loupe__knob {
  transform: translate(-50%, -50%) scale(1.1);
}

.hh-compare-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hh-compare-card {
  background: var(--bg-surface);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow-ambient);
}

.hh-compare-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  color: var(--brand-ink);
}

.hh-compare-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hh-compare-card li + li {
  margin-top: 6px;
}

/* ==========================================================================
   LINKED MOTION #4: 5-STAGE JIANGSU DUAL-PLANT CINEMA REEL (All Workshop Media Unified!)
   ========================================================================== */
.hh-cinema {
  background: var(--bg-cinema);
  color: #ffffff;
  border-radius: var(--r-stage);
  padding: 44px;
  overflow: hidden;
  box-shadow: 0 28px 64px -18px rgba(12, 24, 38, 0.45);
}

.hh-cinema .hh-section-head h2 {
  color: #ffffff;
}

.hh-cinema .hh-section-head p {
  color: #a9bacd;
}

.hh-cinema__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: stretch;
}

.hh-cinema__steps,
.hh-cinema__screen {
  min-width: 0;
}

.hh-cinema__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hh-cinema__step {
  text-align: left;
  border: 0;
  border-radius: 18px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd8e6;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}

.hh-cinema__step:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hh-cinema__step:active {
  transform: scale(0.985);
}

.hh-cinema__step.is-active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hh-cinema__step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: inherit;
}

.hh-cinema__step span {
  display: block;
  font-size: 0.8rem;
  color: #9fb2c7;
  line-height: 1.45;
}

.hh-cinema__screen {
  position: relative;
  width: 100%;
  align-self: center;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #060d15;
  aspect-ratio: 16 / 10;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.hh-cinema__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 240ms ease, filter 240ms ease;
}

.hh-cinema__screen.is-switching video {
  opacity: 0.35;
  filter: blur(4px);
}

/* ==========================================================================
   CATALOG SIDEBAR & ARCHIVE (Soft Rounded Surfaces, Zero Boxy Borders)
   ========================================================================== */
.hh-catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.hh-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.hh-filter-box {
  background: var(--bg-surface);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--shadow-ambient);
}

.hh-filter-box h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
}

.hh-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hh-filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  text-decoration: none !important;
  transition: background-color 150ms ease, color 150ms ease;
}

.hh-filter-list a:hover {
  background: var(--bg-soft);
  color: var(--brand-ink);
}

.hh-filter-list a.is-active {
  background: var(--brand-ink);
  color: #ffffff;
  font-weight: 600;
}

.hh-filter-list a.is-active .hh-filter-count {
  color: rgba(255, 255, 255, 0.78);
}

.hh-filter-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SINGLE PRODUCT PAGE: SPATIAL SPEC TILES (Zero Excel Spreadsheet Tables!)
   ========================================================================== */
.hh-single-product {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: start;
}

.hh-gallery {
  background: var(--bg-surface);
  padding: 14px;
  border-radius: var(--r-stage);
  box-shadow: var(--shadow-ambient);
}

.hh-gallery__main {
  aspect-ratio: 4 / 3;
  background: #f2f4f7;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
}

.hh-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 200ms ease, filter 200ms ease;
}

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

.hh-gallery__thumb {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #f2f4f7;
  cursor: pointer;
  opacity: 0.68;
  transition: opacity 180ms ease, transform 160ms var(--ease-out), box-shadow 180ms ease;
}

.hh-gallery__thumb.is-active,
.hh-gallery__thumb:hover {
  opacity: 1;
  box-shadow: 0 0 0 2.5px var(--brand-navy);
}

.hh-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-product-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hh-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 29, 45, 0.05);
  color: var(--brand-navy);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
}

.hh-product-summary h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}

.hh-product-summary__excerpt {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Rounded Spatial Spec Tiles (Replaces Excel <table>!) */
.hh-spec-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.hh-spec-tile {
  background: var(--bg-surface);
  border-radius: 18px;
  padding: 15px 18px;
  box-shadow: 0 4px 16px -6px rgba(15, 29, 45, 0.05);
}

.hh-spec-tile--wide {
  grid-column: 1 / -1;
}

.hh-spec-tile__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hh-spec-tile__val {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-ink);
  line-height: 1.45;
}

.hh-product-cta-box {
  background: var(--bg-surface);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: var(--shadow-ambient);
}

.hh-product-cta-box__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hh-workshop-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.hh-workshop-strip figure {
  margin: 0;
  background: var(--bg-surface);
  padding: 10px;
  border-radius: 20px;
  box-shadow: var(--shadow-ambient);
}

.hh-workshop-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 13px;
}

.hh-workshop-strip figcaption {
  padding: 10px 6px 4px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONCIERGE RFQ FORM & SUBPAGES (Soft Rounded Tactile Controls)
   ========================================================================== */
.hh-rfq-stage {
  background: linear-gradient(145deg, #10243b 0%, #0b1828 100%);
  color: #ffffff;
  border-radius: var(--r-stage);
  padding: 48px;
  box-shadow: 0 28px 60px -18px rgba(12, 24, 38, 0.42);
}

.hh-contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: start;
}

.hh-rfq-stage h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: #ffffff;
}

.hh-rfq-stage p {
  color: #bdd0e4;
  font-size: 1rem;
}

.hh-form-card {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-ambient);
}

.hh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.hh-field {
  margin-bottom: 14px;
}

.hh-form-row .hh-field {
  margin-bottom: 0;
}

.hh-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.hh-field input,
.hh-field select,
.hh-field textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: #f5f7fa;
  border: 1.5px solid transparent;
  border-radius: var(--r-control);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hh-field input:focus,
.hh-field select:focus,
.hh-field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 4px rgba(20, 54, 93, 0.1);
}

.hh-alert {
  padding: 16px 20px;
  border-radius: 18px;
  margin-bottom: 24px;
  font-size: 0.94rem;
}

.hh-alert--success {
  background: #e9f7ef;
  color: #14532d;
}

.hh-alert--error {
  background: #fef2f2;
  color: #7f1d1d;
}

/* Applications, Factory, Guides Subpage Grids */
.hh-sector-grid,
.hh-factory-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hh-sector,
.hh-guide-card,
.hh-factory-photo {
  margin: 0;
  background: var(--bg-surface);
  border-radius: var(--r-card);
  padding: 12px;
  box-shadow: var(--shadow-ambient);
  overflow: hidden;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hh-sector:hover,
  .hh-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
}

.hh-sector__media,
.hh-guide-card__image,
.hh-factory-photo img {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-inner);
  overflow: hidden;
  background: #f2f4f7;
}

.hh-sector__media img,
.hh-guide-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-sector__body,
.hh-guide-card__body {
  padding: 18px 12px 12px;
}

.hh-factory-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.hh-factory-plant {
  margin-top: 48px;
}

.hh-guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.hh-process-card {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 10px;
  box-shadow: var(--shadow-ambient);
}

.hh-process-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 13px;
  overflow: hidden;
  background: #0c1826;
}

.hh-process-card__media video,
.hh-process-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-process-card__body {
  padding: 12px 6px 6px;
}

.hh-process-card__body h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
}

.hh-process-card__body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hh-article {
  max-width: 76ch;
  margin-inline: auto;
  background: var(--bg-surface);
  padding: 40px;
  border-radius: var(--r-stage);
  box-shadow: var(--shadow-ambient);
}

.hh-article__image {
  margin: 0 0 28px;
  border-radius: 20px;
  overflow: hidden;
}

.hh-article__section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-soft);
}

/* Scroll-Reveal Stagger Choreography */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-spring);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Floating WhatsApp Quick-Chat Orb */
.hh-wa-orb {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 210;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 20px 0 16px;
  border-radius: var(--r-pill);
  background: #1d8348;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 14px 32px -6px rgba(29, 131, 72, 0.48);
  text-decoration: none !important;
  transition: transform 200ms var(--ease-spring), box-shadow 200ms var(--ease-out);
}

.hh-wa-orb:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 38px -6px rgba(29, 131, 72, 0.58);
}

.hh-wa-orb:active {
  transform: scale(0.96);
}

/* Footer */
.hh-footer {
  background: var(--bg-cinema);
  color: #bfd0e2;
  padding: 68px 0 34px;
  margin-top: 40px;
  border-radius: 36px 36px 0 0;
}

.hh-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hh-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.hh-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hh-footer li + li {
  margin-top: 9px;
}

.hh-footer a {
  color: #bfd0e2;
  font-size: 0.875rem;
}

.hh-footer a:hover {
  color: #ffffff;
}

.hh-footer__bottom {
  padding-top: 24px;
  font-size: 0.8125rem;
  color: #899eb4;
}

/* ==========================================================================
   8 REAL-WORLD INDUSTRIAL APPLICATIONS SHOWCASE (SPATIAL BENTO CARDS)
   ========================================================================== */
.hh-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hh-app-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-radius: var(--r-card);
  padding: 10px;
  box-shadow: var(--shadow-ambient);
  transition:
    transform 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out),
    opacity 240ms ease,
    filter 240ms ease;
}

.hh-app-card.is-filtering,
.hh-sector.is-filtering {
  opacity: 0;
  transform: scale(0.95);
  filter: blur(4px);
}

.hh-app-card.is-filtered-out,
.hh-sector.is-filtered-out {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .hh-app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
  .hh-app-card:hover .hh-app-card__media img {
    transform: scale(1.045);
  }
}

.hh-app-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-inner);
  overflow: hidden;
  background: #eaeef3;
}

.hh-app-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease-out);
}

.hh-app-card__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(15, 29, 45, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hh-app-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 10px 8px;
}

.hh-app-card__title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.34;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--brand-ink);
}

.hh-app-card__title a {
  color: inherit;
  text-decoration: none;
}

.hh-app-card__desc {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.56;
  color: var(--text-secondary);
  flex: 1;
}

.hh-app-card__skus {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.hh-app-sku-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: #eef2f6;
  color: var(--brand-navy);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hh-app-sku-pill:hover {
    background: var(--brand-navy);
    color: #ffffff;
    transform: translateY(-1px);
  }
}

.hh-app-spec-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f4f6f9;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.hh-app-spec-note strong {
  color: var(--brand-ink);
  margin-right: 4px;
}

/* Open-Ended Custom Substrate & Extended Use-Case Wall */
.hh-open-use-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(140deg, #10243b 0%, #163352 100%);
  color: #ffffff;
  border-radius: var(--r-card);
  padding: 28px 30px;
  box-shadow: 0 22px 48px -16px rgba(15, 29, 45, 0.36);
}

.hh-open-use-card--subpage {
  grid-column: span 1;
}

.hh-open-use-card__kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.hh-open-use-card h2,
.hh-open-use-card h3 {
  margin: 0 0 10px;
  font-size: 1.38rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hh-open-use-card p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.62;
  color: #c6d7ea;
  max-width: 72ch;
}

.hh-use-tag-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hh-use-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  font-size: 0.77rem;
  font-weight: 500;
}

.hh-open-use-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hh-hero-mobile-visual {
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .hh-nav {
    display: none;
  }
  .hh-mobile-toggle {
    display: inline-flex;
  }
  .hh-product-grid--4,
  .hh-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hh-open-use-card {
    grid-column: 1 / -1;
  }
  .hh-hero-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hh-studio-grid,
  .hh-compare-layout,
  .hh-cinema__layout,
  .hh-catalog-layout,
  .hh-single-product,
  .hh-contact-grid {
    grid-template-columns: 1fr;
  }
  .hh-cinema__screen {
    order: -1;
  }
  .hh-sidebar {
    position: static;
  }
  .hh-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hh-container {
    padding: 0 15px;
  }
  .hh-section {
    padding: 56px 0;
  }
  /* Compact Proportioned Floating Header Pill (Zero Right-Edge Clipping on 360-390px Phones) */
  .hh-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 999px;
  }
  .hh-header.is-open {
    border-radius: 24px;
  }
  .hh-header__bar {
    min-height: 52px;
    padding: 5px 7px 5px 11px;
    gap: 6px;
  }
  .hh-brand {
    gap: 7px;
    min-width: 0;
  }
  .hh-brand__logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .hh-brand__name {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 136px;
  }
  .hh-header__actions {
    gap: 5px;
  }
  .hh-lang-trigger {
    height: 34px;
    padding: 0 9px;
    font-size: 0.75rem;
    gap: 4px;
  }
  .hh-mobile-toggle {
    height: 34px;
    padding: 0 11px;
    font-size: 0.76rem;
    gap: 5px;
  }
  .hh-search-pill,
  .hh-brand__sub,
  .hh-btn--header {
    display: none;
  }

  /* Mobile Hero: Crisp Uncropped Widescreen Roll Visual + Compact 2x2 Capability Dock */
  .hh-hero-stage {
    min-height: 0;
    padding: 84px 0 28px;
  }
  .hh-hero-stage__bg {
    opacity: 0.22;
  }
  .hh-hero-stage__scrim {
    background: linear-gradient(180deg, rgba(247, 248, 250, 0.96) 0%, rgba(247, 248, 250, 0.92) 100%);
  }
  .hh-hero-stage__content {
    padding: 12px 0 20px;
  }
  .hh-hero-stage__title {
    font-size: 1.85rem;
    line-height: 1.14;
    margin-bottom: 12px;
  }
  .hh-hero-stage__lead {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .hh-hero-mobile-visual {
    display: block;
    margin-top: 18px;
    aspect-ratio: 16 / 9.5;
    border-radius: 20px;
    overflow: hidden;
    background: #eef1f5;
    box-shadow: 0 16px 36px -12px rgba(15, 29, 45, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  }
  .hh-hero-mobile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
  .hh-hero-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
  }
  .hh-hero-dock__item {
    padding: 10px 11px;
    border-radius: 13px;
  }
  .hh-hero-dock__item strong {
    font-size: 0.81rem;
  }
  .hh-hero-dock__item span {
    font-size: 0.72rem;
    line-height: 1.38;
  }

  /* Subpage Banner Proportions on Mobile */
  .hh-subbanner {
    padding: 90px 0 30px;
  }
  .hh-subbanner h1 {
    font-size: 1.62rem;
  }

  /* 2x2 Grid Segmented Control on Mobile (Zero 2-Row White Blob Deformation!) */
  .hh-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 20px;
    padding: 5px;
    gap: 4px;
    margin-bottom: 20px;
  }
  .hh-segmented__btn {
    padding: 10px 8px;
    font-size: 0.81rem;
    text-align: center;
    border-radius: 15px;
  }
  .hh-segmented__indicator {
    border-radius: 15px;
  }
  .hh-iso-stage {
    min-height: 315px;
    padding: 12px 14px 18px;
  }
  .hh-iso-stack {
    width: 196px;
    height: 164px;
  }
  .hh-studio-detail__preview {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }
  .hh-studio-detail__img {
    aspect-ratio: 16 / 10.5;
  }

  /* Drag Split Comparator: Larger Frame & Diagonal Non-Overlapping Badges */
  .hh-split-loupe {
    aspect-ratio: 4 / 3.2;
    border-radius: 22px;
  }
  .hh-split-loupe__badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    max-width: calc(100% - 24px);
  }
  .hh-split-loupe__badge--left {
    top: 12px;
    left: 12px;
    bottom: auto;
  }
  .hh-split-loupe__badge--right {
    bottom: 12px;
    right: 12px;
  }
  .hh-split-loupe__knob {
    width: 42px;
    height: 42px;
  }
  .hh-compare-card {
    padding: 20px 18px;
  }

  /* Cinema Video Player First + Compact Steps Below */
  .hh-cinema__layout {
    gap: 16px;
  }
  .hh-cinema__step {
    padding: 12px 14px;
    border-radius: 14px;
  }
  .hh-cinema__step strong {
    font-size: 0.88rem;
  }
  .hh-cinema__step span {
    font-size: 0.76rem;
  }

  .hh-form-row,
  .hh-spec-tiles,
  .hh-app-grid,
  .hh-sector-grid,
  .hh-guide-list,
  .hh-workshop-strip,
  .hh-footer__grid {
    grid-template-columns: 1fr;
  }
  .hh-studio-shell,
  .hh-cinema,
  .hh-rfq-stage,
  .hh-form-card {
    padding: 20px 16px;
    border-radius: 24px;
  }

  /* Full-Width High-Detail Mobile Product Cards (~325x224px Roll Imagery, 4x Area, Zero Truncation!) */
  .hh-product-grid--4,
  .hh-product-grid--3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hh-product-card {
    padding: 10px;
    border-radius: 22px;
  }
  .hh-product-card__media {
    aspect-ratio: 16 / 10.8;
    border-radius: 15px;
  }
  .hh-product-card__body {
    padding: 14px 8px 6px;
  }
  .hh-product-card__meta {
    font-size: 0.75rem;
  }
  .hh-mat-tag {
    max-width: none;
    padding: 4px 10px;
  }
  .hh-product-card__title {
    font-size: 1.04rem;
  }
  .hh-product-card__structure {
    font-size: 0.83rem;
    margin-bottom: 14px;
  }
  .hh-product-card__footer {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hh-process-grid {
    grid-template-columns: 1fr;
  }

  /* Compact Floating WhatsApp Pill on Mobile */
  .hh-wa-orb {
    right: 14px;
    bottom: 14px;
    height: 42px;
    padding: 0 14px 0 12px;
    font-size: 0.78rem;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 120ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
