﻿/* Editorial pages reuse the Tool's colours, type, brand and navigation. */
.editorial-page { overflow-x: hidden; }
.editorial-page main { width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section-shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.intro-hero { width: min(1600px, calc(100% - 48px)); min-height: min(620px, calc(100vh - 58px)); display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(32px, 3vw, 60px); padding-block: 55px 60px; }
.hero-copy h1 { margin: 27px 0 24px; color: var(--text); font: 800 clamp(42px, 4.6vw, 68px)/1.1 "Manrope", sans-serif; letter-spacing: -.05em; }
.hero-copy h1 { margin-top: 0; }
.hero-copy h1 .hero-greater { color: var(--text); }
.hero-copy h1 .hero-access { color: var(--green); }
.hero-lead { max-width: 570px; margin: 0; color: #bed2d1; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.65; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; margin-top: 36px; padding: 12px 20px; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: #02382f; text-decoration: none; font-size: 13px; font-weight: 800; box-shadow: 0 9px 25px rgba(16,230,176,.12); transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.hero-copy .primary-link { min-height: 54px; padding: 14px 25px; font-size: 14px; }
.primary-link:hover, .primary-link:focus-visible { background: #57f2cd; box-shadow: 0 10px 25px rgba(16,230,176,.22); transform: translateY(-2px); outline: none; }
.primary-link span { font-size: 18px; line-height: 1; }
.narrative-section, .solution-section, .get-in-touch { display: grid; grid-template-columns: minmax(150px, 250px) minmax(0, 760px); gap: clamp(20px, 5vw, 76px); padding-block: 72px 82px; border-top: 1px solid var(--line); }
.section-index { padding-top: 8px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.section-body h2 { margin: 0 0 20px; font: 800 clamp(29px, 3vw, 42px)/1.2 "Manrope", sans-serif; letter-spacing: -.04em; }
.section-body p { max-width: 720px; margin: 0 0 16px; color: #b8cecd; font-size: 16px; line-height: 1.7; }
.section-body .section-lead { margin-bottom: 22px; color: var(--text); font-size: 22px; font-weight: 600; line-height: 1.48; }
.section-body .source-note { margin-top: 26px; padding-left: 13px; border-left: 2px solid #3f7376; color: #8ca8aa; font-size: 12px; }
.source-note a { color: #b4dad5; text-underline-offset: 3px; }
.source-note a:hover, .source-note a:focus-visible { color: var(--green); }
.solution-section { padding-bottom: 82px; row-gap: 24px; }
.contact-page .narrative-section { padding-block: 64px 74px; }
.contact-page main > .narrative-section:first-of-type { padding-top: 72px; border-top: 0; }
.get-in-touch { margin-bottom: 80px; padding-block: 70px 80px; border-bottom: 1px solid var(--line); }
.get-in-touch[hidden] { display: none !important; }
.contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.contact-option { min-width: 0; min-height: 132px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 18px 20px; border: 1px solid #28616a; border-radius: 8px; background: rgba(11, 54, 63, .45); text-decoration: none; }
.contact-option-label { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-option strong { overflow-wrap: anywhere; color: var(--text); font: 700 16px/1.35 "Manrope", sans-serif; }
.contact-option-action { margin-top: auto; color: #a8cac6; font-size: 12px; }
.contact-option-email { border-color: #2b8e83; transition: border-color .15s ease, background .15s ease; }
.contact-option-email:hover, .contact-option-email:focus-visible { border-color: var(--green); background: rgba(16, 230, 176, .09); outline: none; }
.contact-option-email .contact-option-action { color: var(--green); }
.contact-option-pending { border-style: dashed; }
.section-body .quiet-note { margin-top: 24px; color: #8babad; font-size: 12px; font-style: italic; }
@media (max-width: 980px) {
  .intro-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 70px; }
  .hero-copy { max-width: 720px; }
  .hero-engineering { max-width: 760px; }
}
@media (max-width: 700px) {
  .section-shell { width: min(100% - 36px, 1180px); }
  .intro-hero { gap: 44px; padding-block: 62px; }
  .hero-copy h1 { font-size: clamp(35px, 9vw, 54px); }
  .hero-lead { font-size: 16px; }
  .narrative-section, .solution-section, .get-in-touch { grid-template-columns: 1fr; gap: 14px; padding-block: 50px 58px; }
  .contact-page main > .narrative-section:first-of-type { padding-top: 50px; }
  .section-body .section-lead { font-size: 18px; }
  .get-in-touch { margin-bottom: 45px; }
  .contact-options { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .section-shell { width: calc(100% - 28px); }
  .section-body p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .primary-link { transition: none; }
}

/* Home illustration: connectors occupy their own grid tracks, outside cards. */
.hero-engineering {
  min-width: 0;
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px 156px 80px 94px 40px 102px;
  align-items: center;
  gap: 0;
  padding: 20px;
  border: 1px solid #1c555d;
  border-radius: 10px;
  background: linear-gradient(rgba(16,230,176,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(16,230,176,.055) 1px, transparent 1px), radial-gradient(circle at 45% 53%, #0b343e, #041e27 72%);
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: var(--shadow);
}
.hero-engineering svg { flex: none; width: 26px; height: 26px; color: var(--green); }
.hero-map-panel { min-width: 0; height: clamp(318px, 24vw, 360px); display: grid; place-items: center; }
.hero-map-art { position: relative; width: min(100%, 305px); aspect-ratio: 230 / 270; }
.hero-map-art img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(16,230,176,.13)); }
.hero-map-pin { position: absolute; left: 75.43%; top: 53.09%; width: 30px; height: 30px; display: grid; place-items: center; transform: translate(-50%, -87.5%); filter: drop-shadow(0 0 7px rgba(16,230,176,.55)); }
.hero-map-pin svg { width: 29px; height: 29px; fill: #0b564e; stroke: var(--green); }
.hero-map-gap { width: 100%; }
.hero-load-link { position: relative; height: 2px; background: var(--green); }
.hero-load-link { width: calc(100% - 10px); margin-left: 4px; }
.hero-load-link::after { content: ""; position: absolute; right: 0; top: -4px; border-left: 6px solid var(--green); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hero-resource-stack { display: grid; gap: 9px; }
.hero-resource { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 58px; padding: 8px 10px; border: 1px solid #397d7c; border-radius: 7px; background: rgba(6,39,48,.88); }
.hero-resource span, .hero-demand-node span { min-width: 0; display: grid; gap: 2px; }
.hero-resource strong, .hero-demand-node strong { color: var(--text); font-size: 13px; white-space: nowrap; }
.hero-resource small, .hero-demand-node small { color: #b3cccb; font-size: 11px; white-space: nowrap; }
.hero-bus-link { width: 80px !important; height: 259px !important; color: var(--green); }
.hero-bus-link path { stroke: currentColor; stroke-width: 1.7; fill: none; vector-effect: non-scaling-stroke; }
.hero-bus-link .hero-bus-arrow { fill: currentColor; stroke: none; }
.hero-system-node { display: grid; justify-items: center; gap: 7px; min-height: 80px; padding: 12px 5px; border: 2px solid var(--green); border-radius: 8px; background: #0a3d42; text-align: center; }
.hero-system-node svg { width: 32px; height: 32px; }
.hero-system-node span { color: var(--green); font-size: 11px; font-weight: 800; line-height: 1.3; }
.hero-demand-node { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 76px; padding: 8px; border: 1px solid #3b9eac; border-radius: 7px; background: rgba(6,39,48,.92); }
.hero-demand-node svg { width: 25px; color: var(--cyan); }

/* One connected workflow with a larger hybrid-system schematic. */
.workflow-visual {
  grid-column: 1 / -1;
  width: calc(100vw - max(24px, calc(50vw - 800px)) - max(32px, calc(50vw - 590px)));
  justify-self: start;
  display: grid;
  grid-template-columns: .8fr .8fr 1.9fr 1.1fr 1.1fr;
  align-items: stretch;
  gap: 24px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid #1b515a;
  border-radius: 9px;
  background: linear-gradient(145deg, #082b35, #051f29);
}
.workflow-step { position: relative; min-width: 0; min-height: 226px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid #28616a; border-radius: 7px; background: rgba(11, 54, 63, .45); }
.workflow-step:not(:last-child)::after { content: ""; position: absolute; right: -20px; top: 50%; width: 17px; border-top: 1.5px solid var(--green); }
.workflow-step:not(:last-child)::before { content: ""; position: absolute; right: -21px; top: calc(50% - 4px); border-left: 6px solid var(--green); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.workflow-heading { display: grid; gap: 4px; }
.workflow-heading span { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.workflow-heading strong { font: 700 18px "Manrope", sans-serif; }
.workflow-step > small { color: #abc9c8; font-size: 12px; line-height: 1.35; }
.workflow-image { position: relative; min-height: 92px; display: flex; align-items: center; justify-content: center; }
.workflow-site .workflow-image img { height: 96px; width: 105px; object-fit: contain; }
.workflow-site .workflow-image > svg { position: absolute; top: 43%; left: 57%; width: 21px; height: 21px; color: var(--green); fill: #0b564e; }
.workflow-load-curve { width: 95%; max-width: 170px; height: 75px; border-bottom: 1px solid #3b6870; }
.workflow-load-curve .curve-grid { fill: none; stroke: #2b535b; stroke-width: .8; }
.workflow-load-curve .curve-data { fill: none; stroke: var(--green); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.workflow-system { padding: 12px; border: 1px solid #29646b; border-radius: 7px; background: rgba(16,230,176,.05); }
.system-schematic { display: flex; align-items: center; justify-content: center; gap: 0; min-height: 98px; }
.schematic-options { display: grid; grid-template-columns: 108px; gap: 4px; }
.schematic-options span { width: 108px; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 1px solid #36777b; border-radius: 5px; background: #0a3a42; }
.schematic-options svg { width: 17px; height: 17px; color: var(--green); }
.schematic-options small { color: #d0e9e4; font-size: 11px; font-weight: 700; }
.schematic-wires { flex: none; width: 29px; height: 132px; color: var(--green); }
.schematic-wires path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.schematic-dispatch { min-width: 72px; min-height: 59px; display: grid; justify-items: center; align-content: center; gap: 3px; border: 1px solid #49a5a3; border-radius: 6px; background: #0a3a42; }
.schematic-dispatch svg { width: 22px; height: 22px; color: var(--cyan); }
.schematic-dispatch span { color: #c8e9e4; font-size: 10px; font-weight: 800; }
.optimization-sequence { display: grid; align-content: center; gap: 4px; min-height: 102px; }
.optimization-sequence > span { display: flex; align-items: center; gap: 8px; color: #d9efeb; font-size: 12px; font-weight: 700; }
.optimization-sequence svg { width: 23px; height: 23px; color: var(--green); }
.optimization-sequence > i { height: 15px; margin-left: 11px; border-left: 1px solid var(--green); }
.workflow-results { padding: 12px; border: 1px solid #19a993; border-radius: 7px; background: rgba(16,230,176,.07); }
.result-example { display: grid; align-content: center; justify-items: start; gap: 6px; min-height: 106px; }
.example-label { color: #8ce6d1; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.example-tech { display: flex; gap: 8px; }
.example-tech svg { width: 21px; height: 21px; color: var(--green); }
.result-example strong { color: #e7fff6; font-size: 13px; }
.example-kpis { color: #9dc8c3; font-size: 10px; }
@media (max-width: 1280px) {
  .intro-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-engineering { width: 100%; max-width: 860px; }
}
@media (max-width: 1050px) {
  .workflow-visual { grid-template-columns: 1fr; gap: 17px; padding: 12px; }
  .workflow-step { min-height: 126px; display: grid; grid-template-columns: 145px minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: center; gap: 4px 12px; padding: 8px 11px; }
  .workflow-heading { grid-column: 1; grid-row: 1 / 3; }
  .workflow-image, .system-schematic, .optimization-sequence, .result-example { grid-column: 2; grid-row: 1; }
  .workflow-step > small { grid-column: 2; grid-row: 2; }
  .workflow-step:not(:last-child)::after { width: 1px; height: 10px; right: auto; left: 50%; top: auto; bottom: -14px; border-top: 0; border-left: 1.5px solid var(--green); }
  .workflow-step:not(:last-child)::before { right: auto; left: calc(50% - 4px); top: auto; bottom: -15px; border-top: 6px solid var(--green); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 0; }
}
@media (max-width: 700px) {
  .intro-hero { width: min(100% - 36px, 1180px); }
  .hero-engineering { min-height: 0; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .workflow-visual { width: 100%; }
  .hero-map-gap, .hero-bus-link, .hero-load-link { display: none; }
  .hero-map-panel, .hero-resource-stack { height: 254px; }
  .hero-resource-stack { align-content: center; gap: 6px; }
  .hero-resource { min-height: 55px; padding: 6px; gap: 6px; }
  .hero-system-node, .hero-demand-node { min-height: 66px; }
  .hero-resource strong, .hero-demand-node strong { font-size: 10px; }
  .hero-resource small, .hero-demand-node small { font-size: 9px; }
}
@media (max-width: 470px) {
  .intro-hero { width: calc(100% - 28px); }
  .hero-engineering svg { width: 22px; height: 22px; }
  .hero-map-pin svg { width: 26px; height: 26px; }
  .hero-demand-node { justify-content: center; }
  .workflow-step { grid-template-columns: 108px minmax(0,1fr); }
  .workflow-heading strong { font-size: 15px; }
  .workflow-step > small { font-size: 10px; }
  .schematic-options { grid-template-columns: 85px; }
  .schematic-options span { width: 85px; padding-inline: 5px; gap: 4px; }
  .schematic-options svg { width: 14px; height: 14px; }
  .schematic-options small { font-size: 9px; }
  .schematic-wires { width: 23px; }
  .schematic-dispatch { min-width: 63px; }
}

/* Source and privacy pages share the editorial design. */
.information-main { max-width: 930px; padding-block: clamp(42px, 5vw, 72px) 80px; }
.information-intro { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.information-intro h1 { margin: 15px 0 16px; font: 800 clamp(34px, 4.5vw, 56px)/1.12 "Manrope", sans-serif; letter-spacing: -.045em; }
.information-intro p { max-width: 780px; margin: 0; color: #c0d5d2; font-size: 17px; line-height: 1.6; }
.information-main section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.information-main section h2 { margin: 0 0 12px; color: #e8f6f2; font: 800 clamp(20px, 2.5vw, 25px)/1.25 "Manrope", sans-serif; }
.information-main section p { margin: 0 0 12px; color: #bad0cc; font-size: 15px; line-height: 1.7; }
.information-main section p:last-child { margin-bottom: 0; }
.information-main a { color: var(--green); text-underline-offset: 3px; }
.information-main a:hover, .information-main a:focus-visible { color: #8af5dc; }
.information-main strong { color: #e9f8f3; }
