/* ==========================================================================
   BioPoints Technologies — Experience Layer
   Homepage-only: cinematic hero, storytelling, Connect the Points, the
   middleware diagram, interactive services/industries, the regional
   network, split-screen opportunity, and the animated process path.
   Built on top of css/style.css tokens (navy/gold, Playfair/Montserrat).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Ambient depth background — a faint, slow node field behind the whole page
   -------------------------------------------------------------------------- */
#ambientField {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}
@media (prefers-color-scheme: dark) { #ambientField { opacity: 0.35; } }

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,45,82,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,45,82,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}
@media (prefers-color-scheme: dark) {
  .bg-grid { background-image: linear-gradient(rgba(242,241,238,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242,241,238,0.05) 1px, transparent 1px); }
}

/* --------------------------------------------------------------------------
   Section scaffolding shared by the experience sections
   -------------------------------------------------------------------------- */
.xsection { position: relative; padding-block: var(--space-9); overflow: clip; }
.xsection--navy { background: var(--color-primary); color: #E7ECF3; }
.xsection--navy h2, .xsection--navy h3 { color: #fff; }
.xsection--navy p { color: #B9C6D6; }
.xsection--navy .eyebrow { color: var(--color-gold); }
.xkicker {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-3);
}
.xsection--navy .xkicker { color: var(--color-gold); }
.xstatement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.xlede { font-size: 1.08rem; color: var(--color-muted); max-width: 52ch; }
.xsection--navy .xlede { color: #B9C6D6; }

/* --------------------------------------------------------------------------
   1. HERO — cinematic, full-bleed animated network
   -------------------------------------------------------------------------- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(1400px 900px at 78% 8%, #163a63 0%, #0F2D52 45%, #071426 100%);
  color: #fff;
  overflow: clip;
}
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #0A1E38 0%, rgba(10,30,56,0.92) 32%, rgba(10,30,56,0.55) 52%, rgba(10,30,56,0.15) 68%, transparent 82%);
}
/* Mobile: the network no longer has a dedicated right-hand column to live
   in (copy runs full-width), so push it back to a quiet ambient layer
   instead of competing with the text — reinterpreted, not just shrunk. */
@media (max-width: 720px) {
  .hero-network { opacity: 0.4; }
  .hero-veil { background: linear-gradient(180deg, rgba(10,30,56,0.55) 0%, rgba(10,30,56,0.88) 55%, #0A1E38 100%); }
}
.hero-v2-inner { position: relative; z-index: 2; padding-block: var(--space-9); }
.hero-v2-copy { max-width: 620px; }
.hero-v2-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: var(--space-5);
}
.hero-v2 .lede { font-size: 1.15rem; color: #C7D3E2; max-width: 54ch; }
.hero-v2 .hero-stats { border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--space-6); margin-top: var(--space-8); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  z-index: 2;
  width: 30px;
  height: 46px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--color-gold);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(18px); opacity: 0; }
  100% { transform: translateY(18px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; top: 16px; } }
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* --------------------------------------------------------------------------
   2. STORYTELLING — horizontal snap scenes ("From Innovation to Market")
   -------------------------------------------------------------------------- */
.story-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: var(--space-7); }
.story-track-wrap { position: relative; }
.story-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
}
.story-track::-webkit-scrollbar { display: none; }
.story-scene {
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-height: 62vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-7);
  padding: var(--space-8) var(--space-8);
  color: #fff;
}
.story-scene-visual { position: relative; aspect-ratio: 4 / 3; }
.story-scene-visual canvas { width: 100%; height: 100%; }
.story-scene-pulse {
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,155,60,0.9), rgba(200,155,60,0));
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.story-scene-pulse::before, .story-scene-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(200,155,60,0.55);
  animation: storyRipple 2.6s ease-out infinite;
}
.story-scene-pulse::after { animation-delay: 1.3s; }
@keyframes storyRipple { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .story-scene-pulse::before, .story-scene-pulse::after { animation: none; display: none; } }

.story-scene-num { font-family: var(--font-display); font-size: 3rem; color: var(--color-gold); line-height: 1; margin-bottom: var(--space-3); }
.story-scene h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: #fff; }
.story-scene p { color: #B9C6D6; font-size: 1.02rem; }
.story-scene-countries { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 var(--space-5); }
.story-scene-countries span {
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 5px 12px; color: #E7ECF3;
}

@media (max-width: 860px) {
  .story-scene { grid-template-columns: 1fr; min-height: auto; padding: var(--space-7) var(--space-6); gap: var(--space-5); }
  .story-scene-visual { aspect-ratio: 16 / 10; }
}

.story-nav { display: flex; align-items: center; justify-content: center; gap: var(--space-5); margin-top: var(--space-6); }
.story-arrow {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--color-border);
  background: var(--color-surface); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  color: var(--color-primary);
}
.story-arrow:hover { border-color: var(--color-gold); transform: translateY(-1px); }
.story-dots { display: flex; gap: 8px; }
.story-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--color-border); cursor: pointer; border: none; padding: 0; transition: background var(--transition), transform var(--transition); }
.story-dot.is-active { background: var(--color-gold); transform: scale(1.3); }

/* --------------------------------------------------------------------------
   3. CONNECT THE POINTS — signature scroll-pinned morph
   -------------------------------------------------------------------------- */
.ctp-spacer { position: relative; height: 220vh; }
.ctp-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(1200px 800px at 50% 30%, #143559 0%, #0F2D52 55%, #071426 100%);
  color: #fff;
  overflow: hidden;
}
.ctp-kicker { position: absolute; top: var(--space-8); left: 50%; transform: translateX(-50%); text-align: center; z-index: 3; }

/* Scroll-progress feedback — makes it unmistakable the section is
   tracking scroll, so it never reads as "stuck" */
.ctp-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 4;
}
.ctp-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left center;
}
.ctp-hint {
  position: absolute;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C7D3E2;
  opacity: 1;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.ctp-hint.is-hidden { opacity: 0; }
.ctp-hint svg { animation: ctpHintBob 1.6s ease-in-out infinite; color: var(--color-gold); }
@keyframes ctpHintBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .ctp-hint svg { animation: none; }
}
.ctp-ring {
  position: relative;
  width: min(78vh, 640px);
  height: min(78vh, 640px);
  max-width: 92vw;
  max-height: 92vw;
}
.ctp-point {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  text-align: center;
  width: 116px;
}
.ctp-point-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-gold); margin: 0 auto 8px; box-shadow: 0 0 0 6px rgba(200,155,60,0.15); }
.ctp-point-num { font-family: var(--font-heading); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--color-gold); display: block; }
.ctp-point-label { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: #E7ECF3; }
.ctp-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ctp-lines path { fill: none; stroke: rgba(200,155,60,0.5); stroke-width: 1px; vector-effect: non-scaling-stroke; }

.ctp-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
}
.ctp-mark img { width: min(30vh, 220px); height: auto; }

.ctp-reveal { position: absolute; bottom: 9%; left: 50%; transform: translateX(-50%); text-align: center; opacity: 0; z-index: 3; width: min(680px, 86vw); }
.ctp-reveal h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: var(--space-3); }
.ctp-reveal p { color: #B9C6D6; }

/* --------------------------------------------------------------------------
   4. MIDDLEWARE — commercial connectivity diagram
   -------------------------------------------------------------------------- */
.mw-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: var(--space-6);
  position: relative;
  min-height: 460px;
}
.mw-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.mw-svg path { fill: none; stroke: rgba(200,155,60,0.4); stroke-width: 1.6; stroke-dasharray: 6 8; animation: mwFlow 6s linear infinite; }
@keyframes mwFlow { to { stroke-dashoffset: -140; } }
@media (prefers-reduced-motion: reduce) { .mw-svg path { animation: none; } }
.mw-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-3); }
.mw-col--right { align-items: flex-end; }
.mw-chip {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow-sm);
  width: fit-content;
}
.mw-hub {
  position: relative; z-index: 1; margin-inline: auto;
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius-lg); padding: var(--space-7) var(--space-6);
  text-align: center; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(200,155,60,0.4);
}
.mw-hub-mark { width: 56px; height: 56px; margin: 0 auto var(--space-4); }
.mw-hub h3 { font-family: var(--font-display); color: #fff; font-size: 1.5rem; margin-bottom: var(--space-3); }
.mw-hub-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.mw-hub-tags span { font-size: 0.72rem; font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.04em; color: var(--color-gold); border: 1px solid rgba(200,155,60,0.4); border-radius: 999px; padding: 4px 10px; }

@media (max-width: 900px) {
  .mw-grid { grid-template-columns: 1fr; min-height: auto; }
  .mw-col, .mw-col--right { align-items: center; }
  .mw-svg { display: none; }
}

/* --------------------------------------------------------------------------
   5. SERVICES — interactive tab panels with mini flow diagrams
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: 340px 1fr; gap: var(--space-7); align-items: start; }
.svc-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
.svc-tab {
  text-align: left; background: none; border: none; cursor: pointer;
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; color: var(--color-muted);
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.svc-tab .svc-tab-num { font-family: var(--font-display); font-size: 0.8rem; margin-right: 8px; color: var(--color-gold-dark); }
.svc-tab:hover { background: var(--color-muted-bg); color: var(--color-primary); }
.svc-tab[aria-selected="true"] { color: var(--color-primary); background: var(--color-muted-bg); border-left-color: var(--color-gold); }
.svc-panels { position: relative; min-height: 420px; }
.svc-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-sm);
}
.svc-panel.is-active { display: grid; }
.svc-panel h3 { font-family: var(--font-display); font-size: 1.7rem; }
.svc-panel-list { margin-top: var(--space-4); }
.svc-panel-list li { display: flex; gap: var(--space-2); align-items: flex-start; color: var(--color-secondary); font-size: 0.92rem; padding-block: var(--space-1); }
.svc-panel-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-primary); }
.svc-diagram { background: var(--color-muted-bg); border-radius: var(--radius-md); padding: var(--space-6); }
.svc-diagram svg { width: 100%; height: auto; }
.svc-diagram-caption { text-align: center; font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600; color: var(--color-muted); margin-top: var(--space-3); letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-tabs { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .svc-tab { border-left: none; border-bottom: 3px solid transparent; padding: var(--space-3) var(--space-4); }
  .svc-tab[aria-selected="true"] { border-bottom-color: var(--color-gold); }
  .svc-panel { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   6. INDUSTRIES SHOWCASE — sector selector with generative backdrops
   -------------------------------------------------------------------------- */
.ind-shell { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow-lg); }
.ind-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms var(--ease-out); }
.ind-bg.is-active { opacity: 1; }
.ind-bg-pharma { background: radial-gradient(circle at 25% 30%, #1B4776 0%, #0F2D52 55%), repeating-radial-gradient(circle at 75% 70%, rgba(200,155,60,0.18) 0 2px, transparent 2px 26px); }
.ind-bg-devices { background: linear-gradient(135deg, #0F2D52 0%, #16345c 60%, #0F2D52 100%); background-image: linear-gradient(135deg,#0F2D52,#16345c 60%,#0F2D52), repeating-linear-gradient(45deg, rgba(200,155,60,0.12) 0 2px, transparent 2px 22px); background-blend-mode: normal; }
.ind-bg-diagnostics { background: linear-gradient(160deg, #0F2D52, #123a66); background-image: linear-gradient(160deg,#0F2D52,#123a66), repeating-linear-gradient(0deg, rgba(200,155,60,0.14) 0 1px, transparent 1px 18px); }
.ind-bg-nutra { background: radial-gradient(circle at 70% 20%, #1B4776, #0F2D52 60%), repeating-radial-gradient(circle at 30% 80%, rgba(200,155,60,0.16) 0 2px, transparent 2px 30px); }
.ind-bg-labs { background: conic-gradient(from 90deg at 60% 40%, #0F2D52, #1B4776, #0F2D52); }
.ind-bg-healthtech { background: linear-gradient(120deg, #0F2D52, #0A1E38); background-image: linear-gradient(120deg,#0F2D52,#0A1E38), repeating-linear-gradient(90deg, rgba(200,155,60,0.1) 0 1px, transparent 1px 34px), repeating-linear-gradient(0deg, rgba(200,155,60,0.1) 0 1px, transparent 1px 34px); }
.ind-bg-equipment { background: radial-gradient(ellipse at 40% 70%, #1B4776, #0F2D52 65%), repeating-linear-gradient(135deg, rgba(200,155,60,0.12) 0 2px, transparent 2px 24px); }
.ind-bg-emerging { background: radial-gradient(circle at 50% 50%, #1f4d82, #0F2D52 70%); }

/* Representative animated illustration per sector — sits behind the copy,
   to the right, so each industry reads visually, not just via a label */
.ind-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
  pointer-events: none;
}
.ind-visual.is-active { opacity: 1; }
.ind-visual svg { width: 62%; height: auto; max-height: 68%; overflow: visible; }
@media (max-width: 760px) {
  .ind-visual { width: 100%; opacity: 0.16; }
  .ind-visual.is-active { opacity: 0.16; }
  .ind-visual svg { width: 78%; }
}

/* Pharma: capsule with orbiting molecule dots */
.icon-orbit { transform-origin: 100px 100px; animation: iconSpin 14s linear infinite; }
@keyframes iconSpin { to { transform: rotate(360deg); } }

/* Devices: EKG line drawing across the monitor */
.icon-ekg { stroke-dasharray: 340; stroke-dashoffset: 340; animation: iconDraw 3.2s ease-in-out infinite; }
@keyframes iconDraw { 0% { stroke-dashoffset: 340; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -340; } }

/* Diagnostics: radar sweep arm */
.icon-sweep { transform-origin: 100px 100px; animation: iconSpin 3.6s linear infinite; }

/* Nutraceuticals: leaf gentle bob */
.icon-bob { animation: iconBob 3s ease-in-out infinite; transform-origin: center; }
@keyframes iconBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Laboratories: rising bubbles */
.icon-bubble { animation: iconRise 3.4s ease-in infinite; }
.icon-bubble:nth-child(2) { animation-delay: 0.7s; }
.icon-bubble:nth-child(3) { animation-delay: 1.5s; }
.icon-bubble:nth-child(4) { animation-delay: 2.2s; }
@keyframes iconRise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.9; } 100% { transform: translateY(-70px); opacity: 0; } }

/* Healthcare Technology: pulsing circuit nodes */
.icon-pulse-node { animation: iconPulse 2.2s ease-in-out infinite; transform-origin: center; }
.icon-pulse-node:nth-child(2) { animation-delay: 0.4s; }
.icon-pulse-node:nth-child(3) { animation-delay: 0.8s; }
.icon-pulse-node:nth-child(4) { animation-delay: 1.2s; }
@keyframes iconPulse { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

/* Medical Equipment: slow precision gear rotation */
.icon-gear { transform-origin: 100px 100px; animation: iconSpin 9s linear infinite; }

/* Emerging Innovation: radiating spark rays */
.icon-ray { animation: iconRay 2.4s ease-in-out infinite; transform-origin: 100px 92px; }
.icon-ray:nth-child(2) { animation-delay: 0.3s; }
.icon-ray:nth-child(3) { animation-delay: 0.6s; }
.icon-ray:nth-child(4) { animation-delay: 0.9s; }
.icon-ray:nth-child(5) { animation-delay: 1.2s; }
@keyframes iconRay { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .icon-orbit, .icon-ekg, .icon-sweep, .icon-bob, .icon-bubble, .icon-pulse-node, .icon-gear, .icon-ray {
    animation: none !important;
  }
  .icon-ekg { stroke-dashoffset: 0; }
}

.ind-content { position: relative; z-index: 2; padding: var(--space-8); min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.ind-panel { display: none; max-width: 560px; }
.ind-panel.is-active { display: block; }
.ind-panel .xkicker { color: var(--color-gold); }
.ind-panel h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; }
.ind-panel p { color: #C7D3E2; }

.ind-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-6); }
.ind-tab {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; color: var(--color-secondary);
  transition: all var(--transition);
}
.ind-tab:hover { border-color: var(--color-gold); }
.ind-tab[aria-selected="true"] { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* --------------------------------------------------------------------------
   7. MIDDLE EAST — stylized regional network
   -------------------------------------------------------------------------- */
.me-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.me-canvas-frame { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; }
.me-canvas-frame canvas { width: 100%; height: 100%; }
.me-note { font-size: 0.82rem; color: var(--color-muted); margin-top: var(--space-3); text-align: center; }
@media (max-width: 900px) { .me-wrap { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   8. TWO SIDES OF THE OPPORTUNITY — split screen
   -------------------------------------------------------------------------- */
.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  --split-bias: 0.5;
}
.split-side {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-8);
}
.split-a { background: var(--color-surface); }
.split-b { background: var(--color-primary); color: #fff; }
.split-b h3, .split-b .xkicker { color: #fff; }
.split-b .xkicker { color: var(--color-gold); }
.split-b p { color: #C7D3E2; }
.split-side h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.split-center {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.split-center canvas { width: 100%; height: 100%; }
.split-glow-a, .split-glow-b {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  transition: opacity 200ms linear;
}
.split-glow-a { background: radial-gradient(500px 400px at 20% 50%, rgba(200,155,60,0.18), transparent 70%); opacity: calc(1 - var(--split-bias)); }
.split-glow-b { background: radial-gradient(500px 400px at 80% 50%, rgba(200,155,60,0.28), transparent 70%); opacity: var(--split-bias); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-center { position: relative; height: 220px; }
}

/* --------------------------------------------------------------------------
   9. PROCESS — animated path
   -------------------------------------------------------------------------- */
.process-wrap { position: relative; max-width: 760px; margin-inline: auto; }
.process-line-svg { position: absolute; left: 27px; top: 0; bottom: 0; width: 4px; height: 100%; }
.process-line-svg path { fill: none; stroke: var(--color-border); stroke-width: 3; }
.process-line-svg path.is-progress { stroke: var(--color-gold); }
.process-step { position: relative; padding-left: 76px; padding-bottom: var(--space-7); opacity: 0.4; transition: opacity 400ms var(--ease-out); }
.process-step.is-active { opacity: 1; }
.process-step:last-child { padding-bottom: 0; }
.process-marker {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-surface); border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--color-muted);
  transition: all 400ms var(--ease-pop);
}
.process-step.is-active .process-marker { border-color: var(--color-gold); color: var(--color-primary); transform: scale(1.08); box-shadow: 0 0 0 6px rgba(200,155,60,0.14); }
.process-step h4 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.process-step p { color: var(--color-muted); margin: 0; max-width: 46ch; }
.process-close { text-align: center; max-width: 560px; margin: var(--space-8) auto 0; }

/* --------------------------------------------------------------------------
   Section transition connectors (visual continuity between sections)
   -------------------------------------------------------------------------- */
.connector-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--color-gold);
  margin: 0 auto; position: relative; z-index: 2;
  box-shadow: 0 0 0 8px rgba(200,155,60,0.12);
}
.connector-line { width: 1px; height: var(--space-8); background: linear-gradient(180deg, var(--color-gold), transparent); margin: 0 auto; }
