/* =========================================================
   UKDS (UK Developers & Solutions): company website
   Brand system built from the UKDS logo: circuit lines that end
   in round nodes, the logo's navy and blue, and one colour per
   division taken from its product (blue AI, amber LED, PCB green).
   ========================================================= */

/* ---------- Fonts (self-hosted, OFL, see /assets/fonts/OFL-LICENSE.txt) ----------
   Anek by Ek Type, an Indian type foundry. One variable file covers every weight. */
@font-face {
  font-family: "Anek Latin";
  src: url("/assets/fonts/anek-latin-var.woff2") format("woff2-variations"), url("/assets/fonts/anek-latin-var.woff2") format("woff2");
  font-weight: 100 800; font-stretch: 75% 125%; font-display: swap;
}
@font-face {   /* only the letters of কলকাতা, 1 KB */
  font-family: "Anek Bangla Kolkata";
  src: url("/assets/fonts/anek-bangla-kolkata.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}

:root {
  --navy: #0b1633;
  --navy-2: #13224a;
  --navy-3: #070f24;
  --on-navy: #eef2fa;
  --on-navy-2: #a9b6d3;
  --navy-line: rgba(238, 242, 250, 0.14);

  --paper: #f7f6f2;
  --paper-2: #edebe5;
  --ink: #0e1a33;
  --ink-2: #3d4963;
  --mute: #6b7690;
  --line: rgba(14, 26, 51, 0.14);

  --blue: #2f6bff;
  --blue-ink: #1d4fd8;
  --cyan: #38e1e8;

  /* division colours: [on light] / [on navy] */
  --sec: #2f6bff;  --sec-hi: #7ca2ff;
  --dsp: #b87400;  --dsp-hi: #f2b533;
  --elx: #138a5d;  --elx-hi: #34c48b;
  --alert: #ff4d4f;

  --wrap: 1240px;
  --radius: 6px;
  --font: "Anek Latin", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 1.0625rem/1.62 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.06; font-weight: 650; letter-spacing: -0.012em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3.05rem); margin-bottom: 18px; }
h3 { font-size: 1.45rem; margin-bottom: 8px; }
p { margin: 0 0 1em; }
figure { margin: 0; }
dl, dd { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* division mark strokes and fills (kept here, not in style="", because of the CSP) */
.mk-s { fill: none; stroke: var(--mk, currentColor); }
.mk-f { fill: var(--mk, currentColor); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.band-navy :focus-visible, .hero :focus-visible, .site-header :focus-visible { outline-color: var(--cyan); }

/* division colour hooks: --mk is read by the mark symbols */
.d-sec, .l-sec, .m-sec { --mk: var(--sec); --dc: var(--sec); }
.d-dsp, .l-dsp, .m-dsp { --mk: var(--dsp); --dc: var(--dsp); }
.d-elx, .l-elx, .m-elx { --mk: var(--elx); --dc: var(--elx); }
.band-navy .l-sec { --mk: var(--sec-hi); --dc: var(--sec-hi); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem/1 var(--font); letter-spacing: 0.01em; text-decoration: none;
  color: #fff; background: var(--blue); border: 0; border-radius: 4px;
  padding: 15px 22px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--blue-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--on-navy); box-shadow: inset 0 0 0 1.5px var(--navy-line); }
.btn-ghost:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--on-navy); }
.btn-sm { padding: 11px 16px; font-size: 0.94rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.98rem; color: var(--dc, var(--blue-ink)); margin-bottom: 16px; }
.band-navy .label { color: var(--dc, var(--cyan)); }
.label .mark { flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); color: var(--on-navy); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--navy-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-navy); text-decoration: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-size: 1.45rem; font-weight: 700; letter-spacing: 0.06em; }
.brand-name small { font-size: 0.78rem; color: var(--on-navy-2); letter-spacing: 0.02em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; color: var(--on-navy); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-navy-2); }
.dot-sec { background: var(--sec-hi); } .dot-dsp { background: var(--dsp-hi); } .dot-elx { background: var(--elx-hi); }
.nav-toggle { display: none; font: 600 0.95rem/1 var(--font); color: var(--on-navy); background: none; border: 1.5px solid var(--navy-line); border-radius: 4px; padding: 10px 14px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--on-navy); padding: 64px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: 32px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy-2); font-weight: 500; margin-bottom: 26px; }
.node { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 225, 232, 0.16); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 650; letter-spacing: -0.015em; line-height: 1.03; margin-bottom: 26px; }
.hero h1 span { display: block; }
@media (min-width: 1081px) { .hero h1 span { white-space: nowrap; } }
.hero h1 span:nth-child(2) { color: #c9d7f7; }
.hero h1 span:nth-child(3) { color: #93a7d6; }
.lead { font-size: 1.2rem; color: var(--on-navy-2); max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.wires path { stroke: rgba(238, 242, 250, 0.3); }
.n-sec { fill: var(--sec-hi); } .n-dsp { fill: var(--dsp-hi); } .n-elx { fill: var(--elx-hi); }
.art-no { font: 600 16px var(--font); letter-spacing: 1px; }
.t-sec { fill: var(--sec-hi); } .t-dsp { fill: var(--dsp-hi); } .t-elx { fill: var(--elx-hi); }
.art-title { font: 600 29px var(--font); fill: var(--on-navy); }
.art-sub { font: 400 17px var(--font); fill: var(--on-navy-2); }
.hero-art a:hover .art-title { text-decoration: underline; }
.pulse { stroke-dasharray: 9 91; stroke-dashoffset: 100; animation: pulse 3s linear infinite; }
.p-sec { stroke: var(--sec-hi); } .p-dsp { stroke: var(--dsp-hi); animation-delay: 1s; } .p-elx { stroke: var(--elx-hi); animation-delay: 2s; }
@keyframes pulse { to { stroke-dashoffset: 0; } }

/* the "bus": a circuit trace with a node per fact */
.bus { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy-line); }
.bus li { position: relative; padding: 22px 20px 34px 0; }
.bus li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--cyan); }
.bus b { display: block; font-weight: 600; font-size: 1.08rem; }
.bus span { color: var(--on-navy-2); font-size: 0.96rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.band-alt { background: var(--paper-2); }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy p { color: var(--on-navy-2); }
.band-navy h2 { color: #fff; }
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end; margin-bottom: 56px; }
.intro h2 { margin-bottom: 0; }
.intro p { color: var(--ink-2); margin: 0; }

/* What we do: three divisions hanging off one bus line */
.divisions { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; padding-top: 58px; }
.divisions::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ink); opacity: 0.2; }
.division { position: relative; }
.division::before { content: ""; position: absolute; top: -58px; left: 25px; width: 2px; height: 44px; background: var(--dc); opacity: 0.5; }
.division::after { content: ""; position: absolute; top: -64px; left: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--dc); }
.division .mark { margin-bottom: 18px; }
.d-no { font-weight: 600; color: var(--dc); margin-bottom: 4px; letter-spacing: 0.04em; }
.division > p:not(.d-no) { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; background: var(--dc, var(--blue)); }
.more { font-weight: 600; color: var(--dc); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* 01 AI security */
.sec-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 64px; align-items: start; }
.sec-copy b { color: #fff; font-weight: 600; }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 26px 0; border-top: 1px solid var(--navy-line); }
.caps div { padding: 13px 0; border-bottom: 1px solid var(--navy-line); }
.caps dt { font-weight: 600; color: var(--on-navy); }
.caps dd { color: var(--on-navy-2); font-size: 0.95rem; line-height: 1.45; }
.also { font-size: 0.98rem; margin-bottom: 26px; }
.screen img { width: 100%; border-radius: var(--radius); border: 1px solid var(--navy-line); }
.screen figcaption, .proofs figcaption { font-size: 0.92rem; color: var(--on-navy-2); margin-top: 10px; }
.proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.proofs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.proofs figcaption { display: flex; align-items: center; gap: 8px; }
.chip { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: rgba(124, 162, 255, 0.18); color: var(--sec-hi); }
.chip-alert { background: rgba(255, 77, 79, 0.18); color: #ff8a8b; }

/* 02 LED displays */
.dsp-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end; margin-bottom: 40px; }
.dsp-head h2 { margin-bottom: 0; }
.dsp-head > p { color: var(--ink-2); margin: 0; }
.led { position: relative; background: #050607; border: 10px solid #1d2230; border-radius: 4px; overflow: hidden; padding: 24px 0; }
.led::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, transparent 1.6px, rgba(5, 6, 7, 0.86) 2.2px) 0 0 / 4.6px 4.6px; }
.led-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.led-track span { font: 800 clamp(2.1rem, 4.6vw, 3.4rem)/1 var(--font); font-stretch: 85%; letter-spacing: 0.06em; white-space: nowrap; padding-right: 4rem; color: #ffb020; text-shadow: 0 0 6px rgba(255, 176, 32, 0.85), 0 0 18px rgba(255, 120, 0, 0.45); }
.led-track span:nth-child(4n+2) { color: #ff5a3c; text-shadow: 0 0 6px rgba(255, 90, 60, 0.85), 0 0 18px rgba(255, 30, 0, 0.4); }
.led-track span:nth-child(4n+4) { color: #59f0a0; text-shadow: 0 0 6px rgba(89, 240, 160, 0.8), 0 0 18px rgba(0, 200, 110, 0.4); }
@keyframes marquee { to { transform: translateX(-50%); } }
.led-note { font-size: 0.92rem; color: var(--mute); margin: 12px 0 56px; }
.dsp-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.apps { border-top: 1px solid var(--line); margin-bottom: 30px; }
.apps div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.apps dt { font-weight: 600; }
.apps dd { color: var(--ink-2); font-size: 0.97rem; }
.pitch-label { font-weight: 600; margin-bottom: 10px; }
.pitch ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pitch li { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--dsp); border: 1.5px solid currentColor; border-radius: 4px; padding: 6px 12px; }
.pitch-note { font-size: 0.92rem; color: var(--mute); }
.dsp-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dsp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.dsp-photos figcaption, .cy figcaption { font-size: 0.92rem; color: var(--mute); margin-top: 8px; }

/* 03 Embedded solutions */
.elx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.elx-photos { position: relative; min-height: 470px; }
.elx-photos .cy { position: absolute; width: 62%; }
.cy-a { left: 0; top: 0; }
.cy-b { right: 0; bottom: 0; }
.cy img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.cy-b img { aspect-ratio: 4 / 3; box-shadow: 0 0 0 8px var(--paper-2); }
.elx-copy { --dc: var(--elx); }
.elx-copy > p { color: var(--ink-2); }

/* How we work: the process is drawn as a trace too */
.process { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 36px; counter-reset: step; border-top: 2px solid rgba(14, 26, 51, 0.2); }
.process li { position: relative; counter-increment: step; padding-top: 30px; }
.process li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.process li::after { content: "0" counter(step); position: absolute; top: -34px; left: 0; font-weight: 600; font-size: 0.9rem; color: var(--blue-ink); }
.process b { display: block; font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.process span { color: var(--ink-2); font-size: 0.98rem; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }   /* three equal photos */
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Industries */
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; }
.legend span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); }
.sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sectors li { display: flex; flex-direction: column; padding: 22px 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 168px; }
.sectors b { font-weight: 600; font-size: 1.1rem; line-height: 1.25; margin-bottom: 6px; }
.sectors span { color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.tags { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; align-items: start; }
.about-copy > p:not(.label) { color: var(--ink-2); max-width: 36em; }
.bn { font-family: "Anek Bangla Kolkata", "Nirmala UI", "Noto Sans Bengali", sans-serif; font-weight: 600; font-size: clamp(4rem, 9vw, 7rem); line-height: 1.15; color: var(--blue); margin: -6px 0 2px; }
.bn-caption { color: var(--ink-2); margin-bottom: 26px; }
.facts { border-top: 1px solid var(--line); }
.facts div, .contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt, .contact-list dt { font-weight: 600; color: var(--mute); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact-list { border-top: 1px solid var(--navy-line); margin-top: 28px; }
.contact-list div { border-bottom-color: var(--navy-line); }
.contact-list dt { color: var(--on-navy-2); }
.contact-list dd, .contact-list a { color: var(--on-navy); }
.enquiry { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 30px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; padding: 0; color: var(--ink); }
.field small { font-weight: 400; color: var(--mute); margin-left: 4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1px solid rgba(14, 26, 51, 0.22); border-radius: 4px; padding: 11px 12px;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18); }
.field.invalid input, .field.invalid textarea { border-color: var(--alert); background: #fff6f6; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { width: 100%; margin-bottom: 8px; }
.choice label { margin: 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; font-weight: 500; font-size: 0.95rem; padding: 9px 14px; border-radius: 4px; border: 1px solid rgba(14, 26, 51, 0.22); background: #fff; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.form-note { font-size: 0.88rem; color: var(--mute); margin: 0; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--elx); }
.form-status.err { color: #c62828; }

/* Footer */
.site-footer { background: var(--navy-3); color: var(--on-navy-2); padding: 64px 0 26px; font-size: 0.97rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-line); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand p { margin: 0; line-height: 1.3; }
.foot-brand b { color: var(--on-navy); font-size: 1.3rem; letter-spacing: 0.06em; }
.site-footer nav, .foot-contact { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav p, .foot-contact p { color: var(--on-navy); font-weight: 600; margin: 0 0 4px; }
.site-footer a { color: var(--on-navy-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 0.9rem; }
.bn-inline { font-family: "Anek Bangla Kolkata", "Nirmala UI", "Noto Sans Bengali", sans-serif; font-weight: 600; color: var(--on-navy); }

/* ---------- Simple pages (privacy, 404, form fallback) ---------- */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 18px; }
.page h2 { font-size: 1.35rem; margin: 34px 0 8px; }
.page p, .page li { color: var(--ink-2); }
.page-center { min-height: 60vh; display: grid; align-content: center; }
.page .led { margin: 0 0 30px; }
.led-static { display: flex; justify-content: center; width: auto; animation: none; }
.led-static span { padding: 0; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse { display: none; }
}

/* ---------- Responsive ---------- */
.hero-grid > *, .sec-grid > *, .dsp-grid > *, .elx-grid > *, .contact-grid > *, .about-grid > * { min-width: 0; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { max-width: 620px; }
  .sec-grid, .dsp-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .bus { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid var(--navy-line); padding: 6px 28px 22px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--navy-line); font-size: 1.05rem; }
  .site-nav .btn { margin-top: 16px; justify-content: center; }
  .section { padding: 72px 0; }
  .intro, .dsp-head { grid-template-columns: 1fr; gap: 14px; }
  .legend { justify-content: flex-start; }
  .elx-grid { grid-template-columns: 1fr; gap: 40px; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 52px; }
  /* divisions: the bus turns vertical and runs down the left edge */
  .divisions { grid-template-columns: 1fr; padding: 0 0 0 46px; gap: 44px; }
  .divisions::before { top: 6px; bottom: 0; left: 5px; right: auto; width: 2px; height: auto; }
  .division::before { top: 25px; left: -40px; width: 34px; height: 2px; }
  .division::after { top: 20px; left: -46px; }
}

@media (max-width: 600px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .brand-name small { display: none; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 2.45rem; }
  .art-sub { display: none; }
  .art-title { font-size: 30px; }   /* room for "Embedded solutions" on a phone */
  .art-no { display: none; }
  .bus { grid-template-columns: 1fr; margin-top: 36px; }
  .caps, .proofs, .row2, .dsp-photos { grid-template-columns: 1fr; }
  .dsp-photos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .elx-photos { min-height: 0; display: grid; gap: 14px; }
  .elx-photos .cy { position: static; width: 100%; }
  .cy-b img { box-shadow: none; }
  .process { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .cy:first-child { grid-column: 1 / -1; }   /* phone: first photo full width, two below */
  .strip .cy:first-child img { aspect-ratio: 16 / 10; }
  .sectors { grid-template-columns: 1fr; }
  .sectors li { min-height: 0; }
  .enquiry { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}
