/* Renaid Energies — design system v3
   Engineering-brand language: flat colour, 1px rules, 2px corners, no gradients or glows.
   Tokens on :root are reused unchanged by the WordPress theme. */

:root {
  --white: #FFFFFF;
  --paper: #F4F5F6;
  --paper-2: #ECEEF0;
  --rule: #D9DDE1;
  --rule-2: #E8EBEE;
  --graphite: #1B2127;
  --charcoal: #2E363E;
  --steel: #5F6A75;
  --steel-2: #8A949E;
  --navy: #0E2236;
  --navy-2: #182F48;
  --on-navy: #C3CCD6;
  --on-navy-2: #8D9AA8;
  --blue: #0055B3;
  --blue-dark: #00438E;
  --blue-tint: #E9F0F9;
  --green: #2F7A57;
  --danger: #B3261E;

  --font: "IBM Plex Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --r: 2px;
  --header-h: 72px;
  --ease: cubic-bezier(.25, .6, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--graphite); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

h1, h2, h3, h4 { color: var(--graphite); margin: 0 0 .6em; font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--charcoal); line-height: 1.6; }
strong { font-weight: 600; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons: slim, square, quiet ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 44px; padding: 0 1.25rem; border-radius: var(--r); border: 1px solid transparent;
  font: inherit; font-size: .9375rem; font-weight: 500; letter-spacing: .005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn .ico { display: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; border-color: var(--graphite); color: var(--graphite); }
.btn-outline:hover { background: var(--graphite); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; align-items: center; }

.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; text-decoration: none; color: var(--blue); }
.text-link svg, .text-link .ico { width: 14px; height: 14px; display: inline-block; transition: transform .2s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover svg { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.logo:hover { color: var(--navy); }
.logo svg { width: 30px; height: 30px; }
.logo-text { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1; }
.logo-text b { font-weight: 600; }
.logo-text span { font-weight: 400; color: var(--steel); }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; height: var(--header-h); }
.nav-list > li { position: relative; display: flex; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; padding: 0 .9rem;
  font: inherit; font-size: .9375rem; font-weight: 400; color: var(--charcoal); text-decoration: none;
  background: none; border: 0; cursor: pointer; white-space: nowrap; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover { color: var(--graphite); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--graphite); font-weight: 500; }
.nav-link .chev { width: 9px; height: 9px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 0; width: 580px; margin: 0; padding: 0; list-style: none;
  background: var(--white); border: 1px solid var(--rule); border-top: 0;
  box-shadow: 0 16px 32px -20px rgba(14,34,54,.35);
  display: none; grid-template-columns: 1fr 1fr;
}
.dropdown.open { display: grid; }
.dropdown li { border-right: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.dropdown li:nth-child(2n) { border-right: 0; }
.dropdown a { display: flex; gap: .85rem; align-items: center; padding: .95rem 1.1rem; color: var(--graphite); text-decoration: none; font-size: .925rem; font-weight: 400; line-height: 1.3; transition: background-color .15s; }
.dropdown a:hover { background: var(--paper); color: var(--blue); }
.dropdown .dd-ico { width: 34px; height: 34px; display: grid; place-items: center; color: var(--navy); flex-shrink: 0; border: 1px solid var(--rule); border-radius: var(--r); }
.dropdown .dd-ico svg { width: 22px; height: 22px; }
.dropdown li:last-child { grid-column: 1 / -1; border: 0; }
.dropdown .all { color: var(--blue); font-weight: 500; padding: .9rem 1.1rem; }
.header-cta { height: 40px; flex-shrink: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: var(--r); padding: .5rem .6rem; cursor: pointer; color: var(--graphite); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.mobile-cta { display: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); overflow-y: auto; padding: .5rem var(--gutter) 2rem; display: none; margin: 0; }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; height: auto; }
  .nav-list > li { display: block; border-bottom: 1px solid var(--rule); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1.05rem 0; font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .dropdown { position: static; width: auto; box-shadow: none; border: 0; grid-template-columns: 1fr; padding-bottom: .5rem; }
  .dropdown li { border: 0; }
  .dropdown a { padding: .7rem 0; }
  .mobile-cta { display: block; margin-top: 1.5rem; }
  .mobile-cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Flat navy surface (replaces all gradient surfaces) ---------- */
.dark-surface, .section-navy { background: var(--navy); color: var(--on-navy); }
.dark-surface h1, .dark-surface h2, .dark-surface h3, .section-navy h2, .section-navy h3 { color: #fff; }
.dark-surface .lead, .section-navy .lead { color: var(--on-navy); }
.dark-surface .section-head p, .section-navy .section-head p { color: var(--on-navy); }

/* ---------- Home hero ---------- */
.hero { border-bottom: 1px solid var(--rule); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 52ch; }
.hero-meta { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 560px; }
.hero-meta dt { font-size: .8125rem; color: var(--steel); margin-bottom: .2rem; }
.hero-meta dd { margin: 0; font-size: .95rem; font-weight: 500; color: var(--graphite); line-height: 1.35; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hero-meta { grid-template-columns: 1fr; gap: .9rem; } }

/* Technical drawing sheet */
.sheet { position: relative; background: var(--white); border: 1px solid var(--rule); }
.sheet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--rule-2) 1px, transparent 1px), linear-gradient(90deg, var(--rule-2) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .6;
}
.sheet svg { position: relative; display: block; width: 100%; height: auto; }
.sheet-block { position: relative; display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--rule); background: var(--white); font-size: .8125rem; color: var(--steel); }
.sheet-block > span { padding: .6rem .9rem; }
.sheet-block > span + span { border-left: 1px solid var(--rule); }
.sheet-block b { color: var(--graphite); font-weight: 500; }

.drawing .ln { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drawing .ln-fine { fill: none; stroke: var(--navy); stroke-width: 1; }
.drawing .ln-thin { fill: none; stroke: var(--steel-2); stroke-width: .8; }
.drawing .fill-paper { fill: var(--white); }
.drawing .hatch { stroke: var(--steel-2); stroke-width: .8; }
.drawing .leader { fill: none; stroke: var(--blue); stroke-width: .9; }
.drawing .dot { fill: var(--blue); }
.drawing .lbl { fill: var(--graphite); font: 500 12.5px var(--font); }
.drawing .lbl-s { fill: var(--steel); font: 400 11px var(--font); }
.drawing .dim { fill: none; stroke: var(--steel); stroke-width: .8; }
@media (prefers-reduced-motion: no-preference) {
  .drawing .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; animation-delay: var(--d, 0s); }
  .drawing .fade { opacity: 0; animation: fade .5s ease forwards; animation-delay: var(--d, 1.6s); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Category index strip under hero */
.cat-strip { display: grid; grid-template-columns: repeat(6, 1fr); border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.cat-strip a { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.1rem 1.35rem; border-right: 1px solid var(--rule); text-decoration: none; color: var(--graphite); font-size: .9rem; font-weight: 500; line-height: 1.3; position: relative; transition: background-color .2s; }
.cat-strip a::before { content: ""; position: absolute; left: -1px; right: 0; top: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.cat-strip a:hover { background: var(--paper); color: var(--graphite); }
.cat-strip a:hover::before { transform: scaleX(1); }
.cat-strip svg { width: 30px; height: 30px; color: var(--navy); }
@media (max-width: 1000px) { .cat-strip { grid-template-columns: repeat(3, 1fr); } .cat-strip a { border-bottom: 1px solid var(--rule); } }
@media (max-width: 560px) { .cat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--rule); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 3rem; align-items: end; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.page-hero h1 { max-width: 22ch; font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.page-hero .lead { max-width: 62ch; margin-bottom: 0; }
.hero-ring { justify-self: end; width: 220px; aspect-ratio: 1; background: var(--white); border: 1px solid var(--rule); display: grid; place-items: center; color: var(--navy); position: relative; }
.hero-ring::before, .hero-ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--blue); border-style: solid; }
.hero-ring::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero-ring::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero-ring svg { width: 110px; height: 110px; }
@media (max-width: 780px) { .page-hero-inner { grid-template-columns: 1fr; } .hero-ring { display: none; } }

.breadcrumbs { font-size: .85rem; margin-bottom: 1.5rem; color: var(--steel); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--steel-2); }
.breadcrumbs a { color: var(--steel); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--graphite); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section + .section:not(.section-grey):not(.section-navy):not(.enquiry-section):not(.dark-surface) { border-top: 1px solid var(--rule); }
.section-grey { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head p { color: var(--steel); font-size: 1.06rem; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.head-row .section-head { margin-bottom: 0; }
@media (max-width: 760px) { .head-row { flex-direction: column; align-items: flex-start; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-wide { grid-template-columns: 5fr 7fr; }
@media (max-width: 880px) { .split, .split-wide { grid-template-columns: 1fr; } }
.statement { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; font-weight: 400; letter-spacing: -0.01em; color: inherit; max-width: 36ch; }
.section-navy .statement { color: #fff; }

/* Data sheet (key facts) */
.datasheet { margin: 0; border-top: 2px solid var(--graphite); }
.datasheet div { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.datasheet dt { color: var(--steel); font-size: .925rem; }
.datasheet dd { margin: 0; color: var(--graphite); font-weight: 500; }
@media (max-width: 560px) { .datasheet div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Ecosystem ---------- */
.eco { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.eco-frame { background: var(--white); border: 1px solid var(--rule); }
.eco-legend { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center; padding: .85rem 1.25rem; border-bottom: 1px solid var(--rule); font-size: .85rem; color: var(--steel); }
.eco-legend span { display: inline-flex; align-items: center; gap: .55rem; }
.eco-legend i { display: inline-block; width: 28px; height: 0; border-top: 2px solid var(--navy); }
.eco-legend i.req { border-top: 2px dashed var(--green); }
.eco-legend .hint { margin-left: auto; }
.eco-scroll { overflow-x: auto; }
.eco-svg { display: block; width: 100%; min-width: 900px; height: auto; }
.eco-svg .node rect { fill: var(--white); stroke: var(--rule); stroke-width: 1; transition: stroke .3s, fill .3s; }
.eco-svg .node text { fill: var(--graphite); font: 500 13px var(--font); }
.eco-svg .node .sub { fill: var(--steel); font: 400 11.5px var(--font); }
.eco-svg .node .ico { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.eco-svg .hub rect { fill: var(--navy); stroke: var(--navy); }
.eco-svg .hub text { fill: #fff; }
.eco-svg .hub .sub { fill: var(--on-navy); }
.eco-svg .wire { fill: none; stroke: var(--steel-2); stroke-width: 1.2; transition: stroke .3s; }
.eco-svg .wire-main { stroke: var(--navy); stroke-width: 1.6; }
.eco-svg .req { fill: none; stroke: var(--green); stroke-width: 1.4; stroke-dasharray: 5 4; }
.eco-svg .flow-lbl { fill: var(--steel); font: 500 11.5px var(--font); }
.eco-svg .flow-lbl.g { fill: var(--green); }
.eco-svg .col-lbl { fill: var(--steel); font: 500 11px var(--font); letter-spacing: .02em; }
.eco-svg .pulse { fill: var(--navy); }
.eco-svg .pulse.g { fill: var(--green); }
.eco-svg .stage-band { fill: var(--blue-tint); opacity: 0; transition: opacity .35s var(--ease); }
.eco-svg [data-stage].active .stage-band { opacity: 1; }
.eco-svg [data-stage].active .node rect { stroke: var(--blue); }
.eco-svg [data-stage].active .hub rect { fill: var(--blue); stroke: var(--blue); }
.eco-svg [data-stage].dim { opacity: .4; transition: opacity .35s; }
.eco-svg [data-stage] { transition: opacity .35s; }
@media (prefers-reduced-motion: no-preference) {
  .eco-svg.pre .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .eco-svg.go .draw { animation: draw 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
  .eco-svg.pre .node, .eco-svg.pre .flow-lbl, .eco-svg.pre .col-lbl { opacity: 0; }
  .eco-svg.go .node, .eco-svg.go .flow-lbl, .eco-svg.go .col-lbl { animation: fade .5s ease forwards; animation-delay: var(--d, .2s); }
}

.eco-stages { display: grid; grid-template-columns: 300px 1fr; border-top: 1px solid var(--rule); }
.eco-tabs { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--rule); }
.eco-tabs li + li { border-top: 1px solid var(--rule-2); }
.eco-tab { width: 100%; display: grid; grid-template-columns: 2.25rem 1fr; align-items: baseline; padding: .95rem 1.25rem; background: none; border: 0; text-align: left; font: inherit; font-size: .95rem; color: var(--charcoal); cursor: pointer; position: relative; transition: background-color .2s, color .2s; }
.eco-tab .n { font-size: .8rem; color: var(--steel-2); font-variant-numeric: tabular-nums; }
.eco-tab:hover { background: var(--paper); color: var(--graphite); }
.eco-tab[aria-selected="true"] { background: var(--paper); color: var(--graphite); font-weight: 500; }
.eco-tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); }
.eco-tab[aria-selected="true"] .n { color: var(--blue); }
.eco-panel { padding: 1.75rem 2rem 2rem; }
.eco-panel[hidden] { display: none; }
.eco-panel h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: .6rem; }
.eco-panel p { color: var(--charcoal); }
.eco-panel ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.eco-panel li { font-size: .85rem; padding: .35rem .65rem; border: 1px solid var(--rule); border-radius: var(--r); color: var(--charcoal); background: var(--white); }
@media (prefers-reduced-motion: no-preference) { .eco-panel:not([hidden]) { animation: fade .35s ease; } }
@media (max-width: 820px) { .eco-stages { grid-template-columns: 1fr; } .eco-tabs { border-right: 0; border-bottom: 1px solid var(--rule); } .eco-legend .hint { margin-left: 0; } }

/* ---------- Capability index (category grid) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.cat-tile { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.5rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); transition: background-color .2s; }
.cat-tile::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.cat-tile:hover, .cat-tile:focus-within { background: #FAFBFB; }
.cat-tile:hover::before, .cat-tile:focus-within::before { transform: scaleX(1); }
.sym-plate { width: 52px; height: 52px; color: var(--navy); margin-bottom: 1.5rem; }
.sym-plate svg { width: 52px; height: 52px; }
.cat-tile h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.cat-tile h3 a { color: inherit; text-decoration: none; }
.cat-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.cat-tile p { color: var(--steel); font-size: .95rem; flex-grow: 1; margin-bottom: 1.25rem; }
.cat-tile .items { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .9rem; color: var(--charcoal); flex-grow: 1; }
.cat-tile .items li { padding: .35rem 0; border-bottom: 1px dotted var(--rule); }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9rem; position: relative; }
.tile-foot .go { color: var(--blue); font-weight: 500; }
.arrow-dot { color: var(--blue); display: grid; place-items: center; }
.arrow-dot svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.cat-tile:hover .arrow-dot svg { transform: translateX(3px); }
.tile-foot .text-link { position: relative; z-index: 2; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Feature list (no floating cards) ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
.feature { padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--rule); }
.feature:nth-child(2n) { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--rule); }
.feature .f-ico { width: 28px; height: 28px; color: var(--blue); margin-bottom: .9rem; }
.feature .f-ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { color: var(--steel); font-size: .95rem; margin: 0; }
.features.four { grid-template-columns: repeat(4, 1fr); }
.features.four .feature { padding: 1.6rem 1.5rem; border-left: 1px solid var(--rule); }
.features.four .feature:first-child { border-left: 0; padding-left: 0; }
.section-navy .features, .section-navy .feature { border-color: rgba(255,255,255,.14); }
.section-navy .feature p { color: var(--on-navy); }
.section-navy .feature h3 { color: #fff; }
.section-navy .f-ico { color: #8FB3E0; }
@media (max-width: 980px) { .features.four { grid-template-columns: 1fr 1fr; } .features.four .feature:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 640px) {
  .features, .features.four { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(2n), .features.four .feature { padding: 1.4rem 0; border-left: 0; }
}

/* ---------- Process (a sequence) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); counter-reset: step; border-top: 1px solid rgba(255,255,255,.18); }
.process li { counter-increment: step; padding: 1.5rem 1.5rem 0 0; position: relative; }
.process li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.12); }
.process li::before { content: counter(step, decimal-leading-zero); display: block; font-size: .85rem; font-weight: 500; color: #8FB3E0; margin-bottom: 1.25rem; font-variant-numeric: tabular-nums; }
.process li::after { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 2px; background: #8FB3E0; }
.process li + li::after { left: 1.5rem; }
.process h3 { font-size: 1.02rem; color: #fff; margin-bottom: .45rem; }
.process p { font-size: .92rem; color: var(--on-navy); margin: 0; }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 1.25rem 0 1.25rem 4rem; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .process li::before { position: absolute; left: 0; top: 1.3rem; margin: 0; }
  .process li::after, .process li + li::after { left: 0; }
}

/* ---------- Infrastructure & expertise ---------- */
.infra { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--graphite); }
.infra-item { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--rule); }
.infra-item:nth-child(2n) { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--rule); }
.infra-item svg { width: 44px; height: 44px; color: var(--navy); }
.infra-item h3 { margin-bottom: .35rem; }
.infra-item p { color: var(--steel); font-size: .95rem; margin: 0; }
@media (max-width: 760px) { .infra { grid-template-columns: 1fr; } .infra-item, .infra-item:nth-child(2n) { padding: 1.5rem 0; border-left: 0; } }
.standards { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-top: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--rule); background: var(--white); font-size: .9rem; color: var(--steel); }
.standards b { color: var(--graphite); font-weight: 500; }
.standards span { color: var(--graphite); font-weight: 500; }

/* ---------- Industries ---------- */
.ind-table { border-top: 2px solid var(--graphite); }
.ind-row { display: grid; grid-template-columns: 280px 1fr auto; gap: 2rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; transition: background-color .2s; }
.ind-row:hover { background: var(--paper); color: inherit; }
.ind-row h3 { margin: 0; font-size: 1.08rem; padding-left: .25rem; }
.ind-row p { margin: 0; color: var(--steel); font-size: .95rem; }
.ind-row .text-link { font-size: .9rem; padding-right: .25rem; }
@media (max-width: 760px) { .ind-row { grid-template-columns: 1fr; gap: .3rem; } }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.industry-card { display: block; padding: 1.5rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; transition: background-color .2s; }
.industry-card:hover { background: var(--paper); color: inherit; }
.industry-card h3 { font-size: 1.05rem; margin: 0 0 .35rem; display: flex; justify-content: space-between; gap: 1rem; }
.industry-card h3 svg { width: 14px; height: 14px; color: var(--blue); flex-shrink: 0; margin-top: .3rem; }
.industry-card p { margin: 0; color: var(--steel); font-size: .94rem; }
@media (max-width: 900px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .industry-grid { grid-template-columns: 1fr; } }

.industry-block { display: grid; grid-template-columns: 320px 1fr; gap: 2.5rem; padding: 2.5rem 0; border-top: 1px solid var(--rule); }
.industry-block:last-child { border-bottom: 1px solid var(--rule); }
.industry-block h2 { font-size: 1.5rem; }
.industry-block .lead { color: var(--charcoal); }
.chips { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips a { display: inline-block; padding: .4rem .75rem; border: 1px solid var(--rule); border-radius: var(--r); font-size: .875rem; text-decoration: none; color: var(--charcoal); background: var(--white); transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 780px) { .industry-block { grid-template-columns: 1fr; gap: .5rem; } }

/* ---------- Product register ---------- */
.register { border-top: 2px solid var(--graphite); }
.register-row { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr auto; gap: 1.5rem; align-items: baseline; padding: 1.15rem .25rem; border-bottom: 1px solid var(--rule); transition: background-color .2s; }
.register-row:hover { background: var(--paper); }
.register-row h3 { margin: 0; font-size: 1.02rem; }
.register-row p { margin: 0; color: var(--steel); font-size: .95rem; }
.register-row .text-link { font-size: .9rem; white-space: nowrap; }
.register-row .text-link svg { width: 13px; height: 13px; }
@media (max-width: 760px) { .register-row { grid-template-columns: 1fr; gap: .3rem; } }

.group-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.group-card { padding: 1.6rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.group-card h3 { font-size: 1.05rem; }
.group-card ul { padding-left: 1.1rem; margin: 0 0 1.25rem; color: var(--steel); flex-grow: 1; font-size: .95rem; }
.group-card li { margin-bottom: .25rem; }
@media (max-width: 900px) { .group-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .group-list { grid-template-columns: 1fr; } }

.tick-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; border-top: 1px solid var(--rule); }
.tick-list li { padding: .75rem 0 .75rem 1.5rem; position: relative; break-inside: avoid; border-bottom: 1px solid var(--rule); color: var(--graphite); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 8px; height: 8px; border: 1.5px solid var(--blue); }
.tick-list.one { columns: 1; }
@media (max-width: 600px) { .tick-list { columns: 1; } }
.note { font-size: .9rem; color: var(--steel); border-left: 2px solid var(--blue); padding-left: 1rem; margin-top: 1.5rem; }

/* ---------- CTA band (flat) ---------- */
.cta-wrap { background: var(--navy); }
.cta-panel { display: grid; grid-template-columns: 1.5fr auto; gap: 2rem; align-items: center; padding: clamp(3rem, 6vw, 4.5rem) 0; color: var(--on-navy); }
.cta-panel h2 { color: #fff; margin-bottom: .5rem; }
.cta-panel p { margin: 0; }
.cta-panel .btn-row { margin: 0; }
.cta-panel .btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
@media (max-width: 820px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.accordion { max-width: 900px; border-top: 2px solid var(--graphite); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-item h3 { margin: 0; font-size: 1.05rem; }
.acc-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; background: none; border: 0; font: inherit; font-weight: 500; color: var(--graphite); text-align: left; cursor: pointer; }
.acc-trigger:hover { color: var(--blue); }
.acc-icon { width: 14px; height: 14px; flex-shrink: 0; position: relative; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(0); }
.acc-panel { padding: 0 0 1.4rem; color: var(--steel); max-width: 72ch; }
.acc-panel[hidden] { display: none; }
.acc-panel p { margin: 0; }

/* ---------- Enquiry form ---------- */
.enquiry-section { background: var(--paper); border-top: 1px solid var(--rule); }
.enquiry-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 920px) { .enquiry-layout { grid-template-columns: 1fr; } }
.enquiry-card { background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--navy); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.enquiry-card > h2, .enquiry-card > h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: .3rem; }
.enquiry-card .sub { color: var(--steel); font-size: .95rem; margin-bottom: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field > label, .field > .label { font-size: .875rem; font-weight: 500; color: var(--graphite); }
.field > label.check { font-weight: 400; color: var(--charcoal); font-size: .9rem; }
.field .opt { font-weight: 400; color: var(--steel-2); }
.field .req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--graphite); width: 100%; height: 46px;
  background: var(--white); border: 1px solid #C2C9D0; border-radius: var(--r); padding: 0 .85rem;
  transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 132px; padding: .7rem .85rem; resize: vertical; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231B2127' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 11px; }
::placeholder { color: #9AA3AC; }
input:hover, select:hover, textarea:hover { border-color: var(--steel-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.field.invalid input:not([type=checkbox]), .field.invalid select, .field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.phone-group { display: grid; grid-template-columns: minmax(130px, 36%) 1fr; gap: .5rem; }
.error-msg { color: var(--danger); font-size: .84rem; margin: 0; }
.error-msg:empty { display: none; }
.check { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 1.5rem; height: 48px; }
.form-foot { margin: .85rem 0 0; font-size: .82rem; color: var(--steel-2); }
.form-status { padding: .85rem 1rem; margin-top: 1rem; font-size: .92rem; border-left: 3px solid var(--danger); background: #FBF1F0; color: var(--danger); }
.form-status[hidden] { display: none; }
.form-success { padding: 2rem 0 .5rem; outline: none; }
.form-success[hidden] { display: none; }
.form-success .tick { width: 48px; height: 48px; border: 1.5px solid var(--green); color: var(--green); display: grid; place-items: center; margin-bottom: 1.25rem; }
.form-success .tick svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 1.35rem; font-weight: 500; }
.form-success p { color: var(--charcoal); margin-bottom: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) .tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tick .45s .1s var(--ease) forwards; }
}
@keyframes tick { to { stroke-dashoffset: 0; } }

.enquiry-copy h2 { margin-bottom: .75rem; }
.enquiry-copy .lead { margin-bottom: 2rem; }
.include-box h3 { font-size: .95rem; margin-bottom: .75rem; color: var(--steel); font-weight: 500; }
.include-box .tick-list li { font-size: .95rem; padding-top: .6rem; padding-bottom: .6rem; }
.include-box .tick-list li::before { top: 1.05rem; }

.contact-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--graphite); }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.contact-list li[hidden] { display: none; }
.contact-list .c-ico { color: var(--navy); }
.contact-list .c-ico svg { width: 26px; height: 26px; }
.contact-list strong { display: block; color: var(--steel); font-size: .825rem; font-weight: 400; }
.contact-list a, .contact-list span { word-break: break-word; }
.placeholder-text { color: var(--steel-2); font-style: italic; }

/* Legal */
.draft-banner { border-left: 3px solid #B54708; background: #FEF6EE; color: #7A2E0E; padding: 1rem 1.25rem; font-size: .95rem; margin-bottom: 2.5rem; max-width: 820px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

.notfound { padding: clamp(4.5rem, 12vw, 9rem) 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-2); font-size: .925rem; padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.site-footer .logo { color: #fff; margin-bottom: 1.1rem; }
.site-footer .logo-text span { color: var(--on-navy-2); }
.site-footer p { max-width: 36ch; }
.site-footer h2 { font-size: .875rem; font-weight: 500; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer li[hidden] { display: none; }
.site-footer a:not(.btn) { color: var(--on-navy); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.footer-cta { margin-top: 1.25rem; height: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .84rem; }
.footer-bottom a + a { margin-left: 1.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .cta-wrap, .btn { display: none !important; } }

/* ---------- Category page hero: drawing + image placeholders ---------- */
.page-hero-fig .page-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero-fig h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.page-hero-fig .sheet { background: var(--white); }
@media (max-width: 960px) { .page-hero-fig .page-hero-inner { grid-template-columns: 1fr; } }

.img-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.img-slot { margin: 0; }
.img-slot img, .img-slot-frame { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border: 1px solid var(--rule); }
.img-slot-frame {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  background-color: var(--white);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, var(--rule-2) 11px 12px);
  border-style: dashed; border-color: #BFC6CD; color: var(--steel); text-align: center; padding: 1rem;
}
.img-slot-frame svg { width: 28px; height: 28px; color: var(--steel-2); margin-bottom: .25rem; }
.img-slot-frame span { font-size: .875rem; font-weight: 500; color: var(--charcoal); background: var(--white); padding: 0 .4rem; }
.img-slot-frame small { font-size: .78rem; color: var(--steel); background: var(--white); padding: 0 .4rem; }
.img-slot figcaption { margin-top: .6rem; font-size: .85rem; color: var(--steel); }
@media (max-width: 760px) {
  .img-slots { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .img-slot { scroll-snap-align: start; }
}

/* =====================================================================
   Home hero: product ecosystem map
   Desktop: radial map with JS-drawn connectors (--em-mode: radial)
   Tablet: centre flow on top, categories hang from a bus line
   Mobile: stacked flow
   ===================================================================== */
.hero-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-top: clamp(3rem, 6vw, 4.75rem); padding-bottom: 2.5rem; }
.hero-top h1 { max-width: 17ch; margin: 0; }
.hero-top .lead { margin-bottom: 0; }
.hero-top .btn-row { margin-top: 1.5rem; }
.hero-top .hero-meta { margin-top: 1.75rem; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; gap: 1.25rem; } }
.hero-map { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

.em-sheet { margin: 0; border: 1px solid var(--rule); background: var(--white); }
.em-headbar { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; padding: .75rem 1.25rem; border-bottom: 1px solid var(--rule); font-size: .84rem; color: var(--steel); }
.em-headbar > span:first-child { color: var(--graphite); font-weight: 500; }
.em-legend { display: inline-flex; align-items: center; gap: .55rem; }
.em-legend i { width: 26px; border-top: 1.5px solid var(--navy); }
.em-hint { margin-left: auto; }
.em-body {
  position: relative; padding: clamp(1.25rem, 3vw, 2.25rem);
  background-color: #FAFBFB;
  background-image: linear-gradient(var(--rule-2) 1px, transparent 1px), linear-gradient(90deg, var(--rule-2) 1px, transparent 1px);
  background-size: 24px 24px;
}

.em-map {
  --em-mode: radial;
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 1.02fr) minmax(0, 1fr);
  grid-template-areas: "m1 req m4" "m2 hub m5" "m3 quote m6";
  column-gap: clamp(48px, 6vw, 88px); row-gap: 18px; align-items: stretch;
}
.em-bus { display: none; }
.em-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.em-wires .w { fill: none; stroke: var(--steel-2); stroke-width: 1.2; transition: stroke .25s, stroke-width .25s, opacity .25s; }
.em-wires .w-main { stroke: var(--navy); stroke-width: 1.5; }
.em-wires .lit { stroke: var(--blue); stroke-width: 2; }
.em-map.has-focus .em-wires .w:not(.lit):not(.w-main) { opacity: .3; }
.em-wires .node { fill: var(--white); stroke: var(--navy); stroke-width: 1.4; }
.em-wires .arrow { fill: var(--navy); }
.em-wires .pulse { fill: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .em-wires.first .w { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; animation-delay: var(--d, .6s); }
  .em-wires.first .node, .em-wires.first .arrow { opacity: 0; animation: fade .4s ease forwards; animation-delay: 1.4s; }
  .em-map > .em-mod, .em-map > .em-ui, .em-map > .em-hub { opacity: 0; transform: translateY(8px); animation: rise .6s var(--ease) forwards; animation-delay: var(--in, 0s); }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Shared card surface */
.em-mod, .em-ui { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: 0 1px 2px rgba(14,34,54,.05); }

/* Product modules */
.em-mod { display: flex; flex-direction: column; padding: .95rem 1.05rem .85rem; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease), opacity .25s; }
.em-mod header { display: flex; align-items: center; gap: .65rem; }
.em-ico { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: var(--r); color: var(--navy); background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.em-ico svg { width: 24px; height: 24px; }
.em-mod h3 { margin: 0; font-size: .98rem; font-weight: 600; line-height: 1.25; }
.em-mod h3 a { color: var(--graphite); text-decoration: none; }
.em-mod h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.em-mod h3 a:focus-visible { outline: none; }
.em-mod:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.em-viz { margin: .8rem 0 .7rem; padding-top: .75rem; border-top: 1px dotted var(--rule); color: var(--navy); flex-grow: 1; }
.em-pic { display: block; max-width: 100%; height: auto; }
.em-pic .em-cap text { fill: var(--steel); stroke: none; font: 400 10.5px var(--font); text-anchor: middle; }
.em-pic .em-cap-l text, .em-pic .em-cap text.l { text-anchor: start; }
.em-pic .em-flow { stroke: var(--blue); }
.em-pic .dim-l { stroke: var(--steel-2); }
.em-tags { list-style: none; padding: 0; margin: .55rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.em-tags li { font-size: .75rem; line-height: 1; padding: .3rem .45rem; border: 1px solid var(--rule-2); border-radius: var(--r); color: var(--charcoal); background: var(--paper); }
.em-works { margin: 0; font-size: .75rem; color: var(--steel); line-height: 1.4; }
.em-works span { color: var(--steel-2); }

.em-spec { margin: 0; display: grid; gap: .3rem; }
.em-spec div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: .5rem; }
.em-spec dt { font-size: .75rem; color: var(--steel); }
.em-spec dd { margin: 0; font-size: .78rem; font-weight: 500; color: var(--graphite); border: 1px solid var(--rule); border-radius: var(--r); padding: .22rem .5rem; background: var(--white); }
.em-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.em-icons li { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .45rem .2rem .4rem; border: 1px solid var(--rule-2); border-radius: var(--r); font-size: .72rem; color: var(--charcoal); }
.em-icons svg { width: 22px; height: 22px; color: var(--navy); }

/* hover / focus relationships */
.em-mod:hover, .em-mod.is-active { border-color: var(--blue); box-shadow: 0 12px 26px -18px rgba(14,34,54,.45); transform: translateY(-2px); }
.em-mod.is-active .em-ico { background: var(--navy); color: #fff; border-color: var(--navy); }
.em-mod.is-related { border-color: #8FB3E0; }
.em-mod.is-related .em-ico { border-color: #8FB3E0; color: var(--blue); }
.em-map.has-focus .em-mod:not(.is-active):not(.is-related) { opacity: .45; }

/* Centre flow cards */
.em-ui { padding: .85rem 1rem; font-size: .84rem; align-self: center; }
.em-ui-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.em-ui-head b { font-weight: 600; color: var(--graphite); font-size: .86rem; }
.em-tag { font-size: .7rem; color: var(--steel); border: 1px solid var(--rule); padding: .15rem .4rem; border-radius: var(--r); }
.em-lines { list-style: none; margin: 0; padding: 0; }
.em-lines li { display: flex; align-items: center; gap: .55rem; padding: .38rem 0; border-top: 1px solid var(--rule-2); color: var(--charcoal); }
.em-lines .sq { width: 7px; height: 7px; border: 1.5px solid var(--blue); flex-shrink: 0; }
.em-lines em { margin-left: auto; font-style: normal; color: var(--steel); font-variant-numeric: tabular-nums; white-space: nowrap; }
.em-ui-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-top: .55rem; padding-top: .55rem; border-top: 1px solid var(--rule-2); font-size: .74rem; color: var(--steel); }
.em-track { list-style: none; margin: 0; padding: .35rem 0 .1rem; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: t; }
.em-track li { position: relative; padding-top: 1.15rem; font-size: .74rem; color: var(--steel); text-align: center; }
.em-track li::before { content: ""; position: absolute; top: 0; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border: 1.5px solid var(--steel-2); background: var(--white); border-radius: 50%; z-index: 1; }
.em-track li + li::after { content: ""; position: absolute; top: 5px; right: 50%; width: 100%; border-top: 1.5px solid var(--rule); }
.em-track li.on { color: var(--graphite); font-weight: 500; }
.em-track li.on::before { border-color: var(--blue); background: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .em-track li:nth-child(2)::before { animation: step 6s ease-in-out infinite; animation-delay: 2.5s; }
}
@keyframes step { 0%, 40% { border-color: var(--steel-2); } 55%, 85% { border-color: var(--blue); } 100% { border-color: var(--steel-2); } }

/* Hub */
.em-hub { position: relative; z-index: 1; background: var(--navy); color: var(--on-navy); border-radius: var(--r); padding: 1.2rem 1.25rem 1.1rem; box-shadow: 0 18px 36px -24px rgba(14,34,54,.7); }
.em-hub-title { display: flex; align-items: center; gap: .75rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.em-hub-title svg { width: 34px; height: 34px; color: #fff; flex-shrink: 0; }
.em-hub-title b { display: block; color: #fff; font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; }
.em-hub-title span { font-size: .8rem; color: var(--on-navy-2); }
.em-steps { list-style: none; margin: .8rem 0; padding: 0; display: grid; gap: .4rem; font-size: .84rem; }
.em-steps li { display: flex; align-items: center; gap: .55rem; color: #E3E8EE; }
.em-steps svg { width: 16px; height: 16px; color: #7FC4A4; flex-shrink: 0; }
.em-net { padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.14); }
.em-net span { display: block; font-size: .74rem; color: var(--on-navy-2); margin-bottom: .5rem; }
.em-net ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .35rem; }
.em-net li { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); color: #BFD3EE; transition: background-color .2s, color .2s, border-color .2s; }
.em-net svg { width: 70%; height: 70%; }
.em-net li.lit { background: #fff; color: var(--navy); border-color: #fff; }

/* ---- Tablet: centre flow in a row, categories hang from a bus ---- */
@media (max-width: 1100px) {
  .em-map {
    --em-mode: bus;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "req hub quote" "bus bus bus" "m1 m2 m3" "m4 m5 m6";
    column-gap: 28px; row-gap: 22px;
  }
  .em-wires { display: none; }
  .em-ui, .em-hub { align-self: stretch; }
  .em-req::after, .em-quote::before { content: ""; position: absolute; top: 50%; width: 20px; height: 9px; margin-top: -4.5px; z-index: 2;
    background: linear-gradient(var(--navy), var(--navy)) left center / 14px 1.5px no-repeat; clip-path: polygon(0 40%, 70% 40%, 70% 0, 100% 50%, 70% 100%, 70% 60%, 0 60%); }
  .em-req::after { right: -24px; }
  .em-quote::before { left: -24px; }
  .em-bus { display: block; position: relative; height: 26px; margin: -6px 0 -10px; }
  .em-bus::before { content: ""; position: absolute; left: calc(100% / 6); right: calc(100% / 6); bottom: 0; border-top: 2px solid var(--navy); }
  .em-bus::after { content: ""; position: absolute; left: 50%; top: -28px; bottom: 0; border-left: 1.5px solid var(--navy); }
  .em-bus span { position: absolute; left: 50%; bottom: 6px; margin-left: .6rem; font-size: .74rem; color: var(--steel); background: #FAFBFB; padding: 0 .3rem; white-space: nowrap; }
  .em-mod::before { content: ""; position: absolute; left: 50%; top: -23px; height: 22px; border-left: 1.2px solid var(--steel-2); }
  .em-mod[style*="m4"]::before, .em-mod[style*="m5"]::before, .em-mod[style*="m6"]::before { display: none; }
  .em-hint { margin-left: 0; }
}

/* ---- Mobile: stacked flow ---- */
@media (max-width: 700px) {
  .em-map {
    --em-mode: stack;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "req" "hub" "quote" "bus" "m1" "m4" "m2" "m5" "m3" "m6";
    row-gap: 14px;
  }
  .em-req::after, .em-quote::before { left: 50%; right: auto; top: auto; width: 9px; height: 16px; margin: 0 0 0 -4.5px; clip-path: polygon(40% 0, 60% 0, 60% 65%, 100% 65%, 50% 100%, 0 65%, 40% 65%); background: var(--navy); }
  .em-req::after { bottom: -15px; }
  .em-quote::before { top: -15px; }
  .em-bus { height: auto; margin: .75rem 0 0; }
  .em-bus::before, .em-bus::after { display: none; }
  .em-bus span { position: static; margin: 0; padding: 0; white-space: normal; line-height: 1.4; font-size: .82rem; color: var(--graphite); font-weight: 500; background: none; }
  .em-mod::before { display: none; }
  .em-headbar .em-hint, .em-headbar .em-legend { display: none; }
}
@media (max-width: 700px) {
  .em-map { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px;
    grid-template-areas: "req req" "hub hub" "quote quote" "bus bus" "m1 m4" "m2 m5" "m3 m6"; }
  .em-mod { padding: .75rem .75rem .7rem; }
  .em-mod header { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .em-mod h3 { font-size: .9rem; }
  .em-viz { margin: .6rem 0 0; padding-top: .55rem; }
  .em-viz .em-pic, .em-viz .em-spec, .em-viz .em-icons, .em-works { display: none; }
  .em-tags { margin-top: 0; }
  .em-tags li { font-size: .72rem; }
}

/* =====================================================================
   v4 layer: logo palette (#012C90 navy, #38B6FF sky), gradient heroes,
   section variety, matching footer, mobile-first diagram fallbacks
   ===================================================================== */
:root {
  --brand: #012C90;
  --brand-deep: #011B5C;
  --brand-ink: #010F38;
  --sky: #38B6FF;
  --sky-soft: #E8F5FF;
  --navy: #011B5C;
  --navy-2: #012C90;
  --blue: #012C90;
  --blue-dark: #011B5C;
  --blue-tint: #E6F2FF;
  --on-navy: #CCD8F2;
  --on-navy-2: #97A9D4;
  --hero-grad:
    radial-gradient(900px 480px at 92% -20%, rgba(56,182,255,.30), transparent 62%),
    radial-gradient(700px 420px at -10% 120%, rgba(56,182,255,.14), transparent 60%),
    linear-gradient(135deg, #010F38 0%, #011B5C 38%, #012C90 100%);
}
a:hover { color: var(--sky); }
.text-link:hover { color: var(--brand); }
.btn-primary { background: var(--brand); }
.btn-primary:hover { background: var(--brand-deep); }
.nav-link::after { background: var(--sky); }
.header-inner .logo img { height: 42px; width: auto; display: block; }
.site-header { border-bottom-color: #E3E9F3; }

/* ---- Gradient hero surface (every page) ---- */
.hero, .page-hero { position: relative; isolation: isolate; background: var(--hero-grad); color: var(--on-navy); border-bottom: 0; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
}
.hero::after, .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--sky), rgba(56,182,255,0) 70%); }
.hero h1, .page-hero h1 { color: #fff; }
.hero .lead, .page-hero .lead { color: #D3DEF5; }
.hero .btn-primary, .page-hero .btn-primary { background: #fff; color: var(--brand); }
.hero .btn-primary:hover, .page-hero .btn-primary:hover { background: var(--sky); color: var(--brand-ink); }
.hero .btn-outline, .page-hero .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.hero .btn-outline:hover, .page-hero .btn-outline:hover { background: #fff; color: var(--brand); }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: var(--on-navy-2); }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero .breadcrumbs [aria-current] { color: #fff; }
.page-hero .breadcrumbs li + li::before { color: rgba(255,255,255,.35); }
.hero-ring { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.hero-ring::before, .hero-ring::after { border-color: var(--sky); }
.page-hero .sheet, .hero .em-sheet { border-color: rgba(255,255,255,.18); box-shadow: 0 30px 60px -36px rgba(0,0,0,.6); }
.page-hero .img-slot figcaption { color: var(--on-navy-2); }
.page-hero .img-slot-frame { border-color: rgba(255,255,255,.35); background-color: rgba(255,255,255,.06);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(255,255,255,.07) 11px 12px); color: var(--on-navy); }
.page-hero .img-slot-frame svg { color: var(--sky); }
.page-hero .img-slot-frame span, .page-hero .img-slot-frame small { background: transparent; color: #fff; }
.page-hero .img-slot-frame small { color: var(--on-navy-2); }
.page-hero .img-slot img { border-color: rgba(255,255,255,.18); }

/* ---- Section variety ---- */
.section-tint { background: linear-gradient(180deg, #F1F7FF 0%, #FFFFFF 100%); }
.eco { background: linear-gradient(180deg, #EEF5FF 0%, #F8FBFF 100%); border-color: #DCE7F5; }
.section-grey { background: linear-gradient(160deg, #F5F9FF 0%, #E8F1FC 100%); }
.section-navy, .dark-surface { background: var(--hero-grad); }
.section-navy .f-ico, .process li::before { color: var(--sky); }
.process li::after { background: var(--sky); }
.enquiry-section { background: linear-gradient(180deg, #F4F8FE 0%, #E6EFFB 100%); border-top: 0; }
.enquiry-card { border-top-color: var(--brand); }
.cta-wrap { background: var(--hero-grad); }
.datasheet, .infra, .ind-table, .register, .accordion, .contact-list { border-top-color: var(--brand); }
.cat-tile::before, .eco-tab[aria-selected="true"]::before { background: var(--sky); }
.tick-list li::before { border-color: var(--sky); }
.note { border-left-color: var(--sky); }
.sym-plate, .em-ico, .dd-ico { color: var(--brand); }

/* ---- Footer, matching the hero ---- */
.site-footer { background: linear-gradient(180deg, #011B5C 0%, #010F38 100%); color: var(--on-navy-2); position: relative; padding-bottom: 0; }
.site-footer .logo img { height: 46px; width: auto; display: block; }
.footer-bottom { border-top-color: rgba(255,255,255,.12); position: relative; z-index: 1; }
.skyline { position: relative; height: 120px; margin-top: -8px; overflow: hidden; pointer-events: none; }
.skyline svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.sk-back { fill: rgba(140,190,255,.05); }
.sk-fill { fill: rgba(140,190,255,.11); }
.sk-line, .sk-line path, .sk-line circle { fill: none; stroke: rgba(160,200,255,.20); stroke-width: 1.4; stroke-linejoin: round; }
.sk-wire { fill: none; stroke: rgba(160,200,255,.18); stroke-width: 1; }
.sk-rotor path { fill: rgba(160,205,255,.22); }
.sk-hub { fill: rgba(160,205,255,.3); }
.sk-pulse { fill: rgba(56,182,255,.55); }
@media (prefers-reduced-motion: no-preference) { .sk-rotor { animation: sk-spin 14s linear infinite; } }
@media (prefers-reduced-motion: reduce) { .sk-pulse { display: none; } }
@keyframes sk-spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .skyline { height: 84px; } }

/* ---- Ecosystem: stage selection on top ---- */
.eco-frame { background: #fff; }
.eco-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-right: 0; border-bottom: 1px solid var(--rule); background: #F7FAFF; }
.eco-tabs li + li { border-top: 0; border-left: 1px solid var(--rule-2); }
.eco-tab { grid-template-columns: auto 1fr; gap: .65rem; align-items: center; padding: 1rem 1.1rem; height: 100%; line-height: 1.3; }
.eco-tab[aria-selected="true"] { background: #fff; color: var(--brand); }
.eco-tab[aria-selected="true"]::before { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 3px; }
.eco-tab[aria-selected="true"] .n { color: var(--brand); }
.eco-panels { border-bottom: 1px solid var(--rule); }
.eco-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem 2.5rem; align-items: start; padding: 1.5rem 1.75rem; }
.eco-panel p { margin: 0; }
.eco-panel ul { margin: .2rem 0 0; align-content: flex-start; }
.eco-panel .n { display: none; }
.eco-legend { border-bottom: 1px solid var(--rule); }
@media (max-width: 980px) { .eco-panel { grid-template-columns: 1fr; } .eco-tab { padding: .85rem .7rem; font-size: .88rem; } }

/* ---- Mobile: diagrams give way to formats that work on a phone ---- */
@media (max-width: 760px) {
  .eco-tabs, .eco-legend, .eco-scroll { display: none; }
  .eco-frame { background: transparent; border: 0; }
  .eco-panels { border: 0; position: relative; padding-left: 0; }
  .eco-panel, .eco-panel[hidden] { display: grid; grid-template-columns: 44px 1fr; gap: 0 .9rem; padding: 0 0 1.75rem; animation: none; }
  .eco-panel > div { display: contents; }
  .eco-panel .n { display: grid; place-items: center; grid-row: 1 / span 3; align-self: start; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; font-weight: 600; position: relative; z-index: 1; }
  .eco-panel:nth-child(3) .n { background: var(--sky); color: var(--brand-ink); }
  .eco-panel h3, .eco-panel p, .eco-panel ul { grid-column: 2; }
  .eco-panel h3 { font-size: 1.15rem; margin: .55rem 0 .35rem; }
  .eco-panel ul { margin-top: .75rem; }
  .eco-panels::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 40px; border-left: 2px solid #BFD3F0; }
  .page-hero-fig .sheet { display: none; }
}

/* ---- Hub logo mark ---- */
.em-hub { background: linear-gradient(150deg, #011B5C 0%, #012C90 100%); }
.em-hub-title img { width: 38px; height: 38px; flex-shrink: 0; }
.em-steps svg { color: var(--sky); }

/* ---- Blog ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 1.6rem 1.5rem 1.35rem; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.post-card:hover, .post-card:focus-within { border-color: var(--brand); box-shadow: 0 16px 34px -24px rgba(1,27,92,.45); transform: translateY(-2px); }
.post-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.post-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r); background: linear-gradient(140deg, #E6F2FF, #F4F9FF); color: var(--brand); }
.post-ico svg { width: 30px; height: 30px; }
.post-topic { display: inline-block; font-size: .78rem; font-weight: 500; color: var(--brand); background: var(--sky-soft); padding: .25rem .55rem; border-radius: var(--r); }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: .6rem; }
.post-card h3 a { color: var(--graphite); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--steel); font-size: .95rem; flex-grow: 1; }
.post-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--rule-2); font-size: .85rem; color: var(--steel); }
.post-meta .go { color: var(--brand); font-weight: 500; }
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article-body { max-width: 740px; }
.article-body h2 { font-size: 1.45rem; margin-top: 2.5rem; scroll-margin-top: 100px; }
.article-body h2:first-of-type { margin-top: 1.5rem; }
.article-body p, .article-body li { color: var(--charcoal); line-height: 1.75; }
.article-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; font-size: .88rem; color: var(--steel); padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--rule); }
.article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.article-body th { text-align: left; background: #F3F7FD; color: var(--brand); font-weight: 600; padding: .7rem .85rem; border-bottom: 1px solid var(--rule); }
.article-body td { padding: .65rem .85rem; border-bottom: 1px solid var(--rule-2); vertical-align: top; color: var(--charcoal); }
.article-body tr:last-child td { border-bottom: 0; }
.table-note { font-size: .84rem; color: var(--steel); }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.toc { border-top: 2px solid var(--brand); padding-top: 1rem; }
.toc h2, .aside-cta h2 { font-size: .95rem; font-weight: 600; margin-bottom: .75rem; letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--rule-2); }
.toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .5rem 0; font-size: .88rem; color: var(--charcoal); text-decoration: none; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--steel-2); font-size: .78rem; padding-top: .1rem; }
.toc a:hover { color: var(--brand); }
.aside-cta { background: var(--hero-grad); color: var(--on-navy); padding: 1.4rem; border-radius: var(--r); display: grid; gap: .75rem; justify-items: start; }
.aside-cta h2 { color: #fff; margin: 0; }
.aside-cta p { margin: 0; font-size: .92rem; }
.aside-cta .btn-primary { background: #fff; color: var(--brand); }
.aside-cta .btn-primary:hover { background: var(--sky); color: var(--brand-ink); }
.aside-cta .text-link { color: #fff; font-size: .9rem; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
.site-footer .btn-primary { background: #fff; color: var(--brand); }
.site-footer .btn-primary:hover { background: var(--sky); color: var(--brand-ink); }
/* dim without transparency so wires never show through boxes */
.eco-svg [data-stage].dim { opacity: 1 !important; }
.eco-svg [data-stage].dim .node text, .eco-svg [data-stage].dim .node .ico, .eco-svg [data-stage].dim .node path,
.eco-svg [data-stage].dim .wire, .eco-svg [data-stage].dim .node rect[fill="none"] { opacity: .35; }
.eco-svg [data-stage].dim .hub rect { fill: #6F82B3; stroke: #6F82B3; }
.eco-svg [data-stage].dim .hub text { opacity: .75; }
.eco-svg .hub rect { fill: var(--brand); stroke: var(--brand); }
.article-meta { max-width: none; }

/* ---- Skyline v2: continuous panorama, solar trackers ---- */
.skyline { height: 130px; margin-top: 0; }
.sk-glint { stroke: rgba(120,205,255,.0); stroke-width: 1.6; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .sk-tracker { animation: sk-track 18s ease-in-out infinite alternate; }
  .sk-glint { animation: sk-glint 7s ease-in-out infinite; }
}
@keyframes sk-track { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@keyframes sk-glint { 0%, 62%, 100% { stroke: rgba(120,205,255,0); } 74% { stroke: rgba(120,205,255,.85); } }
@media (max-width: 700px) { .skyline { height: 96px; } }
.quick-answer { margin: 1.5rem 0 .5rem; padding: 1.1rem 1.25rem; background: #F1F7FF; border-left: 3px solid var(--sky); }
.quick-answer .qa-h { font-size: .8rem; font-weight: 600; color: var(--brand); margin: 0 0 .35rem !important; letter-spacing: .02em; text-transform: uppercase; }
.quick-answer p { margin: 0; color: var(--graphite) !important; }

/* =====================================================================
   v5 compact diagrams: fit a laptop viewport
   ===================================================================== */
.hero-top { padding-top: clamp(2.25rem, 4.5vw, 3.5rem); padding-bottom: 1.75rem; }
.hero-top h1 { font-size: clamp(2.2rem, 3.8vw, 3.25rem); margin-bottom: 1.25rem; }
.hero-map { padding-bottom: clamp(2rem, 4vw, 3rem); }
.em-headbar { padding: .5rem 1rem; font-size: .8rem; }
.em-body { padding: 1rem 1.25rem; }
.em-map { row-gap: 10px; column-gap: clamp(40px, 4.5vw, 64px); }
.em-mod { padding: .6rem .75rem .6rem; }
.em-mod header { gap: .55rem; }
.em-ico { width: 28px; height: 28px; }
.em-ico svg { width: 20px; height: 20px; }
.em-mod h3 { font-size: .9rem; }
.em-viz { margin: .5rem 0 0; padding-top: .5rem; }
.em-pic { max-height: 48px; width: auto; }
.em-spec { gap: .18rem; }
.em-spec div { grid-template-columns: 56px 1fr; }
.em-spec dt { font-size: .72rem; }
.em-spec dd { font-size: .74rem; padding: .08rem .45rem; }
.em-icons li { padding: .3rem .15rem; font-size: .7rem; gap: .15rem; }
.em-icons svg { width: 18px; height: 18px; }
.em-tags { margin-top: .4rem; }
.em-tags li { font-size: .7rem; padding: .22rem .4rem; }
.em-works { display: none; }
.em-ui { padding: .65rem .85rem; font-size: .8rem; }
.em-ui-head { margin-bottom: .35rem; }
.em-lines li { padding: .24rem 0; }
.em-ui-foot { margin-top: .35rem; padding-top: .35rem; }
.em-hub { padding: .85rem 1rem .8rem; }
.em-hub-title { padding-bottom: .6rem; }
.em-hub-title img { width: 32px; height: 32px; }
.em-hub-title b { font-size: .98rem; }
.em-steps { margin: .55rem 0; gap: .22rem; font-size: .8rem; }
.em-net { padding-top: .55rem; }
.em-net span { margin-bottom: .35rem; font-size: .7rem; }
.em-net ul { gap: .25rem; max-width: 220px; }

.eco-panel { padding: 1.1rem 1.5rem; }
.eco-tab { padding: .8rem 1rem; }
.eco-scroll { padding: .5rem 0; }
.eco-svg { max-height: 360px; }

.page-hero-fig .page-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: 1.5rem; }
.page-hero-fig .sheet { max-width: 460px; justify-self: end; width: 100%; }
.img-slots { gap: 1rem; padding-bottom: clamp(2rem, 4vw, 2.75rem); }
.img-slot img, .img-slot-frame { aspect-ratio: 16 / 9; }
.img-slot-frame { gap: .2rem; }
.img-slot figcaption { margin-top: .4rem; }
@media (min-width: 1101px) { .em-mod .em-tags { display: none; } }
.em-net span { display: none; }
.page-hero-fig .page-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.page-hero-fig .sheet { max-width: 420px; }
@media (min-width: 1101px) { .em-map > .em-mod { align-self: center; } }
.em-pic .em-cap text { font-size: 13px; }
.register-detail .register-row { grid-template-columns: minmax(200px, .8fr) 2.2fr auto; align-items: start; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.register-detail .register-row > div p { margin: 0; }
.register-detail .specs { margin-top: .4rem !important; font-size: .88rem !important; color: var(--charcoal) !important; }
.register-detail .specs span { color: var(--brand); font-weight: 500; }
.std-box { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.std-box h3 { font-size: .9rem; color: var(--steel); font-weight: 500; margin-bottom: .75rem; }
.std-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.std-list li { font-size: .85rem; padding: .35rem .65rem; border: 1px solid #CFE0F5; background: #F3F8FF; color: var(--brand); border-radius: var(--r); }
@media (max-width: 760px) { .register-detail .register-row { grid-template-columns: 1fr; } }

/* =====================================================================
   v6: live heroes with panels, quick quote, rail, product pages
   ===================================================================== */
/* live power line along the bottom of every hero */
.hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }
.hero-live { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; pointer-events: none; z-index: 0; }
.hl-wire { fill: none; stroke: rgba(150,195,255,.20); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hl-pulse { fill: none; stroke: rgba(56,182,255,.9); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: .002 .3; stroke-dashoffset: 0; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hl-pulse { opacity: 1; animation: hl-move 10s linear infinite; }
  .hl-p2 { animation-duration: 14s; animation-direction: reverse; opacity: .7; }
}
@keyframes hl-move { to { stroke-dashoffset: -.906; } }

/* inner page hero layouts */
.page-hero-panel .page-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-bottom: clamp(3.5rem, 6vw, 4.75rem); }
.page-hero-solo .page-hero-inner { grid-template-columns: 1fr; padding-bottom: clamp(3.5rem, 6vw, 4.75rem); }
.page-hero-fig .page-hero-inner { padding-bottom: 1.5rem; }
.img-slots { padding-bottom: clamp(3.5rem, 6vw, 4.5rem); }
@media (max-width: 900px) { .page-hero-panel .page-hero-inner { grid-template-columns: 1fr; } }

/* hero panel card */
.hero-panel { background: #fff; color: var(--charcoal); border-top: 3px solid var(--sky); border-radius: var(--r); padding: 1.35rem 1.4rem 1.25rem; box-shadow: 0 30px 60px -36px rgba(0,0,0,.6); }
.hero-panel .hp-title { font-size: 1rem; font-weight: 600; color: var(--brand); letter-spacing: 0; margin: 0 0 .9rem; }
.hero-panel a { color: var(--brand); }
.hp-foot { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--rule-2); align-items: center; }
.hero-panel .btn { height: 40px; padding: 0 1rem; font-size: .9rem; }
.page-hero .hero-panel .btn-primary { background: var(--brand); color: #fff; }
.page-hero .hero-panel .btn-primary:hover { background: var(--brand-deep); color: #fff; }
.page-hero .hero-panel .btn-outline { border-color: #C8D1DE; color: var(--brand); }
.page-hero .hero-panel .btn-outline:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.hp-note { font-size: .85rem; color: var(--steel); }
.hp-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.hp-contact li { display: grid; grid-template-columns: 36px 1fr; gap: .75rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--rule-2); }
.hp-contact li:last-child { border-bottom: 0; }
.hp-ico { width: 36px; height: 36px; display: grid; place-items: center; background: var(--sky-soft); color: var(--brand); border-radius: var(--r); }
.hp-ico svg { width: 20px; height: 20px; }
.hp-contact small { display: block; font-size: .75rem; color: var(--steel); }
.hp-contact a { font-weight: 500; text-decoration: none; }
.jump-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.jump-list a { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; border: 1px solid var(--rule-2); border-radius: var(--r); text-decoration: none; color: var(--graphite); font-size: .88rem; font-weight: 500; line-height: 1.25; transition: border-color .2s, background-color .2s; }
.jump-list a:hover { border-color: var(--brand); background: #F5F9FF; color: var(--brand); }
.jl-ico { width: 30px; height: 30px; flex-shrink: 0; color: var(--brand); }
.jl-ico svg { width: 30px; height: 30px; }
.jl-ico svg * { stroke-dasharray: 220; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) { .jump-list a:hover .jl-ico svg * { animation: jl-draw .7s var(--ease); } }
@keyframes jl-draw { from { stroke-dashoffset: 220; } }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.step-list li { display: grid; grid-template-columns: 34px 1fr; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--rule-2); }
.step-list li:last-child { border-bottom: 0; }
.sp-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 600; }
.step-list b, .commit-list b { display: block; color: var(--graphite); font-weight: 600; font-size: .92rem; }
.step-list span, .commit-list span { font-size: .85rem; color: var(--steel); }
.q-list { list-style: none; margin: 0; padding: 0; }
.q-list li { border-bottom: 1px solid var(--rule-2); }
.q-list li:last-child { border-bottom: 0; }
.q-list a { display: block; padding: .55rem 0; text-decoration: none; font-size: .92rem; font-weight: 500; line-height: 1.4; }
.q-list a:hover { text-decoration: underline; }
.gp { margin: 0; display: grid; gap: 0; }
.gp div { display: grid; grid-template-columns: 120px 1fr; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--rule-2); }
.gp div:last-child { border-bottom: 0; }
.gp dt { font-size: .82rem; color: var(--steel); }
.gp dd { margin: 0; font-size: .9rem; font-weight: 500; color: var(--graphite); }
.gp-spec div { grid-template-columns: 130px 1fr; }
.fg { display: grid; gap: .55rem; text-decoration: none; color: inherit; }
.fg b { font-size: 1.15rem; line-height: 1.3; color: var(--graphite); font-weight: 600; }
.fg-ex { font-size: .9rem; color: var(--steel); }
.fg-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--steel); padding-top: .75rem; border-top: 1px solid var(--rule-2); }
.fg-meta .go { color: var(--brand); font-weight: 500; }
.fg:hover b { color: var(--brand); }

/* homepage hero: copy + quick quote */
.hero-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; padding-bottom: 2.25rem; }
.hero-top .lead { margin-bottom: 0; }
.trust-row { list-style: none; margin: 1.75rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.trust-row li { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: #D3DEF5; }
.trust-row svg { width: 16px; height: 16px; color: var(--sky); }
.qq { background: #fff; border-top: 3px solid var(--sky); border-radius: var(--r); padding: 1.4rem 1.4rem 1.3rem; box-shadow: 0 30px 60px -36px rgba(0,0,0,.65); color: var(--charcoal); }
.qq-title { font-size: 1.2rem !important; font-weight: 600; color: var(--brand) !important; margin: 0 0 .25rem; letter-spacing: -0.01em; }
.qq-sub { font-size: .86rem; color: var(--steel); margin: 0 0 1rem; }
.qq .field { margin-bottom: .75rem; }
.qq .field label { font-size: .82rem; }
.qq input, .qq select { height: 42px; font-size: .95rem; }
.qq-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.qq .btn-primary { background: var(--brand) !important; color: #fff !important; height: 44px; margin-top: .25rem; }
.qq .btn-primary:hover { background: var(--brand-deep) !important; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } }

/* About block: quotation commitments */
.commit-box { border: 1px solid var(--rule); border-top: 3px solid var(--brand); padding: 1.4rem 1.5rem; background: #fff; }
.commit-box h3 { font-size: 1.05rem; color: var(--brand); margin-bottom: .75rem; }
.commit-list { list-style: none; margin: 0; padding: 0; }
.commit-list li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; padding: .65rem 0; border-bottom: 1px solid var(--rule-2); }
.commit-list li:last-child { border-bottom: 0; }
.commit-list svg { width: 18px; height: 18px; color: #fff; background: var(--brand); border-radius: 50%; padding: 2px; margin-top: .15rem; }

/* process rail */
.rail { max-width: 1000px; margin: 0 auto; }
.rail-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.rail-steps::before, .rail-steps::after { content: ""; position: absolute; top: 22px; left: 10%; height: 2px; }
.rail-steps::before { right: 10%; background: #CFDCEE; }
.rail-steps::after { width: calc(80% * var(--rail-p, 0)); background: var(--brand); transition: width .6s var(--ease); }
.rail-step { display: flex; flex-direction: column; align-items: center; gap: .6rem; width: 100%; padding: 0 .35rem; background: none; border: 0; cursor: pointer; font: inherit; color: var(--steel); text-align: center; }
.rail-dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #CFDCEE; font-size: .85rem; font-weight: 600; color: var(--steel); transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.rail-step.done .rail-dot { border-color: var(--brand); color: var(--brand); }
.rail-step[aria-selected="true"] .rail-dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(1,44,144,.12); }
.rail-step.is-hub .rail-dot { border-color: var(--sky); }
.rail-step.is-hub[aria-selected="true"] .rail-dot { background: var(--sky); border-color: var(--sky); color: var(--brand-ink); box-shadow: 0 0 0 6px rgba(56,182,255,.2); }
.rail-name { font-size: .92rem; line-height: 1.3; }
.rail-step[aria-selected="true"] .rail-name { color: var(--brand); font-weight: 600; }
.rail-step:hover .rail-name { color: var(--brand); }
.rail-panels { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--brand); padding: 1.35rem 1.6rem; min-height: 118px; }
.rail-panel h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.rail-panel p { margin: 0; color: var(--charcoal); }
@media (prefers-reduced-motion: no-preference) { .rail-panel:not([hidden]) { animation: fade .35s ease; } }
.rail-note { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; margin: 1rem 0 0; font-size: .85rem; color: var(--steel); text-align: center; max-width: none; }
.rail-note .up::before { content: "\2191\00a0"; color: var(--green); }
.rail-note .down::before { content: "\2193\00a0"; color: var(--brand); }
@media (max-width: 600px) {
  .rail-dot { width: 36px; height: 36px; font-size: .78rem; }
  .rail-steps::before, .rail-steps::after { top: 18px; }
  .rail-name { font-size: .72rem; }
  .rail-panels { padding: 1.1rem 1.2rem; }
}

/* category hub rows + capability tile links */
.prod-row h3 a { color: var(--graphite); text-decoration: none; }
.prod-row h3 a:hover { color: var(--brand); text-decoration: underline; }
.xcat { display: block; margin-top: .3rem; font-size: .75rem; font-weight: 400; color: var(--steel); }
.row-actions { display: grid; gap: .35rem; justify-items: start; }
.text-link.quiet { color: var(--steel); font-size: .88rem; }
.items-links a { position: relative; z-index: 2; color: var(--charcoal); text-decoration: none; }
.items-links a:hover { color: var(--brand); text-decoration: underline; }

/* product detail page */
.spec-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th { text-align: left; width: 38%; padding: .75rem .9rem; background: #F3F7FD; color: var(--brand); font-weight: 600; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--rule); color: var(--charcoal); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
#specifications .img-slot { margin-top: 1.5rem; }
.select-list { margin: 0; border-top: 2px solid var(--brand); }
.select-list div { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.select-list dt { font-weight: 600; color: var(--graphite); margin-bottom: .25rem; }
.select-list dd { margin: 0; color: var(--charcoal); }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rel-card { display: grid; gap: .5rem; align-content: start; padding: 1.25rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.rel-card:hover { border-color: var(--brand); box-shadow: 0 16px 30px -22px rgba(1,27,92,.45); transform: translateY(-2px); color: inherit; }
.rel-ico { width: 36px; height: 36px; color: var(--brand); }
.rel-ico svg { width: 36px; height: 36px; }
.rel-card b { color: var(--graphite); font-weight: 600; }
.rel-card span:last-child { font-size: .88rem; color: var(--steel); }
@media (max-width: 980px) { .rel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rel-grid { grid-template-columns: 1fr; } .jump-list { grid-template-columns: 1fr; } }

/* reading progress on guides */
.read-progress { position: fixed; left: 0; right: 0; top: var(--header-h); height: 3px; z-index: 49; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; }

.footer-contact li { color: var(--on-navy); }
