/* ═══════════════════════════════════════════════════════════
   AEROVANIA — Field System design layer
   Applies to everything below each page's hero (heroes are untouched).
   Dark = the reference "field brief" palette; light follows the site toggle.
   Loads AFTER aerovania.css / redesign.css.
   ═══════════════════════════════════════════════════════════ */

.fx,
.fx-footer {
  --fx-bg: #f2f5f8;
  --fx-bg2: #e8eef3;
  --fx-panel: linear-gradient(180deg, #ffffff, #f7fafc);
  --fx-solid: #ffffff;
  --fx-line: #d4dee6;
  --fx-line2: #b3c4d1;
  --fx-ink: #07111f;
  --fx-tx: #3b5064;
  --fx-mut: #607b90;
  --fx-cyan: #007d93;
  --fx-violet: #5a3fd4;
  --fx-orange: #cf5419;
  --fx-good: #0a8f5b;
  --fx-glow: rgba(0, 125, 147, .08);
  --fx-glow2: rgba(207, 84, 25, .07);
  --fx-shadow: 0 1px 2px rgba(7, 17, 31, .05), 0 12px 32px -18px rgba(7, 17, 31, .18);
  --fx-grad: linear-gradient(100deg, #007d93 0%, #5a3fd4 52%, #cf5419 100%);
  --fx-sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --fx-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;
  --fx-max: 1240px;
}

html[data-theme="dark"] .fx,
html[data-theme="dark"] .fx-footer {
  --fx-bg: #07111f;
  --fx-bg2: #091625;
  --fx-panel: linear-gradient(180deg, rgba(14, 33, 53, .72), rgba(9, 22, 37, .55));
  --fx-solid: #0b1829;
  --fx-line: #1b3045;
  --fx-line2: #294862;
  --fx-ink: #f7fbff;
  --fx-tx: #a7bccb;
  --fx-mut: #7b9ab0;
  --fx-cyan: #6df7ff;
  --fx-violet: #9976ff;
  --fx-orange: #ff8c52;
  --fx-good: #5dffb0;
  --fx-glow: rgba(109, 247, 255, .09);
  --fx-glow2: rgba(255, 140, 82, .08);
  --fx-shadow: none;
  --fx-grad: linear-gradient(100deg, #6df7ff 0%, #9976ff 52%, #ff8c52 100%);
}

/* ── Base ─────────────────────────────────────────────────── */
.fx {
  position: relative;
  background: var(--fx-bg);
  color: var(--fx-tx);
  font-family: var(--fx-sans);
  overflow: hidden;
  overflow: clip; /* clip keeps position:sticky working */
  isolation: isolate;
}

.fx::before,
.fx::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.fx::before { top: -260px; right: -280px; background: radial-gradient(closest-side, var(--fx-glow), transparent); }
.fx::after { bottom: -300px; left: -320px; background: radial-gradient(closest-side, var(--fx-glow2), transparent); }

.fx *,
.fx *::before,
.fx *::after { box-sizing: border-box; }

/* neutralise legacy skins (aerovania.css / redesign.css) inside the new layer */
body .fx section,
body.rd main .fx section,
body.rd main .fx section.fx-section { padding: 0; background: transparent; border: 0; }

body .fx :is(h1, h2, h3, h4),
body.rd main .fx :is(h1, h2, h3, h4) {
  font-family: var(--fx-sans) !important;
  color: var(--fx-ink) !important;
  margin: 0;
  letter-spacing: -.025em;
}

body .fx :is(p, li, td, th, dd, label),
body.rd main .fx :is(p, li, td, th, dd, label) { color: inherit !important; }

:where(.fx) p { margin: 0; line-height: 1.7; }
:where(.fx) :is(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.fx) a { color: inherit; }
.fx :focus-visible { outline: 2px solid var(--fx-cyan); outline-offset: 3px; }

.fx-wrap { width: 100%; max-width: var(--fx-max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

body .fx .fx-section,
body.rd main .fx section.fx-section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  border-top: 1px solid var(--fx-line);
}

body .fx .fx-section.fx-tight,
body.rd main .fx section.fx-section.fx-tight { padding: clamp(48px, 6vw, 80px) 0; }

body .fx .fx-section.fx-alt,
body.rd main .fx section.fx-section.fx-alt { background: var(--fx-bg2); }

/* (.fx-gridbg sections used to draw a grid backdrop; removed 2026-10-15 at the user's request) */

/* ── Reveal delays (reveal itself comes from aerovania.css) ── */
.fx .reveal { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.fx .d1 { transition-delay: .1s; }
.fx .d2 { transition-delay: .2s; }
.fx .d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .fx .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Typography ───────────────────────────────────────────── */
.fx-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 12px/1.2 var(--fx-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fx-mut);
}

.fx-kicker span:first-child { color: var(--fx-cyan); }
.fx-kicker i { display: block; width: 56px; height: 1px; background: linear-gradient(90deg, var(--fx-cyan), transparent); flex: none; }

.fx-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--fx-line);
}

.fx-head .fx-statement { max-width: 24ch; text-align: right; }
.fx-head .fx-note { max-width: 46ch; color: var(--fx-mut); font-size: 15px; }

body .fx .fx-statement {
  font-size: clamp(24px, 2.8vw, 38px) !important;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.03em;
}

body .fx .fx-display {
  font-size: clamp(40px, 6.2vw, 92px) !important;
  line-height: .96;
  font-weight: 600;
  letter-spacing: -.045em;
}

body .fx .fx-display.sm { font-size: clamp(34px, 4.6vw, 64px) !important; }

.fx-display span,
.fx-statement span,
.fx-grad {
  color: var(--fx-cyan);
}

.fx em { font-style: normal; color: var(--fx-cyan); }

.fx-lead { font-size: clamp(19px, 1.7vw, 23px) !important; line-height: 1.5 !important; color: var(--fx-ink) !important; letter-spacing: -.01em; }
.fx-body { font-size: 16px; max-width: 58ch; }
.fx-muted { color: var(--fx-mut) !important; font-size: 13.5px; }
.fx-mono { font-family: var(--fx-mono); }
.fx .fx-link { color: var(--fx-cyan); text-decoration: none; border-bottom: 1px solid currentColor; }

.fx-stack > * + * { margin-top: 20px; }

/* ── Layouts ──────────────────────────────────────────────── */
.fx-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 96px); align-items: start; margin-top: 40px; }
.fx-split.mid { align-items: center; }
.fx-split.even { grid-template-columns: 1fr 1fr; }
.fx-split.lean-r { grid-template-columns: .85fr 1.15fr; }
.fx-split > * { min-width: 0; }
.fx-grid { display: grid; gap: 18px; }
.fx-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.fx-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.fx-grid.c4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1020px) {
  .fx-grid.c3, .fx-grid.c4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .fx-split, .fx-split.even, .fx-split.lean-r { grid-template-columns: 1fr; }
  .fx-split [style*="sticky"] { position: static !important; }
  .fx-head .fx-statement { text-align: left; }
}

@media (max-width: 620px) {
  .fx-grid.c2, .fx-grid.c3, .fx-grid.c4 { grid-template-columns: 1fr; }
}

/* ── Stats ────────────────────────────────────────────────── */
.fx-stats { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border-top: 1px solid var(--fx-line); margin-top: 40px; }
.fx-stats > div { padding: 22px 20px 0 0; }
.fx-stats > div + div { padding-left: 20px; border-left: 1px solid var(--fx-line); }
.fx-stats strong { display: block; font: 600 clamp(32px, 3.6vw, 52px)/1 var(--fx-sans); letter-spacing: -.04em; color: var(--fx-ink); }
.fx-stats span { display: block; margin-top: 10px; font: 500 11px/1.5 var(--fx-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fx-mut); }

.fx-stats.boxed { margin-top: 0; border: 1px solid var(--fx-line); background: var(--fx-panel); }
.fx-stats.boxed > div { padding: 28px 24px; }
.fx-stats.boxed > div + div { padding-left: 24px; }

@media (max-width: 620px) {
  .fx-stats { grid-template-columns: 1fr 1fr; }
  .fx-stats > div:nth-child(odd) { padding-left: 0 !important; border-left: 0 !important; }
  .fx-stats > div { padding-bottom: 18px; }
}

/* ── Cards (reference: system-card) ───────────────────────── */
.fx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--fx-line);
  background: var(--fx-panel);
  box-shadow: var(--fx-shadow);
  border-radius: 4px;
  transition: border-color .35s, transform .35s cubic-bezier(.2, .7, .2, 1), background .35s;
}

.fx-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: var(--fx-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.fx-card:hover { border-color: var(--fx-line2); transform: translateY(-4px); }
.fx-card:hover::after { transform: scaleX(1); }

.fx-card .fx-idx { display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1.3 var(--fx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fx-mut); }
.fx-card .fx-idx b { font-weight: 500; color: var(--fx-cyan); }

body .fx .fx-card h3 { font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.08; font-weight: 600; }
body .fx .fx-card h4 { font-size: 18px !important; line-height: 1.2; font-weight: 600; }
.fx-card p { font-size: 15px; }

.fx-card .fx-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--fx-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: 500 11px/1.4 var(--fx-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fx-mut);
}

.fx-card .fx-foot a { color: var(--fx-cyan); text-decoration: none; }

.fx-card.feature { border-color: var(--fx-cyan); }
.fx-card.feature::after { transform: scaleX(1); }

.fx-card.span2 { grid-column: span 2; }
@media (max-width: 620px) { .fx-card.span2 { grid-column: auto; } }

.fx-flag {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 22px;
  transform: translateY(-50%);
  font: 600 10px/1 var(--fx-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 10px;
  color: var(--fx-bg);
  background: var(--fx-cyan);
}

/* line icon block */
.fx-ico {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fx-line2);
  color: var(--fx-cyan);
  flex: none;
}

.fx-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fx-ico .o { stroke: var(--fx-orange); }

/* meta strip inside cards */
.fx-meta { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1px; background: var(--fx-line); border: 1px solid var(--fx-line); }
.fx-meta > div { padding: 12px 14px; background: var(--fx-solid); min-width: 0; }
.fx-meta span { display: block; font: 500 9.5px/1.3 var(--fx-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fx-mut); }
.fx-meta strong { display: block; margin-top: 4px; font-size: 15.5px; font-weight: 600; color: var(--fx-ink); letter-spacing: -.02em; }
.fx-grid.c3 .fx-meta[style*="--n:4"] { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .fx-meta { grid-template-columns: 1fr 1fr; } .fx-meta > div:last-child:nth-child(odd) { grid-column: span 2; } }

/* ── Lists ────────────────────────────────────────────────── */
.fx-list li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--fx-line); font-size: 14.5px; line-height: 1.5; }
.fx-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 1px; background: var(--fx-cyan); }
.fx-list li::after { content: ""; position: absolute; left: 10px; top: 16px; width: 4px; height: 7px; border-right: 1px solid var(--fx-cyan); border-bottom: 1px solid var(--fx-cyan); transform: rotate(-45deg); display: none; }
.fx-list.check li::before { width: 6px; height: 11px; top: 13px; left: 4px; background: none; border-right: 1.5px solid var(--fx-cyan); border-bottom: 1.5px solid var(--fx-cyan); transform: rotate(40deg); }

.fx-olist { counter-reset: fxo; }
.fx-olist li { counter-increment: fxo; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--fx-line); font-size: 14px; }
.fx-olist li::before { content: counter(fxo, decimal-leading-zero); font: 500 11px/1.9 var(--fx-mono); color: var(--fx-cyan); letter-spacing: .08em; }

/* ── Tags ─────────────────────────────────────────────────── */
.fx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-tags span,
.fx-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 10.5px/1 var(--fx-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 8px 11px;
  border: 1px solid var(--fx-line2);
  color: var(--fx-tx);
}

.fx-tag.ok { color: var(--fx-good); border-color: color-mix(in srgb, var(--fx-good) 45%, transparent); }
.fx-tag.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.fx-tag.warn { color: var(--fx-orange); border-color: color-mix(in srgb, var(--fx-orange) 50%, transparent); }
.fx-tag.cy { color: var(--fx-cyan); border-color: color-mix(in srgb, var(--fx-cyan) 45%, transparent); }
.fx-tag.vi { color: var(--fx-violet); border-color: color-mix(in srgb, var(--fx-violet) 50%, transparent); }

/* ── Buttons ──────────────────────────────────────────────── */
.fx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  font: 600 14.5px/1 var(--fx-sans);
  letter-spacing: -.005em;
  text-decoration: none;
  border: 1px solid var(--fx-line2);
  color: var(--fx-ink) !important;
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}

.fx-btn span { font-family: var(--fx-mono); transition: transform .25s; }
.fx-btn:hover { border-color: var(--fx-cyan); }
.fx-btn:hover span { transform: translate(3px, -3px); }
.fx-btn.primary { background: var(--fx-ink); border-color: var(--fx-ink); color: var(--fx-bg) !important; }
.fx-btn.primary:hover { background: var(--fx-cyan); border-color: var(--fx-cyan); color: #07111f !important; }
.fx-btn.orange { background: var(--fx-orange); border-color: var(--fx-orange); color: #07111f !important; }
.fx-btn.orange:hover { filter: brightness(1.08); }
.fx-btn.block { width: 100%; }

html[data-theme="dark"] .fx-btn.primary { background: var(--fx-cyan); border-color: var(--fx-cyan); color: #07111f !important; }
html[data-theme="dark"] .fx-btn.primary:hover { background: #f7fbff; border-color: #f7fbff; }

/* ── Rows (reference: sector-list) ────────────────────────── */
.fx-rows { border-bottom: 1px solid var(--fx-line); }

.fx-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.25fr) 40px;
  gap: 24px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--fx-line);
  transition: background .35s;
}

.fx-row::before {
  content: "";
  position: absolute;
  inset: 0 -100vmax;
  z-index: -1;
  background: var(--fx-glow);
  opacity: 0;
  transition: opacity .35s;
}

.fx-row:hover::before { opacity: 1; }
.fx-row .fx-num { font: 500 13px/1.6 var(--fx-mono); color: var(--fx-cyan); letter-spacing: .1em; }
.fx-row .fx-name span { display: block; margin-bottom: 10px; font: 500 11px/1.3 var(--fx-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--fx-mut); }
body .fx .fx-row h3 { font-size: clamp(24px, 2.4vw, 34px) !important; line-height: 1.02; font-weight: 600; }
.fx-row p { font-size: 15.5px; }
.fx-row .fx-row-body > * + * { margin-top: 16px; }
.fx-row .fx-arrow { font: 400 22px/1 var(--fx-mono); color: var(--fx-mut); transition: transform .35s, color .35s; justify-self: end; }
.fx-row:hover .fx-arrow { color: var(--fx-cyan); transform: rotate(45deg); }

@media (max-width: 820px) {
  .fx-row { grid-template-columns: 48px 1fr; gap: 14px 18px; padding: 28px 0; }
  .fx-row .fx-row-body { grid-column: 2; }
  .fx-row .fx-arrow { display: none; }
}

/* ── Mission board (always reads as a dark instrument panel) ─ */
.fx-board {
  /* the board is an instrument panel: always dark, whatever the site theme */
  --fx-bg: #07111f;
  --fx-bg2: #091625;
  --fx-panel: linear-gradient(180deg, rgba(14, 33, 53, .72), rgba(9, 22, 37, .55));
  --fx-solid: #0b1829;
  --fx-line: #1b3045;
  --fx-line2: #294862;
  --fx-ink: #f7fbff;
  --fx-tx: #a7bccb;
  --fx-mut: #7b9ab0;
  --fx-cyan: #6df7ff;
  --fx-violet: #9976ff;
  --fx-orange: #ff8c52;
  --fx-good: #5dffb0;
  --fx-glow: rgba(109, 247, 255, .07);
  --b-line: #1e3850;
  --b-ink: #f7fbff;
  --b-tx: #a7bccb;
  --b-mut: #6f8fa6;
  position: relative;
  background: #08131f;
  border: 1px solid #22405a;
  color: var(--b-tx);
  box-shadow: 0 40px 80px -40px rgba(4, 12, 24, .55);
}

.fx-board-top,
.fx-board-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  font: 500 11px/1.3 var(--fx-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--b-mut);
}

.fx-board-top { border-bottom: 1px solid var(--b-line); }
.fx-board-top > span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--b-ink); }

.fx-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5dffb0;
  box-shadow: 0 0 0 0 rgba(93, 255, 176, .6);
  animation: fxPulse 2s infinite;
}

@keyframes fxPulse {
  70% { box-shadow: 0 0 0 9px rgba(93, 255, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(93, 255, 176, 0); }
}

.fx-board-body { padding: clamp(20px, 3vw, 36px); }
.fx-board-bottom { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); padding: 0; border-top: 1px solid var(--b-line); }
.fx-board-bottom > div { padding: 16px 20px; }
.fx-board-bottom > div + div { border-left: 1px solid var(--b-line); }
.fx-board-bottom strong { display: block; margin-top: 6px; font: 600 16px/1.2 var(--fx-sans); letter-spacing: -.01em; text-transform: none; color: var(--b-ink); }
.fx-board-bottom .good { color: #5dffb0; }
.fx-board svg { display: block; width: 100%; height: auto; }

body .fx .fx-board :is(h3, h4) { color: var(--b-ink) !important; }
.fx-board .fx-muted { color: var(--b-mut) !important; }

@media (max-width: 620px) {
  .fx-board-bottom { grid-template-columns: 1fr; }
  .fx-board-bottom > div + div { border-left: 0; border-top: 1px solid var(--b-line); }
}

/* ── Tables ───────────────────────────────────────────────── */
.fx-table-wrap { overflow-x: auto; border: 1px solid var(--fx-line); background: var(--fx-panel); -webkit-overflow-scrolling: touch; }
.fx-board .fx-table-wrap { border: 0; background: transparent; }

.fx-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 680px; }
.fx-table th { text-align: left; padding: 16px 18px; font: 500 10.5px/1.3 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-mut) !important; border-bottom: 1px solid var(--fx-line2); white-space: nowrap; }
.fx-table td { padding: 16px 18px; border-bottom: 1px solid var(--fx-line); vertical-align: top; line-height: 1.55; }
.fx-table tr:last-child td { border-bottom: 0; }
.fx-table tbody tr { transition: background .25s; }
.fx-table tbody tr:hover { background: var(--fx-glow); }
.fx-table td:first-child { color: var(--fx-ink) !important; font-weight: 600; }
.fx-table .amt { font-weight: 600; color: var(--fx-ink) !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fx-table .hi { color: var(--fx-cyan) !important; font-weight: 600; }
.fx-table .no { color: var(--fx-mut) !important; }
.fx-table .col-hl { background: color-mix(in srgb, var(--fx-cyan) 6%, transparent); }

.fx-board .fx-table th { color: var(--b-mut) !important; border-color: #2a4a66; }
.fx-board .fx-table td { border-color: var(--b-line); color: var(--b-tx) !important; }
.fx-board .fx-table td:first-child,
.fx-board .fx-table .amt { color: var(--b-ink) !important; }
.fx-board .fx-table .hi { color: #6df7ff !important; }
.fx-board .fx-table tbody tr:hover { background: rgba(109, 247, 255, .05); }
.fx-board .fx-tag { border-color: #2a4a66; color: var(--b-tx); }
.fx-board .fx-tag.ok { color: #5dffb0; border-color: rgba(93, 255, 176, .4); }
.fx-board .fx-tag.cy { color: #6df7ff; border-color: rgba(109, 247, 255, .4); }

/* ── Process line (reference: process-line) ───────────────── */
.fx-process { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 40px 0; margin-top: 56px; }
.fx-step { position: relative; padding: 30px 24px 8px 0; border-top: 1px solid var(--fx-line2); }
.fx-step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--fx-bg); border: 1px solid var(--fx-cyan); transform: rotate(45deg); }
.fx-step:hover::before { background: var(--fx-cyan); }
.fx-step > span { display: block; font: 500 11px/1 var(--fx-mono); letter-spacing: .16em; color: var(--fx-cyan); text-transform: uppercase; }
.fx-step strong { display: block; margin: 14px 0 8px; font-size: 20px; font-weight: 600; color: var(--fx-ink); letter-spacing: -.02em; line-height: 1.2; }
.fx-step p { font-size: 14px; color: var(--fx-tx); }

@media (max-width: 1020px) { .fx-process { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 560px) { .fx-process { grid-template-columns: 1fr; } }

/* ── Timeline ─────────────────────────────────────────────── */
.fx-timeline { position: relative; }
.fx-timeline > div { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--fx-line); }
.fx-timeline > div:last-child { border-bottom: 1px solid var(--fx-line); }
.fx-timeline time { font: 500 13px/1.6 var(--fx-mono); color: var(--fx-cyan); letter-spacing: .06em; }
.fx-timeline h4 { font-size: 19px !important; font-weight: 600; margin-bottom: 6px !important; }
.fx-timeline p { font-size: 14.5px; }

/* ── Callout / note ───────────────────────────────────────── */
.fx-note-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--fx-line);
  border-left: 2px solid var(--fx-orange);
  background: var(--fx-panel);
  font-size: 14.5px;
}

.fx-note-box b:first-child { font: 500 10.5px/2 var(--fx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fx-orange); white-space: nowrap; }
.fx-note-box.cy { border-left-color: var(--fx-cyan); }
.fx-note-box.cy b:first-child { color: var(--fx-cyan); }
.fx-note-box strong { color: var(--fx-ink); }

@media (max-width: 560px) { .fx-note-box { grid-template-columns: 1fr; gap: 6px; } }

/* ── Accordion (details/summary) ──────────────────────────── */
.fx-acc { border-bottom: 1px solid var(--fx-line); }
.fx-acc details { border-top: 1px solid var(--fx-line); }
.fx-acc summary {
  list-style: none;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  gap: 16px;
  align-items: baseline;
  padding: 24px 0;
  cursor: pointer;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--fx-ink);
}

.fx-acc summary::-webkit-details-marker { display: none; }
.fx-acc summary > span:first-child { font: 500 11px/1 var(--fx-mono); letter-spacing: .14em; color: var(--fx-cyan); }
.fx-acc summary::after { content: "+"; font: 300 26px/1 var(--fx-mono); color: var(--fx-mut); text-align: right; transition: transform .3s; }
.fx-acc details[open] summary::after { transform: rotate(45deg); color: var(--fx-cyan); }
.fx-acc details > p { padding: 0 44px 26px 64px; font-size: 15.5px; max-width: 76ch; }

@media (max-width: 560px) {
  .fx-acc summary { grid-template-columns: 1fr 28px; }
  .fx-acc summary > span:first-child { display: none; }
  .fx-acc details > p { padding: 0 0 22px; }
}

/* ── Tabs ─────────────────────────────────────────────────── */
.fx-tablist { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--fx-line); margin-bottom: 28px; }

.fx-tablist button {
  all: unset;
  position: relative;
  cursor: pointer;
  padding: 14px 18px;
  font: 500 11.5px/1.2 var(--fx-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fx-mut);
  transition: color .2s;
}

.fx-tablist button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--fx-cyan); transform: scaleX(0); transition: transform .3s; }
.fx-tablist button:hover { color: var(--fx-ink); }
.fx-tablist button[aria-selected="true"] { color: var(--fx-ink); }
.fx-tablist button[aria-selected="true"]::after { transform: scaleX(1); }
.fx-tablist button:focus-visible { outline: 2px solid var(--fx-cyan); outline-offset: -2px; }

.fx-tablist.vertical { flex-direction: column; flex-wrap: nowrap; border-bottom: 0; border-left: 1px solid var(--fx-line); margin: 0; }
.fx-tablist.vertical button { padding: 20px 22px; font: 600 clamp(18px, 1.7vw, 22px)/1.15 var(--fx-sans); letter-spacing: -.02em; text-transform: none; }
.fx-tablist.vertical button small { display: block; margin-bottom: 8px; font: 500 10.5px/1 var(--fx-mono); letter-spacing: .16em; color: var(--fx-cyan); }
.fx-tablist.vertical button::after { left: -1px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(0); }
.fx-tablist.vertical button[aria-selected="true"]::after { transform: scaleY(1); }
.fx-tablist.vertical button[aria-selected="true"] { background: var(--fx-glow); }

@media (max-width: 820px) {
  .fx-tablist.vertical { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--fx-line); }
  .fx-tablist.vertical button { white-space: nowrap; font-size: 16px; padding: 14px 16px; }
  .fx-tablist.vertical button small { display: none; }
  .fx-tablist.vertical button::after { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 2px; transform: scaleX(0); }
  .fx-tablist.vertical button[aria-selected="true"]::after { transform: scaleX(1); }
}

.fx [role="tabpanel"][hidden] { display: none; }

/* ── Forms ────────────────────────────────────────────────── */
.fx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fx-form .full { grid-column: 1 / -1; }
.fx-field { display: flex; flex-direction: column; gap: 8px; }
.fx-field label { font: 500 10.5px/1.3 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-mut) !important; }

.fx-field :is(input, select, textarea) {
  width: 100%;
  padding: 14px 14px;
  font: 400 15px/1.4 var(--fx-sans);
  color: var(--fx-ink);
  background: var(--fx-solid);
  border: 1px solid var(--fx-line2);
  border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.fx-field select { background-image: linear-gradient(45deg, transparent 50%, var(--fx-mut) 50%), linear-gradient(135deg, var(--fx-mut) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.fx-field textarea { resize: vertical; min-height: 110px; }
.fx-field :is(input, select, textarea)::placeholder { color: var(--fx-mut); opacity: .75; }
.fx-field :is(input, select, textarea):focus { outline: none; border-color: var(--fx-cyan); box-shadow: 0 0 0 3px var(--fx-glow); }
html[data-theme="dark"] .fx-field input[type="date"] { color-scheme: dark; }

.fx-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; cursor: pointer; }
.fx-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fx-cyan); flex: none; }
.fx-form-note { margin-top: 14px; text-align: center; font: 500 11px/1.6 var(--fx-mono); letter-spacing: .08em; color: var(--fx-mut); }

@media (max-width: 620px) { .fx-form { grid-template-columns: 1fr; } }

/* ── Contact strip / info rows ────────────────────────────── */
.fx-info { border-top: 1px solid var(--fx-line); }
.fx-info > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding: 20px 0; border-bottom: 1px solid var(--fx-line); }
.fx-info span { font: 500 10.5px/1.3 var(--fx-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--fx-mut); }
.fx-info a,
.fx-info strong { font-size: 18px; font-weight: 500; color: var(--fx-ink); text-decoration: none; letter-spacing: -.01em; }
.fx-info a:hover { color: var(--fx-cyan); }
.fx-info p { grid-column: 1 / -1; font-size: 13.5px; color: var(--fx-mut); }

.fx-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.fx-hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--fx-line); font-size: 14px; }
.fx-hours b { font-weight: 500; color: var(--fx-ink); }
.fx-hours span { font-family: var(--fx-mono); font-size: 12.5px; color: var(--fx-mut); }

/* ── Batch slots ──────────────────────────────────────────── */
.fx-slot { display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: start; }
.fx-date { text-align: center; padding: 14px 0; border: 1px solid var(--fx-line2); }
.fx-date b { display: block; font: 600 34px/1 var(--fx-sans); letter-spacing: -.04em; color: var(--fx-ink); }
.fx-date span { display: block; margin-top: 6px; font: 500 10.5px/1 var(--fx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--fx-cyan); }

/* ── Person card ──────────────────────────────────────────── */
.fx-person-top { display: flex; align-items: center; gap: 18px; }

.fx-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--fx-line2);
  font: 500 15px/1 var(--fx-mono);
  letter-spacing: .06em;
  color: var(--fx-cyan);
}

.fx-avatar::before,
.fx-avatar::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1px solid var(--fx-cyan); }
.fx-avatar::before { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.fx-avatar::after { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }

.fx-role { display: block; margin-top: 6px; font: 500 10.5px/1.5 var(--fx-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fx-cyan); }

/* ── Price ────────────────────────────────────────────────── */
.fx-price { font: 600 clamp(38px, 4vw, 56px)/1 var(--fx-sans); letter-spacing: -.045em; color: var(--fx-ink); }
.fx-price small { display: block; margin-top: 10px; font: 500 11px/1.5 var(--fx-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fx-mut); }

/* ── Divisions flow (two cards + link) ────────────────────── */
.fx-flow { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: stretch; }
.fx-flow-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font: 500 10.5px/1.4 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-mut); text-align: center; }
.fx-flow-link i { flex: 1; width: 1px; background: repeating-linear-gradient(var(--fx-cyan) 0 6px, transparent 6px 12px); background-size: 1px 12px; animation: fxDash 1.2s linear infinite; }

@keyframes fxDash { to { background-position: 0 12px; } }

@media (max-width: 820px) {
  .fx-flow { grid-template-columns: 1fr; }
  .fx-flow-link { flex-direction: row; padding: 18px 0; }
  .fx-flow-link i { height: 1px; width: auto; background: repeating-linear-gradient(90deg, var(--fx-cyan) 0 6px, transparent 6px 12px); }
}

@media (prefers-reduced-motion: reduce) { .fx-flow-link i, .fx-live { animation: none; } }

/* ── Contour band ─────────────────────────────────────────── */
.fx-contour { position: relative; height: 120px; margin-top: clamp(48px, 7vw, 96px); pointer-events: none; }
.fx-contour svg { position: absolute; left: 0; width: 100%; height: 100%; }
.fx-contour path { fill: none; stroke: var(--fx-line2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fx-contour path:first-child { stroke: var(--fx-cyan); opacity: .5; }

/* ── Visual figure frame ──────────────────────────────────── */
.fx-figure { position: relative; border: 1px solid var(--fx-line); background: var(--fx-panel); padding: 20px; }
.fx-figure svg { display: block; width: 100%; height: auto; }
.fx-figure figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--fx-line); font: 500 10.5px/1.4 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-mut); }
.fx-figure figcaption b { font-weight: 500; color: var(--fx-cyan); }
.fx-figure .s-line { fill: none; stroke: var(--fx-line2); stroke-width: 1; }
.fx-figure .s-cy { fill: none; stroke: var(--fx-cyan); stroke-width: 1.5; }
.fx-figure .s-or { fill: none; stroke: var(--fx-orange); stroke-width: 1.5; }
.fx-figure .s-vi { fill: none; stroke: var(--fx-violet); stroke-width: 1.2; }
.fx-figure .f-cy { fill: var(--fx-cyan); }
.fx-figure .f-or { fill: var(--fx-orange); }
.fx-figure .f-bg { fill: var(--fx-solid); stroke: var(--fx-line2); }
.fx-figure text { font: 500 10px var(--fx-mono); letter-spacing: .14em; fill: var(--fx-mut); }

/* ── CTA card (reference: contact-card) ───────────────────── */
.fx-cta {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--fx-line2);
  background:
    radial-gradient(ellipse at 0% 100%, var(--fx-glow2), transparent 60%),
    radial-gradient(ellipse at 100% 0%, var(--fx-glow), transparent 55%),
    var(--fx-panel);
  overflow: hidden;
}

.fx-cta::before,
.fx-cta::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--fx-cyan); }
.fx-cta::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.fx-cta::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.fx-cta-art svg { width: 100%; height: auto; display: block; }
.fx-cta-art .s-cy { fill: none; stroke: var(--fx-cyan); stroke-width: 1.5; }
.fx-cta-art .s-vi { fill: none; stroke: var(--fx-violet); stroke-width: 1; opacity: .7; }
.fx-cta-art .s-or { fill: none; stroke: var(--fx-orange); stroke-width: 2; }
.fx-cta-art .f-cy { fill: var(--fx-cyan); }
.fx-cta-art .f-or { fill: var(--fx-orange); }
.fx-cta h2 { margin-top: 22px !important; font-size: clamp(34px, 4.4vw, 64px) !important; line-height: .98; font-weight: 600; letter-spacing: -.045em; }
.fx-cta h2 span { color: var(--fx-cyan); }
.fx-cta p { margin-top: 20px; max-width: 52ch; font-size: 17px; }

@media (max-width: 820px) {
  .fx-cta { grid-template-columns: 1fr; }
  .fx-cta-art { max-width: 340px; }
}

/* ── Footer (reference: site-footer) ──────────────────────── */
footer.fx-footer {
  position: relative;
  background: var(--fx-bg);
  color: var(--fx-tx);
  font-family: var(--fx-sans);
  border-top: 1px solid var(--fx-line);
}

.fx-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.fx-footer a:hover { color: var(--fx-cyan); }

.fx-footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding: clamp(56px, 7vw, 96px) 0 48px;
}

.fx-footer-brand { display: flex; flex-direction: column; gap: 22px; }
.fx-footer-brand .mark { display: flex; align-items: center; gap: 14px; }
.fx-footer-brand svg { width: 42px; height: 42px; flex: none; }
.fx-footer-brand .mark span { font-size: 15px; line-height: 1.35; color: var(--fx-mut); }
.fx-footer-brand .mark strong { display: block; color: var(--fx-ink); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.fx-footer-brand p { font-size: 14px; max-width: 34ch; color: var(--fx-mut); line-height: 1.65; margin: 0; }

.fx-footer h4 { margin: 0 0 18px; font: 500 10.5px/1.3 var(--fx-mono) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-cyan) !important; }
.fx-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.fx-footer li { color: var(--fx-tx); }

.fx-footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 22px 0 32px;
  border-top: 1px solid var(--fx-line);
  font: 500 11px/1.5 var(--fx-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fx-mut);
}

.fx-footer-meta div { display: flex; gap: 22px; flex-wrap: wrap; }

.fx-footer-big {
  font-size: clamp(44px, 9.5vw, 148px);
  line-height: .85;
  font-weight: 600;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--fx-line2);
  white-space: nowrap;
  overflow: hidden;
  padding-top: 8px;
  user-select: none;
}

@media (max-width: 900px) { .fx-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fx-footer-top { grid-template-columns: 1fr; } }

/* ── System icons (reference: system-icon) ────────────────── */
.fx-sysicon { height: 96px; display: flex; align-items: center; }
.fx-sysicon svg { height: 100%; width: auto; max-width: 100%; fill: none; stroke: var(--fx-tx); stroke-width: 1.5; stroke-linejoin: round; }
.fx-sysicon .o { fill: var(--fx-orange); stroke: none; }
.fx-sysicon .c { stroke: var(--fx-cyan); }
.fx-sysicon .g { stroke: var(--fx-line2); stroke-dasharray: 3 6; }
.fx-card:hover .fx-sysicon svg { stroke: var(--fx-ink); }

/* ── Document register ────────────────────────────────────── */
.fx-docs { border-top: 1px solid var(--fx-line); }
.fx-docs li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--fx-line); }
.fx-docs li > span:first-child { font: 500 11px/1.9 var(--fx-mono); letter-spacing: .1em; color: var(--fx-cyan); }
.fx-docs h4 { font-size: 17px !important; font-weight: 600; margin-bottom: 4px !important; }
.fx-docs p { font-size: 14px; color: var(--fx-mut) !important; }
@media (max-width: 560px) { .fx-docs li { grid-template-columns: 36px 1fr; } .fx-docs li .fx-tag { grid-column: 2; justify-self: start; } }

/* ── Seal strip ───────────────────────────────────────────── */
.fx-seals { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; border: 1px solid var(--fx-line); background: var(--fx-panel); }
.fx-seals > div { display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.fx-seals > div + div { border-left: 1px solid var(--fx-line); }
.fx-seals .fx-ico { width: 46px; height: 46px; }
.fx-seals .fx-ico svg { width: 22px; height: 22px; }
.fx-seals strong { display: block; color: var(--fx-ink); font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.fx-seals span { display: block; font-size: 13px; color: var(--fx-mut); line-height: 1.45; }
.fx-seals .note { font: 500 10.5px/1.6 var(--fx-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fx-mut); }
@media (max-width: 1020px) { .fx-seals { grid-template-columns: 1fr 1fr; } .fx-seals > div:nth-child(3) { border-left: 0; } .fx-seals > div:nth-child(n+3) { border-top: 1px solid var(--fx-line); } }
@media (max-width: 560px) { .fx-seals { grid-template-columns: 1fr; } .fx-seals > div + div { border-left: 0; border-top: 1px solid var(--fx-line); } }

/* ═══ Page hero (reference: hero) — used on every page except the Innovation landing ═══ */
body .fx .fx-hero,
body.rd main .fx section.fx-hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--fx-line);
}


.fx-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.fx-hero-copy > * + * { margin-top: 26px; }

.fx-crumb { display: flex; gap: 10px; flex-wrap: wrap; font: 500 11px/1.4 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-mut); }
.fx-crumb a { color: var(--fx-mut) !important; text-decoration: none; }
.fx-crumb a:hover { color: var(--fx-cyan); }
.fx-crumb i { font-style: normal; opacity: .5; }

.fx-eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 9px 14px; border: 1px solid var(--fx-line2); font: 500 11px/1.2 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-tx); text-wrap: balance; }
.fx-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--fx-cyan); box-shadow: 0 0 0 4px var(--fx-glow), 0 0 14px var(--fx-cyan); }

body .fx .fx-hero h1 {
  font-size: clamp(42px, 5.4vw, 82px) !important;
  line-height: .96;
  font-weight: 600;
  letter-spacing: -.05em;
}

.fx-hero h1 em {
  font-style: normal;
  color: var(--fx-cyan);
}

.fx-hero-lede { max-width: 50ch; font-size: clamp(16px, 1.35vw, 19px) !important; line-height: 1.6 !important; }
.fx-hero .fx-actions { margin-top: 32px !important; }

.fx-hero-meta { display: flex; align-items: center; gap: 14px; font: 500 11px/1.2 var(--fx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fx-mut); }
.fx-hero-meta span:first-child { color: var(--fx-cyan); }
.fx-hero-meta i { width: 64px; height: 1px; background: var(--fx-line2); }

.fx-hero .fx-stats { margin-top: clamp(40px, 5vw, 64px); }

/* hero visual */
.fx-hero-visual { position: relative; }
.fx-hero-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx-hero-visual .cap { display: none; gap: 16px; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--fx-line); font: 500 10.5px/1.4 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-mut); }
.fx-hero-visual .cap b { font-weight: 500; color: var(--fx-cyan); white-space: nowrap; }

.hv-line { fill: none; stroke: var(--fx-line2); stroke-width: 1; }
.hv-dash { fill: none; stroke: var(--fx-line2); stroke-width: 1; stroke-dasharray: 3 10; }
.hv-cy { fill: none; stroke: var(--fx-cyan); stroke-width: 1.6; }
.hv-vi { fill: none; stroke: var(--fx-violet); stroke-width: 1.3; }
.hv-or { fill: none; stroke: var(--fx-orange); stroke-width: 1.8; }
.hv-ink { fill: none; stroke: var(--fx-ink); stroke-width: 1.8; stroke-linejoin: round; }
.hv-body { fill: var(--fx-solid); stroke: var(--fx-ink); stroke-width: 1.8; stroke-linejoin: round; }
.hv-f-cy { fill: var(--fx-cyan); }
.hv-f-or { fill: var(--fx-orange); }
.hv-f-vi { fill: var(--fx-violet); }
.hv-node { fill: var(--fx-bg); stroke: var(--fx-cyan); stroke-width: 2; }
.hv-node.or { stroke: var(--fx-orange); }
.hv-glow { fill: var(--fx-cyan); opacity: .1; }
.hv-card rect { fill: var(--fx-solid); stroke: var(--fx-line2); }
.hv-card text, .hv-text { font: 500 10px var(--fx-mono); letter-spacing: .16em; fill: var(--fx-mut); }
.hv-card .v { font-size: 13px; fill: var(--fx-cyan); }
.hv-card .v.or { fill: var(--fx-orange); }
.hv-route { fill: none; stroke: var(--fx-cyan); stroke-width: 2; stroke-dasharray: 7 9; animation: hvDash 7s linear infinite; }
.hv-float { animation: hvFloat 6s ease-in-out infinite; transform-box: fill-box; }
.hv-spin { animation: hvSpin 60s linear infinite; transform-box: fill-box; transform-origin: center; }
.hv-pulse { animation: hvPulse 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }

@keyframes hvDash { to { stroke-dashoffset: -160; } }
@keyframes hvFloat { 50% { transform: translateY(-12px); } }
@keyframes hvSpin { to { transform: rotate(360deg); } }
@keyframes hvPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .hv-route, .hv-float, .hv-spin, .hv-pulse { animation: none; } }

@media (max-width: 900px) {
  .fx-hero-grid { grid-template-columns: 1fr; }
  .fx-hero-visual { max-width: 560px; }
}

/* ═══ Photo media (photos used in place of line art) ═══════════ */
.fx-photo { position: relative; margin: 0; overflow: hidden; background: var(--fx-bg2); isolation: isolate; }
.fx-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
html[data-theme="dark"] .fx-photo img { filter: saturate(.9) brightness(.9); }

.fx-photo.ticks::before,
.fx-photo.ticks::after { content: ""; position: absolute; z-index: 2; width: 18px; height: 18px; border: 1px solid rgba(255, 255, 255, .8); pointer-events: none; }
.fx-photo.ticks::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.fx-photo.ticks::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.fx-photo-tag {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  font: 500 10px/1 var(--fx-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f7fbff;
  background: rgba(7, 17, 31, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* card header photo — bleeds to the card edges */
.fx-card-media {
  --pad: clamp(24px, 2.4vw, 34px);
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 4px;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--fx-line);
  border-radius: 3px 3px 0 0;
}
.fx-card:hover .fx-card-media img { transform: scale(1.045); }

/* sector rows with a photo column */
.fx-row.has-media { grid-template-columns: 72px minmax(0, .95fr) minmax(0, 1.2fr) minmax(180px, 240px); }
.fx-row-media { aspect-ratio: 4 / 3; border: 1px solid var(--fx-line); }
.fx-row-media .fx-arrow {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #f7fbff !important;
  background: rgba(7, 17, 31, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.fx-row.has-media:hover .fx-row-media img { transform: scale(1.06); }
.fx-row.has-media:hover .fx-row-media .fx-arrow { color: var(--fx-cyan) !important; }

@media (max-width: 820px) {
  .fx-row.has-media { grid-template-columns: 48px 1fr; }
  .fx-row.has-media .fx-row-media { grid-column: 2; aspect-ratio: 16 / 9; }
}

/* CTA with a photo instead of line art */
.fx-cta-art.photo .fx-photo { aspect-ratio: 4 / 3; border: 1px solid var(--fx-line2); }
@media (max-width: 820px) {
  .fx-cta-art.photo { max-width: none; }
  .fx-cta-art.photo .fx-photo { aspect-ratio: 16 / 9; }
}

/* ═══ Chips: approximate duration + who does it ═════════════════ */
.fx-dur {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  font: 500 11px/1 var(--fx-mono);
  letter-spacing: .06em;
  color: var(--fx-ink);
  background: var(--fx-glow);
  border-radius: 11px;
  border: 1px solid var(--fx-line2);
  white-space: nowrap;
}
.fx-dur::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  background: var(--fx-cyan);
  border-radius: 11px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fx-owner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  font: 500 10px/1 var(--fx-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fx-cyan);
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  border-radius: 11px;
  white-space: nowrap;
}
.fx-owner::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fx-owner.rpto { color: var(--fx-violet); }
.fx-owner.dgca { color: var(--fx-orange); }

/* ═══ Pathway to RPC (flight-plan board + phases) ══════════════ */
.fx-path { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.fx-path-board { position: sticky; top: 92px; }

.fx-path-total > span { display: block; font: 500 10.5px/1.3 var(--fx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--b-mut); }
.fx-path-total strong { display: block; margin-top: 10px; font: 600 clamp(40px, 4vw, 54px)/1 var(--fx-sans); letter-spacing: -.045em; color: var(--b-ink); }
.fx-path-total p { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--b-mut) !important; }

.fx-path-progress { position: relative; height: 2px; margin: 22px 0 4px; background: var(--b-line); }
.fx-path-progress i { position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #6df7ff, #9976ff 60%, #ff8c52); transition: width .45s cubic-bezier(.2, .7, .2, 1); }

.fx-path-map li { position: relative; }
.fx-path-map a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--b-line);
  font-size: 14px;
  text-decoration: none;
  color: var(--b-tx);
  transition: color .25s;
}
.fx-path-map b { font: 500 11px/1 var(--fx-mono); letter-spacing: .08em; color: var(--b-mut); transition: color .25s; }
.fx-path-map em { font: 500 11px/1 var(--fx-mono); font-style: normal; letter-spacing: .04em; color: var(--b-mut); }
.fx-path-map a:hover,
.fx-path-map .is-active a { color: var(--b-ink); }
.fx-path-map .is-done b,
.fx-path-map .is-active b { color: #6df7ff; }
.fx-path-map .is-active em { color: #ff8c52; }
.fx-path-map .is-active::before { content: ""; position: absolute; left: -20px; top: 8px; bottom: 8px; width: 2px; background: #6df7ff; }
.fx-path-map a:focus-visible { outline: 2px solid #6df7ff; outline-offset: 2px; }

.fx-path-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fx-board .fx-owner { color: #6df7ff; }
.fx-board .fx-owner.rpto { color: #9976ff; }
.fx-board .fx-owner.dgca { color: #ff8c52; }

.fx-path-phases { display: grid; gap: clamp(20px, 2.4vw, 28px); min-width: 0; }

.fx-phase {
  position: relative;
  border: 1px solid var(--fx-line);
  background: var(--fx-panel);
  box-shadow: var(--fx-shadow);
  border-radius: 4px;
  overflow: hidden;
}

.fx-phase-media { aspect-ratio: 21 / 8; border-bottom: 1px solid var(--fx-line); }
.fx-phase-media figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 40px 20px 16px;
  background: linear-gradient(rgba(4, 10, 20, 0), rgba(4, 10, 20, .8));
  font: 500 11px/1.3 var(--fx-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f7fbff;
}
.fx-phase-media figcaption b { font: 600 48px/.78 var(--fx-sans); letter-spacing: -.04em; color: #f7fbff; }
.fx-phase-media figcaption .fx-dur { margin-left: auto; color: #f7fbff; background: rgba(7, 17, 31, .55); border-color: rgba(255, 255, 255, .28); }
.fx-phase-media figcaption .fx-dur::before { background: #6df7ff; }

.fx-phase-body { padding: clamp(22px, 2.6vw, 34px); }
.fx-phase .fx-idx { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font: 500 11px/1.3 var(--fx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fx-mut); }
.fx-phase .fx-idx b { font-weight: 500; color: var(--fx-cyan); white-space: nowrap; }
body .fx .fx-phase h3 { margin-top: 12px; font-size: clamp(24px, 2.4vw, 32px) !important; line-height: 1.05; font-weight: 600; }

.fx-path-steps { margin-top: 14px; }
.fx-pstep { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--fx-line); scroll-margin-top: 120px; }
.fx-pstep:first-child { border-top: 0; }
.fx-pstep::before { content: ""; position: absolute; left: 19.5px; top: 60px; height: calc(100% - 40px); width: 1px; background: repeating-linear-gradient(var(--fx-line2) 0 5px, transparent 5px 10px); }
.fx-pstep:last-child::before { display: none; }
.fx-pstep.is-done::before { background: var(--fx-cyan); }

.fx-pstep-n {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font: 500 12px/1 var(--fx-mono);
  letter-spacing: .06em;
  color: var(--fx-cyan);
  background: var(--fx-solid);
  border: 1px solid var(--fx-line2);
  border-radius: 50%;
  transition: background .35s, color .35s, border-color .35s, box-shadow .35s;
}
.fx-pstep.is-done .fx-pstep-n { border-color: var(--fx-cyan); }
.fx-pstep.is-active .fx-pstep-n { background: var(--fx-cyan); border-color: var(--fx-cyan); color: var(--fx-solid); box-shadow: 0 0 0 6px var(--fx-glow); }

body .fx .fx-pstep h4 { font-size: 19px !important; line-height: 1.25; font-weight: 600; padding-top: 8px; }
.fx-pstep p { margin-top: 6px; font-size: 14.5px; }
.fx-pstep-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.fx-path-note { margin-top: 28px; }

@media (max-width: 1020px) {
  .fx-path { grid-template-columns: 1fr; }
  .fx-path-board { position: relative; top: 0; }
  .fx-path-map,
  .fx-path-progress { display: none; }
}

@media (max-width: 560px) {
  .fx-phase-media { aspect-ratio: 16 / 9; }
  .fx-phase-media figcaption b { font-size: 38px; }
  .fx-pstep { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; }
  .fx-pstep-n { width: 32px; height: 32px; font-size: 11px; }
  .fx-pstep::before { left: 15.5px; top: 52px; height: calc(100% - 32px); }
  body .fx .fx-pstep h4 { padding-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-photo img, .fx-path-progress i, .fx-pstep-n { transition: none; }
}

/* ═══ News feed (landing page + blog page) ═══════════════════════ */
.fx-news { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 18px; }
.fx-news.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.fx-news-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--fx-line);
  background: var(--fx-panel);
  box-shadow: var(--fx-shadow);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .35s, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.fx-news-card::after { content: ""; position: absolute; z-index: 3; left: 0; top: 0; height: 2px; width: 100%; background: var(--fx-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.fx-news-card:hover { border-color: var(--fx-line2); transform: translateY(-3px); }
.fx-news-card:hover::after { transform: scaleX(1); }
.fx-news-card:hover .fx-photo img { transform: scale(1.05); }

.fx-news-link { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); height: 100%; color: inherit; text-decoration: none; }
.fx-news-link:focus-visible { outline: 2px solid var(--fx-cyan); outline-offset: -2px; }
.fx-news-media { min-height: 150px; border-right: 1px solid var(--fx-line); }
.fx-news-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; min-width: 0; }
.fx-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 500 10.5px/1.3 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-mut); }
.fx-news-meta .fx-tag { padding: 6px 8px; font-size: 9.5px; }
body .fx .fx-news-card h3 { font-size: 19px !important; line-height: 1.22; font-weight: 600; }
.fx-news-card p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-news-more { margin-top: auto; padding-top: 4px; font: 500 11px/1 var(--fx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fx-cyan); }
.fx-news-more i { font-style: normal; display: inline-block; transition: transform .25s; }
.fx-news-card:hover .fx-news-more i { transform: translate(3px, -3px); }

.fx-news-card.is-feature { grid-row: span 3; }
.fx-news-card.is-feature .fx-news-link { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.fx-news-card.is-feature .fx-news-media { aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid var(--fx-line); }
.fx-news-card.is-feature .fx-news-body { padding: 26px 28px 28px; gap: 14px; }
body .fx .fx-news-card.is-feature h3 { font-size: clamp(24px, 2.4vw, 32px) !important; line-height: 1.08; }
.fx-news-card.is-feature p { -webkit-line-clamp: 4; font-size: 15.5px; }

.fx-news-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 28px; }
.fx-news-foot .fx-actions { margin-top: 0; }
.fx-news-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--fx-line2); text-align: center; color: var(--fx-mut); font-size: 14.5px; }

.fx-skel { display: block; background: linear-gradient(90deg, var(--fx-line) 0%, var(--fx-bg2) 50%, var(--fx-line) 100%); background-size: 200% 100%; animation: fxSkel 1.4s linear infinite; }
.fx-news-card.is-skel { min-height: 170px; }
.fx-news-card.is-skel.is-feature { min-height: 520px; }
@keyframes fxSkel { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .fx-news, .fx-news.grid { grid-template-columns: 1fr; }
  .fx-news-card.is-feature { grid-row: auto; }
  .fx-news-card.is-skel.is-feature { min-height: 380px; }
}

@media (max-width: 520px) {
  .fx-news-link { grid-template-columns: 1fr; }
  .fx-news-media { aspect-ratio: 16 / 9; min-height: 0; border-right: 0; border-bottom: 1px solid var(--fx-line); }
}

@media (prefers-reduced-motion: reduce) { .fx-skel { animation: none; } }

/* news layouts when fewer than four items are published */
.fx-news[data-count="1"] .fx-news-card.is-feature { grid-column: 1 / -1; grid-row: auto; }
.fx-news[data-count="2"] .fx-news-card.is-feature { grid-row: auto; }
.fx-news[data-count="3"] .fx-news-card.is-feature { grid-row: span 2; }

/* photo slot with no image yet */
.fx-photo.is-empty {
  background:
    radial-gradient(ellipse at 70% 30%, var(--fx-glow), transparent 70%),
    var(--fx-bg2);
}

/* visually hidden, still read by screen readers */
.fx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
