/* ==========================================================================
   MANGPECO.COM — HIGH-FIDELITY IMPLEMENTATION (Visual Fidelity Fix v1.0)
   Reference Lock: Approved Mockup B + Brand Book v2.1 (#165CC0 / #FFFFFF)
   ========================================================================== */

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

html {
  scroll-behavior: auto;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

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

img {
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--color-cobalt);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--color-cobalt);
  outline-offset: 2px;
  border-radius: 4px;
}

.on-cobalt :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--color-white);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--color-cobalt-deep);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-md);
}
.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--color-cobalt-deep);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p, li, dd, .station-card-desc, .fact-card span {
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cobalt);
  margin-bottom: 10px;
}

.eyebrow::after {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ==========================================================================
   BUTTONS (Radius 8px per Brand Book Lock)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--motion-micro) var(--ease-out),
    border-color var(--motion-micro) var(--ease-out),
    color var(--motion-micro) var(--ease-out),
    transform var(--motion-micro) var(--ease-out),
    box-shadow var(--motion-micro) var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--motion-micro) var(--ease-out);
}

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

.btn-primary {
  background: var(--color-cobalt);
  color: var(--color-white);
  border-color: var(--color-cobalt);
}
.btn-primary:hover {
  background: var(--color-cobalt-hover);
  border-color: var(--color-cobalt-hover);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(16, 72, 158, 0.25);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-cobalt-deep);
  border-color: #B8D0EE;
}
.btn-secondary:hover {
  background: var(--color-surface-light);
  border-color: var(--color-cobalt);
  color: var(--color-cobalt-deep);
}

.btn-hero-white {
  background: var(--color-white);
  color: var(--color-cobalt-deep);
  border-color: var(--color-white);
  box-shadow: 0 8px 22px rgba(7, 26, 56, 0.22);
}
.btn-hero-white:hover {
  background: var(--color-surface-light);
  color: var(--color-cobalt-deep);
}

.btn-hero-ghost {
  background: rgba(13, 59, 130, 0.36);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* ==========================================================================
   01 / HEADER (76px white, Official Brand Book Khóa ngang — Nền sáng #FFFFFF)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 920;
  height: 76px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-logo {
  width: 248px;
  min-width: 190px;
  height: auto;
  aspect-ratio: 880 / 180;
}

.cta-band-logo {
  width: 268px;
  min-width: 200px;
  height: auto;
  aspect-ratio: 880 / 180;
  flex-shrink: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 76px;
  padding: 0 11px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--motion-micro) var(--ease-out);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--color-cobalt);
}

.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--color-cobalt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1.5px solid #D0DFF2;
  background: var(--color-surface-subtle);
  color: var(--color-cobalt-deep);
  cursor: pointer;
  transition:
    background-color var(--motion-micro) var(--ease-out),
    border-color var(--motion-micro) var(--ease-out),
    color var(--motion-micro) var(--ease-out);
}
.header-search-btn:hover {
  background: var(--color-surface-light);
  border-color: var(--color-cobalt);
  color: var(--color-cobalt);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-cobalt-deep);
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 900;
  background: var(--color-white);
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-ui) var(--ease-ui), transform var(--motion-ui) var(--ease-ui);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-cobalt-deep);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   02 / HERO FULL-BLEED (~545px desktop, Unified Factory + PE Rolls Scene)
   Grid 38% / 42% / 20% — ZERO Product Frame, ZERO Right Cards!
   ========================================================================== */
.hero {
  position: relative;
  min-height: 548px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background: #082150;
  overflow: hidden;
  padding: 46px 0 72px;
}

.hero-scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-scene-img {
  position: absolute;
  top: 0;
  left: -9.5%;
  width: 102%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  will-change: transform;
}

/* Directional Cobalt Overlay: strong behind left text, clear in center over rolls & machinery, deep Cobalt-Navy stage behind right merits */
.hero-directional-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 38, 90, 0.94) 0%,
    rgba(15, 66, 148, 0.78) 33%,
    rgba(22, 92, 192, 0.12) 46%,
    rgba(22, 92, 192, 0.06) 64%,
    rgba(10, 42, 98, 0.78) 74%,
    rgba(8, 34, 82, 0.93) 86%,
    #082150 96%,
    #082150 100%
  );
}

/* Subtle bottom mist connecting smoothly into Journey Bar */
.hero-bottom-mist {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68px;
  background: linear-gradient(180deg, rgba(13, 59, 130, 0) 0%, rgba(18, 76, 166, 0.42) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 42% 37% 21%;
  align-items: center;
  width: 100%;
}

.hero-copy {
  padding-right: 12px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CFE3FF;
  margin-bottom: 14px;
}

.hero-kicker::after {
  content: "";
  width: 38px;
  height: 1.5px;
  background: rgba(207, 227, 255, 0.65);
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(2.25rem, 3.3vw, 2.875rem); /* 44–46px desktop */
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(7, 26, 56, 0.35);
}

.hero-subtitle {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-desc {
  margin: 0 0 26px;
  font-size: 0.975rem;
  line-height: 1.6;
  color: #E6F0FF;
  max-width: 44ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-cta-group .btn {
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* Center Focal Space (42%) — Open window letting the unframed 3 PE rolls on factory floor shine! */
.hero-focal-window {
  min-height: 360px;
  pointer-events: none;
}

/* Right Merits Rail (21%) — Pure Icon + Text + 1px Translucent Divider (NO Cards!)
   Backed by a soft, borderless atmospheric Cobalt scrim so white text stays crisp even on ultrawide monitors */
.hero-merits {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-left: 18px;
}

.hero-merits::before {
  content: "";
  position: absolute;
  inset: -26px -32px -26px -24px;
  background: radial-gradient(
    ellipse at 56% 50%,
    rgba(8, 34, 82, 0.82) 0%,
    rgba(10, 42, 98, 0.62) 58%,
    rgba(10, 42, 98, 0) 100%
  );
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

.hero-merit-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-merit-row:first-child {
  padding-top: 4px;
}

.hero-merit-row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.hero-merit-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  filter: drop-shadow(0 2px 6px rgba(5, 20, 48, 0.45));
}

.hero-merit-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.28;
  margin-bottom: 3px;
  text-shadow: 0 2px 10px rgba(5, 20, 48, 0.55);
}

.hero-merit-row span {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.38;
  color: #F2F7FF;
  text-shadow: 0 1px 8px rgba(5, 20, 48, 0.55);
}

/* ==========================================================================
   03 / JOURNEY BAR 01–07 (Overlaps bottom of Hero by ~30px, Dashed Track,
   Solid Cobalt Active Circle — NO Rectangular Tab Box!)
   ========================================================================== */
.journey-bar-section {
  position: relative;
  z-index: 30;
  margin-top: -34px;
  margin-bottom: 8px;
}

.journey-bar-card {
  background: var(--color-white);
  border: 1px solid #DCE8F8;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(13, 59, 130, 0.09);
  padding: 16px 26px 14px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.journey-title-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 175px;
}

.journey-pin-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface-light);
  color: var(--color-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-title-block strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-cobalt-deep);
}

/* Horizontal Track with Continuous Dashed Line Connecting 01–07 */
.journey-track-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.journey-dashed-line {
  position: absolute;
  top: 17px;
  left: 7%;
  right: 7%;
  border-top: 2px dashed #B5CEF0;
  z-index: 0;
  pointer-events: none;
}

.journey-stops {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.journey-stop-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  text-align: center;
}

.journey-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.75px solid #5B8FD9;
  color: var(--color-cobalt-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--motion-ui) var(--ease-ui),
    color var(--motion-ui) var(--ease-ui),
    border-color var(--motion-ui) var(--ease-ui),
    box-shadow var(--motion-ui) var(--ease-ui),
    transform var(--motion-micro) var(--ease-out);
}

.journey-stop-btn:hover .journey-circle {
  border-color: var(--color-cobalt);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(22, 92, 192, 0.18);
}

.journey-stop-label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.24;
  color: var(--color-text-muted);
  transition: color var(--motion-ui) var(--ease-ui), font-weight var(--motion-ui) var(--ease-ui);
}

/* Active Stop: Solid Cobalt Circle + Bold Cobalt Label (Matches Image B!) */
.journey-stop-btn[aria-current="step"] .journey-circle {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(22, 92, 192, 0.16);
}

.journey-stop-btn[aria-current="step"] .journey-stop-label {
  color: var(--color-cobalt);
  font-weight: 700;
}

/* ==========================================================================
   DYNAMIC LEFT-DOCKED FLOATING JOURNEY RAIL (Fits cleanly inside 120px left
   gutter on 1440px desktop — shows active station without overlapping text!)
   ========================================================================== */
.journey-side-rail {
  position: fixed;
  left: 12px;
  top: 50%;
  z-index: 850;
  width: 96px;
  transform: translate3d(-20px, -50%, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease-ui), transform 240ms var(--ease-ui);
}

.journey-side-rail.is-docked {
  transform: translate3d(0, -50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.side-rail-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 8px;
  box-shadow: 0 10px 28px rgba(13, 59, 130, 0.12);
}

.side-rail-head {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-cobalt);
  padding: 0 2px 7px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.side-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.side-rail-list::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 14px;
  bottom: 14px;
  border-left: 1.5px dashed #B5CEF0;
  z-index: 0;
}

.side-rail-list li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.side-rail-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-rows: 28px 0fr;
  justify-items: center;
  align-items: center;
  border: 1px solid transparent;
  background: transparent;
  padding: 3px 2px;
  border-radius: 9px;
  cursor: pointer;
  text-align: center;
  transition:
    grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    border-color 220ms ease,
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.side-rail-btn:hover:not([aria-current="step"]) .side-rail-num {
  border-color: var(--color-cobalt);
  background: var(--color-surface-light);
  transform: scale(1.06);
}

.side-rail-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid #6E9CE0;
  color: var(--color-cobalt-deep);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    transform 180ms var(--ease-out);
}

.side-rail-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-cobalt);
  white-space: normal;
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    padding-top 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Whichever section user scrolls to or clicks lights up & smoothly expands its label! */
.side-rail-btn[aria-current="step"] {
  grid-template-rows: 28px 1fr;
  background: var(--color-surface-light);
  padding: 6px 4px;
  border-color: #C8DCF6;
}

.side-rail-btn[aria-current="step"] .side-rail-num {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(22, 92, 192, 0.16);
}

.side-rail-btn[aria-current="step"] .side-rail-label {
  opacity: 1;
  padding-top: 5px;
  color: var(--color-cobalt);
}

/* Safe gutter padding on medium laptop screens (961px - 1420px) so docked rail never touches content */
@media (min-width: 961px) and (max-width: 1420px) {
  .factory-chapter .container {
    padding-left: 118px;
  }
}

/* ==========================================================================
   04 / PE SPOTLIGHT (45/55 Split, Flowing Diagonal Transparent Film Ribbon,
   Inline Specs with Vertical Dividers — ZERO Technical Box or Debug Labels!)
   ========================================================================== */
.pe-spotlight {
  position: relative;
  background: linear-gradient(95deg, #FFFFFF 0%, #F5F9FF 44%, #EBF3FE 100%);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 44px 0 48px;
}

/* Full-bleed Right Diagonal Flowing PE Ribbon Visual */
.spotlight-ribbon-bleed {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 0;
  pointer-events: none;
  clip-path: polygon(16% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.spotlight-ribbon-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 16%, #000000 32%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 16%, #000000 32%);
}

.spotlight-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
}

.spotlight-copy {
  padding-right: 16px;
}

.spotlight-title {
  font-size: clamp(2.1rem, 3.1vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-cobalt-deep);
  margin-bottom: 12px;
}

.spotlight-lead {
  font-size: 1rem;
  line-height: 1.58;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  max-width: 44ch;
}

/* Inline 3 Technical Specs with Vertical Dividers (Exact Match to Image B) */
.spotlight-inline-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 26px;
}

.inline-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #C6D8F0;
}

.inline-spec-item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}

.inline-spec-icon {
  width: 32px;
  height: 32px;
  color: var(--color-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inline-spec-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.25;
}

.inline-spec-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-cobalt-deep);
  line-height: 1.3;
}

/* ==========================================================================
   05 / STATION GRID 4 + 3 (Exact Approved Layout & Card Proportion)
   ========================================================================== */
.station-overview {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #F3F8FE 0%, #FFFFFF 100%);
  border-top: 1px solid #E1ECFA;
}

.section-head-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head-bar {
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--color-cobalt);
  flex-shrink: 0;
}

.section-head-split h2 {
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  font-weight: 800;
  color: var(--color-cobalt-deep);
}

.section-head-desc {
  max-width: 48ch;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.52;
  color: var(--color-text-muted);
}

.station-grid-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.station-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.station-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid #D5E3F6;
  background: var(--color-white);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 16px rgba(13, 59, 130, 0.05);
  transition:
    border-color var(--motion-ui) var(--ease-ui),
    box-shadow var(--motion-ui) var(--ease-ui),
    transform var(--motion-ui) var(--ease-ui);
}

.station-card:hover {
  border-color: var(--color-cobalt);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.station-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-surface-light);
}

.station-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms var(--ease-ui);
}

.station-card:hover .station-card-media img {
  transform: scale(1.03);
}

.station-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-cobalt);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13, 59, 130, 0.28);
}

.station-card-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.station-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.station-card-head svg {
  color: var(--color-cobalt);
  flex-shrink: 0;
}

.station-card-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-cobalt-deep);
}

.station-card-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.station-card-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.48;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.station-card-arrow {
  flex-shrink: 0;
  align-self: flex-end;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #BFD3EE;
  color: var(--color-cobalt);
  font-size: 0.85rem;
  transition: transform var(--motion-ui) var(--ease-ui), background var(--motion-ui) var(--ease-ui), color var(--motion-ui) var(--ease-ui);
}

.station-card:hover .station-card-arrow {
  transform: translateX(3px);
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
}

/* Card 04 Showroom Highlighted in Cobalt (#165CC0) */
.station-card.is-featured {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
  box-shadow: 0 10px 26px rgba(22, 92, 192, 0.24);
}

.station-card.is-featured .station-badge {
  background: var(--color-cobalt-deep);
}

.station-card.is-featured .station-card-head svg,
.station-card.is-featured .station-card-title {
  color: var(--color-white);
}

.station-card.is-featured .station-card-desc {
  color: #E6F0FF;
}

.station-card.is-featured .station-card-arrow {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-cobalt-deep);
}

/* ==========================================================================
   EXPANDED IN-PAGE FACTORY CHAPTERS (#gate -> #consultation)
   ========================================================================== */
.factory-chapter {
  padding: 64px 0;
  scroll-margin-top: 86px;
  border-top: 1px solid var(--color-border);
}

.factory-chapter.is-tinted {
  background: var(--color-surface-light);
}

.chapter-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.chapter-header > div:first-child {
  flex: 1 1 460px;
  min-width: 0;
}

.chapter-num-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-cobalt);
  margin-bottom: 8px;
}

.chapter-num-pill {
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--color-cobalt);
  color: var(--color-white);
}

.chapter-title {
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.22;
}

.chapter-sub {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  max-width: 62ch;
}

.chapter-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.chapter-grid-2.is-reversed {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out);
}

html.js-reveal [data-reveal].is-visible,
html.reduced-motion [data-reveal] {
  opacity: 1;
  transform: none;
}

.machine-stage[hidden],
.industry-panel[hidden] {
  display: none;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.media-frame > img {
  width: 100%;
  height: auto;
}

.media-caption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--color-kcs-bg);
  color: var(--color-kcs-pass);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-sim {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--color-warning-bg);
  color: var(--color-warning);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.fact-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.fact-card .mono {
  font-size: 1.2rem;
  color: var(--color-cobalt);
  display: block;
  margin-bottom: 4px;
}

.fact-card span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Partner Logo Trust Strip (Chapter 01 #gate) */
.partners-trust-block {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.partners-trust-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5EEF9;
}

.partners-trust-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.partners-trust-bar {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--color-cobalt);
  flex-shrink: 0;
}

.partners-trust-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-cobalt-deep);
}

.partners-more-note {
  font-size: 0.85rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-text-muted);
}

.partners-logo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface-subtle);
  border: 1px solid #DCE8F7;
  transition:
    border-color var(--motion-micro) var(--ease-out),
    background-color var(--motion-micro) var(--ease-out),
    box-shadow var(--motion-micro) var(--ease-out);
}

.partner-card:hover {
  background: var(--color-white);
  border-color: #9EC0EB;
  box-shadow: var(--shadow-sm);
}

.partner-logo-box {
  flex-shrink: 0;
  width: 84px;
  height: 64px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--color-white);
  border: 1px solid #E2ECF9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-box.is-wide-logo {
  width: 98px;
  padding: 8px;
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.partner-info strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-cobalt-deep);
  line-height: 1.25;
}

.partner-info span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.stagger-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stagger-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.stagger-index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-light);
  color: var(--color-cobalt);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stagger-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--color-cobalt-deep);
  margin-bottom: 3px;
}

.stagger-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Chapter 03 Production */
.machine-steps-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.machine-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--motion-ui) var(--ease-ui), background var(--motion-ui) var(--ease-ui);
}

.machine-tab[aria-selected="true"] {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
}

.machine-tab .mono {
  font-size: 0.75rem;
  color: var(--color-cobalt);
}

.machine-tab[aria-selected="true"] .mono {
  color: var(--color-text-on-cobalt-muted);
}

.machine-tab strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-cobalt-deep);
}

.machine-tab[aria-selected="true"] strong {
  color: var(--color-white);
}

.machine-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.machine-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-surface-light);
}

.machine-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-bullets {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.9375rem;
}

.machine-bullets li {
  margin-bottom: 6px;
}

/* Chapter 04 Showroom */
.showroom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.viewer-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.viewer-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-surface-subtle);
  border-bottom: 1px solid var(--color-border);
}

.viewer-mode-group {
  display: flex;
  gap: 6px;
}

.viewer-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #EAF2FC 72%, #DCE9FA 100%);
}

.viewer-static-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 360ms var(--ease-out);
  transform-origin: center;
}

.viewer-static-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

#viewer-360-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}

.viewer-360-hud {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(17, 28, 46, 0.86);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.viewer-360-btns {
  display: flex;
  gap: 6px;
}

.viewer-360-btns button {
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.hotspot-btn {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--color-white);
  background: var(--color-cobalt);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 59, 130, 0.36);
  transform: translate(-50%, -50%);
  z-index: 5;
}

.hotspot-panel {
  padding: 16px 18px;
  background: var(--color-surface-light);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.spec-table-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
  padding: 10px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 42%;
  color: var(--color-text-muted);
  font-weight: 600;
}

.spec-table td {
  word-break: break-word;
}

.spec-disclaimer {
  padding: 12px 14px;
  background: var(--color-surface-subtle);
  border-left: 3px solid var(--color-cobalt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

/* Chapter 05 KCS */
.kcs-scan-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.kcs-scan-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8%;
  width: 4px;
  background: var(--color-cobalt);
  box-shadow: 0 0 18px 5px rgba(22, 92, 192, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.kcs-scan-frame.is-scanning .kcs-scan-line {
  animation: kcsScanSweep 600ms var(--ease-in-out) 1 forwards;
}

@keyframes kcsScanSweep {
  0% { left: -4%; opacity: 0.95; }
  90% { left: 102%; opacity: 0.95; }
  100% { left: 104%; opacity: 0; }
}

.kcs-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.kcs-item {
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.kcs-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.kcs-item p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.iso-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1.5px solid var(--color-cobalt);
}

.iso-thumb {
  width: 68px;
  height: 94px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

/* Chapter 06 Applications & Shrink Simulation */
.shrink-box {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.shrink-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #F7FAFE 0%, #E7F0FC 100%);
}

#shrink-sim-canvas {
  width: 100%;
  height: 100%;
}

.shrink-sim-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.shrink-controls {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.shrink-slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.shrink-slider-row input[type="range"] {
  flex: 1;
  accent-color: var(--color-cobalt);
  cursor: pointer;
}

.shrink-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-btn {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface-subtle);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.preset-btn[aria-pressed="true"],
.preset-btn:hover {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
}

.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.industry-tab {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.industry-tab[aria-selected="true"] {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
}

.industry-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.industry-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 14px;
}

.kw-chip {
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--color-surface-light);
  color: var(--color-cobalt-deep);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.faq-wrap {
  margin-top: 34px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.faq-item summary {
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-cobalt-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--color-cobalt);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Chapter 07 Consultation Builder */
.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: start;
}

.builder-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.builder-step-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.builder-step-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface-subtle);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition:
    background-color var(--motion-micro) var(--ease-out),
    border-color var(--motion-micro) var(--ease-out),
    color var(--motion-micro) var(--ease-out);
}

.builder-step-tab:hover {
  border-color: #9EC0EB;
  color: var(--color-cobalt-deep);
}

.builder-step-tab[aria-selected="true"] {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(22, 92, 192, 0.2);
}

.builder-step-pane {
  display: none;
}

.builder-step-pane.is-active {
  display: block;
}

/* Precision-aligned 2-column B2B form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 14px;
  align-items: start;
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-field.is-full {
  grid-column: 1 / -1;
}

/* Subgrid lock guarantees horizontal baseline alignment across paired columns */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .form-grid {
      row-gap: 0;
    }
    .form-field:not(.is-full) {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 3;
    }
    .form-field.is-full {
      margin-top: 2px;
    }
  }
}

.field-head {
  min-height: 28px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field-head label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-cobalt-deep);
  cursor: pointer;
}

.quick-unknown-btn {
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--color-surface-light);
  border: 1px solid #C5DBF7;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-cobalt);
  cursor: pointer;
  transition:
    background-color var(--motion-micro) var(--ease-out),
    border-color var(--motion-micro) var(--ease-out),
    color var(--motion-micro) var(--ease-out);
}

.quick-unknown-btn:hover {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
}

/* Unified Control Surface: Input, Native Select Fallback, Custom Select Trigger */
.form-field input,
.form-field select,
.form-field textarea,
.theme-select-trigger {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid #B8CCE4;
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition:
    border-color var(--motion-micro) var(--ease-out),
    box-shadow var(--motion-micro) var(--ease-out),
    background-color var(--motion-micro) var(--ease-out);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7A8BA3;
  font-weight: 400;
}

.form-field textarea {
  height: auto;
  min-height: 92px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover,
.theme-select-trigger:hover {
  border-color: #7FA7DE;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.theme-select-trigger:focus,
.theme-select.is-open .theme-select-trigger {
  outline: none;
  border-color: var(--color-cobalt);
  box-shadow: 0 0 0 3.5px rgba(22, 92, 192, 0.14);
}

/* Native <select> pre-JS fallback appearance */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23165CC0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

/* Custom Theme Select Dropdown (Matches Cobalt #165CC0 / White #FFFFFF UI) */
.theme-select {
  position: relative;
  width: 100%;
}

.theme-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.theme-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.theme-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-select-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-cobalt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms var(--ease-ui);
}

.theme-select.is-open .theme-select-chevron {
  transform: rotate(180deg);
}

.theme-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(420px, calc(100vw - 48px));
  z-index: 70;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--color-white);
  border: 1.5px solid #B6CEF0;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(13, 59, 130, 0.16), 0 3px 8px rgba(17, 28, 46, 0.06);
  max-height: 260px;
  overflow-y: auto;
}

.theme-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 0.9125rem;
  line-height: 1.38;
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 130ms ease, color 130ms ease;
}

.theme-select-option + .theme-select-option {
  margin-top: 2px;
}

.theme-select-option:hover,
.theme-select-option.is-active {
  background: var(--color-surface-light);
  color: var(--color-cobalt-deep);
}

.theme-select-option[aria-selected="true"] {
  background: #E5F0FE;
  color: var(--color-cobalt-deep);
  font-weight: 600;
}

.theme-select-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-cobalt);
  opacity: 0;
  transition: opacity 120ms ease;
}

.theme-select-option[aria-selected="true"] .theme-select-check {
  opacity: 1;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea,
.form-field.has-error .theme-select-trigger {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

.field-error {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-error);
  min-height: 18px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.form-error-summary {
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--color-error-bg);
  border: 1px solid var(--color-error);
  color: var(--color-error);
  font-size: 0.875rem;
  font-weight: 600;
}

.builder-footer-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-sla-note {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-subtle);
  border-left: 3px solid var(--color-cobalt);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.lead-success-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--color-kcs-bg);
  border: 1.5px solid var(--color-kcs-pass);
}

.lead-success-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.lead-success-head strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--color-kcs-pass);
}

.lead-success-desc {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.demo-result-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-surface-light);
  border: 1.5px solid var(--color-cobalt);
}

.demo-result-box pre {
  margin: 10px 0 14px;
  padding: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.contact-sidebar {
  background: var(--color-cobalt);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-sidebar h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-sidebar p {
  color: var(--color-text-on-cobalt-muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.contact-dl {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-dl div {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-dl dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--color-text-on-cobalt-muted);
}

.contact-dl dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.contact-dl dd a {
  color: var(--color-white);
  text-decoration: underline;
}

/* ==========================================================================
   06 / FINAL COBALT CTA BANNER (Matches Image B Bottom Banner + PE Wave Motif)
   ========================================================================== */
.cta-band {
  position: relative;
  background: linear-gradient(100deg, #0D3B82 0%, #165CC0 62%, #1D6AD6 100%);
  color: var(--color-white);
  padding: 36px 0;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -4%;
  top: -30%;
  width: 42%;
  height: 170%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 68%);
  transform: rotate(-18deg);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band-left {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.cta-band-divider {
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.28);
}

.cta-band-copy h2 {
  color: var(--color-white);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  margin-bottom: 4px;
}

.cta-band-copy p {
  margin: 0;
  color: #DCEBFF;
  font-size: 0.92rem;
}

.site-footer {
  background: #0A2E69;
  color: var(--color-text-on-cobalt-muted);
  padding: 48px 0 28px;
  font-size: 0.875rem;
  line-height: 1.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.8fr) minmax(0, 1.12fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

.footer-grid h3 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-en-name {
  margin: -8px 0 4px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #9EC5FA;
  line-height: 1.4;
}

.footer-slogan {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: #DCEBFF;
  line-height: 1.48;
}

.footer-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.footer-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  color: #DCEBFF;
}

.footer-meta-pill strong {
  font-family: var(--font-mono);
  color: var(--color-white);
}

.footer-address-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-address-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid rgba(133, 180, 248, 0.45);
}

.footer-address-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9EC5FA;
}

.footer-address-text {
  color: #EAF2FF;
  font-size: 0.86rem;
  line-height: 1.48;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: #DCEBFF;
  font-size: 0.875rem;
  transition: color var(--motion-micro) var(--ease-out), transform var(--motion-micro) var(--ease-out);
}

.footer-links a:hover {
  color: var(--color-white);
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  font-size: 0.86rem;
  color: #EAF2FF;
}

.footer-contact-key {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #9EC5FA;
  white-space: nowrap;
}

.footer-contact-list a {
  color: var(--color-white);
  font-weight: 500;
}

.footer-contact-list a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: #C4DAFA;
}

.footer-motion-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.76rem;
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(13, 59, 130, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

/* Live Full-Website Search Modal */
.search-modal-backdrop {
  align-items: flex-start;
  padding-top: min(10vh, 76px);
}

.search-modal-dialog {
  max-width: 680px;
  padding: 20px;
}

.search-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 14px;
  color: var(--color-cobalt);
  pointer-events: none;
}

#site-search-input {
  width: 100%;
  height: 48px;
  padding: 0 62px 0 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-cobalt);
  background: var(--color-white);
  font-size: 0.95rem;
  color: var(--color-text);
  box-shadow: 0 0 0 3.5px rgba(22, 92, 192, 0.12);
}

#site-search-input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(22, 92, 192, 0.2);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  border: none;
  border-radius: 6px;
  background: var(--color-surface-light);
  color: var(--color-cobalt-deep);
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.search-quick-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.search-chips-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-right: 2px;
}

.search-chip {
  border: 1px solid #C6DAF6;
  background: var(--color-surface-light);
  color: var(--color-cobalt-deep);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.search-chip:hover {
  background: var(--color-cobalt);
  border-color: var(--color-cobalt);
  color: var(--color-white);
}

.search-status-line {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(56vh, 420px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result-item {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #DCE7F6;
  background: var(--color-surface-subtle);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.search-result-item.is-active,
.search-result-item:hover {
  background: var(--color-surface-light);
  border-color: var(--color-cobalt);
}

.search-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.search-result-sec {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-cobalt);
}

.search-result-go {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-cobalt);
}

.search-result-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-cobalt-deep);
  margin-bottom: 3px;
}

.search-result-snippet {
  margin: 0;
  font-size: 0.825rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.search-hl {
  background: #FFE89A;
  color: #092456;
  font-weight: 700;
  padding: 0 2px;
  border-radius: 3px;
}

@keyframes searchTargetPulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 92, 192, 0.45); }
  40% { box-shadow: 0 0 0 6px rgba(22, 92, 192, 0.24); }
  100% { box-shadow: 0 0 0 0 rgba(22, 92, 192, 0); }
}

.search-target-flash {
  border-radius: var(--radius-md);
  animation: searchTargetPulse 1.6s ease-out 1;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 860;
  background: var(--color-white);
  border-top: 1.5px solid var(--color-border);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: 0.75fr 1.15fr 1fr;
  gap: 6px;
  box-shadow: 0 -6px 20px rgba(13, 59, 130, 0.12);
}

.mobile-sticky-cta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Brief Page 3: Tablet & Mobile 390x844)
   ========================================================================== */
@media (max-width: 1199px) {
  .primary-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 52% 48%;
    row-gap: 24px;
  }
  .hero-merits {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 20px;
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
  .hero-merits::before {
    inset: -10px -24px -18px -24px;
    background: linear-gradient(180deg, rgba(8, 34, 82, 0.58) 0%, rgba(8, 34, 82, 0.88) 100%);
    filter: blur(8px);
  }
  .hero-merit-row {
    flex: 1;
    border-bottom: none;
    padding: 8px 0;
  }
  .journey-bar-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
  }
  .journey-track-wrap {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .journey-stops {
    min-width: 680px;
  }
  .journey-dashed-line {
    min-width: 600px;
  }
  .station-grid-top,
  .station-grid-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-side-rail {
    left: 10px;
  }
}

@media (max-width: 960px) {
  .spotlight-ribbon-bleed {
    position: relative;
    width: 100%;
    height: 240px;
    clip-path: none;
    margin-top: 20px;
  }
  .spotlight-ribbon-bleed img {
    mask-image: none;
    -webkit-mask-image: none;
    border-radius: var(--radius-lg);
  }
  .pe-spotlight {
    display: block;
    padding: 36px 0;
  }
  .spotlight-inner,
  .chapter-grid-2,
  .chapter-grid-2.is-reversed,
  .partners-logo-grid,
  .machine-stage,
  .showroom-layout,
  .builder-layout,
  .footer-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }
  /* Compact mobile floating pill for Left Journey Rail */
  .journey-side-rail {
    top: auto;
    bottom: 74px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: translate3d(0, 16px, 0);
  }
  .journey-side-rail.is-docked {
    transform: translate3d(0, 0, 0);
  }
  .side-rail-card {
    padding: 6px 10px;
    border-radius: 999px;
  }
  .side-rail-head {
    display: none;
  }
  .side-rail-list {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }
  .side-rail-list li {
    width: auto;
  }
  .side-rail-list::before {
    display: none;
  }
  .side-rail-btn {
    display: grid;
    grid-template-rows: none;
    grid-template-columns: 26px 0fr;
    width: auto;
    border-radius: 999px;
    padding: 3px;
    transition:
      grid-template-columns 280ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 220ms ease,
      border-color 220ms ease,
      padding 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .side-rail-label {
    width: auto;
    min-width: 0;
    padding-top: 0;
    padding-left: 0;
    white-space: nowrap;
    transition:
      opacity 200ms ease,
      padding-left 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .side-rail-btn[aria-current="step"] {
    grid-template-rows: none;
    grid-template-columns: 26px 1fr;
    padding: 4px 10px 4px 4px;
  }
  .side-rail-btn[aria-current="step"] .side-rail-label {
    padding-top: 0;
    padding-left: 6px;
    white-space: nowrap;
  }
  .side-rail-num {
    width: 26px;
    height: 26px;
    font-size: 0.68rem;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 64px;
  }
  .mobile-drawer {
    inset: 64px 0 0 0;
  }
  body {
    padding-bottom: 68px;
  }
  .container {
    padding: 0 16px;
  }
  .header-actions .btn-secondary,
  .header-actions .btn-primary {
    display: none;
  }
  /* Mobile Hero: Copy & CTA first, wide Factory/PE visual second, 3 merits below */
  .hero {
    min-height: auto;
    padding: 28px 0 54px;
    display: block;
  }
  .hero-scene-bg {
    position: relative;
    height: 230px;
    margin: 18px -16px 16px;
  }
  .hero-directional-overlay,
  .hero-bottom-mist,
  .hero-focal-window {
    display: none;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy {
    padding-right: 0;
    order: 1;
  }
  .hero-mobile-visual {
    display: block !important;
    order: 2;
    margin: 20px -16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .hero-scene-bg {
    display: none;
  }
  .hero-merits {
    order: 3;
    flex-direction: column;
    gap: 0;
    border-top: none;
  }
  .hero-merit-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .spotlight-inline-specs {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .inline-spec-item {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }
  .station-grid-top,
  .station-grid-bottom,
  .machine-steps-tabs,
  .kcs-checklist,
  .fact-grid,
  .form-grid,
  .builder-step-nav {
    grid-template-columns: 1fr;
  }
  .section-head-split,
  .iso-card,
  .viewer-topbar,
  .cta-band-left {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band-divider {
    display: none;
  }
  .mobile-sticky-cta {
    display: grid;
  }
}

/* Cloudflare Turnstile Bot Verification Block */
.turnstile-wrap {
  margin: 14px 0 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 65px;
}
