  :root{
    --ink:#0B1F33;
    --teal:#1C6E8C;
    --teal-bright:#2C93B8;
    --amber:#F2A93B;
    --steel:#EEF1F4;
    --graphite:#23262B;
    --white:#FFFFFF;
    --line: rgba(11,31,51,0.12);
    --shadow: 0 20px 50px rgba(11,31,51,0.14);
    --ease: cubic-bezier(.22,.9,.32,1);
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter',sans-serif;
    color:var(--graphite);
    background:var(--white);
    overflow-x:hidden;
  }
  h1,h2,h3,.display{
    font-family:'Space Grotesk',sans-serif;
    color:var(--ink);
    letter-spacing:-0.01em;
  }
  .mono{
    font-family:'IBM Plex Mono',monospace;
    letter-spacing:0.04em;
  }
  a{text-decoration:none;color:inherit;}
  ul{list-style:none;}
  img{display:block;max-width:100%;}
  .wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
  .eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:12.5px;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:var(--teal);
    font-weight:600;
    display:flex;align-items:center;gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:22px;height:2px;background:var(--amber);
    display:inline-block;
  }

  /* reveal animation */
  .reveal{opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease);}
  .reveal.in{opacity:1; transform:translateY(0);}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; transition:none;}
    *{animation:none !important;}
  }

  /* ===== NAV ===== */
  header{
    position:fixed; top:0; left:0; right:0; z-index:1000;
    background:rgba(11,31,51,0.0);
    transition:background .4s var(--ease), box-shadow .4s var(--ease), padding .3s var(--ease);
    padding:22px 0;
  }
  header.scrolled{
    background:rgba(11,31,51,0.92);
    backdrop-filter: blur(10px);
    box-shadow:0 8px 30px rgba(0,0,0,0.15);
    padding:12px 0;
  }
  nav{display:flex; align-items:center; justify-content:space-between;}
  .logo{
    display:flex; align-items:center; gap:10px;
    font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:20px; color:var(--white);
  }
  .logo span.mark{
    width:34px; height:34px; border-radius:8px;
    background:linear-gradient(135deg,var(--teal-bright),var(--ink));
    display:flex; align-items:center; justify-content:center;
    color:var(--amber); font-weight:700; font-size:15px;
    transform:rotate(0deg); transition:transform .5s var(--ease);
  }
  .logo:hover span.mark{transform:rotate(90deg);}
  .navlinks{display:flex; gap:34px;}
  .navlinks a{
    color:rgba(255,255,255,0.82); font-size:14.5px; font-weight:500;
    position:relative; padding:6px 0;
  }
  .navlinks a::after{
    content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--amber);
    transition:width .3s var(--ease);
  }
  .navlinks a:hover::after, .navlinks a.active::after{width:100%;}
  .nav-cta{
    background:var(--amber); color:var(--ink); font-weight:600; font-size:14px;
    padding:10px 20px; border-radius:6px; transition:transform .25s var(--ease), box-shadow .25s var(--ease);
  }
  .nav-cta:hover{transform:translateY(-2px); box-shadow:0 10px 24px rgba(242,169,59,0.4);}
  .burger{display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none;}
  .burger span{width:24px; height:2px; background:var(--white);}

  /* ===== HERO / CAROUSEL ===== */
  .hero{position:relative; height:100vh; min-height:640px; overflow:hidden; background:var(--ink);}
  .hero-video{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:cover; z-index:1; filter:saturate(1.05);
    animation: kenburns 20s ease-in-out infinite alternate;
  }
  @keyframes kenburns{
    0%{transform:scale(1) translate(0,0);}
    100%{transform:scale(1.08) translate(-1%,-0.5%);}
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(11,31,51,0.55) 0%, rgba(11,31,51,0.35) 40%, rgba(11,31,51,0.92) 100%);
    z-index:2;
  }
  .hero-cut{
    position:absolute; z-index:3; top:0; right:0;
    width:46%; height:100%;
    clip-path: polygon(38% 0, 100% 0, 100% 100%, 0% 100%);
    background:linear-gradient(160deg, rgba(28,110,140,0.35), rgba(28,110,140,0));
    pointer-events:none;
  }
  .hero-content{
    position:relative; z-index:4; height:100%;
    display:flex; flex-direction:column; justify-content:center;
    max-width:1180px; margin:0 auto; padding:0 32px;
  }
  .hero-content .eyebrow{color:var(--amber);}
  .hero-content .eyebrow::before{background:var(--amber);}
  .hero h1{
    font-size:clamp(38px, 6vw, 74px);
    line-height:1.02; color:var(--white); margin:18px 0 22px;
    max-width:820px;
  }
  .hero h1 em{
    font-style:normal; color:var(--teal-bright);
    position:relative;
  }
  .hero p.lede{
    font-size:18px; color:rgba(255,255,255,0.82); max-width:560px; line-height:1.6; margin-bottom:34px;
  }
  .hero-actions{display:flex; gap:16px; flex-wrap:wrap;}
  .btn{
    padding:15px 28px; border-radius:6px; font-weight:600; font-size:15px;
    display:inline-flex; align-items:center; gap:8px;
    transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  }
  .btn-primary{background:var(--amber); color:var(--ink);}
  .btn-primary:hover{transform:translateY(-3px); box-shadow:0 14px 28px rgba(242,169,59,0.35);}
  .btn-ghost{border:1.5px solid rgba(255,255,255,0.4); color:var(--white);}
  .btn-ghost:hover{background:rgba(255,255,255,0.1); transform:translateY(-3px);}

  .slide-dots{
    position:absolute; bottom:36px; left:50%; transform:translateX(-50%); z-index:5;
    display:flex; gap:10px;
  }
  .dot{
    width:34px; height:4px; background:rgba(255,255,255,0.35); border-radius:2px; cursor:pointer;
    overflow:hidden; position:relative;
  }
  .dot .fill{position:absolute; inset:0; background:var(--amber); width:0%;}
  .dot.active .fill{animation:fillbar 5.5s linear forwards;}
  @keyframes fillbar{from{width:0%;} to{width:100%;}}

  .hero-caption{
    position:absolute; z-index:5; bottom:40px; right:32px;
    color:rgba(255,255,255,0.75); font-size:13px; max-width:230px; text-align:right;
    display:none;
  }
  @media(min-width:900px){.hero-caption{display:block;}}

  .scroll-cue{
    position:absolute; z-index:5; bottom:38px; left:32px; color:rgba(255,255,255,0.6);
    font-size:12px; display:flex; align-items:center; gap:10px;
  }
  .scroll-cue .line{width:1px; height:34px; background:rgba(255,255,255,0.4); position:relative; overflow:hidden;}
  .scroll-cue .line::after{
    content:""; position:absolute; top:-100%; left:0; width:100%; height:100%; background:var(--amber);
    animation:scrollline 2s infinite;
  }
  @keyframes scrollline{0%{top:-100%;} 100%{top:100%;}}
  @media(max-width:768px){.scroll-cue{display:none;}}

  /* ===== SECTION GENERIC ===== */
  section{padding:110px 0; position:relative;}
  .section-head{max-width:640px; margin-bottom:56px;}
  .section-head h2{font-size:clamp(30px,4vw,44px); margin-top:14px; line-height:1.1;}
  .section-head p{color:#555; font-size:16px; line-height:1.65; margin-top:16px;}

  /* ===== ABOUT ===== */
  .about{background:var(--white);}
  .about-grid{display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center;}
  .about-media{position:relative;}
  .about-media .frame{
    position:relative; border-radius:10px; overflow:hidden; box-shadow:var(--shadow);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  }
  .about-media img{width:100%; height:420px; object-fit:cover; transition:transform .7s var(--ease);}
  .about-media:hover img{transform:scale(1.06);}
  .about-media .badge{
    position:absolute; bottom:-24px; left:-24px; background:var(--ink); color:var(--white);
    padding:22px 26px; border-radius:10px; box-shadow:var(--shadow);
    display:flex; gap:20px;
  }
  .about-media .badge .num{font-family:'Space Grotesk'; font-size:30px; font-weight:700; color:var(--amber);}
  .about-media .badge .lbl{font-size:11.5px; color:rgba(255,255,255,0.7); max-width:90px; line-height:1.3; margin-top:4px;}
  .about-text p{font-size:16.5px; line-height:1.75; color:#444; margin-bottom:18px;}
  .stat-row{display:flex; gap:36px; margin-top:34px; flex-wrap:wrap;}
  .stat-row .stat .n{font-family:'Space Grotesk'; font-size:32px; font-weight:700; color:var(--teal);}
  .stat-row .stat .l{font-size:12.5px; color:#777; margin-top:4px;}

  /* ===== FACILITY (spec sheet style) ===== */
  .facility{background:var(--steel);}
  .facility-grid{
    display:grid; grid-template-columns:repeat(3, 1fr); border-top:1px solid var(--line); border-left:1px solid var(--line);
  }
  .fac-item{
    border-right:1px solid var(--line); border-bottom:1px solid var(--line);
    padding:26px 24px; background:var(--white);
    display:flex; align-items:center; gap:16px;
    transition:background .3s var(--ease);
  }
  .fac-item:hover{background:#F4FAFC;}
  .fac-item .code{
    font-size:11px; color:var(--teal); font-weight:600; min-width:44px;
  }
  .fac-item .name{font-size:15px; font-weight:600; color:var(--ink);}
  @media(max-width:860px){.facility-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.facility-grid{grid-template-columns:1fr;}}

  /* ===== SERVICES (module datasheet) ===== */
  .services{background:var(--white);}
  .service-list{display:flex; flex-direction:column;}
  .service-row{
    display:grid; grid-template-columns:120px 1fr 1.3fr; gap:36px; align-items:start;
    padding:38px 0; border-top:1px solid var(--line);
    transition:padding .3s var(--ease);
  }
  .service-row:last-child{border-bottom:1px solid var(--line);}
  .service-row:hover{background:linear-gradient(90deg, rgba(28,110,140,0.04), transparent);}
  .service-row .modcode{font-family:'IBM Plex Mono'; font-size:13px; color:var(--amber); font-weight:600; padding-top:4px;}
  .service-row h3{font-size:22px; margin-bottom:6px;}
  .service-row .tag{font-size:12px; color:var(--teal); font-weight:600; text-transform:uppercase; letter-spacing:0.06em;}
  .service-row p{color:#555; line-height:1.7; font-size:15px;}
  @media(max-width:760px){
    .service-row{grid-template-columns:1fr; gap:10px;}
  }

  /* ===== PRODUCT RANGE ===== */
  .products{background:var(--ink); color:var(--white);}
  .products .section-head h2{color:var(--white);}
  .products .section-head p{color:rgba(255,255,255,0.65);}
  .products .eyebrow{color:var(--amber);}
  .prod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:rgba(255,255,255,0.1);}
  .prod-card{
    background:#0E263D; padding:34px 26px; min-height:270px;
    display:flex; flex-direction:column; justify-content:space-between;
    transition:background .35s var(--ease), transform .35s var(--ease);
  }
  .prod-card:hover{background:linear-gradient(160deg, #12395A, #0E263D); transform:translateY(-6px);}
  .prod-card h4{color:var(--white); font-size:18px; margin-bottom:16px; font-family:'Space Grotesk';}
  .prod-card ul li{
    font-size:13.5px; color:rgba(255,255,255,0.72); padding:6px 0; border-top:1px solid rgba(255,255,255,0.08);
  }
  .prod-card ul li:first-child{border-top:none;}
  @media(max-width:920px){.prod-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.prod-grid{grid-template-columns:1fr;}}

  /* ===== GALLERY ===== */
  .gallery{background:var(--steel);}
  .gallery-filters{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:38px;}
  .filter-btn{
    padding:9px 18px; border-radius:30px; font-size:13.5px; font-weight:600;
    border:1.5px solid var(--line); background:var(--white); color:var(--ink); cursor:pointer;
    transition:all .25s var(--ease);
  }
  .filter-btn:hover{border-color:var(--teal);}
  .filter-btn.active{background:var(--ink); border-color:var(--ink); color:var(--white);}
  .gal-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  }
  .gal-item{
    position:relative; border-radius:10px; overflow:hidden; cursor:pointer; box-shadow:0 8px 24px rgba(11,31,51,0.08);
    height:250px; transition:transform .3s var(--ease), opacity .4s ease;
  }
  .gal-item.hide{display:none;}
  .gal-item img{width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease);}
  .gal-item:hover img{transform:scale(1.12);}
  .gal-item:hover{transform:translateY(-6px);}
  .gal-caption{
    position:absolute; left:0; right:0; bottom:0; padding:16px 18px;
    background:linear-gradient(0deg, rgba(11,31,51,0.92), rgba(11,31,51,0));
    color:var(--white); font-size:14px; font-weight:600;
    transform:translateY(8px); opacity:0.9; transition:transform .3s var(--ease);
  }
  .gal-item:hover .gal-caption{transform:translateY(0);}
  .gal-caption span{display:block; font-family:'IBM Plex Mono'; font-size:10.5px; color:var(--amber); margin-bottom:4px; font-weight:500; letter-spacing:0.06em;}
  @media(max-width:900px){.gal-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.gal-grid{grid-template-columns:1fr;} .gal-item{height:220px;}}

  /* Lightbox */
  .lightbox{
    position:fixed; inset:0; background:rgba(6,14,24,0.94); z-index:2000;
    display:none; align-items:center; justify-content:center; padding:40px;
  }
  .lightbox.open{display:flex; animation:fadein .3s ease;}
  @keyframes fadein{from{opacity:0;} to{opacity:1;}}
  .lightbox img{max-width:88vw; max-height:82vh; border-radius:8px; box-shadow:0 30px 80px rgba(0,0,0,0.5);}
  .lightbox-close{
    position:absolute; top:28px; right:36px; color:var(--white); font-size:32px; cursor:pointer;
    background:none; border:none; line-height:1;
  }
  .lightbox-cap{position:absolute; bottom:34px; color:rgba(255,255,255,0.8); font-size:14px; text-align:center; left:0; right:0;}

  /* ===== INDUSTRIES ===== */
  .industries{background:var(--white);}
  .ind-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px;}
  .ind-card{
    border:1px solid var(--line); border-radius:12px; padding:30px 24px; position:relative; overflow:hidden;
    transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  }
  .ind-card::before{
    content:""; position:absolute; top:0; right:0; width:0; height:0;
    border-style:solid; border-width:0 46px 46px 0; border-color:transparent var(--teal) transparent transparent;
    opacity:0.13; transition:opacity .3s var(--ease);
  }
  .ind-card:hover{transform:translateY(-8px); box-shadow:var(--shadow); border-color:transparent;}
  .ind-card:hover::before{opacity:1;}
  .ind-card h4{font-size:19px; margin-bottom:14px;}
  .ind-card li{font-size:13.5px; color:#555; padding:4px 0; position:relative; padding-left:16px;}
  .ind-card li::before{content:"—"; position:absolute; left:0; color:var(--amber);}
  @media(max-width:920px){.ind-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.ind-grid{grid-template-columns:1fr;}}

  /* ===== CTA / SUMMARY ===== */
  .cta-band{
    background:linear-gradient(120deg, var(--teal) 0%, var(--ink) 100%);
    color:var(--white); text-align:center; padding:100px 0;
    position:relative; overflow:hidden;
  }
  .cta-band::after{
    content:""; position:absolute; width:340px; height:340px; border-radius:50%;
    background:rgba(242,169,59,0.15); top:-140px; right:-100px;
  }
  .cta-band h2{color:var(--white); font-size:clamp(28px,4vw,42px); max-width:760px; margin:0 auto 20px;}
  .cta-band p{color:rgba(255,255,255,0.8); max-width:600px; margin:0 auto 36px; font-size:16.5px; line-height:1.7;}

  /* ===== CONTACT / FOOTER ===== */
  footer{background:var(--ink); color:rgba(255,255,255,0.75); padding:80px 0 30px;}
  .foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:60px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,0.1);}
  .foot-logo{display:flex; align-items:center; gap:10px; color:var(--white); font-family:'Space Grotesk'; font-weight:700; font-size:20px; margin-bottom:16px;}
  .foot-brand p{font-size:14.5px; line-height:1.7; max-width:320px; color:rgba(255,255,255,0.55);}
  .foot-col h5{color:var(--white); font-size:13px; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:18px;}
  .foot-col a, .foot-col p{display:block; font-size:14.5px; color:rgba(255,255,255,0.6); margin-bottom:12px; transition:color .2s;}
  .foot-col a:hover{color:var(--amber);}
  .foot-bottom{display:flex; justify-content:space-between; padding-top:26px; font-size:13px; color:rgba(255,255,255,0.4); flex-wrap:wrap; gap:10px;}

  @media(max-width:900px){
    .foot-grid{grid-template-columns:1fr; gap:36px;}
    .about-grid{grid-template-columns:1fr; gap:40px;}
    .about-media img{height:320px;}
  }
  @media(max-width:768px){
    .navlinks{display:none;}
    .burger{display:flex;}
    section{padding:76px 0;}
  }
  .mobile-menu{
    position:fixed; top:0; right:0; height:100%; width:78%; max-width:320px; background:var(--ink);
    z-index:1100; transform:translateX(100%); transition:transform .4s var(--ease);
    padding:100px 32px 32px; display:flex; flex-direction:column; gap:26px;
  }
  .mobile-menu.open{transform:translateX(0);}
  .mobile-menu a{color:var(--white); font-size:18px; font-weight:500;}
