/* ==========================================================================
   PLZ Water Tech — Design System
   Palette derived from the PLZ mark: deep navy + electric blue, on paper/white.
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (spec/eyebrow)
   Signature motif: the schematic process line (.flowline) — a blueprint-style
   routed pipe with flow nodes, echoing "complete process flow" from intake to reuse.
   ========================================================================== */

:root{
  /* --- Color tokens --- */
  --navy-950:#0D131F;   /* deepest surface */
  --navy-900:#121A2B;   /* dark section bg */
  --navy-800:#1B2436;   /* dark card / raised surface */
  --navy-700:#2A3550;   /* dark border */
  --slate-600:#334157;  /* logo slate — headings on light bg */
  --slate-500:#4B5872;  /* secondary text on light bg */
  --blue-600:#0048EC;   /* logo electric blue — primary accent */
  --blue-500:#1E5BFF;
  --blue-400:#5C88FF;   /* accent on dark bg */
  --blue-050:#EAF0FF;   /* accent tint bg */
  --paper-50:#F6F7FA;   /* light section bg */
  --paper-100:#EEF1F6;
  --line-200:#DEE2EA;   /* hairline borders on light */
  --white:#FFFFFF;
  --ink-900:#121722;    /* body copy on light */
  --ok:#0E7C6F;         /* reserved, used once for "reuse" tag only */

  /* --- Type --- */
  --font-display:'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body:'Inter', -apple-system, sans-serif;
  --font-mono:'IBM Plex Mono', 'Courier New', monospace;

  /* --- Scale --- */
  --container:1180px;
  --radius:2px; /* engineering drawings don't round corners */
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
h1,h2,h3,h4{font-family:var(--font-display); color:var(--slate-600); line-height:1.12; letter-spacing:-0.01em;}
.container{max-width:var(--container); margin:0 auto; padding:0 28px;}

:focus-visible{outline:2px solid var(--blue-600); outline-offset:3px;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--blue-600);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:'';
  width:18px; height:1px;
  background:var(--blue-600);
  display:inline-block;
}
.eyebrow.on-dark{color:var(--blue-400);}
.eyebrow.on-dark::before{background:var(--blue-400);}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line-200);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  height:84px;
}
.brand{display:flex; align-items:center; gap:12px; flex-shrink:0; margin-right:24px;}
.brand-logo{height:52px; width:auto;}
.brand-name{font-family:var(--font-display); font-weight:700; font-size:19px; color:var(--slate-600); letter-spacing:-0.01em; line-height:1.15; white-space:nowrap;}
.brand-name span{display:block; font-size:12px; letter-spacing:0.12em; color:var(--blue-600); font-weight:600; white-space:nowrap;}

.main-nav{display:flex; align-items:center; gap:2px;}
.main-nav a{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--slate-500);
  padding:10px 12px;
  border-radius:var(--radius);
  transition:color .15s ease, background .15s ease;
  white-space:nowrap;
}
.main-nav a:hover{color:var(--blue-600); background:var(--blue-050);}
.main-nav a.active{color:var(--blue-600);}
.nav-cta{
  font-family:var(--font-mono) !important;
  color:var(--white) !important;
  background:var(--navy-950);
  margin-left:8px;
}
.nav-cta:hover{background:var(--blue-600) !important; color:var(--white) !important;}

.nav-toggle{display:none; background:none; border:0; cursor:pointer; padding:8px;}
.nav-toggle span{display:block; width:24px; height:2px; background:var(--slate-600); margin:5px 0;}

@media (max-width: 980px){
  .main-nav{
    position:absolute; top:84px; left:0; right:0;
    background:var(--white);
    border-bottom:1px solid var(--line-200);
    flex-direction:column; align-items:stretch;
    padding:8px 20px 18px;
    display:none;
  }
  .main-nav.open{display:flex;}
  .main-nav a{padding:12px 6px; border-bottom:1px solid var(--paper-100);}
  .nav-cta{margin:8px 0 0; text-align:center;}
  .nav-toggle{display:block;}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-mono);
  font-size:12.5px; letter-spacing:0.06em; text-transform:uppercase;
  padding:14px 22px;
  border:1px solid transparent;
  border-radius:var(--radius);
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{background:var(--blue-600); color:var(--white);}
.btn-primary:hover{background:var(--blue-500); transform:translateY(-1px);}
.btn-ghost-dark{border-color:rgba(255,255,255,0.35); color:var(--white);}
.btn-ghost-dark:hover{border-color:var(--white); background:rgba(255,255,255,0.06);}
.btn-ghost-light{border-color:var(--slate-600); color:var(--slate-600);}
.btn-ghost-light:hover{background:var(--slate-600); color:var(--white);}

/* ---------- Hero ---------- */
.hero{
  background:var(--navy-950);
  color:var(--white);
  position:relative;
  overflow:hidden;
  padding:88px 0 0;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px;
  align-items:center; padding-bottom:64px;
}
.hero h1{
  color:var(--white);
  font-size:clamp(34px, 4.6vw, 58px);
  margin-bottom:22px;
}
.hero h1 em{color:var(--blue-400); font-style:normal;}
.hero p.lede{
  font-size:18px; color:#C6CEDD; max-width:520px; margin-bottom:32px;
}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap;}
.hero-logo-panel{
  background:var(--white);
  padding:48px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--navy-700);
}
.hero-logo-img{width:100%; max-width:340px; height:auto;}

.hero-page{ /* smaller hero used on interior pages */
  background:var(--navy-950); color:var(--white);
  padding:64px 0 46px; position:relative; overflow:hidden;
}
.hero-page h1{color:var(--white); font-size:clamp(30px,4vw,46px); max-width:760px;}
.hero-page p.lede{color:#C6CEDD; max-width:640px; font-size:17px; margin-top:16px;}
.hero-page-grid{display:grid; grid-template-columns:1.15fr 0.85fr; gap:36px; align-items:center;}
.hero-page-text{max-width:640px;}

/* ---------- Equipment illustrations ---------- */
.equip-svg{width:100%; max-width:420px; height:auto; display:block; margin:0 auto;}
.equip-svg .equip-body{fill:#1B2436; stroke:#2A3550; stroke-width:2;}
.equip-svg .equip-waterline{stroke:#5C88FF; stroke-width:1; stroke-dasharray:4 4; opacity:0.6;}
.equip-svg .equip-accent-line{fill:none; stroke:#5C88FF; stroke-width:1.4; opacity:0.8;}
.equip-svg .equip-dot{fill:#5C88FF;}
.equip-svg .equip-node{fill:#0D131F; stroke:#1E5BFF; stroke-width:1.6;}
.equip-svg .equip-shaft{stroke:#5C88FF; stroke-width:2;}
.equip-svg .equip-tag{font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.05em; fill:#8CA0C9; text-transform:uppercase;}
.equip-svg .equip-caption{font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.07em; fill:#9FB1D6; text-transform:uppercase;}
.equip-svg .equip-bubble circle{fill:none; stroke:#5C88FF; stroke-width:1; opacity:0.75;}
.equip-svg .equip-granule circle{fill:#5C88FF; opacity:0.55;}
.equip-svg .equip-disc{fill:#26314A; stroke:#5C88FF; stroke-width:1.4;}
.equip-svg .equip-hatch path{stroke:#5C88FF; stroke-width:0.8; opacity:0.55;}
.equip-svg .equip-ripple{fill:none; stroke:#5C88FF; stroke-width:1.2; opacity:0.7;}
.equip-svg .equip-blade{stroke:#5C88FF; stroke-width:2;}
.equip-svg .equip-motor{fill:#26314A; stroke:#5C88FF; stroke-width:1.6;}
.equip-svg .equip-float{fill:#5C88FF; opacity:0.25;}
.equip-svg .equip-hatch-h{stroke:#5C88FF; stroke-width:1; opacity:0.5;}
.equip-svg .equip-baffle{fill:none; stroke:#2A3550; stroke-width:2;}
.equip-svg .equip-disc-ring{stroke:#5C88FF; stroke-width:1.4; opacity:0.85;}
.equip-svg .equip-auger{fill:none; stroke:#5C88FF; stroke-width:1.4; opacity:0.85;}
.equip-svg .equip-hopper{fill:#26314A; stroke:#2A3550; stroke-width:2;}
.equip-svg .equip-cake{fill:#26314A; stroke:#2A3550; stroke-width:2;}
.equip-svg .equip-lobe{fill:#26314A; stroke:#5C88FF; stroke-width:1.6;}
.equip-svg .equip-lobe-detail{fill:none; stroke:#5C88FF; stroke-width:1; opacity:0.6;}

/* ---------- Home hero water graphic ---------- */
.water-svg{width:100%; max-width:420px; height:auto; display:block; margin:0 auto;}
.water-svg .water-ring{fill:none; stroke:#5C88FF; stroke-width:1; opacity:0.45;}
.water-svg .equip-accent-line{stroke:#5C88FF; stroke-width:1.2; opacity:0.7;}
.water-svg .equip-node{fill:#0D131F; stroke:#1E5BFF; stroke-width:1.6;}
.water-svg .equip-caption{font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.07em; fill:#9FB1D6; text-transform:uppercase;}

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

/* ---------- Signature motif: flowline ---------- */
.flowline-wrap{width:100%; overflow:hidden; line-height:0;}
.flowline{width:100%; height:auto; display:block;}
.flowline .pipe{fill:none; stroke:var(--blue-600); stroke-width:1.4; opacity:0.55;}
.flowline .pipe-dim{stroke:var(--navy-700); opacity:0.9;}
.flowline .node{fill:var(--navy-950); stroke:var(--blue-500); stroke-width:1.6;}
.flowline .node-dot{fill:var(--blue-500);}
.flowline .tick{stroke:var(--blue-500); stroke-width:1.4;}
.flowline text{
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.06em;
  fill:#9FB1D6; text-transform:uppercase;
}

.divider-strip{width:100%; overflow:hidden; line-height:0; background:var(--paper-50);}
.divider-strip.on-dark{background:var(--navy-950);}
.divider-strip svg{width:100%; display:block;}

/* ---------- Sections ---------- */
section{padding:88px 0;}
.section-tight{padding:64px 0;}
.section-head{max-width:640px; margin-bottom:48px;}
.section-head h2{font-size:clamp(26px,3vw,36px); margin-bottom:14px;}
.section-head p{color:var(--slate-500); font-size:17px;}
.bg-paper{background:var(--paper-50);}
.bg-navy{background:var(--navy-950); color:#C6CEDD;}
.bg-navy h2, .bg-navy h3{color:var(--white);}

/* ---------- Stat band ---------- */
.stat-band{
  display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--navy-700); border-bottom:1px solid var(--navy-700);
}
.stat{
  padding:32px 28px; border-right:1px solid var(--navy-700);
}
.stat:last-child{border-right:none;}
.stat .num{font-family:var(--font-display); font-size:38px; color:var(--white); display:block; margin-bottom:6px;}
.stat .label{font-family:var(--font-mono); font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase; color:#8CA0C9;}

/* ---------- Solutions grid (home) ---------- */
.grid-6{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-200); border:1px solid var(--line-200);}
.solution-card{
  background:var(--white); padding:34px 30px; display:flex; flex-direction:column; gap:14px;
  transition:background .15s ease;
}
.solution-card:hover{background:var(--paper-50);}
.solution-card .tag{font-family:var(--font-mono); font-size:11px; color:var(--blue-600); letter-spacing:0.08em; text-transform:uppercase;}
.solution-card h3{font-size:20px; color:var(--slate-600);}
.solution-card p{color:var(--slate-500); font-size:14.5px; flex-grow:1;}
.solution-card .go{font-family:var(--font-mono); font-size:12px; color:var(--slate-600); display:flex; align-items:center; gap:8px;}
.solution-card:hover .go{color:var(--blue-600);}
.icon{width:34px; height:34px;}
.icon path,.icon circle,.icon rect,.icon line{stroke:var(--blue-600); fill:none; stroke-width:1.5;}

@media (max-width: 860px){
  .grid-6{grid-template-columns:repeat(2,1fr);}
  .hero-grid{grid-template-columns:1fr;}
  .stat-band{grid-template-columns:repeat(2,1fr);}
  .stat:nth-child(2n){border-right:none;}
  .stat{border-bottom:1px solid var(--navy-700);}
}
@media (max-width: 560px){
  .grid-6{grid-template-columns:1fr;}
  .stat-band{grid-template-columns:1fr;}
}

/* ---------- Product blocks (interior pages) ---------- */
.product-block{
  display:grid; grid-template-columns:340px 1fr; gap:44px;
  padding:46px 0; border-bottom:1px solid var(--line-200);
}
.product-block:last-child{border-bottom:none;}
.product-id{font-family:var(--font-mono); font-size:12px; color:var(--blue-600); letter-spacing:0.08em;}
.product-block h3{font-size:26px; margin:10px 0 8px;}
.product-block .role{font-size:14px; color:var(--slate-500); font-style:italic; margin-bottom:0;}
.product-body p{color:var(--ink-900); margin-bottom:16px; font-size:15.5px;}
.feature-list{display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; margin-top:6px;}
.feature-list li{
  font-size:14.5px; color:var(--slate-500); padding-left:18px; position:relative;
}
.feature-list li::before{
  content:''; position:absolute; left:0; top:8px; width:8px; height:1.5px; background:var(--blue-600);
}
@media (max-width: 780px){
  .product-block{grid-template-columns:1fr; gap:16px;}
  .feature-list{grid-template-columns:1fr;}
}

/* ---------- Applications tag row ---------- */
.tag-row{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px;}
.tag-row span{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:0.03em;
  border:1px solid var(--line-200); color:var(--slate-500);
  padding:7px 12px; border-radius:var(--radius);
}

/* ---------- Rental / callout band ---------- */
.callout{
  background:var(--navy-950); color:var(--white);
  padding:52px; border-radius:var(--radius);
  display:grid; grid-template-columns:1.3fr 0.7fr; gap:36px; align-items:center;
}
.callout h3{color:var(--white); font-size:24px; margin-bottom:10px;}
.callout p{color:#C6CEDD; font-size:15px;}
@media (max-width: 780px){
  .callout{grid-template-columns:1fr; padding:34px;}
}

/* ---------- Two column intro (about) ---------- */
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
@media (max-width: 860px){.two-col{grid-template-columns:1fr;}}

/* ---------- Approach list ---------- */
.approach-list{display:grid; gap:0;}
.approach-item{
  display:grid; grid-template-columns:64px 1fr; gap:20px;
  padding:26px 0; border-top:1px solid var(--line-200);
}
.approach-item:last-child{border-bottom:1px solid var(--line-200);}
.approach-item .num{font-family:var(--font-mono); color:var(--blue-600); font-size:14px; padding-top:2px;}
.approach-item h4{font-size:18px; margin-bottom:6px;}
.approach-item p{color:var(--slate-500); font-size:14.5px;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-950); color:#8CA0C9; padding:56px 0 26px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; padding-bottom:38px;}
.footer-brand .brand-name{color:var(--white);}
.footer-brand p{margin-top:14px; font-size:14px; max-width:280px; color:#8CA0C9;}
.footer-col h5{font-family:var(--font-mono); font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:#5C6E96; margin-bottom:16px;}
.footer-col a, .footer-col li{display:block; font-size:14px; color:#C6CEDD; margin-bottom:10px;}
.footer-col a:hover{color:var(--blue-400);}
.footer-bottom{
  border-top:1px solid var(--navy-700); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:12.5px; font-family:var(--font-mono); color:#5C6E96;
}
@media (max-width: 860px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width: 560px){.footer-grid{grid-template-columns:1fr;}}

/* ---------- Contact block on interior pages ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px;}
.contact-card{border:1px solid var(--line-200); padding:30px; border-radius:var(--radius);}
.contact-card h4{font-size:15px; margin-bottom:8px; color:var(--slate-600);}
.contact-card p, .contact-card a{color:var(--slate-500); font-size:15px;}
.contact-card p + p{margin-top:6px;}
.contact-card a{color:var(--blue-600);}
@media (max-width: 780px){.contact-grid{grid-template-columns:1fr;}}
