
  :root{
    /* ====== Real Tramex brand colors, sampled from the logo ====== */
    --black:        #111111;   /* near-black hero / footer */
    --black-2:      #1B1B1B;   /* raised dark panel */
    --orange:       #FF6301;   /* brand orange (from logo) */
    --orange-deep:  #E05500;   /* accent hover */
    --blue:         #0057A2;   /* brand blue (from logo "E") */
    --steel:        #6B7378;   /* neutral steel gray */
    --paper:        #F5F4F1;   /* light section background */
    --ink:          #16171A;
    /* ================================================================ */
    --ink-soft:  #5B6167;
    --line:      rgba(17,17,17,0.13);
    --line-dark: rgba(245,244,241,0.14);
    --radius: 2px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }

  body{
    background:var(--paper);
    color:var(--ink);
    font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }

  h1,h2,h3{
    font-family:'Oswald', 'Inter', sans-serif;
    font-weight:700;
    letter-spacing:0.005em;
    text-transform:uppercase;
    color:var(--ink);
  }

  .mono{ font-family:'IBM Plex Mono', ui-monospace, monospace; }
  a{color:inherit; text-decoration:none;}
  img,svg{max-width:100%; display:block;}
  .wrap{ max-width:1220px; margin:0 auto; padding:0 32px; }
  a:focus-visible, button:focus-visible{ outline:2px solid var(--orange); outline-offset:3px; }

  /* grain / stain texture used on dark sections, echoing Fabrica's concrete "stain" art */
  .grain{ position:absolute; inset:0; opacity:0.5; mix-blend-mode:overlay; pointer-events:none; }
  .blob{
    position:absolute; border-radius:50%;
    filter:blur(70px);
    pointer-events:none;
  }

  /* ---------- Header ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(17,17,17,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line-dark);
  }
  .header-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 32px; max-width:1220px; margin:0 auto;
  }
  .logo{
    display:flex; align-items:center; gap:12px;
  }
  .logo-img{ height:30px; width:auto; display:block; }
  .logo span.tag{
    font-family:'IBM Plex Mono', monospace; font-weight:400;
    font-size:0.62rem; letter-spacing:0.14em; text-transform:none;
    color:rgba(245,244,241,0.5); border-left:1px solid var(--line-dark);
    padding-left:10px; margin-left:2px;
  }
  nav ul{ list-style:none; display:flex; gap:32px; }
  nav a{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.76rem; letter-spacing:0.05em; text-transform:uppercase;
    color:rgba(245,244,241,0.72); transition:color 0.2s;
  }
  nav a:hover{ color:var(--orange); }
  @media (max-width:760px){ nav{display:none;} }

  .btn{
    display:inline-flex; align-items:center; gap:9px;
    padding:14px 26px; font-family:'IBM Plex Mono', monospace;
    font-size:0.78rem; font-weight:500; letter-spacing:0.07em; text-transform:uppercase;
    border-radius:var(--radius);
    transition:transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  }
  .btn-primary{ background:var(--orange); color:#181818; }
  .btn-primary:hover{ transform:translateY(-2px); background:#fff; }
  .btn-ghost{ border:1px solid var(--line-dark); color:#fff; }
  .btn-ghost:hover{ border-color:var(--orange); transform:translateY(-2px); }

  /* ---------- Hero ---------- */
  .hero{
    position:relative; padding:170px 0 110px;
    background:var(--black); color:#fff; overflow:hidden;
    min-height:88vh; display:flex; align-items:center;
  }
  .hero-bg{
    position:absolute; inset:0; z-index:0;
    display:grid; grid-template-rows:1fr auto;
  }
  .hero-bg .bg-main{
    background-image:url('images/equipment-range.webp');
    background-size:cover; background-position:center 30%;
    filter:grayscale(0.15);
  }
  /* .hero-bg .bg-strip{
    height:0; min-height:190px;
    background-image:url('images/hero-machine.webp');
    background-size:cover; background-position:center;
    border-top:2px solid var(--orange);
    filter:grayscale(0.15);
  } */
  .hero-scrim{
    position:absolute; inset:0; z-index:1;
    background:
      linear-gradient(100deg, var(--black) 0%, rgba(17,17,17,0.94) 28%, rgba(17,17,17,0.62) 46%, rgba(17,17,17,0.28) 64%, rgba(17,17,17,0.55) 100%),
      linear-gradient(0deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.15) 30%, transparent 55%);
  }
  .hero .blob-1{ width:520px; height:520px; background:radial-gradient(circle, rgba(255,99,1,0.14), transparent 70%); top:-160px; right:-120px; z-index:1; }
  .hero .blob-2{ width:380px; height:380px; background:radial-gradient(circle, rgba(107,115,120,0.18), transparent 70%); bottom:-160px; left:-80px; z-index:1; }
  .hero-inner{ position:relative; z-index:2; max-width:700px; left: -15%;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace; font-size:0.75rem;
    letter-spacing:0.24em; text-transform:uppercase; color:var(--orange);
    display:flex; align-items:center; gap:10px; margin-bottom:26px;
  }
  .eyebrow::before{ content:""; width:30px; height:2px; background:var(--orange); display:inline-block; }
  .hero h1{
    font-size:clamp(2.6rem, 6.4vw, 4.8rem); line-height:0.98; color:#fff; max-width:16ch;
    text-shadow:0 4px 30px rgba(0,0,0,0.5);
  }
  .hero h1 em{ font-style:normal; color:var(--orange); }
  .hero p.lead{
    margin-top:26px; max-width:50ch; color:rgba(245,244,241,0.75); font-size:1.08rem;
    font-family:'Inter',sans-serif; text-transform:none;
  }
  .hero-ctas{ margin-top:38px; display:flex; gap:16px; flex-wrap:wrap; }
  .scroll-cue{
    position:absolute; bottom:34px; left:32px; z-index:2;
    display:flex; align-items:center; gap:12px;
    font-family:'IBM Plex Mono', monospace; font-size:0.7rem;
    letter-spacing:0.14em; text-transform:uppercase; color:rgba(245,244,241,0.7);
  }
  .scroll-cue .dot{
    width:8px; height:8px; border-radius:50%; border:1px solid var(--orange);
    position:relative;
  }
  .scroll-cue .dot::after{
    content:""; position:absolute; inset:2px; border-radius:50%; background:var(--orange);
    animation:pulse 1.8s ease-in-out infinite;
  }
  @keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:0.25; } }
  .hero-tag{
    position:absolute; bottom:34px; right:32px; z-index:2;
    font-family:'IBM Plex Mono', monospace; font-size:0.68rem;
    letter-spacing:0.1em; text-transform:uppercase; color:rgba(245,244,241,0.6);
    text-align:right;
  }
  @media (max-width:760px){ .hero-tag{ display:none; } }
  @media (max-width:900px){
    .hero{ min-height:auto; padding:150px 0 90px; }
    .hero-bg .bg-strip{ height:16vh; min-height:110px; }
    .hero-scrim{
      background:
        linear-gradient(180deg, var(--black) 0%, rgba(17,17,17,0.9) 40%, rgba(17,17,17,0.55) 70%, rgba(17,17,17,0.75) 100%);
    }
  }

  /* ---------- Clients (horizontal scroll) ---------- */
  .clients{ background:#fff; border-top:1px solid var(--line); }
  .clients-scroll{
    display:flex; overflow-x:auto; scroll-snap-type:x proximity;
    border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    cursor:grab; -webkit-overflow-scrolling:touch;
    scrollbar-width:thin; scrollbar-color:var(--orange) var(--paper);
  }
  .clients-scroll.is-dragging{ cursor:grabbing; scroll-behavior:auto; user-select:none; }
  .clients-scroll::-webkit-scrollbar{ height:6px; }
  .clients-scroll::-webkit-scrollbar-track{ background:var(--paper); }
  .clients-scroll::-webkit-scrollbar-thumb{ background:var(--orange); }
  .client-cell{
    flex:0 0 auto; width:220px;
    border-right:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    padding:34px 26px; background:#fff; transition:background 0.2s;
    scroll-snap-align:start;
  }
  .client-cell img{
    max-height:38px; max-width:100%; width:auto; filter:grayscale(1) opacity(0.55);
    transition:filter 0.25s ease, transform 0.25s ease; pointer-events:none;
  }
  .client-cell:hover{ background:var(--paper); }
  .client-cell:hover img{ filter:grayscale(0) opacity(1); transform:scale(1.05); }
  .clients-hint{
    display:flex; align-items:center; gap:10px; margin-top:16px;
    font-family:'IBM Plex Mono', monospace; font-size:0.68rem; letter-spacing:0.08em;
    text-transform:uppercase; color:var(--ink-soft);
  }
  .clients-hint svg{ width:16px; height:16px; }
  .clients-hint svg path{ stroke:var(--orange-deep); stroke-width:1.6; fill:none; }

  /* ---------- Section shell ---------- */
  section{ padding:100px 0; }
  .section-head{
    max-width:640px; margin-bottom:52px;
  }
  .section-head .eyebrow{ color:var(--steel); }
  .section-head .eyebrow::before{ background:var(--orange); }
  .section-head h2{ font-size:clamp(1.9rem, 4vw, 3rem); line-height:1.05; }
  .section-head p{ margin-top:16px; color:var(--ink-soft); font-size:1rem; text-transform:none; font-family:'Inter',sans-serif; max-width:52ch; }
  .section-head.on-dark h2{ color:#fff; }
  .section-head.on-dark p{ color:rgba(245,244,241,0.6); }

  /* ---------- Industries (Fabrica "What we offer" pattern) ---------- */
  .industries{ background:var(--paper); position:relative; overflow:hidden; }
  .industries-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
  .industries-bg svg{ position:absolute; opacity:0.09; }
  .industries-bg .gear-big{
    width:640px; height:640px; top:-190px; right:-160px;
    animation:spin 70s linear infinite;
  }
  .industries-bg .gear-small{
    width:360px; height:360px; bottom:-120px; left:-100px;
    animation:spin 46s linear infinite reverse;
  }
  .industries-bg svg circle,.industries-bg svg line{ stroke:var(--steel); fill:none; }
  .industries > .wrap{ position:relative; z-index:1; }
  .industries-grid{
    display:grid; grid-template-columns:repeat(5, 1fr);
    border-top:1px solid var(--line);
  }
  @media (max-width:900px){ .industries-grid{ grid-template-columns:repeat(2, 1fr); } }
  .industry-card{
    padding:34px 22px 30px; border-right:1px solid var(--line); border-bottom:1px solid var(--line);
    transition:background 0.2s;
    position:relative;
  }
  .industry-card:hover{ background: #0057A2; }
  .industry-card:hover .name, .industry-card:hover .num{ color:#fff; }
  .industry-card:hover svg path, .industry-card:hover svg circle, .industry-card:hover svg rect{ stroke:var(--orange); }
  .industry-card .num{
    font-family:'IBM Plex Mono', monospace; font-size:0.7rem; color:var(--orange); display:block; margin-bottom:20px;
  }
  .industry-card svg{ width:34px; height:34px; margin-bottom:18px; }
  .industry-card svg path, .industry-card svg circle, .industry-card svg rect{ stroke:var(--ink); fill:none; stroke-width:1.5; transition:stroke 0.2s; }
  .industry-card .name{ font-family:'Oswald', sans-serif; font-weight:600; font-size:1.05rem; letter-spacing:0.02em; }

  /* ---------- About ---------- */
  .about{ background:#fff; position:relative; overflow:hidden; }
  .about-bg{
    position:absolute; inset:0; z-index:0;
    background-image:url('images/hero-machine.webp');
    background-repeat:no-repeat; background-position:right center; background-size:contain;
  }
  .about-scrim{
    position:absolute; inset:0; z-index:1;
    background:linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255,255,255,0.9) 55%, rgba(255,255,255,0.45) 72%, rgba(255,255,255,0) 92%);
  }
  .about-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1fr; gap:0; }
  @media (max-width:900px){
    .about-bg{ background-position:center 90%; opacity:0.18; }
    .about-scrim{ background:linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.85) 55%, rgba(255,255,255,0.6) 100%); }
  }
  .about p.body{ color:var(--ink-soft); max-width:52ch; margin-bottom:16px; text-transform:none; font-family:'Inter',sans-serif; }
  .capability-list{ list-style:none; margin-top:28px; }
  .capability-list li{
    display:flex; align-items:baseline; gap:16px; padding:18px 0;
    border-top:1px solid var(--line); font-size:1rem; font-weight:500;
  }
  .capability-list li:last-child{ border-bottom:1px solid var(--line); }
  .capability-list li .idx{ font-family:'IBM Plex Mono', monospace; font-size:0.78rem; color:var(--orange-deep); }

  /* ---------- Products (Fabrica portfolio-grid pattern) ---------- */
  .products{ background:var(--paper); position:relative; overflow:hidden; }
  .products-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
  .products-bg svg{ position:absolute; opacity:0.08; }
  .products-bg svg path,.products-bg svg circle,.products-bg svg line,.products-bg svg rect{
    stroke:var(--steel); fill:none; stroke-width:2;
  }
  .products-bg .tool-wrench{ width:220px; height:220px; top:-40px; left:-30px; transform:rotate(-18deg); }
  .products-bg .tool-gauge{ width:180px; height:180px; top:60%; left:4%; transform:rotate(6deg); }
  .products-bg .tool-flask{ width:200px; height:200px; top:-60px; right:6%; transform:rotate(12deg); }
  .products-bg .tool-valve{ width:240px; height:240px; bottom:-70px; right:-40px; transform:rotate(-8deg); }
  .products-bg .tool-bolt{ width:120px; height:120px; bottom:8%; left:38%; transform:rotate(20deg); }
  .products > .wrap{ position:relative; z-index:1; }
  .products-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
  @media (max-width:900px){ .products-grid{ grid-template-columns:repeat(2, 1fr); } }
  @media (max-width:560px){ .products-grid{ grid-template-columns:1fr; } }
  .product-card{
    position:relative; background:#fff; color:var(--ink);
    display:flex; flex-direction:column;
    border:1px solid var(--line);
    transition:transform 0.25s ease, box-shadow 0.25s ease;
  }
  .product-card:hover{ transform:translateY(-6px); box-shadow:0 24px 48px -24px rgba(17,17,17,0.3); }
  .product-media{
    position:relative; aspect-ratio:4/4; overflow:hidden;
    border-bottom:1px solid var(--line); background:#eeece5;
  }
  .product-media img{ width:100%; height:100%; object-fit: contain; display:block; }
  .product-badge{
    position:absolute; top:14px; left:14px; width:34px; height:34px;
    background: #0057A2; backdrop-filter:blur(3px);
    display:flex; align-items:center; justify-content:center;
  }
  .product-badge svg{ width:18px; height:18px; }
  .product-badge svg path, .product-badge svg rect, .product-badge svg circle, .product-badge svg line{
    stroke: #fff; stroke-width:1.6; fill:none;
  }
  .product-body{ padding:22px 22px 26px; }
  .product-card .tag{
    font-family:'IBM Plex Mono', monospace; font-size:0.66rem; color:var(--orange-deep); letter-spacing:0.1em; margin-bottom:8px;
  }
  .product-card h3{ font-size:1.05rem; line-height:1.25; color:var(--ink); }
  .product-card .desc{
    margin-top:10px; font-size:0.87rem; color:var(--ink-soft);
    text-transform:none; font-family:'Inter',sans-serif;
  }

  /* ---------- Capability band (Fabrica skill-bar / clients pattern) ---------- */
  .capability-band{ background: #0057A2; color:#fff; position:relative; overflow:hidden; }
  .capability-band .blob-4{ width:460px; height:460px; background:radial-gradient(circle, rgba(107,115,120,0.2), transparent 70%); top:-120px; left:40%; }
  .band-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:64px; }
  @media (max-width:900px){ .band-inner{ grid-template-columns:1fr; gap:40px; } }
  .skill{ margin-bottom:26px; }
  .skill:last-child{ margin-bottom:0; }
  .skill-label{
    display:flex; justify-content:space-between; margin-bottom:10px;
    font-family:'IBM Plex Mono', monospace; font-size:0.78rem; letter-spacing:0.04em;
    color:rgba(245,244,241,0.8);
  }
  .skill-track{ height:3px; background:rgba(245,244,241,0.14); position:relative; }
  .skill-fill{ position:absolute; left:0; top:0; bottom:0; background:var(--orange); width:0; transition:width 1.2s ease; }
  .skill.is-visible .skill-fill{ width:var(--pct); }

  /* ---------- Footer (Fabrica address / say-hello / socials pattern) ---------- */
  footer{ background:var(--black-2); color:#fff; padding:90px 0 0; border-top:1px solid var(--line-dark); }
  .footer-cta h2{ font-size:clamp(1.8rem, 4vw, 3rem); color:#fff; max-width:16ch; line-height:1.05; margin-bottom:56px; }
  .footer-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:40px; padding-bottom:46px; border-bottom:1px solid var(--line-dark); }
  @media (max-width:820px){ .footer-grid{ grid-template-columns:1fr; gap:32px; } }
  .footer-col .label{
    font-family:'IBM Plex Mono', monospace; font-size:0.68rem; letter-spacing:0.16em;
    text-transform:uppercase; color:var(--orange); margin-bottom:16px; display:block;
  }
  .footer-col a, .footer-col p{
    display:block; color:rgba(245,244,241,0.8); font-size:0.98rem; padding:5px 0; text-transform:none;
    font-family:'Inter',sans-serif; transition:color 0.2s;
  }
  .footer-col a:hover{ color:var(--orange); }
  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center;
    padding:26px 0; flex-wrap:wrap; gap:12px;
    font-family:'IBM Plex Mono', monospace; font-size:0.7rem; color:rgba(245,244,241,0.4); letter-spacing:0.03em;
  }

  .reveal{ opacity:0; transform:translateY(20px); transition:opacity 0.7s ease, transform 0.7s ease; }
  .reveal.is-visible{ opacity:1; transform:translateY(0); }
