/* ==========================================================================
   JUERUI · 珏瑞科技 · Industrial Precision (Haitian-inspired)
   ========================================================================== */

/* — Fontshare: Satoshi (Gilroy-style alternative, free for commercial use) — */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');

/* — Google Fonts: Oswald (DIN-Condensed alternative for big numerals) — */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Barlow:wght@300;400;500;600;700&display=swap');

/* — MiSans (Xiaomi open font) for refined sans on numbers — */
@font-face {
  font-family: 'MiSans';
  src: url('https://hyper.mi.com/font/MiSans-VF.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Colors — Haitian palette */
  --c-brand: #00388B;        /* 海天蓝 - primary brand blue */
  --c-brand-dark: #00255E;
  --c-brand-light: #1E5BC8;
  --c-accent: #F6D870;       /* warm gold accent */

  --c-bg: #FFFFFF;
  --c-bg-2: #F6F6F6;
  --c-bg-3: #EBEBEB;
  --c-bg-dark: #1A1A1A;
  --c-bg-deep: #0F0F0F;

  --c-ink: #1A1A1A;
  --c-ink-2: #333333;
  --c-ink-3: #5E5E5E;
  --c-ink-4: #888888;
  --c-ink-5: #BFBFBF;
  --c-line: #E0E0E0;
  --c-line-2: #EAEAEA;

  /* Typography */
  --f-sans: 'Satoshi', 'Gilroy', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --f-numerals: 'Oswald', 'DIN Condensed', 'Barlow', 'PingFang SC', sans-serif;
  --f-display: 'Satoshi', 'Gilroy', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --f-mi: 'MiSans', 'Satoshi', 'PingFang SC', sans-serif;

  /* Motion */
  --t-fast: 240ms cubic-bezier(.4, 0, .2, 1);
  --t-base: 520ms cubic-bezier(.16, 1, .3, 1);
  --t-slow: 980ms cubic-bezier(.16, 1, .3, 1);

  /* Spacing */
  --pad-x: clamp(20px, 4vw, 80px);
  --pad-y: clamp(80px, 10vw, 160px);

  /* Header height */
  --nav-h: 80px;
}

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

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

body {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--c-brand); color: #fff; }

/* ─── Typography Scale ──────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-brand);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--c-brand);
}

.h-display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--c-ink);
}

.h-display-xl { font-size: clamp(44px, 6.6vw, 96px); font-weight: 700; }
.h-display-l  { font-size: clamp(36px, 4.4vw, 64px); font-weight: 700; }
.h-display-m  { font-size: clamp(28px, 3vw, 44px); font-weight: 700; }

.h-display .accent { color: var(--c-brand); }
.h-display.on-dark { color: #fff; }
.h-display.on-dark .accent { color: var(--c-accent); }

.body-l {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--c-ink-3);
  font-weight: 400;
}

.body-m { font-size: 15px; line-height: 1.7; color: var(--c-ink-3); }
.caption { font-size: 13px; color: var(--c-ink-4); letter-spacing: 0.04em; }

.num-display {
  font-family: var(--f-numerals);
  font-weight: 500;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

.num-display .unit {
  font-size: 0.32em;
  vertical-align: super;
  color: var(--c-brand);
  margin-left: 4px;
  font-weight: 500;
}

/* ─── Layout Primitives ──────────────────────────────────────────────── */

.shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: var(--pad-y) 0; position: relative; }
.section.bg-light { background: var(--c-bg-2); }
.section.bg-dark { background: var(--c-bg-dark); color: #fff; }

.section-head {
  margin-bottom: clamp(48px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-head .h-display {
  max-width: 1000px;
}

.section-head.center {
  align-items: center;
  text-align: center;
}

.section-head.row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* ─── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  cursor: pointer;
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}

.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--c-brand);
  color: #fff;
  border-color: var(--c-brand);
}

.btn-primary:hover { background: var(--c-brand-dark); border-color: var(--c-brand-dark); }

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}

.btn-ghost:hover { background: var(--c-ink); color: #fff; }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-ghost-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }

/* ─── Navigation ──────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--t-fast), border-color var(--t-fast), height var(--t-fast);
  border-bottom: 1px solid transparent;
}

.nav.is-light, .nav.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--c-line);
}

.nav.is-light .nav-menu a,
.nav.is-light .nav-logo,
.nav.is-light .lang-toggle button,
.nav.is-scrolled .nav-menu a,
.nav.is-scrolled .nav-logo,
.nav.is-scrolled .lang-toggle button {
  color: var(--c-ink);
}

.nav.is-light .nav-cta,
.nav.is-scrolled .nav-cta {
  color: #fff;
  background: var(--c-brand);
  border-color: var(--c-brand);
}

.nav.is-scrolled { height: 64px; }

.nav-logo {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color var(--t-fast);
}

.nav-logo .logo-img {
  display: block;
  height: 44px;
  width: auto;
  /* Logo is black; invert on dark hero, restore on scrolled/light */
  filter: invert(1) brightness(2);
  transition: filter var(--t-fast), height var(--t-fast);
}

.nav.is-scrolled .nav-logo .logo-img {
  height: 36px;
}

.nav.is-light .nav-logo .logo-img,
.nav.is-scrolled .nav-logo .logo-img {
  filter: none;
}

.nav-logo .divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.3);
  transition: background var(--t-fast);
}

.nav.is-light .nav-logo .divider,
.nav.is-scrolled .nav-logo .divider {
  background: var(--c-line);
}

.nav-logo .zh {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.nav-logo .divider {
  height: 28px;
}

.nav-logo .sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.nav.is-light .nav-logo .sub,
.nav.is-scrolled .nav-logo .sub { color: var(--c-ink-3); }

.nav-menu {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: color var(--t-fast);
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--c-brand);
  transition: width var(--t-fast);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { width: 24px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

.lang-toggle button {
  padding: 4px 6px;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast);
}

.lang-toggle button.active { color: #fff; }
.nav.is-light .lang-toggle button,
.nav.is-scrolled .lang-toggle button { color: var(--c-ink-4); }
.nav.is-light .lang-toggle button.active,
.nav.is-scrolled .lang-toggle button.active { color: var(--c-ink); }
.lang-toggle .sep { opacity: 0.4; }

.nav-cta {
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--c-brand);
  color: #fff;
  border: 1px solid var(--c-brand);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.nav-cta:hover { background: var(--c-brand-dark); border-color: var(--c-brand-dark); }

/* ── Mobile hamburger toggle (hidden on desktop) ── */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  margin-left: 8px;
  padding: 0;
  color: inherit;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 24px; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav.is-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

  /* Hide desktop CTA on mobile (Contact accessible via menu) */
  .nav .nav-cta { display: none; }

  /* Mobile menu slides in from right */
  .nav-menu {
    display: flex !important;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 16px 24px 40px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
    z-index: 95;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0,0,0,0.08);
  }
  .nav.is-open .nav-menu { transform: translateX(0); }
  .nav-menu li { width: 100%; list-style: none; }
  .nav-menu li a {
    display: block;
    padding: 20px 4px;
    font-size: 18px;
    font-weight: 500;
    color: var(--c-ink);
    border-bottom: 1px solid var(--c-line);
    text-decoration: none;
  }
  .nav-menu li a.active { color: var(--c-brand); }

  body.nav-open { overflow: hidden; }
}

/* ─── HERO ──────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0a0e1a;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.7) 100%),
    linear-gradient(120deg, rgba(0,40,100,0.55) 0%, transparent 65%);
  z-index: 2;
  pointer-events: none;
}

.hero-video video,
.hero-video img,
.hero-video .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Real hero photo background */
.hero-video .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: heroPhotoZoom 28s ease-out infinite alternate;
}

@keyframes heroPhotoZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

/* Visual placeholder fallback when no photo */
.hero-video .placeholder {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0,56,139,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(30,91,200,0.35) 0%, transparent 50%),
    linear-gradient(135deg, #0a1428 0%, #1a2842 50%, #0d1f3a 100%);
  animation: heroFloat 24s ease-in-out infinite;
}

.hero-video .placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 80px,
      rgba(255,255,255,0.03) 80px,
      rgba(255,255,255,0.03) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 80px,
      rgba(255,255,255,0.02) 80px,
      rgba(255,255,255,0.02) 81px
    );
}

.hero-video .placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,68,255,0.15) 0%, transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(246,216,112,0.06) 0%, transparent 25%);
  filter: blur(40px);
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.06) rotate(0.6deg); }
}

@keyframes heroPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: var(--nav-h) var(--pad-x) 80px;
  max-width: 1480px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 36px;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-accent);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(44px, 6.8vw, 104px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 1100px;
  margin-bottom: 32px;
}

.hero-title .accent { color: var(--c-accent); }

.hero-sub {
  max-width: 600px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 32px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-meta-side {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.hero-meta-stats {
  display: flex;
  align-items: baseline;
  gap: clamp(32px, 5vw, 80px);
}

.hero-meta-stat .num {
  font-family: var(--f-numerals);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1;
}

.hero-meta-stat .num.num-est {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.02em;
  font-weight: 600;
  margin-bottom: 0;
}

.hero-meta-stat.est .lbl { display: none; }

.hero-meta-stat .num em {
  font-style: normal;
  color: var(--c-accent);
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 2px;
}

.hero-meta-stat .lbl {
  font-size: 11px;
  letter-spacing: 0.15em;
}

@media (max-width: 720px) {
  .hero-meta { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero-meta-stats { gap: 24px; flex-wrap: wrap; }
}

/* ─── Clients Strip ──────────────────────────────────────────────── */

.clients {
  padding: 60px 0;
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}

.clients-label {
  text-align: center;
  margin-bottom: 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--c-ink-4);
  text-transform: uppercase;
}

.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: marquee 48s linear infinite;
  flex-shrink: 0;
  padding-right: 24px;
  align-items: center;
}

.marquee-track .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  min-width: 200px;
  padding: 0 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-ink-4);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), filter var(--t-fast);
  text-transform: uppercase;
  filter: grayscale(1);
}

.marquee-track .brand em {
  display: none;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track .brand:hover {
  color: var(--c-brand);
  border-color: var(--c-brand);
  background: #fff;
  filter: grayscale(0);
}

.clients-note {
  text-align: center;
  margin-top: 28px;
  font-size: 11px;
  color: var(--c-ink-4);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Numbers Strip (Like Haitian's data row) ──────────────────────────────── */

.numbers {
  background: var(--c-brand);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(246,216,112,0.1) 0%, transparent 50%);
}

.numbers .shell { position: relative; z-index: 1; }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
}

.numbers-item {
  padding: 0 32px;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.numbers-item:first-child { border-left: none; padding-left: 0; }

.numbers-item .num {
  font-family: var(--f-numerals);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.numbers-item .num em {
  font-style: normal;
  color: var(--c-accent);
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 4px;
  font-weight: 500;
}

.numbers-item .lbl {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.numbers-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.numbers .eyebrow {
  color: var(--c-accent);
}

.numbers .eyebrow::before { background: var(--c-accent); }

.numbers .h-display { color: #fff; max-width: 720px; }

@media (max-width: 900px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .numbers-item { padding: 0 24px; }
  .numbers-item:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 540px) {
  .numbers-grid { grid-template-columns: 1fr; gap: 32px; }
  .numbers-item { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 32px; }
  .numbers-item:first-child { border-top: none; padding-top: 0; }
}

/* ─── Products (Haitian-style card grid) ──────────────────────────────── */

.products .h-display { max-width: 800px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.product-card {
  position: relative;
  background: #fff;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: background var(--t-base);
  min-height: 360px;
  overflow: hidden;
}

.product-card .photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.product-card .photo img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 92%;
  height: auto;
  max-height: 75%;
  object-fit: contain;
  transition: transform var(--t-slow), filter var(--t-slow);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
}

.product-card .photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--c-bg-2) 0%, #ffffff 100%);
  z-index: 0;
}

.product-card .photo img { z-index: 1; }

.product-card:hover .photo img {
  transform: translate(-50%, -50%) scale(1.08);
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.25)) brightness(1.05);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-dark) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 0;
}

.product-card:hover::before { opacity: 1; }
.product-card > * { position: relative; z-index: 1; }

.product-card .idx {
  font-family: var(--f-numerals);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink-4);
  letter-spacing: 0.1em;
  transition: color var(--t-fast);
}

.product-card .name-zh {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: auto;
  transition: color var(--t-fast);
}

.product-card .name-en {
  font-size: 13px;
  font-weight: 400;
  color: var(--c-ink-4);
  letter-spacing: 0.04em;
  transition: color var(--t-fast);
}

.product-card .glyph {
  position: absolute;
  bottom: -20px; right: -10px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 120px;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.05);
  letter-spacing: -0.05em;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base), color var(--t-base);
  z-index: 1;
  opacity: 0.8;
}

.product-card:hover .glyph {
  -webkit-text-stroke: 1px rgba(255,255,255,0.12);
  color: transparent;
  transform: scale(1.05);
}

.product-card .arrow {
  align-self: flex-start;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--c-ink-3);
  transition: all var(--t-fast);
}

.product-card:hover .photo::before {
  background: linear-gradient(180deg, rgba(0,56,139,0.92) 0%, rgba(0,37,94,0.96) 100%);
}

.product-card:hover .idx,
.product-card:hover .name-zh,
.product-card:hover .name-en { color: #fff; }

.product-card:hover .name-en,
.product-card:hover .idx { color: rgba(255,255,255,0.75); }

.product-card:hover .arrow {
  background: #fff;
  border-color: #fff;
  color: var(--c-brand);
}

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

@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 260px; }
}

/* ─── Capability / Solutions Section ──────────────────────────────── */

.solutions {
  background: var(--c-bg-2);
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sol-card {
  background: #fff;
  padding: 40px 36px 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base);
  border: 1px solid transparent;
}

.sol-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-brand);
}

.sol-card .num {
  font-family: var(--f-numerals);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-brand);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  display: block;
}

.sol-card .icon {
  width: 56px; height: 56px;
  background: var(--c-bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background var(--t-fast);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-brand);
}

.sol-card:hover .icon { background: var(--c-brand); color: #fff; }

.sol-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.sol-card h3 em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--c-ink-4);
  margin-top: 6px;
  letter-spacing: 0.06em;
}

.sol-card p {
  color: var(--c-ink-3);
  font-size: 14px;
  line-height: 1.7;
}

.sol-card .more {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-brand);
  letter-spacing: 0.04em;
  transition: gap var(--t-fast);
}

.sol-card:hover .more { gap: 14px; }

@media (max-width: 900px) {
  .sol-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ─── About / Mission ──────────────────────────────── */

.about-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--c-bg-dark);
  overflow: hidden;
}

.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease-out;
}

.about-visual:hover img { transform: scale(1.05); }

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%),
    linear-gradient(135deg, rgba(0,56,139,0.25) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.about-visual .corner-tag {
  position: absolute;
  bottom: 30px;
  left: 32px;
  z-index: 2;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.about-visual .corner-tag small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 6px;
}

.about-visual .badge {
  position: absolute;
  top: 32px; left: 32px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.about-text .body-l {
  margin-bottom: 24px;
  max-width: 580px;
}

.about-bullets {
  list-style: none;
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.about-bullets li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: baseline;
}

.about-bullets .marker {
  font-family: var(--f-numerals);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-brand);
  letter-spacing: 0.05em;
}

.about-bullets .txt {
  font-size: 15px;
  color: var(--c-ink-2);
  line-height: 1.65;
}

.about-bullets .txt strong {
  font-weight: 700;
  color: var(--c-ink);
}

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
}

/* ─── News Preview ──────────────────────────────── */

.news-preview {
  background: var(--c-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 32px;
  transition: border-color var(--t-fast), transform var(--t-fast);
  cursor: pointer;
}

.news-card:hover {
  border-color: var(--c-brand);
  transform: translateY(-4px);
}

.news-card .date {
  font-family: var(--f-numerals);
  font-size: 13px;
  color: var(--c-ink-4);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.news-card .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-bg-2);
  font-size: 11px;
  font-weight: 500;
  color: var(--c-brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.news-card h3 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.45;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}

.news-card p {
  font-size: 14px;
  color: var(--c-ink-3);
  line-height: 1.65;
}

.news-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-brand);
  transition: gap var(--t-fast);
}

.news-card:hover .more { gap: 14px; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ─── Contact / Footer ──────────────────────────────── */

.contact-cta {
  background: var(--c-bg-dark);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,56,139,0.4) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0,56,139,0.2) 0%, transparent 50%);
}

.contact-cta .shell { position: relative; z-index: 1; }

.contact-cta-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.contact-cta .h-display {
  color: #fff;
  max-width: 720px;
}

.contact-cta .h-display .accent { color: var(--c-accent); }

.contact-cta .sub {
  margin-top: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  max-width: 480px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail .row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
}

.contact-detail .row:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }

.contact-detail .key {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.contact-detail .val {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.005em;
}

.contact-detail .val .alt {
  display: block;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0;
  margin-top: 6px;
}

.contact-detail .row.row-wechat {
  align-items: flex-start;
}

.contact-detail .wechat-qr {
  display: block;
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 6px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

@media (max-width: 900px) {
  .contact-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .contact-detail .row { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; }
  .contact-detail .row .key { font-size: 10px; }
  .contact-detail .row .val { font-size: 16px; }
  .contact-detail .wechat-qr { width: 100px; height: 100px; }
}

.footer {
  background: var(--c-bg-deep);
  color: rgba(255,255,255,0.6);
  padding: 40px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer .copy { color: rgba(255,255,255,0.5); }

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

/* ─── Reveal Animation ──────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

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

[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }
[data-reveal-delay="5"] { transition-delay: 400ms; }
[data-reveal-delay="6"] { transition-delay: 480ms; }
[data-reveal-delay="7"] { transition-delay: 560ms; }
[data-reveal-delay="8"] { transition-delay: 640ms; }

/* Hero text reveal on load */
.hero-rev { opacity: 0; transform: translateY(28px); transition: opacity 900ms cubic-bezier(.16,1,.3,1), transform 900ms cubic-bezier(.16,1,.3,1); }
body.is-loaded .hero-rev { opacity: 1; transform: translateY(0); }
body.is-loaded .hero-rev[data-d="1"] { transition-delay: 140ms; }
body.is-loaded .hero-rev[data-d="2"] { transition-delay: 280ms; }
body.is-loaded .hero-rev[data-d="3"] { transition-delay: 420ms; }
body.is-loaded .hero-rev[data-d="4"] { transition-delay: 560ms; }

/* ─── Subpages ──────────────────────────────── */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) var(--pad-x) 80px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%),
    linear-gradient(135deg, #0a1428 0%, var(--c-brand-dark) 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(0,68,255,0.3) 0%, transparent 50%);
}

.page-hero .shell { position: relative; }

.page-hero .crumbs {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero .crumbs .here { color: var(--c-accent); }
.page-hero .crumbs a:hover { color: #fff; }

.page-hero .h-display { color: #fff; max-width: 1200px; }
.page-hero .body-l { color: rgba(255,255,255,0.85); max-width: 640px; margin-top: 24px; }
.page-hero .body-l.hero-sub-nowrap { max-width: none; white-space: nowrap; }
@media (max-width: 900px) {
  .page-hero .body-l.hero-sub-nowrap { white-space: normal; max-width: 640px; }
}

/* ─── Products Quick Nav (3 business units) ──────────────────────────────── */

.products-quicknav {
  background: #fff;
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--c-line);
}

.quicknav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.quicknav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  text-decoration: none;
  color: var(--c-ink);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.quicknav-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-brand);
  box-shadow: 0 12px 28px rgba(0,56,139,0.10);
}

.quicknav-item .num {
  font-family: var(--f-numerals);
  font-size: 32px;
  font-weight: 500;
  color: var(--c-brand);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.quicknav-item .text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.quicknav-item .text .zh {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
}

.quicknav-item .text .en {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-ink-4);
  text-transform: uppercase;
  margin-top: 4px;
}

.quicknav-item .arrow {
  font-size: 18px;
  color: var(--c-ink-4);
  transition: transform 0.3s ease, color 0.3s ease;
}

.quicknav-item:hover .arrow {
  transform: translateX(4px);
  color: var(--c-brand);
}

@media (max-width: 720px) {
  .quicknav-grid { grid-template-columns: 1fr; }
}

/* ─── Timeline (Development Path) ──────────────────────────────── */

.timeline {
  background: var(--c-bg-2);
  position: relative;
  overflow: hidden;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-line);
}

.timeline-item {
  position: relative;
  padding: 0 24px 0 0;
}

.timeline-item .year {
  font-family: var(--f-numerals);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--c-brand);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 24px;
}

.timeline-item .year::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--c-brand);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--c-bg-2);
}

.timeline-item h4 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.timeline-item p {
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .timeline-track { grid-template-columns: 1fr; gap: 32px; }
  .timeline-track::before { display: none; }
  .timeline-item { padding-left: 28px; border-left: 1px solid var(--c-line); }
  .timeline-item .year { padding-bottom: 12px; }
  .timeline-item .year::after { left: -33px; top: 14px; bottom: auto; }
}

/* ─── Global Layout (1+1+5) ──────────────────────────────── */

.global {
  background: var(--c-bg-dark);
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* dark-bg color overrides for headings/body inside the global section */
.global .eyebrow { color: var(--c-accent); }
.global .h-display { color: #fff; }
.global .h-display .accent { color: var(--c-accent); }
.global .body-l { color: rgba(255,255,255,0.75); }

.global::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,56,139,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,56,139,0.15) 0%, transparent 50%);
}

.global .shell { position: relative; z-index: 1; }

.global-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
  margin: 64px 0;
  flex-wrap: wrap;
}

.global-node {
  text-align: center;
  position: relative;
}

.global-node .big {
  font-family: var(--f-numerals);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 500;
  line-height: 1;
  color: var(--c-brand-light);
  letter-spacing: -0.04em;
  text-shadow: 0 0 60px rgba(30,91,200,0.3);
}

.global-node .lbl {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
  letter-spacing: 0.06em;
  max-width: 280px;
}

.global-plus {
  font-family: var(--f-numerals);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  color: rgba(255,255,255,0.3);
}

.global-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.global-detail-item {
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

.global-detail-item .tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.global-detail-item h4 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.global-detail-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .global-detail { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .global-formula { flex-direction: column; gap: 24px; margin: 48px 0; }
  .global-plus { font-size: 32px; opacity: 0.5; }
  .global-node .big { font-size: 96px; }
  .global-node .lbl { max-width: 100%; }
}

/* ─── Certifications ──────────────────────────────── */

.certs {
  background: #fff;
  border-top: 1px solid var(--c-line);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.cert-item {
  padding: 32px 24px;
  background: var(--c-bg-2);
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--t-fast);
}

.cert-item:hover {
  background: #fff;
  border-color: var(--c-brand);
  transform: translateY(-4px);
}

.cert-item .mark {
  width: 48px; height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-numerals);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--c-brand);
  letter-spacing: 0.04em;
}

.cert-item h4 {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}

.cert-item p {
  font-size: 12px;
  color: var(--c-ink-4);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .certs-grid { grid-template-columns: 1fr; }
}

/* ─── Strategy (3-Phase Plan) ──────────────────────────────── */

.strategy { background: var(--c-bg-2); }

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strategy-card {
  background: #fff;
  padding: 40px 36px 36px;
  position: relative;
  border-top: 3px solid var(--c-brand);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.strategy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(0,56,139,0.2);
}

.strategy-card .phase {
  font-family: var(--f-numerals);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c-brand);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.strategy-card h3 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.strategy-card .term {
  font-size: 13px;
  color: var(--c-ink-4);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.strategy-card .goal {
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.7;
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 24px;
}

.strategy-card .goal strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 8px;
}

.strategy-card .actions {
  list-style: none;
  margin-top: 8px;
}

.strategy-card .actions li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.6;
  margin-bottom: 14px;
}

.strategy-card .actions li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--c-brand);
}

.strategy-card .actions li strong {
  display: block;
  color: var(--c-ink);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .strategy-grid { grid-template-columns: 1fr; }
}

/* ─── Mission line ──────────────────────────────── */
.mission-line {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  color: var(--c-ink-3);
  font-style: italic;
  letter-spacing: -0.005em;
  margin-top: 16px;
  max-width: 720px;
}

.mission-line::before {
  content: '“ ';
  color: var(--c-brand);
  font-family: var(--f-display);
  font-weight: 700;
}

.mission-line::after {
  content: ' ”';
  color: var(--c-brand);
}

/* ─── Factory Gallery ──────────────────────────────── */

.factory-gallery {
  background: var(--c-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-2);
  cursor: pointer;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1), filter var(--t-base);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  color: #fff;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.gallery-item:hover .cap {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item .cap h5 {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}

.gallery-item .cap p {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
}

/* Bento-style layout: feature shots span more */
.gallery-item.g-hq        { grid-column: span 8; grid-row: span 2; }
.gallery-item.g-vn-plant  { grid-column: span 4; grid-row: span 1; }
.gallery-item.g-vn-line   { grid-column: span 4; grid-row: span 1; }
.gallery-item.g-ws1       { grid-column: span 4; grid-row: span 1; }
.gallery-item.g-ws2       { grid-column: span 4; grid-row: span 1; }
.gallery-item.g-ws3       { grid-column: span 4; grid-row: span 1; }
.gallery-item.g-ws4       { grid-column: span 4; grid-row: span 1; }
.gallery-item.g-ws5       { grid-column: span 4; grid-row: span 1; }
.gallery-item.g-ws6       { grid-column: span 4; grid-row: span 1; }

@media (max-width: 1000px) {
  .gallery-item.g-hq { grid-column: span 12; grid-row: span 2; }
  .gallery-item.g-vn-plant, .gallery-item.g-vn-line { grid-column: span 6; }
  .gallery-item.g-ws1, .gallery-item.g-ws2, .gallery-item.g-ws3,
  .gallery-item.g-ws4, .gallery-item.g-ws5, .gallery-item.g-ws6 { grid-column: span 6; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-auto-rows: minmax(160px, auto); }
  .gallery-item.g-hq { grid-column: span 12; grid-row: span 2; }
  .gallery-item.g-vn-plant, .gallery-item.g-vn-line,
  .gallery-item.g-ws1, .gallery-item.g-ws2, .gallery-item.g-ws3,
  .gallery-item.g-ws4, .gallery-item.g-ws5, .gallery-item.g-ws6 { grid-column: span 12; }
}

/* ─── Global Layout detail card with photo ──────────────────────────────── */

.global-detail-item {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.global-detail-item .photo {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.global-detail-item .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}

.global-detail-item:hover .photo img { transform: scale(1.06); }

.global-detail-item .photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.5) 100%);
}

.global-detail-item .body {
  padding: 24px 28px 28px;
}

.global-detail-item .body .tag { margin-bottom: 12px; }

/* ─── Product Showcase (multi-image per category) ──────────────────────────────── */

.showcase {
  background: var(--c-bg-2);
}

.showcase-block {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--c-line);
}

.showcase-block:last-child { border-bottom: none; }

.showcase-block.reverse {
  grid-template-columns: 8fr 4fr;
}

.showcase-block.reverse .showcase-info {
  order: 2;
}

.showcase-block.reverse .showcase-photos {
  order: 1;
}

.showcase-info .num {
  font-family: var(--f-numerals);
  font-size: clamp(60px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.9;
  color: var(--c-brand);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  opacity: 0.18;
}

.showcase-info .bu-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--c-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.showcase-info h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.showcase-info .en {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-ink-4);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.showcase-info p {
  font-size: 14px;
  color: var(--c-ink-3);
  line-height: 1.75;
  margin-bottom: 28px;
}

.showcase-info .features {
  list-style: none;
  margin-bottom: 28px;
}

.showcase-info .features li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
  margin-bottom: 8px;
}

.showcase-info .features li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--c-brand);
}

.showcase-info .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-brand);
  letter-spacing: 0.04em;
  transition: gap var(--t-fast);
}

.showcase-info .more:hover { gap: 14px; }

.showcase-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.showcase-photos .shot {
  position: relative;
  aspect-ratio: 1/1;
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--c-line);
}

.showcase-photos .shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12%;
  transition: transform var(--t-slow), padding var(--t-slow);
}

.showcase-photos .shot:hover img {
  transform: scale(1.06);
  padding: 8%;
}

.showcase-photos .shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,56,139,0.05) 100%);
  pointer-events: none;
}

.showcase-photos .shot.feature {
  grid-column: span 3;
  aspect-ratio: 16/8;
  background: linear-gradient(180deg, #fff 0%, var(--c-bg-3) 100%);
}

.showcase-photos .shot.feature img {
  padding: 4%;
}

@media (max-width: 900px) {
  .showcase-block,
  .showcase-block.reverse { grid-template-columns: 1fr; }
  .showcase-block.reverse .showcase-info,
  .showcase-block.reverse .showcase-photos { order: unset; }
}

@media (max-width: 540px) {
  .showcase-photos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ─── Ambient backdrop helper ──────────────────────────────── */

.ambient-bg {
  position: relative;
  overflow: hidden;
}

.ambient-bg .bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(1) brightness(0.6);
  z-index: 0;
  pointer-events: none;
}

.ambient-bg .bg-photo.bg-fade-r {
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.ambient-bg .shell { position: relative; z-index: 1; }

/* ─── Process / Craftsmanship Video Showcase ──────────────────────────────── */

.craft {
  background: var(--c-bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.craft::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,56,139,0.35) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(0,56,139,0.18) 0%, transparent 50%);
  pointer-events: none;
}

.craft .shell { position: relative; z-index: 1; }

.craft .h-display { color: #fff; }
.craft .eyebrow { color: var(--c-accent); }
.craft .eyebrow::before { background: var(--c-accent); }

.craft-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.craft-item {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-deep);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.craft-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.craft-item:hover video { transform: scale(1.04); }

.craft-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.craft-item .info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 22px 22px;
  z-index: 2;
}

.craft-item .info .step {
  font-family: var(--f-numerals);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.craft-item .info h4 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}

.craft-item .info p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

/* Bento layout for 5 videos */
.craft-item.c-feature { grid-column: span 6; grid-row: span 2; aspect-ratio: auto; }
.craft-item.c-1 { grid-column: span 3; aspect-ratio: 4/3; }
.craft-item.c-2 { grid-column: span 3; aspect-ratio: 4/3; }
.craft-item.c-3 { grid-column: span 3; aspect-ratio: 4/3; }
.craft-item.c-4 { grid-column: span 3; aspect-ratio: 4/3; }

@media (max-width: 1000px) {
  .craft-item.c-feature { grid-column: span 12; aspect-ratio: 16/10; grid-row: auto; }
  .craft-item.c-1, .craft-item.c-2, .craft-item.c-3, .craft-item.c-4 { grid-column: span 6; }
}

@media (max-width: 600px) {
  .craft-item.c-1, .craft-item.c-2, .craft-item.c-3, .craft-item.c-4 { grid-column: span 12; }
}

/* ─── Business Divisions (3 cards) ──────────────────────────────── */

.divisions { background: var(--c-bg); }

.div-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: clamp(48px, 5vw, 80px);
}

.div-head .h-display { max-width: 760px; }

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

.div-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--c-bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-base);
}

.div-card:hover { transform: translateY(-6px); }

.div-card .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.div-card .bg img,
.div-card .bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1), filter var(--t-base);
}

.div-card:hover .bg img,
.div-card:hover .bg svg { transform: scale(1.06); }

.div-card .bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

/* Division backgrounds — SVG illustration base */
.div-card .bg.bg-acoustics {
  background: radial-gradient(circle at 30% 30%, #1A3464 0%, #0A1A36 60%, #050C1F 100%);
}
.div-card .bg.bg-cases {
  background: radial-gradient(circle at 70% 30%, #3A2418 0%, #1E1410 50%, #0F0905 100%);
}
.div-card .bg.bg-diecut {
  background: radial-gradient(circle at 50% 30%, #0F2E5C 0%, #061A38 50%, #02091B 100%);
}

.div-card > * { position: relative; z-index: 2; }

.div-card .top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.div-card .top .num {
  font-family: var(--f-numerals);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c-accent);
}

.div-card .top h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.div-card .top .en {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.div-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 24px;
}

.div-card .chip {
  display: inline-flex;
  padding: 7px 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.div-card:hover .chip {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.div-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  align-self: flex-start;
  transition: background var(--t-fast), gap var(--t-fast);
}

.div-card:hover .cta {
  background: var(--c-brand);
  border-color: var(--c-brand);
  gap: 14px;
}

@media (max-width: 900px) {
  .div-grid { grid-template-columns: 1fr; }
  .div-card { aspect-ratio: 16/12; }
}

/* ─── Globe / Stats / Logo Wall ──────────────────────────────── */

.globe-area {
  background:
    linear-gradient(180deg, var(--c-bg-2) 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0 0;
}

.globe-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,56,139,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(200,210,230,0.4) 0%, transparent 40%);
  pointer-events: none;
}

.globe-area .shell { position: relative; z-index: 1; }

.globe-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.globe-head .eyebrow {
  justify-content: center;
}

.globe-head .h-display {
  margin-top: 24px;
  color: var(--c-brand);
}

.globe-head .h-display .accent { color: var(--c-ink); }

/* ─── Flat dotted world map (replaces the old globe) ──────────────── */
.world-map-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 32px auto -20px;
}

.world-map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.world-map-svg .wm-dots circle {
  fill: rgba(95, 140, 200, 0.55);
}

.world-map-svg .wm-leader {
  stroke: rgba(0, 30, 80, 0.45);
  stroke-width: 0.8;
  stroke-dasharray: 3 2;
  fill: none;
}

/* Pin marker — Google-Maps style teardrop, fixed pixel size */
.wm-pin {
  position: absolute;
  width: 16px;
  height: 22px;
  background: #2D9C4A;
  clip-path: path('M 8 22 C 8 22 0 11 0 7 A 7 7 0 1 1 16 7 C 16 11 8 22 8 22 Z');
  transform: translate(-50%, -100%);
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  z-index: 1;
}
.wm-pin::before {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
}

.wm-pin--hq {
  background: #E5443A;
  width: 20px;
  height: 28px;
  clip-path: path('M 10 28 C 10 28 0 14 0 9 A 9 9 0 1 1 20 9 C 20 14 10 28 10 28 Z');
}
.wm-pin--hq::before {
  top: 5px; left: 5px;
  width: 10px; height: 10px;
}

/* City label — clean inline text (no box), positioned with leader */
.wm-label {
  position: absolute;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  padding: 2px 6px;
  z-index: 2;
}

.wm-label small {
  display: block;
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 500;
  color: var(--c-ink-4);
  letter-spacing: 0.12em;
  margin-top: 1px;
  text-transform: uppercase;
}

.wm-label--hq { color: #E5443A; font-weight: 700; }

@media (max-width: 600px) {
  .wm-label { font-size: 11px; padding: 1px 4px; }
  .wm-label small { font-size: 8px; }
}

.globe-card {
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: 0 30px 60px -20px rgba(0,56,139,0.12);
  border-radius: 4px;
  position: relative;
  z-index: 2;
}

.globe-card-main {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(40px, 5vw, 72px);
  align-items: center;
}

.globe-card-main .lead h3 {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.globe-card-main .lead p {
  font-size: 15px;
  color: var(--c-ink-3);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}

.globe-card-main .lead .btn {
  padding: 13px 24px;
  font-size: 13px;
  border-radius: 100px;
}

.globe-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px) clamp(28px, 4vw, 48px);
}

.globe-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.globe-stat .num {
  font-family: var(--f-numerals);
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
}

.globe-stat .num em {
  font-style: normal;
  color: var(--c-brand);
  font-size: 0.5em;
  margin-left: 4px;
}

.globe-stat .lbl {
  font-size: 13px;
  color: var(--c-ink-4);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .globe-card-main { grid-template-columns: 1fr; gap: 32px; }
  .globe-stats { grid-template-columns: 1fr 1fr; }
}

/* Logo wall — horizontal marquee inside globe card */
.client-strip {
  border-top: 1px solid var(--c-line);
  padding: 24px 0 0;
}

.client-strip .lbl {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--c-ink-4);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.client-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.client-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-right: clamp(40px, 5vw, 72px);
  animation: clientMarquee 44s linear infinite;
  width: max-content;
}

.client-marquee:hover .client-marquee-track { animation-play-state: paused; }

@keyframes clientMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-marquee .logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 120px;
  color: var(--c-ink-4);
  filter: grayscale(1) brightness(0.85);
  opacity: 0.65;
  transition: opacity var(--t-fast), filter var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}

.client-marquee .logo-item:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  color: var(--c-brand);
}

.client-marquee .logo-item img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Text fallback for missing logo files */
.client-marquee .logo-item .logo-text {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.client-marquee .logo-item img.failed { display: none; }
.client-marquee .logo-item img.failed + .logo-text { display: inline; }
.client-marquee .logo-item img:not(.failed) + .logo-text { display: none; }

.client-strip-note {
  text-align: center;
  margin-top: 24px;
  padding-bottom: 24px;
  font-size: 10px;
  color: var(--c-ink-4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
