/* ===== TOKENS ===== */
:root {
  --red:        #c8102e;
  --red-dark:   #a00d24;
  --charcoal:   #1a1a1a;
  --dark:       #111111;
  --mid:        #2d2d2d;
  --glass-blue: #3d6b8c;
  --glass-light:#5a8fb5;
  --white:      #ffffff;
  --off-white:  #f5f5f3;
  --grey-light: #e8e8e6;
  --grey-text:  #666666;

  --header-h:   72px;
  --radius:     4px;
  --radius-lg:  8px;

  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.22s var(--ease);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-large {
  padding: 17px 40px;
  font-size: 15px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease),
              border-color 0.35s var(--ease);
}

.header.scrolled {
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.08);
}

/* State: past the hero — white solid header over the light content sections */
.header.light {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}
.header.light .nav-link {
  color: rgba(26, 26, 26, 0.68);
}
.header.light .nav-link:hover,
.header.light .nav-link.active {
  color: var(--charcoal);
}
.header.light .mobile-menu-btn span {
  background: var(--charcoal);
}
.header.light .logo {
  color: var(--charcoal);
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  flex-shrink: 0;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}
.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.logo-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.155em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logo-name-cn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.62;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}
.nav-link:hover        { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-link.active       { color: var(--white); }
.nav-link.active::after { width: 100%; }

.header-cta {
  padding: 10px 22px;
  font-size: 13px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.28s, background 0.3s var(--ease);
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */

/* Outer section — tall enough for the scroll-driven parallax */
.hero {
  position: relative;
  height: 220vh;
}

/* Sticky viewport-height stage */
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #07080c;
}

/* ── Layer 1: gradient base ── */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #07080c 0%, #0d1520 55%, #141e2e 100%);
}

/* ── Layer 2: QIMU logo watermark ── */
.hero-logo-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
}
.hero-logo-layer img {
  width: clamp(200px, 36vw, 520px);
  height: auto;
  opacity: 0.11;
  /* White ghost: left half visible behind text, right half hides behind building panel */
  filter: brightness(0) invert(1);
  margin-left: 12%;
  user-select: none;
  pointer-events: none;
  display: block;
}

/* ── Layer 3: building photograph ── */
/* Desktop: inset rounded panel on the right */
.hero-building-layer {
  position: absolute;
  top: calc(var(--header-h) + 24px);
  bottom: 24px;
  left: 52%;
  right: 24px;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.hero-building-layer img {
  /* 20% extra height + negative top offset provides parallax travel room */
  position: absolute;
  width: 100%;
  height: 120%;
  top: -10%;
  left: 0;
  object-fit: cover;
  object-position: center top;
}
.hero-building-overlay {
  position: absolute;
  inset: 0;
  /* Light bottom vignette only — rounded frame provides the crop boundary */
  background: linear-gradient(
    to bottom,
    rgba(7, 8, 12, 0.04) 0%,
    rgba(7, 8, 12, 0.36) 100%
  );
}

/* ── Layer 4: text content ── */
.hero-content-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  will-change: transform, opacity;
}

/* Left-column text block — constrained so it never overlaps the building panel */
.hero-content {
  /* width: min(560px, 46vw) clamps the column to 46% of viewport or 560px max */
  width: min(560px, 46vw);
  flex-shrink: 0;
  /* Left-align with the 1200px container edge on large viewports */
  margin-left: max(28px, calc((100vw - 1200px) / 2 + 28px));
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.78;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll hint — positioned in the left column zone */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 26%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.15); }
}

/* ===== SCROLL REVEAL ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== PROOF STATS ===== */
.proof {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.proof .section-label { color: var(--glass-light); }
.proof .section-title { color: var(--white); }

.proof-intro {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.78;
  max-width: 580px;
  margin: 20px auto 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  background: #0c1520;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease);
  overflow: hidden;
}
.stat-card:last-child { border-right: none; }

/* Accent bar that slides in from left on hover */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--glass-blue) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.stat-card:hover {
  background: #101c2c;
}
.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-value {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
}

/* ===== ADVANTAGE ===== */
.advantage {
  background: var(--off-white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--grey-light);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border-color: var(--glass-blue);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--glass-blue);
  margin-bottom: 20px;
  transition: color 0.3s var(--ease);
}
.card:hover .card-icon {
  color: var(--red);
}
.card-icon svg { width: 100%; height: 100%; }

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.25;
}

.card-body {
  font-size: 0.9rem;
  color: var(--grey-text);
  line-height: 1.7;
}

/* ===== PRODUCTION HUBS ===== */
.hubs {
  background: var(--dark);
}
.hubs .section-label { color: var(--glass-light); }
.hubs .section-title { color: var(--white); }

/* "China + Malaysia → Global Markets" connector banner */
.hub-connector {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 48px;
}
.hub-connector-line {
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18));
}
.hub-connector-line:last-child {
  background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent);
}
.hub-connector-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--glass-light);
  white-space: nowrap;
}

.hub-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Glass-panel card */
.hub-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background-color: #0d1a28;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 47px,
      rgba(255,255,255,0.016) 47px, rgba(255,255,255,0.016) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 47px,
      rgba(255,255,255,0.016) 47px, rgba(255,255,255,0.016) 48px
    ),
    linear-gradient(160deg, #0f1e2e 0%, #0a1420 100%);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* Always-visible red top accent bar */
.hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  z-index: 1;
}
.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.45);
  border-color: rgba(61,107,140,0.32);
}

/* 16:9 image / fallback slot */
.hub-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.hub-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.hub-card:hover .hub-image-wrap img {
  transform: scale(1.04);
}

.hub-body {
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
}

.hub-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--glass-light);
  margin-bottom: 18px;
}

/* Large, prominent location — the first thing the eye reads */
.hub-location {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 4px;
}

.hub-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.hub-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}

.hub-description {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.78;
  margin-bottom: 28px;
}

.hub-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.hub-highlights li {
  font-size: 0.855rem;
  color: rgba(255,255,255,0.62);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.hub-highlights li::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-light);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.14);
}
.project-card.is-clicking {
  transform: translateY(2px) scale(0.985);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 100ms ease, box-shadow 100ms ease;
}

.project-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-image img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.5) 0%, transparent 60%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  transition: opacity 0.3s;
}

.project-tag {
  background: rgba(200, 16, 46, 0.88);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.project-info {
  padding: 24px 24px 28px;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--grey-text);
  line-height: 1.7;
}

/* ===== IMAGE FALLBACK ===== */
/* Shown when a project, award, or equipment image has not been added yet.
   Preserves layout without showing a broken icon. */
.image-fallback {
  width: 100%;
  height: 100%;
  background-color: #0a1118;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.035) 39px,
      rgba(255, 255, 255, 0.035) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.035) 39px,
      rgba(255, 255, 255, 0.035) 40px
    ),
    linear-gradient(145deg, #0d1a26 0%, #0f1e2d 50%, #0a1118 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
}

.image-fallback-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0;
}

.image-fallback-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glass-light);
  opacity: 0.75;
}

/* Alias: image wrapper class used by JS renderers for awards and equipment cards */
.project-card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* ===== CONTACT CTA ===== */
.contact {
  background: var(--charcoal);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.contact .section-label { color: var(--glass-light); }

.contact-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 560px;
}

.contact-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.925rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.contact-email svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.contact-email:hover { color: var(--white); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.8fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-col-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 18px;
}

.footer-brand-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
}

.footer-brand-cn {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: rgba(255, 255, 255, 0.42);
  margin-top: -5px;
  margin-bottom: 10px;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  margin-bottom: 12px;
}

.footer-hq-note {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-links a:hover { color: var(--white); }

.footer-mfg-entry { margin-bottom: 20px; }
.footer-mfg-entry:last-child { margin-bottom: 0; }

.footer-mfg-location {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--glass-light);
  margin-bottom: 4px;
}

.footer-mfg-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.58);
  line-height: 1.4;
  margin-bottom: 3px;
}

.footer-mfg-role,
.footer-mfg-address {
  font-size: 11.5px;
  color: rgba(255,255,255,0.32);
  line-height: 1.55;
}

.footer-contact-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  margin-bottom: 10px;
}
.footer-contact-link:hover { color: var(--white); }

.footer-contact-item {
  font-size: 12px;
  color: rgba(255,255,255,0.36);
  line-height: 1.6;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}

/* ===== ABOUT PAGE ===== */

/* Hero — dark full-width panel with facade grid pattern (shared inner pages) */
.about-hero,
.projects-hero,
.awards-hero,
.capabilities-hero,
.contact-hero,
.commitments-hero,
.huayi-hero,
.qimu-hero,
.why-qimu-hero,
.deliver-hero,
.global-network-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: #07080c;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 47px,
      rgba(255,255,255,0.022) 47px, rgba(255,255,255,0.022) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 47px,
      rgba(255,255,255,0.022) 47px, rgba(255,255,255,0.022) 48px
    ),
    linear-gradient(135deg, #07080c 0%, #0d1520 55%, #141e2e 100%);
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}

.about-hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.about-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.about-hero-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,0.64);
  line-height: 1.78;
  max-width: 560px;
}

/* Intro — two-column label+title / paragraphs */
.about-intro {
  background: var(--white);
}

.about-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-intro-left .section-label {
  margin-bottom: 16px;
}

.about-intro-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-intro-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 4px;
}
.about-intro-right p {
  font-size: 1rem;
  color: var(--grey-text);
  line-height: 1.8;
}

/* Timeline — horizontal on desktop, vertical on mobile */
.about-timeline-section {
  background: var(--dark);
}
.about-timeline-section .section-label { color: var(--glass-light); }
.about-timeline-section .section-title { color: var(--white); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 56px;
  padding-top: 8px;
}

/* Horizontal connector track behind the dots */
.timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 6px; right: 6px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  z-index: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  padding-right: 24px;
}
.timeline-item:last-child { padding-right: 0; }

.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(200,16,46,0.2);
}

.timeline-content { flex: 1; }

.timeline-year {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}

.timeline-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 10px;
}

.timeline-text {
  font-size: 0.855rem;
  color: rgba(255,255,255,0.46);
  line-height: 1.72;
}

/* Values — same card language as homepage advantage section */
.about-values-section {
  background: var(--off-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Production model — concise dual-panel comparison */
.about-production {
  background: var(--dark);
}
.about-production .section-label { color: var(--glass-light); }
.about-production .section-title { color: var(--white); }

.production-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.46);
  line-height: 1.78;
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.production-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.production-hub {
  padding: 52px 48px;
  background: #0c1520;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background 0.3s var(--ease);
}
.production-hub:last-child { border-right: none; }
.production-hub:hover { background: #101e2e; }

/* China hub — red accent; Malaysia hub — blue gradient */
.production-hub::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.production-hub:nth-child(2)::before {
  background: linear-gradient(90deg, var(--glass-blue), var(--glass-light));
}

.production-hub-flag {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 20px;
}

.production-hub-location {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--glass-light);
  margin-bottom: 8px;
}

.production-hub-name {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.production-hub-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.production-hub-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

/* ===== PROJECTS PAGE ===== */

/* Featured spotlight — 2-col image + details */
.project-spotlight-section {
  background: var(--white);
}

.project-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.spotlight-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.spotlight-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.spotlight-details {
  display: flex;
  flex-direction: column;
}

.spotlight-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.spotlight-title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.spotlight-meta {
  font-size: 0.88rem;
  color: var(--grey-text);
  margin-bottom: 4px;
}

.spotlight-system {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}

.spotlight-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}

.spotlight-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spotlight-stat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.spotlight-stat-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.35;
}

/* Filter bar + grid section */
.projects-page-section {
  background: var(--off-white);
  padding-top: 72px;
}

.filter-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--grey-light);
  margin-bottom: 48px;
}

.filter-bar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
  flex-shrink: 0;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--grey-light);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.18s var(--ease);
}
.filter-btn:hover {
  border-color: var(--glass-blue);
  color: var(--glass-blue);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.filter-btn.active:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

/* ── Projects page grouped filter bar ───────────────────────────────────── */
.filter-bar--grouped {
  flex-direction: column;
  gap: 16px;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
}
.filter-group-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Project grid on the projects page */
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Extended card — richer detail panel below image */
.project-card-extended {
  background: var(--white);
}

.project-card-extended .project-info {
  padding: 20px 22px 24px;
}

.project-featured-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(200,16,46,0.07);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.project-meta-location {
  font-size: 0.82rem;
  color: var(--grey-text);
  margin-top: 2px;
  margin-bottom: 10px;
}

.project-stats-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.project-stat-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  color: var(--charcoal);
  white-space: nowrap;
}

.project-card-divider {
  height: 1px;
  background: var(--grey-light);
  margin-bottom: 14px;
}

.project-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.project-detail-row:last-child { margin-bottom: 0; }

.project-detail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
  flex-shrink: 0;
}

.project-detail-value {
  font-size: 0.82rem;
  color: var(--charcoal);
  text-align: right;
  line-height: 1.4;
}

.projects-no-results {
  text-align: center;
  padding: 80px 0 40px;
  color: var(--grey-text);
  font-size: 0.95rem;
  display: none;
}

/* ===== CONTACT PAGE ===== */

/* Info cards */
.contact-info-section { background: var(--white); }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-info-card {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}

.contact-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.contact-info-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.65;
}

.contact-info-value a {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-info-value a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Inquiry form section */
.form-section { background: var(--off-white); }

.inquiry-form {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-row .form-group { margin-bottom: 0; }

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.form-required { color: var(--red); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-light);
  border-radius: 4px;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--charcoal);
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(102,102,102,0.48); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}

.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error { border-color: var(--red); }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 6 5-6' fill='none' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field-error {
  font-size: 12px;
  color: var(--red);
  min-height: 16px;
  line-height: 1.4;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.form-checkbox {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.55;
  cursor: pointer;
}

.form-status {
  font-size: 0.88rem;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  display: none;
}

.form-status.is-success {
  background: rgba(0,150,70,0.08);
  color: #006030;
  border: 1px solid rgba(0,150,70,0.2);
  display: block;
}

.form-status.is-error {
  background: rgba(200,16,46,0.07);
  color: var(--red);
  border: 1px solid rgba(200,16,46,0.18);
  display: block;
}

.form-status.is-submitting {
  background: rgba(0,0,0,0.04);
  color: var(--grey-text);
  border: 1px solid var(--grey-light);
  display: block;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-submit-note {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.5;
  margin-top: 14px;
  max-width: 68ch;
}

.form-submit-note a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Preparation tips */
.prep-section { background: var(--white); }

.prep-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.prep-card {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px 32px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.prep-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.prep-card-number {
  font-size: 40px;
  font-weight: 900;
  color: rgba(200,16,46,0.1);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}

.prep-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}

.prep-card-body {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.65;
}

/* ===== CAPABILITIES PAGE ===== */

/* Overview intro */
.capabilities-intro { background: var(--white); }

.capabilities-intro-text { max-width: 760px; }

.capabilities-intro-title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.capabilities-intro-body {
  font-size: 1rem;
  color: var(--grey-text);
  line-height: 1.8;
  max-width: 640px;
}

/* Capability cards — 3-col grid */
.capability-cards-section { background: var(--off-white); }

.capability-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.capability-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  padding: 28px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.capability-card:hover::before { transform: scaleX(1); }

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.capability-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 12px;
}

.capability-card-body {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.7;
}

/* Equipment — 4-col grid */
.equipment-section { background: var(--white); }

.equipment-header-text {
  font-size: 0.95rem;
  color: var(--grey-text);
  line-height: 1.75;
  max-width: 620px;
  margin-top: -24px;
  margin-bottom: 48px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.equipment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.equipment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}

.equipment-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0ee;
  position: relative;
}

.equipment-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.equipment-card:hover .equipment-image img { transform: scale(1.04); }

.equipment-info { padding: 14px 16px 18px; }

.equipment-category {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.equipment-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
}

/* Process workflow — dark section */
.process-section {
  background: #07080c;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 47px,
      rgba(255,255,255,0.018) 47px, rgba(255,255,255,0.018) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 47px,
      rgba(255,255,255,0.018) 47px, rgba(255,255,255,0.018) 48px
    ),
    linear-gradient(135deg, #07080c 0%, #0d1520 55%, #141e2e 100%);
}

.process-section .section-label { color: rgba(255,255,255,0.45); }
.process-section .section-title { color: var(--white); }

.process-steps {
  display: flex;
  position: relative;
  margin-top: 56px;
}

/* Horizontal connector line through all step number circles */
.process-steps::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

.process-step:last-child { padding-right: 0; }

.process-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.process-step-content { flex: 1; }

.process-step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.process-step-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ===== AWARDS PAGE ===== */

/* Intro */
.awards-intro {
  background: var(--white);
}

.awards-intro-text {
  max-width: 760px;
}

.awards-intro-title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.awards-intro-body {
  font-size: 1rem;
  color: var(--grey-text);
  line-height: 1.8;
  max-width: 620px;
}

/* Award category strip */
.award-categories-section {
  background: var(--off-white);
}

.award-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  padding: 28px 24px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.category-level-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.category-level-badge.national {
  background: rgba(200,16,46,0.08);
  color: var(--red);
}

.category-level-badge.provincial {
  background: rgba(61,107,140,0.1);
  color: var(--glass-blue);
}

.category-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 10px;
}

.category-desc {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.65;
}

/* Awards grid */
.awards-section {
  background: var(--white);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.award-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.09);
}

.award-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0ee;
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.award-card:hover .award-image img {
  transform: scale(1.04);
}

.award-info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.award-level-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  align-self: flex-start;
  margin-bottom: 2px;
}

.award-level-badge.national {
  background: rgba(200,16,46,0.08);
  color: var(--red);
}

.award-level-badge.provincial {
  background: rgba(61,107,140,0.1);
  color: var(--glass-blue);
}

.award-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
}

.award-project {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.5;
}

.award-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-top: 2px;
}

/* ===== HUAYI PAGE ===== */

.huayi-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
}

.huayi-overview-desc {
  font-size: 1.08rem;
  color: var(--grey-text);
  line-height: 1.8;
}

.hub-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 18px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  font-size: 0.93rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.hub-highlight-item::before {
  content: '\2713';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.huayi-website-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.huayi-website-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-lg);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--glass-blue);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.huayi-website-link:hover {
  border-color: var(--glass-blue);
  background: rgba(61, 107, 140, 0.06);
}

.huayi-website-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 8px;
}

/* ===== QIMU PAGE ===== */

.qimu-specialty-heading {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.qimu-specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.qimu-specialty-item {
  padding: 20px 22px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--red);
  font-size: 0.93rem;
  color: var(--charcoal);
  line-height: 1.58;
}

.qimu-cptpp-section { background: var(--off-white); }

.qimu-cptpp-body {
  max-width: 800px;
  font-size: 1.05rem;
  color: var(--grey-text);
  line-height: 1.85;
}

.qimu-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.qimu-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.qimu-photo-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.qimu-photo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Capabilities Evidence Gallery */
.cap-evidence-section { background: var(--off-white); }

.cap-evidence-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.cap-evidence-cat-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.cap-evidence-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cap-evidence-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.cap-evidence-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cap-evidence-slot .image-fallback { border-radius: 0; }

/* Global Network export image grid */
.gn-export-images { margin-top: 40px; }

.gn-export-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gn-export-image-slot {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--off-white);
}

.gn-export-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Manufacturing Evidence grid */
.qimu-evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.qimu-evidence-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.qimu-evidence-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.qimu-evidence-info {
  padding: 20px 24px 24px;
}

.qimu-evidence-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.qimu-evidence-desc {
  font-size: 0.875rem;
  color: var(--grey-text);
  line-height: 1.65;
}

.qimu-evidence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Disabled "coming soon" filter buttons */
.filter-btn.filter-disabled,
.filter-btn[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

.filter-soon-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  margin-left: 5px;
  opacity: 0.7;
}

/* ===== DIAGONAL TIMELINE VARIANT ===== */
/* Each step descends further to create an upper-left → lower-right staircase */
.timeline.timeline-diagonal {
  align-items: start;
}
.timeline.timeline-diagonal::before { display: none; }
.timeline.timeline-diagonal .timeline-item:nth-child(1) { margin-top: 0; }
.timeline.timeline-diagonal .timeline-item:nth-child(2) { margin-top: 56px; }
.timeline.timeline-diagonal .timeline-item:nth-child(3) { margin-top: 112px; }
.timeline.timeline-diagonal .timeline-item:nth-child(4) { margin-top: 168px; }

/* ===== COMMITMENTS PAGE ===== */

.commitments-sp-section {
  background: var(--dark);
}
.commitments-sp-section .section-label { color: var(--glass-light); }

.commitments-sp-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.commitments-sp-title {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.commitments-sp-body {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.82;
}

/* ===== RESPONSIVE ===== */

/* 1080px — advantage cards and stat cards go 2-column */
@media (max-width: 1080px) {
  .cards-grid, .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  /* Remove right border from every 2nd card (new row-end) */
  .stat-card:nth-child(2n) { border-right: none; }
  /* Remove bottom border from last row */
  .stat-card:nth-last-child(-n+2) { border-bottom: none; }
  /* Award categories — 2-col */
  .award-categories { grid-template-columns: repeat(2, 1fr); }
  /* Capability cards — 2-col */
  .capability-cards { grid-template-columns: repeat(2, 1fr); }
  /* Equipment — 2-col */
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  /* Prep tips — 2-col */
  .prep-cards { grid-template-columns: repeat(2, 1fr); }
}

/* 1199px — header tightens. The full-size lockup + 7 links + CTA need ~1085px of
   content width, which only exists above 1200px. Below that the header uses the
   compact lockup and a tighter nav so nothing collides or wraps. */
@media (max-width: 1199px) {
  .header-inner { gap: 24px; }
  .nav { gap: 14px; }
  .nav-link { white-space: nowrap; }
  .header-cta { padding: 10px 16px; }
  .logo { gap: 9px; }
  .logo img { height: 33px; }
  .logo-name { font-size: 13px; letter-spacing: 0.13em; }
  .logo-name-cn { font-size: 10px; letter-spacing: 0.28em; text-indent: 0.28em; }
}

/* 1023px — hero collapses: building becomes full-bleed background */
@media (max-width: 1023px) {
  /* Reset building panel to full-bleed */
  .hero-building-layer {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-building-layer img {
    opacity: 0.55;
    object-position: center 15%;
  }
  .hero-building-overlay {
    background: linear-gradient(
      155deg,
      rgba(7, 8, 12, 0.85) 0%,
      rgba(7, 8, 12, 0.55) 55%,
      rgba(7, 8, 12, 0.28) 100%
    );
  }
  /* Text column reverts to full-width container.
     flex-shrink must be restored here: the desktop rule sets flex-shrink:0,
     and with width:auto inside the flex .hero-content-layer that makes the
     column size to its max-content width (capped at 700px) and get clipped
     by .hero-stage overflow:hidden on phone widths. */
  .hero-content {
    width: auto;
    max-width: 700px;
    margin-left: 32px;
    margin-right: 32px;
    padding-right: 0;
    flex-shrink: 1;
    min-width: 0;
  }
  /* Restore larger heading for the full-bleed layout */
  .hero-headline {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  }
  .hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  }
  /* Logo re-anchored left, no rightward nudge */
  .hero-logo-layer {
    justify-content: flex-start;
    padding-left: 5%;
  }
  .hero-logo-layer img {
    margin-left: 0;
    width: clamp(180px, 40vw, 400px);
  }
  /* Scroll hint recenters */
  .hero-scroll-hint {
    left: 50%;
  }
}

/* 900px — layout adjustments for projects and contact */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Projects page grid → 2-col at tablet */
  .projects-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Spotlight → stack on tablet */
  .project-spotlight {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .spotlight-image {
    aspect-ratio: 16 / 9;
  }
  /* Awards grid → 2-col at tablet */
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-actions {
    align-items: flex-start;
  }
}

/* 1023px — header collapses to a drawer.
   Measured: with the full 7-link nav + CTA, the header overflows from ~1200px down,
   and the CTA button was clipped off-screen at 820px. Drawer takes over here. */
@media (max-width: 1023px) {
  /* The drawer is always dark — keep its links white whatever the header state is */
  .header.light .nav-link {
    color: rgba(255, 255, 255, 0.78);
  }
  .header.light .nav-link:hover,
  .header.light .nav-link.active {
    color: var(--white);
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(17, 17, 17, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  /* 7 links x ~53px = ~371px — the old 320px ceiling clipped the last item */
  .nav.open { max-height: 560px; overflow-y: auto; }
  .nav-link {
    display: block;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
  }
  .nav-link::after { display: none; }
  .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-inner { gap: 0; }
}

/* 768px — full mobile layout */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .logo { height: 40px; gap: 8px; }
  .logo img { height: 27px; }
  .logo-name { font-size: 12px; letter-spacing: 0.1em; }
  .logo-name-cn { font-size: 8.5px; letter-spacing: 0.24em; text-indent: 0.24em; }
  .logo-lockup { gap: 4px; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 44px; }
  .container { padding: 0 20px; }

  /* Hero */
  .hero { height: 175vh; }
  .hero-building-layer img { opacity: 0.42; }
  .hero-logo-layer { padding-left: 4%; }
  .hero-logo-layer img {
    width: clamp(130px, 48vw, 240px);
    opacity: 0.09;
  }
  .hero-content {
    margin-left: 20px;
    margin-right: 20px;
  }


  /* Proof stats */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-card:last-child { border-bottom: none; }
  .stat-card { padding: 32px 24px; }

  /* Hubs */
  .hub-cards { grid-template-columns: 1fr; }
  .hub-body { padding: 28px 24px 32px; }
  .hub-connector { margin-bottom: 36px; }

  /* Projects (homepage grid + projects page grid) */
  .projects-grid, .projects-page-grid { grid-template-columns: 1fr; }

  /* Filter bar — wrap on small screens */
  .filter-wrap { gap: 12px; }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 12px; }

  /* Awards */
  .awards-grid { grid-template-columns: 1fr; }
  .award-categories { grid-template-columns: 1fr; }

  /* Capabilities */
  .capability-cards { grid-template-columns: 1fr; }
  .equipment-grid   { grid-template-columns: 1fr; }

  /* Contact */
  .contact-info-grid { grid-template-columns: 1fr; }
  .prep-cards        { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .inquiry-form      { padding: 28px 20px; }
  .form-submit-row   { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Process — vertical stack on mobile */
  .process-steps {
    flex-direction: column;
    gap: 0;
  }
  .process-steps::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .process-step {
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    padding-right: 0;
    padding-bottom: 32px;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-step-number { margin-bottom: 0; flex-shrink: 0; }

  /* Advantage and values */
  .cards-grid, .values-grid { grid-template-columns: 1fr; }

  /* Inner page heroes */
  .huayi-overview-grid { grid-template-columns: 1fr; }
  .qimu-specialty-grid { grid-template-columns: 1fr 1fr; }
  .qimu-photos-grid    { grid-template-columns: 1fr; }
  .cap-evidence-categories { grid-template-columns: 1fr; gap: 32px; }
  .gn-export-image-grid    { grid-template-columns: 1fr 1fr; }

  .about-hero, .projects-hero, .awards-hero, .capabilities-hero, .contact-hero, .commitments-hero, .huayi-hero, .qimu-hero, .why-qimu-hero, .deliver-hero, .global-network-hero {
    min-height: 70vh;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 72px;
  }

  /* About intro */
  .about-intro-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-intro-right { gap: 18px; }

  /* Timeline — vertical layout on mobile */
  .timeline {
    grid-template-columns: 1fr;
    padding-top: 0;
    margin-top: 40px;
  }
  .timeline::before { display: none; }
  .timeline-item {
    flex-direction: row;
    gap: 20px;
    padding-right: 0;
    padding-bottom: 36px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .timeline-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .timeline-dot { margin-bottom: 0; flex-shrink: 0; margin-top: 6px; }

  /* Production compare */
  .production-compare { grid-template-columns: 1fr; }
  .production-hub {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 36px 28px;
  }
  .production-hub:last-child { border-bottom: none; }

  /* Nav drawer height — up to 8 links after adding Capabilities */
  .nav.open { max-height: 560px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* 480px — single column for hero buttons, CTA, and footer */
@media (max-width: 480px) {
  .cap-evidence-slots  { grid-template-columns: 1fr; }
  .gn-export-image-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-actions .btn-large { width: 100%; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===== WHY QIMU PAGE ===== */

.why-reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.why-reason-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.why-reason-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.why-reason-card:hover::before { transform: scaleX(1); }
.why-reason-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}

.why-reason-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 16px;
}

.why-reason-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 14px;
}

.why-reason-body {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: 20px;
}

.why-reason-takeaway {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  padding-top: 16px;
  border-top: 1px solid var(--grey-light);
  letter-spacing: 0.01em;
}

/* Stats strip */
.why-stats-section { background: var(--dark); }
.why-stats-section .section-label { color: rgba(255,255,255,0.45); }
.why-stats-section .section-title { color: var(--white); }

.why-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-stat-card {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.why-stat-card:last-child { border-right: none; }

.why-stat-value {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.why-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

/* Comparison section */
.why-compare-section { background: var(--off-white); }

.compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-light);
  line-height: 1.5;
}

.compare-table thead th {
  background: var(--charcoal);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: none;
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.025); }

.compare-table td:first-child {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.82rem;
}
.compare-table td:nth-child(2) {
  color: var(--red);
  font-weight: 600;
}
.compare-table td:nth-child(3) {
  color: var(--grey-text);
}

.why-disclaimer {
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--grey-text);
  line-height: 1.65;
  font-style: italic;
  max-width: 720px;
}

@media (max-width: 768px) {
  .why-reasons-grid  { grid-template-columns: 1fr; }
  .why-stats-grid    { grid-template-columns: 1fr 1fr; }
  .why-stat-card     { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .why-stat-card:last-child { border-bottom: none; }
}

/* ===== DELIVER PAGE ===== */

.deliver-project-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.deliver-type-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.deliver-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.07);
}

.deliver-type-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.3;
}

.deliver-type-body {
  font-size: 0.86rem;
  color: var(--grey-text);
  line-height: 1.72;
  margin-bottom: 18px;
}

.deliver-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deliver-type-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--glass-blue);
  background: rgba(61, 107, 140, 0.08);
  border: 1px solid rgba(61, 107, 140, 0.18);
  border-radius: 4px;
  padding: 3px 9px;
}

/* Systems section */
.deliver-systems-section { background: var(--off-white); }

.deliver-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.deliver-system-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.deliver-system-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--glass-blue));
}

.deliver-system-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.35;
}

.deliver-system-body {
  font-size: 0.86rem;
  color: var(--grey-text);
  line-height: 1.72;
  margin-bottom: 18px;
}

.deliver-system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deliver-system-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--red);
  background: rgba(200, 16, 46, 0.06);
  border-radius: 4px;
  padding: 3px 9px;
}

/* Process — reuse process-section, process-steps, process-step from capabilities */

/* Deliver note */
.deliver-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--grey-text);
  line-height: 1.65;
  font-style: italic;
  max-width: 680px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .deliver-project-types-grid { grid-template-columns: 1fr; }
  .deliver-systems-grid       { grid-template-columns: 1fr; }
}

/* ===== GLOBAL NETWORK PAGE ===== */

.gn-network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.gn-node-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
}

.gn-node-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.gn-node-location {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.gn-node-company {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--glass-blue);
  margin-bottom: 16px;
  line-height: 1.4;
}

.gn-node-role {
  font-size: 0.86rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-light);
}

.gn-node-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.gn-node-fact {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.gn-node-fact::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.gn-node-address,
.gn-node-phone,
.gn-node-contact {
  font-size: 11.5px;
  color: rgba(0,0,0,0.45);
  line-height: 1.6;
  margin-top: 4px;
}

/* Logistics section */
.gn-logistics-section { background: var(--dark); }
.gn-logistics-section .section-label { color: rgba(255,255,255,0.45); }
.gn-logistics-section .section-title { color: var(--white); }

.gn-logistics-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
  max-width: 680px;
}

.gn-logistics-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.gn-logistics-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 6px;
}

.gn-logistics-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.gn-cptpp-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--glass-light);
  border-radius: 0 6px 6px 0;
  max-width: 640px;
}

.gn-cptpp-note p {
  font-size: 11.5px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  font-style: italic;
}

@media (max-width: 768px) {
  .gn-network-grid { grid-template-columns: 1fr; }
}

/* ===== TRUST ANCHORS STRIP ===== */

.trust-strip {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}

.trust-anchors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-anchor {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 6px 32px;
  position: relative;
}

.trust-anchor + .trust-anchor::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.18);
}

@media (max-width: 480px) {
  .trust-anchor { padding: 6px 20px; }
}

/* ===== HOMEPAGE RISK SECTION ===== */

.risk-section {
  background: var(--off-white);
}

.risk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.risk-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.risk-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--glass-blue));
}

.risk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}

.risk-problem {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 10px;
}

.risk-solution {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 14px;
}

.risk-detail {
  font-size: 0.86rem;
  color: var(--grey-text);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .risk-cards { grid-template-columns: 1fr; }
}

/* ===== PORTFOLIO STATS STRIP ===== */

.portfolio-stats-strip {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0;
}

.portfolio-stats-strip .section-label { color: rgba(255,255,255,0.45); }

.portfolio-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.portfolio-stat-card {
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.portfolio-stat-card:last-child { border-right: none; }

.portfolio-stat-value {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.portfolio-stat-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .portfolio-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-stat-card:nth-child(3) { border-right: none; }
  .portfolio-stat-card:nth-child(3),
  .portfolio-stat-card:nth-child(4),
  .portfolio-stat-card:nth-child(5) {
    border-top: 1px solid rgba(255,255,255,0.07);
  }
}

@media (max-width: 480px) {
  .portfolio-stats-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .portfolio-stat-card:nth-child(3) { border-top: none; }
  .portfolio-stat-card:nth-child(4),
  .portfolio-stat-card:nth-child(5) { border-top: none; }
  .portfolio-stat-card:last-child { border-bottom: none; }
}

/* ===== COMPANY STATS SECTION (about.html) ===== */

.company-stats-section {
  background: var(--dark);
  padding: 72px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.company-stats-section .stats-grid {
  margin-top: 0;
}

/* ===== HOMEPAGE FEATURED PROJECTS ===== */

.homepage-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Location line below project title */
.project-location {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

/* "View Portfolio →" text link inside a project card */
.hp-project-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  border-bottom: 1px solid var(--grey-light);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hp-project-link:hover {
  color: var(--red);
  border-color: var(--red);
}

/* Two-button CTA row */
.contact-actions-duo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .homepage-projects-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .homepage-projects-grid { grid-template-columns: 1fr; }
  .contact-actions-duo .btn { width: 100%; justify-content: center; }
}

/* ===== GLOBAL NETWORK — Enhanced Layout ===== */

/* Network spine strip */
.gn-spine {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}
.gn-spine-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gn-spine-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 40px;
}
.gn-spine-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.gn-spine-city {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.gn-spine-role {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.gn-spine-line {
  flex: 0 0 80px;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

/* HQ section */
.gn-hq-section {
  background: var(--off-white);
}
.gn-hq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}
.gn-hq-label-col {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

/* Shared section headings */
.gn-location-badge {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.gn-section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.gn-node-company {
  margin-top: 16px;
}
.gn-role-desc {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.75;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Address block */
.gn-address-block {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 6px;
}
.gn-address-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 6px;
}
.gn-address {
  font-size: 12.5px;
  color: var(--charcoal);
  line-height: 1.65;
}
.gn-hq-facts {
  margin-top: 28px;
}

/* Manufacturing sections */
.gn-mfg-section {
  border-top: 1px solid var(--grey-light);
}
.gn-changzhou-section { background: var(--white); }
.gn-malaysia-section  { background: var(--off-white); }

.gn-mfg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.gn-mfg-layout-reverse {
  direction: rtl;
}
.gn-mfg-layout-reverse > * {
  direction: ltr;
}

/* Changzhou stats row */
.gn-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  overflow: hidden;
  margin: 28px 0;
}
.gn-stat {
  padding: 16px 14px;
  background: var(--off-white);
  border-right: 1px solid var(--grey-light);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gn-changzhou-section .gn-stat { background: var(--off-white); }
.gn-malaysia-section  .gn-stat { background: var(--white); }
.gn-stat:last-child { border-right: none; }
.gn-stat-value {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1;
}
.gn-stat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  line-height: 1.4;
}

/* Visuals column */
.gn-mfg-visuals {
  padding-top: 4px;
}
.gn-visuals-caption {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 14px;
}
.gn-visuals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gn-visual-slot {
  border-radius: 5px;
  overflow: hidden;
  background: var(--dark);
  position: relative;
}
.gn-visual-slot-wide {
  grid-column: 1 / -1;
}
.gn-visual-slot img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.gn-visual-slot-wide img {
  height: 240px;
}
.gn-visual-name {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--grey-text);
  padding: 7px 4px 2px;
  line-height: 1.3;
}

/* Malaysia placeholder slots */
.gn-visual-slot .gn-photo-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #1c1c1e;
}
.gn-visual-slot-wide .gn-photo-placeholder {
  height: 240px;
}
.gn-photo-placeholder-note {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  text-align: center;
  line-height: 1.5;
  font-style: italic;
}

/* Malaysia contact block */
.gn-contact-block {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--charcoal);
  border-radius: 6px;
}
.gn-contact-block .gn-address-label {
  color: rgba(255,255,255,0.35);
}
.gn-contact-block .gn-address {
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.gn-phone {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.gn-contact-person {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
}

/* Responsive */
@media (max-width: 960px) {
  .gn-hq-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gn-hq-label-col {
    position: static;
  }
  .gn-mfg-layout,
  .gn-mfg-layout-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .gn-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .gn-stat:nth-child(2) { border-right: none; }
  .gn-stat:nth-child(3),
  .gn-stat:nth-child(4) { border-top: 1px solid var(--grey-light); }
}
@media (max-width: 540px) {
  .gn-spine { display: none; }
}

/* ===== PROJECT DETAIL MODAL ===== */

body.modal-open { overflow: hidden; }

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.project-modal.is-open {
  display: block;
}

.project-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-modal.is-visible .project-modal__overlay {
  opacity: 1;
}

.project-modal.is-closing .project-modal__overlay {
  transition: opacity 160ms ease;
}

.project-modal__panel {
  position: relative;
  width: min(86vw, 1080px);
  max-height: 88vh;
  margin: 6vh auto;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transform-origin: center top;
  transition:
    opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.project-modal.is-visible .project-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-modal.is-closing .project-modal__panel {
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-modal__content {
  max-height: 88vh;
  overflow-y: auto;
}

.project-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: var(--charcoal);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.project-modal__close:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* Modal inner layout */
.pm-hero {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--off-white);
}

.pm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-hero .image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  color: var(--grey-text);
}

.pm-body {
  padding: 36px 40px 44px;
}

.pm-title-block {
  margin-bottom: 24px;
}

.pm-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pm-location {
  font-size: 0.95rem;
  color: var(--grey-text);
  margin-bottom: 12px;
}

.pm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pm-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(200, 16, 46, 0.07);
  border-radius: 4px;
  padding: 4px 10px;
}

.pm-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
}

.pm-detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--grey-light);
  border-right: 1px solid var(--grey-light);
}

.pm-detail-row:nth-child(even) {
  border-right: none;
}

.pm-detail-row:nth-last-child(-n+2) {
  border-bottom: none;
}

.pm-detail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.pm-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.pm-description {
  font-size: 0.95rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.pm-cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--red);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.pm-cta:hover {
  background: var(--red-dark);
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-card.is-clicking,
  .project-modal__overlay,
  .project-modal__panel,
  .project-modal.is-closing .project-modal__overlay,
  .project-modal.is-closing .project-modal__panel {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .project-modal__panel {
    width: calc(100vw - 28px);
    max-height: 90vh;
    margin: 5vh auto;
    border-radius: 18px;
  }
  .project-modal__content {
    max-height: 90vh;
  }
  .pm-hero {
    height: 200px;
  }
  .pm-body {
    padding: 24px 22px 32px;
  }
  .pm-detail-grid {
    grid-template-columns: 1fr;
  }
  .pm-detail-row {
    border-right: none;
  }
  .pm-detail-row:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--grey-light);
  }
  .pm-detail-row:last-child {
    border-bottom: none;
  }
}
