/* Vivia Energy — "single-line schematic": the catalogue drawn as the installer's wiring diagram.
   White drafting ground, green-black ink, live current only in bolt green, rating tables in tabular figures. */
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Kufi Arabic"; src: url("fonts/noto-kufi-arabic-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; src: url("fonts/noto-sans-arabic-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f8faf9;
  --sheet: #ffffff;
  --ink: #1a2f27;
  --ink-2: #405249;
  --ink-3: #56675e;
  --line: #d6dfda;
  --hair: #e6ece9;
  --wire: #b8c6be;
  --green: #34d75c;        /* live current: lines, junctions, marks only */
  --green-soft: #e3f7e8;
  --green-ink: #17703a;    /* text-bearing fills and links (white on it 6:1) */
  --green-deep: #0f5a2c;
  --night: #13231d;
  --error: #b42318;
  --ok: #17703a;
  --head: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --sans: "Barlow", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --bus: 28px;              /* main bus offset from the start edge of the products column */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgb(26 47 39 / .06), 0 14px 30px -22px rgb(26 47 39 / .35);
}
:root:lang(ar) { --head: "Noto Kufi Arabic", system-ui, sans-serif; --sans: "Noto Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: #a9b8b0 var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
:lang(ar) body { line-height: 1.85; font-size: 1.05rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-underline-offset: .2em; }
a:hover { color: var(--green-deep); }
::selection { background: #c6f0d1; color: var(--ink); }
:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .45em; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { letter-spacing: 0; line-height: 1.5; }
h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.9rem); font-weight: 700; }
:lang(ar) h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
[dir="rtl"] .ic { transform: scaleX(-1); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.skip:hover { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .7em 1.3em; border: 1.5px solid var(--green-ink); border-radius: 3px; background: var(--green-ink); color: #fff; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ic { transform: scaleX(-1) translateX(3px); }
.btn-sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

/* header: the top edge of the drawing sheet */

/* hero: promise + the whole system as a schematic */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 96px); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
/* hook = exactly 2 lines (team rule, rechecked 2026-11-13): two nowrap lines sized to the copy column */
.hero-copy { container-type: inline-size; }
.hero-copy h1 { max-width: none; text-wrap: initial; font-size: min(4.9rem, 9cqi); }
.hero-copy h1 .hl { display: block; white-space: nowrap; }
:lang(ar) .hero-copy h1 { font-size: min(3.6rem, 10cqi); }
.lead { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--ink-2); max-width: 40ch; }
.sub { color: var(--ink-3); margin: 0; }
.diagram { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: clamp(40px, 5vw, 72px); row-gap: 72px; padding: 34px clamp(18px, 2.5vw, 30px); background: var(--sheet); border: 1.5px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 5px; margin: 6px; }
.node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; padding: 24px 12px 20px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 2px; color: var(--ink); text-align: center; text-decoration: none; transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.node:hover, .node:focus-visible { border-color: var(--green-ink); box-shadow: 0 0 0 4px var(--green-soft); transform: translateY(-3px); color: var(--ink); }
.node .sym { width: 60px; height: 60px; color: var(--ink); }
.node-t { font-family: var(--head); font-weight: 600; font-size: 1.2rem; line-height: 1.15; }
.node-r { font-size: .92rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.diagram .n0 { grid-area: 1 / 1; } .diagram .n1 { grid-area: 1 / 2; } .diagram .n2 { grid-area: 1 / 3; } .diagram .n3 { grid-area: 2 / 2; }
/* wires: positioned on the grid lines between nodes; current flows as moving dashes */
.wire { position: absolute; z-index: 0; --dash: repeating-linear-gradient(var(--dir, 90deg), var(--green) 0 12px, transparent 12px 20px); }
.w1, .w2 { height: 3px; top: calc(34px + var(--row1h, 96px) / 2); background: var(--dash); background-size: 20px 3px; }
.w1 { inset-inline-start: calc(100% / 3 * 1 - 40px); width: 80px; }
.w2 { inset-inline-start: calc(100% / 3 * 2 - 40px); width: 80px; }
.wire { display: none; }
.diagram .node::after { content: ""; position: absolute; z-index: -1; background: repeating-linear-gradient(var(--d), var(--green) 0 12px, transparent 12px 20px); }
.diagram .n0::after, .diagram .n1::after { top: 50%; inset-inline-start: 100%; width: clamp(40px, 5vw, 72px); height: 3px; margin-top: -1.5px; background: linear-gradient(90deg, transparent 0 35%, #c8f7d4 50%, transparent 65% 100%) 0 0 / 200% 100% no-repeat, var(--green); animation: pulse-x 1.6s linear infinite; }
.diagram .n3::after { --d: 180deg; bottom: 100%; left: 50%; width: 6px; margin-left: -3px; height: 72px; background: linear-gradient(90deg, var(--green) 0 2px, transparent 2px 4px, var(--green) 4px 6px); background-size: 6px 100%; }
.diagram .n3::before { content: "AC"; position: absolute; bottom: calc(100% + 26px); inset-inline-start: calc(50% + 12px); font-size: .75rem; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.diagram .n0::before, .diagram .n1::before { content: "DC"; position: absolute; top: calc(50% - 26px); inset-inline-start: calc(100% + 10px); font-size: .75rem; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
[dir="rtl"] .diagram .n0::after, [dir="rtl"] .diagram .n1::after { animation-name: pulse-x-rtl; }
@keyframes pulse-x { from { background-position: 200% 0, 0 0; } to { background-position: -100% 0, 0 0; } }
@keyframes pulse-x-rtl { from { background-position: -100% 0, 0 0; } to { background-position: 200% 0, 0 0; } }
@keyframes pulse-y { from { background-position: 0 200%, 0 0; } to { background-position: 0 -100%, 0 0; } }
.diagram:not(.is-live) .node::after { animation-play-state: paused; }

/* products: one main bus down the start edge; each family a branch with components */
.bus-wrap { position: relative; padding-inline-start: calc(var(--bus) + 34px); padding-block: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.bus-wrap .bus { bottom: auto; height: var(--bus-h, 100%); }
.bus { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--bus); width: 3px; background: var(--wire); }
.bus-fill { position: absolute; inset: 0 0 auto; height: calc(var(--fill, 0) * 100%); background: var(--green); transition: height .15s linear; }
.family { position: relative; padding-bottom: clamp(56px, 7vw, 104px); scroll-margin-top: 88px; }
.fam-head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 22px; align-items: start; margin-bottom: clamp(26px, 3.5vw, 40px); }
.fam-head h2 { margin-bottom: .25em; }
.fam-head p { color: var(--ink-2); max-width: 64ch; margin: 0; }
.fam-sym { width: 58px; height: 58px; padding: 8px; color: var(--ink); background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 2px; }
/* junction: a dot on the bus with a branch line to the family symbol */
.junction { position: absolute; top: 27px; inset-inline-start: calc(-34px - 4.5px); width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--wire); transition: background .3s, border-color .3s; }
.junction::after { content: ""; position: absolute; top: 50%; inset-inline-start: 100%; width: 28px; height: 3px; margin-top: -1.5px; background: var(--wire); transition: background .3s; }
.family.is-live .junction { background: var(--green); border-color: var(--green); }
.family.is-live .junction::after { background: var(--green); }

/* rating table (register) */
.register { overflow-x: auto; background: var(--sheet); border: 1.5px solid var(--ink); }
.register table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.register th, .register td { padding: 12px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--hair); }
.register thead th { background: var(--paper); border-bottom: 1.5px solid var(--ink); font-family: var(--head); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.register tbody th { width: 30%; font-weight: 500; color: var(--ink-3); }
.register td { color: var(--ink); font-weight: 500; }
.register tbody tr:last-child > * { border-bottom: 0; }
.register td + td, .register th + td, .register thead th + th { border-inline-start: 1px solid var(--hair); }
.tag { font-family: var(--head); font-size: 1.2rem; font-weight: 500; color: var(--ink); max-width: 46ch; }

.pv-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pv-img { margin: 0; padding: 14px; background: var(--sheet); border: 1px solid var(--line); }
.pv-img img { width: 100%; max-height: 420px; object-fit: contain; }
.notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.notes li { position: relative; padding-inline-start: 22px; color: var(--ink-2); line-height: 1.45; }
.notes li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 10px; height: 2px; background: var(--green-ink); }
.notes.numbered { counter-reset: n; grid-template-columns: minmax(0, 1fr); }
.notes.numbered li { counter-increment: n; padding-inline-start: 34px; }
.notes.numbered li::before { content: counter(n); top: 0; width: auto; height: auto; background: none; font-family: var(--head); font-weight: 600; color: var(--green-ink); }
.quotes { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; align-items: center; }
.quotes-l { color: var(--ink-3); font-weight: 500; }

/* component cards hang from a branch rail */
.rail { position: relative; list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
.rail.n2 { --cols: 2; }
.rail::before, .hung::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--wire); transition: background .4s; }
.hung { position: relative; padding-top: 26px; }
.hung::after { content: ""; position: absolute; top: 0; left: 50%; width: 3px; height: 26px; margin-left: -1.5px; background: var(--wire); transition: background .4s; }
.family.is-live .hung::before, .family.is-live .hung::after { background: var(--green); }
.family.is-live .rail::before { background: var(--green); }
.rail + .hung, .hung + .rail { margin-top: 26px; }
.comp { position: relative; display: flex; flex-direction: column; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 2px; transition: box-shadow .3s var(--ease), border-color .2s; }
.comp::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 3px; height: 26px; margin-left: -1.5px; background: var(--wire); transition: background .3s; }
.comp::after { content: ""; position: absolute; bottom: calc(100% + 20px); left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--paper); border: 3px solid var(--wire); transition: background .3s, border-color .3s; }
.comp:hover, .comp:focus-within { box-shadow: var(--shadow); border-color: var(--green-ink); }
.comp:hover::before, .comp:focus-within::before { background: var(--green); }
.comp:hover::after, .comp:focus-within::after { background: var(--green); border-color: var(--green); }
.comp-img { margin: 0; height: 220px; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--hair); }
.comp-img img { max-height: 184px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.comp-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.comp-body h3 { font-size: 1.3rem; margin-bottom: 2px; }
.comp-kind { font-size: .95rem; font-weight: 600; color: var(--green-ink); margin-bottom: 10px; }
.comp-body > p:not(.comp-kind) { color: var(--ink-2); font-size: .98rem; }
.rating { margin: 4px 0 18px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums lining-nums; }
.rating > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.rating dt { color: var(--ink-3); font-size: .93rem; }
.rating dd { margin: 0; font-weight: 600; font-size: .95rem; }
.on-req { font-weight: 500; color: var(--ink-3); font-style: italic; }
.model { margin-bottom: 14px; }
.model h4 { font-size: 1.05rem; margin: 6px 0 4px; }
.model .on-req { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
h3 bdi, h4 bdi, .node-t bdi, th bdi, dd bdi { white-space: nowrap; }
.comp-body h3 bdi { white-space: normal; } /* long product names wrap in narrow AR cards (1024) */
.svolt-cards { display: none; }
.quote-link { margin-top: auto; }
.text-comp { flex-direction: row; gap: 18px; padding: 22px; align-items: flex-start; }
.text-comp .comp-body { padding: 0; }
.sym.sm { width: 44px; height: 44px; flex: none; color: var(--ink); }

.svolt { margin-bottom: 26px; }
.svolt-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 6px 36px; align-items: baseline; margin-bottom: 18px; }
.svolt-head h3, .svolt-head p { margin: 0; }
.svolt-head p { color: var(--ink-2); }
.svolt-table thead th { vertical-align: bottom; text-align: center; }
.svolt-table td { text-align: center; }
.th-img { display: grid; place-items: center; height: 120px; margin-bottom: 8px; }
.th-img img { max-height: 120px; max-width: 100%; width: auto; height: auto; }
.th-name { display: block; }

/* why vivia: two sheets hung from its branch */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; }
.why-sheet { background: var(--sheet); border: 1.5px solid var(--ink); padding: clamp(20px, 3vw, 32px); }
.why-sheet > p { color: var(--ink-2); }
.exclusive { font-family: var(--head); font-size: 1.25rem; font-weight: 500; color: var(--ink); max-width: 36ch; }
.why-sheet .register { border-width: 1px; }
.why-sheet .register td { font-family: var(--head); font-size: 1.35rem; font-weight: 600; color: var(--green-ink); width: 40%; }
.why-sheet .notes { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.vision { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-3); max-width: 80ch; }

/* quote: the drawing sheet with its title block */
.quote { padding-bottom: clamp(24px, 3vw, 40px); }
.drawing { position: relative; background: var(--sheet); border: 1.5px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 6px; padding: clamp(24px, 4vw, 52px); margin: 7px; }
.q-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #7d8e85; border-radius: 2px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%231a2f27' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 12px center; padding-inline-end: 40px; }
[dir="rtl"] .field select { background-position: left 12px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgb(23 112 58 / .2); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgb(180 35 24 / .14); }
.field-err { margin: 0; font-size: .88rem; color: var(--error); }
.product-filled { background: var(--green-soft) !important; border-color: var(--green-ink) !important; font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.note { margin: 0; font-size: .9rem; color: var(--ink-3); max-width: 44ch; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--ok); }
.title-block { border: 1.5px solid var(--ink); }
.tb-title { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; border-bottom: 1.5px solid var(--ink); font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.title-block dl { margin: 0; }
.title-block dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.title-block dl > div:last-child { border-bottom: 0; }
.title-block dt { padding: 12px 14px; font-size: .85rem; font-weight: 600; color: var(--ink-3); border-inline-end: 1px solid var(--line); }
.title-block dd { margin: 0; padding: 12px 14px; font-weight: 500; }
.title-block a { font-weight: 600; }

/* footer */
.foot { background: var(--night); color: #c5d2cb; padding-block: 48px 28px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; }
.foot img { width: 180px; margin-bottom: 14px; }
.foot p { margin: 0; }
.foot ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.foot a { color: #e3ece7; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .9rem; color: #9fb0a7; }

/* responsive */
@media (max-width: 1100px) {
  
  
  
  
  
  
  
  
  
  .lang-dd { order: 1; margin-inline-start: auto; }
  .lang-btn { min-height: 44px; }
  
}
@media (max-width: 960px) {
  .hero-in, .why-in, .q-grid, .pv-grid, .q-head, .svolt-head { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { --cols: 2; }
  .pv-img { max-width: 260px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  :root { --bus: 6px; }
  .bus-wrap { padding-inline-start: calc(var(--bus) + 22px); }
  .junction { inset-inline-start: calc(-22px - 4.5px); }
  .junction::after { width: 16px; }
  .fam-head { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .fam-sym { width: 48px; height: 48px; }
  .rail, .rail.n2 { --cols: 1; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .diagram { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 40px; padding: 20px 16px; }
  .diagram .n0 { grid-area: 1 / 1 / 2 / 3; } .diagram .n1 { grid-area: 2 / 1 / 3 / 3; } .diagram .n2 { grid-area: 3 / 1; } .diagram .n3 { grid-area: 3 / 2; }
  .node { padding: 14px 8px 12px; gap: 4px; }
  .node .sym { width: 40px; height: 40px; }
  .node-t { font-size: 1.05rem; }
  .diagram .n0::after { top: 100%; left: 50%; inset-inline-start: auto; width: 3px; height: 40px; margin: 0 0 0 -1.5px; background: linear-gradient(180deg, transparent 0 35%, #c8f7d4 50%, transparent 65% 100%) 0 0 / 100% 200% no-repeat, var(--green); animation: pulse-y 1.6s linear infinite; }
  .diagram .n1::after { top: 100%; left: calc(25% - 3.5px); inset-inline-start: auto; width: calc(50% + 7px); height: 22px; margin: 0; animation: none; background: linear-gradient(var(--green), var(--green)) 50% 0 / 3px 20px no-repeat, linear-gradient(var(--green), var(--green)) 0 100% / 100% 3px no-repeat; }
  .diagram .n2::after { content: ""; top: auto; bottom: 100%; left: 50%; width: 3px; height: 20px; margin-left: -1.5px; background: var(--green); }
  .diagram .n3::after { display: block; bottom: 100%; height: 20px; }
  .diagram .n0::before { content: "DC"; top: calc(100% + 12px); inset-inline-start: calc(50% + 10px); }
  .diagram .n1::before { content: none; }
  .diagram .n2::before { content: "DC"; position: absolute; bottom: calc(100% + 2px); inset-inline-start: calc(50% + 8px); font-size: .75rem; font-weight: 600; color: var(--ink-3); }
  .diagram .n3::before { display: block; bottom: calc(100% + 2px); inset-inline-start: calc(50% + 10px); }
  .register { font-size: .92rem; }
  .register th, .register td { padding: 10px 12px; }
  .svolt-table { display: none; }
  .svolt-cards { display: grid; }
  .svolt > .quotes { display: none; }
  .th-img { height: 72px; }
  .th-img img { max-height: 72px; }
  .title-block dl > div { grid-template-columns: minmax(0, 1fr); }
  .title-block dt { border: 0; padding-bottom: 0; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot ul { flex-wrap: wrap; }
}
@keyframes flow-y { to { background-position: 0 20px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .bus-fill { height: 100%; }
  .junction, .family .junction { background: var(--green); border-color: var(--green); }
  .junction::after, .rail::before, .hung::before, .hung::after { background: var(--green) !important; }
}

/* <sh-tokens> */
/* shared header + dropdown tokens (owner remarks 2026-11-13: one header, one dropdown on every site) */
.sh { --sh-bg: rgb(248 250 249 / .97); --sh-ink: var(--ink); --sh-ink-2: var(--ink-2); --sh-line: var(--line); --sh-border: 1.5px solid var(--ink); --sh-accent: var(--green); --sh-hover: var(--hair); --sh-focus: var(--ink); --sh-panel-bg: var(--paper); --sh-logo-h: 27px; --sh-logo-h-m: 24px; --sh-max: var(--wrap); --sh-gut: var(--gut);
  --dd-ink: var(--ink); --dd-bg: var(--sheet); --dd-line: var(--line); --dd-hover: var(--hair); --dd-menu-bg: var(--sheet); --dd-menu-ink: var(--ink); --dd-accent: var(--ink); --dd-accent-ink: #fff; }
/* </sh-tokens> */











/* <lang-dd:start> */
/* ==== lang-dd: shared language dropdown (team notes + owner remarks 2026-11-13). One look on every site:
   size, type scale, radius, spacing and caret are fixed here; sites only set COLOUR tokens:
   --dd-ink --dd-bg --dd-line --dd-hover --dd-menu-bg --dd-menu-ink --dd-accent --dd-accent-ink (font family is inherited). ==== */
.lang-dd { position: relative; flex: none; font-family: inherit; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 64px; min-height: 40px; margin: 0; padding: 0 11px 0 13px;
  font-family: inherit; font-size: .82rem; font-weight: 600; line-height: 1; letter-spacing: .04em; text-transform: none;
  color: var(--dd-ink, currentColor); background: var(--dd-bg, transparent);
  border: 1px solid var(--dd-line, currentColor); border-radius: 4px; box-shadow: none; cursor: pointer;
  transition: background-color .15s ease;
}
.lang-btn:hover { background: var(--dd-hover, rgb(0 0 0 / .05)); }
.lang-btn:focus-visible { outline: 2px solid var(--dd-ink, currentColor); outline-offset: 2px; }
.lang-btn svg { flex: none; width: 10px; height: 10px; transition: transform .18s ease; }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; inset-inline-end: 0; inset-inline-start: auto; top: calc(100% + 6px); z-index: 60;
  min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--dd-menu-bg, #fff); border: 1px solid var(--dd-line, rgb(0 0 0 / .2)); border-radius: 4px;
  box-shadow: 0 10px 24px rgb(0 0 0 / .14);
}
.lang-menu[hidden] { display: none; }
.lang-menu li { margin: 0; padding: 0; border: 0; }
.lang-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 10px; border-radius: 3px;
  font-family: inherit; font-size: .92rem; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-decoration: none;
  color: var(--dd-menu-ink, #1a1a1a);
}
.lang-menu a span { font-size: .74rem; font-weight: 600; letter-spacing: .04em; opacity: .62; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--dd-hover, rgb(0 0 0 / .06)); outline: none; }
.lang-menu a:focus-visible { box-shadow: inset 0 0 0 2px var(--dd-menu-ink, #1a1a1a); }
.lang-menu a[aria-current] { color: var(--dd-accent-ink, #fff); background: var(--dd-accent, #1a1a1a); }
.lang-menu a[aria-current] span { opacity: .8; }
@media (prefers-reduced-motion: reduce) { .lang-btn, .lang-btn svg { transition: none; } }
/* <lang-dd:end> */

/* <sh-header:start> */
/* ==== sh: shared site header (owner remarks 2026-11-13). Structure, spacing, behaviour and focus are fixed here;
   sites only set tokens on .sh: --sh-bg --sh-ink --sh-ink-2 --sh-line --sh-border --sh-accent --sh-hover --sh-focus
   --sh-panel-bg --sh-font --sh-logo-h --sh-logo-h-m --sh-max --sh-gut (+ the --dd-* colour tokens of the dropdown). ==== */
:root { --sh-h: 72px; }
html { scroll-padding-top: calc(var(--sh-h) + 16px); }
.sh {
  position: sticky; top: 0; z-index: 50;
  background: var(--sh-bg, #fff); color: var(--sh-ink, #15171a);
  border-bottom: var(--sh-border, 1px solid var(--sh-line, rgb(0 0 0 / .14)));
  font-family: var(--sh-font, inherit);
}
.sh-in {
  width: min(100% - 2 * var(--sh-gut, 24px), var(--sh-max, 1240px)); margin-inline: auto;
  height: var(--sh-h); display: flex; align-items: center; gap: 24px;
}
.sh-brand { flex: none; display: flex; align-items: center; border-radius: 4px; }
.sh-brand img { display: block; width: auto; max-width: none; height: var(--sh-logo-h, 36px); }
.sh-nav { margin-inline-start: auto; min-width: 0; }
.sh-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.sh-link {
  display: block; padding: 10px 12px; border-radius: 4px; white-space: nowrap;
  font-family: inherit; font-size: .95rem; font-weight: 500; line-height: 1.2; text-decoration: none;
  color: var(--sh-ink-2, var(--sh-ink, inherit)); box-shadow: inset 0 -2px 0 transparent;
  transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.sh-link:hover { color: var(--sh-ink, inherit); background: var(--sh-hover, rgb(0 0 0 / .05)); }
.sh-link[aria-current="true"], .sh-link[aria-current="page"] { color: var(--sh-ink, inherit); box-shadow: inset 0 -2px 0 var(--sh-accent, currentColor); }
.sh-tools { flex: none; display: flex; align-items: center; gap: 12px; }
.sh .sh-panel-cta { display: none; }
.sh-tel { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; color: var(--sh-ink, inherit); font-size: .92rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; border-radius: 4px; }
.sh-tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.sh-tel-ic { width: 17px; height: 17px; flex: none; color: var(--sh-accent, currentColor); }
.sh-menu {
  display: none; flex: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; margin: 0;
  font: 600 .92rem/1 var(--sh-font, inherit); color: var(--sh-ink, inherit);
  background: transparent; border: 1px solid var(--sh-line, currentColor); border-radius: 4px; cursor: pointer;
}
.sh-menu:hover { background: var(--sh-hover, rgb(0 0 0 / .05)); }
.sh-burger { position: relative; display: block; width: 16px; height: 12px; }
.sh-burger i { position: absolute; inset-inline: 0; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.sh-burger i:nth-child(1) { top: 0; } .sh-burger i:nth-child(2) { top: 5px; } .sh-burger i:nth-child(3) { top: 10px; }
.sh-menu[aria-expanded="true"] .sh-burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.sh-menu[aria-expanded="true"] .sh-burger i:nth-child(2) { opacity: 0; }
.sh-menu[aria-expanded="true"] .sh-burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.sh a:focus-visible, .sh button:focus-visible { outline: 2px solid var(--sh-focus, currentColor); outline-offset: 2px; }
.sh .lang-btn, .sh .sh-menu { min-height: 44px; }
@media (max-width: 1280px) { .sh-tel { display: none; } }
@media (max-width: 1080px) {
  .sh-menu { display: inline-flex; }
  .sh-tools { margin-inline-start: auto; }
  .sh-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%; margin: 0;
    max-height: calc(100dvh - var(--sh-h)); overflow-y: auto;
    background: var(--sh-panel-bg, var(--sh-bg, #fff)); border-bottom: var(--sh-border, 1px solid var(--sh-line, rgb(0 0 0 / .14)));
    box-shadow: 0 14px 28px rgb(0 0 0 / .1);
  }
  .sh.is-open .sh-nav { display: block; }
  .sh-list { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 2 * var(--sh-gut, 24px), var(--sh-max, 1240px)); margin-inline: auto; padding: 8px 0; }
  .sh-list li + li { border-top: 1px solid var(--sh-line, rgb(0 0 0 / .1)); }
  .sh-link { padding: 15px 12px; font-size: 1.05rem; border-radius: 0; box-shadow: none; border-inline-start: 3px solid transparent; }
  .sh-link[aria-current="true"], .sh-link[aria-current="page"] { box-shadow: none; border-inline-start-color: var(--sh-accent, currentColor); }
}
@media (max-width: 720px) {
  :root { --sh-h: 64px; }
  .sh-in { gap: 10px; }
  .sh-brand img { height: var(--sh-logo-h-m, var(--sh-logo-h, 30px)); }
  .sh-tools { gap: 8px; }
  .sh .sh-tools .sh-cta { display: none; }
  .sh .sh-panel-cta { display: flex; justify-content: center; width: min(100% - 2 * var(--sh-gut, 24px), var(--sh-max, 1240px)); margin: 4px auto 18px; }
}
@media (max-width: 370px) { .sh-menu-t { display: none; } .sh-menu { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .sh-link, .sh-burger i { transition: none; } }
/* <sh-header:end> */
