  :root{
    --bg:#030b10;
    --bg-alt:#06141c;
    --bg-panel:rgba(10, 28, 38, 0.7);
    --line:rgba(62, 201, 167, 0.15);
    --line-strong:rgba(121, 236, 201, 0.3);
    --teal:#3ec9a7;
    --teal-bright:#79ecc9;
    --gemini-glow:rgba(62, 201, 167, 0.25);
    --blue:#1b4965;
    --amber:#f2a65a;
    --text:#e8f1f2;
    --text-muted:#a3bcc2;
    --text-dim:#688691;
    --display:'Space Grotesk', sans-serif;
    --body:'IBM Plex Sans', sans-serif;
    --mono:'IBM Plex Mono', monospace;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
  }
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--body);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;display:block;}

  /* Enhanced Cyber-Aquatic Grid Background */
  body::before{
    content:"";
    position:fixed;
    inset:0;
    background:
      linear-gradient(rgba(62,201,167,0.01) 1px, transparent 1px),
      linear-gradient(90deg, rgba(62,201,167,0.01) 1px, transparent 1px),
      radial-gradient(ellipse 100% 70% at 50% -10%, rgba(62, 201, 167, 0.12), transparent 60%);
    background-size: 40px 40px, 40px 40px, auto;
    pointer-events:none;
    z-index:0;
  }

  /* Gemini Floating Particle Canvas Layer */
  #geminiParticles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
  }

  .wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
  section{position:relative;z-index:2;}

  ::selection{background:var(--teal);color:var(--bg);}
  :focus-visible{outline:2px solid var(--teal-bright);outline-offset:3px;}

  .eyebrow{
    font-family:var(--mono);
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--teal);
    display:flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:6px;height:6px;
    background:var(--teal-bright);
    border-radius:50%;
    box-shadow:0 0 10px 3px var(--teal-bright);
  }

  h1,h2,h3,h4{font-family:var(--display);font-weight:600;letter-spacing:-0.01em;color:var(--text);}
  h2{font-size:clamp(28px,3.4vw,42px);font-weight:600;}
  h3{font-size:20px;font-weight:600;}
  p{color:var(--text-muted);}

  .section-head{max-width:640px;margin-bottom:48px;}
  .section-head .eyebrow{margin-bottom:14px;}
  .section-head p{margin-top:14px;font-size:16px;}

  /* ---------- DETAILED INDICATORS ---------- */
  .depth-gauge{
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    width:64px;
    z-index:50;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top:88px;
    pointer-events:none;
  }
  .depth-gauge .rule{
    position:relative;
    width:1px;
    flex:1;
    background:linear-gradient(180deg, rgba(62, 201, 167, 0.3), rgba(62, 201, 167, 0.05));
    margin-bottom:24px;
  }
  .depth-gauge .fill{
    position:absolute;
    top:0;left:0;width:100%;
    height:0%;
    background:linear-gradient(180deg, var(--teal-bright), var(--teal));
    box-shadow:0 0 10px 2px var(--teal-bright);
    transition:height 0.08s linear;
  }
  .depth-gauge .marker{
    position:absolute;
    left:-4px;
    top:0%;
    width:9px;height:9px;
    border-radius:50%;
    background:var(--text);
    box-shadow:0 0 12px 4px var(--teal-bright);
    transition:top 0.08s linear;
  }
  .depth-readout{
    font-family:var(--mono);
    font-size:11px;
    color:var(--teal-bright);
    letter-spacing:0.05em;
    writing-mode:vertical-rl;
    text-orientation:mixed;
    margin-bottom:10px;
    white-space:nowrap;
  }
  @media (max-width: 900px){
    .depth-gauge{display:none;}
  }

  /* ---------- MODERN GLASS NAV ---------- */
  header{
    position:fixed;
    top:0;left:0;right:0;
    z-index:100;
    background:rgba(3, 11, 16, 0.7);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--line);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  }
  .nav{
    max-width:1180px;
    margin:0 auto;
    padding:18px 32px 18px 96px;
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  @media (max-width:900px){ .nav{padding:16px 20px;} }
  .logo{
    font-family:var(--display);
    font-weight:700;
    font-size:19px;
    letter-spacing:0.03em;
    display:flex;
    align-items:center;
    gap:10px;
  }
  .logo .mark{
    width:20px;height:20px;
    position:relative;
  }
  .logo .mark svg{width:100%;height:100%;}
  .navlinks{
    display:flex;
    gap:32px;
    font-size:14px;
    color:var(--text-muted);
  }
  .navlinks a{transition:color 0.15s;}
  .navlinks a:hover{color:var(--teal-bright);}
  @media (max-width:900px){ .navlinks{display:none;} }
  .nav-cta{
    display:flex;
    gap:12px;
    align-items:center;
  }

  .btn{
    font-family:var(--mono);
    font-size:12.5px;
    letter-spacing:0.04em;
    padding:10px 18px;
    border-radius:4px;
    border:1px solid var(--line-strong);
    cursor:pointer;
    transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display:inline-flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--teal);
    color:#030b10;
    border-color:var(--teal);
    font-weight:600;
    box-shadow: 0 0 15px var(--gemini-glow);
  }
  .btn-primary:hover{background:var(--teal-bright);border-color:var(--teal-bright);transform:translateY(-1px);box-shadow: 0 0 25px rgba(121,236,201,0.5);}
  .btn-ghost{
    color:var(--text);
    background:transparent;
  }
  .btn-ghost:hover{border-color:var(--teal);color:var(--teal-bright);background:rgba(62,201,167,0.05);}
  @media (max-width:600px){ .btn span.full{display:none;} }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
  }
  .hero .wrap{padding-left:96px;}
  @media (max-width:900px){ .hero .wrap{padding-left:32px;} .hero{padding-top:140px;} }
  .hero-grid{
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:56px;
    align-items:start;
  }
  @media (max-width:960px){ .hero-grid{grid-template-columns:1fr;} }

  .hero h1{
    font-size:clamp(36px,5vw,60px);
    line-height:1.06;
    margin:20px 0 22px;
  }
  .hero h1 em{
    font-style:normal;
    color:var(--teal-bright);
    text-shadow: 0 0 20px var(--gemini-glow);
  }
  .hero .lede{
    font-size:17px;
    max-width:520px;
    margin-bottom:34px;
  }
  .hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:44px;}
  .hero-tagline{
    font-family:var(--mono);
    font-size:13px;
    color:var(--text-dim);
    letter-spacing:0.06em;
    border-left:2px solid var(--teal);
    padding-left:14px;
  }

  /* Telemetry Glass Panel */
  .telemetry{
    background:var(--bg-panel);
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden;
    backdrop-filter:blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }
  .telemetry-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 18px;
    border-bottom:1px solid var(--line);
    font-family:var(--mono);
    font-size:11px;
    color:var(--text-dim);
    letter-spacing:0.08em;
  }
  .telemetry-head .live{
    display:flex;align-items:center;gap:6px;
    color:var(--teal-bright);
    font-weight:600;
  }
  .live .dot{
    width:6px;height:6px;border-radius:50%;background:var(--teal-bright);
    box-shadow: 0 0 8px var(--teal-bright);
    animation:pulse 1.8s infinite ease-in-out;
  }
  @keyframes pulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:0.3;transform:scale(0.8);}}
  .telemetry-rows{padding:6px 0;}
  .t-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 18px;
    border-bottom:1px solid var(--line);
    font-family:var(--mono);
    font-size:12.5px;
  }
  .t-row:last-child{border-bottom:none;}
  .t-label{color:var(--text-muted);}
  .t-val{color:var(--text);font-weight:500;display:flex;align-items:center;gap:8px;}
  .t-bar{width:70px;height:4px;background:rgba(232,241,242,0.08);border-radius:2px;overflow:hidden;}
  .t-bar i{display:block;height:100%;background:linear-gradient(90deg, var(--teal), var(--teal-bright));border-radius:2px;}
  .t-note{
    padding:14px 18px;
    font-family:var(--mono);
    font-size:11px;
    color:var(--teal-bright);
    background:rgba(62,201,167,0.04);
    border-top:1px solid var(--line);
  }

  /* ---------- STAT STRIP ---------- */
  .stat-strip{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:0 96px;
    background:rgba(6, 20, 28, 0.4);
  }
  @media (max-width:900px){ .stat-strip{padding:0 32px;} }
  .stat-strip-inner{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    max-width:1180px;
    margin:0 auto;
  }
  @media (max-width:700px){ .stat-strip-inner{grid-template-columns:repeat(2,1fr);} }
  .stat{
    padding:28px 24px;
    border-right:1px solid var(--line);
  }
  .stat:last-child{border-right:none;}
  .stat .num{font-family:var(--mono);font-size:26px;color:var(--teal-bright);text-shadow: 0 0 10px var(--gemini-glow);}
  .stat .label{font-size:12px;color:var(--text-dim);margin-top:4px;font-family:var(--mono);letter-spacing:0.03em;}

  /* ---------- GENERIC SECTION ---------- */
  .section{padding:96px 0;}
  @media (max-width:900px){ .section{padding:64px 0;} }
  .section.alt{background:var(--bg-alt);}

  /* about split */
  .about-grid{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:60px;
    align-items:start;
  }
  @media (max-width:900px){ .about-grid{grid-template-columns:1fr;} }
  .about-grid p{font-size:16px;margin-bottom:18px;}
  .about-grid p strong{color:var(--text);font-weight:500;}

  .vm-cards{display:grid;gap:16px;}
  .vm-card{
    background:var(--bg-panel);
    border:1px solid var(--line);
    border-radius:6px;
    padding:24px 26px;
    backdrop-filter:blur(5px);
  }
  .vm-card .eyebrow{margin-bottom:10px;}
  .vm-card p{color:var(--text);font-size:15px;}

  /* feature grid */
  .feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(230px,1fr));
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .feature{
    background:var(--bg);
    padding:26px 24px;
    transition:all 0.3s ease;
  }
  .feature:hover{
    background:var(--bg-alt);
    box-shadow: inset 0 0 15px rgba(62,201,167,0.05);
  }
  .feature .fi{
    width:30px;height:30px;
    margin-bottom:16px;
    color:var(--teal);
    filter: drop-shadow(0 0 4px var(--gemini-glow));
  }
  .feature .fi svg{width:100%;height:100%;}
  .feature h4{font-size:15px;margin-bottom:8px;font-weight:600;}
  .feature p{font-size:13.5px;line-height:1.5;}

  /* solutions tabs */
  .solutions-layout{display:grid;grid-template-columns:260px 1fr;gap:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;box-shadow: 0 10px 40px rgba(0,0,0,0.4);}
  @media (max-width:800px){ .solutions-layout{grid-template-columns:1fr;} }
  .sol-tabs{background:var(--bg-panel);border-right:1px solid var(--line);backdrop-filter:blur(10px);}
  @media (max-width:800px){ .sol-tabs{display:flex;border-right:none;border-bottom:1px solid var(--line);overflow-x:auto;} }
  .sol-tab{
    display:block;
    width:100%;
    text-align:left;
    padding:20px 22px;
    background:none;
    border:none;
    border-bottom:1px solid var(--line);
    color:var(--text-muted);
    font-family:var(--mono);
    font-size:13px;
    cursor:pointer;
    position:relative;
    white-space:nowrap;
    transition: all 0.2s;
  }
  .sol-tab:hover{color:var(--text);background:rgba(255,255,255,0.02);}
  .sol-tab.active{color:var(--teal-bright);background:rgba(62,201,167,0.08);font-weight:600;}
  .sol-tab.active::before{
    content:"";
    position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--teal-bright);
    box-shadow: 2px 0 10px var(--teal-bright);
  }
  @media (max-width:800px){ .sol-tab.active::before{width:100%;height:3px;top:auto;bottom:0;} }
  .sol-panels{position:relative; background:rgba(4, 15, 22, 0.85); backdrop-filter:blur(10px);}
  .sol-panel{padding:38px 40px;display:none;}
  .sol-panel.active{display:block;}
  .sol-panel h3{margin-bottom:16px;}
  .sol-panel .taglist{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
  .tag{
    font-family:var(--mono);
    font-size:12px;
    padding:7px 13px;
    border:1px solid var(--line);
    border-radius:4px;
    color:var(--text-muted);
    background:rgba(62,201,167,0.03);
  }

  /* Gemini Visual Component Space */
  .sol-visual-container {
    margin-top:24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(3, 11, 16, 0.6);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
  }
  .sol-visual-title {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sol-visual-title::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
  }

  /* why grid */
  .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);}
  @media (max-width:800px){ .why-grid{grid-template-columns:1fr;} }
  .why-card{background:var(--bg-alt);padding:32px 28px;transition: transform 0.3s; }
  .why-card:hover{transform: translateY(-2px);}
  .why-card .num{font-family:var(--mono);font-size:12px;color:var(--teal);margin-bottom:16px;font-weight:600;}
  .why-card h4{margin-bottom:10px;font-size:16px;}
  .why-card p{font-size:14px;}

  /* industries */
  .industry-pill{
    font-family:var(--mono);
    font-size:13px;
    padding:12px 20px;
    border:1px solid var(--line);
    border-radius:4px;
    color:var(--text-muted);
    background:rgba(62,201,167,0.02);
    transition:all 0.2s;
  }
  .industry-pill:hover{border-color:var(--teal-bright);color:var(--teal-bright);background:rgba(62,201,167,0.08);box-shadow: 0 0 12px rgba(62,201,167,0.2);}

  /* technology */
  .tech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
  @media (max-width:900px){ .tech-grid{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:520px){ .tech-grid{grid-template-columns:1fr;} }
  .tech-card{padding:26px 0;border-top:1px solid var(--line);}
  .tech-card .fi{width:26px;height:26px;color:var(--teal-bright);margin-bottom:16px;}
  .tech-card .fi svg{width:100%;height:100%;}
  .tech-card h4{font-size:15px;margin-bottom:8px;}
  .tech-card p{font-size:13.5px;}

  /* sustainability */
  .sustain-list{display:grid;gap:0;max-width:640px;}
  .sustain-item{
    display:flex;
    gap:18px;
    padding:18px 0;
    border-bottom:1px solid var(--line);
    align-items:baseline;
  }
  .sustain-item .idx{font-family:var(--mono);font-size:12px;color:var(--teal-bright);min-width:28px;}
  .sustain-item p{color:var(--text);font-size:15.5px;}

  /* global opportunity */
  .opportunity-block{
    background:var(--bg-panel);
    border:1px solid var(--line);
    border-radius:6px;
    padding:44px 48px;
    max-width:820px;
    backdrop-filter:blur(5px);
  }
  @media (max-width:700px){ .opportunity-block{padding:32px 26px;} }
  .opportunity-block p{color:var(--text);font-size:16px;}
  .opportunity-block .src{
    margin-top:20px;
    font-family:var(--mono);
    font-size:11.5px;
    color:var(--text-dim);
  }

  /* CTA band */
  .cta-band{
    padding:100px 96px;
    text-align:left;
    border-top:1px solid var(--line);
    position:relative;
    background: radial-gradient(circle at 80% 50%, rgba(62,201,167,0.06), transparent 50%);
  }
  @media (max-width:900px){ .cta-band{padding:70px 32px;} }
  .cta-band h2{max-width:600px;margin-bottom:20px;}
  .cta-band .hero-ctas{margin-top:30px;}

  /* contact */
  .contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
  }
  @media (max-width:800px){ .contact-grid{grid-template-columns:1fr;} }
  .contact-info .row{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:18px 0;
    border-bottom:1px solid var(--line);
  }
  .contact-info .row .k{font-family:var(--mono);font-size:11px;color:var(--text-dim);letter-spacing:0.06em;}
  .contact-info .row .v{font-size:16px;color:var(--text);}
  .contact-info .row a:hover{color:var(--teal-bright);}

  /* footer */
  footer{
    padding:44px 96px;
    border-top:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:16px;
    background:#02070b;
  }
  @media (max-width:900px){ footer{padding:36px 32px;} }
  footer .fmark{font-family:var(--mono);font-size:12px;color:var(--text-dim);}
  footer .ftag{font-family:var(--mono);font-size:12px;color:var(--teal-bright);}

  /* reveal animations */
  .reveal{
    opacity:0;
    transform:translateY(18px);
    transition:opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .reveal.in{opacity:1;transform:translateY(0);}

  /* ================= DYNAMIC VISUAL EFFECTS ================= */
  .grain-overlay{
    position:fixed;
    inset:0;
    z-index:3;
    pointer-events:none;
    opacity:0.04;
    mix-blend-mode:overlay;
  }

  /* ---- Hero Dynamic Scene ---- */
  .hero{padding-top:0;overflow:hidden;}
  .hero-scene{
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
  }
  .hero-scene .caustics{
    position:absolute;
    inset:-10%;
    filter:url(#causticFilter);
    opacity:0.4;
    mix-blend-mode:screen;
  }
  .hero-scene .glow{
    position:absolute;
    top:-20%;left:50%;
    width:900px;height:900px;
    transform:translateX(-50%);
    background:radial-gradient(circle, rgba(62,201,167,0.14), transparent 65%);
  }
  .hero-scene .vignette{
    position:absolute;inset:0;
    background:linear-gradient(180deg, rgba(3,11,16,0.2) 0%, rgba(3,11,16,0) 40%, rgba(3,11,16,0.95) 100%);
  }
  .bubble{
    position:absolute;
    bottom:-40px;
    border-radius:50%;
    background:radial-gradient(circle at 35% 30%, rgba(232,241,242,0.4), rgba(121,236,201,0.03) 70%);
    animation:rise linear infinite;
    opacity:0;
  }
  @keyframes rise{
    0%{opacity:0; transform:translateY(0) translateX(0);}
    8%{opacity:0.45;}
    92%{opacity:0.25;}
    100%{opacity:0; transform:translateY(-620px) translateX(var(--drift,20px));}
  }
  .fish-layer{
    position:absolute;
    inset:0;
  }
  .fish{
    position:absolute;
    opacity:0.4;
    animation:swim linear infinite;
    color:var(--teal);
  }
  .fish svg{width:100%;height:100%;display:block;}
  @keyframes swim{
    0%{transform:translateX(-10vw) translateY(0);}
    50%{transform:translateX(55vw) translateY(-18px);}
    100%{transform:translateX(120vw) translateY(0);}
  }
  .hero-content{position:relative;z-index:2;}
  .hero .wrap{position:relative;}
  .hero-pad{padding:180px 0 90px;}
  @media (max-width:900px){ .hero-pad{padding-top:140px;} }
  .scroll-cue{
    position:absolute;
    bottom:18px;left:50%;
    transform:translateX(-50%);
    display:flex;flex-direction:column;align-items:center;gap:8px;
    font-family:var(--mono);
    font-size:10.5px;
    letter-spacing:0.1em;
    color:var(--text-dim);
    z-index:3;
  }
  .scroll-cue .line{width:1px;height:26px;background:linear-gradient(180deg, var(--teal), transparent);animation:cue 1.8s ease-in-out infinite;}
  @keyframes cue{0%,100%{transform:scaleY(1);opacity:0.8;}50%{transform:scaleY(0.5);opacity:0.3;}}
  @media (max-width:700px){ .scroll-cue{display:none;} }

  /* ---- Product Graphics Console Mockup ---- */
  .device-frame{
    background:rgba(8, 24, 33, 0.8);
    border:1px solid var(--line-strong);
    border-radius:8px;
    overflow:hidden;
    backdrop-filter:blur(12px);
    box-shadow:0 30px 70px -20px rgba(0,0,0,0.8), 0 0 30px rgba(62,201,167,0.05);
  }
  .device-bar{
    display:flex;align-items:center;gap:8px;
    padding:12px 16px;
    border-bottom:1px solid var(--line);
    background:rgba(255,255,255,0.01);
  }
  .device-bar .dot{width:8px;height:8px;border-radius:50%;background:rgba(62,201,167,0.3);}
  .device-bar .url{
    margin-left:10px;
    font-family:var(--mono);
    font-size:11px;
    color:var(--text-dim);
    background:rgba(3,11,16,0.5);
    padding:4px 10px;
    border-radius:4px;
    border:1px solid rgba(62,201,167,0.1);
  }
  .device-body{padding:26px;display:grid;grid-template-columns:1.4fr 1fr;gap:22px;}
  @media (max-width:640px){ .device-body{grid-template-columns:1fr;} }
  .chart-card{background:rgba(3,11,16,0.4);border:1px solid var(--line);border-radius:6px;padding:18px;}
  .chart-card .cc-label{font-family:var(--mono);font-size:10.5px;color:var(--text-dim);letter-spacing:0.06em;margin-bottom:12px;display:flex;justify-content:space-between;}
  .chart-card .cc-label b{color:var(--teal-bright);font-weight:600;}
  .line-chart-path{
    stroke:var(--teal-bright);
    stroke-width:2.5;
    fill:none;
    stroke-dasharray:400;
    stroke-dashoffset:400;
    animation:draw 2s ease forwards 0.3s;
    filter: drop-shadow(0 0 6px var(--teal));
  }
  @keyframes draw{to{stroke-dashoffset:0;}}
  .device-side{display:flex;flex-direction:column;gap:16px;}
  .gauge-wrap{display:flex;align-items:center;gap:16px;}
  .gauge-num{font-family:var(--mono);font-size:22px;color:var(--teal-bright);text-shadow: 0 0 8px var(--gemini-glow);}
  .gauge-sub{font-family:var(--mono);font-size:10px;color:var(--text-dim);}
  .bars-row{display:flex;align-items:flex-end;gap:6px;height:56px;margin-top:8px;}
  .bars-row i{
    flex:1;background:linear-gradient(180deg, var(--teal-bright), var(--teal));
    border-radius:2px 2px 0 0;
    height:0%;
    animation:grow 1.4s cubic-bezier(.2,.8,.2,1) forwards;
    opacity:0.85;
  }
  @keyframes grow{to{height:var(--h);}}
  .tank-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin-top:8px;}
  .tank-grid span{
    width:100%;aspect-ratio:1;border-radius:2px;
    background:rgba(62,201,167,0.05);
    border:1px solid rgba(62,201,167,0.1);
  }
  .tank-grid span.on{background:var(--teal);box-shadow:0 0 8px 1px rgba(62,201,167,0.4);border-color:transparent;}
  .tank-grid span.warn{background:var(--amber);box-shadow:0 0 8px 1px rgba(242,166,90,0.4);border-color:transparent;}

  /* ---- Facility Architectural Cross-Section ---- */
  .cross-section{background:rgba(4, 15, 22, 0.6);border:1px solid var(--line);border-radius:6px;padding:22px;}
  .cross-section svg{width:100%;height:auto;display:block;}
  .flow-path{
    stroke:var(--teal-bright);
    stroke-width:1.6;
    fill:none;
    stroke-dasharray:6 6;
    animation:flow 1.6s linear infinite;
    filter: drop-shadow(0 0 4px var(--teal));
  }
  @keyframes flow{to{stroke-dashoffset:-24;}}
  .cs-label{font-family:var(--mono);font-size:9.5px;fill:var(--text-muted);letter-spacing:0.02em;}
  .cs-band{transition:opacity 0.2s;}

  /* ---- Facility Spatial Cards ---- */
  .gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
  }
  @media (max-width:900px){ .gallery-grid{grid-template-columns:repeat(2,1fr);} }
  .gallery-card{
    position:relative;
    aspect-ratio:3/4;
    border-radius:6px;
    overflow:hidden;
    border:1px solid var(--line);
    isolation:isolate;
  }
  .gallery-card .g-bg{
    position:absolute;inset:0;
    transition:transform 0.6s cubic-bezier(.2,.8,.2,1);
  }
  .gallery-card:hover .g-bg{transform:scale(1.08);}
  .gallery-card .g-caustics{
    position:absolute;inset:-20%;
    filter:url(#causticFilter);
    opacity:0.35;
    mix-blend-mode:soft-light;
  }
  .gallery-card .g-vignette{
    position:absolute;inset:0;
    background:linear-gradient(180deg, transparent 30%, rgba(3, 11, 16, 0.95) 100%);
  }
  .gallery-card .g-label{
    position:absolute;left:16px;bottom:14px;right:16px;
    font-family:var(--mono);
    font-size:12px;
    color:var(--text);
    letter-spacing:0.03em;
  }
  .gallery-card .g-tag{
    position:absolute;top:14px;left:16px;
    font-family:var(--mono);
    font-size:10px;
    color:var(--teal-bright);
    letter-spacing:0.08em;
  }
  .g1 .g-bg{background:radial-gradient(circle at 30% 20%, #0d2c3b, #030a0f 80%);}
  .g2 .g-bg{background:radial-gradient(circle at 70% 30%, #0f332f, #020b0a 80%);}
  .g3 .g-bg{background:radial-gradient(circle at 40% 70%, #13243d, #03080f 80%);}
  .g4 .g-bg{background:radial-gradient(circle at 60% 60%, #19382f, #030d0a 80%);}

  /* ================= MODERN VISUAL LAYER (v2) ================= */

  /* Aurora / mesh-gradient ambient glow */
  .aurora{
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
  }
  .aurora span{
    position:absolute;
    border-radius:50%;
    filter:blur(90px);
    opacity:0.5;
    mix-blend-mode:screen;
    will-change:transform;
  }
  .aurora .a1{width:520px;height:520px;top:-140px;left:-80px;background:radial-gradient(circle, rgba(62,201,167,0.35), transparent 70%);animation:auroraDrift 26s ease-in-out infinite;}
  .aurora .a2{width:460px;height:460px;top:20%;right:-120px;background:radial-gradient(circle, rgba(27,73,101,0.5), transparent 70%);animation:auroraDrift 32s ease-in-out infinite reverse;}
  .aurora .a3{width:600px;height:600px;bottom:-200px;left:30%;background:radial-gradient(circle, rgba(121,236,201,0.18), transparent 70%);animation:auroraDrift 40s ease-in-out infinite;}
  @keyframes auroraDrift{
    0%,100%{transform:translate(0,0) scale(1);}
    33%{transform:translate(60px,40px) scale(1.12);}
    66%{transform:translate(-40px,20px) scale(0.94);}
  }

  /* Animated gradient text (hero emphasis) */
  .grad-text{
    background:linear-gradient(100deg, var(--teal-bright), #bafce9, var(--teal), var(--teal-bright));
    background-size:220% auto;
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
    animation:gradShift 6s linear infinite;
    text-shadow:none;
  }
  @keyframes gradShift{to{background-position:220% center;}}

  /* Button shine sweep */
  .btn{position:relative;overflow:hidden;}
  .btn::after{
    content:"";
    position:absolute;
    top:0;left:-120%;
    width:60%;height:100%;
    background:linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
    transform:skewX(-20deg);
    transition:none;
  }
  .btn:hover::after{animation:shine 0.85s ease;}
  @keyframes shine{to{left:130%;}}

  /* Glass card glow-on-hover + subtle 3D tilt hook */
  .tilt{transform:perspective(900px) rotateX(0) rotateY(0);transition:transform 0.3s cubic-bezier(.2,.8,.2,1);will-change:transform;}
  .glow-card{position:relative;}
  .glow-card::before{
    content:"";
    position:absolute;inset:0;
    border-radius:inherit;
    padding:1px;
    background:radial-gradient(180px circle at var(--mx,50%) var(--my,50%), rgba(121,236,201,0.55), transparent 60%);
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    opacity:0;
    transition:opacity 0.3s;
    pointer-events:none;
  }
  .glow-card:hover::before{opacity:1;}

  /* Feature icon badge upgrade */
  .feature{position:relative;overflow:hidden;}
  .feature::after{
    content:"";
    position:absolute;top:0;left:0;width:100%;height:2px;
    background:linear-gradient(90deg, var(--teal-bright), transparent);
    transform:scaleX(0);transform-origin:left;
    transition:transform 0.35s ease;
  }
  .feature:hover::after{transform:scaleX(1);}
  .feature .fi{
    display:inline-flex;align-items:center;justify-content:center;
    width:46px;height:46px;padding:9px;
    border-radius:10px;
    background:linear-gradient(160deg, rgba(62,201,167,0.14), rgba(62,201,167,0.02));
    border:1px solid var(--line);
  }

  /* Counter styling for animated stats */
  .stat .num[data-count]{font-variant-numeric:tabular-nums;}

  /* ================= HOW IT WORKS — RAS PROCESS LOOP ================= */
  .process-hero{
    position:relative;
    border:1px solid var(--line);
    border-radius:12px;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(62,201,167,0.08), transparent 70%),
      rgba(4,15,22,0.65);
    backdrop-filter:blur(10px);
    padding:30px 26px 22px;
    box-shadow:0 30px 70px -30px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.4);
    overflow:hidden;
  }
  .process-hero svg{width:100%;height:auto;display:block;}
  .proc-node rect, .proc-node circle{transition:all 0.3s ease;}
  .proc-node{cursor:default;}
  .proc-node:hover .node-box{fill:rgba(62,201,167,0.14);stroke:var(--teal-bright);}
  .proc-node:hover .node-ico{stroke:var(--teal-bright);}
  .node-box{fill:rgba(8,26,35,0.9);stroke:rgba(62,201,167,0.35);stroke-width:1.2;}
  .node-ico{stroke:var(--teal);stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round;}
  .node-title{font-family:var(--mono);font-size:11px;fill:var(--text);font-weight:600;}
  .node-sub{font-family:var(--mono);font-size:8.5px;fill:var(--text-dim);letter-spacing:0.04em;}
  .loop-pipe{fill:none;stroke:rgba(62,201,167,0.18);stroke-width:6;stroke-linecap:round;}
  .loop-flow{
    fill:none;stroke:var(--teal-bright);stroke-width:2.4;stroke-linecap:round;
    stroke-dasharray:10 16;
    filter:drop-shadow(0 0 5px var(--teal));
    animation:pipeFlow 1.1s linear infinite;
  }
  @keyframes pipeFlow{to{stroke-dashoffset:-26;}}
  .proc-legend{
    display:flex;flex-wrap:wrap;gap:16px 26px;
    margin-top:22px;padding-top:20px;
    border-top:1px solid var(--line);
    font-family:var(--mono);font-size:11.5px;color:var(--text-muted);
  }
  .proc-legend b{color:var(--teal-bright);font-weight:600;}
  .proc-legend .li{display:flex;align-items:center;gap:8px;}
  .proc-legend .li .d{width:8px;height:8px;border-radius:2px;background:var(--teal);box-shadow:0 0 8px var(--teal);}

  .process-steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
    border-radius:8px;
    overflow:hidden;
    margin-top:28px;
  }
  @media (max-width:820px){ .process-steps{grid-template-columns:1fr;} }
  .pstep{background:var(--bg-alt);padding:24px 22px;position:relative;transition:background 0.3s;}
  .pstep:hover{background:rgba(62,201,167,0.05);}
  .pstep .pnum{font-family:var(--mono);font-size:11px;color:var(--teal);letter-spacing:0.1em;margin-bottom:10px;}
  .pstep h4{font-size:15px;margin-bottom:8px;}
  .pstep p{font-size:13.5px;line-height:1.55;}

  /* Marquee for species/industry pills */
  .marquee{
    position:relative;
    overflow:hidden;
    -webkit-mask:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .marquee-track{
    display:flex;
    gap:12px;
    width:max-content;
    animation:marquee 38s linear infinite;
  }
  .marquee:hover .marquee-track{animation-play-state:paused;}
  @keyframes marquee{to{transform:translateX(-50%);}}
  @media (prefers-reduced-motion: reduce){
    .marquee-track{animation:none;flex-wrap:wrap;width:auto;}
    .aurora span{animation:none;}
  }

  /* Scroll progress bar (top of viewport) */
  .scroll-progress{
    position:fixed;top:0;left:0;height:2px;width:0%;
    background:linear-gradient(90deg, var(--teal), var(--teal-bright));
    box-shadow:0 0 10px var(--teal-bright);
    z-index:200;
    transition:width 0.1s linear;
  }

  /* Solutions optical-tracking mock (moved out of body for valid markup) */
  @keyframes swimMock { 0% { left: -20px; } 100% { left: 340px; } }
  @keyframes swimMock2 { 0% { left: 340px; } 100% { left: -20px; } }
/* =========================================================================
   AKUANIX COMMAND DECK — immersive operating-system shell
   ========================================================================= */
:root{
  --dock-w:264px;
  --dock-pad:18px;
  --gap:24px;
  --vp-max:1480px;
  --panel:rgba(7, 20, 28, 0.66);
  --panel-2:rgba(8, 24, 33, 0.82);
  --hud:rgba(121, 236, 201, 0.85);
  --warn:#f2a65a;
  --danger:#ff5d6c;
}

/* hide legacy fixed header (replaced by Control Dock) */
header{display:none !important;}

/* ---- depth parallax layering ---- */
.deck-aurora{z-index:0;}
#geminiParticles{z-index:1;}

/* ---- CONTROL DOCK (persistent sidebar) ---- */
.dock{
  position:fixed;
  top:0;left:0;bottom:0;
  width:var(--dock-w);
  z-index:300;
  display:flex;
  flex-direction:column;
  padding:var(--dock-pad);
  background:linear-gradient(180deg, rgba(4,13,19,0.96), rgba(3,9,13,0.98));
  border-right:1px solid var(--line);
  box-shadow:8px 0 40px rgba(0,0,0,0.55), inset -1px 0 0 rgba(62,201,167,0.08);
  backdrop-filter:blur(14px);
  overflow-y:auto;
  will-change:transform;
}
.dock::-webkit-scrollbar{width:6px;}
.dock::-webkit-scrollbar-thumb{background:rgba(62,201,167,0.2);border-radius:3px;}

.dock-brand{
  display:flex;align-items:center;gap:11px;
  padding:8px 6px 16px;
  border-bottom:1px solid var(--line);
}
.dock-brand .mark{width:26px;height:26px;}
.dock-brand .mark svg{width:100%;height:100%;display:block;}
.dock-brand .name{font-family:var(--display);font-weight:700;font-size:17px;letter-spacing:0.04em;}
.dock-brand .name small{display:block;font-family:var(--mono);font-weight:400;font-size:9px;letter-spacing:0.18em;color:var(--text-dim);}

.dock-section-label{
  font-family:var(--mono);font-size:10px;letter-spacing:0.2em;
  color:var(--text-dim);text-transform:uppercase;
  margin:18px 6px 8px;
}
.dock-nav{display:flex;flex-direction:column;gap:2px;}
.dock-link{
  display:flex;align-items:center;gap:12px;
  padding:10px 12px;border-radius:7px;
  font-family:var(--mono);font-size:12.5px;letter-spacing:0.02em;
  color:var(--text-muted);position:relative;
  transition:background .2s, color .2s, transform .2s;
  border:1px solid transparent;
}
.dock-link .ico{width:16px;height:16px;color:var(--teal);flex:0 0 auto;}
.dock-link:hover{color:var(--text);background:rgba(62,201,167,0.06);transform:translateX(2px);}
.dock-link.active{
  color:var(--teal-bright);background:rgba(62,201,167,0.10);
  border-color:var(--line-strong);
}
.dock-link.active::before{
  content:"";position:absolute;left:-18px;top:50%;transform:translateY(-50%);
  width:3px;height:60%;background:var(--teal-bright);border-radius:2px;
  box-shadow:0 0 10px var(--teal-bright);
}
.dock-link .tag{
  margin-left:auto;font-size:9px;letter-spacing:0.1em;
  color:var(--teal);border:1px solid var(--line);padding:2px 6px;border-radius:4px;
}

.dock-foot{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);}
.dock-status{
  display:flex;align-items:center;gap:9px;
  font-family:var(--mono);font-size:10.5px;color:var(--text-muted);
  padding:9px 11px;border-radius:7px;background:rgba(62,201,167,0.04);
  border:1px solid var(--line);
}
.dock-status .ping{
  width:8px;height:8px;border-radius:50%;background:var(--teal-bright);
  box-shadow:0 0 10px var(--teal-bright);
  animation:deckPulse 1.8s infinite;
}
@keyframes deckPulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.35;transform:scale(.7);}}
.dock-clock{margin-top:10px;font-family:var(--mono);font-size:10.5px;color:var(--text-dim);letter-spacing:0.06em;}

/* ---- MAIN VIEWPORT ---- */
.viewport{
  margin-left:var(--dock-w);
  position:relative;z-index:2;
  min-height:100vh;
  padding:0 clamp(20px,3vw,46px);
}
.vp-inner{max-width:var(--vp-max);margin:0 auto;}

/* top status rail */
.vp-rail{
  position:sticky;top:0;z-index:120;
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  padding:14px 0;margin-bottom:8px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, var(--bg) 60%, transparent);
  backdrop-filter:blur(6px);
}
.vp-rail .crumb{font-family:var(--mono);font-size:11px;letter-spacing:0.12em;color:var(--text-dim);}
.vp-rail .crumb b{color:var(--teal-bright);font-weight:600;}
.vp-rail .spacer{flex:1;}
.vp-chip{
  font-family:var(--mono);font-size:10.5px;letter-spacing:0.08em;
  color:var(--text-muted);border:1px solid var(--line);border-radius:999px;
  padding:5px 12px;display:flex;align-items:center;gap:7px;background:rgba(62,201,167,0.03);
}
.vp-chip i{width:6px;height:6px;border-radius:50%;background:var(--teal-bright);box-shadow:0 0 8px var(--teal-bright);}

/* asymmetrical page hero */
.deck-hero{
  display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:end;
  padding:48px 0 40px;
}
@media (max-width:980px){ .deck-hero{grid-template-columns:1fr;gap:24px;} }
.deck-hero h1{font-size:clamp(34px,4.4vw,62px);line-height:1.05;}
.deck-hero .lede{font-size:16px;max-width:46ch;margin-top:18px;}
.deck-hero .hud-card{
  align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;
}

/* floating glass panels */
.panel{
  position:relative;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px 26px;
  backdrop-filter:blur(12px);
  box-shadow:0 24px 60px -30px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.03);
  will-change:transform;
}
.panel.glow-card:hover::before{opacity:1;}
.panel-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-bottom:18px;
}
.panel-head .ttl{font-family:var(--mono);font-size:11px;letter-spacing:0.14em;color:var(--teal);text-transform:uppercase;}
.panel-head .meta{font-family:var(--mono);font-size:10.5px;color:var(--text-dim);}

/* asymmetrical grid helpers */
.grid-2{display:grid;grid-template-columns:1.4fr 1fr;gap:var(--gap);align-items:start;}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap);}
.grid-21{display:grid;grid-template-columns:2fr 1fr;gap:var(--gap);align-items:start;}
.grid-12{display:grid;grid-template-columns:1fr 2fr;gap:var(--gap);align-items:start;}
@media (max-width:980px){
  .grid-2,.grid-3,.grid-21,.grid-12{grid-template-columns:1fr;}
}
.stack{display:flex;flex-direction:column;gap:var(--gap);}
.section-block{margin:46px 0;}

/* metric readouts */
.readout{display:flex;align-items:baseline;gap:8px;}
.readout .v{font-family:var(--mono);font-size:30px;color:var(--teal-bright);text-shadow:0 0 12px var(--gemini-glow);font-variant-numeric:tabular-nums;}
.readout .u{font-family:var(--mono);font-size:12px;color:var(--text-dim);}
.mini-graph{width:100%;height:46px;display:block;}

/* ---- INTERACTIVE SVG / INSPECT MODE ---- */
[data-inspect]{cursor:crosshair;transition:filter .2s;}
.proc-node{transition:filter .25s, transform .25s;transform-origin:center;}
.proc-node:hover{filter:drop-shadow(0 0 8px var(--teal-bright));}
.proc-node:hover .node-box{fill:rgba(62,201,167,0.16);stroke:var(--teal-bright);}

.inspector{
  position:fixed;z-index:500;top:0;left:0;
  min-width:240px;max-width:300px;
  background:rgba(3,12,17,0.94);
  border:1px solid var(--teal-bright);
  border-radius:10px;padding:14px 16px;
  box-shadow:0 18px 50px rgba(0,0,0,0.7), 0 0 22px rgba(62,201,167,0.25);
  font-family:var(--mono);font-size:11.5px;color:var(--text);
  opacity:0;transform:translateY(6px) scale(.98);pointer-events:none;
  transition:opacity .15s, transform .15s;
  backdrop-filter:blur(8px);
}
.inspector.show{opacity:1;transform:translateY(0) scale(1);}
.inspector .it-title{display:flex;align-items:center;gap:8px;color:var(--teal-bright);font-weight:600;letter-spacing:0.06em;margin-bottom:8px;}
.inspector .it-title .dot{width:7px;height:7px;border-radius:50%;background:var(--teal-bright);box-shadow:0 0 8px var(--teal-bright);}
.inspector .it-row{display:flex;justify-content:space-between;gap:14px;padding:4px 0;border-top:1px solid rgba(62,201,167,0.12);}
.inspector .it-row span{color:var(--text-dim);}
.inspector .it-row b{color:var(--text);font-weight:500;}
.inspector .it-status{margin-top:8px;font-size:10px;letter-spacing:0.1em;color:var(--teal);}

/* ---- SENSOR PINGS (facility map) ---- */
.facility-map{position:relative;width:100%;border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#04121a;}
.ping{position:absolute;width:14px;height:14px;transform:translate(-50%,-50%);}
.ping::after{
  content:"";position:absolute;inset:0;border-radius:50%;
  border:1px solid var(--teal-bright);
  animation:pingOut 2.4s ease-out infinite;
}
.ping .core{position:absolute;inset:4px;border-radius:50%;background:var(--teal-bright);box-shadow:0 0 10px var(--teal-bright);}
.ping.warn .core{background:var(--warn);box-shadow:0 0 10px var(--warn);}
.ping.warn::after{border-color:var(--warn);}
@keyframes pingOut{0%{transform:scale(.4);opacity:.9;}100%{transform:scale(2.6);opacity:0;}}

/* ---- TERMINAL BOOT OVERLAY ---- */
.boot{
  position:fixed;inset:0;z-index:999;
  background:radial-gradient(ellipse at 50% 40%, #051019, #02080c 80%);
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  transition:opacity .5s ease, visibility .5s;
}
.boot.done{opacity:0;visibility:hidden;pointer-events:none;}
.boot .term{
  width:min(560px,86vw);
  background:rgba(3,12,17,0.9);border:1px solid var(--line-strong);border-radius:12px;
  padding:26px 28px;font-family:var(--mono);font-size:13px;color:var(--teal-bright);
  box-shadow:0 30px 80px rgba(0,0,0,0.6);
}
.boot .term .line{min-height:18px;white-space:pre-wrap;}
.boot .term .line .ok{color:var(--teal);}
.boot .term .cursor{display:inline-block;width:8px;height:14px;background:var(--teal-bright);animation:deckPulse 1s steps(1) infinite;vertical-align:middle;}
.boot .bar{height:4px;border-radius:2px;background:rgba(62,201,167,0.12);margin-top:18px;overflow:hidden;}
.boot .bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--teal),var(--teal-bright));box-shadow:0 0 10px var(--teal-bright);transition:width .25s ease;}
.boot .skip{margin-top:16px;font-family:var(--mono);font-size:10.5px;color:var(--text-dim);cursor:pointer;letter-spacing:0.1em;}

/* ---- TERMINAL TEXT REVEAL ---- */
.term-line{display:block;overflow:hidden;}
.term-line .tl-inner{display:inline-block;}
.typing{opacity:0;}
.typing.done{opacity:1;}

/* ---- MICRO-GLITCH (hover) ---- */
@keyframes glitchShift{
  0%{filter:none;transform:translate(0,0);}
  20%{filter:hue-rotate(8deg) drop-shadow(1px 0 var(--danger)) drop-shadow(-1px 0 var(--teal-bright));transform:translate(1px,0);}
  40%{filter:none;transform:translate(0,0);}
  60%{filter:drop-shadow(-1px 0 var(--warn));transform:translate(-1px,0);}
  80%{filter:none;transform:translate(0,0);}
  100%{filter:none;}
}
.glitch:hover{animation:glitchShift .4s steps(2) 1;}

/* ---- MOBILE DOCK TOGGLE ---- */
.dock-toggle{
  display:none;position:fixed;top:14px;left:14px;z-index:320;
  width:42px;height:42px;border-radius:9px;
  background:var(--panel-2);border:1px solid var(--line-strong);
  color:var(--teal-bright);align-items:center;justify-content:center;cursor:pointer;
  backdrop-filter:blur(10px);
}
.dock-toggle svg{width:20px;height:20px;}
.dock-scrim{display:none;position:fixed;inset:0;z-index:290;background:rgba(2,7,11,0.6);backdrop-filter:blur(2px);}

@media (max-width:920px){
  :root{--dock-w:264px;}
  .dock{transform:translateX(-100%);transition:transform .3s cubic-bezier(.2,.8,.2,1);}
  .dock.open{transform:translateX(0);}
  .dock-scrim.show{display:block;}
  .viewport{margin-left:0;}
  .dock-toggle{display:flex;}
  .vp-rail{padding-top:64px;}
}
@media (prefers-reduced-motion: reduce){
  .ping::after,.dock-status .ping,.boot .term .cursor{animation:none;}
  .glitch:hover{animation:none;}
}
