/* Self-hosted fonts (SIL Open Font License): no requests to third-party font servers */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/manrope-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/montserrat-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; } /* Archivo has no Cyrillic: Montserrat fills in for Macedonian */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/manrope-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

/* Layout concept: white industrial frame, full-bleed photography, deep-navy bands for figures, steel-blue accent drawn from the DL logo. */
:root {
  --ink: #0a1a30;
  --navy: #0e2747;
  --blue: #1b5fd1;
  --blue-dark: #134aa6;
  --steel: #b9c3cf;
  --paper: #ffffff;
  --mist: #f0f3f6;
  --line: #dbe1e8;
  --muted: #586678;
  --on-dark: #ffffff;
  --on-dark-muted: #a9b7c9;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "Manrope", "Segoe UI", Roboto, Arial, sans-serif; /* label face */

  --wrap: 1280px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-stretch: 112%; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-stretch: 108%; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0; }

.wrap {
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 900px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.eyebrow {
  font-family: var(--f-mono); font-weight: 600;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.prose { display: grid; gap: 1em; max-width: 64ch; color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 15px 26px; border: 2px solid var(--blue);
  background: var(--blue); color: var(--on-dark);
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; }
.btn::after { content: "→"; font-family: var(--f-body); transition: transform .2s; }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--on-dark); }
.btn--ghost:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.textlink {
  font-family: var(--f-display); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue);
  display: inline-flex; gap: 10px; align-items: center;
}
.textlink::after { content: "→"; transition: transform .2s; }
.textlink:hover { text-decoration: none; }
.textlink:hover::after { transform: translateX(4px); }

/* Header */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar span { font-family: var(--f-body); font-weight: 500; letter-spacing: 0.01em; font-size: 0.84rem; }
.topbar a { color: var(--on-dark); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; }
.lang a, .lang span { padding: 2px 6px; border-radius: 3px; color: var(--on-dark-muted); }
.lang a:hover { color: var(--on-dark); text-decoration: none; background: rgba(255,255,255,.08); }
.lang [aria-current] { color: var(--on-dark); background: rgba(255,255,255,.14); }
@media (max-width: 640px) { .topbar__right > span { display: none; } .topbar .wrap { flex-wrap: nowrap; align-items: center; gap: 8px; } .topbar .wrap > span { font-size: .72rem; min-width: 0; } .lang a, .lang span { padding: 2px 4px; } }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--f-display); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink); padding: 26px 14px; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover { text-decoration: none; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; padding: 11px 20px; color: var(--on-dark); }
.nav .btn::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s, opacity .2s; }
@media (min-width: 1021px) and (max-width: 1180px) { .nav a { padding-inline: 10px; font-size: .84rem; } .nav .btn { margin-left: 8px; } }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 20px var(--gutter);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { left: 0; right: auto; width: 40px; bottom: -1px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .brand img { height: 42px; }
}

/* Hero */
.hero {
  position: relative; color: var(--on-dark); background: var(--ink);
  overflow: hidden; isolation: isolate;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,26,48,.94) 0%, rgba(10,26,48,.82) 38%, rgba(10,26,48,.25) 75%, rgba(10,26,48,.1) 100%);
}
.hero .wrap { padding-block: clamp(72px, 11vw, 150px) clamp(64px, 9vw, 120px); display: grid; gap: 28px; }
.hero h1 { max-width: 15ch; }
.hero .eyebrow { color: var(--on-dark); }
.hero .lead { color: var(--on-dark-muted); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero--page .wrap { padding-block: clamp(64px, 8vw, 110px) clamp(56px, 7vw, 96px); }
.hero--page h1 { max-width: 18ch; }

.crumbs { font-family: var(--f-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark); }

/* Pillars bar under home hero */
.pillars { background: var(--paper); border-bottom: 1px solid var(--line); }
.pillars ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.pillars li {
  padding: 28px 24px 28px 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
  border-right: 1px solid var(--line); padding-left: 24px;
}
.pillars li:first-child { padding-left: 0; }
.pillars li:last-child { border-right: 0; }
.pillars svg { grid-row: span 2; width: 34px; height: 34px; color: var(--blue); }
.pillars strong { font-family: var(--f-display); font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.pillars span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 900px) {
  .pillars ul { grid-template-columns: 1fr 1fr; }
  .pillars li { padding: 22px 12px 22px 0; border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .pillars li:nth-child(odd) { border-right: 1px solid var(--line); }
  .pillars li:nth-child(even) { padding-left: 16px; }
  .pillars li:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 480px) {
  .pillars ul { grid-template-columns: 1fr; }
  .pillars li:nth-child(n) { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillars li:last-child { border-bottom: 0; }
}

/* Sections */
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .lead, .section--dark .prose { color: var(--on-dark-muted); }
.section--dark .eyebrow { color: #7fa8ee; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 820px; }
.section-head--split {
  max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* Split layout: image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split > * { min-width: 0; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--on-dark);
  font-family: var(--f-mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 16px;
}
.split__body { display: grid; gap: 22px; align-content: start; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}

/* Figures band */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.figures--3 { grid-template-columns: repeat(3, 1fr); }
.figure { padding: 32px 24px 8px 0; display: grid; gap: 6px; }
.figure + .figure { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.figure b {
  font-family: var(--f-display); font-weight: 700; font-stretch: 115%;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.figure b small { font-size: 0.5em; font-weight: 600; margin-left: 4px; }
.figure span { font-family: var(--f-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.section:not(.section--dark) .figures { border-top-color: var(--line); }
.section:not(.section--dark) .figure + .figure { border-left-color: var(--line); }
.section:not(.section--dark) .figure span { color: var(--muted); }
@media (max-width: 760px) {
  .figures, .figures--3 { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Competence cards (large image tiles) */
.competences { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.comp {
  position: relative; color: var(--on-dark); overflow: hidden; isolation: isolate;
  min-height: 460px; display: flex; align-items: flex-end; background: var(--ink);
}
.comp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.comp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,26,48,0) 25%, rgba(10,26,48,.92) 100%); }
.comp:hover img { transform: scale(1.04); }
.comp:hover { text-decoration: none; }
.comp__body { padding: 32px; display: grid; gap: 12px; }
.comp__body p { color: var(--on-dark-muted); max-width: 46ch; }
.comp .textlink { color: var(--on-dark); }
.comp .eyebrow { color: var(--on-dark); }
@media (max-width: 860px) { .competences { grid-template-columns: 1fr; } .comp { min-height: 380px; } }

/* Services grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--paper); display: grid; grid-template-rows: auto 1fr; }
.service img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service div { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.service p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Services board: selectable list + detail view (after Bystronic product selector) */
.svc-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-tab { width: 100%; display: grid; grid-template-columns: 18px 1fr auto; gap: 22px; align-items: center; padding: 22px 0 22px 14px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); font: inherit; }
.svc-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--muted); transition: background .2s, border-color .2s; }
.svc-name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.svc-arrow { font-size: 1.35rem; line-height: 1; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.svc-tab:hover .svc-name { color: var(--blue); }
.svc-tab[aria-selected="true"] .svc-dot { background: var(--blue); border-color: var(--blue); }
.svc-tab[aria-selected="true"] .svc-arrow { opacity: 1; transform: none; }
.svc-panel { display: grid; gap: 24px; align-content: start; }
.svc-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.svc-panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-panel p { color: var(--ink); font-size: 1.12rem; max-width: 46ch; }
@media (prefers-reduced-motion: no-preference) { .svc-panel:not([hidden]) { animation: svc-in .35s ease; } }
@keyframes svc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .svc-board { grid-template-columns: 1fr; gap: 32px; }
  .svc-tab { padding: 16px 0 16px 4px; gap: 16px; }
}

/* Machine gallery */
.machines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.machine { display: grid; align-content: start; overflow: hidden; border-radius: 6px; background: var(--paper); box-shadow: 0 1px 2px rgba(10,26,48,.06), 0 8px 24px -12px rgba(10,26,48,.25); }
.machine img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--mist); }
.machine span { font-family: var(--f-mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.machine h3 {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 1rem; font-weight: 600; letter-spacing: .01em; line-height: 1.3; color: var(--on-dark);
  padding: 16px 20px; z-index: 1;
  background: linear-gradient(100deg, rgba(14,39,71,.92) 0%, rgba(27,95,209,.78) 100%);
}
@media (max-width: 900px) { .machines { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .machines { grid-template-columns: 1fr; } }

/* Value list with ruled rows */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.values li { border-top: 1px solid var(--line); padding: 22px 0; display: grid; gap: 6px; }
.values h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.values p { color: var(--muted); }
.section--dark .values li { border-top-color: rgba(255,255,255,.18); }
.section--dark .values p { color: var(--on-dark-muted); }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }

/* Certificates */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert { border: 1px solid var(--line); background: var(--paper); padding: 28px; display: grid; gap: 14px; justify-items: center; text-align: center; align-content: center; }
.cert img { height: 96px; width: auto; }
.cert h3 { font-size: 1.15rem; }
.cert p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .certs { grid-template-columns: 1fr; } }

/* Process steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { display: grid; gap: 14px; align-content: start; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step__no { font-family: var(--f-mono); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--blue); display: flex; align-items: center; gap: 10px; }
.step__no::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Technology feature blocks */
.tech { display: grid; gap: clamp(72px, 9vw, 120px); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips span {
  font-family: var(--f-mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 7px 12px; color: var(--ink); background: var(--paper);
}
.note { border-left: 3px solid var(--blue); padding: 6px 0 6px 18px; display: grid; gap: 4px; }
.note h4 { text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; }
.note p { color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--mist); }
.thumbs--2 { grid-template-columns: 1fr 1fr; }
.thumbs--2 img { aspect-ratio: 5 / 6; object-fit: contain; background: var(--mist); }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--f-mono); font-weight: 600; font-weight: 500; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); width: 48%; padding-right: 16px; }
.spec td { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { display: grid; gap: 12px; align-content: start; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: right center; background: var(--mist); }
.product p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .products { grid-template-columns: 1fr; } }

/* Foundry capability cards */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap { background: var(--paper); display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); }
.cap img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: right center; }
.cap > div { padding: 24px; display: grid; gap: 12px; align-content: start; }
.cap p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline li { display: grid; gap: 12px; align-content: start; }
.timeline .year {
  font-family: var(--f-display); font-weight: 700; font-stretch: 115%; font-size: 2.2rem; line-height: 1;
  padding-bottom: 14px; border-bottom: 2px solid var(--blue); font-variant-numeric: tabular-nums;
}
.timeline img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--muted); font-family: var(--f-mono); font-weight: 600; font-size: 0.76rem; letter-spacing: .1em; text-transform: uppercase; }
.section--dark .timeline p { color: var(--on-dark-muted); }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* Logistics */
.logi { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; background: var(--ink); color: var(--on-dark); }
.logi__body { padding: clamp(32px, 5vw, 72px); display: grid; gap: 28px; align-content: center; }
.logi__body .lead { color: var(--on-dark-muted); }
.logi__body .eyebrow { color: #7fa8ee; }
.logi__media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.logi .values li { border-top-color: rgba(255,255,255,.18); }
.logi .values p { color: var(--on-dark-muted); }
.logi .values { grid-template-columns: 1fr; }
.logi .values li { grid-template-columns: 9.5rem 1fr; gap: 16px; align-items: baseline; }
.logi .values h3 { font-size: .98rem; }
@media (max-width: 900px) { .logi { grid-template-columns: 1fr; } .logi__media img { min-height: 260px; max-height: 420px; } }
@media (max-width: 480px) { .logi .values li { grid-template-columns: 1fr; gap: 4px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact__card { background: var(--paper); border-radius: 6px; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: clamp(28px, 5vw, 64px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.contact__card img { width: 100%; max-width: 440px; height: auto; }
.contact__card--map { padding: 0; overflow: hidden; background: #081629; }
.contact__card--map img { max-width: none; display: block; }
.contact__body { display: grid; gap: 24px; }
.person { display: grid; gap: 2px; }
.person b { font-family: var(--f-display); font-size: 1.35rem; }
.person span { color: var(--on-dark-muted); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-list li { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); align-items: baseline; }
.contact-list li > span { font-family: var(--f-mono); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-list a, .contact-list div { color: var(--on-dark); font-size: 1.08rem; user-select: all; }
.contact-list div { user-select: text; }
.disciplines { font-family: var(--f-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact-list li { grid-template-columns: 1fr; gap: 2px; } }

/* CTA band */
.cta { background: var(--blue); color: var(--on-dark); }
.cta .wrap { padding-block: clamp(48px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta h2 { max-width: 22ch; }
.cta p { color: #d6e3fb; margin-top: 10px; }
.cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .btn:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* Footer */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); font-size: 0.95rem; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-grid h4 { font-family: var(--f-mono); font-weight: 600; font-weight: 500; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); }
.footer-brand img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

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

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.footer-legal a { color: inherit; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover, .footer-legal a:hover { color: var(--ink); text-decoration: underline; }

/* Cookie consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; display: flex; justify-content: center; }
.consent[hidden] { display: none !important; }
.consent__inner { width: min(1120px, 100%); background: var(--ink); color: var(--on-dark); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); padding: clamp(20px, 3vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: end; }
.consent h2 { font-size: 1.15rem; margin: 0 0 8px; color: var(--on-dark); }
.consent p { margin: 0; color: var(--on-dark-muted); font-size: .92rem; line-height: 1.55; }
.consent a { color: #9cc2ff; text-decoration: underline; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent .btn { padding: 11px 18px; font-size: .88rem; }
.consent .btn::after { content: none; }
.consent__prefs { display: grid; gap: 10px; margin-top: 16px; }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; font-size: .88rem; color: var(--on-dark-muted); cursor: pointer; }
.consent__opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.consent__opt b { display: block; color: var(--on-dark); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 760px) { .consent__inner { grid-template-columns: 1fr; } .consent__actions { justify-content: stretch; } .consent__actions .btn { flex: 1 1 auto; justify-content: center; } }

/* Legal page */
.legal { max-width: 780px; display: grid; gap: 14px; }
.legal h2 { font-size: 1.35rem; margin-top: 26px; }
.legal p, .legal li { color: var(--ink-2, #2a3a50); line-height: 1.7; }
.legal ul { padding-left: 1.2em; margin: 0; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--mist); font-weight: 600; }
.legal .muted { color: var(--muted); font-size: .9rem; }
.footer-owner { color: inherit; }
.footer-owner:hover { color: var(--ink); text-decoration: underline; }
.ico-item { display: flex; align-items: flex-start; gap: 10px; }
.ico-item .ico { width: 16px; height: 16px; flex: none; margin-top: 4px; fill: var(--blue); }
.contact-list li > span { display: inline-flex; align-items: center; gap: 10px; }
.contact-list .ico { width: 16px; height: 16px; flex: none; fill: #7fa8ee; }
