/* ==========================================================================
   SUNSHINE ENGINEERING SOLUTIONS (SES)
   Sovereign Infrastructure Design System — Obsidian Navy, Limestone & Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Core Brand Palette — Derived from SES Rising Sun & Bridge Arch Emblem */
  --obsidian: #050d1a;
  --obsidian-2: #081426;
  --navy: #0c1d36;
  --navy-elevated: #122847;
  --steel-line: rgba(255, 255, 255, 0.09);
  --steel-line-strong: rgba(255, 255, 255, 0.17);

  --alabaster: #f6f4ef;
  --alabaster-2: #ede9e0;
  --surface: #ffffff;
  --light-line: rgba(12, 29, 54, 0.1);
  --light-line-strong: rgba(12, 29, 54, 0.2);

  --gold: #e6a41e;
  --gold-bright: #f7c348;
  --gold-deep: #be800c;
  --gold-soft: rgba(230, 164, 30, 0.13);
  --gold-glow: rgba(230, 164, 30, 0.32);

  --crimson: #9e2127;
  --crimson-soft: rgba(158, 33, 39, 0.12);

  --ink: #0b1628;
  --ink-secondary: #394b63;
  --muted: #5d6f85;

  --ink-light: #f4f7fb;
  --ink-light-secondary: #c2d0e2;
  --muted-light: #899db8;

  /* Typography */
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spatial System */
  --container: min(1360px, calc(100vw - clamp(32px, 6vw, 96px)));
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Elevation */
  --shadow-sm: 0 4px 16px rgba(5, 13, 26, 0.06);
  --shadow-md: 0 14px 40px rgba(5, 13, 26, 0.1);
  --shadow-lg: 0 28px 72px rgba(5, 13, 26, 0.22);
  --shadow-gold: 0 12px 34px rgba(230, 164, 30, 0.28);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--obsidian);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--alabaster);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), background 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--obsidian);
}

/* Container & Utility */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(72px, 8.5vw, 128px);
}

.section-dark {
  background: var(--obsidian);
  color: var(--ink-light);
}

.section-navy {
  background-color: #071428;
  background-image: linear-gradient(180deg, #061020 0%, #0c1f3a 100%);
  color: var(--ink-light);
}

.section-navy.bg-cad-grid {
  background-color: #071428;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.section-alabaster {
  background: var(--alabaster);
  color: var(--ink);
}

.section-white {
  background: var(--surface);
  color: var(--ink);
}

/* Architectural CAD Grid Background Texture */
.bg-cad-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.bg-cad-grid-light {
  background-image:
    linear-gradient(to right, rgba(12, 29, 54, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 29, 54, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Typography Scale */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.kicker::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

.section-alabaster .kicker,
.section-white .kicker {
  color: var(--gold-deep);
}

.section-alabaster .kicker::before,
.section-white .kicker::before {
  background: var(--gold-deep);
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.4vw, 5.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold-bright);
}

.section-alabaster .serif-accent,
.section-white .serif-accent {
  color: var(--crimson);
}

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.72;
  color: var(--ink-secondary);
  max-width: 64ch;
}

.section-dark .lead,
.section-navy .lead,
.page-hero .lead,
.cta-banner .lead {
  color: var(--ink-light-secondary);
}

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

/* Section Headers */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
  flex-wrap: wrap;
}

.section-head-copy {
  max-width: 740px;
}

/* ==========================================================================
   BUTTONS & INTERACTIVE CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 0.28s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover svg.arrow {
  transform: translate(3px, -2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, #d68d0d 100%);
  color: var(--obsidian);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(230, 164, 30, 0.42);
  color: var(--obsidian);
}

.btn-navy {
  background: var(--navy);
  color: var(--ink-light);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-navy:hover {
  background: var(--obsidian);
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-light);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--gold-bright);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--light-line-strong);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.83rem;
}

/* ==========================================================================
   TOP PRECISION UTILITY BAR & FLOATING EXECUTIVE HEADER
   ========================================================================== */
.top-utility {
  background: #030913;
  color: var(--muted-light);
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 95;
}

.top-utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 8px;
  flex-wrap: wrap;
}

.top-utility-left,
.top-utility-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-utility a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-light-secondary);
  white-space: nowrap;
}

.top-utility svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold-bright);
}

.top-utility a:hover {
  color: var(--gold-bright);
}

.standards-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(230, 164, 30, 0.1);
  border: 1px solid rgba(230, 164, 30, 0.25);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.standards-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 13, 26, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(5, 13, 26, 0.96);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(230, 164, 30, 0.22);
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-emblem-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(230, 164, 30, 0.35);
}

.brand-emblem-box img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.1;
  color: #ffffff;
}

.brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 3px;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-light-secondary);
  padding: 10px 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mega Dropdown */
.nav-dropdown-wrap {
  position: relative;
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 680px;
  background: #0a182c;
  border: 1px solid rgba(230, 164, 30, 0.24);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s var(--ease-out);
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown-wrap:hover .mega-dropdown,
.nav-dropdown-wrap:focus-within .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

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

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-light);
}

.mega-item:hover {
  background: rgba(230, 164, 30, 0.1);
  border-color: rgba(230, 164, 30, 0.35);
  transform: translateY(-1px);
}

.mega-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(230, 164, 30, 0.14);
  border-radius: 7px;
  padding: 4px 8px;
  flex-shrink: 0;
}

.mega-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.mega-item span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted-light);
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 26, 0.98);
  backdrop-filter: blur(24px);
  z-index: 200;
  padding: 20px 20px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), visibility 0.35s;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 22px;
}

.mobile-drawer-links a {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--ink-light);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-links a span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-bright);
  opacity: 0.85;
}

.mobile-drawer-links a:hover {
  color: var(--gold-bright);
}

.mobile-div-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-div-chips a {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-light-secondary);
}

.mobile-div-chips a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.mini-stats-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ==========================================================================
   MONUMENTAL ARCHITECTURAL HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  min-height: max(680px, calc(100vh - 114px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--obsidian);
  color: #ffffff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  animation: heroSlowZoom 22s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.04);
}

@keyframes heroSlowZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(95deg, rgba(5, 13, 26, 0.94) 0%, rgba(5, 13, 26, 0.8) 44%, rgba(5, 13, 26, 0.34) 76%, rgba(5, 13, 26, 0.52) 100%),
    linear-gradient(180deg, rgba(5, 13, 26, 0.45) 0%, transparent 32%, rgba(5, 13, 26, 0.94) 100%);
}

.hero-cad-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 75% 75% at 28% 45%, #000 0%, transparent 82%);
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 5;
  padding-top: clamp(54px, 7vw, 108px);
  padding-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: end;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 10px;
  border-radius: 999px;
  background: rgba(12, 29, 54, 0.78);
  border: 1px solid rgba(230, 164, 30, 0.35);
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}

.hero-badge-tag {
  background: var(--gold);
  color: var(--obsidian);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-badge-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-light);
}

.hero h1 {
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  color: var(--ink-light-secondary);
  max-width: 58ch;
  margin: 0 0 34px;
  line-height: 1.72;
}

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

/* Hero Floating Engineering Spec Card */
.hero-dossier-card {
  background: rgba(8, 20, 38, 0.76);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.hero-dossier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dossier-head span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero-dossier-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-dossier-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.86rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}

.hero-dossier-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-dossier-list .lbl {
  color: var(--muted-light);
}

.hero-dossier-list .val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #ffffff;
  text-align: right;
}

/* Hero Telemetry Strip */
.hero-telemetry {
  position: relative;
  z-index: 5;
  background: rgba(5, 13, 26, 0.86);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.telemetry-cell {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s;
}

.telemetry-cell:first-child { padding-left: 0; }
.telemetry-cell:last-child { border-right: 0; }
.telemetry-cell:hover { background: rgba(230, 164, 30, 0.05); }

.telemetry-val {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.telemetry-label {
  font-size: 0.8rem;
  color: var(--ink-light-secondary);
  margin-top: 5px;
  font-weight: 500;
}

.telemetry-sub {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--muted-light);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   INFINITE INFRASTRUCTURE STANDARDS & CAPABILITY MARQUEE
   ========================================================================== */
.marquee-band {
  background: var(--gold);
  color: var(--obsidian);
  overflow: hidden;
  padding-block: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.marquee-track {
  display: flex;
  gap: 38px;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-item::after {
  content: '◆';
  font-size: 0.62rem;
  opacity: 0.55;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   EXECUTIVE CORPORATE OVERVIEW (ASPECT BENTO)
   ========================================================================== */
.overview-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.pillars-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.pillar-mini {
  background: var(--surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s var(--ease-out);
}

.pillar-mini:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-mini .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 8px;
  display: block;
}

.pillar-mini h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 6px;
  color: var(--navy);
}

.pillar-mini p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.overview-visual-stack {
  position: relative;
}

.overview-main-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(12, 29, 54, 0.14);
  aspect-ratio: 16 / 11;
}

.overview-main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-floating-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--obsidian);
  color: #ffffff;
  border: 1px solid rgba(230, 164, 30, 0.4);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  max-width: 310px;
  box-shadow: var(--shadow-lg);
}

.overview-floating-badge .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
  display: block;
}

.overview-floating-badge strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: block;
  line-height: 1.3;
}

/* ==========================================================================
   INTERACTIVE BRIDGE ANATOMY & STRUCTURAL SYSTEMS EXPLORER (SHOWSTOPPER #1)
   ========================================================================== */
.anatomy-shell {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.anatomy-canvas-card {
  position: relative;
  background: linear-gradient(160deg, #09182e 0%, #050d1a 100%);
  border: 1px solid rgba(230, 164, 30, 0.24);
  border-radius: var(--radius-xl);
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.anatomy-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.anatomy-svg-wrap {
  position: relative;
  width: 100%;
  margin-block: 14px;
}

.anatomy-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG Hotspot Nodes */
.cad-hotspot {
  cursor: pointer;
  transition: transform 0.25s var(--ease-out);
}

.cad-hotspot .pulse-ring,
.cad-hotspot text {
  pointer-events: none;
}

.cad-hotspot .pulse-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: cadPulse 2.4s ease-out infinite;
}

.cad-hotspot.active .core-dot {
  fill: #ffffff;
  stroke: var(--gold-bright);
  stroke-width: 4;
}

.cad-hotspot.active .pulse-ring {
  stroke: var(--gold-bright);
  stroke-width: 2.5;
}

@keyframes cadPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(2.05); opacity: 0; }
}

.anatomy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.anatomy-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-light-secondary);
  padding: 7px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  transition: all 0.22s;
}

.anatomy-pill:hover,
.anatomy-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
  font-weight: 700;
}

/* Inspector Panel */
.anatomy-inspector {
  background: linear-gradient(180deg, #0d203d 0%, #081529 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.inspector-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inspector-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #ffffff;
  line-height: 1.18;
}

.inspector-desc {
  font-size: 0.93rem;
  color: var(--ink-light-secondary);
  line-height: 1.65;
  margin: 0 0 20px;
}

.inspector-specs {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.inspector-spec-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.83rem;
}

.inspector-spec-row span:first-child {
  color: var(--muted-light);
}

.inspector-spec-row strong {
  font-family: var(--font-mono);
  color: var(--gold-bright);
  text-align: right;
  font-size: 0.79rem;
}

.inspector-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.std-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(230, 164, 30, 0.13);
  border: 1px solid rgba(230, 164, 30, 0.3);
  color: var(--gold-bright);
}

/* ==========================================================================
   6 ENGINEERING DIVISIONS SHOWCASE GRID
   ========================================================================== */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.division-card {
  group: division;
  background: var(--surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  position: relative;
}

.division-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.division-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--obsidian);
}

.division-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.division-card:hover .division-img-wrap img {
  transform: scale(1.07);
}

.division-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 26, 0.15) 0%, rgba(5, 13, 26, 0.82) 100%);
}

.division-index {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(5, 13, 26, 0.82);
  border: 1px solid rgba(230, 164, 30, 0.45);
  color: var(--gold-bright);
  backdrop-filter: blur(8px);
}

.division-std-tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
}

.division-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.division-body h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.2;
}

.division-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.6;
}

.division-sublist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.division-sublist li {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--alabaster);
  color: var(--navy);
  border: 1px solid var(--light-line);
}

.division-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--light-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.division-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.division-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.24s var(--ease-out);
}

.division-card:hover .division-link svg {
  transform: translate(3px, -2px);
}

.division-card:hover .division-link {
  color: var(--crimson);
}

/* ==========================================================================
   MANUFACTURING & FABRICATION PIPELINE (GALVANO-UPGRADED INDUSTRIAL POWER)
   ========================================================================== */
.plant-showcase {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.plant-media-card {
  position: sticky;
  top: 108px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.plant-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.plant-metrics-box {
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.plant-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.plant-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-bright);
  line-height: 1.1;
}

.plant-metric span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-light-secondary);
  margin-top: 5px;
}

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

.machine-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.machine-card:hover {
  background: rgba(230, 164, 30, 0.07);
  border-color: rgba(230, 164, 30, 0.4);
  transform: translateY(-2px);
}

.machine-step {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-bright);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  display: block;
}

.machine-card h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 6px;
  color: #ffffff;
}

.machine-card p {
  font-size: 0.83rem;
  color: var(--muted-light);
  margin: 0;
  line-height: 1.52;
}

/* ==========================================================================
   INTERACTIVE ENGINEERING SPEC CONFIGURATOR (SHOWSTOPPER #2)
   ========================================================================== */
.configurator-card {
  background: var(--surface);
  border: 1px solid var(--light-line-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.config-left {
  padding: clamp(28px, 4vw, 48px);
}

.config-group {
  margin-bottom: 24px;
}

.config-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

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

.sel-chip {
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid var(--light-line-strong);
  background: var(--alabaster);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s var(--ease-out);
}

.sel-chip:hover {
  border-color: var(--gold-deep);
}

.sel-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-bright);
  box-shadow: 0 6px 18px rgba(12, 29, 54, 0.22);
}

.config-right {
  background: linear-gradient(160deg, var(--obsidian) 0%, var(--navy) 100%);
  color: var(--ink-light);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 3px solid var(--gold);
}

.config-result-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 11px;
}

.config-result-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--ink-light-secondary);
}

.config-result-list li::before {
  content: '▸';
  color: var(--gold-bright);
  font-weight: 700;
}

/* ==========================================================================
   QUALITY & NDT MATRIX TABS
   ========================================================================== */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-light-secondary);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.22s;
}

.tab-btn:hover {
  border-color: var(--gold);
  color: #ffffff;
}

.tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
  font-weight: 700;
}

.section-alabaster .tab-btn,
.section-white .tab-btn {
  border-color: var(--light-line-strong);
  background: var(--surface);
  color: var(--navy);
}

.section-alabaster .tab-btn.active,
.section-white .tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-bright);
}

.ndt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.ndt-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.ndt-card .idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(230, 164, 30, 0.14);
  padding: 4px 8px;
  border-radius: 6px;
}

.ndt-card h5 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: #ffffff;
}

.ndt-card p {
  margin: 0;
  font-size: 0.79rem;
  color: var(--muted-light);
  line-height: 1.48;
}

/* Compliance Badges Grid */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.std-card {
  background: var(--surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: all 0.25s var(--ease-out);
}

.std-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.std-card strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.std-card span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   SECTOR COVERAGE & EXECUTION GALLERY
   ========================================================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sector-card {
  background: var(--surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: all 0.28s var(--ease-out);
  position: relative;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--crimson));
  border-radius: 0 0 4px 4px;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.sector-card:hover::before {
  transform: scaleX(1);
}

.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.sector-card h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 8px;
  color: var(--navy);
}

.sector-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.58;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--obsidian);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.gallery-tile:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 13, 26, 0.92) 100%);
  color: #ffffff;
}

.gallery-caption span {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 4px;
}

.gallery-caption strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

/* ==========================================================================
   CATALOG PRODUCT CARDS (SOLUTIONS PAGE)
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
}

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

.product-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--obsidian);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 13, 26, 0.85);
  border: 1px solid rgba(230, 164, 30, 0.45);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  margin: 0 0 9px;
  color: var(--navy);
}

.product-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.58;
}

.product-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.product-spec-pills span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--alabaster);
  color: var(--navy);
  border: 1px solid var(--light-line);
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--light-line);
}

/* ==========================================================================
   TECHNICAL DATASHEET MODAL & LIGHTBOX
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 9, 19, 0.82);
  backdrop-filter: blur(10px);
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-out);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  background: var(--surface);
  color: var(--ink);
  width: min(960px, 100%);
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(230, 164, 30, 0.35);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s var(--ease-out);
}

.modal-backdrop.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-head {
  background: linear-gradient(135deg, var(--obsidian) 0%, var(--navy) 100%);
  color: #ffffff;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 2px solid var(--gold);
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--obsidian);
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  display: grid;
  gap: 24px;
}

.modal-hero-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.modal-hero-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-line);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  border: 1px solid var(--light-line);
  border-radius: 12px;
  overflow: hidden;
}

.spec-table th {
  background: var(--navy);
  color: var(--gold-bright);
  text-align: left;
  padding: 11px 15px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.spec-table td {
  padding: 11px 15px;
  border-bottom: 1px solid var(--light-line);
  color: var(--ink-secondary);
}

.spec-table tr:nth-child(even) td {
  background: var(--alabaster);
}

.modal-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-bullets li {
  background: var(--alabaster);
  border: 1px solid var(--light-line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 500;
}

.modal-foot {
  padding: 18px 30px;
  background: var(--alabaster);
  border-top: 1px solid var(--light-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Lightbox */
.lightbox-img {
  max-width: min(1120px, 92vw);
  max-height: 78vh;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(230, 164, 30, 0.5);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   SUBPAGE HERO BANNER
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--obsidian);
  color: #ffffff;
  padding-block: clamp(72px, 8vw, 118px);
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(5, 13, 26, 0.96) 0%, rgba(5, 13, 26, 0.78) 55%, rgba(5, 13, 26, 0.58) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 3;
}

.breadcrumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted-light);
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb span.curr { color: var(--gold-bright); }

/* ==========================================================================
   EXECUTIVE CTA BANNER & MEGA FOOTER
   ========================================================================== */
.cta-banner {
  position: relative;
  background: linear-gradient(125deg, #071326 0%, #102749 52%, #1d1419 100%);
  border: 1px solid rgba(230, 164, 30, 0.35);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 68px);
  color: #ffffff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 164, 30, 0.24) 0%, transparent 68%);
  pointer-events: none;
}

.site-footer {
  background: #040a14;
  color: var(--ink-light-secondary);
  border-top: 1px solid rgba(230, 164, 30, 0.25);
  padding-top: 76px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--ink-light-secondary);
}

.footer-links a:hover {
  color: var(--gold-bright);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.89rem;
  margin-bottom: 14px;
  line-height: 1.55;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-bright);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted-light);
}

/* ==========================================================================
   FORMS & CONTACT PORTAL
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  align-items: start;
}

.contact-card-dark {
  background: linear-gradient(160deg, var(--obsidian) 0%, var(--navy) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(230, 164, 30, 0.3);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--light-line-strong);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--light-line-strong);
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(230, 164, 30, 0.16);
}

/* ==========================================================================
   FLOATING TECHNICAL DESK DOCK & SCROLL REVEAL
   ========================================================================== */
.floating-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-bright);
  border: 1px solid rgba(230, 164, 30, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: all 0.24s var(--ease-out);
}

.dock-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.dock-btn .dock-lbl,
.dock-rfq-mobile {
  display: none;
}

.dock-top-btn {
  opacity: 0;
  pointer-events: none;
}

.dock-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.dock-btn:hover {
  background: var(--gold);
  color: var(--obsidian);
  transform: translateY(-3px);
}

.dock-btn.wa {
  background: #137a43;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.dock-btn.wa:hover {
  background: #1aa359;
  color: #ffffff;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (DESKTOP → TABLET → NATIVE-GRADE MOBILE)
   ========================================================================== */
@media (max-width: 1120px) {
  .hero-grid,
  .overview-grid,
  .anatomy-shell,
  .plant-showcase,
  .configurator-card,
  .contact-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .divisions-grid,
  .catalog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .telemetry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plant-media-card {
    position: static;
  }

  .overview-floating-badge {
    position: static;
    margin-top: 18px;
    max-width: none;
  }
}

@media (max-width: 860px) {
  .primary-nav,
  .header-actions .btn,
  .top-utility .standards-pill {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .telemetry-cell:nth-child(5) {
    grid-column: 1 / -1;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .modal-hero-strip,
  .modal-bullets,
  .form-row,
  .machinery-grid,
  .pillars-mini-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid > *,
.configurator-card > *,
.anatomy-shell > *,
.overview-grid > *,
.plant-showcase > *,
.cta-banner > *,
.hero-grid > * {
  min-width: 0;
}

/* Native App-Grade Mobile Experience (<= 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  /* Transform Floating Bubbles into Clean Non-Overlapping Mobile Sticky Bottom Bar */
  .floating-dock {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(5, 13, 26, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(230, 164, 30, 0.35);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
  }

  .dock-btn {
    flex: 1;
    width: auto;
    height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: none;
  }

  .dock-btn:hover {
    transform: none;
  }

  .dock-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .dock-btn .dock-lbl {
    display: inline;
    white-space: nowrap;
  }

  .dock-rfq-mobile {
    display: inline-flex;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: var(--obsidian);
    border-color: transparent;
  }

  .dock-top-btn {
    display: none;
    flex: 0 0 44px;
    padding: 0;
  }

  .dock-top-btn.is-visible {
    display: inline-flex;
  }

  .dock-top-btn .dock-lbl {
    display: none;
  }

  /* Horizontal Swipeable Filter / Tab / Anatomy Pill Rails */
  .tab-bar,
  .anatomy-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-bottom: 20px;
    scroll-snap-type: x proximity;
  }

  .tab-bar::-webkit-scrollbar,
  .anatomy-pills::-webkit-scrollbar {
    display: none;
  }

  .tab-btn,
  .anatomy-pill {
    white-space: nowrap;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 9px 15px;
    font-size: 0.8rem;
  }

  .anatomy-pills {
    margin-bottom: 0;
  }

  /* Mobile Modal as Clean Bottom Sheet */
  .modal-backdrop {
    padding: 10px;
    align-items: end;
  }

  .modal-panel {
    max-height: 88vh;
    border-radius: 22px 22px 14px 14px;
  }

  .modal-head {
    padding: 18px 20px;
  }

  .modal-body {
    padding: 18px 20px;
    gap: 18px;
  }

  .modal-foot {
    padding: 14px 18px;
  }

  .modal-foot-note {
    display: none;
  }

  .modal-foot-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1.3fr;
  }

  .modal-foot-actions .btn {
    width: 100%;
    padding: 11px 12px;
    font-size: 0.82rem;
  }

  /* Compact Spec Tables on Mobile */
  .spec-table th,
  .spec-table td {
    padding: 9px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100vw - 28px);
  }

  .section {
    padding-block: 52px;
  }

  .section-head {
    margin-bottom: 28px;
    gap: 18px;
  }

  /* Slim Zero-Overflow Mobile Header (Verified down to 360px!) */
  .top-utility {
    font-size: 0.7rem;
  }

  .top-utility-inner {
    padding-block: 6px;
  }

  .top-utility-right,
  .top-utility-left a:last-child {
    display: none;
  }

  .top-utility-left {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .header-inner {
    height: 64px;
    gap: 10px;
  }

  .brand-lockup {
    gap: 9px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-emblem-box {
    padding: 4px 7px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .brand-emblem-box img {
    height: 26px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
  }

  .brand-text small {
    font-size: 0.54rem;
    letter-spacing: 0.09em;
    white-space: nowrap;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  /* Tighter Above-the-Fold Hero & Page Heroes */
  .hero {
    min-height: auto;
  }

  .hero-body {
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .hero-badge {
    padding: 5px 12px 5px 6px;
    gap: 8px;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .hero-badge-text {
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }

  .display-xl {
    font-size: clamp(2.05rem, 8.6vw, 2.65rem);
    line-height: 1.06;
  }

  .display-lg {
    font-size: clamp(1.68rem, 7vw, 2.15rem);
  }

  .hero-sub {
    font-size: 0.94rem;
    line-height: 1.62;
    margin-bottom: 22px;
  }

  .hero-cta-row {
    gap: 10px;
  }

  .hero-cta-row .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.88rem;
  }

  .hero-dossier-card {
    padding: 18px;
  }

  .hero-dossier-list li {
    font-size: 0.8rem;
  }

  .page-hero {
    padding-block: 44px;
  }

  .telemetry-cell {
    padding: 15px 12px;
  }

  .telemetry-cell:first-child {
    padding-left: 12px;
  }

  .telemetry-val {
    font-size: 1.45rem;
  }

  .telemetry-label {
    font-size: 0.76rem;
  }

  .telemetry-sub {
    font-size: 0.61rem;
  }

  /* Interactive Anatomy & Configurator Tight Mobile Framing */
  .anatomy-canvas-card,
  .anatomy-inspector,
  .config-left,
  .config-right,
  .contact-card-dark,
  .form-card,
  .cta-banner {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .inspector-title {
    font-size: 1.32rem;
  }

  .inspector-spec-row {
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
  }

  .inspector-spec-row strong {
    text-align: left;
  }

  .sel-chip {
    padding: 8px 12px;
    font-size: 0.79rem;
  }

  .plant-metrics-box {
    padding: 16px;
    gap: 10px;
  }

  .plant-metric {
    padding: 12px;
  }

  .plant-metric strong {
    font-size: 1.25rem;
  }

  .divisions-grid,
  .catalog-grid,
  .gallery-grid,
  .sectors-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .std-card {
    padding: 16px 12px;
  }

  .mini-stats-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mini-stats-3 .std-card {
    padding: 12px 8px;
  }

  .mini-stats-3 .std-card strong {
    font-size: 0.95rem;
  }

  .mini-stats-3 .std-card span {
    font-size: 0.66rem;
  }

  .division-body,
  .product-card-body {
    padding: 20px 18px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-bottom {
    text-align: center;
    justify-content: center;
  }
}

@media print {
  .site-header, .top-utility, .floating-dock, .marquee-band { display: none !important; }
  body { background: #ffffff; color: #000000; padding-bottom: 0; }
}
