:root {
  --blue: #0d4c92;
  --blue-bright: #1764bc;
  --brand-gray: #56565b;
  --ink: #090b0d;
  --paper: #f6f6f4;
  --line: #d9dade;
  --muted: #62656b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { width: 1.1em; stroke: currentColor; stroke-width: 1.8; }

.site-header {
  height: 92px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: white;
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
}
.brand { display: inline-flex; width: max-content; }
.brand img { display: block; width: 172px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.site-header nav a { color: #d8dae0; transition: color .2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: white; }
.header-cta { justify-self: end; display: inline-flex; gap: 12px; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.34); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .2s ease, border-color .2s ease; }
.header-cta:hover { background: white; border-color: white; color: var(--ink); }
.header-cta svg { transition: transform .2s ease; }
.header-cta:hover svg { transform: translateX(4px); }

.hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: 54% 46%;
  color: white;
  background: var(--ink);
}
.hero-copy {
  padding: 170px clamp(32px, 7vw, 112px) 88px clamp(32px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow, .section-label { margin: 0 0 30px; font-size: 11px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }
.eyebrow { color: #aeb4bd; }
.eyebrow span { display: inline-block; width: 28px; height: 2px; margin: 0 12px 3px 0; background: var(--blue-bright); }
h1 { margin: 0; max-width: 760px; font-size: clamp(60px, 6.2vw, 102px); line-height: .88; letter-spacing: -.065em; font-weight: 800; }
h1 em { color: #5e91e8; font-style: normal; }
.hero-lead { max-width: 610px; margin: 38px 0 0; color: #c5c8ce; font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 58px; padding: 0 24px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.text-link { color: #d8dae0; font-size: 13px; border-bottom: 1px solid #555a61; padding-bottom: 5px; }
.text-link span { margin-left: 8px; color: #5e91e8; }

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px);
  background-size: 32px 32px;
  display: grid;
  place-items: center;
}
.hero-visual:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0, rgba(0,20,65,.3) 82%); }
.drawing-meta { position: absolute; z-index: 2; font: 700 9px/1 monospace; letter-spacing: .18em; color: rgba(255,255,255,.58); }
.drawing-meta-top { top: 126px; left: 8%; }
.drawing-meta-bottom { bottom: 62px; right: 8%; }
.drawing-index { position: absolute; top: 118px; right: 8%; font: 700 54px/1 Arial; color: rgba(255,255,255,.12); }
.plus-mark { position: absolute; left: 7%; bottom: 48px; font: 300 68px/1 Arial; color: rgba(255,255,255,.22); }
.panel-drawing { position: relative; z-index: 1; width: min(67%, 430px); aspect-ratio: .82; border: 2px solid rgba(255,255,255,.82); box-shadow: 18px 18px 0 rgba(1,21,67,.35); padding: 20px; transform: translateY(14px); }
.panel-drawing:before, .panel-drawing:after { content: "+"; position: absolute; color: rgba(255,255,255,.7); font: 14px monospace; }
.panel-drawing:before { top: -25px; left: -25px; }
.panel-drawing:after { right: -25px; bottom: -25px; }
.panel-topline { height: 32px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.45); font: 700 8px monospace; letter-spacing: .12em; }
.panel-grid { position: relative; height: calc(100% - 64px); border-left: 1px solid rgba(255,255,255,.22); border-right: 1px solid rgba(255,255,255,.22); }
.component { position: absolute; border: 1px solid rgba(255,255,255,.72); background: rgba(0,35,100,.4); font-family: monospace; }
.component span { position: absolute; top: -16px; left: 0; font-size: 8px; color: rgba(255,255,255,.7); }
.breaker { top: 13%; left: 8%; width: 25%; height: 30%; display: grid; place-items: center; }
.breaker b { font-size: 10px; letter-spacing: .1em; }
.plc { top: 13%; right: 8%; width: 48%; height: 18%; display: flex; gap: 4px; align-items: center; padding: 8px; }
.plc i { flex: 1; height: 70%; display: block; border: 1px solid rgba(255,255,255,.45); }
.drive { top: 53%; left: 8%; width: 32%; height: 31%; display: flex; justify-content: center; align-items: center; }
.drive b { border: 1px solid rgba(255,255,255,.55); padding: 7px; font-size: 16px; }
.drive small { margin-left: 3px; }
.terminal { top: 49%; right: 8%; width: 43%; height: 13%; padding: 8px; }
.terminal div { height: 100%; background: repeating-linear-gradient(90deg, transparent 0 9%, rgba(255,255,255,.48) 10% 11%); }
.wire { position: absolute; border-color: rgba(255,255,255,.45); border-style: solid; border-width: 0; }
.wire-a { top: 31%; left: 21%; width: 55%; height: 23%; border-left-width: 1px; border-bottom-width: 1px; }
.wire-b { top: 63%; left: 40%; width: 22%; height: 15%; border-top-width: 1px; border-right-width: 1px; }
.wire-c { top: 39%; right: 17%; width: 1px; height: 12%; border-left-width: 1px; }
.panel-status { height: 32px; display: flex; align-items: flex-end; gap: 8px; font: 700 8px monospace; letter-spacing: .13em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #7dff9c; box-shadow: 0 0 10px #7dff9c; }

.proof-bar { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 100px; border-bottom: 1px solid var(--line); }
.proof-bar > div { padding: 0 32px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.proof-bar > div:last-child { border-right: 0; }
.proof-bar svg { width: 19px; color: var(--blue); }
.proof-number { font: 700 10px monospace; color: var(--blue); }

.expertise-intro { padding: 130px max(6vw, 32px); display: grid; grid-template-columns: 1fr 3fr 1.25fr; gap: 40px; align-items: start; }
.section-label { color: var(--blue); }
.expertise-intro h2 { margin: -10px 0 0; font-size: clamp(42px, 4vw, 70px); line-height: 1.02; letter-spacing: -.05em; }
.expertise-intro h2 span { color: #777a80; }
.expertise-intro > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { min-height: 510px; padding: 34px clamp(28px, 3.3vw, 54px) 50px; border-right: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; position: relative; overflow: hidden; }
.service-card:last-child { border-right: 0; }
.service-featured { background: var(--blue); color: white; }
.service-number { font: 700 10px monospace; color: var(--blue); }
.service-featured .service-number { color: #8fb6ff; }
.service-symbol { align-self: center; justify-self: center; width: 150px; height: 150px; position: relative; }
.symbol-door { position: absolute; inset: 9px 27px; border: 2px solid rgba(255,255,255,.82); padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 12px; box-shadow: 10px 10px 0 rgba(0,20,70,.25); }
.symbol-door i { display: block; height: 8px; border: 1px solid rgba(255,255,255,.65); }
.symbol-controls { border: 1px solid #94979d; display: flex; justify-content: center; align-items: center; gap: 13px; }
.symbol-controls:before, .symbol-controls:after { content: ""; position: absolute; background: var(--paper); border: 1px solid #94979d; width: 130px; height: 130px; }
.symbol-controls:before { transform: rotate(45deg); }
.symbol-controls span { position: relative; z-index: 2; width: 25px; height: 25px; border: 2px solid var(--blue); border-radius: 50%; background: var(--paper); }
.symbol-controls span:nth-child(2) { background: var(--blue); box-shadow: inset 0 0 0 7px var(--paper); }
.symbol-custom { border: 1px solid #94979d; }
.symbol-custom span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); font: 300 96px/1 Arial; }
.symbol-custom i { position: absolute; display: block; width: 42px; height: 42px; border: 1px solid #94979d; background: var(--paper); }
.symbol-custom i:nth-of-type(1) { top: -10px; right: -10px; }
.symbol-custom i:nth-of-type(2) { left: -10px; bottom: -10px; }
.service-copy h3 { margin: 0 0 20px; font-size: 31px; line-height: 1.02; letter-spacing: -.035em; }
.service-copy p { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-featured .service-copy p { color: #dbe6fa; }

.approach { padding: 140px max(6vw, 32px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 10vw; background: white; }
.approach-heading h2, .quality-copy h2 { margin: 0; font-size: clamp(48px, 5.2vw, 82px); line-height: .97; letter-spacing: -.06em; }
.approach-heading h2 span, .quality-copy h2 span { color: #7b7e84; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { min-height: 118px; padding: 25px 0; display: grid; grid-template-columns: 70px 1fr; border-bottom: 1px solid var(--line); }
.process-list li > span { padding-top: 4px; color: var(--blue); font: 700 10px monospace; }
.process-list h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.02em; }
.process-list p { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.quality-band { min-height: 690px; display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--ink); }
.quality-graphic { position: relative; overflow: hidden; min-height: 600px; background-color: #10141a; 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: 28px 28px; }
.quality-graphic:after { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border: 1px solid rgba(87,142,244,.7); top: 22%; left: 20%; transform: rotate(45deg); }
.quality-logo { position: absolute; z-index: 2; width: 72%; height: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: .16; }
.quality-lines { position: absolute; inset: 18%; display: flex; flex-direction: column; justify-content: space-between; }
.quality-lines i { display: block; height: 1px; background: rgba(255,255,255,.13); }
.quality-code { position: absolute; left: 7%; bottom: 7%; font: 700 9px monospace; letter-spacing: .18em; color: #747c89; }
.quality-copy { padding: 110px clamp(38px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.quality-copy .section-label { color: #72a0f1; }
.quality-copy > p:not(.section-label) { max-width: 580px; margin: 34px 0; color: #b9bdc4; font-size: 16px; line-height: 1.75; }
.quality-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; border-top: 1px solid #353940; padding-top: 28px; color: #e0e2e5; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.quality-points b { color: #6f9ff3; margin-right: 7px; }

.contact { min-height: 570px; padding: 100px max(6vw, 32px); display: grid; grid-template-columns: 2.1fr 1fr; gap: 8vw; align-items: end; color: white; background: var(--blue); }
.contact-main h2 { margin: 0 0 45px; font-size: clamp(52px, 6.4vw, 102px); line-height: .92; letter-spacing: -.06em; }
.contact-main h2 em { color: #92b6f7; font-style: normal; }
.contact .eyebrow { color: #d7e3f7; }
.contact .eyebrow span { background: white; }
.button-light { color: var(--blue); background: white; }
.button-light:hover { transform: translateY(-2px); background: #e9f0fb; }
.contact-info { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.35); }
.contact-item { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: 0; }
.contact-info p { margin: 0 0 10px; color: #b9d0ed; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.contact-info a { display: inline-block; font-size: clamp(17px, 1.45vw, 24px); font-weight: 700; line-height: 1.35; letter-spacing: -.025em; }
.contact-email a { border-bottom: 1px solid rgba(255,255,255,.56); }
.contact-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-numbers .contact-item { padding-block: 24px; }
.contact-address a { font-size: clamp(15px, 1.15vw, 19px); font-weight: 600; }

footer { min-height: 130px; padding: 34px max(6vw, 32px); display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 40px; color: #c3c5ca; background: var(--ink); font-size: 11px; }
.footer-brand img { width: 145px; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; height: 78px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 680px; padding-top: 130px; }
  .hero-visual { min-height: 650px; }
  .proof-bar { grid-template-columns: 1fr 1fr; }
  .proof-bar > div { min-height: 84px; border-bottom: 1px solid var(--line); }
  .expertise-intro { grid-template-columns: 1fr; padding-block: 90px; }
  .services { grid-template-columns: 1fr; }
  .service-card { min-height: 410px; border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 0 30px; }
  .service-symbol { grid-row: 2; align-self: center; }
  .service-copy { grid-row: 2; align-self: center; }
  .approach { grid-template-columns: 1fr; gap: 70px; padding-block: 100px; }
  .quality-band { grid-template-columns: 1fr; }
  .quality-graphic { min-height: 520px; }
  .contact { grid-template-columns: 1fr; align-items: start; }
  .contact-info { margin-top: 30px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 20px; }
  .brand img { width: 138px; }
  .header-cta { font-size: 0; gap: 0; }
  .header-cta:before { content: "Soumission"; font-size: 11px; }
  .header-cta svg { margin-left: 8px; font-size: 14px; }
  .hero-copy { min-height: 650px; padding: 130px 22px 66px; }
  h1 { font-size: clamp(52px, 17vw, 72px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-visual { min-height: 560px; }
  .panel-drawing { width: 76%; }
  .proof-bar { grid-template-columns: 1fr; }
  .proof-bar > div { border-right: 0; padding-inline: 22px; }
  .expertise-intro { padding: 75px 22px; gap: 20px; }
  .service-card { min-height: 500px; padding: 28px 22px 40px; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .service-symbol { grid-row: 2; }
  .service-copy { grid-row: 3; }
  .approach { padding: 80px 22px; gap: 52px; }
  .process-list li { grid-template-columns: 48px 1fr; }
  .quality-graphic { min-height: 420px; }
  .quality-copy { padding: 80px 22px; }
  .quality-points { grid-template-columns: 1fr; }
  .contact { padding: 80px 22px; }
  .contact-main h2 { font-size: clamp(48px, 15vw, 74px); }
  .contact-info { padding-left: 20px; }
  .contact-numbers { grid-template-columns: 1fr; gap: 0; }
  .contact-info a { font-size: 18px; }
  footer { padding: 34px 22px; }
  footer p:last-child { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; }
}
