/* ==========================================================================
   Nan Rong Technology (中山) Co., Ltd. - Global stylesheet
   ========================================================================== */

/* --- Design Tokens & Variables --- */
:root {
  /* Brand Colors */
  --primary-color: #0f357b;       /* Deep Navy Blue */
  --primary-light: #1d52b1;
  --primary-dark: #071f4b;
  --secondary-color: #0a8a43;     /* Vibrant Tech Green */
  --secondary-light: #0ebd5d;
  --secondary-dark: #055428;
  
  /* Neutral Palette */
  --text-main: #2b3a4a;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --bg-body: #f8fbff;
  --bg-card: #ffffff;
  --bg-dark: #092250;
  
  /* UI Elements */
  --border-color: rgba(15, 53, 123, 0.08);
  --border-color-hover: rgba(10, 138, 67, 0.2);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(15, 53, 123, 0.03), 0 2px 4px -1px rgba(15, 53, 123, 0.02);
  --shadow-md: 0 10px 15px -3px rgba(15, 53, 123, 0.06), 0 4px 6px -2px rgba(15, 53, 123, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 53, 123, 0.08), 0 10px 10px -5px rgba(15, 53, 123, 0.06);
  --shadow-glow-green: 0 0 20px rgba(10, 138, 67, 0.25);
  --shadow-glow-blue: 0 0 20px rgba(15, 53, 123, 0.25);
  
  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 53, 123, 0.05);
  transition: var(--transition-normal);
}

header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  transition: transform var(--transition-normal);
}

.logo-link:hover .logo-icon {
  transform: rotate(10deg) scale(1.05);
}

.logo-text-stack {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item {
  position: relative;
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition-normal);
}

.nav-item:hover, .nav-item.active {
  color: var(--primary-color);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--primary-color);
  color: var(--text-light);
  font-weight: 500;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(15, 53, 123, 0.2);
  transition: var(--transition-normal);
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary-color));
  z-index: -1;
  transition: var(--transition-normal);
}

.contact-btn:hover {
  box-shadow: 0 6px 20px rgba(10, 138, 67, 0.3);
  transform: translateY(-2px);
}

.contact-btn:hover::before {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Header Spacer */
.header-spacer {
  height: 80px;
}

/* --- Hero Banner Component --- */
.hero-banner {
  background: linear-gradient(135deg, rgba(20,53,107,.06), rgba(21,131,66,.04));
  padding: 100px 0 120px;
  position: relative;
  text-align: left;
  border-bottom: 1px solid rgba(15, 53, 123, 0.03);
}

.hero-banner .hero-title-container {
  max-width: 800px;
}

.hero-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
}

/* Wave Separator */
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-container svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.wave-container .shape-fill-blue {
  fill: var(--primary-color);
  opacity: 0.1;
}

.wave-container .shape-fill-green {
  fill: var(--secondary-color);
  opacity: 0.08;
}

/* --- Titles --- */
.section-title-wrap {
  margin-bottom: 50px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-title-wrap.align-left .section-title::after {
  left: 0;
  transform: none;
}

/* --- Cards & Content --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  padding: 32px;
  height: 100%;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

/* --- Core Components: Home Page & Dynamic Elements --- */
/* Interactive Canvas Hero */
.canvas-hero {
  position: relative;
  height: calc(100vh - 80px);
  background: linear-gradient(135deg, #06183a 0%, #0a2558 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.canvas-hero #hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-headline {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, #0ebd5d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  color: #d1dbe5;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: var(--text-light);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(10, 138, 67, 0.4);
  transition: var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 138, 67, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  font-weight: 600;
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Feature Showcase grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* --- Core Components: Company Profile --- */
/* Core Technology Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tech-card {
  display: flex;
  gap: 24px;
}

.tech-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(15, 53, 123, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
  font-size: 24px;
  transition: var(--transition-normal);
}

.tech-card:hover .tech-icon-wrap {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-green);
}

.tech-info h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.tech-info p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Quality Management (Equipment) slider */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}

.equipment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 20px 10px;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.equipment-card .equip-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--primary-color);
  transition: transform var(--transition-normal);
}

.equipment-card:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-glow-green);
  transform: translateY(-5px);
}

.equipment-card:hover .equip-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--secondary-color);
}

.equipment-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Business Scope tags */
.scope-wrap {
  background: linear-gradient(135deg, rgba(20, 53, 107, 0.04), rgba(21, 131, 66, 0.04));
  border-radius: var(--border-radius-lg);
  padding: 50px;
  border: 1px solid var(--border-color);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tag-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  color: var(--primary-color);
  transition: var(--transition-normal);
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.tag-item:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.tag-item.accent-tag {
  color: var(--secondary-color);
  border-color: rgba(10, 138, 67, 0.15);
}

.tag-item.accent-tag:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-glow-green);
}

/* --- Core Components: Product Page --- */
.product-desc {
  max-width: 800px;
  margin: -20px auto 40px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

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

.product-card {
  perspective: 1000px;
  height: 100%;
}

.product-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px 16px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-normal);
  transform-style: preserve-3d;
}

.product-card-inner:hover {
  transform: translateY(-8px);
}

/* Custom shadow/border colors per product type */
.product-card-inner.green-prod:hover { border-color: #0ebd5d; box-shadow: 0 10px 25px rgba(14, 189, 93, 0.15); }
.product-card-inner.black-prod:hover { border-color: #333333; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }
.product-card-inner.white-prod:hover { border-color: #b0c4de; box-shadow: 0 10px 25px rgba(176, 196, 222, 0.25); }
.product-card-inner.blue-prod:hover { border-color: #1a5fb4; box-shadow: 0 10px 25px rgba(26, 95, 180, 0.15); }
.product-card-inner.gray-prod:hover { border-color: #8c96a0; box-shadow: 0 10px 25px rgba(140, 150, 160, 0.15); }

.product-img-box {
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img-box {
  transform: translateZ(30px) scale(1.05);
}

.product-img-box img {
  max-height: 100%;
  object-fit: contain;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.product-specs {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

/* Product Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px 12px;
  text-align: center;
  transition: var(--transition-normal);
}

.adv-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-glow-green);
}

.adv-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 53, 123, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.adv-card:hover .adv-icon-wrap {
  background: var(--secondary-color);
  color: var(--text-light);
}

.adv-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.adv-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Applications */
.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow-blue);
}

.app-card .app-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--primary-color);
  transition: transform var(--transition-normal);
}

.app-card:hover .app-icon {
  transform: scale(1.1);
  color: var(--secondary-color);
}

.app-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Future roadmap timeline */
.roadmap-container {
  position: relative;
  padding: 40px 0;
}

.roadmap-line {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(15, 53, 123, 0.1), var(--secondary-color) 50%, rgba(15, 53, 123, 0.1));
  z-index: 1;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.roadmap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.roadmap-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 4px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  margin-bottom: 24px;
  transition: var(--transition-normal);
  position: relative;
}

.roadmap-node::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--secondary-color);
  animation: pulse 2s infinite;
  opacity: 0;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.roadmap-item:hover .roadmap-node {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: scale(1.1);
}

.roadmap-node svg {
  width: 20px;
  height: 20px;
}

.roadmap-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.roadmap-content p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Core Components: Careers Page --- */
.careers-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.join-us-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.join-us-box h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.join-us-box h3 svg {
  width: 28px;
  height: 28px;
  color: var(--secondary-color);
}

.join-us-box p {
  color: var(--text-muted);
  line-height: 1.8;
}

.positions-title-wrap {
  margin-bottom: 24px;
}

.positions-title-wrap h3 {
  font-size: 20px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.positions-title-wrap h3 svg {
  width: 24px;
  height: 24px;
  color: var(--secondary-color);
}

/* Careers Accordion */
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.accordion-header {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bg-card);
  transition: var(--transition-fast);
}

.accordion-header:hover {
  background: rgba(15, 53, 123, 0.01);
}

.accordion-title-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.job-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(15, 53, 123, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.accordion-item:nth-child(2) .job-icon-wrap { background: rgba(10, 138, 67, 0.05); color: var(--secondary-color); }
.accordion-item:nth-child(3) .job-icon-wrap { background: rgba(15, 53, 123, 0.05); color: var(--primary-color); }

.job-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.job-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.job-meta {
  font-size: 13px;
  color: var(--secondary-color);
  font-weight: 600;
  background: rgba(10, 138, 67, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
}

.accordion-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.accordion-item.is-open {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-md);
}

.accordion-item.is-open .accordion-header {
  border-bottom: 1px solid rgba(15, 53, 123, 0.04);
}

.accordion-item.is-open .accordion-arrow {
  transform: rotate(180deg);
  color: var(--secondary-color);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease;
}

.accordion-content-inner {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: #fdfeff;
}

.job-req-list h4, .job-resp-list h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-req-list h4 svg, .job-resp-list h4 svg {
  width: 18px;
  height: 18px;
  color: var(--secondary-color);
}

.job-list-items li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}

.job-list-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary-color);
}

/* Contact Sidebar */
.contact-sidebar {
  position: sticky;
  top: 100px;
}

.contact-sidebar-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-sidebar h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 53, 123, 0.05);
}

.contact-item-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fbfdff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin-bottom: 16px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.contact-item-box:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 53, 123, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.contact-item-box:hover .contact-item-icon {
  background: var(--secondary-color);
  color: var(--text-light);
}

.contact-item-info span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.contact-item-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Footer Banner */
.footer-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.footer-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: none;
  z-index: 1;
}

.footer-banner-content {
  position: relative;
  z-index: 2;
}

.footer-banner-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-banner-content p {
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Contact Form Section (Shared / Company page) --- */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-details-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-list {
  margin-top: 32px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 53, 123, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: #fbfdff;
  font-size: 14px;
  transition: var(--transition-normal);
}

.form-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(10, 138, 67, 0.1);
  background: #ffffff;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 30px;
  background: var(--primary-color);
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 53, 123, 0.15);
  transition: var(--transition-normal);
}

.form-submit-btn:hover {
  background: var(--secondary-color);
  box-shadow: var(--shadow-glow-green);
  transform: translateY(-1px);
}

/* --- Footer --- */
footer {
  background: var(--bg-dark);
  color: #a0aec0;
  padding: 60px 0 30px;
  font-size: 14px;
  border-top: 4px solid var(--secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-about .footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-about .footer-logo-title {
  color: var(--text-light);
  font-size: 18px;
  font-weight: 700;
}

.footer-about .footer-logo-subtitle {
  color: #a0aec0;
  font-size: 10px;
}

.footer-slogan {
  font-size: 12px;
  color: var(--secondary-light);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-desc {
  line-height: 1.7;
}

.footer-column h3 {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-contacts-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contacts-list li svg {
  width: 18px;
  height: 18px;
  color: var(--secondary-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  display: inline-block;
  color: #a0aec0;
}

.footer-links-list a:hover {
  color: var(--secondary-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

.footer-copyright {
  opacity: 0.8;
}

.footer-beian a:hover {
  color: var(--secondary-light);
}

/* --- Reveal-on-Scroll Animations --- */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  /* Product page grid */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .adv-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  /* Layout shifts */
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  /* Navigation */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 999;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: var(--transition-normal);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  /* Company Page Grid */
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Product grids */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .roadmap-line {
    display: none;
  }
  
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .roadmap-item {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }
  
  .roadmap-node {
    margin-bottom: 0;
  }
  
  /* Careers grid */
  .careers-grid {
    grid-template-columns: 1fr;
  }
  
  .accordion-content-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .adv-grid {
    grid-template-columns: 1fr;
  }
  
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .accordion-header {
    padding: 20px;
  }
  
  .accordion-title-block {
    gap: 12px;
  }
  
  .job-name {
    font-size: 16px;
  }
}


/* ==========================================================================
   VIS completion layer - official Nan Rong brand system
   ========================================================================== */
:root {
  --primary-color: #14356B;
  --primary-light: #1f4b89;
  --primary-dark: #0c244b;
  --secondary-color: #158342;
  --secondary-light: #20a95a;
  --secondary-dark: #0b5f2d;
  --text-main: #505153;
  --text-muted: #6f7784;
  --bg-body: #f7f8fa;
  --bg-dark: #14356B;
  --border-color: rgba(20, 53, 107, 0.14);
  --border-color-hover: rgba(21, 131, 66, 0.32);
  --shadow-glow-green: 0 16px 40px rgba(21, 131, 66, 0.18);
  --shadow-glow-blue: 0 18px 48px rgba(20, 53, 107, 0.18);
  --font-sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

header {
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--primary-color) 0 76%, var(--secondary-color) 76% 100%) 1;
}

.logo-link {
  width: 372px;
  min-height: 64px;
  gap: 0;
  flex-shrink: 0;
}

.logo-link .logo-icon,
.logo-link .logo-text-stack {
  display: none !important;
}

.logo-link::before {
  content: "";
  display: block;
  width: 100%;
  height: 64px;
  background: url('../assets/images/brand/nanrong-logo-horizontal.png') left center / contain no-repeat;
}

.footer-logo-link {
  min-height: 78px;
  align-items: flex-start !important;
  padding: 10px 14px;
  background: rgba(255,255,255,.96);
  border-radius: 8px;
  width: min(390px, 100%);
}

.footer-logo-link .logo-icon,
.footer-logo-link .footer-logo-title {
  display: none !important;
}

.footer-logo-link::before {
  content: "";
  display: block;
  width: 100%;
  height: 64px;
  background: url('../assets/images/brand/nanrong-logo-horizontal.png') left center / contain no-repeat;
}

.canvas-hero {
  min-height: 680px;
  height: calc(100vh - 80px);
  background:
    linear-gradient(90deg, rgba(5, 18, 42, .92), rgba(20, 53, 107, .72) 42%, rgba(21, 131, 66, .24)),
    url('../assets/images/banners/home-hero-vision.png') center / cover no-repeat;
  isolation: isolate;
}

.canvas-hero::before,
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20,53,107,.88), rgba(20,53,107,.46) 48%, rgba(21,131,66,.14)),
    var(--banner-image, url('../assets/images/banners/inner-banner-vision.png')) center / cover no-repeat;
  z-index: 0;
}

.canvas-hero::after,
.hero-banner::after {
  content: "";
  position: absolute;
  right: -6vw;
  top: -15%;
  width: min(820px, 58vw);
  height: 120%;
  background: url('../assets/images/brand/auxiliary-graphic.png') right center / contain no-repeat;
  opacity: .18;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  transform: rotate(-2deg);
  animation: auxFloat 10s ease-in-out infinite;
}

.canvas-hero::before {
  background: linear-gradient(90deg, rgba(5, 18, 42, .9), rgba(20, 53, 107, .62) 44%, rgba(21, 131, 66, .14));
}

.canvas-hero #hero-canvas { opacity: .45; z-index: 1; }
.canvas-hero .container { position: relative; z-index: 3; }

.hero-banner {
  min-height: 390px;
  display: flex;
  align-items: center;
  padding: 82px 0 92px;
  color: #fff;
  overflow: hidden;
  background: var(--primary-color);
  border-bottom: 0;
}

.hero-banner .container,
.hero-banner .hero-title-container {
  position: relative;
  z-index: 3;
}

.hero-title,
.hero-banner .hero-title { color: #fff; }
.hero-banner .hero-desc { color: rgba(255,255,255,.84); }
.hero-banner .hero-tag { color: #72d79d; }
.wave-container { display: none; }

.hero-headline {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  letter-spacing: 0;
}

.hero-lead { max-width: 760px; }
.btn-primary,
.contact-btn,
.form-submit-btn {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-color), #1c4a88);
  box-shadow: 0 16px 32px rgba(20, 53, 107, .22);
}

.btn-primary:hover,
.contact-btn:hover,
.form-submit-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-secondary { border-radius: 8px; }


.overview-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto 34px;
  max-width: 1040px;
}

.overview-badges div {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 20px 22px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.overview-badges div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.overview-badges b {
  display: block;
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 8px;
}

.overview-badges span {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-data-section {
  background: #fff;
  border-top: 1px solid var(--border-color);
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.matrix-card,
.detail-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.matrix-card { padding: 28px; }
.matrix-card h3,
.detail-card h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 18px;
}

.table-scroll { overflow-x: auto; }
.info-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fff;
}

.info-table th,
.info-table td {
  border: 1px solid #e4e8ee;
  padding: 13px 14px;
  text-align: left;
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.55;
  vertical-align: top;
}

.info-table thead th {
  color: #fff;
  background: var(--primary-color);
  white-space: nowrap;
}

.info-table tbody th {
  color: var(--primary-color);
  background: #f2f5f9;
  white-space: nowrap;
}

.info-table tr:hover td,
.info-table tr:hover th { background: #f4faf6; }

.product-detail-section {
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.detail-card {
  padding: 28px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.detail-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-glow-blue);
}

.detail-card p,
.detail-card li,
.detail-columns span,
.plug-compare span,
.detail-apps {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.detail-card h4 {
  margin: 4px 0 12px;
  color: var(--secondary-color);
}

.detail-card ul { list-style: disc; padding-left: 20px; }
.detail-card li { margin-bottom: 7px; }
.plug-card,
.character-card { grid-column: span 2; }

.detail-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.detail-columns div,
.plug-compare {
  padding: 16px;
  border-radius: 8px;
  background: #f4f7fa;
  border-left: 4px solid var(--secondary-color);
}

.detail-columns b,
.plug-compare b {
  display: block;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.plug-compare span { display: block; }
.number-list {
  margin: 18px 0 0;
  padding-left: 22px;
  list-style: decimal;
}

.footer-banner::before {
  background: url('../assets/images/brand/auxiliary-graphic.png') center / 760px auto no-repeat !important;
  opacity: .12;
}

@keyframes auxFloat {
  0%,100% { transform: translate3d(0,0,0) rotate(-2deg); }
  50% { transform: translate3d(-14px,10px,0) rotate(-2deg); }
}

@media (max-width: 1024px) {
  .logo-link { width: 300px; }
  .overview-badges { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .plug-card,
  .character-card { grid-column: auto; }
  .detail-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .logo-link { width: 245px; min-height: 54px; }
  .logo-link::before { height: 48px; }
  .canvas-hero { min-height: 620px; }
  .canvas-hero::after,
  .hero-banner::after { width: 95vw; opacity: .13; right: -35vw; }
  .hero-banner { min-height: 330px; padding: 64px 0 76px; }
  .matrix-card,
  .detail-card { padding: 20px; }
}

@media (max-width: 480px) {
  .logo-link { width: 220px; }
  .hero-headline { font-size: 30px; line-height: 1.28; }
  .hero-title { font-size: 34px; }
}

/* Lock typography to VIS-style neutral tracking. */
body, body * { letter-spacing: 0 !important; }


/* Mobile QA fixes. */
@media (max-width: 768px) {
  header { height: 78px; }
  .header-spacer { height: 78px; }
  .navbar { gap: 14px; }
  .logo-link {
    width: min(255px, calc(100vw - 88px));
    min-height: 54px;
  }
  .logo-link::before { height: 48px; }
  .mobile-nav-toggle {
    display: flex !important;
    flex: 0 0 28px;
    width: 28px;
    height: 20px;
    margin-left: auto;
  }
  .mobile-nav-toggle span {
    height: 3px;
    background: var(--primary-color);
  }
  .nav-menu { top: 78px; height: calc(100vh - 78px); }
  .canvas-hero {
    height: auto;
    min-height: 640px;
    padding: 74px 0 58px;
    align-items: center;
  }
  .hero-content {
    max-width: 100%;
    width: 100%;
  }
  .hero-headline {
    max-width: 10em;
    font-size: clamp(31px, 8.4vw, 38px) !important;
    line-height: 1.22;
    word-break: break-all;
    overflow-wrap: anywhere;
  }
  .hero-lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.85;
  }
  .hero-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
    min-width: 0;
    padding: 13px 10px;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .logo-link { width: min(236px, calc(100vw - 82px)); }
  .logo-link::before { height: 44px; }
  .hero-headline { max-width: 9em; }
  .hero-btns { grid-template-columns: 1fr; }
}

.mobile-title-break { display: none; }


@media (max-width: 768px) {
  .hero-headline {
    max-width: calc(100vw - 48px);
    font-size: clamp(30px, 7.6vw, 34px) !important;
    word-break: normal;
    overflow-wrap: normal;
  }
  .hero-lead {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    word-break: break-all;
    overflow-wrap: anywhere;
  }
  .mobile-title-break { display: inline; }
}

@media (max-width: 520px) {
  .hero-btns { grid-template-columns: 1fr; }
}


@media (max-width: 768px) {
  .mobile-nav-toggle {
    position: fixed;
    right: 24px;
    top: 29px;
    z-index: 2002;
  }
}


@media (max-width: 768px) {
  .mobile-nav-toggle::before {
    content: "";
    display: block;
    width: 28px;
    height: 20px;
    background:
      linear-gradient(var(--primary-color), var(--primary-color)) 0 0 / 100% 3px no-repeat,
      linear-gradient(var(--primary-color), var(--primary-color)) 0 8px / 100% 3px no-repeat,
      linear-gradient(var(--primary-color), var(--primary-color)) 0 16px / 100% 3px no-repeat;
    border-radius: 2px;
  }
  .mobile-nav-toggle span { display: none; }
  .mobile-nav-toggle.active::before {
    background:
      linear-gradient(var(--primary-color), var(--primary-color)) center / 100% 3px no-repeat;
    transform: rotate(45deg);
  }
}


@media (max-width: 768px) {
  header::after {
    content: "";
    position: fixed;
    right: 24px;
    top: 29px;
    width: 28px;
    height: 20px;
    z-index: 2100;
    background:
      linear-gradient(var(--primary-color), var(--primary-color)) 0 0 / 100% 3px no-repeat,
      linear-gradient(var(--primary-color), var(--primary-color)) 0 8px / 100% 3px no-repeat,
      linear-gradient(var(--primary-color), var(--primary-color)) 0 16px / 100% 3px no-repeat;
    pointer-events: none;
  }
  .mobile-nav-toggle {
    right: 8px;
    top: 0;
    width: 72px;
    height: 78px;
    opacity: 0;
  }
}


/* Desktop header, banner, contact, and accordion corrections requested 2026-06-21. */
.accordion-header {
  user-select: none;
}

.accordion-content {
  will-change: max-height;
}

.accordion-item.is-open .accordion-content {
  max-height: 760px;
}

.contact-direct-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(246,249,253,.98) 100%);
  border: 1px solid rgba(20, 53, 107, .12);
  border-radius: var(--border-radius-md);
  padding: 42px;
  box-shadow: var(--shadow-sm);
}

.contact-direct-card::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,131,66,.13), rgba(21,131,66,0) 62%);
  pointer-events: none;
}

.direct-card-kicker {
  display: inline-block;
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.contact-direct-card h3 {
  color: var(--primary-color);
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.contact-direct-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 26px;
}

.direct-contact-actions {
  display: grid;
  gap: 14px;
}

.direct-contact-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(20, 53, 107, .12);
  box-shadow: 0 10px 26px rgba(20, 53, 107, .06);
}

.direct-contact-action:hover {
  border-color: rgba(21, 131, 66, .34);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(20, 53, 107, .10);
}

.direct-contact-action span {
  color: var(--text-muted);
  font-size: 13px;
}

.direct-contact-action strong {
  color: var(--primary-color);
  font-size: 16px;
  text-align: right;
}

.direct-card-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 53, 107, .10);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 14px;
}


#contact-section .reveal {
  opacity: 1;
  transform: none;
}

.canvas-hero::after {
  display: none;
}

@media (min-width: 769px) {
  header,
  header.scrolled {
    height: 124px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 10px 28px rgba(20, 53, 107, .06);
  }

  .header-spacer {
    height: 124px;
  }

  header .container.navbar {
    max-width: none;
    padding: 12px 32px;
  }

  .logo-link {
    width: 640px;
    height: 96px;
    min-height: 96px;
    padding: 12px 24px;
    background:
      linear-gradient(90deg, #f4f4f5 0%, #e7e8ea 55%, #f5f5f6 100%);
    border: 0;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 6px 18px rgba(20, 53, 107, .045);
    overflow: visible;
    box-sizing: border-box;
  }

  .logo-link::before {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
  }

  .nav-menu {
    gap: clamp(30px, 3vw, 56px);
  }

  .nav-item {
    font-size: 18px;
    font-weight: 600;
  }

  .contact-btn {
    min-height: 56px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
  }

  .canvas-hero {
    min-height: 690px;
    height: calc(100vh - 124px);
    background:
      linear-gradient(90deg, rgba(3, 14, 36, .92) 0%, rgba(20, 53, 107, .58) 48%, rgba(21, 131, 66, .18) 100%),
      url('../assets/images/banners/home-hero-vision.png') center / cover no-repeat;
  }

  .canvas-hero::before {
    background:
      radial-gradient(circle at 72% 48%, rgba(64, 214, 154, .15), rgba(64,214,154,0) 34%),
      linear-gradient(90deg, rgba(3, 14, 36, .58) 0%, rgba(20, 53, 107, .20) 56%, rgba(21, 131, 66, .08) 100%);
  }

  .canvas-hero::after {
    display: none;
  }

  .hero-banner {
    min-height: 420px;
    padding: 94px 0 106px;
  }

  .hero-banner::before {
    background:
      linear-gradient(90deg, rgba(4, 15, 38, .84) 0%, rgba(15, 53, 123, .54) 42%, rgba(21, 131, 66, .16) 100%),
      var(--banner-image, url('../assets/images/banners/inner-banner-vision.png')) center / cover no-repeat;
  }

  .hero-banner::after {
    right: clamp(64px, 7vw, 150px);
    top: 50%;
    width: min(440px, 25vw);
    height: 88%;
    background-image: url('../assets/images/brand/auxiliary-graphic-banner.png');
    opacity: .42;
    mix-blend-mode: normal;
    filter: drop-shadow(0 0 20px rgba(142,181,225,.12));
    transform: translateY(-50%) rotate(-2deg);
    animation: none;
    background-position: center;
    background-size: contain;
  }

  .hero-banner .hero-title-container {
    max-width: 760px;
  }

  .hero-banner .hero-title {
    font-size: 54px;
    line-height: 1.12;
    text-shadow: 0 10px 30px rgba(0,0,0,.26);
  }

  .hero-banner .hero-desc {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    text-shadow: 0 8px 24px rgba(0,0,0,.24);
  }

  .contact-section-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: center;
  }
}

@media (min-width: 769px) and (max-width: 1500px) {
  header,
  header.scrolled {
    height: 112px;
  }

  .header-spacer {
    height: 112px;
  }

  header .container.navbar {
    padding: 10px 24px;
  }

  .logo-link {
    width: 520px;
    height: 88px;
    min-height: 88px;
    padding: 10px 18px;
  }

  .nav-menu {
    gap: 28px;
  }

  .nav-item {
    font-size: 16px;
  }

  .contact-btn {
    min-height: 50px;
    padding: 0 24px;
  }

  .hero-banner::after {
    right: 48px;
    width: 360px;
  }
}

/* Final desktop refinements requested 2026-06-21 afternoon. */
header,
header.scrolled {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-image: none !important;
}

@media (min-width: 769px) {
  .logo-link {
    background: linear-gradient(90deg, #f7f7f8 0%, #ececef 54%, #f8f8f9 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 7px 20px rgba(20, 53, 107, .04);
  }

  .hero-banner::after {
    right: clamp(-70px, -3.6vw, -34px);
    top: 61%;
    width: min(560px, 34vw);
    height: 122%;
    background-image: url('../assets/images/brand/auxiliary-graphic-banner-bluegreen.png');
    background-position: center;
    background-size: contain;
    opacity: .82;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 24px rgba(100, 190, 224, .20));
    transform: translateY(-50%) rotate(-2deg);
  }

  .canvas-hero::after {
    display: none !important;
  }

  .contact-redesign-grid {
    grid-template-columns: .96fr 1.04fr;
    gap: 56px;
    align-items: stretch;
  }

  .contact-visual-card,
  .contact-info-panel {
    min-height: 560px;
    border-radius: 14px;
  }

  .contact-visual-card {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    border: 1px solid rgba(20, 53, 107, .12);
    box-shadow: 0 24px 58px rgba(20, 53, 107, .14);
  }

  .contact-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% 50%;
    transform: scale(1.035);
    transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
  }

  .contact-visual-card:hover img {
    transform: scale(1.075);
  }

  .contact-visual-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(8,24,55,0) 24%, rgba(8,24,55,.74) 100%),
      linear-gradient(90deg, rgba(20,53,107,.18), rgba(21,131,66,.08));
    z-index: 1;
  }

  .contact-visual-card::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -180px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 217, 146, .22), rgba(46, 217, 146, 0) 68%);
    z-index: 1;
    pointer-events: none;
  }

  .contact-visual-content {
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 36px;
    z-index: 2;
    color: #fff;
  }

  .contact-visual-content span {
    display: inline-block;
    color: #7de1a9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 12px;
  }

  .contact-visual-content h3 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .contact-visual-content p {
    max-width: 520px;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 1.8;
  }

  .contact-info-panel {
    justify-content: center;
    background: linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(248,250,253,.98) 100%);
    border: 1px solid rgba(20, 53, 107, .12);
    padding: 50px 54px;
    box-shadow: 0 18px 46px rgba(20, 53, 107, .08);
  }

  .contact-summary {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.9;
    max-width: 680px;
  }

  .contact-info-list {
    margin-top: 38px;
  }

  .contact-info-row {
    gap: 22px;
    margin-bottom: 28px;
  }

  .contact-icon-circle {
    width: 58px;
    height: 58px;
    background: rgba(20, 53, 107, .06);
  }

  .contact-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .contact-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .contact-action-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
  }

  .contact-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #1f4b89);
    box-shadow: 0 14px 28px rgba(20, 53, 107, .18);
  }

  .contact-action-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  }

  .contact-action-btn.ghost {
    color: var(--primary-color);
    background: #fff;
    border: 1px solid rgba(20, 53, 107, .16);
    box-shadow: none;
  }

  .contact-action-btn.ghost:hover {
    color: #fff;
    border-color: transparent;
  }

  .adv-grid {
    gap: 18px;
  }

  .adv-card {
    min-height: 224px;
    padding: 32px 18px 30px;
  }

  .adv-icon-wrap {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .adv-icon-wrap svg {
    width: 24px;
    height: 24px;
  }

  .adv-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .adv-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .roadmap-container {
    padding: 54px 0 36px;
  }

  .roadmap-line {
    top: 108px;
  }

  .roadmap-node {
    width: 64px;
    height: 64px;
    margin-bottom: 30px;
  }

  .roadmap-node svg {
    width: 25px;
    height: 25px;
  }

  .roadmap-content h4 {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .roadmap-content p {
    font-size: 15px;
    line-height: 1.75;
  }

  #product-advantages,
  #future-directions,
  #contact-section {
    scroll-margin-top: 132px;
  }
}

@media (min-width: 769px) and (max-width: 1500px) {
  .hero-banner::after {
    right: -46px;
    top: 62%;
    width: 500px;
    height: 126%;
  }

  .contact-redesign-grid {
    gap: 42px;
  }

  .contact-info-panel {
    padding: 42px 44px;
  }
}

/* Round 2 desktop polish requested 2026-06-21 evening. */

/* Round 2 desktop polish requested 2026-06-21 evening. */
@media (min-width: 769px) {
  header,
  header.scrolled {
    height: 96px !important;
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    box-shadow: 0 16px 44px rgba(20, 53, 107, .075) !important;
    overflow: visible;
  }

  header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 72%, var(--secondary-color) 72%, var(--secondary-color) 100%);
  }

  .header-spacer {
    height: 96px !important;
  }

  header .container.navbar {
    height: 100%;
    max-width: 1480px !important;
    padding: 12px 34px !important;
    gap: 24px;
  }

  .logo-link {
    width: 430px !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 10px 18px !important;
    border: 1px solid rgba(20, 53, 107, .08) !important;
    border-radius: 14px !important;
    background: linear-gradient(100deg, rgba(255,255,255,.98) 0%, rgba(244,247,251,.96) 54%, rgba(255,255,255,.98) 100%) !important;
    box-shadow: 0 12px 34px rgba(20, 53, 107, .065), inset 0 1px 0 rgba(255,255,255,.9) !important;
    overflow: hidden !important;
  }

  .logo-link::before {
    height: 52px !important;
    background-position: center !important;
    background-size: contain !important;
  }

  .nav-menu {
    margin-left: auto;
    gap: 6px !important;
    padding: 8px !important;
    border-radius: 999px;
    background: rgba(244, 247, 252, .88);
    border: 1px solid rgba(20, 53, 107, .08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 32px rgba(20, 53, 107, .045);
  }

  .nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px !important;
    border-radius: 999px;
    color: #334155;
    font-size: 16px !important;
    font-weight: 700;
  }

  .nav-item::after {
    display: none !important;
  }

  .nav-item:hover,
  .nav-item.active {
    color: var(--primary-color) !important;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(20, 53, 107, .08);
  }

  .contact-btn {
    min-height: 46px !important;
    padding: 0 26px !important;
    border-radius: 12px !important;
    margin-left: 8px;
    font-size: 16px !important;
    font-weight: 800;
    background: linear-gradient(135deg, #14356B 0%, #1e4e93 100%) !important;
    box-shadow: 0 14px 30px rgba(20, 53, 107, .18) !important;
  }

  .contact-btn::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) !important;
  }

  .hero-banner::after {
    top: auto !important;
    right: 28px !important;
    bottom: -76px !important;
    width: min(270px, 17vw) !important;
    height: 310px !important;
    opacity: .72 !important;
    background-position: right bottom !important;
    transform: rotate(-2deg) !important;
  }

  .profile-media-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid rgba(20, 53, 107, .08);
    border-bottom: 1px solid rgba(20, 53, 107, .08);
  }

  .home-profile-media {
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
  }

  .profile-media-grid {
    display: grid;
    grid-template-columns: 1.18fr .82fr;
    grid-template-rows: repeat(2, 240px);
    gap: 20px;
  }

  .profile-media-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: 0 22px 54px rgba(20, 53, 107, .10);
    background: var(--primary-color);
  }

  .profile-media-card.media-wide {
    grid-row: span 2;
  }

  .profile-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.15s cubic-bezier(.2,.7,.2,1);
  }

  .profile-media-card:hover img {
    transform: scale(1.055);
  }

  .profile-media-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 20, 48, 0) 34%, rgba(7, 20, 48, .78) 100%);
    pointer-events: none;
  }

  .profile-media-caption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 2;
    color: #fff;
  }

  .profile-media-caption span {
    display: inline-block;
    color: #7de1a9;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 8px;
  }

  .profile-media-caption h3 {
    font-size: 30px;
    line-height: 1.25;
  }

  .profile-media-caption.compact h3 {
    font-size: 22px;
  }

  .profile-media-caption.dark-text {
    color: var(--primary-color);
  }

  .profile-media-caption.dark-text span {
    color: var(--secondary-color);
  }

  .profile-media-card:has(.dark-text)::after {
    background: linear-gradient(180deg, rgba(255,255,255,0) 18%, rgba(255,255,255,.86) 100%);
  }

  .profile-visual-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: 0 24px 60px rgba(20, 53, 107, .08);
  }

  .profile-visual-image {
    overflow: hidden;
    border-radius: 14px;
    min-height: 420px;
    background: var(--primary-color);
  }

  .profile-visual-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
  }

  .profile-visual-copy h2 {
    color: var(--primary-color);
    font-size: 36px;
    line-height: 1.25;
    margin: 10px 0 18px;
  }

  .profile-visual-copy p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.9;
  }

  .profile-visual-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
  }

  .profile-visual-points b {
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(21, 131, 66, .08);
    color: var(--secondary-color);
    font-size: 14px;
  }

  .product-profile-materials {
    display: grid;
    grid-template-columns: .95fr 1.1fr .95fr;
    gap: 18px;
    align-items: stretch;
    margin: 56px auto 0;
    max-width: 1120px;
  }

  .product-material-image,
  .product-material-copy {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: 0 16px 40px rgba(20, 53, 107, .07);
    background: #fff;
  }

  .product-material-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2,.7,.2,1);
  }

  .product-material-image:hover img {
    transform: scale(1.055);
  }

  .product-material-copy {
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: linear-gradient(145deg, #ffffff, #f5f8fc);
  }

  .product-material-copy h3 {
    color: var(--primary-color);
    font-size: 28px;
    line-height: 1.28;
    margin: 10px 0 14px;
  }

  .product-material-copy p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.85;
  }
}

@media (min-width: 769px) and (max-width: 1500px) {
  header,
  header.scrolled {
    height: 92px !important;
  }

  .header-spacer {
    height: 92px !important;
  }

  header .container.navbar {
    padding: 10px 24px !important;
    gap: 16px;
  }

  .logo-link {
    width: 390px !important;
    height: 68px !important;
    min-height: 68px !important;
  }

  .logo-link::before {
    height: 50px !important;
  }

  .nav-menu {
    gap: 4px !important;
    padding: 7px !important;
  }

  .nav-item {
    min-height: 42px;
    padding: 0 14px !important;
    font-size: 15px !important;
  }

  .contact-btn {
    min-height: 44px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
  }

  .hero-banner::after {
    right: 20px !important;
    bottom: -82px !important;
    width: 245px !important;
    height: 292px !important;
  }

  .profile-media-grid {
    grid-template-rows: repeat(2, 220px);
  }
}


/* Round 3 desktop refinement: real logo header and PDF material integration. */
.logo-link::before {
  display: none !important;
  content: none !important;
}

.site-logo-lockup {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 769px) {
  header,
  header.scrolled {
    height: 104px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,251,255,.95) 100%) !important;
    box-shadow: 0 18px 48px rgba(20, 53, 107, .08) !important;
  }

  .header-spacer {
    height: 104px !important;
  }

  header .container.navbar {
    max-width: 1560px !important;
    padding: 14px 38px !important;
  }

  .logo-link {
    width: 500px !important;
    height: 76px !important;
    min-height: 76px !important;
    padding: 8px 20px !important;
    border: 1px solid rgba(20, 53, 107, .08) !important;
    border-radius: 10px !important;
    background:
      linear-gradient(100deg, #f0f1f3 0%, #fbfbfc 44%, #e9ecef 100%) !important;
    box-shadow:
      0 18px 44px rgba(20, 53, 107, .075),
      inset 0 1px 0 rgba(255,255,255,.88) !important;
  }

  .logo-link:hover .site-logo-lockup {
    transform: translateY(-1px) scale(1.01);
  }

  .site-logo-lockup {
    transition: transform .35s ease;
  }

  .nav-menu {
    background: rgba(241, 245, 249, .88) !important;
    border-color: rgba(20, 53, 107, .10) !important;
  }

  .hero-banner::after {
    right: 34px !important;
    bottom: -78px !important;
    width: min(220px, 12vw) !important;
    height: 260px !important;
    opacity: .58 !important;
    filter: saturate(.92) brightness(1.18);
  }

  .quality-visual-grid {
    display: grid;
    grid-template-columns: 1.55fr .9fr;
    gap: 22px;
    margin: -16px 0 34px;
  }

  .quality-visual-card,
  .pdf-material-strip figure {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(20, 53, 107, .10);
    background: #fff;
    box-shadow: 0 18px 48px rgba(20, 53, 107, .08);
  }

  .quality-visual-card img,
  .pdf-material-strip img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2,.7,.2,1);
  }

  .quality-visual-card {
    height: 300px;
  }

  .quality-visual-card.wide {
    height: 300px;
  }

  .quality-visual-card:hover img,
  .pdf-material-strip figure:hover img,
  .detail-card:hover .detail-card-visual {
    transform: scale(1.045);
  }

  .quality-visual-card figcaption,
  .pdf-material-strip figcaption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    background: rgba(20, 53, 107, .78);
    backdrop-filter: blur(10px);
  }

  .quality-visual-card::after,
  .pdf-material-strip figure::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 44%;
    background: linear-gradient(180deg, rgba(6,20,44,0), rgba(6,20,44,.58));
    pointer-events: none;
  }

  .pdf-material-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 32px auto 0;
  }

  .pdf-material-strip figure {
    height: 220px;
  }

  .detail-card-visual {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
    margin: 16px 0 18px;
    border: 1px solid rgba(20, 53, 107, .10);
    background: #f7fafc;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
    transition: transform .9s cubic-bezier(.2,.7,.2,1);
  }

  .plug-card .detail-card-visual,
  .character-card .detail-card-visual {
    object-fit: contain;
    background: linear-gradient(180deg, #fff, #f8fbff);
  }
}

@media (min-width: 769px) and (max-width: 1500px) {
  header,
  header.scrolled {
    height: 98px !important;
  }

  .header-spacer {
    height: 98px !important;
  }

  .logo-link {
    width: 455px !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 7px 18px !important;
  }

  .hero-banner::after {
    right: 26px !important;
    bottom: -76px !important;
    width: 172px !important;
    height: 230px !important;
    opacity: .56 !important;
  }

  .quality-visual-card,
  .quality-visual-card.wide {
    height: 270px;
  }

  .pdf-material-strip figure {
    height: 198px;
  }
}


/* Keep information-heavy PDF thumbnails readable while preserving photographic crops. */
@media (min-width: 769px) {
  .pdf-material-strip figure:nth-child(1) img,
  .pdf-material-strip figure:nth-child(2) img {
    object-fit: contain !important;
    padding: 12px;
    background: #fff;
    box-sizing: border-box;
  }
}


/* Round 4 product-page readability fixes: no tiny PPT/table thumbnails. */
@media (min-width: 769px) {
  .product-roadmap-card,
  .product-focus-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(20, 53, 107, .12);
    background: linear-gradient(145deg, #ffffff 0%, #f4f8fc 100%);
    box-shadow: 0 16px 42px rgba(20, 53, 107, .075);
  }

  .product-roadmap-card {
    padding: 30px 28px;
    text-align: left;
  }

  .product-roadmap-card::before {
    content: "";
    position: absolute;
    right: -76px;
    top: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(21, 131, 66, .10);
  }

  .product-roadmap-card h3 {
    position: relative;
    color: var(--primary-color);
    font-size: 25px;
    line-height: 1.28;
    margin: 10px 0 20px;
  }

  .roadmap-mini-list {
    position: relative;
    display: grid;
    gap: 10px;
  }

  .roadmap-mini-list li {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.78);
    border-left: 4px solid var(--secondary-color);
  }

  .roadmap-mini-list b {
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.35;
  }

  .roadmap-mini-list span {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.4;
  }

  .product-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 34px auto 0;
  }

  .product-focus-card {
    min-height: 250px;
    padding: 28px 30px;
    text-align: left;
  }

  .product-focus-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  }

  .product-focus-card > span {
    display: inline-flex;
    color: var(--secondary-color);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .product-focus-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 18px;
  }

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

  .focus-chip-grid.three {
    grid-template-columns: 1fr;
  }

  .focus-chip-grid b {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.35;
    background: rgba(20, 53, 107, .07);
    border: 1px solid rgba(20, 53, 107, .08);
  }

  .focus-spec-list {
    display: grid;
    gap: 10px;
  }

  .focus-spec-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(20, 53, 107, .10);
  }

  .focus-spec-list dt {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 700;
  }

  .focus-spec-list dd {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 800;
    text-align: right;
  }

  .matrix-card { padding: 34px; }

  .matrix-card h3,
  .detail-card h3 {
    font-size: 26px;
    line-height: 1.32;
  }

  .info-table th,
  .info-table td {
    padding: 17px 18px;
    font-size: 16px;
    line-height: 1.65;
  }

  .detail-card {
    padding: 34px;
  }

  .detail-card p,
  .detail-card li,
  .detail-columns span,
  .plug-compare span,
  .detail-apps {
    font-size: 16px;
    line-height: 1.85;
  }

  .detail-card h4 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .detail-columns div,
  .plug-compare {
    padding: 20px;
  }

  .detail-columns b,
  .plug-compare b {
    font-size: 17px;
  }

  .plug-native-compare {
    margin: 22px 0 24px;
    padding: 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid rgba(20, 53, 107, .12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
  }

  .plug-native-title {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 18px;
  }

  .plug-native-title b {
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1.25;
  }

  .plug-native-title span {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: right;
  }

  .plug-native-compare table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 10px;
  }

  .plug-native-compare th,
  .plug-native-compare td {
    padding: 16px 18px;
    border: 1px solid #dfe7f0;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
  }

  .plug-native-compare thead th {
    color: #fff;
    background: var(--primary-color);
  }

  .plug-native-compare tbody th {
    color: var(--primary-color);
    background: #eef3f8;
    font-weight: 900;
  }

  .plug-native-compare .highlight th,
  .plug-native-compare .highlight td {
    color: var(--secondary-color);
    font-weight: 900;
    background: rgba(21, 131, 66, .08);
  }

  .character-card .info-table {
    min-width: 0;
  }

  .character-card .number-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    padding-left: 24px;
  }

  .character-card .number-list li {
    font-size: 17px;
    line-height: 1.8;
  }
}

@media (min-width: 769px) and (max-width: 1500px) {
  .product-roadmap-card h3 { font-size: 22px; }
  .roadmap-mini-list li { grid-template-columns: 1fr; gap: 5px; padding: 10px 12px; }
  .roadmap-mini-list b { font-size: 15px; }
  .roadmap-mini-list span { font-size: 14px; }
  .product-focus-card { min-height: 230px; padding: 24px; }
  .product-focus-card h3 { font-size: 22px; }
  .focus-chip-grid b { font-size: 15px; }
  .info-table th,
  .info-table td { font-size: 15px; padding: 15px 16px; }
}

/* Desktop product readability pass: avoid small PPT-like text. */
@media (min-width: 769px) {
  .product-name {
    font-size: 18px;
    line-height: 1.35;
  }

  .product-specs,
  .overview-badges span,
  .product-desc {
    font-size: 16px;
    line-height: 1.75;
  }

  .overview-badges b {
    font-size: 20px;
  }

  .product-roadmap-card h3,
  .product-focus-card h3 {
    font-size: 26px;
  }

  .roadmap-mini-list b,
  .roadmap-mini-list span,
  .focus-chip-grid b,
  .focus-spec-list dt,
  .focus-spec-list dd {
    font-size: 17px;
  }

  .matrix-card h3,
  .detail-card h3 {
    font-size: 28px;
  }

  .info-table th,
  .info-table td,
  .plug-native-compare th,
  .plug-native-compare td {
    font-size: 17px;
    line-height: 1.65;
  }

  .detail-card p,
  .detail-card li,
  .detail-columns span,
  .plug-compare span,
  .detail-apps {
    font-size: 17px;
    line-height: 1.85;
  }
}

/* Desktop readability pass for advantage, application, and roadmap cards. */
@media (min-width: 769px) {
  .adv-card {
    padding: 28px 16px;
    min-height: 190px;
  }

  .adv-title {
    font-size: 17px;
    line-height: 1.35;
  }

  .adv-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .app-card h4 {
    font-size: 17px;
    line-height: 1.35;
  }

  .roadmap-content h4 {
    font-size: 18px;
    line-height: 1.45;
  }

  .roadmap-content p {
    font-size: 15px;
    line-height: 1.75;
  }
}

/* Round 5 desktop refinements: complete quality visuals, compact banner auxiliary, hero-only homepage. */
@media (min-width: 769px) {
  body.home-page {
    overflow-y: hidden;
  }

  .home-page .canvas-hero {
    min-height: calc(100vh - 124px) !important;
    height: calc(100vh - 124px) !important;
  }

  .hero-banner::after {
    right: clamp(22px, 2.4vw, 54px) !important;
    top: auto !important;
    bottom: -28px !important;
    width: clamp(250px, 18vw, 370px) !important;
    height: clamp(190px, 23vw, 260px) !important;
    background-position: right bottom !important;
    background-size: contain !important;
    opacity: .62 !important;
    mix-blend-mode: screen !important;
    transform: rotate(-2deg) !important;
    filter: saturate(.95) brightness(1.12) drop-shadow(0 0 18px rgba(112, 190, 220, .18)) !important;
  }

  .quality-visual-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, .78fr) !important;
    gap: 28px !important;
    align-items: stretch !important;
    max-width: 1480px;
    margin: -10px auto 42px !important;
  }

  .quality-visual-card,
  .quality-visual-card.wide {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f5f8fc 100%) !important;
    border: 1px solid rgba(20, 53, 107, .13) !important;
    box-shadow: 0 18px 46px rgba(20, 53, 107, .08) !important;
  }

  .quality-visual-card::after {
    display: none !important;
  }

  .quality-visual-card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 13px !important;
    background: #eef3f8 !important;
    transform: none !important;
    transition: transform .7s ease, filter .7s ease !important;
  }

  .quality-visual-card.wide img {
    aspect-ratio: 2.58 / 1;
  }

  .quality-visual-card:not(.wide) img {
    aspect-ratio: 1.62 / 1;
  }

  .quality-visual-card:hover img {
    transform: translateY(-3px) !important;
    filter: saturate(1.04) contrast(1.02);
  }

  .quality-visual-card figcaption {
    position: static !important;
    display: inline-flex !important;
    align-self: flex-start;
    margin-top: 16px;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1.3;
    font-weight: 900 !important;
    background: linear-gradient(135deg, var(--primary-color), #2f855a) !important;
    box-shadow: 0 10px 24px rgba(20, 53, 107, .14);
    backdrop-filter: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1500px) {
  .home-page .canvas-hero {
    min-height: calc(100vh - 112px) !important;
    height: calc(100vh - 112px) !important;
  }

  .hero-banner::after {
    width: clamp(220px, 18vw, 300px) !important;
    height: clamp(170px, 22vw, 220px) !important;
    right: 24px !important;
    bottom: -26px !important;
  }

  .quality-visual-grid {
    grid-template-columns: 1.28fr .82fr !important;
    gap: 22px !important;
  }

  .quality-visual-card figcaption {
    font-size: 15px !important;
  }
}

/* Company profile material image should show the full source artwork, not a cropped cover. */
@media (min-width: 769px) {
  .company-profile-visual .profile-visual-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr) !important;
    align-items: center !important;
  }

  .company-profile-visual .profile-visual-image {
    min-height: 0 !important;
    padding: 18px !important;
    background: linear-gradient(145deg, #f4f7fb, #ffffff) !important;
    border: 1px solid rgba(20, 53, 107, .10);
    overflow: visible !important;
  }

  .company-profile-visual .profile-visual-image img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2.58 / 1;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    border-radius: 12px;
  }
}

/* Round 6 desktop refinements: PPT-faithful quality system and product detail layout. */
@media (min-width: 769px) {
  .quality-system-section {
    background: #fff !important;
    border-top: 1px solid rgba(20, 53, 107, .08);
    border-bottom: 1px solid rgba(20, 53, 107, .08);
    overflow: hidden;
  }

  .quality-system-container {
    max-width: 1480px;
  }

  .quality-system-heading {
    max-width: 720px;
    margin-bottom: 50px;
  }

  .quality-system-heading h2 {
    color: var(--primary-color);
    font-size: clamp(40px, 3.35vw, 58px);
    line-height: 1.08;
    letter-spacing: 0;
    margin: 0 0 18px;
    font-weight: 900;
  }

  .quality-system-rule,
  .quality-system-bottom-rule {
    display: block;
    width: 170px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  }

  .quality-system-heading p {
    color: #1f2933;
    font-size: 20px;
    line-height: 1.78;
    margin: 22px 0 0;
    max-width: 660px;
  }

  .quality-system-tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: end;
    margin: 8px 0 60px;
  }

  .quality-tool-item {
    position: relative;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
  }

  .quality-tool-item + .quality-tool-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 58px;
    width: 2px;
    height: 180px;
    border-radius: 999px;
    background: #244985;
  }

  .quality-tool-item figure {
    height: 190px;
    width: 100%;
    margin: 0 0 18px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .quality-tool-item img {
    max-width: 230px;
    max-height: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(20, 53, 107, .08));
  }

  .quality-tool-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
  }

  .quality-tool-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 12px 28px rgba(20, 53, 107, .18);
  }

  .quality-tool-icon svg {
    width: 33px;
    height: 33px;
  }

  .quality-production-board {
    width: 100%;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
  }

  .quality-production-board img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .quality-system-bottom-rule {
    width: 100%;
    height: 12px;
    margin-top: 22px;
  }

  .pg-comparison-figure {
    margin: 28px 0 28px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f6f9fd);
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
  }

  .pg-comparison-figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
  }

  .pg-application-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0 24px;
  }

  .pg-application-card {
    overflow: hidden;
    border-radius: 16px;
    background: #f6f9fd;
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: 0 14px 34px rgba(20, 53, 107, .08);
  }

  .pg-application-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.22 / 1;
    object-fit: cover;
  }

  .pg-application-card div {
    padding: 18px 20px 20px;
    border-left: 5px solid var(--secondary-color);
    background: #fff;
  }

  .pg-application-card b {
    display: block;
    color: var(--primary-color);
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .pg-application-card span {
    display: block;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.65;
  }

  .series-detail-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
  }

  .series-detail-row .series-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .series-detail-row .detail-card-visual {
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    margin: 18px 0 20px !important;
    background: #f8fbff !important;
  }

  .series-detail-row .detail-card h3 {
    font-size: 30px;
    line-height: 1.25;
  }

  .series-detail-row .detail-card h4 {
    font-size: 20px;
    line-height: 1.5;
  }

  .series-detail-row .detail-card li,
  .series-detail-row .detail-apps {
    font-size: 17px;
    line-height: 1.85;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .quality-tool-item {
    padding: 0 24px;
  }

  .quality-tool-name {
    font-size: 21px;
    gap: 13px;
  }

  .quality-tool-icon {
    width: 58px;
    height: 58px;
  }

  .series-detail-row .detail-card h3 {
    font-size: 26px;
  }
}

/* Keep newly rebuilt PPT sections visible even when opened directly by anchor or screenshot tooling. */
@media (min-width: 769px) {
  .quality-system-section .reveal,
  #product-detail-section .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Anchor and instrument spacing polish. */
@media (min-width: 769px) {
  #quality-section,
  #product-detail-section {
    scroll-margin-top: 132px;
  }

  .quality-tool-item figure {
    margin-bottom: 30px !important;
  }
}



/* Round 7 requested fixes: clean instrument assets, email-only recruitment contact, CTA auxiliary placement. */
@media (min-width: 769px) {
  .quality-tool-item figure {
    height: 230px !important;
    margin-bottom: 28px !important;
    align-items: flex-end !important;
  }

  .quality-tool-item img {
    max-width: 270px !important;
    max-height: 225px !important;
    object-fit: contain !important;
  }

  .quality-tool-item:first-child img {
    max-height: 235px !important;
  }

  .quality-production-board {
    background: transparent !important;
    box-shadow: none !important;
  }

  .quality-production-board img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .footer-banner::before {
    top: 18px !important;
    left: auto !important;
    right: clamp(84px, 13vw, 240px) !important;
    bottom: auto !important;
    width: clamp(300px, 31vw, 500px) !important;
    height: clamp(220px, 25vw, 360px) !important;
    background: url('../assets/images/brand/auxiliary-graphic-white.png') right top / contain no-repeat !important;
    opacity: .16 !important;
    transform: none !important;
    animation: none !important;
  }

  .contact-sidebar-email-only .recruit-email-note {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
  }

  .contact-sidebar-email-only .contact-email-box {
    min-height: 96px;
  }

  .contact-sidebar-email-only .contact-item-info h4 {
    font-size: 22px;
    letter-spacing: .01em;
  }
}


/* Keep static completed sections readable in file previews and screenshots. */
@media (min-width: 769px) {
  .product-data-section .reveal,
  .footer-banner .reveal,
  .contact-sidebar.reveal,
  .scope-wrap.reveal,
  .tech-grid .reveal,
  .overview-panel.reveal,
  .careers-top-row .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}


.footer-links-list .footer-link-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}


/* Round 8 corrections: product tables, restored footer link, careers balance, real business scope. */
@media (min-width: 769px) {
  .careers-layout {
    max-width: 1380px;
  }

  .careers-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
    margin-bottom: 54px;
  }

  .careers-top-row .join-us-box,
  .careers-top-row .careers-contact-card .contact-sidebar-inner {
    height: 100%;
    margin-bottom: 0;
  }

  .careers-top-row .join-us-box {
    padding: 46px 48px;
    background:
      linear-gradient(135deg, rgba(20, 53, 107, .04), rgba(21, 129, 67, .04)),
      #ffffff;
  }

  .careers-contact-card {
    position: static !important;
  }

  .careers-contact-card .contact-sidebar-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px 48px;
    background:
      radial-gradient(circle at 88% 16%, rgba(21, 129, 67, .10), transparent 34%),
      linear-gradient(145deg, #ffffff 0%, #f6f9fd 100%);
  }

  .careers-contact-card .contact-sidebar-inner h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .careers-contact-card .recruit-email-note {
    font-size: 18px;
    margin: 0 0 22px;
  }

  .careers-contact-card .contact-email-box {
    margin-bottom: 0;
    min-height: 112px;
    padding: 22px 24px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(20, 53, 107, .07);
  }

  .careers-contact-card .contact-item-info h4 {
    font-size: 28px;
    line-height: 1.25;
  }

  .positions-list {
    width: 100%;
  }

  .positions-title-wrap h3 {
    font-size: 24px;
  }

  .scope-wrap {
    padding: 54px 58px;
  }

  .tags-container {
    gap: 18px 20px;
  }

  .tag-item {
    font-size: 18px;
    font-weight: 800;
    padding: 13px 30px;
  }
}

/* Round 9: polished company overview and unified careers intro cards. */
@media (min-width: 769px) {
  .overview-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 0;
    max-width: 1260px;
    margin: 0 auto 12px;
    padding: 18px;
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(255,255,255,.92), rgba(244,248,253,.88)),
      radial-gradient(circle at 4% 0%, rgba(21,129,67,.13), transparent 30%);
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: 0 26px 70px rgba(20, 53, 107, .10);
    overflow: hidden;
  }

  .overview-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(120deg, transparent 0 56%, rgba(21,129,67,.08) 56% 56.4%, transparent 56.4%),
      linear-gradient(90deg, rgba(20,53,107,.04), transparent 36%);
    pointer-events: none;
  }

  .overview-visual {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 18px;
    background: #102b59;
    box-shadow: 0 24px 58px rgba(20, 53, 107, .22);
  }

  .overview-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(9, 25, 58, .28), rgba(9, 25, 58, .06)),
      radial-gradient(circle at 78% 28%, rgba(67, 211, 255, .20), transparent 34%);
    pointer-events: none;
  }

  .overview-visual img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.08) contrast(1.04);
  }

  .overview-copy-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    min-height: 230px;
    margin-left: -54px;
    padding: 42px 52px;
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,250,253,.96));
    border: 1px solid rgba(20, 53, 107, .12);
    box-shadow: 0 22px 54px rgba(20, 53, 107, .14);
  }

  .overview-copy-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  }

  .overview-icon {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 24px;
    color: var(--primary-color);
    background:
      linear-gradient(145deg, #ffffff, #eef4fb);
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 16px 32px rgba(20, 53, 107, .08);
  }

  .overview-copy-card p {
    margin: 0;
    font-size: 19px;
    line-height: 1.9;
    color: #3f4654;
    font-weight: 650;
  }

  .tech-grid {
    gap: 24px;
  }

  .tech-grid .glass-card {
    position: relative;
    overflow: hidden;
    padding: 34px 36px;
    border-radius: 18px;
    background:
      linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: 0 18px 42px rgba(20, 53, 107, .075);
  }

  .tech-grid .glass-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: .88;
  }

  .tech-card {
    gap: 28px;
    align-items: flex-start;
  }

  .tech-icon-wrap {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    color: var(--primary-color);
    background: linear-gradient(145deg, #ffffff, #eef4fb);
    border: 1px solid rgba(20, 53, 107, .08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 14px 30px rgba(20,53,107,.07);
  }

  .tech-grid .glass-card:hover .tech-icon-wrap {
    color: var(--secondary-color);
    transform: translateY(-3px);
  }

  .tech-info h3 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .tech-info p {
    font-size: 16px;
    line-height: 1.85;
    color: #697281;
  }

  .careers-top-row {
    gap: 30px;
  }

  .careers-top-row .career-intro-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(20, 53, 107, .10);
    background:
      linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,250,253,.96));
    box-shadow: 0 22px 54px rgba(20, 53, 107, .085);
  }

  .careers-top-row .career-intro-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  }

  .careers-top-row .career-intro-card::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -86px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,129,67,.12), transparent 68%);
    pointer-events: none;
  }

  .careers-top-row .join-us-box {
    padding: 44px 48px;
  }

  .careers-top-row .join-us-box h3,
  .careers-contact-card .contact-sidebar-inner h3 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--primary-color);
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: 0;
  }

  .careers-top-row .join-us-box h3 svg {
    width: 32px;
    height: 32px;
    color: var(--secondary-color);
  }

  .careers-top-row .join-us-box p,
  .careers-contact-card .recruit-email-note {
    position: relative;
    z-index: 1;
    color: #697281;
    font-size: 17px;
    line-height: 1.9;
  }

  .careers-contact-card .contact-sidebar-inner {
    padding: 44px 48px;
  }

  .careers-contact-card .contact-sidebar-inner h3 {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(20, 53, 107, .08);
  }

  .careers-contact-card .contact-email-box {
    position: relative;
    z-index: 1;
    min-height: 118px;
    padding: 26px 30px;
    border-radius: 16px;
    border: 1px solid rgba(21,129,67,.22);
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 42px rgba(20, 53, 107, .07);
  }

  .careers-contact-card .contact-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  }

  .careers-contact-card .contact-item-info h4 {
    color: var(--primary-color);
    font-size: 29px;
    font-weight: 850;
    letter-spacing: 0;
  }
}

/* Round 10: company overview uses the brand reception image and a calmer premium layout. */
@media (min-width: 769px) {
  .overview-panel {
    grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr) !important;
    gap: 28px !important;
    align-items: stretch !important;
    max-width: 1260px !important;
    padding: 24px !important;
    border-radius: 24px !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,249,253,.94)) !important;
    border: 1px solid rgba(20, 53, 107, .10) !important;
    box-shadow: 0 28px 72px rgba(20, 53, 107, .10) !important;
  }

  .overview-panel::before {
    background:
      linear-gradient(120deg, transparent 0 42%, rgba(20,53,107,.055) 42% 42.25%, transparent 42.25%),
      linear-gradient(120deg, transparent 0 70%, rgba(21,129,67,.09) 70% 70.35%, transparent 70.35%) !important;
  }

  .overview-panel::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), transparent 76%);
    opacity: .82;
    pointer-events: none;
  }

  .overview-copy-card {
    order: 1;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 24px !important;
    min-height: 390px !important;
    margin-left: 0 !important;
    padding: 54px 52px 56px !important;
    border-radius: 20px !important;
    background:
      radial-gradient(circle at 10% 12%, rgba(21,129,67,.10), transparent 34%),
      linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,250,253,.96)) !important;
    border: 1px solid rgba(20, 53, 107, .12) !important;
    box-shadow: 0 22px 48px rgba(20, 53, 107, .08) !important;
  }

  .overview-copy-card::before {
    left: 0 !important;
    top: 34px !important;
    bottom: 34px !important;
    width: 5px !important;
  }

  .overview-icon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 18px 38px rgba(20, 53, 107, .18) !important;
  }

  .overview-copy-card p {
    max-width: 560px;
    font-size: 20px !important;
    line-height: 1.95 !important;
    color: #384252 !important;
    font-weight: 680 !important;
  }

  .overview-visual {
    order: 2;
    min-height: 390px !important;
    border-radius: 20px !important;
    background: #f7f9fc !important;
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: 0 22px 54px rgba(20, 53, 107, .12) !important;
  }

  .overview-visual::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    z-index: 2;
  }

  .overview-visual::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 62%, rgba(255,255,255,.24) 100%),
      radial-gradient(circle at 88% 16%, rgba(21,129,67,.10), transparent 32%) !important;
  }

  .overview-visual img {
    min-height: 390px !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    filter: saturate(1.02) contrast(1.01) !important;
  }
}

/* Round 10b: reduce blank space in the overview copy card. */
@media (min-width: 769px) {
  .overview-copy-card {
    display: grid !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    align-content: center !important;
    align-items: center !important;
    column-gap: 30px !important;
    padding: 48px 44px 50px 52px !important;
  }

  .overview-copy-card::after {
    content: "";
    position: absolute;
    right: -68px;
    bottom: -86px;
    width: 260px;
    height: 300px;
    background: url('../assets/images/brand/auxiliary-graphic.png') right bottom / contain no-repeat;
    opacity: .045;
    pointer-events: none;
  }

  .overview-icon {
    width: 74px !important;
    height: 74px !important;
    align-self: center !important;
  }

  .overview-copy-card p {
    position: relative;
    z-index: 1;
    max-width: none !important;
    font-size: 19px !important;
    line-height: 1.9 !important;
  }
}

/* Round 11: mobile fixes for overview and careers, plus cleaner footer/mobile roadmap. */
@media (max-width: 768px) {
  .overview-panel {
    display: block;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .overview-panel::before,
  .overview-panel::after,
  .overview-copy-card::before,
  .overview-copy-card::after,
  .overview-visual::before,
  .overview-visual::after {
    display: none !important;
  }

  .overview-visual {
    min-height: 0;
    margin: 0 0 22px;
    border-radius: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .overview-visual img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    transform: none;
    filter: none;
  }

  .overview-copy-card {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .overview-icon {
    display: none !important;
  }

  .overview-copy-card p {
    margin: 0;
    color: #3f4654;
    font-size: 21px;
    line-height: 1.72;
    font-weight: 500;
    letter-spacing: 0;
  }

  .careers-layout {
    display: block;
  }

  .careers-top-row {
    display: block;
    margin-bottom: 28px;
  }

  .careers-top-row .career-intro-card,
  .careers-top-row .join-us-box,
  .careers-contact-card .contact-sidebar-inner {
    height: auto;
    min-height: 0;
    margin: 0 0 22px;
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(20, 53, 107, .07);
  }

  .careers-top-row .career-intro-card::before {
    height: 3px;
  }

  .careers-top-row .career-intro-card::after {
    display: none;
  }

  .careers-top-row .join-us-box h3,
  .careers-contact-card .contact-sidebar-inner h3 {
    font-size: 23px;
    line-height: 1.35;
    margin-bottom: 18px;
  }

  .careers-top-row .join-us-box p,
  .careers-contact-card .recruit-email-note {
    font-size: 16px;
    line-height: 1.75;
  }

  .careers-contact-card,
  .contact-sidebar {
    position: static !important;
    top: auto !important;
  }

  .careers-contact-card .contact-email-box {
    min-height: 74px;
    padding: 16px 18px;
    gap: 12px;
  }

  .careers-contact-card .contact-item-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .careers-contact-card .contact-item-info h4 {
    font-size: clamp(20px, 5.2vw, 24px);
    line-height: 1.25;
    word-break: break-word;
  }

  .positions-list {
    position: relative;
    z-index: 1;
    width: 100%;
    clear: both;
    margin-top: 8px;
  }

  .positions-title-wrap {
    margin: 34px 0 18px;
  }

  .positions-title-wrap h3 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.25;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .positions-title-wrap h3 svg {
    flex: 0 0 24px;
  }

  .accordion-title-block {
    flex: 1;
    min-width: 0;
  }

  .job-name {
    font-size: clamp(20px, 5.2vw, 25px);
    white-space: nowrap;
  }

  .job-meta {
    white-space: nowrap;
  }

  .footer-about .footer-slogan,
  .footer-slogan {
    display: none !important;
  }

  .footer-banner-content p {
    font-size: 16px;
    line-height: 1.7;
    opacity: .9;
  }

  .roadmap-node .satellite-icon {
    width: 28px;
    height: 28px;
  }
}


/* Round 12: final mobile polish for careers contact and roadmap visibility. */
@media (max-width: 768px) {
  .careers-contact-card .contact-email-box {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 18px;
    gap: 12px;
  }

  .careers-contact-card .contact-item-info h4 {
    font-size: clamp(18px, 4.7vw, 21px);
    line-height: 1.25;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
  }

  #future-directions .reveal,
  #future-directions.reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  #future-directions .section-header,
  #future-directions .roadmap-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .roadmap-node .satellite-icon {
    width: 26px;
    height: 26px;
  }
}


/* Round 12b: keep mobile footer banner text visible. */
@media (max-width: 768px) {
  .footer-banner .reveal,
  .footer-banner-content.reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Round 13: mobile-only content redesign requested 2026-06-26. */
.quality-production-mobile,
.mobile-matrix-cards,
.mobile-character-panel {
  display: none;
}

@media (max-width: 768px) {
  .footer-desc {
    font-size: 16px;
    line-height: 1.85;
  }

  /* Company quality area: remove oversized tool-icon rhythm on phones. */
  .quality-system-section {
    background: #f4f7fb !important;
  }

  .quality-system-container {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .quality-system-heading {
    text-align: left;
    margin-bottom: 24px;
  }

  .quality-system-heading h2 {
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.18;
  }

  .quality-system-heading p {
    font-size: 16px;
    line-height: 1.8;
    color: #5d6674;
  }

  .quality-system-tools {
    display: none !important;
  }

  .quality-production-board {
    display: none !important;
  }

  .quality-production-mobile {
    display: grid;
    gap: 16px;
    margin-top: 22px;
  }

  .mobile-equipment-panel {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(20, 53, 107, .12);
    box-shadow: 0 16px 38px rgba(20, 53, 107, .08);
  }

  .mobile-equipment-panel img {
    display: block;
    width: 100%;
    height: 188px;
    object-fit: cover;
    transform: scale(1.95);
    transform-origin: center;
    filter: saturate(.98) contrast(.98);
  }

  .mobile-equipment-panel.crop-left img { object-position: 0% 50%; transform-origin: 0% 50%; }
  .mobile-equipment-panel.crop-center img { object-position: 50% 50%; transform-origin: 50% 50%; }
  .mobile-equipment-panel.crop-right img { object-position: 100% 50%; transform-origin: 100% 50%; }

  .mobile-equipment-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 54%;
    background: linear-gradient(180deg, rgba(5, 18, 41, 0), rgba(5, 18, 41, .62));
    pointer-events: none;
  }

  .mobile-equipment-panel figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(20, 53, 107, .92), rgba(21, 131, 66, .88));
    box-shadow: 0 10px 22px rgba(20, 53, 107, .22);
  }

  .quality-system-bottom-rule {
    width: 100%;
    height: 5px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  }

  /* Product overview: keep the same content, but stop it becoming a raw text wall. */
  .product-profile-materials {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    text-align: left;
  }

  .product-material-image,
  .product-material-copy,
  .product-roadmap-card,
  .product-focus-card,
  .matrix-card,
  .detail-card {
    border-radius: 16px;
    border: 1px solid rgba(20, 53, 107, .12);
    background: linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 16px 38px rgba(20, 53, 107, .075);
    overflow: hidden;
  }

  .product-material-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
  }

  .product-material-copy,
  .product-roadmap-card,
  .product-focus-card {
    padding: 22px 20px;
  }

  .product-material-copy .section-tag,
  .product-roadmap-card .section-tag,
  .product-focus-card > span {
    font-size: 12px;
    letter-spacing: .05em !important;
  }

  .product-material-copy h3,
  .product-roadmap-card h3,
  .product-focus-card h3 {
    color: var(--primary-color);
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.28;
    margin: 8px 0 12px;
    text-align: left;
  }

  .product-material-copy p {
    color: #5f6876;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
  }

  .roadmap-mini-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

  .roadmap-mini-list li {
    display: block;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(20, 53, 107, .045);
    border-left: 4px solid var(--secondary-color);
  }

  .roadmap-mini-list b,
  .roadmap-mini-list span {
    display: block;
    text-align: left;
  }

  .roadmap-mini-list b {
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 4px;
  }

  .roadmap-mini-list span {
    color: #687281;
    font-size: 14px;
    line-height: 1.5;
  }

  .product-focus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .product-focus-card {
    min-height: 0;
  }

  .focus-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }

  .focus-chip-grid b {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 1.35;
    background: rgba(21, 131, 66, .08);
  }

  .focus-spec-list {
    display: grid;
    gap: 8px;
  }

  .focus-spec-list div {
    padding: 11px 0;
    border-bottom: 1px solid rgba(20, 53, 107, .10);
  }

  .focus-spec-list dt {
    color: #687281;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px;
  }

  .focus-spec-list dd {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 900;
  }

  /* Product matrix: replace horizontal scrolling tables with readable cards on phones. */
  .matrix-card {
    padding: 22px 18px;
  }

  .matrix-card h3,
  .detail-card h3 {
    font-size: clamp(23px, 6.4vw, 29px);
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .matrix-card .table-scroll {
    display: none;
  }

  .mobile-matrix-cards {
    display: grid;
    gap: 12px;
  }

  .mobile-matrix-cards article,
  .mobile-character-panel article {
    padding: 16px 15px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(20, 53, 107, .10);
    box-shadow: 0 8px 22px rgba(20, 53, 107, .045);
  }

  .mobile-matrix-cards article.full {
    background: linear-gradient(135deg, rgba(20, 53, 107, .08), rgba(21, 131, 66, .08));
  }

  .mobile-matrix-cards strong,
  .mobile-character-panel strong {
    display: block;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 7px;
  }

  .mobile-matrix-cards span,
  .mobile-character-panel span {
    display: inline-flex;
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .mobile-matrix-cards p {
    color: #5f6876;
    font-size: 14px;
    line-height: 1.7;
  }

  .detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-card {
    padding: 22px 18px;
  }

  .detail-card p,
  .detail-card li,
  .detail-apps,
  .plug-compare span {
    font-size: 15px;
    line-height: 1.75;
  }

  .detail-card h4 {
    font-size: 16px;
    line-height: 1.45;
  }

  .pg-comparison-figure {
    display: none;
  }

  .pg-application-grid {
    display: grid;
    gap: 14px;
    margin: 20px 0;
  }

  .pg-application-card {
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(20, 53, 107, .12);
    box-shadow: 0 12px 28px rgba(20, 53, 107, .07);
  }

  .pg-application-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
  }

  .pg-application-card div {
    padding: 14px 15px 16px;
    border-left: 4px solid var(--secondary-color);
  }

  .pg-application-card b {
    display: block;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 5px;
  }

  .pg-application-card span {
    display: block;
    color: #667080;
    font-size: 14px;
    line-height: 1.6;
  }

  .plug-compare {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20, 53, 107, .07), rgba(21, 131, 66, .08));
    border-left: 4px solid var(--secondary-color);
  }

  .series-detail-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .series-detail-row .detail-card-visual,
  .detail-card-visual {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    border-radius: 13px;
    margin: 14px 0 16px;
  }

  .series-detail-row .detail-card ul {
    display: grid;
    gap: 8px;
    padding-left: 0;
    list-style: none;
  }

  .series-detail-row .detail-card li {
    position: relative;
    padding-left: 17px;
  }

  .series-detail-row .detail-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-color);
  }

  .character-card .table-scroll {
    display: none;
  }

  .mobile-character-panel {
    display: grid;
    gap: 10px;
    margin: 14px 0 16px;
  }

  .character-card .number-list {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 9px;
  }

  .character-card .number-list li {
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(20, 53, 107, .045);
    border-left: 4px solid var(--primary-color);
  }

  /* Product advantage cards: icons stay compact if this section is reached on mobile. */
  .adv-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .adv-card {
    min-height: 0;
    padding: 18px 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    align-items: center;
    text-align: left;
  }

  .adv-icon-wrap {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .adv-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .adv-title {
    margin: 0;
    font-size: 17px;
  }

  .adv-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
  }
}

/* Round 13b: content-heavy mobile sections should never appear faded while loading or in in-app browsers. */
@media (max-width: 768px) {
  .quality-system-section .reveal,
  .product-data-section .reveal,
  #product-detail-section .reveal,
  .product-profile-materials.reveal,
  .product-focus-grid.reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Round 14: mobile-only cleanup requested 2026-06-26 evening. */
@media (max-width: 768px) {
  /* Remove the three mobile summary cards shown between the overview and product matrix. */
  .product-focus-grid {
    display: none !important;
  }

  /* The surface-treatment note repeats table/spec content on phones, so hide it there only. */
  .mobile-spec-matrix article.full {
    display: none !important;
  }

  /* Company overview body copy was visually too large on phone. */
  .overview-copy-card p {
    font-size: 17px !important;
    line-height: 1.78 !important;
    font-weight: 500 !important;
    color: #424a57 !important;
  }

  /* Crop lower into the production strip so the original green PPT tabs do not peek out. */
  .mobile-equipment-panel img {
    height: 194px;
    transform: scale(2.18);
  }

  .mobile-equipment-panel.crop-left img {
    object-position: 0% 66%;
    transform-origin: 0% 66%;
  }

  .mobile-equipment-panel.crop-center img {
    object-position: 50% 66%;
    transform-origin: 50% 66%;
  }

  .mobile-equipment-panel.crop-right img {
    object-position: 100% 66%;
    transform-origin: 100% 66%;
  }

  /* Keep the support image card, but remove the English eyebrow on phone. */
  .contact-visual-content span {
    display: none !important;
  }
}

/* Round 15: mobile contact-card spacing cleanup. */
@media (max-width: 768px) {
  .contact-visual-card {
    overflow: visible !important;
    border-radius: 16px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .contact-visual-card::before,
  .contact-visual-card::after {
    display: none !important;
  }

  .contact-visual-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    height: auto !important;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(20, 53, 107, .11);
  }

  .contact-visual-content {
    position: static !important;
    margin-top: 18px !important;
    padding: 0 2px !important;
    color: #424a57 !important;
  }

  .contact-visual-content h3 {
    color: var(--primary-color) !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    margin: 0 0 10px !important;
  }

  .contact-visual-content p {
    color: #5f6876 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    margin: 0 !important;
  }

  .contact-action-row {
    display: none !important;
  }
}
