/* ==========================================================================
   SUNSHINE ENGINEERING SOLUTIONS (SES)
   MNC EXECUTIVE + YEAR 2050 SPATIAL DIGITAL TWIN EXTENSION LAYER
   ========================================================================== */

/* 1. Top Molten-Gold Reading Progress Beam */
.scroll-progress-beam {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  z-index: 120;
  background: linear-gradient(90deg, var(--gold) 0%, #ffe07d 60%, var(--crimson) 100%);
  box-shadow: 0 0 12px rgba(247, 195, 72, 0.75);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* 2. Spatial Cursor-Tracking Titanium Specular Card Sheen */
.spatial-card {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.spatial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(247, 195, 72, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.spatial-card:hover::after {
  opacity: 1;
}

/* 3. Dual Theme System: "Obsidian 2050 CAD Mode" Toggleable from Navbar */
html[data-theme="obsidian2050"] body {
  background: #040b16;
  color: var(--ink-light);
}

html[data-theme="obsidian2050"] .section-alabaster,
html[data-theme="obsidian2050"] .section-white {
  background-color: #06101f;
  color: var(--ink-light);
}

html[data-theme="obsidian2050"] .bg-cad-grid-light {
  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);
}

html[data-theme="obsidian2050"] .section-alabaster .kicker,
html[data-theme="obsidian2050"] .section-white .kicker {
  color: var(--gold-bright);
}

html[data-theme="obsidian2050"] .section-alabaster .kicker::before,
html[data-theme="obsidian2050"] .section-white .kicker::before {
  background: var(--gold-bright);
}

html[data-theme="obsidian2050"] .section-alabaster .serif-accent,
html[data-theme="obsidian2050"] .section-white .serif-accent {
  color: var(--gold-bright);
}

html[data-theme="obsidian2050"] .lead,
html[data-theme="obsidian2050"] .division-body p,
html[data-theme="obsidian2050"] .sector-card p,
html[data-theme="obsidian2050"] .pillar-mini p,
html[data-theme="obsidian2050"] .product-card-body p,
html[data-theme="obsidian2050"] .std-card span {
  color: var(--ink-light-secondary);
}

html[data-theme="obsidian2050"] .division-card,
html[data-theme="obsidian2050"] .product-card,
html[data-theme="obsidian2050"] .sector-card,
html[data-theme="obsidian2050"] .pillar-mini,
html[data-theme="obsidian2050"] .std-card,
html[data-theme="obsidian2050"] .configurator-card,
html[data-theme="obsidian2050"] .form-card,
html[data-theme="obsidian2050"] .ba-panel,
html[data-theme="obsidian2050"] .joint-calc-card,
html[data-theme="obsidian2050"] .hse-card,
html[data-theme="obsidian2050"] .case-card,
html[data-theme="obsidian2050"] .career-card {
  background: rgba(11, 25, 48, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink-light);
  backdrop-filter: blur(16px);
}

html[data-theme="obsidian2050"] .division-body h3,
html[data-theme="obsidian2050"] .product-card-body h3,
html[data-theme="obsidian2050"] .sector-card h4,
html[data-theme="obsidian2050"] .pillar-mini h4,
html[data-theme="obsidian2050"] .std-card strong,
html[data-theme="obsidian2050"] .division-link,
html[data-theme="obsidian2050"] .config-group label,
html[data-theme="obsidian2050"] .field label,
html[data-theme="obsidian2050"] .hse-card h4,
html[data-theme="obsidian2050"] .case-card h3,
html[data-theme="obsidian2050"] .career-card h4 {
  color: #ffffff;
}

html[data-theme="obsidian2050"] .division-sublist li,
html[data-theme="obsidian2050"] .product-spec-pills span,
html[data-theme="obsidian2050"] .sel-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink-light-secondary);
}

html[data-theme="obsidian2050"] .sel-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

html[data-theme="obsidian2050"] .btn-outline-dark {
  color: var(--ink-light);
  border-color: rgba(255, 255, 255, 0.25);
}

html[data-theme="obsidian2050"] .btn-outline-dark:hover {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}

html[data-theme="obsidian2050"] .field input,
html[data-theme="obsidian2050"] .field select,
html[data-theme="obsidian2050"] .field textarea,
html[data-theme="obsidian2050"] #catalogSearch {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

html[data-theme="obsidian2050"] .spec-table td {
  color: var(--ink-light-secondary);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="obsidian2050"] .spec-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="obsidian2050"] .section-alabaster .tab-btn,
html[data-theme="obsidian2050"] .section-white .tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ink-light-secondary);
}

html[data-theme="obsidian2050"] .section-alabaster .tab-btn.active,
html[data-theme="obsidian2050"] .section-white .tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

/* 4. Header Executive Utility Tools (Search AI + Theme Switch) */
/* Desktop single-line executive nav alignment with AI Advisor & Theme buttons */
.header-inner {
  gap: 14px;
}

.primary-nav {
  gap: clamp(10px, 1.2vw, 18px);
}

.nav-link {
  white-space: nowrap;
  font-size: 0.82rem;
}

.header-actions {
  gap: 7px;
}

.header-actions .btn-sm {
  padding: 9px 14px;
  font-size: 0.8rem;
}

main,
.section {
  overflow-x: clip;
}

.hdr-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
}

.hdr-icon-btn svg {
  width: 15px;
  height: 15px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.hdr-icon-btn:hover {
  background: rgba(230, 164, 30, 0.16);
  border-color: var(--gold-bright);
  color: #ffffff;
}

.hdr-kbd {
  font-size: 0.62rem;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-bright);
}

/* 5. MULTI-SLIDE CINEMATIC HERO + REAL-TIME 3D DIGITAL TWIN CANVAS */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.15s var(--ease-out), transform 7s ease-out;
}

.hero-slide-img.active {
  opacity: 1;
  transform: scale(1.01);
}

.hero-twin-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: auto;
  cursor: grab;
  opacity: 1;
  transition: opacity 0.65s var(--ease-out);
}

.hero-twin-canvas:active {
  cursor: grabbing;
}

.hero.mode-3d-solid .hero-slides,
.hero.mode-xray .hero-slides {
  opacity: 0.12;
  filter: saturate(0.7) contrast(1.1);
  transition: opacity 0.65s var(--ease-out);
}

.hero.mode-3d-solid .hero-scrim,
.hero.mode-xray .hero-scrim {
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(4, 11, 24, 0.95) 0%, rgba(4, 11, 24, 0.84) 33%, rgba(4, 11, 24, 0.24) 50%, rgba(4, 11, 24, 0) 68%),
    linear-gradient(180deg, rgba(4, 11, 24, 0.42) 0%, transparent 20%, rgba(4, 11, 24, 0.86) 100%);
  pointer-events: none;
}

.hero.mode-photo .hero-twin-canvas,
.hero.mode-photo .hero-ar-layer,
.hero.mode-photo .hero-3d-hint {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Allow dragging the 3D scene directly behind the open right side of hero-body */
.hero-body {
  pointer-events: none;
}

.hero-body a,
.hero-body button,
.hero-body .hero-dossier-card,
.hero-body .hero-controls-strip,
.hero-body .hero-slide-nav,
.hero-body .hero-cta-row {
  pointer-events: auto;
}

/* Hide heavy right dossier card in live 3D modes so the 3D Monumental Bridge shines unobstructed! */
.hero.mode-3d-solid .hero-dossier-card,
.hero.mode-xray .hero-dossier-card {
  display: none;
}

.hero-3d-hint {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  bottom: 122px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(5, 13, 26, 0.78);
  border: 1px solid rgba(230, 164, 30, 0.38);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-light-secondary);
  pointer-events: none;
  transition: opacity 0.4s;
}

.hero-3d-hint strong {
  color: var(--gold-bright);
}

/* 3D-Projected Live AR Engineering Pins */
.hero-ar-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
}

.ar-3d-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 7px;
  border-radius: 999px;
  background: rgba(5, 13, 26, 0.82);
  border: 1px solid rgba(247, 195, 72, 0.55);
  backdrop-filter: blur(10px);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  margin-left: -12px;
  margin-top: -16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s, border-color 0.2s, background 0.2s;
  text-align: left;
}

.ar-3d-pin:hover {
  background: rgba(230, 164, 30, 0.96);
  border-color: #ffffff;
  color: var(--obsidian);
}

.ar-3d-pin:hover small {
  color: rgba(5, 13, 26, 0.8);
}

.ar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-bright);
  flex-shrink: 0;
}

.ar-text strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.ar-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .hero-ar-layer,
  .hero-3d-hint {
    display: none !important;
  }

  .hero.mode-3d-solid .hero-twin-canvas,
  .hero.mode-xray .hero-twin-canvas {
    opacity: 0.88;
  }
}

.hero-controls-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-mode-toggle {
  display: inline-flex;
  background: rgba(5, 13, 26, 0.84);
  border: 1px solid rgba(230, 164, 30, 0.42);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(14px);
  gap: 4px;
}

.hero-mode-btn {
  border: 0;
  background: transparent;
  color: var(--ink-light-secondary);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.22s;
}

.hero-mode-btn.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--obsidian);
  font-weight: 700;
}

/* Multi-Slide Progress Indicators */
.hero-slide-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 680px;
}

.hero-slide-tab {
  background: rgba(8, 20, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 11px 14px;
  text-align: left;
  color: var(--muted-light);
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}

.hero-slide-tab::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: var(--gold-bright);
}

.hero-slide-tab.active {
  border-color: rgba(230, 164, 30, 0.55);
  background: rgba(12, 29, 54, 0.88);
  color: #ffffff;
}

.hero-slide-tab.active::after {
  width: 100%;
  transition: width 6.5s linear;
}

.hero-slide-tab span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
}

.hero-slide-tab strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  margin-top: 2px;
  font-weight: 600;
}

/* 6. LIVE PHYSICS DIGITAL TWIN SIMULATOR CONSOLE (INSIDE BRIDGE ANATOMY) */
.physics-console {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(4, 11, 22, 0.86);
  border: 1px solid rgba(230, 164, 30, 0.28);
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 16px;
  align-items: center;
}

.physics-slider-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-light-secondary);
  margin-bottom: 6px;
}

.physics-slider-group label strong {
  color: var(--gold-bright);
}

.ses-range {
  width: 100%;
  accent-color: var(--gold-bright);
  cursor: pointer;
  height: 5px;
}

.physics-hud-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hud-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  padding: 7px 9px;
  text-align: center;
}

.hud-pill span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted-light);
  letter-spacing: 0.08em;
}

.hud-pill strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-bright);
  margin-top: 2px;
}

.seismic-btn {
  background: rgba(158, 33, 39, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #fecaca;
  padding: 10px 14px;
  border-radius: 11px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.22s;
}

.seismic-btn:hover,
.seismic-btn.active {
  background: #b91c1c;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.5);
}

/* SVG Live Physics Shock Pulse */
.stu-shock-wave {
  opacity: 0;
  transition: opacity 0.25s;
}

svg.seismic-active .stu-shock-wave {
  opacity: 1;
  animation: seismicFlash 0.65s ease-in-out infinite alternate;
}

@keyframes seismicFlash {
  from { stroke-opacity: 0.35; stroke-width: 2; }
  to { stroke-opacity: 1; stroke-width: 4.5; }
}

/* 7. BEFORE VS. AFTER BRIDGE REHAB SLIDER & JOINT MOVEMENT CALCULATOR */
.dual-lab-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}

.ba-panel,
.joint-calc-card {
  background: var(--surface);
  border: 1px solid var(--light-line-strong);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ba-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  border: 1px solid rgba(230, 164, 30, 0.35);
  background: var(--obsidian);
}

.ba-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2.5px solid var(--gold-bright);
}

.ba-before-clip img {
  width: 100%;
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--obsidian);
  border: 2.5px solid #ffffff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 4;
}

.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.ba-tag.before { left: 14px; background: rgba(158, 33, 39, 0.88); color: #ffffff; }
.ba-tag.after { right: 14px; background: rgba(5, 13, 26, 0.88); color: var(--gold-bright); border: 1px solid rgba(230, 164, 30, 0.55); }

.calc-result-box {
  background: linear-gradient(155deg, var(--obsidian) 0%, var(--navy) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border-left: 3px solid var(--gold);
  margin-top: 16px;
}

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.calc-metric-cell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 11px 13px;
}

.calc-metric-cell span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--muted-light);
  letter-spacing: 0.08em;
}

.calc-metric-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin-top: 2px;
}

/* 8. PINNED APPLE-STYLE SCROLLYTELLING CHAPTERS */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.story-sticky-stage {
  position: sticky;
  top: 104px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(230, 164, 30, 0.32);
  background: var(--obsidian);
  box-shadow: var(--shadow-lg);
}

.story-visual-box {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.story-visual-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.65s var(--ease-out), transform 0.8s var(--ease-out);
}

.story-visual-box img.active {
  opacity: 1;
  transform: scale(1);
}

.story-stage-meta {
  padding: 20px 24px;
  background: rgba(5, 13, 26, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.story-chapters {
  display: grid;
  gap: 18px;
}

.story-chapter {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.story-chapter.active,
.story-chapter:hover {
  background: rgba(230, 164, 30, 0.09);
  border-color: var(--gold);
  transform: translateX(6px);
}

.story-chapter .ch-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  margin-bottom: 8px;
  display: block;
}

.story-chapter h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: #ffffff;
  margin: 0 0 8px;
}

.story-chapter p {
  font-size: 0.9rem;
  color: var(--ink-light-secondary);
  margin: 0;
  line-height: 1.62;
}

/* 9. SPATIAL PAN-INDIA CORRIDOR RADAR MAP */
.india-radar-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.india-map-card {
  position: relative;
  background: radial-gradient(circle at 46% 36%, rgba(230, 164, 30, 0.12), rgba(5, 13, 26, 0.96) 65%);
  border: 1px solid rgba(230, 164, 30, 0.28);
  border-radius: var(--radius-xl);
  padding: 24px;
  overflow: hidden;
}

.india-map-card svg {
  width: 100%;
  max-height: 460px;
  display: block;
  margin-inline: auto;
}

.radar-arc {
  stroke-dasharray: 6 6;
  animation: arcFlow 20s linear infinite;
}

@keyframes arcFlow {
  from { stroke-dashoffset: 240; }
  to { stroke-dashoffset: 0; }
}

.corridor-node {
  cursor: pointer;
}

.corridor-node circle.ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: cadPulse 2.6s ease-out infinite;
  pointer-events: none;
}

.corridor-node.active circle.dot {
  fill: #ffffff;
  stroke: var(--gold-bright);
  stroke-width: 3.5;
}

.corridor-detail-card {
  background: linear-gradient(180deg, #0d203d 0%, #071326 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.corridor-btn-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

/* 10. MNC GOVERNANCE, ZERO-HARM HSE, ESG & CAREERS */
.hse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hse-card {
  background: var(--surface);
  border: 1px solid var(--light-line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.hse-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

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

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

.career-card {
  background: var(--surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

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

/* 11. GLOBAL AI CO-PILOT & INSTANT TECHNICAL SEARCH PALETTE */
.copilot-panel {
  background: #071326;
  color: var(--ink-light);
  width: min(820px, 100%);
  max-height: 88vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(230, 164, 30, 0.45);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.72);
}

.copilot-top {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 13, 26, 0.9);
}

.copilot-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(230, 164, 30, 0.4);
  border-radius: 14px;
  padding: 6px 10px 6px 16px;
}

.copilot-input-row input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 9px 0;
  outline: none;
}

.copilot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.copilot-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-light-secondary);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.74rem;
  transition: all 0.2s;
}

.copilot-chip:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.copilot-body {
  padding: 22px 24px;
  overflow-y: auto;
  display: grid;
  gap: 18px;
}

.copilot-ai-card {
  background: linear-gradient(155deg, rgba(16, 39, 73, 0.8), rgba(8, 20, 38, 0.95));
  border: 1px solid rgba(230, 164, 30, 0.42);
  border-radius: 16px;
  padding: 20px;
}

.copilot-results {
  display: grid;
  gap: 10px;
}

.copilot-hit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #ffffff;
  text-align: left;
  transition: all 0.2s;
}

.copilot-hit:hover {
  background: rgba(230, 164, 30, 0.14);
  border-color: var(--gold);
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR 2050 + MNC MODULES
   ========================================================================== */
@media (max-width: 1120px) {
  .dual-lab-grid,
  .story-grid,
  .india-radar-grid {
    grid-template-columns: 1fr;
  }

  .story-sticky-stage {
    position: static;
  }

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

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

  .physics-console {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hdr-icon-btn .hdr-lbl,
  .hdr-kbd {
    display: none;
  }

  .hdr-icon-btn {
    width: 38px;
    padding: 0;
  }

  .hero-slide-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .hse-grid,
  .career-grid {
    grid-template-columns: 1fr;
  }

  .hero-controls-strip {
    gap: 10px;
    margin-bottom: 14px;
  }

  .hero-mode-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 16px;
    padding: 5px;
  }

  .hero-mode-btn {
    padding: 8px 6px;
    font-size: 0.63rem;
    text-align: center;
  }

  .hero-slide-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-slide-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-slide-tab {
    min-width: 195px;
    flex-shrink: 0;
  }

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

  .ba-panel,
  .joint-calc-card,
  .corridor-detail-card,
  .india-map-card {
    padding: 18px;
  }

  .story-chapter {
    padding: 18px;
  }

  .story-chapter.active,
  .story-chapter:hover {
    transform: none;
  }

  .copilot-top,
  .copilot-body {
    padding: 16px;
  }

  /* Clean zero-overlap Before/After tags on mobile */
  .ba-tag {
    font-size: 0.58rem;
    padding: 4px 8px;
    letter-spacing: 0.07em;
  }

  .ba-tag.before {
    top: 10px;
    left: 10px;
  }

  .ba-tag.after {
    top: auto;
    bottom: 10px;
    right: 10px;
  }

  /* Ultra-compact header controls for 360px Android perfection */
  .header-actions {
    gap: 5px;
    flex-shrink: 0;
  }

  .hdr-icon-btn {
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 385px) {
  .brand-emblem-box {
    padding: 3px 5px;
  }

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

  .brand-text strong {
    font-size: 0.84rem;
  }

  .brand-text small {
    font-size: 0.48rem;
    letter-spacing: 0.06em;
  }
}
