/* Layout concept: white and cool-grey grounds, navy type, copper as the live accent; a 1200px grid, hairline rules instead of boxes. Light theme by design, the same for every visitor. */
:root {
  --navy: #102749;
  --midnight: #0A1930;
  --copper: #D4621B;
  --ember: #F0792B;
  --copper-deep: #A8480F;
  --steel: #5A6B85;
  --mist: #DDE3EC;
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --navy-line: #24406B;
  --on-navy-muted: #B9C4D6;

  --bg: #FFFFFF;
  --surface: #F4F6F9;
  --ink: #102749;
  --ink-muted: #5A6B85;
  --accent: #D4621B;
  --accent-text: #A8480F;
  --line: #DDE3EC;
  --btn-bg: #102749;
  --btn-ink: #FFFFFF;
  --dim: 0.22;

  --font-display: "Red Hat Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-text: "Red Hat Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "Red Hat Mono", Consolas, "Courier New", monospace;

  --gutter: clamp(16px, 5vw, 72px);
  --section: clamp(64px, 9vw, 120px);
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 14px; z-index: 100; font-family: var(--font-mono); font-size: 13px; }
.skip:focus { top: 12px; }

/* Containers */
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.band-surface { background: var(--surface); }
.band-navy { background: var(--navy); --ink: #FFFFFF; --ink-muted: #B9C4D6; --accent: #F0792B; --accent-text: #F0792B; --line: #24406B; --btn-bg: #F0792B; --btn-ink: #0A1930; color: var(--ink); }

/* Type */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
.d-xl { font-size: clamp(44px, 7vw, 96px); line-height: 0.98; font-weight: 800; letter-spacing: -0.02em; }
.d-lg { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.01em; }
.h-md { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 700; }
.h-sm { font-size: 21px; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-muted); max-width: 60ch; }
.body { max-width: 65ch; color: var(--ink-muted); }
.body p + p { margin-top: 1em; }
.small { font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.label { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); line-height: 1.3; }
.label.muted { color: var(--ink-muted); }
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 48px; height: 4px; background: var(--accent); flex: none; }
.stack { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; font-family: var(--font-text); font-weight: 700; font-size: 15px; text-decoration: none; background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-bg); border-radius: 0; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--accent-text); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; align-self: flex-start; }
.link:hover { border-bottom-color: currentColor; }
.li-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--navy); color: var(--white); border: 1px solid var(--navy); text-decoration: none; transition: background-color .2s ease, color .2s ease; flex: none; }
.li-btn svg { width: 20px; height: 20px; fill: currentColor; }
.li-btn:hover { background: var(--copper); border-color: var(--copper); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: block; line-height: 0; flex: none; }
.brand svg { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-muted); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav .nav-cta { color: var(--btn-ink); background: var(--btn-bg); padding: 10px 16px; border: 0; font-weight: 700; }
.nav .nav-cta:hover { color: var(--btn-ink); background: var(--copper); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); min-height: 44px; padding: 0 14px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent-text); }
  .nav .nav-cta { margin-top: 16px; justify-content: center; display: flex; }
}

/* Heroes */
.hero, .page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero { padding-block: clamp(64px, 10vw, 128px) clamp(48px, 7vw, 96px); }
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); background: var(--surface); }
.hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }
.hero .copy { display: flex; flex-direction: column; gap: 28px; max-width: 780px; }
.page-hero .stack { max-width: 820px; }
.ramp { position: absolute; right: 0; top: 0; height: 100%; width: auto; z-index: 0; pointer-events: none; }
.hero .ramp { max-width: 34%; }
.hero .ramp path { fill: var(--copper); }
.page-hero .ramp { max-width: 40%; right: -40px; }
.page-hero .ramp path { fill: var(--mist); }
.ramp .bar { animation: current 3.2s ease-in-out infinite; }
.ramp .bar:nth-child(2) { animation-delay: .18s } .ramp .bar:nth-child(3) { animation-delay: .36s }
.ramp .bar:nth-child(4) { animation-delay: .54s } .ramp .bar:nth-child(5) { animation-delay: .72s }
.ramp .bar:nth-child(6) { animation-delay: .90s } .ramp .bar:nth-child(7) { animation-delay: 1.08s }
.ramp .bar:nth-child(8) { animation-delay: 1.26s }
@keyframes current { 0%, 100% { opacity: .18 } 18% { opacity: 1 } 46% { opacity: .18 } }
.hero-facts { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); gap: 0 32px; margin-top: 56px; max-width: 980px; border-top: 1px solid var(--line); }
.hero-facts > div { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hero-facts .v { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink); }
.regions { display: flex; flex-wrap: wrap; gap: 6px; }
.regions span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); padding: 4px 8px; color: var(--ink); background: var(--bg); }
@media (max-width: 900px) { .hero .ramp { max-width: 46%; opacity: .25; } .page-hero .ramp { opacity: .6; } }
@media (max-width: 720px) { .hero-facts { grid-template-columns: 1fr; } .hero-facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); } }
@media (prefers-reduced-motion: reduce) { .ramp .bar { animation: none; opacity: .7; } }

/* Section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head > * { min-width: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* Ruled grids */
.ruled { display: grid; gap: 0 40px; }
.ruled > * { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ruled.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ruled.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ruled.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ruled .accent-top { border-top: 4px solid var(--accent); padding-top: 17px; }
@media (max-width: 960px) { .ruled.cols-4, .ruled.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ruled.cols-2, .ruled.cols-3, .ruled.cols-4 { grid-template-columns: 1fr; } }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 14px 0; margin-right: 28px; cursor: pointer; color: var(--ink-muted); text-align: left; font-family: var(--font-text); font-size: 16px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; }
.tab .n { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab[aria-selected="true"] .n { color: var(--accent-text); }
.panel { padding-top: 32px; }
.tabs.vertical { flex-direction: column; flex-wrap: nowrap; border-bottom: 0; border-left: 1px solid var(--line); }
.tabs.vertical .tab { border-bottom: 0; border-left: 3px solid transparent; margin: 0 0 0 -1px; padding: 16px 0 16px 20px; font-size: 18px; }
.tabs.vertical .tab[aria-selected="true"] { border-left-color: var(--accent); background: linear-gradient(90deg, var(--surface), transparent); }
.band-surface .tabs.vertical .tab[aria-selected="true"] { background: var(--bg); }
@media (max-width: 960px) {
  .tabs.vertical { display: grid; grid-template-columns: 1fr 1fr; border-left: 0; border-bottom: 1px solid var(--line); }
  .tabs.vertical .tab { border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -1px; padding: 12px 8px 12px 0; font-size: 16px; }
  .tabs.vertical .tab[aria-selected="true"] { border-bottom-color: var(--accent); background: none; }
}

/* Explorer (tabs + panel) */
.explorer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.explorer > * { min-width: 0; }
.ex-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; }
.ex-panel > * { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line); padding: 6px 10px; background: var(--bg); }
.ex-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ex-list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); display: flex; gap: 14px; }
.ex-list li:first-child { border-top: 1px solid var(--line); }
.ex-list li::before { content: ""; width: 10px; height: 2px; background: var(--accent); margin-top: 12px; flex: none; }
@media (max-width: 960px) { .explorer { grid-template-columns: 1fr; gap: 24px; } .ex-panel { grid-template-columns: 1fr; } }

/* Diagrams */
.diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.diagram { display: block; width: 100%; height: auto; }
.diagram.only-narrow, .load-chart svg.only-narrow { display: none; }
@media (max-width: 820px) { .diagram.only-wide, .load-chart svg.only-wide { display: none; } .diagram.only-narrow, .load-chart svg.only-narrow { display: block; } }
.diagram text { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; fill: var(--ink-muted); }
.diagram .t-strong { fill: var(--ink); font-weight: 500; }
.diagram .stroke { stroke: var(--ink); fill: none; stroke-width: 2; }
.diagram .fill-bg { fill: var(--bg); }
.band-surface .diagram .fill-bg { fill: var(--surface); }
.diagram .flow { stroke: var(--accent); stroke-width: 3; fill: none; stroke-dasharray: 10 12; animation: flow 1.4s linear infinite; }
.diagram .contract { stroke: var(--ink-muted); stroke-width: 1.5; fill: none; stroke-dasharray: 3 6; }
.diagram .seg { transition: opacity .35s ease; }
.diagram[data-active] .seg { opacity: var(--dim); }
.diagram[data-active="1"] .seg-1, .diagram[data-active="2"] .seg-2, .diagram[data-active="3"] .seg-3, .diagram[data-active="4"] .seg-4 { opacity: 1; }
.diagram .hit { fill: transparent; cursor: pointer; }
@keyframes flow { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .diagram .flow, .cc .gas, .cc .steam, .cc .water { animation: none; } }
.scroll-hint { display: none; }
@media (max-width: 700px) { .scroll-hint { display: block; margin-top: 8px; } }
.chain { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.chain > * { min-width: 0; }
.chain-text { display: flex; flex-direction: column; gap: 16px; }
.counter { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--ink-muted); }
@media (max-width: 960px) { .chain { grid-template-columns: 1fr; gap: 24px; } }

/* Load curve */
.load { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.load > * { min-width: 0; }
.load-chart { position: relative; }
.load-chart svg { display: block; width: 100%; height: auto; touch-action: none; }
.load-chart text { font-family: var(--font-mono); font-size: 12px; fill: var(--ink-muted); letter-spacing: .04em; }
.load-chart .grid line { stroke: var(--line); stroke-width: 1; }
.load-chart .curve { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.load-chart .band { transition: opacity .35s ease; }
.load-chart .b-base { fill: var(--navy); }
.load-chart .b-mid { fill: #8FA0BA; }
.load-chart .b-peak { fill: var(--copper); }
.load-chart[data-focus="base"] .b-mid, .load-chart[data-focus="base"] .b-peak,
.load-chart[data-focus="mid"] .b-base, .load-chart[data-focus="mid"] .b-peak,
.load-chart[data-focus="peak"] .b-base, .load-chart[data-focus="peak"] .b-mid { opacity: .15; }
.load-chart .cursor { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.load-chart .dot { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.readout { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 16px; border-top: 1px solid var(--line); margin-top: 20px; }
.readout > div { padding: 14px 0 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.readout .v { font-family: var(--font-mono); font-size: 20px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.readout .k { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.sw { width: 10px; height: 10px; flex: none; }
.sw.base { background: var(--navy); } .sw.mid { background: #8FA0BA; } .sw.peak { background: var(--copper); }
.focus-btns { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.focus-btn { appearance: none; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 16px 0; cursor: pointer; display: grid; grid-template-columns: 14px 1fr; gap: 6px 14px; color: var(--ink); font-family: var(--font-text); }
.focus-btn .sw { margin-top: 6px; }
.focus-btn strong { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.focus-btn span.d { grid-column: 2; color: var(--ink-muted); font-size: 15px; line-height: 1.45; }
.focus-btn:hover strong, .focus-btn[aria-pressed="true"] strong { color: var(--accent-text); }
.focus-btn[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
@media (max-width: 960px) { .load { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 820px) { .readout { grid-template-columns: repeat(3, minmax(0, 1fr)); } .readout > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 460px) { .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); } .readout > div:first-child { grid-column: 1 / -1; } }

/* Combined cycle */
.cc-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.cc-wrap > * { min-width: 0; }
.mode { display: inline-flex; border: 1px solid var(--line); margin-bottom: 20px; }
.mode button { appearance: none; border: 0; background: transparent; padding: 10px 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); cursor: pointer; }
.mode button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.cc .part { transition: opacity .3s ease; cursor: pointer; }
.cc[data-active] .part { opacity: var(--dim); }
.cc[data-active="1"] .p1, .cc[data-active="2"] .p2, .cc[data-active="3"] .p3, .cc[data-active="4"] .p4, .cc[data-active="5"] .p5, .cc[data-active="6"] .p6, .cc[data-active="7"] .p7, .cc[data-active="8"] .p8 { opacity: 1; }
.cc .metal { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; }
.band-surface .cc .metal { fill: var(--surface); }
.cc .blade { stroke: var(--ink); stroke-width: 1.2; fill: none; }
.cc .hot { fill: var(--copper); }
.cc .shaft { fill: var(--ink); }
.cc .gas { stroke: var(--copper); stroke-width: 2.5; fill: none; stroke-dasharray: 8 10; animation: flow 1s linear infinite; }
.cc .steam { stroke: var(--navy); stroke-width: 2.5; fill: none; stroke-dasharray: 8 10; animation: flow 1.2s linear infinite; }
.cc .water { stroke: #8FA0BA; stroke-width: 2.5; fill: none; stroke-dasharray: 4 8; animation: flow 1.6s linear infinite; }
.cc .num-bg { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; }
.band-surface .cc .num-bg { fill: var(--surface); }
.cc .num { fill: var(--ink); font-weight: 500; }
.cc .steamside { transition: opacity .4s ease; }
.cc.simple .steamside { opacity: .1 !important; pointer-events: none; }
.cc .bypass { opacity: 0; transition: opacity .4s ease; }
.cc.simple .bypass { opacity: 1; }
.cc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); margin-top: 20px; }
.cc-stats > div { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.cc-stats .v { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.st-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.st-btn { appearance: none; border: 1px solid var(--line); background: var(--bg); color: var(--ink-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; padding: 8px 11px; cursor: pointer; border-radius: 0; }
.st-btn:hover { color: var(--ink); border-color: var(--ink-muted); }
.st-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.st-btn:disabled { opacity: .35; cursor: default; }
.side-panel { border-top: 4px solid var(--accent); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 960px) { .cc-wrap { grid-template-columns: 1fr; gap: 24px; } }

/* Audience */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.aud > a { text-decoration: none; padding: 28px 28px 32px 0; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); min-width: 0; transition: background-color .2s ease; }
.aud > a + a { padding-left: 28px; }
.aud > a:last-child { border-right: 0; }
.aud > a:hover h3 { color: var(--accent-text); }
.aud > a .link { margin-top: auto; padding-top: 12px; }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } .aud > a, .aud > a + a { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* Regions band */
.region-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.region-row > div { padding: 20px 20px 4px 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; border-right: 1px solid var(--line); }
.region-row > div + div { padding-left: 20px; }
.region-row > div:last-child { border-right: 0; }
.region-row strong { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); }
@media (max-width: 860px) { .region-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .region-row > div, .region-row > div + div { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.project { display: flex; flex-direction: column; background: var(--surface); min-width: 0; }
.project .visual { aspect-ratio: 16 / 9; max-width: 100%; background: var(--paper); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.project .visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.project .body-p { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.project dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.project dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding-top: 2px; }
.project dd { margin: 0; font-size: 15px; color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line); padding: 5px 10px; align-self: flex-start; background: var(--bg); }
.chip::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; } }

/* Stage tracker */
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.stage { padding: 22px 20px 0 0; border-top: 4px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stage.done { border-top-color: var(--ink); }
.stage.now { border-top-color: var(--accent); }
.stage .n { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--ink-muted); }
.stage.now .n, .stage .marker { color: var(--accent-text); }
.stage h3 { font-size: 18px; font-weight: 700; }
.stage p { font-size: 15px; color: var(--ink-muted); }
.stage .marker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr; } .stage { border-top: 0; border-left: 4px solid var(--line); padding: 4px 0 24px 20px; } .stage.done { border-left-color: var(--ink); } .stage.now { border-left-color: var(--accent); } }

/* Capability index */
.cap-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 64px; align-items: start; }
.cap-index { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.cap-index a { text-decoration: none; color: var(--ink-muted); padding: 10px 0 10px 18px; margin-left: -1px; border-left: 3px solid transparent; font-weight: 500; font-size: 15px; }
.cap-index a:hover { color: var(--ink); }
.cap-index a.active { color: var(--ink); border-left-color: var(--accent); }
.cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.cap:first-child { border-top: 0; padding-top: 0; }
.cap > * { min-width: 0; }
@media (max-width: 960px) { .cap-layout { grid-template-columns: 1fr; gap: 32px; } .cap-index { display: none; } .cap { grid-template-columns: 1fr; } }

/* Group structure */
.group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.group > * { min-width: 0; }
.org { display: flex; flex-direction: column; }
.org .node { border: 1px solid var(--line); padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; background: var(--bg); }
.org .node.top { align-self: center; min-width: min(320px, 100%); text-align: center; }
.org .node.self { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.org .node strong { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.org .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; padding-top: 28px; }
.org .row::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 28px; border: 1px solid var(--ink-muted); border-bottom: 0; }
.org .stem { width: 1px; height: 0; }
@media (max-width: 860px) { .group { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) {
  .org .node.top { align-self: stretch; text-align: left; min-width: 0; }
  .org .row { grid-template-columns: 1fr; gap: 16px; padding: 16px 0 0 32px; }
  .org .row::before { display: none; }
  .org .row > .node { position: relative; }
  .org .row > .node::before { content: ""; position: absolute; left: -19px; top: -17px; width: 18px; height: calc(50% + 17px); border-left: 1px solid var(--ink-muted); border-bottom: 1px solid var(--ink-muted); }
  .org .row > .node:not(:last-child)::after { content: ""; position: absolute; left: -19px; top: 50%; bottom: -17px; border-left: 1px solid var(--ink-muted); }
}

/* Team */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.leader { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; min-width: 0; }
.leader > * { min-width: 0; }
.photo { aspect-ratio: 4 / 5; max-width: 100%; background: var(--surface); overflow: hidden; position: relative; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); transition: filter .4s ease, transform .6s ease; }
.leader:hover .photo img, .member:hover .photo img { filter: none; transform: scale(1.02); }
.photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--copper); }
.role { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.person-text { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.person-text p { color: var(--ink-muted); font-size: 15px; }
.members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.member { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.member .row-end { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.member .open-slot { aspect-ratio: 4 / 5; max-width: 100%; border: 1px dashed var(--line); display: flex; align-items: flex-end; padding: 20px; background: var(--bg); }
@media (max-width: 1000px) { .leaders { grid-template-columns: 1fr; } .members { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 520px) { .leader { grid-template-columns: 1fr; } .members { grid-template-columns: 1fr; } }

/* Contact */
.contact-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 48px); background: var(--surface); }
.band-surface .contact-card { background: var(--bg); }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.email { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.copy-btn { appearance: none; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-height: 40px; padding: 0 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); }
.copy-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); min-height: 1em; }

/* Layout helpers */
.cta, .split { display: grid; gap: 32px 64px; }
.cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.cta > *, .split > * { min-width: 0; }
@media (max-width: 860px) { .cta, .split { grid-template-columns: 1fr; } }
.statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; max-width: 30ch; color: var(--ink); text-wrap: balance; }
.statement em { font-style: normal; color: var(--accent-text); }
.prose { max-width: 68ch; color: var(--ink-muted); }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; }
.prose strong { color: var(--ink); }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding-block: 64px 32px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: 48px; }
.foot-top > * { min-width: 0; }
.foot-brand svg { height: 28px; width: auto; }
.foot-desc { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .22em; }
.foot-desc::before { content: ""; width: 40px; height: 4px; background: var(--ember); }
.site-footer .small { color: var(--on-navy-muted); }
.site-footer h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--ember); }
.foot-rules { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.foot-rules span { display: block; background: var(--navy-line); }
.foot-rules span:nth-child(1) { height: 1px; } .foot-rules span:nth-child(2) { height: 2px; } .foot-rules span:nth-child(3) { height: 4px; width: 64px; background: var(--ember); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-navy-muted); }
.foot-base a { font-size: 13px; color: var(--on-navy-muted); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Virtual pipeline (fuel logistics) ---------- */
.vp[data-fuel="cng"] .f-lng, .vp[data-fuel="lng"] .f-cng,
.vp[data-route="land"] .r-sea, .vp[data-route="land"] .r-pipe,
.vp[data-route="sea"] .r-land, .vp[data-route="sea"] .r-pipe,
.vp[data-route="pipe"] .r-land, .vp[data-route="pipe"] .r-sea, .vp[data-route="pipe"] .f-lng, .vp[data-route="pipe"] .f-cng,
.vp:not([data-route="pipe"]) .pipe-note { display: none; }
.vp[data-route="pipe"] .fuel-ctl .mode { opacity: .35; pointer-events: none; }
.pipe-note { font-size: 13px; color: var(--ink-muted); }
.vp-svg .duct { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; }
.vp-controls { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin-bottom: 24px; }
.vp-ctl { display: flex; align-items: center; gap: 14px; }
.vp-ctl .mode { margin: 0; }
.vp-ctl .mode button { min-width: 72px; }
.vp-figure { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 8px; }
.vp-svg { display: block; width: 100%; height: auto; }
.vp-svg.only-narrow { display: none; }
@media (max-width: 900px) { .vp-svg.only-wide { display: none; } .vp-svg.only-narrow { display: block; } }
.vp-svg .m { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.band-surface .vp-svg .m { fill: var(--surface); }
.vp-svg .ln { stroke: var(--ink); stroke-width: 1.2; fill: none; }
.vp-svg .cu { fill: var(--copper); }
.vp-svg .cold { fill: #8FA0BA; }
.vp-svg .glass { fill: #B9C4D6; }
.vp-svg .wheel { fill: var(--ink); }
.vp-svg .ground { stroke: var(--line); stroke-width: 2; }
.vp-svg .road { fill: var(--mist); }
.vp-svg .lane { stroke: var(--white); stroke-width: 2; stroke-dasharray: 10 10; }
.vp-svg .sea { fill: #D5DFEB; }
.vp-svg .wave { stroke: var(--white); stroke-width: 2; fill: none; stroke-linecap: round; }
.vp-svg .pipe { stroke: var(--copper); stroke-width: 3; fill: none; stroke-dasharray: 9 9; animation: flow 1.2s linear infinite; }
.vp-svg .cargo { stroke: var(--ink); stroke-width: 1.5; fill: var(--copper); animation: cargo 7s ease-in-out infinite; }
.vp-svg .veh { animation: shuttle 7s ease-in-out infinite; }
@keyframes shuttle { 0%, 8% { transform: translateX(0); } 44%, 56% { transform: translateX(var(--d)); } 92%, 100% { transform: translateX(0); } }
@keyframes cargo { 0%, 47% { fill: var(--copper); } 50%, 97% { fill: var(--mist); } 100% { fill: var(--copper); } }
.vp-svg .lbl { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; fill: var(--ink-muted); }
.vp-svg .lbl.n { fill: var(--accent-text); font-weight: 500; }
.vp-svg .num-bg { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; }
.vp-svg .num { font-family: var(--font-mono); font-size: 14px; fill: var(--ink); font-weight: 500; }
.vp-svg .vp-node { cursor: pointer; }
.vp-svg .vp-node * { transition: stroke .3s ease, fill .3s ease; }
.vp-svg .vp-node:not(.on):not(:hover) .m, .vp-svg .vp-node:not(.on):not(:hover) .ln, .vp-svg .vp-node:not(.on):not(:hover) .num-bg { stroke: #B9C4D6; }
.vp-svg .vp-node:not(.on):not(:hover) .lbl, .vp-svg .vp-node:not(.on):not(:hover) .num { fill: #A3B0C4; }
.vp-svg .vp-node:not(.on):not(:hover) .wheel { fill: #A3B0C4; }
.vp-svg .vp-node.on .num-bg { fill: var(--navy); stroke: var(--navy); }
.vp-svg .vp-node.on .num { fill: var(--white); }
.vp-svg .vp-node.on .lbl { fill: var(--ink); font-weight: 500; }
.vp-svg .hit { fill: transparent; }
.vp-steps { margin-top: 16px; }
.vp-info { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 64px; margin-top: 32px; align-items: start; }
.vp-info > * { min-width: 0; }
.vp-detail > div { animation: vpIn .35s ease; }
@keyframes vpIn { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.vp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.vp-stats > div { border-top: 1px solid var(--line); padding: 14px 0 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vp-stats .v { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--ink); }
@media (max-width: 860px) { .vp-info { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .vp-stats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .vp-svg .pipe, .vp-svg .veh, .vp-svg .cargo, .vp-detail > div { animation: none; } }

/* ---------- Contact form ---------- */
.form-wrap { background: var(--surface); padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--accent); }
.cform { display: flex; flex-direction: column; gap: 20px; }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid #B9C4D6; border-radius: 4px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16, 39, 73, .12); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #B42318; }
.ferr { font-size: 13px; color: #B42318; min-height: 0; }
.ferr:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { background: #FEF3F2; border: 1px solid #F4C7C3; color: #912018; padding: 12px 14px; font-size: 15px; }
.btn.send[disabled] { opacity: .75; cursor: progress; }
.btn.send .spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sent { display: flex; flex-direction: column; gap: 22px; outline: none; animation: vpIn .4s ease; }
.sent-mark { width: 64px; height: 64px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.sent-mark svg { width: 40px; height: 40px; fill: none; stroke: var(--ember); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .6s .15s ease forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.sent-summary { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.sent-summary dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding-top: 2px; }
.sent-summary dd { margin: 0; color: var(--ink); }
.sent .btn { align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .sent-mark svg { animation: none; stroke-dashoffset: 0; } }
