/* =========================================================
   ALUWORKING 2.0: design system
   1. tokens  2. base  3. layout  4. components  5. sections
   6. pages   7. motion   8. responsive
   ========================================================= */

/* ---------- 0. fonts ----------
   Self-hosted (no connection to Google Fonts). Same files Google Fonts serves, split into
   latin and latin-ext like Google does: latin-ext is downloaded only when a page needs it.
   Archivo variable (width 62-125%, weight 300-800) and IBM Plex Mono 400/500, SIL Open Font
   Licence (see assets/fonts/*-OFL.txt). */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; src: url('/assets/fonts/archivo-latin-ext.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-weight: 300 800; font-stretch: 62% 125%; font-display: swap; src: url('/assets/fonts/archivo-latin.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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400-latin-ext.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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400-latin.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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-500-latin-ext.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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-500-latin.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; }

/* ---------- 1. tokens ---------- */
@property --st { syntax: '<color>'; inherits: true; initial-value: #7F8994; }

:root {
  /* brand (sampled from the ALUWORKING logo) */
  --brand-blue: #1E4D8C;
  --brand-blue-deep: #163B6C;
  --brand-graphite: #191919;

  /* fixed dark surfaces */
  --night: #0E1622;          /* deep blue-black */
  --night-2: #131D2B;
  --night-line: rgba(196, 204, 212, .16);
  --on-night: #EEF1F3;
  --on-night-muted: #A3ADB8;
  --signal: #79A6EA;         /* blue for lines/accents on dark (AA on --night) */

  /* aluminium greys */
  --alu-1: #E3E7EA;
  --alu-2: #C2C9D0;
  --alu-3: #7F8994;
  --metal-hi: #8E98A3;
  --metal-lo: #4B5560;

  /* adaptive light surfaces (switch in dark mode) */
  --surface: #FFFFFF;
  --surface-2: #ECEEF0;
  --text: #15191E;
  --text-muted: #4B535C;
  --rule: #D4D9DE;
  --accent-text: var(--brand-blue);

  /* type */
  --font: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);

  /* space & layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;
  --sec-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 2px;
  --hdr-h: 4.5rem;

  color-scheme: light;
}

/* Light sections are part of the brand design: no dark-theme override. */

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--brand-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #fff; color: var(--night); padding: .75rem 1rem; font-weight: 600;
}
.skip:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

/* ---------- 3. layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec-y); }
.sec--white { background: var(--surface); color: var(--text); }
.sec--paper { background: var(--surface-2); color: var(--text); }
.sec--night { background: var(--night); color: var(--on-night); }
.sec__head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec__intro { color: var(--text-muted); font-size: 1.125rem; max-width: 40rem; }
.sec--night .sec__intro { color: var(--on-night-muted); }
.split { display: grid; gap: 2rem 4rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: start; }

/* ---------- 4. components ---------- */
.h2 {
  font-size: var(--fs-h2); line-height: 1.05; font-weight: 680;
  font-stretch: 112%; letter-spacing: -.018em; text-wrap: balance;
}
.h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 640; font-stretch: 106%; }
.lead { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.35; font-weight: 500; font-stretch: 104%; }
.lead-s { font-size: 1.15rem; line-height: 1.45; font-weight: 500; }
.prose { display: grid; gap: 1.1rem; max-width: 40rem; }
.prose--lg { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.55; align-self: end; }
.note { margin-top: 3rem; color: var(--text-muted); font-size: var(--fs-small); }
.note--light { color: var(--on-night-muted); margin-top: 2rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .8rem 1.4rem; border-radius: var(--radius);
  font: 600 1rem/1.1 var(--font); font-stretch: 106%; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--primary, .btn--small { background: var(--brand-blue); color: #fff; }
.btn--primary:hover, .btn--small:hover { background: var(--brand-blue-deep); }
.btn--small { min-height: 2.5rem; padding: .55rem 1rem; font-size: .9375rem; }
.btn--ghost { border-color: rgba(238, 241, 243, .42); color: var(--on-night); }
.btn--ghost:hover { border-color: var(--on-night); background: rgba(255, 255, 255, .06); }
.btn--ghost-dark { border-color: var(--rule); color: var(--text); }
.btn--ghost-dark:hover { border-color: var(--text); }

.textlink {
  display: inline-block; margin-top: 1.25rem; font-weight: 600; color: var(--accent-text);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.textlink:hover { text-decoration-thickness: 2px; }
.textlink--light { color: var(--signal); }

.ticks { display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .62em; width: .6rem; height: .6rem;
  border: 1.5px solid var(--alu-3); transform: rotate(45deg) scale(.75);
}
.ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: var(--fs-small); color: var(--on-night-muted); margin-bottom: 1.5rem; }
.crumbs li + li::before { content: '/'; margin-right: .6rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-night);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(14, 22, 34, .94); border-color: var(--night-line); backdrop-filter: blur(10px); }
.hdr__bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--hdr-h); }
.hdr__brand img { width: 150px; height: auto; }
.hdr__nav { display: flex; align-items: center; gap: 2rem; }
.hdr__nav ul { display: flex; gap: 1.6rem; }
.hdr__nav ul a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--on-night-muted); padding-block: .5rem; border-bottom: 1px solid transparent; }
.hdr__nav ul a:hover, .hdr__nav ul a[aria-current="page"] { color: var(--on-night); border-color: var(--signal); }
.hdr__toggle { display: none; }
.hdr__nav .btn[aria-current="page"] { background: var(--brand-blue-deep); outline: 1px solid var(--signal); }

/* footer */
.ftr { background: var(--night); color: var(--on-night-muted); padding-top: clamp(3.5rem, 6vw, 5.5rem); font-size: var(--fs-small); }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.ftr__brand img { width: 150px; height: auto; }
.ftr__h { font-size: .9375rem; font-weight: 600; color: var(--on-night); margin-bottom: 1rem; }
.ftr ul { display: grid; gap: .5rem; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--on-night); text-decoration: underline; }
.ftr address { font-style: normal; line-height: 1.7; }
.ftr__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-block: 1.5rem; border-top: 1px solid var(--night-line); }

/* engineering drawing */
.pline { width: 100%; height: auto; font-family: var(--mono); }
.pline .frame line, .pline .rollers circle, .pline .st rect:not(.metal), .pline .st circle, .pline .st line, .pline .st path {
  fill: rgba(255, 255, 255, .015); stroke: var(--st); stroke-width: 1.25;
}
.pline .st { --st: #7F8994; }
.pline .frame line, .pline .rollers circle { stroke: #5D6772; fill: none; }
.pline .floor line { stroke: #3A4450; stroke-width: 1; stroke-dasharray: 2 6; }
.pline .st .metal { stroke: #AEB7C0; stroke-width: 1; }
.pline .st .hi { stroke: #E3E8EC; }
.pline .st .blade, .pline .st .film { stroke: var(--signal); stroke-width: 2; }
.pline .dim line, .pline .dim path, .pline .st .dim line, .pline .st path.dim { stroke: #5F6A76; stroke-width: 1; fill: none; }
.pline .dim text { fill: #8691A0; font-size: 14px; }
.pline .lbl line { stroke: #4A5562; }
.pline .lbl text { fill: #A9B3BE; font-size: 15px; letter-spacing: .02em; }
.pline .flow { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linecap: round; }

.glyph { width: 7.5rem; height: auto; color: var(--text); }
.glyph * { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .75; }
.glyph .acc { stroke: var(--accent-text); stroke-width: 2.5; opacity: 1; }
.glyph .acc-fill { fill: var(--accent-text); stroke: var(--accent-text); opacity: 1; }

/* ---------- 5. sections ---------- */

/* hero */
.hero { position: relative; background: var(--night); color: var(--on-night); padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(3rem, 8vw, 7.5rem)); overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196, 204, 212, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 204, 212, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(120% 90% at 70% 60%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 60%, #000 30%, transparent 85%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: end; }
.hero__title {
  font-size: var(--fs-h1); line-height: .94; font-weight: 720; font-stretch: 118%;
  letter-spacing: -.028em; text-wrap: balance;
}
.hero__side { display: grid; gap: 2rem; padding-bottom: .6rem; }
.hero__lead { font-size: 1.2rem; line-height: 1.5; color: var(--on-night-muted); max-width: 30rem; }
.hero__figure { position: relative; margin-top: clamp(3rem, 7vw, 6rem); }
.hero__scroll { max-width: 1680px; margin-inline: auto; padding-inline: clamp(.5rem, 2vw, 2rem); }
.hero__caption { padding-block: 1.25rem 2.5rem; font-size: .875rem; color: var(--on-night-muted); border-top: 1px solid var(--night-line); margin-top: .5rem; }

/* brand signature (from the logo tagline) */
.signature { font-size: .9375rem; font-weight: 500; font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night); padding-top: 1.25rem; border-top: 1px solid var(--night-line); }
.signature span { display: inline-block; background: var(--brand-blue); color: #fff; font-weight: 700; padding: .1em .35em; margin-inline: .1em; letter-spacing: .08em; }

/* markets */
.markets { background: var(--night-2); color: var(--on-night-muted); border-top: 1px solid var(--night-line); }
.markets__inner { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: baseline; padding-block: 1.6rem; font-size: var(--fs-small); }
.markets__intro { color: var(--on-night); font-weight: 500; }
.markets__list { display: flex; flex-wrap: wrap; gap: .5rem 0; }
.markets__list li { padding-inline: 1.1rem; border-left: 1px solid var(--night-line); }
.markets__list li:first-child { padding-left: 0; border-left: 0; }

/* philosophy */
.philo__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem 5rem; align-items: end; }
.philo__text { display: grid; gap: 1.25rem; max-width: 34rem; }
.philo__text p:not(.lead) { color: var(--text-muted); }
.scope { margin-top: clamp(3.5rem, 7vw, 6rem); }
.scope__cap { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: 1.25rem; }
.scope__scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; align-items: start; }
.scope__scale li { display: grid; gap: .9rem; align-content: start; padding-top: calc((6 - var(--k)) * .9rem); font-size: .9375rem; font-weight: 550; line-height: 1.3; }
.scope__scale li::before {
  content: ''; height: calc(var(--k) * .9rem + .4rem);
  background: color-mix(in srgb, var(--brand-blue) calc(var(--k) * 15%), var(--alu-2));
}
.scope__scale span { padding-right: 1rem; }

/* solutions */
.sols__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sol { background: var(--surface); }
.sol__link { display: grid; gap: .9rem; align-content: start; height: 100%; padding: clamp(1.5rem, 3vw, 2.4rem); text-decoration: none; transition: background-color .25s; }
.sol__link .glyph { margin-bottom: 1rem; }
.sol__title { font-size: var(--fs-h3); line-height: 1.2; font-weight: 640; font-stretch: 106%; }
.sol__text { color: var(--text-muted); }
.sol__link:hover { background: var(--surface-2); }
.sol__link:hover .sol__title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* method */
.method__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.step { position: relative; display: grid; gap: .75rem; align-content: start; padding-top: 2rem; border-top: 2px solid var(--text); }
.step__n {
  font-size: clamp(3rem, 2rem + 3vw, 4.75rem); line-height: 1; font-weight: 300; font-stretch: 125%;
  color: var(--accent-text); margin-bottom: .5rem;
}
.step__title { font-size: var(--fs-h3); font-weight: 640; font-stretch: 106%; line-height: 1.2; }
.step p { color: var(--text-muted); }

/* tabs */
.tabs { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 2.4fr); gap: 0 clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--rule); }
.tabs__list { display: grid; align-content: start; }
.tabs__tab {
  all: unset; box-sizing: border-box; cursor: pointer; padding: 1.05rem 0 1.05rem 1.1rem;
  border-bottom: 1px solid var(--rule); border-left: 3px solid transparent;
  font-weight: 560; font-stretch: 104%; color: var(--text-muted); transition: color .2s, border-color .2s;
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--text); border-left-color: var(--brand-blue); }
.tabs__tab:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.tabs__panel { padding-top: 2rem; display: grid; gap: 1rem; align-content: start; }
.tabs__ph { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); line-height: 1.1; font-weight: 660; font-stretch: 112%; }
.tabs__role { font-size: 1.15rem; color: var(--text-muted); max-width: 36rem; margin-bottom: .5rem; }
.tabs__panel .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; max-width: 44rem; }
.js .tabs__panel[data-hidden] { display: none; }

/* technology list (home) */
.techrows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; border-top: 1px solid var(--rule); }
.techrows li { border-bottom: 1px solid var(--rule); }
.techrows a { display: grid; gap: .2rem; padding-block: 1.1rem; text-decoration: none; }
.techrows__t { font-weight: 640; font-stretch: 106%; font-size: 1.125rem; }
.techrows__d { color: var(--text-muted); font-size: var(--fs-small); }
.techrows a:hover .techrows__t { color: var(--accent-text); }

/* technology cards (technologies page): image slot ready for photos */
.techgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
.techcard { display: grid; gap: .6rem; align-content: start; }
.techcard__img { aspect-ratio: 16 / 10; background: var(--surface-2); margin-bottom: .6rem; overflow: hidden; }
.techcard__img img { width: 100%; height: 100%; object-fit: cover; }
.techcard__title { font-size: var(--fs-h3); line-height: 1.2; font-weight: 640; font-stretch: 106%; }
.techcard p { color: var(--text-muted); }

/* V2: what we offer */
.offer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.offer__card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; transition: border-color .25s; }
.offer__card:hover { border-color: var(--text); }
.offer__card:hover .offer__more { text-decoration-thickness: 2px; }
.offer__media { aspect-ratio: 16 / 9; display: grid; place-items: center; background: #FFFFFF; border-bottom: 1px solid var(--rule); overflow: hidden; }
.offer__media .render { width: 100%; }
.offer__media .render__plate { border: 0; padding: 1rem; background: transparent; }
.offer__media--draw { padding: 1.5rem 2rem; }
.offer__body { display: grid; gap: .75rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); }
.offer__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; font-weight: 660; font-stretch: 110%; }
.offer__body p { color: var(--text-muted); }
.offer__more { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; margin-top: .5rem; }
.machine { width: 100%; height: 100%; }
.machine rect, .machine circle, .machine line { fill: none; stroke: #5B6570; stroke-width: 1.4; }
.machine .m-metal { stroke: #8E98A3; stroke-width: 1; }
.machine .m-blade { stroke: var(--brand-blue); stroke-width: 2.5; }
.machine .m-floor { stroke: #C2C9D0; stroke-dasharray: 2 6; }
.machine .m-roll circle { stroke: #9AA3AC; stroke-width: 1; }

/* V2: industries */
.inds { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.inds__inner { display: grid; grid-template-columns: minmax(10rem, auto) 1fr; gap: 1rem 3rem; align-items: baseline; }
.inds__title { font-size: 1.125rem; }
.inds__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.inds__list li { padding: .5rem .9rem; border: 1px solid var(--rule); font-size: var(--fs-small); font-weight: 500; }

/* V2: solutions */
.sol2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem 3rem; padding-block: 3rem; border-top: 1px solid var(--rule); }
.sol2__head { display: grid; gap: 1rem; align-content: start; }
.sol2__body { display: grid; gap: 1.1rem; }
.sol2__body > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .5rem 1.5rem; }
.sol2__body dt { font-weight: 640; font-size: var(--fs-small); color: var(--accent-text); padding-top: .15rem; }
.sol2__body dd { color: var(--text-muted); }
.sol2__cta { grid-column: 2; }
.sol2__cta .textlink { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--rule); font-size: var(--fs-small); text-decoration: none; color: var(--text); }
.chips a:hover { border-color: var(--text); }

/* V2: technology portfolio */
.techcard__app { font-size: var(--fs-small); color: var(--text); font-weight: 500; }
.techcard__app span { display: inline-block; margin-right: .4rem; font-weight: 640; color: var(--accent-text); }
.techcard .textlink { margin-top: .4rem; justify-self: start; }

/* V2: about roles */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.roles__col { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--rule); display: grid; gap: 1rem; align-content: start; }
.roles__col--us { border-color: var(--brand-blue); border-width: 2px; }
.roles__t { font-size: var(--fs-h3); font-weight: 660; font-stretch: 108%; }

/* experience */
.exp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.exp__item { display: grid; gap: 1rem; align-content: start; padding: clamp(1.75rem, 3.5vw, 3rem); border: 1px solid var(--night-line); background: var(--night-2); }
.exp__item p { color: var(--on-night-muted); }
.exp__item--concept { background: transparent; border: 1px dashed rgba(121, 166, 234, .5); }
.exp__kind { font-size: var(--fs-small); font-weight: 600; color: var(--signal); }
.exp__kind--dark { color: var(--accent-text); margin-bottom: .75rem; }
.exp__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; font-weight: 650; font-stretch: 110%; color: var(--on-night); }
.exp__item .exp__note { color: var(--on-night); }

/* concept render: shown on a light plate, like a drawing sheet */
.render { display: grid; gap: .75rem; }
.render__plate { background: #FFFFFF; padding: clamp(.5rem, 2vw, 1.5rem); border: 1px dashed rgba(121, 166, 234, .5); }
.render__plate img { width: 100%; height: auto; }
.render__cap { font-size: .875rem; color: var(--on-night-muted); }
.exp__item .render { margin-block: .25rem .5rem; }
.exp__item .render__plate { padding: .5rem; border: 0; }
.sec--flush { padding-top: 0; }

/* why */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2.5rem 5rem; }
.why__grid > div:first-child { display: grid; gap: 1rem; align-content: start; }
.why__list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: .5rem 2rem; padding-block: 1.4rem; border-top: 1px solid var(--rule); }
.why__list > div:last-child { border-bottom: 1px solid var(--rule); }
.why__list dt { font-weight: 640; font-stretch: 106%; font-size: 1.125rem; }
.why__list dd { color: var(--text-muted); }

/* founder */
.founder__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2.5rem 5rem; align-items: center; }
.founder__portrait {
  aspect-ratio: 4 / 5; display: grid; place-items: center; max-width: 30rem;
  background: #4A4A4A;
}
.founder__portrait { overflow: hidden; }
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder__text { display: grid; gap: 1.1rem; max-width: 38rem; }
.founder__text p:not(.founder__role) { color: var(--text-muted); }
.founder__role { font-weight: 600; color: var(--accent-text); margin-top: -.5rem; }

/* cta */
.cta { background: var(--brand-blue); color: #fff; padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; }
.cta__title { font-size: var(--fs-h2); line-height: 1.02; font-weight: 700; font-stretch: 116%; letter-spacing: -.02em; text-wrap: balance; }
.cta__body { display: grid; gap: 1.75rem; }
.cta__body p { font-size: 1.125rem; color: rgba(255, 255, 255, .86); }
.cta .btn--primary { background: #fff; color: var(--brand-blue-deep); }
.cta .btn--primary:hover { background: var(--alu-1); }
.cta__direct { color: #fff; font-weight: 500; text-underline-offset: .25em; }
.cta :focus-visible { outline-color: #fff; }

/* ---------- 6. inner pages ---------- */
.phero { background: var(--night); color: var(--on-night); padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.phero__title { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.5rem); line-height: 1; font-weight: 700; font-stretch: 116%; letter-spacing: -.024em; max-width: 18ch; text-wrap: balance; }
.phero__lead { margin-top: 1.5rem; font-size: 1.2rem; color: var(--on-night-muted); max-width: 40rem; }

.toc ul { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; }
.toc a { display: inline-block; padding: .45rem .8rem; border: 1px solid var(--rule); text-decoration: none; font-size: var(--fs-small); }
.toc a:hover { border-color: var(--text); }
.detail { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.5rem 3rem; padding-block: 3rem; border-top: 1px solid var(--rule); }
.detail__body { display: grid; gap: 1rem; max-width: 46rem; }
.detail__body > p:not(.lead-s) { color: var(--text-muted); }
.detail__sub { font-size: 1rem; font-weight: 640; margin-top: .5rem; }
.techlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; }
.techlist__item { display: grid; gap: .9rem; align-content: start; padding-block: 2.5rem; border-top: 1px solid var(--rule); }
.techlist__item .lead-s { color: var(--text-muted); font-weight: 400; }

.facts > div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: .5rem 2rem; padding-block: 1rem; border-top: 1px solid var(--rule); }
.facts dt { font-weight: 600; }
.facts dd { color: var(--text-muted); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem 5rem; }
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 560; font-size: var(--fs-small); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--surface); width: 100%;
  border: 1px solid var(--rule); border-radius: var(--radius); padding: .75rem .85rem; min-height: 3rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--signal); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input { width: 1.2rem; min-height: 1.2rem; margin-top: .2rem; }
.field--check label { font-weight: 400; color: var(--text-muted); }
.form .btn { justify-self: start; }
.form__status { font-size: var(--fs-small); color: var(--text-muted); min-height: 1.5em; }
.contact__direct ul { display: grid; gap: .6rem; margin-top: 1rem; }

/* ---------- 7. motion (one orchestrated moment: the hero line) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .pline .flow { stroke-dasharray: 1; stroke-dashoffset: 1; animation: flow 3.4s cubic-bezier(.45, 0, .25, 1) .4s forwards; }
  .hero .pline .st { animation: station 1.4s ease calc(.5s + var(--i) * .55s) both; }
  .hero .pline .lbl text { fill: #5E6875; animation: label .6s ease calc(.6s + var(--i) * .55s) forwards; }
}
@keyframes flow { to { stroke-dashoffset: 0; } }
@keyframes station { 0% { --st: #7F8994; } 35% { --st: #9CC0F2; } 100% { --st: #7F8994; } }
@keyframes label { to { fill: #DDE3E8; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pline .lbl text { fill: #DDE3E8; }
}

/* ---------- 8. responsive ---------- */
@media (max-width: 1080px) {
  .hdr__nav ul { gap: 1.1rem; }
  .hero__inner, .philo__grid, .why__grid, .founder__grid, .cta__grid, .split, .contact { grid-template-columns: 1fr; }
  .method__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .sols__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol2 { grid-template-columns: 1fr; }
  .techcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol2__cta { grid-column: auto; }
  .inds__inner { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .founder__portrait { max-width: 22rem; }
}
@media (max-width: 960px) {
  .hdr__toggle {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
    background: none; border: 1px solid var(--night-line); color: var(--on-night); cursor: pointer; border-radius: var(--radius);
  }
  .hdr__toggle-lines, .hdr__toggle-lines::before, .hdr__toggle-lines::after {
    display: block; width: 1.1rem; height: 1.5px; background: currentColor; position: relative; transition: transform .2s;
  }
  .hdr__toggle-lines::before, .hdr__toggle-lines::after { content: ''; position: absolute; left: 0; }
  .hdr__toggle-lines::before { top: -6px; } .hdr__toggle-lines::after { top: 6px; }
  .hdr__toggle[aria-expanded="true"] .hdr__toggle-lines { background: transparent; }
  .hdr__toggle[aria-expanded="true"] .hdr__toggle-lines::before { transform: translateY(6px) rotate(45deg); }
  .hdr__toggle[aria-expanded="true"] .hdr__toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }
  .hdr__nav {
    position: fixed; inset: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 1.5rem;
    background: var(--night); padding: 1.5rem var(--gutter) 2rem; border-bottom: 1px solid var(--night-line);
    display: none;
  }
  .hdr.is-open { background: var(--night); }
  .hdr.is-open .hdr__nav { display: flex; }
  .hdr__nav ul { flex-direction: column; gap: 0; }
  .hdr__nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--night-line); font-size: 1.0625rem; color: var(--on-night); }
  .tabs { grid-template-columns: 1fr; border-top: 0; }
  .tabs__list { display: flex; overflow-x: auto; gap: 0; border-bottom: 1px solid var(--rule); scrollbar-width: none; }
  .tabs__tab { white-space: nowrap; padding: .9rem 1rem; border-left: 0; border-bottom: 3px solid transparent; }
  .tabs__tab[aria-selected="true"] { border-bottom-color: var(--brand-blue); }
}
@media (max-width: 760px) {
  .hero__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hero__scroll .pline { min-width: 980px; }
  .sols__grid, .exp__grid, .method__steps, .techlist, .techrows, .techgrid { grid-template-columns: 1fr; }
  .scope__scale { grid-template-columns: 1fr; gap: .9rem; }
  .scope__scale li { grid-template-columns: 7.4rem 1fr; align-items: center; gap: 1rem; padding-top: 0; }
  .scope__scale li::before { height: .9rem; width: calc(var(--k) * 1.2rem); }
  .why__list > div, .facts > div, .detail { grid-template-columns: 1fr; }
  .tabs__panel .ticks, .ticks--cols, .form__row { grid-template-columns: 1fr; }
  .markets__list li { padding-inline: 0 1rem; border-left: 0; }
  .ftr__grid { grid-template-columns: 1fr; }
}

/* ---------- V2: technology portfolio & responsive refinements ---------- */
.techcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; }
.techcard__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: .6rem; }
.techcard__img--empty { background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface) 14px 15px); border: 1px solid var(--rule); }
.techcard__t { font-size: var(--fs-h3); line-height: 1.2; font-weight: 640; font-stretch: 106%; }

@media (max-width: 1080px) {
  .techcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol2 { grid-template-columns: 1fr; }
  .sol2__cta { grid-column: auto; }
  .inds__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .techcards, .offer__grid, .roles { grid-template-columns: 1fr; }
  .sol2__body > div { grid-template-columns: 1fr; gap: .25rem; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .h2 { font-size: clamp(1.75rem, 7.5vw, 2.25rem); }
  .phero__title { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  .sec { padding-block: clamp(3.25rem, 12vw, 4.5rem); }
  .hero__figure { margin-top: 2.5rem; }
}
@media (max-width: 760px) {
  .method__steps { row-gap: 1.5rem; }
  .step { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1rem; row-gap: .35rem; padding-top: 1.25rem; border-top-width: 1px; }
  .step__n { grid-row: span 2; font-size: 2.25rem; margin: 0; }
}

/* V2: tailor-made solutions */
.tailor__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.tailor__card { display: grid; gap: .75rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--brand-blue); }
.tailor__t { font-size: var(--fs-h3); line-height: 1.2; font-weight: 660; font-stretch: 108%; }
.tailor__card p { color: var(--text-muted); }
@media (max-width: 760px) { .tailor__grid { grid-template-columns: 1fr; } }

/* V2: realised solutions (featured installation) */
.realised .exp__kind { margin-bottom: 1.25rem; }
.realised__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: center; }
.realised__media .render__plate { border: 0; }
.realised__text { display: grid; gap: 1.1rem; }
.realised__text p { color: var(--on-night-muted); }
@media (max-width: 1080px) { .realised__grid { grid-template-columns: 1fr; } }

/* V2: three offer cards */
.offer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer__body { grid-template-rows: auto auto 1fr auto; }
.offer__note { font-size: var(--fs-small); }
.offer__more { align-self: end; justify-self: start; }
.offer__media--glyph .glyph { width: 46%; color: #5B6570; }
.offer__media--glyph .glyph * { opacity: 1; stroke-width: 1.2; }
.offer__media--glyph .glyph .acc-fill { fill: var(--brand-blue); stroke: var(--brand-blue); }
.offer__media--draw { padding: 1.25rem 1.5rem; }
@media (max-width: 900px) { .offer__grid { grid-template-columns: 1fr; } }

.offer__media--photo { padding: 1rem; }
.offer__media--photo img { width: 100%; height: 100%; object-fit: contain; }
.techcard__img { height: auto; }

/* V2: industries we serve, five equal cards */
.inds__title { margin-bottom: 1.5rem; }
.inds__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.inds__card { display: flex; align-items: flex-end; min-height: 6.5rem; padding: 1.1rem 1.2rem; background: var(--surface-2); border-top: 3px solid var(--brand-blue); font-weight: 620; font-stretch: 104%; font-size: 1.0625rem; line-height: 1.3; }
@media (max-width: 1080px) { .inds__card { font-size: 1rem; padding: 1rem; } }
@media (max-width: 760px) {
  .inds__grid { grid-template-columns: 1fr; gap: .6rem; }
  .inds__card { min-height: 0; align-items: center; padding: 1rem 1.1rem; }
}

/* About: founder note */
.fnote p { color: var(--text-muted); font-size: 1.0625rem; }
.founder__text.fnote p.fnote__close { color: var(--text); font-weight: 560; font-size: 1.15rem; }
.fnote__sign { display: grid; gap: .15rem; margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.fnote .fnote__sign .fnote__name { color: var(--text); font-weight: 660; font-size: 1.15rem; font-stretch: 106%; }
.fnote .fnote__sign .fnote__role { color: var(--accent-text); font-weight: 600; font-size: var(--fs-small); }

/* About V2 */
.phero__body { display: grid; gap: 1rem; max-width: 46rem; margin-top: 1.5rem; }
.phero__body .phero__lead { margin-top: 0; color: var(--on-night); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.45; }
.phero__body p { color: var(--on-night-muted); font-size: 1.0625rem; }
.approach .exp__kind { margin-bottom: .75rem; }
.details { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.founder__portrait img { object-position: 50% 0; }
@media (max-width: 1080px) {
  .founder__portrait { aspect-ratio: auto; max-width: 26rem; }
  .founder__portrait img { height: auto; }
}

/* Solutions V2.1 */
.phero__eyebrow { font-size: var(--fs-small); font-weight: 600; color: var(--signal); margin-bottom: .75rem; }
.integ__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: center; }
.integ__text p:not(.lead-s) { color: var(--text-muted); }
.integ .render__plate { border: 1px solid var(--rule); padding: .75rem; }
.integ .render__cap { color: var(--text-muted); }
.startup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: center; }
.startup__text { margin-top: 1rem; color: var(--on-night-muted); font-size: 1.125rem; max-width: 34rem; }
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: none; }
.chain li { position: relative; padding: 1rem .5rem 1rem 0; border-top: 2px solid var(--signal); font-weight: 620; font-stretch: 104%; color: var(--on-night); font-size: 1rem; }
.chain li::before { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--night); border: 2px solid var(--signal); transform: rotate(45deg); }
.chain__note { margin-top: .75rem; font-size: .875rem; color: var(--on-night-muted); }
@media (max-width: 1080px) { .integ__grid, .startup__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .chain { grid-template-columns: 1fr; border-left: 2px solid var(--signal); margin-left: 5px; }
  .chain li { border-top: 0; padding: .55rem 0 .55rem 1.25rem; }
  .chain li::before { top: 50%; left: -7px; margin-top: -6px; }
}

.fnote__li { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; margin-top: .5rem; padding: .65rem 1rem; border: 1px solid var(--rule); background: var(--surface); color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: border-color .2s, color .2s; }
.fnote__li svg { color: #0A66C2; flex: none; }
.fnote__li:hover { border-color: #0A66C2; color: #0A66C2; }


/* =========================================================
   V2.2 visual refinement
   ========================================================= */
:root { --alu-sheen: linear-gradient(180deg, #F4F5F6 0%, #E5E8EB 100%); }
.sec--paper { background: var(--alu-sheen); }

/* hero: split composition */
.hero { padding-bottom: 0; }
.hero__split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy { display: grid; gap: 1.75rem; align-content: center; }
.hero__copy .hero__title { font-size: clamp(2.5rem, 1.1rem + 3.7vw, 4.9rem); }
.hero__copy .hero__lead { max-width: 32rem; }
.hero__copy .signature { justify-self: start; padding-top: 1.1rem; }
.hero__visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--night-line); background: var(--night-2); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 34, .35) 0%, rgba(14, 22, 34, 0) 35%), linear-gradient(0deg, rgba(14, 22, 34, .45) 0%, rgba(14, 22, 34, 0) 30%); pointer-events: none; }
.hero__line { margin-top: clamp(3rem, 6vw, 5rem); }
.hero__line .hero__caption { margin-top: 0; }

/* what we offer: consistent cards */
.offer .sec__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.offer__card { box-shadow: 0 1px 0 rgba(14, 22, 34, .04); }
.offer__card:hover { border-color: var(--brand-blue); }
.offer__media { aspect-ratio: 16 / 10; background: #FFFFFF; }
.offer__media--iso { background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #EEF1F4 100%); }
.offer__media--iso .iso { width: 78%; height: auto; }
.offer__more::after { content: ''; display: inline-block; width: 1.1em; height: .6em; margin-left: .45em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h18M14 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h18M14 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s; }
.offer__card:hover .offer__more::after { transform: translateX(3px); }
.offer__more { text-decoration: none; }

/* industries: image cards on navy */
.inds { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.inds__title { margin-bottom: clamp(2rem, 4vw, 3rem); color: var(--on-night); }
.inds__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.inds__card { display: grid; grid-template-rows: auto 1fr; min-height: 0; padding: 0; background: var(--night-2); border: 1px solid var(--night-line); border-top: 0; align-items: stretch; }
.inds__art { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #2C394A 0%, #172231 70%); border-top: 2px solid var(--signal); overflow: hidden; }
.inds__art .iso { width: 100%; height: auto; }
.iso-edge { stroke: rgba(255, 255, 255, .55); stroke-width: .8; }
.inds__name { padding: 1rem 1.1rem 1.15rem; color: var(--on-night); font-weight: 600; font-stretch: 104%; font-size: 1rem; line-height: 1.3; }

/* method: lighter, tighter */
.method { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }

@media (max-width: 1080px) {
  .inds__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero__split { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 2.25rem); }
  .hero__copy { gap: 1.25rem; }
  .hero__copy .hero__title { font-size: clamp(2.2rem, 9.6vw, 2.75rem); }
  .hero__split { padding-bottom: 2.5rem; }
  .hero__line { display: none; }
  .inds__grid { grid-template-columns: 1fr; gap: .6rem; }
  .inds__card { grid-template-columns: 7.5rem 1fr; grid-template-rows: none; border-top: 1px solid var(--night-line); }
  .inds__art { aspect-ratio: 4 / 3; border-top: 0; border-right: 2px solid var(--signal); }
  .inds__name { display: flex; align-items: center; padding: .75rem 1rem; }
}
@media (min-width: 961px) { .hero__split { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
.hero__copy .hero__title { font-size: clamp(2.5rem, 1.2rem + 3.1vw, 4.4rem); font-stretch: 108%; }
.offer__media--iso ellipse[filter] { opacity: .1; }
.inds .inds__title { font-size: var(--fs-h2); }
@media (max-width: 760px) { .hero__copy .hero__title { font-size: clamp(2.2rem, 9.6vw, 2.75rem); } }
@media (max-width: 960px) { .hero__split { grid-template-columns: 1fr; } }

/* V2.3: what we do */
.hero__split { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; }
.intro { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem clamp(2.5rem, 6vw, 6rem); align-items: end; }
.intro__title { font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.9rem); line-height: 1.02; font-weight: 700; font-stretch: 112%; letter-spacing: -.022em; text-wrap: balance; }
.intro__text { display: grid; gap: 1rem; max-width: 34rem; border-left: 2px solid var(--brand-blue); padding-left: clamp(1.25rem, 2vw, 2rem); }
.intro__text p { color: var(--text-muted); font-size: 1.0625rem; }
.intro__text .intro__lead { color: var(--text); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 560; line-height: 1.4; }
.offer { padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
@media (max-width: 960px) { .intro__grid { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 760px) {
  .intro { padding-block: 3rem; }
  .intro__title { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .intro__text { padding-left: 1rem; }
}
.ftr__li { display: inline-flex; align-items: center; gap: .5rem; }
.ftr__li svg { flex: none; }

/* V2.4: full-width hero background */
.hero--bg { background-color: #0B1A2C; background-image: linear-gradient(90deg, rgba(8, 18, 32, .55) 0%, rgba(8, 18, 32, .2) 45%, rgba(8, 18, 32, 0) 70%), url('/assets/images/hero-network-1920.jpg'); background-size: cover; background-position: center right; background-repeat: no-repeat; }
.hero--bg .hero__split { grid-template-columns: minmax(0, 40rem); min-height: clamp(30rem, 72vh, 44rem); align-content: center; padding-bottom: clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 961px) { .hero--bg .hero__split { grid-template-columns: minmax(0, 40rem); } }
@media (max-width: 760px) {
  .hero--bg { background-image: linear-gradient(180deg, rgba(8, 18, 32, .7) 0%, rgba(8, 18, 32, .45) 55%, rgba(8, 18, 32, .2) 100%), url('/assets/images/hero-network-800.jpg'); background-position: 60% 100%; }
  .hero--bg .hero__split { min-height: 0; padding-bottom: 3rem; }
}
.hero--bg { background-image: linear-gradient(90deg, rgba(8, 18, 32, .82) 0%, rgba(8, 18, 32, .6) 32%, rgba(8, 18, 32, .15) 58%, rgba(8, 18, 32, 0) 75%), url('/assets/images/hero-network-1920.jpg'); background-position: 68% 50%; }
.hero--bg .hero__split { min-height: clamp(28rem, 62vh, 40rem); }
@media (max-width: 960px) {
  .hero--bg { background-image: linear-gradient(90deg, rgba(8, 18, 32, .85) 0%, rgba(8, 18, 32, .65) 55%, rgba(8, 18, 32, .3) 100%), url('/assets/images/hero-network-1920.jpg'); background-position: 72% 50%; }
}
@media (max-width: 760px) {
  .hero--bg { background-image: linear-gradient(180deg, rgba(8, 18, 32, .8) 0%, rgba(8, 18, 32, .62) 60%, rgba(8, 18, 32, .35) 100%), url('/assets/images/hero-network-800.jpg'); background-position: 60% 100%; }
}

/* Industries: six cards, 3 x 2 */
.inds__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.inds__art { aspect-ratio: 16 / 9; }
.inds__art .iso { width: auto; height: 100%; }
.inds__art--placeholder { background: repeating-linear-gradient(135deg, #172231 0 14px, #1C2938 14px 15px); }
@media (max-width: 960px) { .inds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .inds__grid { grid-template-columns: 1fr; gap: .6rem; }
  .inds__art { aspect-ratio: 4 / 3; }
  .inds__art .iso { width: 100%; height: auto; }
}

/* Industries: supplied photographs (names embedded in the artwork) */
.inds__grid--img { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.inds__photo { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--night-line); background: var(--night-2); aspect-ratio: 1672 / 941; }
.inds__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.inds__photo:hover img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .inds__photo img { transition: none; } .inds__photo:hover img { transform: none; } }
@media (max-width: 960px) { .inds__grid--img { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .inds__grid--img { grid-template-columns: 1fr; gap: .75rem; } }

/* Industries: HTML titles on a CSS band */
.ind { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--night-line); background: #0F2036; }
.ind__img { width: 100%; height: auto; aspect-ratio: 2.1 / 1; object-fit: cover; transition: transform .4s ease; }
.ind__title { position: relative; z-index: 1; margin-top: -1.1rem; padding: 1rem 1.25rem 1.05rem; background: rgba(14, 32, 56, .88); backdrop-filter: blur(2px); color: #fff; font-weight: 500; font-stretch: 100%; font-size: clamp(1rem, .9rem + .35vw, 1.2rem); line-height: 1.25; letter-spacing: .005em; }
.ind:hover .ind__img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .ind__img { transition: none; } .ind:hover .ind__img { transform: none; } }
@media (max-width: 760px) { .ind__title { font-size: 1.05rem; padding: .85rem 1rem; } }
.hdr__nav ul a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1140px) { .hdr__nav { gap: 1.25rem; } .hdr__nav ul { gap: 1rem; } .hdr__nav ul a { font-size: .875rem; } }
.offer__media--cover { padding: 0; }
.offer__media--cover img { width: 100%; height: 100%; object-fit: cover; }

/* V2.5: desktop hero composition */
.hero__title .hl:first-child::after { content: '\A'; white-space: pre; }
@media (min-width: 961px) {
  .hero__title .hl { display: block; }
  .hero__title .hl:first-child::after { content: none; }
  .hero--bg { padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(2rem, 5vw, 5rem)); }
  .hero--bg .hero__split { grid-template-columns: minmax(0, 48rem); min-height: clamp(25rem, 54vh, 35rem); padding-bottom: clamp(3rem, 5.5vw, 5rem); }
}

/* What we do: very light neutral grey */
.intro { background: #F4F5F6; color: #1B1F24; border-top: 1px solid rgba(14, 22, 34, .06); }
.intro .intro__title { color: #1B1F24; }
.intro .intro__text p { color: #3E464F; }
.intro .intro__text .intro__lead { color: #1B1F24; }
.intro .eyebrow { color: var(--brand-blue); }
.intro .intro__text { border-left-color: var(--brand-blue); }
.offer { background: linear-gradient(180deg, #E9ECEF 0%, #DFE3E7 100%); }

@media (max-width: 760px) {
  .method__steps { row-gap: 1.275rem; }
  .step { padding-top: 1.05rem; }
}

@media (max-width: 760px) { .hero__copy .btn-row { display: grid; grid-template-columns: minmax(0, 22rem); gap: .75rem; } .hero__copy .btn-row .btn { width: 100%; } }

/* V2.6: animated hero background (subtle drift + pulsing network nodes) */
.hero--bg { background-image: none; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: url('/assets/images/hero-network-1920.jpg') right center / cover no-repeat; transform-origin: 72% 55%; will-change: transform; }
.hero--bg::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(8, 18, 32, .82) 0%, rgba(8, 18, 32, .6) 32%, rgba(8, 18, 32, .15) 58%, rgba(8, 18, 32, 0) 75%); }
.hero__nodes { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__nodes .hn { fill: url(#hn-glow); opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media { animation: heroDrift 32s ease-in-out infinite alternate; }
  .hero__nodes .hn { animation: heroPulse var(--t, 4s) ease-in-out var(--d, 0s) infinite; }
  .hero--bg.is-paused .hero__media, .hero--bg.is-paused .hn { animation-play-state: paused; }
}
@keyframes heroDrift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.6%, -1.2%, 0); } }
@keyframes heroPulse { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .85; transform: scale(2.2); } }
@media (max-width: 960px) {
  .hero--bg::after { background: linear-gradient(90deg, rgba(8, 18, 32, .85) 0%, rgba(8, 18, 32, .65) 55%, rgba(8, 18, 32, .3) 100%); }
}
@media (max-width: 760px) {
  .hero__media { background-image: url('/assets/images/hero-network-800.jpg'); background-position: 60% 100%; }
  .hero__nodes { display: none; }
  .hero--bg::after { background: linear-gradient(180deg, rgba(8, 18, 32, .8) 0%, rgba(8, 18, 32, .62) 60%, rgba(8, 18, 32, .35) 100%); }
}

/* realised line: key data under the render */
.render__specs { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--rule); }
.render__specs div { display: grid; gap: .1rem; }
.render__specs dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.render__specs dd { font-size: 1.0625rem; font-weight: 640; font-stretch: 104%; color: var(--text); }

.render--photo img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--rule); }

/* tailor-made cards with image */
.tailor__card { padding: 0; overflow: hidden; }
.tailor__card > :not(.tailor__media) { padding-inline: clamp(1.5rem, 3vw, 2.25rem); }
.tailor__card > p { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.tailor__media { position: relative; margin: 0 0 .5rem; }
.tailor__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.tailor__media figcaption { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .6rem; background: rgba(14, 22, 34, .82); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .06em; }

/* Complete Lines & Integration: layout refinement */
.phero__eyebrow { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.integ { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.integ__intro { max-width: 52rem; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); line-height: 1.35; font-weight: 520; font-stretch: 104%; color: var(--text); padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.integ__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.integ__text { display: grid; gap: .75rem; align-content: start; }
.integ__text .eyebrow { margin-bottom: 0; }
.integ__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.1; font-weight: 680; font-stretch: 110%; letter-spacing: -.012em; text-wrap: balance; }
.integ__text .render__specs { flex-direction: column; gap: 1.1rem; margin-top: 1rem; padding-top: 1.25rem; }
.integ__text .render__specs dd { font-size: 1.25rem; }
.integ__media { margin: 0; }
.integ__media .render__cap { margin-top: .6rem; color: var(--text-muted); font-size: .8125rem; }
.tailor .eyebrow { margin-bottom: 0; }
.chain li { white-space: nowrap; font-size: .9375rem; }
@media (max-width: 1080px) { .integ__grid { grid-template-columns: 1fr; } .integ__text .render__specs { flex-direction: row; gap: .5rem 2.5rem; } }
@media (max-width: 760px) { .integ__intro { padding-bottom: 2rem; margin-bottom: 2rem; } .chain li { font-size: 1rem; } }

.integ__head { padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.integ__intro { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.eyebrow { color: var(--brand-blue); }
@media (max-width: 760px) { .integ__head { padding-bottom: 2rem; margin-bottom: 2rem; } }

/* =========================================================
   V2.7 Inner pages: wide-screen and mobile refinement
   ========================================================= */
@media (min-width: 1600px) { :root { --max: 1440px; } }

/* Page heroes: headline left, supporting text right on desktop */
@media (min-width: 1081px) {
  .phero { padding-top: calc(var(--hdr-h) + clamp(2.5rem, 4vw, 4rem)); padding-bottom: clamp(3rem, 4.5vw, 4.5rem); }
  .phero > .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6.5rem); align-items: end; }
  .phero > .wrap > .crumbs, .phero > .wrap > .phero__eyebrow { grid-column: 1 / -1; }
  .phero > .wrap > .phero__title { grid-column: 1; max-width: 16ch; }
  .phero > .wrap > .phero__lead, .phero > .wrap > .phero__body { grid-column: 2; margin-top: 0; max-width: 36rem; padding-bottom: .5rem; }
  .phero > .wrap > .phero__lead { font-size: 1.15rem; line-height: 1.55; }
  .phero__body { gap: .9rem; }

  /* Tailor-made head: title left, intro right */
  .tailor .sec__head { max-width: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6.5rem); align-items: end; }
  .tailor .sec__head .eyebrow { grid-column: 1 / -1; }
  .tailor .sec__head .sec__intro { grid-column: 2; grid-row: 2; max-width: 36rem; }
  .tailor .sec__head .h2 { grid-column: 1; grid-row: 2; }

  /* Contact: direct contact as a quiet panel */
  .contact__direct { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface-2); border-top: 3px solid var(--brand-blue); align-self: start; }
}

/* Technologies: 4 columns on large screens (8 items = 2 balanced rows) */
@media (min-width: 1280px) {
  .techcards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.75rem 1.75rem; }
  .techcard__t { font-size: 1.2rem; }
  .techcard p { font-size: .975rem; }
}

/* Mobile */
@media (max-width: 760px) {
  .techcards { gap: 2.25rem; }
  .techcard__img { aspect-ratio: 16 / 9; }
  .phero__body { margin-top: 1.25rem; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__brand img { width: 120px; }
  .ftr__grid > div:last-child { grid-column: 1 / -1; }
  .founder__portrait { max-width: 20rem; }
  .contact__direct { padding-top: 1.5rem; border-top: 1px solid var(--rule); }
}
@media (min-width: 1081px) {
  .phero > .wrap { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .phero > .wrap > .phero__title { max-width: none; }
  .phero--about > .wrap { align-items: start; }
  .phero--about > .wrap > .phero__body { padding-top: .6rem; }
}
@media (min-width: 1081px) { .phero > .wrap > .phero__title { font-size: clamp(2.6rem, 1.4rem + 2.3vw, 3.9rem); line-height: 1.02; } }

/* Technologies & Machines / Complete Lines & Integration: stacked hero, shared rhythm */
.phero--stack { padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(2rem, 4vw, 3.75rem)); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.phero.phero--stack > .wrap { display: block; }
.phero--stack .crumbs ol { margin-bottom: 1.75rem; }
.phero--stack .phero__eyebrow { margin-bottom: .9rem; }
.phero.phero--stack > .wrap > .phero__title { max-width: 24ch; font-size: clamp(2.1rem, 1.35rem + 2.3vw, 3.4rem); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.phero.phero--stack > .wrap > .phero__lead { max-width: 44rem; margin-top: 1.4rem; padding-bottom: 0; font-size: clamp(1.0625rem, 1rem + .25vw, 1.15rem); line-height: 1.6; }
.integ .integ__intro { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.4rem); line-height: 1.45; font-weight: 500; max-width: 46rem; }
@media (max-width: 760px) {
  .phero--stack { padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 1.5rem); padding-bottom: 2.5rem; }
  .phero--stack .crumbs ol { margin-bottom: 1.25rem; }
  .phero.phero--stack > .wrap > .phero__title { font-size: clamp(1.9rem, 8.2vw, 2.35rem); }
}

.phero--stack .phero__title .tl { display: block; }
.phero.phero--stack > .wrap > .phero__lead { max-width: 48rem; }
@media (min-width: 761px) { .phero.phero--stack > .wrap > .phero__lead { min-height: calc(1.6em * 3); } }

/* =========================================================
   v2.0-phase1-responsive: accessibility and responsive fixes
   ========================================================= */

/* A1. Focus indicator: dark blue on light sections, light blue on dark ones, white on the blue CTA. */
:root { --focus: var(--brand-blue); }
.hdr, .hero, .phero, .sec--night, .inds, .ftr, .markets { --focus: var(--signal); }
.cta { --focus: #FFFFFF; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.cta :focus-visible { outline-color: var(--focus); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
/* Current page in the header: keep the 1px ring as a state marker, but never weaken the focus ring. */
.hdr__nav .btn[aria-current="page"] { outline: 0; box-shadow: inset 0 0 0 1px var(--signal); }
.hdr__nav .btn[aria-current="page"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* A2. Buttons that wrap stay centred. */
.btn { text-align: center; text-wrap: balance; }

/* A3. Home, What we offer: one horizontal card per row on tablet, three columns from 980px. */
@media (min-width: 600px) and (max-width: 979px) {
  .offer__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .offer__card { grid-template-rows: none; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
  .offer__media { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--rule); padding: 1rem; }
  .offer__media img { height: auto; max-height: 15rem; object-fit: contain; }
  .offer__media--photo { padding: 1rem; }
  .offer__body { align-content: center; padding: 1.5rem 1.75rem; }
}
@media (min-width: 980px) { .offer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .offer__grid { grid-template-columns: 1fr; } }

/* A4. Complete Lines & Integration: image frame ready for the clean replacement image. */
.integ__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* A5. Technologies: Enquire links aligned at the bottom of each card. */
.techcard { display: flex; flex-direction: column; gap: .6rem; }
.techcard .textlink { margin-top: auto; padding-top: .4rem; align-self: flex-start; }

/* A6. Touch targets on mobile (44px recommended). */
@media (max-width: 760px) {
  .ftr ul { gap: 0; }
  .ftr ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr__base a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr__base { padding-block: .75rem; }
  .crumbs ol { gap: 0 .6rem; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
  .cta__direct { display: inline-flex; align-items: center; min-height: 44px; }
  .textlink { display: inline-flex; align-items: center; min-height: 44px; }
  .techcard .textlink { padding-top: 0; }
  .contact__direct a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact__direct ul { gap: 0; }
}
.field--check input { width: 24px; height: 24px; min-height: 24px; margin-top: .1rem; accent-color: var(--brand-blue); }

/* A7. Small phones (≤360px): headline sizes and the Subject menu. */
@media (max-width: 360px) {
  .hero__copy .hero__title { font-size: 1.95rem; }
  .phero.phero--stack > .wrap > .phero__title { font-size: 1.75rem; }
  .phero__title { font-size: 2rem; }
  .field select { padding-inline: .6rem; text-overflow: ellipsis; }
}

/* A8. Offer card links: the arrow never wraps alone onto a new line. */
.offer__more::after { content: none; }
.offer__last { white-space: nowrap; }
.offer__last::after { content: ''; display: inline-block; width: 1.1em; height: .6em; margin-left: .45em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h18M14 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h18M14 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s; }
.offer__card:hover .offer__last::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .offer__last::after { transition: none; } }

/* A9. Footer on mobile: even spacing for one- and two-line links; bottom row aligned. */
@media (max-width: 760px) {
  .ftr ul a { padding-block: .3rem; line-height: 1.35; }
  .ftr__base { align-items: center; }
}

/* A10. Home headline on small phones (≤360px): "Beyond machines. / Engineered around / your process." */
@media (max-width: 360px) {
  .hero__copy .hero__title { font-size: 1.8rem; font-stretch: 100%; letter-spacing: -.02em; }
}

/* ==========================================================================
   v2.0-contact-form
   ========================================================================== */
/* Antispam field: off screen for visitors, ignored by screen readers and keyboard. */
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: var(--fs-small); color: var(--text-muted); }
.form__privacy a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }

/* ==========================================================================
   v2.0-privacy: privacy policy text
   ========================================================================== */
.legal section { display: grid; gap: .8rem; padding-top: 1rem; }
.legal h3 { font-size: 1rem; font-weight: 640; margin-top: .4rem; }
.legal ul { display: grid; gap: .6rem; padding-left: 1.2rem; list-style: disc; }
.legal a { text-decoration: underline; text-underline-offset: .15em; }
.legal__date { font-size: var(--fs-small); color: var(--text-muted); }
/* Draft marker for text still to be confirmed (removed when the text is confirmed). */
.tbc { background: #FFF3BF; color: #5C3D00; padding: 0 .2em; font-weight: 560; }

/* ==========================================================================
   v2.0-hero-consistency
   Shared title width for stacked page openings (Technologies and Machines,
   Complete Lines and Integration): long titles can use two lines on desktop.
   Complete Lines keeps its two set lines; size, weight and spacing unchanged.
   ========================================================================== */
.phero.phero--stack > .wrap > .phero__title { max-width: 32ch; }

/* ==========================================================================
   v2.0-phero-images
   Background images of the inner page openings (Technologies and Machines,
   Complete Lines and Integration, About, Contact). Same approach as the home
   hero: image on the right, dark shade on the text side.
   ========================================================================== */
.phero--bg {
  /* top band: keeps the navigation readable over the image */
  --phero-top: linear-gradient(180deg, rgba(8, 18, 32, .85) 0, rgba(8, 18, 32, .55) 4.5rem, rgba(8, 18, 32, 0) 9rem);
  /* text side: dark where titles and descriptions sit, opening towards the image */
  --phero-shade: linear-gradient(90deg, rgba(8, 18, 32, .93) 0, rgba(8, 18, 32, .88) 45rem, rgba(8, 18, 32, .82) 68rem, rgba(8, 18, 32, .35) 84rem, rgba(8, 18, 32, .1) 100%);
  background-color: #0B1A2C;
  background-image: var(--phero-top), var(--phero-shade), var(--phero-img);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.phero--bg-technologies { --phero-img: url('/assets/images/phero-technologies-1600.webp'); }
.phero--bg-solutions { --phero-img: url('/assets/images/phero-solutions-1600.webp'); }
/* About: text in two columns, so the image stays behind an even shade */
.phero--bg-about { --phero-img: url('/assets/images/phero-about-1600.webp'); --phero-shade: linear-gradient(90deg, rgba(8, 18, 32, .9) 0%, rgba(8, 18, 32, .82) 50%, rgba(8, 18, 32, .82) 100%); }
.phero--bg-contact { --phero-img: url('/assets/images/phero-contact-1600.webp'); }
@media (max-width: 760px) {
  .phero--bg { --phero-shade: linear-gradient(180deg, rgba(8, 18, 32, .9) 0%, rgba(8, 18, 32, .84) 60%, rgba(8, 18, 32, .74) 100%); background-position: 70% center; }
  .phero--bg-technologies { --phero-img: url('/assets/images/phero-technologies-800.webp'); }
  .phero--bg-solutions { --phero-img: url('/assets/images/phero-solutions-800.webp'); }
  .phero--bg-about { --phero-img: url('/assets/images/phero-about-800.webp'); --phero-shade: linear-gradient(180deg, rgba(8, 18, 32, .9) 0%, rgba(8, 18, 32, .84) 60%, rgba(8, 18, 32, .78) 100%); }
  .phero--bg-contact { --phero-img: url('/assets/images/phero-contact-800.webp'); }
}
