:root {
  --green: #a9df43;
  --green2: #d2f47d;
  --ink: #030504;
  --panel: rgba(2, 7, 4, .84);
  --line: rgba(169, 223, 67, .32);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #010302; color: #eef3ef; }
body { font-family: Arial, Helvetica, sans-serif; overflow-x: hidden; font-size: 16px; }
button { font: inherit; }

.site {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(57, 92, 66, .13), transparent 40%),
    radial-gradient(ellipse at 50% 92%, rgba(34, 75, 45, .10), transparent 42%),
    linear-gradient(180deg, #010202 0%, #020605 68%, #010302 100%);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
}

/* 16:9 Stage Container locks image, canvas, and hotspots in perfect 1:1 sync on any screen */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1621 / 970;
  max-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: auto;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}
.hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}
.hero-art-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 54%, rgba(0,0,0,.16) 82%, rgba(0,0,0,.48) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), transparent 28%, transparent 78%, rgba(0,0,0,.28));
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.scene canvas { width: 100% !important; height: 100% !important; display: block; }

/* Semantic fallback hidden from visual render */
.hero .topbar,
.hero .hero-copy,
.hero .hero-callout,
.hero .legend,
.hero .mobile-route,
.hero .cta { display: none; }

.hero-hotspots {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.hero-hotspot {
  position: absolute;
  z-index: 20;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
}
.hero-menu-hotspot { top: 2.2%; right: 1.2%; width: 50px; height: 50px; }
.hero-enter-hotspot { left: 50%; bottom: 6.8%; transform: translateX(-50%); width: 22%; height: 9%; }

.hotspot-node-1 { left: 1.5%; top: 44%; width: 9%; height: 42%; }
.hotspot-node-2 { left: 11.5%; top: 22%; width: 14%; height: 64%; }
.hotspot-node-3 { left: 28.5%; top: 44%; width: 10%; height: 42%; }
.hotspot-node-4 { left: 40.5%; top: 38%; width: 10%; height: 48%; }
.hotspot-node-5 { left: 57.5%; top: 42%; width: 10%; height: 44%; }
.hotspot-node-6 { left: 69.5%; top: 34%; width: 16%; height: 42%; }

@media (max-width: 649px) {
  .hero {
    min-height: 100svh;
  }
  .hero-stage {
    width: calc(100% - 16px);
    aspect-ratio: 1621 / 970;
    max-height: 85svh;
    margin: auto;
  }
  .hero-enter-hotspot { bottom: 6.5%; width: 28%; height: 9.5%; }
}

/* =========================================================
   SECTION 02 — ENGINEERING EVOLUTION
   Tight full-width connected timeline composition.
   Content remains sourced from the existing portfolio data.
   ========================================================= */
.profile-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(169,223,67,.045), transparent 34%),
    radial-gradient(circle at 82% 84%, rgba(47,91,62,.08), transparent 28%),
    linear-gradient(180deg, #020605 0%, #050a08 100%);
  border-top: 1px solid rgba(169,223,67,.10);
}
.profile-grid-bg {
  position:absolute; inset:0; pointer-events:none; opacity:.38;
  background-image:
    linear-gradient(rgba(169,223,67,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,223,67,.035) 1px, transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}
.profile-inner { position:relative; z-index:2; width:min(1500px, calc(100% - 48px)); margin:0 auto; padding:44px 0 36px; }
.section-kicker { display:flex; align-items:center; gap:12px; color:var(--green); font-size:14px; font-weight:900; letter-spacing:.12em; }
.section-kicker span { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(169,223,67,.45); border-radius:8px; background:rgba(2,8,4,.5); }

.evolution-header { position:relative; margin-top:24px; }
.evolution-header h2 { margin:0; width:100%; color:#f0f4f1; font-size:clamp(54px, 5.65vw, 92px); line-height:.94; letter-spacing:-.055em; font-weight:900; text-transform:uppercase; text-wrap:balance; }
.evolution-header h2 em { color:var(--green); font-style:normal; }
.evolution-rule { width:92px; height:2px; margin:12px 0 12px; background:var(--green); box-shadow:0 0 14px rgba(169,223,67,.35); }
.evolution-header p { max-width:900px; margin:0; color:#c7d0cb; font-size:17px; line-height:1.5; }

.evolution-track { position:relative; margin-top:28px; }
.evolution-line { position:absolute; left:1.2%; right:1.2%; top:41px; height:1px; background:linear-gradient(90deg, rgba(169,223,67,.12), rgba(169,223,67,.72) 7%, rgba(169,223,67,.72) 93%, rgba(169,223,67,.12)); box-shadow:0 0 8px rgba(169,223,67,.16); }
.evolution-line::before, .evolution-line::after { content:""; position:absolute; top:-3px; width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 12px rgba(169,223,67,.8); }
.evolution-line::before { left:0; }.evolution-line::after { right:0; }
.evolution-stages { display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:12px; position:relative; }
.evolution-stage { min-width:0; position:relative; }
.evolution-node-wrap { position:relative; height:74px; display:flex; justify-content:center; align-items:flex-start; }
.evolution-icon { position:relative; z-index:2; width:72px; height:72px; display:grid; place-items:center; color:var(--green); border:1px solid rgba(169,223,67,.58); border-radius:50%; background:radial-gradient(circle, rgba(169,223,67,.10), rgba(3,10,6,.95) 66%); box-shadow:0 0 0 7px rgba(169,223,67,.025), 0 0 22px rgba(169,223,67,.14); }
.evolution-icon-glow { position:absolute; inset:8px; border-radius:50%; border:1px solid rgba(169,223,67,.20); }
.evolution-icon svg { width:42px; height:42px; position:relative; z-index:1; }
.evolution-arrow { position:absolute; z-index:4; top:29px; right:-10px; color:var(--green); font-size:29px; line-height:1; font-weight:300; text-shadow:0 0 12px rgba(169,223,67,.45); pointer-events:none; }
.evolution-card { position:relative; min-height:250px; margin-top:20px; padding:34px 24px 22px; border:1px solid rgba(169,223,67,.20); border-radius:14px; background:linear-gradient(150deg, rgba(11,20,15,.78), rgba(3,9,6,.92)); box-shadow:0 14px 42px rgba(0,0,0,.22); }
.evolution-card-label { color:#f0f4f1; text-align:center; font-size:13px; font-weight:900; letter-spacing:.08em; }
.evolution-card-rule { width:48px; height:2px; margin:11px auto 14px; background:var(--green); box-shadow:0 0 10px rgba(169,223,67,.25); }
.evolution-card h3 { margin:0; color:var(--green); text-align:center; font-size:19px; line-height:1.2; }
.evolution-card p { margin:19px 0 0; color:#c3ccc7; font-size:14px; line-height:1.5; }

.evolution-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 16px 22px;
  border: 1px solid rgba(169,223,67,.20);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(8,17,12,.80), rgba(3,9,6,.9));
}
.footer-statement {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
}
.footer-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  color: var(--green);
  border: 1px solid rgba(169,223,67,.42);
  border-radius: 12px;
  background: rgba(169,223,67,.025);
}
.footer-mark svg { width: 30px; height: 30px; }
.footer-statement p {
  margin: 0;
  color: #e5ebe7;
  font-size: 14.5px;
  line-height: 1.45;
}
.footer-statement p strong { color: var(--green); }
.footer-pills {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.footer-pill {
  min-height: 48px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 10px;
  align-items: center;
  border-left: 1px solid rgba(169,223,67,.20);
  color: #e9eeeb;
}
.footer-pill span {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green);
  border: 1px solid rgba(169,223,67,.25);
  border-radius: 10px;
}
.footer-pill span svg { width: 22px; height: 22px; }
.footer-pill b { align-self: end; font-size: 13.5px; line-height: 1.15; }
.footer-pill small { align-self: start; color: #9eaaa3; font-size: 11.5px; line-height: 1.25; }

@media (min-width:1101px) {
  .evolution-header h2 { white-space:nowrap; text-wrap:unset; }
}

@media (min-width:650px) and (max-width:1100px) {
  .profile-inner { width:calc(100% - 42px); padding:42px 0 34px; }
  .evolution-header { margin-top:22px; }
  .evolution-header h2 { font-size:clamp(48px, 6.2vw, 72px); }
  .evolution-header p { font-size:15px; max-width:760px; }
  .evolution-track { margin-top:25px; overflow-x:auto; padding-bottom:5px; }
  .evolution-stages { grid-template-columns:repeat(6, minmax(155px,1fr)); min-width:970px; gap:8px; }
  .evolution-card { min-height:228px; padding:31px 17px 18px; }
  .evolution-card-label { font-size:12px; }.evolution-card h3{font-size:17px}.evolution-card p{font-size:12px;line-height:1.5;margin-top:16px}
  .evolution-arrow { right:-9px; }
  .evolution-footer { flex-direction:column; align-items:stretch; gap:16px; padding:16px; }
  .footer-pills { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
  .footer-pill { border-left:0; border-top:1px solid rgba(169,223,67,.20); padding:8px 0; }
}

@media (max-width:649px) {
  .profile-inner { width:calc(100% - 28px); padding:36px 0 30px; }
  .section-kicker { font-size:12px; }.section-kicker span{width:30px;height:30px}
  .evolution-header { margin-top:25px; }
  .evolution-header h2 { font-size:clamp(38px, 10.8vw, 58px); line-height:.94; letter-spacing:-.045em; }
  .evolution-rule { width:68px; margin:13px 0 11px; }
  .evolution-header p { font-size:13px; line-height:1.55; }
  .evolution-track { margin-top:28px; }
  .evolution-line { left:31px; right:auto; top:0; bottom:0; width:1px; height:auto; background:linear-gradient(180deg, rgba(169,223,67,.10), rgba(169,223,67,.65) 8%, rgba(169,223,67,.65) 92%, rgba(169,223,67,.10)); }
  .evolution-line::before { top:0; left:-3px; }.evolution-line::after { right:auto; left:-3px; top:auto; bottom:0; }
  .evolution-stages { display:grid; grid-template-columns:1fr; gap:10px; }
  .evolution-stage { display:grid; grid-template-columns:64px 1fr; gap:12px; align-items:start; }
  .evolution-node-wrap { height:64px; justify-content:flex-start; }
  .evolution-icon { width:58px; height:58px; }.evolution-icon svg{width:34px;height:34px}
  .evolution-arrow { display:none; }
  .evolution-card { margin-top:0; min-height:0; padding:16px 15px 15px; border-radius:12px; }
  .evolution-card-label { text-align:left; font-size:11px; }.evolution-card-rule{margin:8px 0 10px;width:40px}.evolution-card h3{text-align:left;font-size:16px}.evolution-card p{margin-top:10px;font-size:12px;line-height:1.55}
  .evolution-footer { flex-direction:column; align-items:stretch; gap:14px; padding:14px; }
  .footer-statement { flex-direction:column; align-items:flex-start; gap:10px; }
  .footer-pills { display:grid; grid-template-columns:1fr; gap:8px; }
  .footer-pill { border-left:0; border-top:1px solid rgba(169,223,67,.20); padding:8px 0; }
}

/* =========================================================
   SECTION 03 — AI × NETWORK ENGINEERING
   ========================================================= */
.ai-section{position:relative;min-height:100svh;overflow:hidden;background:radial-gradient(circle at 78% 28%,rgba(169,223,67,.075),transparent 26%),radial-gradient(circle at 16% 65%,rgba(169,223,67,.045),transparent 28%),linear-gradient(180deg,#020605 0%,#030906 100%);border-top:1px solid rgba(169,223,67,.10)}
.ai-grid-bg{position:absolute;inset:0;pointer-events:none;opacity:.30;background-image:linear-gradient(rgba(169,223,67,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(169,223,67,.028) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to bottom,transparent,black 8%,black 92%,transparent)}
.ai-circuit-glow{position:absolute;width:72%;height:42%;right:-10%;top:25%;opacity:.30;pointer-events:none;background:radial-gradient(ellipse,rgba(169,223,67,.13),transparent 62%);filter:blur(18px)}
.ai-inner{position:relative;z-index:2;width:min(1500px,calc(100% - 48px));margin:0 auto;padding:44px 0}
.ai-header-block{display:grid;grid-template-columns:minmax(320px, 1.1fr) minmax(0, 1fr);gap:clamp(20px,3.5vw,48px);align-items:end;margin-bottom:22px}
.ai-title-column{min-width:0}
.ai-title-column h2{margin:12px 0 0;color:#f0f4f1;font-size:clamp(40px,4vw,64px);line-height:.98;letter-spacing:-.045em;font-weight:950;text-transform:none}
.ai-title-column h2 em{color:var(--green);font-style:normal}
.ai-title-rule{width:64px;height:3px;margin:18px 0 0;background:var(--green);box-shadow:0 0 14px rgba(169,223,67,.42)}
.ai-lead{margin:0;color:#d0d8d3;font-size:clamp(16px, 1.2vw, 19px);line-height:1.55;max-width:680px}
.ai-pipeline{position:relative;display:grid;grid-template-columns:repeat(5,1fr);min-height:210px;padding:24px 18px 20px;border:1px solid rgba(169,223,67,.25);border-radius:14px;background:linear-gradient(150deg,rgba(9,18,13,.82),rgba(3,9,6,.92));box-shadow:0 20px 60px rgba(0,0,0,.24);overflow:hidden}
.pipeline-ambient{position:absolute;inset:0;background:radial-gradient(circle at 50% 28%,rgba(169,223,67,.10),transparent 25%),linear-gradient(90deg,transparent 0 19%,rgba(169,223,67,.025) 20% 20.2%,transparent 21% 39%,rgba(169,223,67,.025) 40% 40.2%,transparent 41% 59%,rgba(169,223,67,.025) 60% 60.2%,transparent 61% 79%,rgba(169,223,67,.025) 80% 80.2%,transparent 81%);pointer-events:none}
.pipeline-step{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;color:#e3ebe6;padding:0 10px}
.pipeline-icon{width:76px;height:76px;display:grid;place-items:center;margin-top:2px;border:1px solid rgba(169,223,67,.68);border-radius:18px;color:var(--green);background:rgba(3,10,6,.75);box-shadow:0 0 22px rgba(169,223,67,.08);transition:all .3s ease}
.pipeline-icon svg{width:42px;height:42px}
.pipeline-step.is-active .pipeline-icon{transform:translateY(-4px) scale(1.05);background:radial-gradient(circle,rgba(169,223,67,.24),rgba(5,13,8,.92) 70%);box-shadow:0 0 0 7px rgba(169,223,67,.04),0 0 42px rgba(169,223,67,.35),inset 0 0 30px rgba(169,223,67,.10)}
.pipeline-step strong{margin-top:14px;color:var(--green);font-size:14.5px;letter-spacing:.08em;font-weight:900}
.pipeline-step:not(.is-active) strong{color:#c4cfc8}
.pipeline-step small{margin-top:8px;color:#d1d9d4;font-size:12.5px;line-height:1.45}
.pipeline-arrow{position:absolute;right:-10px;top:38px;color:var(--green);font-size:24px;text-shadow:0 0 12px rgba(169,223,67,.45)}
.ai-dashboard{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1.22fr);gap:20px;margin-top:20px;align-items:stretch}
.ai-focus-panel,.ai-credential{border:1px solid rgba(169,223,67,.22);border-radius:14px;background:linear-gradient(145deg,rgba(8,17,12,.86),rgba(3,9,6,.94));box-shadow:0 16px 45px rgba(0,0,0,.20);display:flex;flex-direction:column}
.ai-focus-panel{padding:22px 24px}
.ai-panel-kicker,.credential-topline{color:var(--green);font-size:13px;font-weight:950;letter-spacing:.15em}
.ai-focus-list{margin-top:12px;display:flex;flex-direction:column}
.ai-focus-item{display:grid;grid-template-columns:40px 1fr 18px;gap:14px;align-items:center;min-height:64px;border-top:1px solid rgba(255,255,255,.08);padding:6px 0}
.ai-focus-item:first-child{border-top:0}
.focus-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(169,223,67,.40);border-radius:50%;color:var(--green);background:rgba(169,223,67,.025);flex-shrink:0}
.focus-icon svg{width:20px;height:20px}
.focus-copy{min-width:0}
.focus-copy strong{display:block;color:#e9efeb;font-size:14.5px}
.focus-copy p{margin:3px 0 0;color:#b2bdb6;font-size:12px;line-height:1.4}
.focus-chevron{color:var(--green);font-size:22px;justify-self:end}
.ai-credential{padding:22px 26px}
.credential-topline{display:flex;justify-content:space-between;gap:15px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}
.credential-status{color:#8e9a92;font-size:11px;letter-spacing:.10em}
.credential-body{display:grid;grid-template-columns:210px 1fr;gap:26px;align-items:center;min-height:245px;margin-top:auto;margin-bottom:auto}
.credential-badge{position:relative;width:180px;height:180px;margin:auto;display:grid;place-items:center;border-radius:50%;color:var(--green);background:radial-gradient(circle,rgba(169,223,67,.12),rgba(3,10,6,.94) 64%);box-shadow:0 0 46px rgba(169,223,67,.08),inset 0 0 38px rgba(169,223,67,.05)}
.credential-orbit{position:absolute;border:1px solid rgba(169,223,67,.34);border-radius:50%}
.orbit-a{inset:18px -6px;transform:rotate(24deg)}
.orbit-b{inset:-6px 18px;transform:rotate(-26deg)}
.orbit-c{inset:7px;border-style:dashed;border-color:rgba(169,223,67,.18)}
.credential-shield{position:relative;z-index:2;width:112px;height:128px;display:flex;flex-direction:column;align-items:center;justify-content:center;clip-path:polygon(50% 0,90% 18%,90% 67%,50% 100%,10% 67%,10% 18%);background:linear-gradient(145deg,rgba(169,223,67,.18),rgba(3,11,6,.96));border:2px solid var(--green);box-shadow:0 0 32px rgba(169,223,67,.18)}
.credential-shield span{font-size:36px;font-weight:950}
.credential-shield b{font-size:13px;margin-top:5px}
.credential-copy{min-width:0}
.credential-brand{color:#dbe3de;font-size:16px;font-weight:900}
.credential-copy h3{margin:6px 0 4px;color:var(--green);font-size:32px;line-height:1.05;letter-spacing:-.03em}
.credential-copy p{margin:0;color:#dbe3de;font-size:14.5px}
.credential-copy small{display:block;max-width:610px;margin-top:16px;color:#a4afa8;font-size:12.5px;line-height:1.55}
.credential-valid{display:inline-block;margin-top:14px;padding:7px 12px;border:1px solid rgba(169,223,67,.36);border-radius:999px;color:#cbd4cf;font-size:11px;font-weight:900;letter-spacing:.09em;background:rgba(169,223,67,.025)}
.ai-bottom-band{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.6fr);align-items:center;margin-top:16px;padding:14px 22px;border:1px solid rgba(169,223,67,.22);border-radius:14px;background:linear-gradient(145deg,rgba(8,17,12,.86),rgba(3,9,6,.94))}
.ai-statement{display:flex;align-items:center;gap:16px;padding-right:24px;border-right:1px solid rgba(255,255,255,.12)}
.statement-icon{width:50px;height:50px;display:grid;place-items:center;border:1px solid rgba(169,223,67,.45);border-radius:12px;color:var(--green);flex-shrink:0}
.statement-icon svg{width:28px;height:28px}
.ai-statement strong,.ai-statement span{display:block}
.ai-statement strong{color:var(--green);font-size:14.5px}
.ai-statement span{margin-top:3px;color:#e0e7e3;font-size:13.5px}
.ai-impact{display:grid;grid-template-columns:repeat(4,1fr)}
.ai-impact>div{display:flex;align-items:center;gap:10px;padding:0 16px;border-left:1px solid rgba(255,255,255,.10)}
.ai-impact b{color:var(--green);font-size:24px;font-weight:400}
.ai-impact span{color:#dce4df;font-size:12.5px;font-weight:800}
.ai-impact small{display:block;margin-top:2px;color:#8f9c94;font-size:10.5px;font-weight:500}

@media (min-width:650px) and (max-width:1100px){
  .ai-inner{width:calc(100% - 42px);padding:38px 0 30px}
  .ai-header-block{grid-template-columns:1fr;gap:16px}
  .ai-pipeline{min-height:210px;padding:18px 12px}
  .pipeline-icon{width:64px;height:64px}
  .pipeline-icon svg{width:36px;height:36px}
  .pipeline-step strong{font-size:13px}
  .pipeline-step small{font-size:11px}
  .ai-dashboard{grid-template-columns:1fr}
  .credential-body{grid-template-columns:180px 1fr}
  .credential-badge{width:150px;height:150px}
  .credential-shield{width:92px;height:106px}
  .ai-bottom-band{grid-template-columns:1fr}
  .ai-statement{border-right:0;border-bottom:1px solid rgba(255,255,255,.10);padding:0 0 12px}
  .ai-impact{padding-top:12px}
}

@media (max-width:649px){
  .ai-inner{width:calc(100% - 28px);padding:32px 0 28px}
  .ai-header-block{grid-template-columns:1fr;gap:14px;margin-bottom:16px}
  .ai-title-column h2{font-size:clamp(36px,9.5vw,52px)}
  .ai-lead{font-size:13.5px;line-height:1.55}
  .ai-pipeline{grid-template-columns:1fr;gap:7px;min-height:0;padding:13px 12px}
  .pipeline-step{display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:8px 2px;border-bottom:1px solid rgba(255,255,255,.06)}
  .pipeline-step:last-child{border-bottom:0}
  .pipeline-icon{grid-row:1/span 2;width:44px;height:44px;margin:0;border-radius:10px}
  .pipeline-icon svg{width:26px;height:26px}
  .pipeline-step strong{grid-column:2;grid-row:1;margin:0;font-size:13px}
  .pipeline-step small{grid-column:2;grid-row:2;margin:2px 0 0;font-size:11px;line-height:1.4}
  .pipeline-arrow{display:none}
  .ai-dashboard{grid-template-columns:1fr;gap:12px;margin-top:14px}
  .ai-focus-panel{padding:16px}
  .ai-focus-item{grid-template-columns:32px 1fr 14px;gap:10px;min-height:58px}
  .focus-icon{width:30px;height:30px}
  .focus-icon svg{width:16px;height:16px}
  .focus-copy strong{font-size:13px}
  .focus-copy p{font-size:11px}
  .focus-chevron{font-size:18px}
  .ai-credential{padding:16px}
  .credential-topline{display:block}
  .credential-status{display:block;margin-top:7px;font-size:10px}
  .credential-body{grid-template-columns:1fr;gap:12px;min-height:0;padding-top:12px}
  .credential-badge{width:130px;height:130px}
  .credential-shield{width:78px;height:92px}
  .credential-shield span{font-size:26px}
  .credential-copy{text-align:center}
  .credential-copy h3{font-size:26px}
  .credential-copy p{font-size:13.5px}
  .credential-copy small{font-size:11px;margin-top:12px}
  .credential-valid{font-size:10px;margin-top:12px}
  .ai-bottom-band{grid-template-columns:1fr;padding:14px}
  .ai-statement{border-right:0;border-bottom:1px solid rgba(255,255,255,.10);padding:0 0 12px}
  .ai-statement strong{font-size:13px}
  .ai-statement span{font-size:12px}
  .ai-impact{grid-template-columns:1fr 1fr;padding-top:10px}
  .ai-impact>div{padding:8px 7px;border-left:0}
  .ai-impact b{font-size:20px}
  .ai-impact span{font-size:11px}
  .ai-impact small{font-size:9.5px}
}

/* --------------------------------------------------------------------------
   CINEMATIC JOURNEY
   One motion language connects the approved sections without rebuilding them.
   -------------------------------------------------------------------------- */
html { scroll-padding-top: 0; }

.cinematic-shell {
  position: relative;
  isolation: isolate;
  overflow: clip;
  --cinematic-progress: 0;
}

.cinematic-shell > * { position: relative; z-index: 1; }
.cinematic-signal,
.cinematic-vignette {
  position: fixed !important;
  inset: 0;
  pointer-events: none;
  z-index: 60 !important;
}
.cinematic-signal {
  opacity: 0;
  background:
    radial-gradient(circle at 50% 54%, rgba(169,223,67,.11), transparent 14%),
    linear-gradient(90deg, transparent 0%, rgba(169,223,67,.045) 48%, transparent 52%, transparent 100%);
  mix-blend-mode: screen;
  transition: opacity .8s ease;
}
.cinematic-vignette {
  background: radial-gradient(ellipse at center, transparent 52%, rgba(0,0,0,.20) 100%);
}
.cinematic-shell[data-active-section="0"] .cinematic-signal { opacity: .2; }
.cinematic-shell[data-active-section="1"] .cinematic-signal { opacity: .12; }
.cinematic-shell[data-active-section="2"] .cinematic-signal { opacity: .10; }
.cinematic-shell[data-active-section="3"] .cinematic-signal { opacity: .16; }

.cinematic-ready [data-cinematic="true"] {
  --cinematic-y: 0px;
  --cinematic-scale: 1;
  transition:
    opacity .72s cubic-bezier(.22,.61,.36,1),
    transform .85s cubic-bezier(.22,.61,.36,1),
    filter .85s ease;
  will-change: transform, opacity;
}
.cinematic-ready [data-cinematic-state="future"] {
  opacity: .74;
  transform: translate3d(0, 22px, 0) scale(.994);
  filter: saturate(.86);
}
.cinematic-ready [data-cinematic-state="active"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
}
.cinematic-ready [data-cinematic-state="passed"] {
  opacity: .96;
  transform: none;
  filter: none;
}

/* A quiet handoff line makes section changes feel like one network signal. */
.cinematic-ready [data-cinematic="true"]::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(169,223,67,.28), transparent);
  opacity: .45;
}

.cinematic-nav {
  position: fixed !important;
  z-index: 70 !important;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 6px;
  width: 54px;
  padding: 8px;
  border: 1px solid rgba(169,223,67,.2);
  border-radius: 18px;
  background: rgba(2,6,4,.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 55px rgba(0,0,0,.35);
  transition: width .28s ease, border-color .28s ease;
}
.cinematic-nav-line {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 26px;
  width: 1px;
  background: linear-gradient(rgba(169,223,67,.05), rgba(169,223,67,.42), rgba(169,223,67,.05));
  pointer-events: none;
}
.cinematic-nav button {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #87938c;
  cursor: pointer;
  padding: 7px 4px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.cinematic-nav button span {
  display: block;
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(169,223,67,.4);
  border-radius: 50%;
  background: #030805;
  transition: all .25s ease;
}
.cinematic-nav button b {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(2, 7, 4, 0.95);
  border: 1px solid rgba(169, 223, 67, 0.45);
  border-radius: 6px;
  padding: 4px 10px;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.05em;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}
.cinematic-nav button:hover b {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.cinematic-nav button:hover span {
  border-color: var(--green);
  background: rgba(169,223,67,.35);
  transform: scale(1.2);
}
.cinematic-nav button.is-active span {
  width: 12px;
  height: 12px;
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  transform: scale(1.15);
}

/* Menu opens the same navigator on smaller screens. */
.cinematic-nav.is-open { width: 190px; }
.cinematic-nav.is-open button {
  grid-template-columns: 28px 1fr;
  justify-items: start;
  gap: 8px;
  padding-left: 8px;
}
.cinematic-nav.is-open button b { display: block; }

@media (max-width: 1100px) {
  .cinematic-nav { right: 10px; }
}

@media (max-width: 649px) {
  .cinematic-ready [data-cinematic-state="future"] {
    opacity: .86;
    transform: translate3d(0, 14px, 0) scale(.998);
  }
  .cinematic-nav {
    top: 50%;
    bottom: auto;
    right: 6px;
    transform: translateY(-50%);
    width: 24px;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    border-radius: 999px;
    padding: 6px 3px;
    background: rgba(3,9,6,.75);
    border: 1px solid rgba(169,223,67,.22);
    backdrop-filter: blur(8px);
  }
  .cinematic-nav-line { display: none; }
  .cinematic-nav button { min-height: 22px; min-width: 22px; padding: 2px; }
  .cinematic-nav button span { width: 6px; height: 6px; }
  .cinematic-nav button.is-active span { width: 8px; height: 8px; }
  .cinematic-nav.is-open { width: auto; }
  .cinematic-nav.is-open button { grid-template-columns: 1fr; gap: 0; padding: 2px; }
  .cinematic-nav.is-open button b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .cinematic-ready [data-cinematic="true"] { transition: none; }
  .cinematic-signal { display: none; }
}

.cinematic-signal::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(169,223,67,.10), transparent);
  filter: blur(16px);
  animation: cinematic-signal-sweep 6.5s linear infinite;
}
@keyframes cinematic-signal-sweep {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: .7; }
  48% { opacity: .24; }
  92% { opacity: .7; }
  100% { transform: translateY(760%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-signal::before { animation: none; }
}
