:root {
  --navy: #17324f;
  --navy-deep: #0e2134;
  --navy-soft: #2d4b69;
  --teal: #2f8f99;
  --teal-bright: #46aab3;
  --ink: #16202a;
  --muted: #617080;
  --line: #dbe2e8;
  --paper: #f5f7f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 34, 53, .13);
  --radius: 4px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 999; background: var(--white); padding: 10px 14px; }
.skip-link:focus { left: 10px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 84px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(23,50,79,.08);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(12,34,53,.08); height: 72px; }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 282px; padding: 9px 12px; margin-left: -12px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-size: .86rem; font-weight: 650; letter-spacing: .02em; color: var(--navy); }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--teal); transition: width .25s ease; }
.site-nav a:hover::after { width: 100%; }
.nav-cta { padding: 12px 18px; background: var(--navy); color: white !important; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); }

.hero { position: relative; min-height: 820px; padding: 190px 0 100px; overflow: hidden; background: linear-gradient(130deg,#f8fafb 0%,#f0f5f6 55%,#e8f0f1 100%); }
.hero::before { content: ""; position: absolute; width: 580px; height: 580px; border: 110px solid rgba(47,143,153,.06); border-radius: 50%; right: -210px; top: 20px; }
.hero-grid-pattern { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(23,50,79,.06) 1px, transparent 1px),linear-gradient(90deg,rgba(23,50,79,.06) 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, transparent 0, black 55%, black 100%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 80px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 18px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.section-kicker.light { color: #71c3ca; }
h1,h2,h3 { margin-top: 0; color: var(--navy); line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem,5.3vw,5.15rem); font-weight: 760; }
h2 { margin-bottom: 22px; font-size: clamp(2.2rem,3.8vw,3.6rem); font-weight: 730; }
h3 { margin-bottom: 14px; font-size: 1.35rem; }
.hero-lead { max-width: 680px; margin: 0 0 34px; font-size: 1.16rem; color: #465768; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; text-decoration: none; font-weight: 750; font-size: .92rem; letter-spacing: .01em; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: var(--white); }
.button-primary:hover { background: #277e87; }
.button-secondary { border-color: #aebbc6; color: var(--navy); background: rgba(255,255,255,.5); }
.button-secondary:hover { border-color: var(--navy); background: var(--white); }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 38px; color: var(--navy-soft); font-size: .82rem; font-weight: 650; }
.hero-proof span { display: flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 7px; height: 7px; background: var(--teal); border-radius: 50%; }

.control-panel { background: var(--navy-deep); color: white; box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.panel-top { height: 52px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; }
.panel-title { font-family: "Courier New", monospace; font-size: .72rem; letter-spacing: .12em; }
.system-status { display: flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: #8ee0b7; }
.system-status i { width: 8px; height: 8px; border-radius: 50%; background: #5bd38f; box-shadow: 0 0 0 5px rgba(91,211,143,.1); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(91,211,143,0); } }
.panel-body { padding: 30px; }
.process-line { display: grid; grid-template-columns: 1fr 54px 1fr 54px 1fr; align-items: center; }
.process-node { min-height: 130px; padding: 20px 10px; text-align: center; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.035); }
.process-node.active { border-color: rgba(70,170,179,.65); background: rgba(47,143,153,.12); }
.process-node small { display: block; margin: 11px 0 3px; color: #72a1b4; font-size: .6rem; letter-spacing: .12em; }
.process-node strong { display: block; font-size: .75rem; }
.node-icon { position: relative; display: inline-block; width: 38px; height: 38px; border: 2px solid var(--teal-bright); }
.sensor-icon { border-radius: 50%; }
.sensor-icon::after { content: ""; position: absolute; inset: 8px; border: 2px solid var(--teal-bright); border-radius: 50%; }
.plc-icon::before { content: ""; position: absolute; top: 7px; left: 7px; right: 7px; height: 3px; box-shadow: 0 7px 0 var(--teal-bright), 0 14px 0 var(--teal-bright); background: var(--teal-bright); }
.screen-icon { width: 44px; height: 30px; margin-top: 4px; }
.screen-icon::after { content: ""; position: absolute; left: 15px; bottom: -9px; width: 12px; height: 7px; border-left: 2px solid var(--teal-bright); border-right: 2px solid var(--teal-bright); }
.signal-line { height: 2px; background: rgba(70,170,179,.28); overflow: hidden; }
.signal-line span { display: block; width: 14px; height: 2px; background: #67d5de; animation: signal 2.1s linear infinite; }
@keyframes signal { from { transform: translateX(-20px); } to { transform: translateX(62px); } }
.panel-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.panel-metrics div { padding: 17px 12px; border-right: 1px solid rgba(255,255,255,.12); }
.panel-metrics div:last-child { border: 0; }
.panel-metrics span { display: block; font-family: "Courier New", monospace; font-size: 1.3rem; color: #71cbd2; }
.panel-metrics small { color: #8297a8; font-size: .65rem; }
.trend { height: 115px; margin-top: 18px; border-left: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 25% 25%; }
.trend svg { width: 100%; height: 100%; }
.trend-line { fill: none; stroke: #52bec7; stroke-width: 2; }
.trend-fill { fill: url(#trendFill); }

.intro-strip { padding: 88px 0; border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: .7fr 1.35fr 1fr; gap: 55px; align-items: start; }
.intro-grid h2 { margin: 0; font-size: clamp(2rem,3.2vw,3rem); }
.intro-grid > p:last-child { margin: 0; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; gap: 80px; align-items: end; margin-bottom: 55px; }
.section-heading > div { max-width: 700px; }
.section-heading > p { max-width: 420px; margin: 0 0 8px; color: var(--muted); }
.services-section { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #ced8df; border-left: 1px solid #ced8df; }
.service-card { position: relative; min-height: 390px; padding: 38px 32px 34px; background: var(--white); border-right: 1px solid #ced8df; border-bottom: 1px solid #ced8df; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; transform: translateY(-5px); box-shadow: 0 20px 50px rgba(23,50,79,.1); }
.service-number { display: inline-block; margin-bottom: 58px; color: var(--teal); font-family: "Courier New", monospace; font-size: .75rem; font-weight: bold; }
.service-card p { color: var(--muted); font-size: .93rem; }
.service-card ul { margin: 25px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { position: relative; padding-left: 16px; margin: 6px 0; font-size: .8rem; color: var(--navy-soft); }
.service-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--teal); }

.capabilities-section { background: var(--navy-deep); color: #b8c7d3; }
.capabilities-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; align-items: center; }
.capabilities-copy h2 { color: white; }
.capabilities-copy p:not(.section-kicker) { max-width: 520px; }
.text-link { display: inline-flex; gap: 14px; margin-top: 18px; color: white; text-decoration: none; font-weight: 700; }
.text-link span { color: #71cbd2; }
.capability-list { border-top: 1px solid rgba(255,255,255,.16); }
.capability-list div { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.16); align-items: center; }
.capability-list span { color: #67b7bf; font-family: "Courier New", monospace; font-size: .75rem; }
.capability-list strong { color: white; font-size: 1.02rem; }

.project-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.project-visual { position: relative; min-height: 500px; background: #e9eef1; border: 1px solid #d5dee4; overflow: hidden; }
.project-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(23,50,79,.055) 1px, transparent 1px),linear-gradient(90deg,rgba(23,50,79,.055) 1px,transparent 1px); background-size: 32px 32px; }
.silo { position: absolute; top: 90px; width: 98px; height: 190px; border: 4px solid var(--navy); border-bottom: 0; background: rgba(255,255,255,.45); }
.silo::after { content: ""; position: absolute; left: -4px; bottom: -57px; width: 98px; height: 60px; clip-path: polygon(0 0,100% 0,60% 100%,40% 100%); background: var(--navy); }
.silo-a { left: 82px; }
.silo-b { left: 220px; height: 145px; top: 135px; }
.silo span { position: absolute; left: 50%; top: -34px; height: 34px; border-left: 3px solid var(--navy); }
.silo small { position: absolute; width: 100%; text-align: center; top: 66px; color: var(--navy); font-size: .55rem; font-weight: 800; letter-spacing: .1em; writing-mode: vertical-rl; }
.hopper { position: absolute; left: 128px; bottom: 105px; width: 230px; height: 62px; clip-path: polygon(0 0,100% 0,82% 100%,18% 100%); background: var(--teal); }
.conveyor { position: absolute; left: 72px; bottom: 58px; width: 330px; height: 28px; border: 4px solid var(--navy); transform: rotate(-4deg); display: flex; justify-content: space-around; align-items: center; }
.conveyor i { width: 15px; height: 15px; border: 2px solid var(--navy); border-radius: 50%; }
.mixer { position: absolute; right: 45px; bottom: 60px; width: 108px; height: 120px; border: 4px solid var(--navy); border-radius: 54px 54px 15px 15px; }
.mixer::before { content: ""; position: absolute; left: 50%; top: -50px; height: 48px; border-left: 4px solid var(--navy); }
.mixer span { position: absolute; left: 19px; top: 40px; width: 64px; border-top: 4px solid var(--teal); transform: rotate(16deg); }
.project-tag { position: absolute; left: 25px; top: 24px; padding: 9px 11px; background: var(--navy); color: white; font-size: .58rem; letter-spacing: .13em; font-weight: 800; }
.project-copy p:not(.section-kicker) { color: var(--muted); }

.platforms-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platforms-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.platforms-layout p { color: var(--muted); margin-top: 0; }
.platform-logo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 30px 0 24px; }
.platform-logo-card { min-height: 132px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: white; border: 1px solid #cfd9df; }
.platform-logo-card img { width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.platform-logo-card small { display: block; margin-top: 12px; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tech-tags span { padding: 10px 14px; border: 1px solid #c7d2da; background: white; color: var(--navy); font-size: .78rem; font-weight: 700; }
.approach-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.approach-grid article { min-height: 280px; padding: 34px 28px; border-right: 1px solid var(--line); }
.approach-grid article:last-child { border-right: 0; }
.approach-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 48px; }
.approach-top svg { width: 54px; height: 54px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.approach-grid span { display: block; margin-bottom: 0; color: var(--teal); font-family: "Courier New", monospace; font-size: .75rem; }
.approach-grid p { color: var(--muted); font-size: .9rem; }

.about-section { background: #eef3f4; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.about-copy > p { margin-top: 0; color: #536575; font-size: 1.03rem; }
.about-facts { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 42px; border-top: 1px solid #c8d4db; }
.about-facts div { padding: 24px 18px 0 0; }
.about-facts strong { display: block; color: var(--navy); }
.about-facts span { display: block; margin-top: 6px; color: var(--muted); font-size: .75rem; }

.contact-section { padding: 112px 0; background: var(--navy); color: #bdcad5; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.contact-copy h2 { color: white; }
.contact-copy > p:not(.section-kicker) { max-width: 510px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 45px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-details a, .contact-details div { padding: 20px 12px 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; }
.contact-details span { display: block; color: #7f96a9; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-details strong { display: block; margin-top: 4px; color: white; font-size: .9rem; overflow-wrap: anywhere; }
.contact-form { padding: 38px; background: white; color: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; margin-bottom: 19px; color: var(--navy); font-size: .76rem; font-weight: 750; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 7px; padding: 13px 12px; border: 1px solid #cbd5dc; border-radius: 0; background: #fbfcfc; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,143,153,.11); }
.contact-form textarea { resize: vertical; }
.form-button { width: 100%; border: 0; }
.form-note { margin: 13px 0 0; text-align: center; color: #7b8893; font-size: .7rem; }

.site-footer { padding: 55px 0 25px; background: #091725; color: #8ca0b1; }
.footer-main { display: grid; grid-template-columns: 290px 1fr auto; align-items: center; gap: 50px; }
.footer-main img { filter: brightness(0) invert(1); opacity: .9; }
.footer-main p { margin: 0; font-size: .8rem; }
.footer-main a { color: white; text-decoration: none; font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .68rem; }

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

@media (max-width: 1050px) {
  .site-nav { gap: 18px; }
  .hero-layout, .capabilities-layout, .project-layout, .contact-layout { gap: 55px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .approach-grid { grid-template-columns: repeat(2,1fr); }
  .platform-logo-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid article:nth-child(2) { border-right: 0; }
  .approach-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .section { padding: 82px 0; }
  .site-header { height: 72px; }
  .brand { width: 235px; padding: 8px 10px; margin-left: -10px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 20px 25px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(12,34,53,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-layout, .intro-grid, .capabilities-layout, .project-layout, .platforms-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-layout { gap: 60px; }
  .control-panel { transform: none; }
  .intro-grid, .platforms-layout, .about-layout { gap: 30px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .project-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .about-facts { max-width: 620px; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; }
  .footer-main img { width: 280px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.15rem; }
  .hero-proof { display: grid; gap: 9px; }
  .panel-body { padding: 18px; }
  .process-line { grid-template-columns: 1fr 20px 1fr 20px 1fr; }
  .process-node { min-height: 112px; padding: 16px 5px; }
  .process-node strong { font-size: .65rem; }
  .service-grid, .field-row, .contact-details, .platform-logo-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-number { margin-bottom: 35px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid article { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div { padding-bottom: 18px; border-bottom: 1px solid #c8d4db; }
  .contact-form { padding: 25px 20px; }
  .footer-bottom { flex-direction: column; }
  .project-visual { min-height: 400px; transform: scale(.94); }
  .silo-a { left: 35px; }
  .silo-b { left: 155px; }
  .hopper { left: 70px; width: 200px; }
  .conveyor { left: 35px; width: 270px; }
  .mixer { right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Blog */
.blog-hero { padding: 170px 0 80px; background: linear-gradient(135deg,#eef4f4,#fff); border-bottom:1px solid var(--line); }
.blog-hero .hero-lead { max-width: 720px; }
.blog-section { background: var(--paper); }
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card { display:flex; flex-direction:column; min-height:390px; background:white; border:1px solid #ced8df; text-decoration:none; transition:.25s ease; }
.blog-card:hover { transform:translateY(-5px); box-shadow:0 20px 50px rgba(23,50,79,.1); }
.blog-visual { height:170px; display:grid; place-items:center; background:#e7eff0; overflow:hidden; }
.blog-visual svg { width:110px; height:110px; fill:none; stroke:var(--teal); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.blog-card-body { padding:28px; }
.blog-meta { color:var(--teal); font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.blog-card h2 { margin:12px 0 10px; font-size:1.45rem; }
.blog-card p { color:var(--muted); font-size:.9rem; }
.blog-coming { padding:40px; margin-top:30px; background:var(--navy-deep); color:#bdcad5; }
.blog-coming h2 { color:white; }
@media(max-width:900px){.blog-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.blog-grid{grid-template-columns:1fr}.blog-hero{padding-top:130px}}
