/* ==========================================================================
   PT PRINA DUTA REKAYASA — Industrial Revamp Design System
   Brand colours sampled from prinaduta.com (header navy, deep navy,
   heading-bar green) and the logo mark (green #44CC50 / cyan #029ECE).
   WordPress: this block = theme style.css
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #020B26;
  --navy-900: #031A5E;   /* brand deep navy (prinaduta.com) */
  --navy-800: #0C2B6E;
  --navy-700: #1B4786;   /* brand navy — current header */
  --navy-500: #3D6BAE;
  --green-500: #8BC83D;  /* brand green — current heading bar */
  --green-600: #74AF28;
  --green-300: #B9E07F;
  --logo-green: #44CC50; /* logo mark */
  --cyan-500: #029ECE;   /* logo mark */

  /* Steel neutrals */
  --steel-0: #FFFFFF;
  --steel-25: #F7F9FC;
  --steel-50: #EFF3F8;
  --steel-100: #E2E8F0;
  --steel-200: #C9D2DF;
  --steel-400: #8491A6;
  --steel-600: #4A5669;
  --ink: #0B1424;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Nunito Sans", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --chamfer: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-lg: 0 30px 60px -30px rgba(2, 11, 38, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--steel-600);
  background: var(--steel-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .01em;
  margin: 0;
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan-500); outline-offset: 3px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--steel { background: var(--steel-25); }
.section--dark { background: var(--navy-950); color: var(--steel-200); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.grid-bg--light {
  background-image:
    linear-gradient(rgba(27,71,134,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,71,134,.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green-500); }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--green-500); }
.h-display { font-size: clamp(44px, 7.2vw, 100px); line-height: .92; letter-spacing: -.005em; }
.h-section { font-size: clamp(34px, 4.6vw, 60px); line-height: .98; }
.h-card { font-size: 26px; line-height: 1.05; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--steel-600); }
.section--dark .lead { color: var(--steel-200); }
.text-green { color: var(--green-500); }
.text-navy { color: var(--navy-700); }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head p { margin: 0; }
.section-head--center { display: block; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --c: var(--green-500);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 28px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--c); color: var(--navy-950);
  border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { font-size: 20px; transition: transform .25s var(--ease); }
.btn:hover { background: var(--green-300); }
.btn:hover .icon { transform: translateX(4px); }
.btn--navy { --c: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); clip-path: none; }
.btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--ghost-dark { background: transparent; color: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--steel-200); clip-path: none; }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--navy-700); background: transparent; }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy-700);
}
.link-arrow .icon { font-size: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.section--dark .link-arrow { color: var(--green-500); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: var(--steel-200); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 24px; }
.topbar__left { display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.topbar__left .dot { width: 7px; height: 7px; background: var(--green-500); border-radius: 50%; box-shadow: 0 0 0 4px rgba(139,200,61,.18); }
.topbar__right { display: flex; gap: 28px; }
.topbar__right a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar__right a:hover { color: #fff; }
.topbar .icon { font-size: 14px; color: var(--green-500); }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--steel-100); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(2,11,38,.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { height: 54px; width: auto; }
.brand__fallback { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-900); transition: color .2s;
}
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px; background: var(--green-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--navy-700); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1.5px solid var(--steel-200); background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--navy-900); }
.nav-toggle .icon { font-size: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-900); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(2,11,38,.97) 0%, rgba(3,26,94,.88) 42%, rgba(3,26,94,.45) 75%, rgba(3,26,94,.25) 100%),
    linear-gradient(0deg, rgba(2,11,38,.85) 0%, transparent 35%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}
.hero .container { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(140px, 14vw, 200px); }
.hero h1 { color: #fff; margin-bottom: 28px; }
.hero h1 .text-green { display: block; }
.hero .lead { color: var(--steel-200); max-width: 560px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__label { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 10px; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.18); background: rgba(2,11,38,.4); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-100); }
.hero__label b { background: var(--green-500); color: var(--navy-950); padding: 3px 8px; font-weight: 600; }

/* Rating plate */
.plate {
  position: relative; padding: 28px; color: var(--steel-100);
  background: linear-gradient(160deg, rgba(27,71,134,.55), rgba(2,11,38,.75));
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em;
}
.plate::before, .plate::after, .plate__screws::before, .plate__screws::after {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c9d2df, #5d6a7e);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.3);
}
.plate::before { top: 10px; left: 10px; } .plate::after { top: 10px; right: 10px; }
.plate__screws::before { bottom: 10px; left: 10px; } .plate__screws::after { bottom: 10px; right: 10px; }
.plate__head { display: flex; justify-content: space-between; padding: 4px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.18); text-transform: uppercase; letter-spacing: .14em; color: var(--green-500); }
.plate dl { margin: 0; }
.plate__row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 8px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.plate__row:last-child { border-bottom: 0; }
.plate dt { color: var(--steel-400); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; padding-top: 2px; }
.plate dd { margin: 0; color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.45; }
.plate__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 8px 4px; border-top: 1px solid rgba(255,255,255,.18); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--steel-400); }
.plate__foot .ok { color: var(--green-500); display: inline-flex; gap: 8px; align-items: center; }
.plate__foot .ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 10px var(--green-500); }

/* Capability chain (busbar) */
.chain-wrap { position: relative; z-index: 3; margin-top: -84px; }
.chain { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; box-shadow: var(--shadow-lg); position: relative; }
.chain::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy-700), var(--cyan-500) 50%, var(--green-500)); }
.chain__item { position: relative; padding: 30px 26px 28px; border-right: 1px solid var(--steel-100); }
.chain__item:last-child { border-right: 0; }
.chain__num { font-family: var(--font-mono); font-size: 12px; color: var(--steel-400); letter-spacing: .12em; }
.chain__item h3 { font-size: 24px; margin: 10px 0 6px; color: var(--navy-900); }
.chain__item p { font-size: 14.5px; line-height: 1.5; margin: 0; }
.chain__node { position: absolute; top: -7px; left: 26px; width: 14px; height: 14px; background: #fff; border: 3px solid var(--navy-700); border-radius: 50%; }
.chain__item:nth-child(n+3) .chain__node { border-color: var(--cyan-500); }
.chain__item:nth-child(n+5) .chain__node { border-color: var(--green-500); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--steel-100); border-bottom: 1px solid var(--steel-100); position: relative; }
.stats::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px; background: repeating-linear-gradient(90deg, var(--steel-200) 0 1px, transparent 1px 24px); }
.stat { padding: 40px 28px 32px; border-right: 1px solid var(--steel-100); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(54px, 6vw, 80px); line-height: 1; color: var(--navy-900); display: flex; align-items: baseline; gap: 4px; }
.stat__num small { font-size: .45em; color: var(--green-600); }
.stat__label { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-600); }
.section--dark .stats, .section--dark .stat { border-color: rgba(255,255,255,.1); }
.section--dark .stat__num { color: #fff; }
.section--dark .stat__label { color: var(--steel-400); }

/* ---------- Framed media (corner brackets) ---------- */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 36px; height: 36px; border: 3px solid var(--green-500); z-index: 2; pointer-events: none; }
.frame::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }
.media { position: relative; overflow: hidden; background: var(--navy-900) linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--contact { grid-template-columns: 1.35fr .9fr; align-items: start; }
.collage { position: relative; padding: 0 0 72px 0; }
.collage__main { aspect-ratio: 4 / 4.4; }
.collage__sub { position: absolute; right: -24px; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.collage__badge {
  position: absolute; left: -20px; bottom: 24px; z-index: 3; padding: 22px 26px; background: var(--green-500); color: var(--navy-950);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.collage__badge strong { display: block; font-family: var(--font-display); font-size: 48px; line-height: .9; }
.collage__badge span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 36px; }
.value { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--steel-25); border-left: 3px solid var(--navy-700); font-family: var(--font-display); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-900); }
.value .icon { font-size: 22px; color: var(--green-600); }

/* ---------- Product line cards ---------- */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.line-card { position: relative; padding: 36px 30px 32px; background: var(--navy-950); display: flex; flex-direction: column; transition: background .35s var(--ease); }
.line-card:hover { background: var(--navy-900); }
.line-card__code { font-family: var(--font-mono); font-size: 12px; color: var(--steel-400); letter-spacing: .14em; display: flex; justify-content: space-between; }
.line-card__icon { width: 64px; height: 64px; margin: 30px 0 28px; display: grid; place-items: center; color: var(--green-500); border: 1px solid rgba(139,200,61,.4); background: rgba(139,200,61,.06); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.line-card__icon .icon { font-size: 30px; stroke-width: 1.5; }
.line-card h3 { font-size: 28px; margin-bottom: 14px; color: #fff; }
.line-card p { font-size: 15.5px; color: var(--steel-200); }
.line-card ul { margin: 6px 0 28px; display: grid; gap: 8px; }
.line-card li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--steel-100); }
.line-card li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--cyan-500); transform: translateY(-2px); }
.line-card .link-arrow { margin-top: auto; }
.line-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--green-500); transition: width .45s var(--ease); }
.line-card:hover::after { width: 100%; }

/* ---------- Sector tiles ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { position: relative; min-height: 440px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.sector .media { position: absolute; inset: 0; z-index: -2; }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,11,38,.1) 20%, rgba(2,11,38,.92) 85%); transition: background .4s; }
.sector:hover::before { background: linear-gradient(180deg, rgba(3,26,94,.35) 0%, rgba(3,26,94,.96) 75%); }
.sector:hover .media img { transform: scale(1.06); }
.sector__body { padding: 28px; width: 100%; }
.sector__num { position: absolute; top: 22px; left: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--steel-100); }
.sector__icon { position: absolute; top: 18px; right: 22px; font-size: 30px; color: var(--green-500); }
.sector h3 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.sector p { font-size: 15px; color: var(--steel-200); margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.sector:hover p, .sector:focus-within p { max-height: 140px; opacity: 1; }
.sector__bar { display: block; width: 40px; height: 3px; background: var(--green-500); margin-bottom: 18px; transition: width .4s var(--ease); }
.sector:hover .sector__bar { width: 80px; }

/* ---------- Project cards ---------- */
.projects-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.projects-feature .project-card:first-child { grid-row: span 2; }
.project-cta {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 36px; background: var(--green-500); color: var(--navy-950);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: background .25s;
}
.project-cta:hover { background: var(--green-300); }
.project-cta .mono { display: block; font-size: 12px; letter-spacing: .14em; margin-bottom: 6px; }
.project-cta strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; line-height: 1; }
.project-cta__go { width: 60px; height: 60px; flex: none; display: grid; place-items: center; background: var(--navy-950); color: var(--green-500); transition: transform .25s var(--ease); }
.project-cta__go .icon { font-size: 26px; }
.project-cta:hover .project-cta__go { transform: translateX(6px); }
.project-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; isolation: isolate; min-height: 300px; background: var(--navy-900); }
.project-card .media { position: absolute; inset: 0; z-index: -2; }
.project-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(2,11,38,.94) 100%); }
.project-card:hover .media img { transform: scale(1.06); }
.project-card__tag { position: absolute; top: 18px; left: 18px; display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; background: rgba(2,11,38,.75); backdrop-filter: blur(4px); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.project-card__tag i { width: 6px; height: 6px; background: var(--green-500); }
.project-card__body { padding: 24px; }
.project-card__code { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--green-500); margin-bottom: 8px; }
.project-card h3 { color: #fff; font-size: 24px; line-height: 1.08; }
.project-card:first-child h3 { font-size: 34px; }
.project-card__meta { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 14px; color: var(--steel-200); }
.project-card__meta .icon { color: var(--green-500); }
.project-card__arrow { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--green-500); color: var(--navy-950); transform: translate(10px, -10px); opacity: 0; transition: .35s var(--ease); }
.project-card:hover .project-card__arrow { transform: none; opacity: 1; }
.project-card__arrow .icon { font-size: 22px; transform: rotate(-45deg); }

/* Projects listing grid */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--steel-100); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border: 1.5px solid var(--steel-200); background: #fff; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); transition: .2s; display: inline-flex; gap: 8px; align-items: center; }
.chip sup { font-family: var(--font-mono); font-size: 10.5px; color: var(--steel-400); top: 0; }
.chip:hover { border-color: var(--navy-700); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip.is-active sup { color: var(--green-500); }
a.chip { text-decoration: none; }

/* Projects pagination */
.pagination {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--steel-100);
}
.pagination__meta {
  margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--steel-400);
}
.pagination__meta strong { color: var(--navy-900); font-weight: 600; }
.pagination__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagination__page,
.pagination__nav {
  min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: 1.5px solid var(--steel-200); background: #fff; color: var(--navy-900);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-decoration: none;
  transition: border-color .2s, background .2s, color .2s;
}
.pagination__page:hover,
.pagination__nav:hover { border-color: var(--navy-700); color: var(--navy-700); }
.pagination__page.is-current {
  background: var(--navy-900); border-color: var(--navy-900); color: #fff; pointer-events: none;
}
.pagination__nav .icon { font-size: 16px; }
.pagination__nav.is-disabled { opacity: .35; pointer-events: none; }
.pagination__gap { color: var(--steel-400); padding: 0 4px; font-family: var(--font-mono); }
.search { position: relative; min-width: 260px; }
.search input { width: 100%; padding: 12px 16px 12px 44px; border: 1.5px solid var(--steel-200); background: #fff; font-size: 15px; outline: none; }
.search input:focus { border-color: var(--navy-700); }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--steel-400); font-size: 18px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--steel-100); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.p-card:hover { border-color: var(--navy-700); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.p-card.is-hidden { display: none; }
.p-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.p-card__media .media { position: absolute; inset: 0; }
.p-card:hover .p-card__media img { transform: scale(1.05); }
.p-card__blueprint { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; background-color: var(--navy-900); color: rgba(255,255,255,.85);
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; }
.p-card__blueprint .icon { font-size: 54px; color: var(--green-500); stroke-width: 1.2; align-self: flex-end; }
.p-card__blueprint span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.p-card__blueprint strong { font-family: var(--font-display); font-size: 72px; line-height: .8; color: rgba(255,255,255,.12); }
.p-card__tag { position: absolute; left: 0; bottom: 0; padding: 7px 12px; background: var(--green-500); color: var(--navy-950); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; z-index: 2; }
.p-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.p-card__code { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--steel-400); margin-bottom: 10px; }
.p-card h3 {
  font-size: 23px; line-height: 1.15; color: var(--navy-900); margin-bottom: 14px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.p-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--steel-200); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.p-card__foot span { display: inline-flex; gap: 6px; align-items: center; }
.p-card__foot .icon { color: var(--navy-700); }
.p-card__foot .go { color: var(--navy-700); font-size: 20px; transition: transform .25s; }
.p-card:hover .p-card__foot .go { transform: translateX(4px); }
.empty-state { display: none; padding: 60px; text-align: center; border: 1.5px dashed var(--steel-200); font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; }
.empty-state.is-visible { display: block; }

/* ---------- Process ---------- */
.process, .mission { list-style: none; margin: 0; padding: 0; }
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 8px, transparent 8px 14px); }
.step { position: relative; padding: 0 20px 0 0; }
.step__node { position: relative; width: 56px; height: 56px; display: grid; place-items: center; background: var(--navy-950); border: 2px solid var(--green-500); font-family: var(--font-mono); font-size: 15px; color: var(--green-500); margin-bottom: 26px; transition: .3s; }
.step:hover .step__node { background: var(--green-500); color: var(--navy-950); }
.step h3 { font-size: 22px; margin-bottom: 10px; color: #fff; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--steel-200); margin: 0; }
.section--steel .process::before, .process--light::before { background: repeating-linear-gradient(90deg, var(--steel-200) 0 8px, transparent 8px 14px); }
.process--light .step__node { background: #fff; color: var(--navy-700); border-color: var(--navy-700); }
.process--light .step:hover .step__node { background: var(--navy-700); color: #fff; }
.process--light .step h3 { color: var(--navy-900); }
.process--light .step p { color: var(--steel-600); }

/* ---------- Ticker ---------- */
.ticker-wrap { overflow: hidden; position: relative; z-index: 2; margin: -18px 0; padding: 18px 0; }
.ticker { position: relative; background: var(--green-500); color: var(--navy-950); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); width: 104%; margin-left: -2%; box-shadow: 0 14px 30px -18px rgba(2,11,38,.5); }
.ticker__track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 10px; height: 10px; background: var(--navy-900); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }
.collage .frame::after { display: none; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(80px, 9vw, 120px) 0; background: var(--navy-900); }
.cta .media { position: absolute; inset: 0; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3,26,94,.97) 0%, rgba(27,71,134,.9) 55%, rgba(27,71,134,.55) 100%); }
.cta::after { content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 34%; background: var(--green-500); clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); opacity: .95; z-index: -1; }
.cta .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(40px, 5.6vw, 76px); margin-bottom: 18px; }
.cta p { color: var(--steel-100); max-width: 560px; margin: 0; font-size: 18px; }
.cta .btn { --c: #fff; color: var(--navy-950); }
.cta .btn:hover { background: var(--green-300); }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; position: relative; }
.cta__phone { display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--navy-950); color: #fff; }
.cta__phone .icon { font-size: 26px; color: var(--green-500); }
.cta__phone small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--steel-400); text-transform: uppercase; }
.cta__phone strong { font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(72px, 9vw, 120px) 0 clamp(96px, 10vw, 140px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); }
.page-hero .media { position: absolute; inset: 0; z-index: -2; }
.page-hero .media img { opacity: .9; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,11,38,.97) 0%, rgba(3,26,94,.9) 50%, rgba(3,26,94,.6) 100%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; }
.page-hero .container { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.page-hero h1 { color: #fff; font-size: clamp(48px, 7vw, 96px); line-height: .92; margin: 0 0 22px; }
.page-hero p { max-width: 640px; color: var(--steel-200); font-size: 19px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: var(--green-500); }
.crumbs [aria-current] { color: var(--green-500); }
/* Engineering drawing title block */
.titleblock { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.3); min-width: 300px; color: var(--steel-200); background: rgba(2,11,38,.5); }
.titleblock div { display: grid; grid-template-columns: 1fr 1fr; }
.titleblock span { padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.18); }
.titleblock span + span { border-left: 1px solid rgba(255,255,255,.18); }
.titleblock div:last-child span { border-bottom: 0; }
.titleblock em { display: block; font-style: normal; color: var(--steel-400); font-size: 9.5px; margin-bottom: 3px; }
.titleblock b { color: #fff; font-weight: 500; }

/* ---------- Cards / misc ---------- */
.card { position: relative; padding: 36px 32px; background: #fff; border: 1px solid var(--steel-100); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.card:hover { border-color: var(--navy-700); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 26px; background: var(--navy-900); color: var(--green-500); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.card__icon .icon { font-size: 26px; }
.card h3 { font-size: 26px; color: var(--navy-900); margin-bottom: 12px; }
.card p { font-size: 15.5px; margin: 0; }
.card__num { position: absolute; top: 28px; right: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--steel-400); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }

/* Vision / mission */
.vision { position: relative; padding: clamp(40px, 5vw, 64px); background: var(--navy-900); color: #fff; overflow: hidden; }
.vision::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border: 40px solid rgba(139,200,61,.12); border-radius: 50%; }
.vision blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; text-transform: uppercase; color: #fff; position: relative; z-index: 1; }
.vision blockquote em { font-style: normal; color: var(--green-500); }
.mission { counter-reset: m; display: grid; gap: 0; }
.mission li { counter-increment: m; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--steel-100); align-items: start; }
.mission li:first-child { padding-top: 0; }
.mission li::before { content: "M-0" counter(m); font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: var(--navy-700); padding-top: 4px; }
.mission li p { margin: 0; color: var(--ink); font-size: 17.5px; }

/* Capability stages (services) */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--steel-100); background: #fff; }
.stage { padding: 34px 26px; border-right: 1px solid var(--steel-100); position: relative; transition: background .3s; }
.stage:last-child { border-right: 0; }
.stage:hover { background: var(--steel-25); }
.stage__num { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--steel-100); transition: color .3s; }
.stage:hover .stage__num { color: var(--green-500); }
.stage h3 { font-size: 24px; color: var(--navy-900); margin: 14px 0 10px; }
.stage p { font-size: 15px; margin: 0; line-height: 1.55; }
.stage .icon { position: absolute; top: 34px; right: 26px; font-size: 26px; color: var(--navy-700); }

/* Product rows (services) */
.product-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 80px); align-items: center; padding: 64px 0; border-bottom: 1px solid var(--steel-100); }
.product-row:last-child { border-bottom: 0; }
.product-row:nth-child(even) .product-row__media { order: 2; }
.product-row__media { aspect-ratio: 1080 / 550; }
.product-row__media img { object-fit: contain; background: #fff; }
.product-row__code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--steel-400); margin-bottom: 14px; }
.product-row h3 { font-size: clamp(34px, 3.6vw, 48px); color: var(--navy-900); margin-bottom: 18px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 24px 0 32px; border-top: 1px solid var(--steel-100); }
.spec-list li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--steel-100); font-weight: 500; color: var(--ink); font-size: 15.5px; }
.spec-list .icon { color: var(--green-600); font-size: 18px; }

/* Service list */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.svc { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.svc .icon { font-size: 30px; color: var(--green-500); stroke-width: 1.5; }
.svc h3 { font-size: 23px; color: #fff; margin-bottom: 6px; }
.svc p { margin: 0; font-size: 15px; color: var(--steel-200); }
.svc__ref { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--steel-400); }

/* Project detail */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.detail__main .media { aspect-ratio: 16 / 10; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 12px; margin-top: 12px; }
.thumbs button { padding: 0; border: 0; cursor: pointer; aspect-ratio: 1; overflow: hidden; position: relative; background: var(--navy-900); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.thumbs button:hover img { transform: scale(1.08); }
.thumbs button::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px transparent; transition: .2s; }
.thumbs button.is-active::after { box-shadow: inset 0 0 0 3px var(--green-500); }
.prose h2 { font-size: 36px; color: var(--navy-900); margin: 48px 0 18px; }
.prose p { font-size: 17.5px; }
.checklist { display: grid; gap: 12px; margin: 8px 0 24px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--steel-25); border-left: 3px solid var(--green-500); color: var(--ink); font-weight: 500; }
.checklist .icon { color: var(--green-600); font-size: 20px; margin-top: 2px; }
.datasheet { position: sticky; top: 108px; background: var(--navy-950); color: var(--steel-200); }
.datasheet__head { padding: 22px 26px; background: var(--navy-700); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.datasheet__head b { color: var(--green-500); font-weight: 500; }
.datasheet dl { margin: 0; padding: 8px 26px; }
.datasheet__row { padding: 16px 0; border-bottom: 1px dashed rgba(255,255,255,.15); }
.datasheet__row:last-child { border-bottom: 0; }
.datasheet dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 6px; }
.datasheet dd { margin: 0; color: #fff; font-size: 17px; font-weight: 500; }
.datasheet dd.muted { color: var(--steel-400); font-style: italic; font-weight: 400; }
.datasheet__cta { padding: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.datasheet__cta p { font-size: 15px; margin-bottom: 18px; }
.datasheet__cta .btn { width: 100%; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--steel-100); border-bottom: 1px solid var(--steel-100); }
.pager a { padding: 32px 0; display: flex; flex-direction: column; gap: 8px; transition: color .2s; }
.pager a + a { text-align: right; align-items: flex-end; border-left: 1px solid var(--steel-100); padding-left: 32px; }
.pager a:first-child { padding-right: 32px; }
.pager small { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400); display: inline-flex; gap: 8px; align-items: center; }
.pager strong { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; color: var(--navy-900); line-height: 1.1; }
.pager a:hover strong { color: var(--navy-700); }

/* Gallery */
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; position: relative; cursor: zoom-in; overflow: hidden; background: var(--navy-900); }
.masonry figure.is-hidden { display: none; }
.masonry img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .3s; min-height: 120px; }
.masonry figure:hover img { transform: scale(1.05); opacity: .85; }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(2,11,38,.9)); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; display: flex; justify-content: space-between; opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.masonry figure:hover figcaption { opacity: 1; transform: none; }
.masonry figcaption .icon { color: var(--green-500); font-size: 16px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2,11,38,.96); display: none; align-items: center; justify-content: center; padding: 72px 80px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(2,11,38,.6); color: #fff; cursor: pointer; transition: .2s; }
.lightbox button:hover { background: var(--green-500); color: var(--navy-950); border-color: var(--green-500); }
.lightbox button .icon { font-size: 24px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 30px; left: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--steel-200); text-transform: uppercase; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; box-shadow: var(--shadow-lg); position: relative; z-index: 3; margin-top: -72px; }
.contact-card { padding: 34px 32px; border-right: 1px solid var(--steel-100); display: flex; gap: 20px; align-items: flex-start; }
.contact-card:last-child { border-right: 0; }
.contact-card .card__icon { margin: 0; flex: none; }
.contact-card small { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 6px; }
.contact-card a, .contact-card address { font-style: normal; color: var(--navy-900); font-weight: 600; font-size: 18px; line-height: 1.45; }
.contact-card address { font-size: 15.5px; font-weight: 500; }
.contact-card a:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); font-weight: 500; }
.field label i { color: var(--green-600); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border: 1.5px solid var(--steel-200); background: #fff; font-size: 16px; color: var(--ink); outline: none; border-radius: 0; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--navy-700) 50%), linear-gradient(135deg, var(--navy-700) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(27,71,134,.12); }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__foot p { margin: 0; font-size: 14px; }
.form__ok { grid-column: 1 / -1; display: none; padding: 16px 18px; background: rgba(139,200,61,.14); border-left: 3px solid var(--green-500); color: var(--ink); font-weight: 500; }
.form__ok.is-visible { display: block; }

/* WPForms — match industrial contact form */
.pdr-wpforms .wpforms-container { margin: 0; }
.pdr-wpforms .wpforms-form .wpforms-field { padding: 0 0 20px; }
.pdr-wpforms .wpforms-form .wpforms-field-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy-900); font-weight: 500; margin: 0 0 8px;
}
.pdr-wpforms .wpforms-form .wpforms-required-label { color: var(--green-600); }
.pdr-wpforms .wpforms-form input[type=text],
.pdr-wpforms .wpforms-form input[type=email],
.pdr-wpforms .wpforms-form input[type=tel],
.pdr-wpforms .wpforms-form input[type=number],
.pdr-wpforms .wpforms-form input[type=url],
.pdr-wpforms .wpforms-form select,
.pdr-wpforms .wpforms-form textarea {
  width: 100% !important; max-width: none !important;
  padding: 15px 16px !important; border: 1.5px solid var(--steel-200) !important;
  background: #fff !important; font-size: 16px !important; color: var(--ink) !important;
  border-radius: 0 !important; box-shadow: none !important; height: auto !important;
}
.pdr-wpforms .wpforms-form select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy-700) 50%), linear-gradient(135deg, var(--navy-700) 50%, transparent 50%) !important;
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50% !important;
  background-size: 6px 6px !important; background-repeat: no-repeat !important;
  padding-right: 44px !important;
}
.pdr-wpforms .wpforms-form textarea { min-height: 150px; resize: vertical; }
.pdr-wpforms .wpforms-form input:focus,
.pdr-wpforms .wpforms-form select:focus,
.pdr-wpforms .wpforms-form textarea:focus {
  border-color: var(--navy-700) !important;
  box-shadow: 0 0 0 4px rgba(27,71,134,.12) !important;
  outline: none;
}
.pdr-wpforms .wpforms-submit-container { margin-top: 8px; }
.pdr-wpforms .wpforms-submit.btn,
.pdr-wpforms button.wpforms-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-500) !important; color: var(--navy-950) !important;
  border: 0 !important; border-radius: 0 !important;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: .02em; text-transform: uppercase;
  padding: 16px 28px !important; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  cursor: pointer; height: auto !important; line-height: 1.2 !important;
}
.pdr-wpforms .wpforms-submit.btn:hover,
.pdr-wpforms button.wpforms-submit:hover { background: var(--green-600, #7ab82e) !important; }
.pdr-wpforms .wpforms-confirmation-container-full,
.pdr-wpforms .wpforms-confirmation-container {
  padding: 16px 18px !important; background: rgba(139,200,61,.14) !important;
  border-left: 3px solid var(--green-500) !important; border-radius: 0 !important;
  color: var(--ink) !important; font-weight: 500; margin: 0 0 20px !important;
}
.pdr-wpforms .wpforms-error-container,
.pdr-wpforms .wpforms-error { color: #b42318 !important; }
.pdr-wpforms__hint { margin: 20px 0 0; font-size: 14px; }
.pdr-wpforms__hint a { color: var(--navy-700); font-weight: 600; }
.pdr-wpforms__hint a:hover { text-decoration: underline; text-underline-offset: 4px; }
.office { background: var(--navy-950); color: var(--steel-200); padding: 40px 36px; position: relative; overflow: hidden; }
.office h3 { color: #fff; font-size: 30px; margin-bottom: 20px; }
.office ul { display: grid; gap: 18px; margin-bottom: 28px; }
.office li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15.5px; }
.office li .icon { font-size: 20px; color: var(--green-500); margin-top: 3px; }
.office li a:hover { color: #fff; }
.map { position: relative; height: 460px; background: var(--navy-900); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.9) contrast(1.05); }
.map__pin { position: absolute; left: var(--gutter); bottom: 32px; background: #fff; padding: 20px 24px; max-width: 340px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--green-500); }
.map__pin strong { display: block; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--navy-900); margin-bottom: 6px; }
.map__pin p { margin: 0 0 10px; font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--steel-400); position: relative; }
.site-footer::before { content: ""; display: block; height: 8px; background: repeating-linear-gradient(-45deg, var(--green-500) 0 14px, var(--navy-700) 14px 28px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.footer-brand .logo-plate { display: inline-block; background: #fff; padding: 12px 16px; margin-bottom: 24px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.footer-brand .logo-plate img { height: 46px; width: auto; }
.footer-brand p { font-size: 15.5px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 18px; letter-spacing: .12em; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.site-footer h4::before { content: ""; width: 14px; height: 2px; background: var(--green-500); }
.footer-links { display: grid; gap: 11px; font-size: 15.5px; }
.footer-links a { transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: grid; gap: 16px; font-size: 15px; }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.footer-contact .icon { color: var(--green-500); font-size: 18px; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; padding-bottom: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; flex-wrap: wrap; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--steel-200); text-transform: uppercase; letter-spacing: .14em; }
.to-top .icon { transform: rotate(-90deg); color: var(--green-500); }
.to-top:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-cta .btn { display: none; }
  .lines { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .process::before { display: none; }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .stage:nth-child(3) { border-right: 0; }
  .stage:nth-child(n+4) { border-top: 1px solid var(--steel-100); }
  /* Laptop / tablet: hamburger + solid overlay (above page content) */
  .topbar__right a:last-child { display: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 90; }
  /* Opaque scrim on body — nav lives inside .container so fixed bg can composite poorly */
  body.nav-open::before {
    content: "";
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: var(--header-h, 124px);
    background: var(--navy-950);
    z-index: 65;
  }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h, 124px); bottom: 0;
    z-index: 70; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 40px; background: transparent;
    overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
    pointer-events: none; transition: .3s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { color: #fff; font-size: clamp(24px, 4.5vw, 30px); padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--green-500); }
  .nav-open { overflow: hidden; }
}
@media (max-width: 1023px) {
  .hero .container { grid-template-columns: 1fr; }
  .plate { max-width: 520px; width: 100%; }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain__item { border-bottom: 1px solid var(--steel-100); }
  .chain__item:nth-child(2n) { border-right: 0; }
  .chain__item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .split, .split--contact, .section-head, .cta .container, .detail, .product-row { grid-template-columns: 1fr; }
  .section-head { gap: 20px; }
  .product-row:nth-child(even) .product-row__media { order: 0; }
  .cta::after { width: 22%; opacity: .5; }
  .cta__actions { justify-self: start; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sector { min-height: 340px; }
  .sector p { max-height: 140px; opacity: 1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--steel-100); }
  .projects-feature { grid-template-columns: repeat(2, 1fr); }
  .projects-feature .project-card:first-child { grid-row: span 1; grid-column: 1 / -1; }
  .project-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .page-hero .container { grid-template-columns: 1fr; }
  .titleblock { display: none; }
  .datasheet { position: static; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { border-right: 0; border-bottom: 1px solid var(--steel-100); }
  .svc-list { grid-template-columns: 1fr; }
  .collage { margin-right: 24px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .site-header .container { height: 72px; }
  .brand img { height: 44px; }
  .nav { top: var(--header-h, 72px); }
  .hero .container { padding-bottom: 120px; }
  .hero__actions .btn { width: 100%; }
  .plate__row { grid-template-columns: 1fr; gap: 4px; }
  .chain-wrap { margin-top: -64px; }
  .chain { grid-template-columns: 1fr; }
  .chain__item { border-right: 0; padding: 26px 22px 22px; }
  .chain__item:last-child { grid-column: auto; }
  .chain__node { left: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px; }
  .values { grid-template-columns: 1fr; }
  .lines, .sectors, .projects-feature, .project-grid, .grid-2, .grid-3, .grid-4, .footer-top, .form, .spec-list { grid-template-columns: 1fr; }
  .project-card { min-height: 320px; }
  .project-cta { padding: 24px; }
  .process { grid-template-columns: 1fr; row-gap: 32px; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: 0; }
  .step__node { margin: 0; grid-row: span 2; }
  .stages { grid-template-columns: 1fr; }
  .stage { border-right: 0; border-top: 1px solid var(--steel-100); }
  .stage:first-child { border-top: 0; }
  .collage { padding-bottom: 56px; margin-right: 12px; }
  .collage__sub { right: -12px; width: 56%; border-width: 5px; }
  .collage__badge { left: -8px; padding: 16px 18px; }
  .collage__badge strong { font-size: 38px; }
  .frame::before { top: -8px; left: -8px; width: 26px; height: 26px; }
  .frame::after { bottom: -8px; right: -8px; width: 26px; height: 26px; }
  .cta::after { display: none; }
  .cta__actions, .cta__actions .btn, .cta__phone { width: 100%; }
  .pagination { flex-direction: column; align-items: stretch; }
  .pagination__links { justify-content: flex-start; }
  .filters { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .search { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--steel-100); padding-left: 0; }
  .lightbox { padding: 72px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .svc { grid-template-columns: 40px 1fr; }
  .map { height: 380px; }
  .map__pin { left: 16px; right: 16px; bottom: 16px; }
  .ticker__track span { font-size: 18px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .page-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
}

/* ---------- Refinements ---------- */
.svc { grid-template-columns: 48px 1fr; align-items: start; }
.svc .icon { margin-top: 2px; }
.svc__ref { display: inline-block; margin-top: 12px; color: var(--green-500); }
.p-card__blueprint .icon { align-self: center; font-size: 60px; }
.p-card__blueprint strong { align-self: flex-end; font-size: 64px; color: rgba(255,255,255,.14); }
.office .eyebrow { color: var(--green-500); }
.hero__label b { white-space: nowrap; }
