:root {
  color-scheme: light;
  --ink: #122021;
  --petrol: #092737;
  --brand: #023e8a;
  --blue: #2168b5;
  --yellow: #ffc200;
  --paper: #f3f5f2;
  --white: #ffffff;
  --muted: #40555e;
  --line: #c2cdd0;
  --wrap: min(100% - 6rem, 84rem);
  --heading: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-family: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.6; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 650; letter-spacing: -.045em; line-height: 1.03; }
h2 { font-size: clamp(2.35rem, 4.65vw, 4.7rem); }
a { color: inherit; }
img { display: block; max-width: 100%; }
section[id], nav[id] { scroll-margin-top: 1.5rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.block { padding-block: clamp(4.5rem, 8.5vw, 8.5rem); }
.skip { position: absolute; z-index: 4; left: .75rem; top: .75rem; padding: .5rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.energy :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }

.site-header { border-top: 4px solid var(--brand); }
.header-inner, .navigation, .footer-inner { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: .75rem 1.5rem; min-height: 5.2rem; border-bottom: 1px solid var(--line); }
.brand { flex: 0 0 auto; max-width: 100%; }
.brand img { width: clamp(14.5rem, 27vw, 23rem); height: auto; }
.navigation { gap: clamp(.85rem, 2.5vw, 2.75rem); }
.navigation a { font-weight: 650; text-decoration: none; font-size: .96rem; white-space: nowrap; }
.navigation a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: .3em; }
.nav-contact { border-bottom: 2px solid var(--brand); padding-block: .3rem; }
.button, .vision-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .65rem 1.15rem;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.button-blue { background: var(--brand); color: var(--white); }
.button-blue:hover { background: var(--petrol); }
.discipline { color: var(--brand); font-family: Consolas, monospace; font-size: .875rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.discipline::before { content: ""; display: inline-block; width: 1.8rem; height: 2px; margin-right: .55rem; background: var(--brand); vertical-align: middle; }
.text-link { display: inline-block; font-weight: 700; text-underline-offset: .28em; }
.text-link:hover { text-decoration-thickness: 2px; }

.cover {
  padding-top: clamp(2.8rem, 4.6vw, 4.75rem);
}
.cover-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, .85fr);
  gap: clamp(1.6rem, 4vw, 5rem);
  align-items: end;
  margin-bottom: clamp(1.65rem, 3.5vw, 3rem);
  animation: cover-copy-in .75s both;
}
.cover h1 { font-size: clamp(2.85rem, 5.2vw, 5.75rem); line-height: 1.02; letter-spacing: -.058em; text-wrap: balance; }
.lead { max-width: 24rem; margin-bottom: 1rem; color: var(--muted); font-size: clamp(1.03rem, 1.53vw, 1.2rem); }
.cover-spread { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: .45rem; }
.cover-photo { min-width: 0; position: relative; }
.cover-frame { height: clamp(15rem, 28vw, 30rem); overflow: hidden; background: var(--line); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; animation: approach 3.3s cubic-bezier(.15,.55,.3,1) both; }
.cover-cell img { object-position: center 58%; transform: scale(1.17); }
.cover-robot img { object-position: center 40%; animation-delay: .13s; }
.cover-photo figcaption, .cell-figure figcaption, .energy-figure figcaption { padding-block: .62rem; font-size: .875rem; }
.cover-photo figcaption { display: flex; justify-content: space-between; gap: .6rem; color: var(--muted); }
.cover-photo figcaption span { font-family: Consolas, monospace; }
@keyframes cover-copy-in { from { opacity: .78; translate: 0 .65rem; } to { opacity: 1; translate: 0 0; } }
@keyframes approach { from { scale: 1.13; translate: 0 2%; } to { scale: 1; translate: 0 0; } }

.solutions-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
  border-block: 1px solid var(--line);
}

.section-intro h2 { margin-top: .85rem; }
.section-intro > p:not(.discipline) { margin-top: 1.15rem; max-width: 35rem; color: var(--muted); font-size: clamp(1.035rem, 1.6vw, 1.17rem); }
.automation { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: clamp(2rem, 6vw, 7rem); }
.automation .section-intro { padding-top: 1.6rem; border-top: 2px solid var(--brand); }
.cell-figure { color: var(--muted); }
.cell-image { aspect-ratio: 1.9; overflow: hidden; background: var(--line); }
.cell-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 41%; }
.capabilities { border-top: 1px solid var(--line); margin-top: .7rem; }

.energy { background: var(--petrol); color: var(--white); }
.energy-layout { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.energy .discipline, .contact .discipline { color: var(--yellow); }
.energy .discipline::before, .contact .discipline::before { background: var(--yellow); }
.energy .section-intro > p:not(.discipline), .energy-figure figcaption { color: var(--line); }
.plain-list { display: grid; gap: .45rem; padding-left: 1.05rem; margin-block: 1.1rem 1.4rem; }
.plain-list li::marker { color: var(--yellow); }
.energy .text-link { color: var(--yellow); }
.energy-figure img { width: 100%; height: auto; border: 1px solid var(--line); }

.vision { display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(0, .77fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.vision .section-intro { grid-column: 2; grid-row: 1; }
.vision .text-link { margin-top: 1.3rem; color: var(--brand); }
.vision-demo { grid-column: 1; grid-row: 1; min-width: 0; border-top: 3px solid var(--brand); }
.vision-image { position: relative; overflow: hidden; }
.vision-image img { width: 100%; height: auto; }
.vision-overlay { position: absolute; inset: 0; opacity: 0; transition: opacity .32s ease; }
.show-targets .vision-overlay { opacity: 1; }
.target { position: absolute; border: 2px solid var(--yellow); outline: 1px solid var(--petrol); }
.target-square { inset: 53.7% 9% 37.4% 79%; }
.target-gear { inset: 62.4% 10.1% 27.1% 81%; }
.vision-demo figcaption { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; padding-block: .65rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.vision-toggle { border: 1px solid var(--brand); min-height: 2.6rem; background: transparent; color: var(--brand); cursor: pointer; }
.vision-toggle:hover, .vision-toggle[aria-pressed="true"] { background: var(--brand); color: var(--white); }
.is-visible[data-reveal] { animation: figure-in .75s both; }
@keyframes figure-in { from { opacity: .68; translate: 0 .8rem; } to { opacity: 1; translate: 0 0; } }

.process { padding-block: 2.5rem clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.process h2 { font-size: clamp(2rem, 3.45vw, 3.3rem); }
.process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.6rem; margin: 1.8rem 0 0; padding-left: 1.35rem; }
.process li { padding-left: .3rem; }
.process li::marker { color: var(--brand); font-family: Consolas, monospace; font-weight: 700; }
.process h3 { font-size: clamp(1.15rem, 1.9vw, 1.55rem); margin-bottom: .45rem; }
.process p { color: var(--muted); }
.contact { background: var(--brand); color: var(--white); padding-block: clamp(3.5rem, 6.7vw, 6rem); }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.contact h2 { margin-block: .85rem .75rem; }
.contact address { display: grid; gap: .4rem; font-size: clamp(1.1rem, 2.5vw, 1.8rem); font-weight: 650; font-style: normal; }
.contact address a, .footer a { text-underline-offset: .26em; overflow-wrap: anywhere; }
.footer { background: var(--petrol); color: var(--white); font-size: .9rem; }
.footer-company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: 1.25rem;
  padding-block: clamp(2rem, 4vw, 3.75rem);
  border-bottom: 1px solid rgb(255 255 255 / .25);
}
.footer-company h2 { grid-column: 1 / -1; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.footer-company address { font-style: normal; }
.footer-company p + p { margin-top: .75rem; }
.footer-inner { justify-content: space-between; flex-wrap: wrap; gap: .65rem 1.4rem; padding-block: 1.3rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }

@media (max-width: 66rem) {
  :root { --wrap: calc(100% - 3.5rem); }
}

@media (max-width: 52rem) {
  .cover-copy { grid-template-columns: 1fr; gap: .95rem; }
  .cover h1 { font-size: clamp(2.55rem, 6.5vw, 4.05rem); }
  .cover-frame { height: clamp(13rem, 37vw, 22rem); }
  .automation { grid-template-columns: 1fr 1.12fr; }
  .vision, .energy-layout { gap: 1.7rem; }
}

@media (max-width: 42rem) {
  :root { --wrap: calc(100% - 2rem); }
  .footer-company { grid-template-columns: minmax(0, 1fr); }
  .header-inner { min-height: 0; flex-wrap: wrap; padding-block: .4rem .65rem; gap: .15rem 1rem; }
  .brand img { width: 16.25rem; }
  .navigation { width: 100%; justify-content: space-between; gap: .55rem; }
  .navigation a { font-size: .91rem; padding-block: .35rem; }
  .automation, .energy-layout, .vision, .process ol { grid-template-columns: 1fr; }
  .cover { padding-top: 2.35rem; }
  .cover-spread { grid-template-columns: 1fr; }
  .cover-robot { display: none; }
  .cover-frame { height: clamp(12rem, 59vw, 20rem); }
  .cover-cell img { transform: scale(1.23) translateY(-2.5%); }
  .solutions-nav { grid-template-columns: 1fr; margin-top: .3rem; }
  .vision .section-intro, .vision-demo { grid-column: auto; grid-row: auto; }
  .process ol { gap: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
