/* =========================================================
   中科瑞龙 (China Ruilong Technology) — Design System
   High-end precision metal manufacturing brand identity
   ========================================================= */

/* ─── Design Tokens ─── */
:root {
  color-scheme: light;

  /* Core palette — Light mode (cool industrial) */
  --bg: #f4f5f7;
  --bg-soft: #ffffff;
  --ink: #1a1a1e;
  --muted: #6b7280;
  --line: rgba(26, 26, 30, 0.07);
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: #ffffff;

  /* Brand colors — distinctive teal-steel + brass-gold */
  --primary: #1a6b7a;
  --primary-light: #238b9e;
  --primary-subtle: rgba(26, 107, 122, 0.08);
  --accent: #c4a962;
  --accent-light: #d4be72;
  --accent-subtle: rgba(196, 169, 98, 0.12);

  /* Surface */
  --overlay: rgba(0, 0, 0, 0.04);
  --white: #ffffff;

  /* Sizing */
  --max: 1200px;
  --max-narrow: 880px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Shadow */
  --shadow-sm: 0 4px 20px rgba(16, 24, 40, 0.05);
  --shadow: 0 18px 58px rgba(16, 24, 40, 0.07);
  --shadow-lg: 0 32px 80px rgba(16, 24, 40, 0.10);
  --shadow-glow: 0 0 60px rgba(26, 107, 122, 0.15);

  /* Typography */
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Dark Mode (Home & hero views) ─── */
body[data-active-view="home"] {
  color-scheme: dark;
  --bg: #080a0c;
  --bg-soft: #0f1115;
  --ink: #f0efec;
  --muted: #8b8d92;
  --line: rgba(240, 239, 236, 0.09);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.10);
  --primary: #2b9eb0;
  --primary-light: #3db8cb;
  --primary-subtle: rgba(43, 158, 176, 0.10);
  --accent: #d4be72;
  --accent-light: #e0ce8a;
  --accent-subtle: rgba(212, 190, 114, 0.10);
  --overlay: rgba(255, 255, 255, 0.04);
  --shadow: 0 18px 58px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(43, 158, 176, 0.12);
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  transition: background 480ms ease, color 480ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ─── Utility ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

/* ─── Cursor Glow ─── */
.cursor-glow {
  position: fixed;
  left: var(--x, 50%);
  top: var(--y, 18%);
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-subtle) 0%, transparent 66%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: left 200ms ease, top 200ms ease, background 480ms ease;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 245, 247, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: background 480ms ease, border-color 480ms ease;
}

body[data-active-view="home"] .site-header {
  background: rgba(8, 10, 12, 0.78);
}

/* Default brand-mark (footer uses basic variant) */
.brand-mark {
  display: flex;
  align-items: center;
}

.brand-mark img {
  width: auto;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

/* Header-specific: full-height white container */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-left: -28px;
  align-self: stretch;
}

.site-header .brand-mark {
  display: flex;
  align-items: center;
  padding: 0 0 0 16px;
  align-self: stretch;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  white-space: nowrap;
  line-height: 1;
}

/* ─── Navigation ─── */
.nav-links {
  justify-self: center;
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(8px);
  transition: background 480ms ease, border-color 480ms ease;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

body[data-active-view="home"] .nav-links {
  background: transparent;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 300ms ease, color 300ms ease, transform 240ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--overlay);
}

.nav-links a.is-active {
  background: var(--ink);
  color: var(--bg);
}

body[data-active-view="home"] .nav-links a.is-active,

/* ─── Header Actions ─── */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 76px;
  height: 30px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.60);
  transition: background 480ms ease, border-color 480ms ease;
}

body[data-active-view="home"] .lang-switch,

.lang-switch button {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: background 300ms ease, color 300ms ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

body[data-active-view="home"] .lang-switch button[aria-pressed="true"],

/* =========================================================
   VIEW SYSTEM
   ========================================================= */
.view {
  display: none;
  min-height: calc(100vh - 60px);
  padding-top: 60px;
}

.view.is-active {
  display: block;
  animation: viewIn 560ms var(--ease-spring) both;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Section head ─── */
.section-head {
  margin-bottom: 32px;
  position: relative;
}

.section-head h2 {
}

/* Precision measurement mark — industrial detail on section heads */
.section-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: -16px;
  width: 32px;
  height: 2px;
  background: var(--accent);
  opacity: 0.4;
}

/* Engineering tick-mark divider between major sections */
.precision-divider {
  width: min(var(--max-narrow), calc(100% - 40px));
  margin: 0 auto;
  height: 1px;
  position: relative;
  background: var(--line);
}

.precision-divider::before,
.precision-divider::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 5px;
  height: 7px;
  background: var(--muted);
  opacity: 0.3;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.precision-divider::before { left: 0; }
.precision-divider::after { right: 0; }

/* Technical data label — for patent numbers, specs, dates */
.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid var(--accent-subtle);
  border-radius: 4px;
  background: var(--accent-subtle);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =========================================================
   BUTTONS & PILLS
   ========================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 280ms var(--ease-spring),
              background 280ms ease,
              color 280ms ease,
              box-shadow 280ms ease;
}

.pill:active {
  transform: scale(0.96);
}

.pill.primary {
  background: var(--primary);
  color: var(--white);
}

.pill.primary:hover {
  background: var(--primary-light);
  box-shadow: 0 8px 28px rgba(26, 107, 122, 0.25);
}

body[data-active-view="home"] .pill.primary:hover,

.pill.outline {
  border: 1px solid var(--line);
  color: var(--ink);
}

.pill.outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.pill.glass {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.pill.glass:hover {
  background: rgba(255, 255, 255, 0.15);
}

body:not([data-active-view="home"]) .pill.glass {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}

body:not([data-active-view="home"]) .pill.glass:hover {
  background: var(--card-strong);
}

/* =========================================================
   HERO — Home Cinema
   ========================================================= */
.cinema-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 60px);
  padding: 100px 28px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.92) 0%, rgba(8, 10, 12, 0.40) 40%, rgba(8, 10, 12, 0.60) 70%, rgba(8, 10, 12, 0.88) 100%),
    linear-gradient(180deg, transparent 55%, rgba(8, 10, 12, 0.88));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowScale 14s ease-in-out infinite alternate;
}

@keyframes slowScale {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
}

.hero-content h1 {
  max-width: 800px;
  color: var(--white);
}

.hero-lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.70);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* ─── Precision rings hero ornament ─── */
.hero-ornament {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 65%;
  max-width: 750px;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.12;
}

.hero-ornament svg {
  width: 100%;
  height: 100%;
  animation: ornamentRotate 50s linear infinite;
}

.hero-ornament svg circle,
.hero-ornament svg line {
  vector-effect: non-scaling-stroke;
}

@keyframes ornamentRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Secondary ornament — measurement scale along hero edge */
.hero-scale {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 240px;
  pointer-events: none;
  opacity: 0.15;
}

.hero-scale svg {
  width: 100%;
  height: 100%;
}

/* =========================================================
   STORY PANELS
   ========================================================= */
.snap-story {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.story-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 60vh;
  padding: 40px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--card), var(--bg));
  transition: transform 500ms var(--ease-spring), border-color 300ms ease;
}

.story-panel:hover {
  transform: translateY(-4px);
  border-color: var(--primary-subtle);
}

.story-panel.reverse {
  grid-template-columns: 1fr 0.8fr;
}

.story-panel.reverse img {
  order: -1;
}

.story-panel img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.story-panel h2 {
  max-width: 520px;
}

.story-panel p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* =========================================================
   CAROUSEL
   ========================================================= */
.carousel-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 72px;
}

.carousel {
  position: relative;
}

.slide-track {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #0d1013;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  padding: 32px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 600ms ease, transform 600ms var(--ease-spring);
  pointer-events: none;
}

.slide.is-current {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.slide-content span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.slide-content h3 {
  color: var(--white);
  max-width: 480px;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.65;
  max-width: 440px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 240ms ease, border-color 240ms ease;
  display: grid;
  place-items: center;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-arrow.prev {
  left: 18px;
}

.carousel-arrow.next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 4;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 32px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 300ms ease, width 300ms ease;
}

.carousel-dots button.is-current {
  width: 48px;
  background: var(--accent);
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0 32px;
}

.page-hero.compact {
  max-width: var(--max);
}

.page-hero.image-hero {
  display: grid;
  grid-template-columns: .8fr auto;
  gap: 48px;
  align-items: center;
}

.page-hero.image-hero img {
  width: 520px;
  max-width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.01em;
}

/* Tighten spacing when h1 is the last element in hero (no subtitle) */
.page-hero h1:last-child {
  margin-bottom: 0;
}

.page-hero p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
}

/* =========================================================
   ABOUT — Slogan block
   ========================================================= */
.slogan-block {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 10px;
  text-align: center;
}

.slogan-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: -20px;
}

.slogan-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink);
  quotes: none;
}

/* ABOUT — Data strip */
.about-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 32px 0 48px;
}

.about-stat {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 400ms var(--ease-spring), border-color 300ms ease;
}

.about-stat:hover {
  transform: translateY(-3px);
  border-color: var(--primary-subtle);
}

.about-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.about-stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ABOUT — Story */
.about-story {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 48px;
}

.about-story-body {
  position: relative;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--card), var(--bg));
}

.about-story-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ABOUT — Core products */
.about-products {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 48px;
}

.about-products .section-head {
  margin-bottom: 24px;
}

.about-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-product-card {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 400ms var(--ease-spring), border-color 300ms ease, box-shadow 300ms ease;
}

.about-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.about-product-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
}

.about-product-icon svg {
  width: 28px;
  height: 28px;
}

.about-product-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.about-product-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   CONTENT GRID (general purpose)
   ========================================================= */
.content-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 64px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, var(--card), var(--overlay)),
    var(--card);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform 400ms var(--ease-spring),
              border-color 300ms ease,
              box-shadow 300ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   TIMELINE / DATA WALL
   ========================================================= */
.data-wall {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 64px;
}

.data-wall .stat-block {
  min-height: 140px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 400ms var(--ease-spring), border-color 300ms ease;
}

.data-wall .stat-block:hover {
  transform: translateY(-3px);
  border-color: var(--primary-subtle);
}

.stat-block strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.stat-block span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================================
   SNAKE TIMELINE (反C形 timeline)
   ========================================================= */
.milestones {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.milestones .section-head {
  margin-bottom: 32px;
}

/* ─── Container ─── */
.snake-timeline {
  position: relative;
  width: 100%;
}

/* SVG connector behind content */
.st-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.st-connector-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  opacity: 0.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Rows ─── */
.st-row {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.st-row-top {
  padding-bottom: 48px;
}

.st-row-bottom {
  flex-direction: row;
  padding-top: 48px;
}

/* ─── Cell (node + card) ─── */
.st-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.st-row-top .st-cell {
  flex-direction: column-reverse;
}

.st-row-top .st-dot-col {
  flex-direction: column-reverse;
}

.st-row-bottom .st-cell {
  flex-direction: column;
}

/* ─── Dot column ─── */
.st-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.st-year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
}

.st-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px var(--primary-subtle);
  position: relative;
  z-index: 2;
  transition: transform 300ms var(--ease-spring),
              box-shadow 300ms ease;
  flex-shrink: 0;
}

.st-cell:hover .st-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 7px var(--primary-subtle);
}

/* 2026 end-node: gentle orange pulse to mark timeline end */
.st-dot[data-index="5"] {
  animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
  }
  50% {
    background: var(--accent);
    box-shadow: 0 0 0 10px var(--accent-subtle), 0 0 20px var(--accent-subtle);
  }
}

/* ─── Card ─── */
.st-card {
  width: 100%;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 380ms var(--ease-spring),
              border-color 300ms ease,
              box-shadow 300ms ease;
}

.st-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.st-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.st-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ─── Responsive ─── */
@media (max-width: 720px) {
  .st-row {
    gap: 12px;
  }

  .st-row-top {
    padding-bottom: 32px;
  }

  .st-row-bottom {
    padding-top: 32px;
  }

  .st-dot {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  .st-year {
    font-size: 11px;
  }

  .st-card {
    padding: 12px 14px 14px;
  }

  .st-card h3 {
    font-size: 14px;
  }

  .st-card p {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .st-row {
    gap: 8px;
  }

  .st-cell {
    gap: 8px;
  }

  .st-dot {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 3px var(--primary-subtle);
  }

  .st-card {
    padding: 10px 12px 12px;
    border-radius: var(--radius-sm);
  }

  .st-card h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .st-card p {
    font-size: 11px;
    line-height: 1.5;
  }
}

/* =========================================================
   CAMPUS SHOWCASE
   ========================================================= */
.campus-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--card), var(--bg));
  box-shadow: var(--shadow);
}

.campus-showcase img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: var(--radius);
}

.campus-showcase div {
  padding-right: 12px;
}

.campus-showcase p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* =========================================================
   PROCESS LANES (Capabilities)
   ========================================================= */
.process-lanes {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px 0 64px;
}

.process-lanes article {
  min-height: 260px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 400ms var(--ease-spring), border-color 300ms ease;
}

.process-lanes article:hover {
  transform: translateY(-6px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.process-lanes .step-num {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.process-lanes h3 {
  font-size: 18px;
}

.process-lanes p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   EQUIPMENT SECTION (Capabilities)
   ========================================================= */
.equipment-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 64px;
}

.equipment-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: transform 400ms var(--ease-spring), border-color 300ms ease, box-shadow 300ms ease;
}

.equipment-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.equipment-card .eq-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.equipment-card .eq-info {
  padding: 20px 22px 24px;
}

.equipment-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.equipment-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   PRODUCT SHOWCASE (Applications — single row)
   ========================================================= */
.product-showcase {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 8px 0 64px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-strong);
  overflow: hidden;
  transition: transform 450ms var(--ease-spring),
              border-color 300ms ease,
              box-shadow 300ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms var(--ease-spring);
}

.product-card:hover .product-visual img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.product-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1080px) {
  .product-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .product-showcase {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
}

/* =========================================================
   PRODUCT STAGE (Applications)
   ========================================================= */
.product-stage {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 64px;
}

.product-stage article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-strong);
  box-shadow: var(--shadow-sm);
  transition: transform 400ms var(--ease-spring), border-color 300ms ease;
}

.product-stage article:hover {
  transform: translateY(-5px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.product-stage img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.product-stage h3 {
  font-size: 18px;
}

.product-stage p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   PATENTS SECTION (Applications)
   ========================================================= */
.patents-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 64px;
}

.patent-category {
  margin-bottom: 48px;
}

.patent-category:last-child {
  margin-bottom: 0;
}

.patent-category h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--primary);
}

.patent-category h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.patents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.patent-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: transform 400ms var(--ease-spring),
              border-color 300ms ease,
              box-shadow 300ms ease;
}

.patent-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow);
}

.patent-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.patent-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 500ms var(--ease-spring);
}

.patent-card:hover .patent-card-img img {
  transform: scale(1.04);
}

.patent-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.patent-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: var(--primary-subtle);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  align-self: flex-start;
}

.patent-card-body h4 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.patent-card-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}

/* =========================================================
   JOBS
   ========================================================= */
.jobs {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 8px 0 64px;
}

.jobs article {
  min-height: 200px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 400ms var(--ease-spring), border-color 300ms ease;
}

.jobs article:hover {
  transform: translateY(-4px);
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow);
}

.jobs h3 {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 10px;
}

.jobs p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   JOB OPENINGS — Category nav + Accordion cards
   ========================================================= */
.job-openings {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 64px;
}

/* ─── Job list ─── */
.job-list {
  display: flex;
  flex-direction: column;
}

/* ─── Category navigation (sticky) ─── */
.job-category-nav {
  display: none;
  gap: 8px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 60px;
  z-index: 20;
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.job-category-nav::-webkit-scrollbar {
  display: none;
}

.jcn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 280ms var(--ease-spring);
  flex-shrink: 0;
}

.jcn-pill:hover {
  border-color: var(--primary-subtle);
  color: var(--primary);
  background: var(--primary-subtle);
}

.jcn-pill.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.jcn-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: background 280ms ease;
}

.jcn-pill:hover .jcn-count {
  background: rgba(26, 107, 122, 0.12);
}

.jcn-pill.is-active .jcn-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* ─── Category section ─── */
.job-category {
  margin-bottom: 36px;
}

.job-category:last-child {
  margin-bottom: 0;
}

.job-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* Precision measurement mark — brand signature */
.job-category-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
  border-radius: 1px;
}

.job-category-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Engineering tick — category visual anchor */
.job-category-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  margin-right: 14px;
  background: var(--primary);
  border-radius: 2px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ─── Job card — compact accordion ─── */
.job-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-strong);
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.job-card:last-child {
  margin-bottom: 0;
}

/* Category accent — left border per card on the jobs page */
.job-card[data-category="rd"] {
  border-left: 3px solid var(--primary);
}
.job-card[data-category="eng"] {
  border-left: 3px solid var(--accent);
}
.job-card[data-category="quality"] {
  border-left: 3px solid #8b9dc0;
}
.job-card[data-category="system"] {
  border-left: 3px solid var(--primary-light);
}

.job-card:hover {
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow-sm);
}

.job-card.is-open {
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  cursor: pointer;
  user-select: none;
  transition: background 200ms ease;
  outline: none;
}

.job-card-header:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: var(--radius);
}

.job-card-header:hover {
  background: var(--primary-subtle);
}

.job-card-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}

.job-card-title-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.job-toggle {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 350ms var(--ease-spring), color 300ms ease;
  display: grid;
  place-items: center;
}

.job-toggle svg {
  width: 18px;
  height: 18px;
}

.job-card.is-open .job-toggle {
  transform: rotate(180deg);
  color: var(--primary);
}

/* ─── Accordion body ─── */
.job-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms var(--ease-out-expo);
}

.job-card.is-open .job-card-body {
  max-height: 3000px;
}

.job-card-body-inner {
  padding: 0 22px 20px;
  border-top: 1px solid var(--line);
}

.job-section {
  margin-top: 16px;
}

.job-section:first-child {
  margin-top: 18px;
}

.job-section h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.job-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.job-section ul li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.job-section ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.35;
}

.job-section ul li:last-child {
  margin-bottom: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .job-category-nav {
    top: 104px; /* below header which stacks on 1080px */
  }

  .job-category {
    margin-bottom: 28px;
  }
}

@media (max-width: 720px) {
  .job-openings {
    padding-bottom: 40px;
  }

  .job-category-nav {
    top: 98px;
    padding: 10px 0;
    margin-bottom: 16px;
  }

  .jcn-pill {
    padding: 6px 14px;
    font-size: 12px;
  }

  .job-category {
    margin-bottom: 24px;
  }

  .job-category-title {
    font-size: 18px;
  }

  .job-card-header {
    padding: 14px 16px;
  }

  .job-card-title-row h3 {
    font-size: 15px;
  }

  .job-card-body-inner {
    padding: 0 16px 16px;
  }

  .job-section ul li {
    font-size: 13px;
    padding-left: 16px;
  }

  .job-section ul li::before {
    top: 10px;
  }
}

/* ─── Job card apply button ─── */
.job-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 280ms var(--ease-spring);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.job-apply-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 107, 122, 0.25);
}

.job-apply-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.job-apply-email {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .job-apply-btn {
    font-size: 12px;
    padding: 5px 14px;
  }
  .job-apply-email {
    font-size: 12px;
  }
}

/* =========================================================
   EMPLOYEE BENEFITS
   ========================================================= */
.benefits-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 60px;
}

/* New benefits grid — 9 items, 3-col */
.benefits-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.benefit-card-new {
  position: relative;
  padding: 24px 24px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card-strong);
  overflow: hidden;
  transition: transform 400ms var(--ease-spring),
              border-color 300ms ease,
              box-shadow 300ms ease;
}

.benefit-card-new::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 0 2px 2px 0;
}

.benefit-card-new::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-subtle);
  pointer-events: none;
}

.benefit-card-new:hover {
  transform: translateY(-3px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
}

.benefit-card-new h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.benefit-card-new h4::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--primary);
  vertical-align: middle;
}

.benefit-card-new p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  padding-left: 16px;
}

/* =========================================================
   CAREER DEVELOPMENT
   ========================================================= */
.dev-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 60px;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dev-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--card), var(--bg));
  transition: transform 400ms var(--ease-spring),
              border-color 300ms ease,
              box-shadow 300ms ease;
  position: relative;
}

.dev-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.dev-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow);
}

.dev-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.dev-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--card), var(--bg));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  max-width: 600px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cta-email {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* =========================================================
   CAREERS → JOBS CTA
   ========================================================= */
.careers-to-jobs {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 40px;
}

.careers-to-jobs-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--card), var(--bg));
  box-shadow: var(--shadow);
  transition: transform 400ms var(--ease-spring), border-color 300ms ease, box-shadow 300ms ease;
}

.careers-to-jobs-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow-lg);
}

.careers-to-jobs-card .eyebrow {
  margin-bottom: 8px;
}

.careers-to-jobs-card h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 32px);
  max-width: 540px;
}

.careers-to-jobs-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 460px;
  margin: 0;
}

.careers-to-jobs-card .pill {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .careers-to-jobs-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 20px;
  }
}

/* =========================================================
   NEWS CENTER — Full-width list layout, no images
   ========================================================= */
.news-list {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 64px;
}

.news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 300ms ease;
}

.news-item:first-child {
  padding-top: 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  opacity: 0.75;
}

.news-item-date {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-top: 3px;
  transition: color 300ms ease;
}

.news-item:hover .news-item-date {
  color: var(--primary);
}

.news-item-content h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 300ms ease;
}

.news-item:hover .news-item-content h3 {
  color: var(--primary);
}

.news-item-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 300ms ease, transform 300ms var(--ease-spring);
}

.news-item:hover .news-item-link {
  opacity: 1;
  transform: translateX(0);
}

.news-item-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile: stack date above content */
@media (max-width: 640px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 0;
  }
}

/* =========================================================
   ARTICLE DETAIL VIEW
   ========================================================= */
.article-view {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0 100px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 240ms ease;
}

.article-back:hover {
  color: var(--primary);
}

.article-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-view .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-view .article-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
}

.article-view h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 24px;
}

.article-view .article-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-view .article-body {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.article-view .article-body p {
  margin-bottom: 18px;
}

.article-original-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 280ms ease;
}

.article-original-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* =========================================================
   FACTORY GRID
   ========================================================= */
.factory-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 12px auto 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.factory-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: transform 400ms var(--ease-spring), border-color 300ms ease;
}

.factory-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-subtle);
}

.factory-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.factory-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}

.factory-info h3 {
  margin: 0;
  font-size: 17px;
}

.factory-info address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
}

.hr-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hr-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.7;
  white-space: nowrap;
}

.hr-row a {
  color: var(--primary);
  font-weight: 500;
  word-break: break-all;
  font-size: 13px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 48px 28px 0;
  transition: background 480ms ease, border-color 480ms ease;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-col .brand {
  margin-bottom: 12px;
}

.footer-brand-col p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 13px;
  transition: color 240ms ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-qr-col {
  text-align: center;
}

.footer-qr {
  width: 100px;
  height: 100px;
  margin: 0 auto 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
}

.footer-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-qr-label {
  font-size: 11px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0 28px;
  font-size: 12px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.icp-link {
  color: var(--muted);
  transition: color 240ms ease;
}

.icp-link:hover {
  color: var(--primary);
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease-out-expo),
              transform 800ms var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* =========================================================
   COMPANY DATA STRIP (from website materials)
   ========================================================= */
.data-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 24px 0 60px;
}

.data-item {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 400ms var(--ease-spring), border-color 300ms ease;
}

.data-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-subtle);
}

.data-item .data-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.data-item .data-label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 16px;
  }

  .brand {
    justify-self: center;
    margin-left: 0;
    align-self: auto;
  }

  .site-header .brand-mark {
    padding: 6px 14px;
    align-self: auto;
  }

  .header-actions {
    justify-self: center;
  }

  .nav-links {
    justify-self: stretch;
    overflow-x: auto;
    justify-content: flex-start;
    border-radius: 999px;
  }

  .story-panel,
  .story-panel.reverse,
  .page-hero.image-hero,
  .slide,
  .campus-showcase {
    grid-template-columns: 1fr;
  }

  .story-panel.reverse img {
    order: 0;
  }

  .slide-track {
    min-height: 700px;
  }

  .slide img {
    min-height: 320px;
  }

  .process-lanes,
  .data-wall,
  .jobs,
  .benefits-grid-new,
  .data-strip,
  .about-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-products-grid {
    grid-template-columns: 1fr;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .campus-showcase div {
    padding: 0 4px 8px;
  }

  .factory-grid,
  .product-stage {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 54px;
    padding: 8px 12px;
  }

  .nav-links a {
    padding: 0 12px;
    font-size: 12px;
    min-height: 30px;
  }

  .brand {
    font-size: 14px;
  }

  .lang-switch {
    width: 68px;
    height: 28px;
  }

  h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  h2 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .page-hero h1 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .cinema-hero {
    padding: 72px 18px;
    min-height: calc(100vh - 54px);
  }

  .view {
    padding-top: 54px;
  }

  .snap-story,
  .carousel-shell,
  .page-hero,
  .content-grid,
  .milestones,
  .process-lanes,
  .equipment-grid,
  .product-stage,
  .patents-section,
  .data-wall,
  .data-strip,
  .job-openings,
  .careers-to-jobs,
  .jobs,
  .benefits-section,
  .dev-section,
  .news-list,
  .slogan-block,
  .about-story,
  .about-products,
  .about-strip,
  .cta-band,
  .campus-showcase,
  .factory-grid,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .story-panel {
    min-height: auto;
    padding: 22px;
    gap: 24px;
  }

  .slide-track {
    min-height: 620px;
  }

  .slide {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .slide img {
    min-height: 220px;
  }

  .carousel-arrow {
    display: none;
  }

  .content-grid,
  .process-lanes,
  .data-wall,
  .data-strip,
  .equipment-grid,
  .product-stage,
  .jobs,
  .factory-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid-new,
  .dev-grid {
    grid-template-columns: 1fr;
  }

  .patents-grid {
    grid-template-columns: 1fr;
  }

  .process-lanes,
  .jobs,
  .equipment-grid,
  .product-stage,
  .patents-section,
  .about-story,
  .about-products,
  .about-strip,
  .benefits-section {
    padding-bottom: 40px;
  }

  .process-lanes article,
  .jobs article {
    min-height: auto;
  }

  .process-lanes .step-num {
    margin-bottom: 20px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .campus-showcase {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding: 50px 0 28px;
  }

  .article-view {
    padding: 40px 0 60px;
  }
}

@media (max-width: 520px) {
  .st-item {
    gap: 10px;
  }

  .st-dot-col {
    width: 28px;
  }

  .st-card {
    padding: 12px 14px 14px;
  }

  .st-card h3 {
    font-size: 14px;
  }

  .st-card p {
    font-size: 12px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg img {
    animation: none;
  }

  .hero-ornament svg {
    animation: none;
  }

  .view.is-active {
    animation: none;
    opacity: 1;
  }
}
