  :root{
    --bg:#0D0F13;
    --panel:#14171D;
    --panel-2:#1A1E25;
    --line:rgba(255,255,255,0.09);
    --line-strong:rgba(255,255,255,0.16);
    --text:#EDEEEA;
    --text-muted:#8A93A3;
    --text-faint:#5B6270;
    --amber:#E8A33D;
    --amber-dim:#8A6428;
    --red:#D6473C;
    --font-display:'Unbounded', system-ui, sans-serif;
    --font-body:'Manrope', system-ui, sans-serif;
    --font-mono:'JetBrains Mono', ui-monospace, monospace;
    --wrap:1180px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit;}
  ul{list-style:none;}
  .wrap{max-width:var(--wrap); margin:0 auto; padding:0 32px;}
  .eyebrow{
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--amber);
    display:flex; align-items:center; gap:10px;
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";
    width:7px; height:7px;
    background:var(--amber);
    border-radius:50%;
    display:inline-block;
  }
  h1,h2,h3{
    font-family:var(--font-display);
    font-weight:600;
    letter-spacing:-0.01em;
    line-height:1.12;
  }
  h2{font-size:clamp(28px,4vw,42px); color:var(--text);}
  .section-intro{max-width:620px; margin-bottom:56px;}
  .section-intro p{color:var(--text-muted); font-size:17px; margin-top:16px; max-width:560px;}
  .section{padding:110px 0;}
  .section.tight{padding:90px 0;}
  .divider{height:1px; background:var(--line); width:100%;}
  @media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }

  /* ---------- NAV / TIMELINE SCRUBBER ---------- */
  header.nav{
    position:sticky; top:0; z-index:100;
    background:rgba(13,15,19,0.86);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav-inner{
    max-width:var(--wrap); margin:0 auto; padding:0 32px;
    display:flex; align-items:center; gap:28px;
    height:64px;
  }
  .logo{
    font-family:var(--font-display);
    font-weight:800;
    font-size:18px;
    letter-spacing:0.02em;
    display:flex; align-items:baseline; gap:8px;
    flex-shrink:0;
  }
  .logo span.dot{
    width:8px; height:8px; border-radius:50%;
    background:var(--red);
    display:inline-block;
    animation:blink 2.4s ease-in-out infinite;
    box-shadow:0 0 8px rgba(214,71,60,0.7);
  }
  @keyframes blink{0%,100%{opacity:1;} 50%{opacity:0.25;}}
  .logo small{font-family:var(--font-mono); font-weight:400; font-size:10.5px; color:var(--text-faint); letter-spacing:0.08em;}

  .scrubber{
    flex:1;
    position:relative;
    height:100%;
    display:flex; align-items:center;
  }
  .scrubber-track{
    position:relative;
    width:100%;
    height:2px;
    background:var(--line-strong);
    border-radius:2px;
  }
  .scrubber-fill{
    position:absolute; left:0; top:0; height:100%;
    background:var(--amber);
    width:0%;
    border-radius:2px;
    transition:width 0.15s linear;
  }
  .scrubber-markers{
    position:absolute; inset:0;
    display:flex; justify-content:space-between; align-items:center;
    top:-9px;
  }
  .marker{
    position:relative;
    background:none; border:none; cursor:pointer;
    padding:9px 0;
    display:flex; flex-direction:column; align-items:center; gap:8px;
  }
  .marker .m-dot{
    width:9px; height:9px; border-radius:50%;
    background:var(--panel-2);
    border:2px solid var(--text-faint);
    transition:all 0.2s ease;
  }
  .marker .m-label{
    font-family:var(--font-mono);
    font-size:10px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--text-faint);
    white-space:nowrap;
    transition:color 0.2s ease;
  }
  .marker.active .m-dot{background:var(--amber); border-color:var(--amber); box-shadow:0 0 0 4px rgba(232,163,61,0.15);}
  .marker.active .m-label{color:var(--amber);}
  .marker:hover .m-label{color:var(--text);}

  .timecode{
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--text-faint);
    letter-spacing:0.05em;
    flex-shrink:0;
    display:flex; align-items:center; gap:8px;
  }
  .timecode .rec{color:var(--red); font-weight:600;}

  @media(max-width:860px){
    .m-label{display:none;}
    .timecode{display:none;}
    .nav-inner{gap:14px;}
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    padding:120px 0 100px;
    overflow:hidden;
  }
  .sprocket{
    position:absolute; top:0; bottom:0; width:26px;
    background-image:radial-gradient(circle, rgba(255,255,255,0.10) 0 3.4px, transparent 4px);
    background-size:26px 44px;
    background-repeat:repeat-y;
    background-position:center top;
  }
  .sprocket.left{left:0;}
  .sprocket.right{right:0;}
  @media(max-width:700px){.sprocket{display:none;}}

  .hero-grid{
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:60px;
    align-items:center;
  }
  .hero h1{
    font-size:clamp(34px,5.2vw,58px);
    margin-bottom:24px;
  }
  .hero h1 em{
    font-style:normal;
    color:var(--amber);
  }
  .hero-lead{
    color:var(--text-muted);
    font-size:18px;
    max-width:520px;
    margin-bottom:38px;
  }
  .cta-row{display:flex; gap:14px; flex-wrap:wrap;}
  .btn{
    font-family:var(--font-mono);
    font-size:13px;
    letter-spacing:0.04em;
    text-transform:uppercase;
    padding:14px 26px;
    border-radius:3px;
    text-decoration:none;
    display:inline-flex; align-items:center; gap:10px;
    transition:all 0.2s ease;
    border:1px solid transparent;
    cursor:pointer;
  }
  .btn-primary{background:var(--amber); color:#1a1305; font-weight:600;}
  .btn-primary:hover{background:#f2b455;}
  .btn-ghost{border-color:var(--line-strong); color:var(--text);}
  .btn-ghost:hover{border-color:var(--text-muted); background:rgba(255,255,255,0.03);}

  .hero-panel{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:6px;
    padding:28px;
    position:relative;
  }
  .hero-panel-head{
    display:flex; justify-content:space-between; align-items:center;
    font-family:var(--font-mono); font-size:11px; color:var(--text-faint);
    letter-spacing:0.08em; text-transform:uppercase;
    margin-bottom:20px;
    padding-bottom:16px;
    border-bottom:1px solid var(--line);
  }
  .hero-panel-head .rec-tag{color:var(--red); display:flex; align-items:center; gap:6px;}
  .hero-panel-head .rec-tag::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--red); animation:blink 2.4s ease-in-out infinite;}
  .stat-row{
    display:flex; justify-content:space-between;
    padding:14px 0;
    border-bottom:1px solid var(--line);
  }
  .stat-row:last-child{border-bottom:none;}
  .stat-label{font-size:14px; color:var(--text-muted);}
  .stat-value{font-family:var(--font-mono); font-size:15px; color:var(--text); font-weight:500;}

  @media(max-width:860px){
    .hero-grid{grid-template-columns:1fr;}
  }

  /* ---------- O NÁS ---------- */
  #o-nas .about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
  }
  .about-text p{color:var(--text-muted); margin-bottom:18px; font-size:16px; max-width:520px;}
  .about-text p:last-child{margin-bottom:0;}
  .about-text strong{color:var(--text); font-weight:600;}

  .filmstrip{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:6px;
    padding:30px;
  }
  .filmstrip-row{
    display:flex; align-items:center; gap:16px;
    padding:16px 0;
    border-bottom:1px solid var(--line);
  }
  .filmstrip-row:last-child{border-bottom:none;}
  .filmstrip-frame{
    width:46px; height:46px; flex-shrink:0;
    border-radius:4px;
    background:var(--panel-2);
    border:1px solid var(--line-strong);
    display:flex; align-items:center; justify-content:center;
    color:var(--amber);
  }
  .filmstrip-copy .ft-title{font-weight:600; font-size:14.5px; margin-bottom:3px;}
  .filmstrip-copy .ft-sub{font-size:13px; color:var(--text-faint);}

  @media(max-width:860px){
    #o-nas .about-grid{grid-template-columns:1fr; gap:44px;}
  }

  /* ---------- SLUŽBY (cards) ---------- */
  .card-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden;
  }
  .card{
    background:var(--panel);
    padding:34px 30px;
    transition:background 0.2s ease;
  }
  .card:hover{background:var(--panel-2);}
  .card-icon{
    width:42px; height:42px;
    color:var(--amber);
    margin-bottom:22px;
  }
  .card h3{font-size:18px; font-weight:600; margin-bottom:10px; font-family:var(--font-body);}
  .card p{font-size:14.5px; color:var(--text-muted);}
  @media(max-width:900px){.card-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:620px){.card-grid{grid-template-columns:1fr;}}

  /* ---------- AI section ---------- */
  #ai{
    background:var(--panel);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  #ai .section-intro p{color:var(--text-muted);}
  .pipeline{
    position:relative;
    margin:70px 0 40px;
  }
  .pipeline-line{
    position:absolute;
    top:29px; left:0; right:0;
    height:1px;
    background:var(--line-strong);
  }
  .pipeline-pulse{
    position:absolute;
    top:29px; left:0;
    width:6px; height:6px;
    margin-top:-2.5px;
    border-radius:50%;
    background:var(--amber);
    box-shadow:0 0 10px 2px rgba(232,163,61,0.6);
    offset-path:path('M0,0 L1000,0');
    animation:travel 5s linear infinite;
  }
  @keyframes travel{
    0%{offset-distance:0%; opacity:0;}
    5%{opacity:1;}
    95%{opacity:1;}
    100%{offset-distance:100%; opacity:0;}
  }
  .pipeline-nodes{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    position:relative;
  }
  .p-node{display:flex; flex-direction:column; align-items:flex-start;}
  .p-node-dot{
    width:14px; height:14px;
    border-radius:50%;
    background:var(--panel);
    border:2px solid var(--amber);
    margin-bottom:20px;
  }
  .p-node .p-index{font-family:var(--font-mono); font-size:11px; color:var(--text-faint); margin-bottom:8px;}
  .p-node h4{font-size:15.5px; font-weight:700; margin-bottom:8px; font-family:var(--font-body);}
  .p-node p{font-size:13.5px; color:var(--text-muted); line-height:1.55;}
  @media(max-width:900px){
    .pipeline-nodes{grid-template-columns:1fr; gap:34px;}
    .pipeline-line, .pipeline-pulse{display:none;}
    .p-node-dot{margin-bottom:12px;}
  }

  .ai-note{
    margin-top:56px;
    background:var(--panel-2);
    border:1px solid var(--line);
    border-left:3px solid var(--amber);
    border-radius:4px;
    padding:24px 28px;
    display:flex; gap:18px; align-items:flex-start;
    max-width:720px;
  }
  .ai-note svg{width:24px; height:24px; color:var(--amber); flex-shrink:0; margin-top:2px;}
  .ai-note p{font-size:14.5px; color:var(--text-muted);}
  .ai-note strong{color:var(--text);}

  /* ---------- TECHNIKA (equipment rack) ---------- */
  .rack{
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden;
  }
  .rack-row{
    display:grid;
    grid-template-columns:44px 1fr 1.4fr;
    gap:24px;
    align-items:center;
    padding:22px 26px;
    border-bottom:1px solid var(--line);
    background:var(--panel);
  }
  .rack-row:last-child{border-bottom:none;}
  .rack-row:nth-child(even){background:var(--panel-2);}
  .rack-icon{color:var(--amber); width:24px; height:24px;}
  .rack-cat{font-family:var(--font-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--text-faint);}
  .rack-cat span{display:block; font-family:var(--font-body); font-size:15px; color:var(--text); font-weight:600; letter-spacing:0; text-transform:none; margin-top:4px;}
  .rack-items{font-size:14px; color:var(--text-muted); line-height:1.7;}
  @media(max-width:700px){
    .rack-row{grid-template-columns:36px 1fr; row-gap:8px;}
    .rack-items{grid-column:1/-1;}
  }

  /* ---------- KONTAKTY (call sheet) ---------- */
  #kontakty .callsheet{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden;
  }
  .cs-head{
    display:flex; justify-content:space-between; align-items:center;
    padding:20px 30px;
    border-bottom:1px solid var(--line);
    font-family:var(--font-mono);
    font-size:11px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--text-faint);
  }
  .cs-head .rec-tag{color:var(--red); display:flex; align-items:center; gap:6px;}
  .cs-head .rec-tag::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--red); animation:blink 2.4s ease-in-out infinite;}
  .cs-body{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }
  .cs-item{
    padding:30px;
    border-right:1px solid var(--line);
  }
  .cs-item:last-child{border-right:none;}
  .cs-item .ci-icon{width:26px; height:26px; color:var(--amber); margin-bottom:16px;}
  .cs-item .ci-label{font-family:var(--font-mono); font-size:11px; color:var(--text-faint); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:10px;}
  .cs-item .ci-value{font-size:15.5px; color:var(--text); line-height:1.6;}
  .cs-item .ci-value a{color:var(--text); text-decoration:none; border-bottom:1px solid var(--line-strong); transition:border-color 0.2s;}
  .cs-item .ci-value a:hover{border-color:var(--amber); color:var(--amber);}
  .cs-foot{
    padding:20px 30px;
    border-top:1px solid var(--line);
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--text-faint);
    display:flex; gap:28px; flex-wrap:wrap;
  }
  @media(max-width:760px){
    .cs-body{grid-template-columns:1fr;}
    .cs-item{border-right:none; border-bottom:1px solid var(--line);}
    .cs-item:last-child{border-bottom:none;}
  }

  /* ---------- FOOTER ---------- */
  footer{
    border-top:1px solid var(--line);
    padding:36px 0;
  }
  .footer-inner{
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  }
  .footer-inner p{font-family:var(--font-mono); font-size:12px; color:var(--text-faint);}
