/* fidvela.com. Every colour, size and radius comes from DESIGN.md. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/hanken-grotesk-latin-wght.1f21c6eaa0.woff2") format("woff2");
}

:root {
  --canvas: #fafbfc;
  --surface: #f1f3f6;
  --frame: #e6eef2;
  --ink: #14181f;
  --ink-muted: #4a5361;
  --hairline: #dde1e7;
  --field-edge: #7d8794;
  --accent: #0b4f6c;
  --accent-hover: #083d54;
  --on-accent: #ffffff;
  --accent-tint: #e7f0f3;
  --attention-ink: #9a3412;
  --attention-tint: #fdf0e8;
  --clear-ink: #166534;
  --clear-tint: #ebf5ee;
  --note-ink: #475569;
  --note-tint: #eef1f5;
  --error-ink: #b42318;

  --radius-control: 8px;
  --radius-panel: 14px;
  --radius-tag: 4px;
  --shadow-frame:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 50px -28px rgba(11, 79, 108, 0.45),
    0 8px 20px -12px rgba(20, 24, 31, 0.18);

  --gutter: 20px;
  --section: 64px;
  --container: 1180px;
  --reading: 720px;
  --header-height: 72px;

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 96px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 560px at 100% -8%, rgba(11, 79, 108, 0.07), transparent 52%),
    var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

/* Page-top wash: petrol light, a fine dot grid, fading into the canvas. */
body::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 0; left: 0; right: 0; height: 980px;
  background:
    radial-gradient(rgba(11, 79, 108, 0.13) 1px, transparent 1.4px) 0 0 / 24px 24px,
    radial-gradient(780px 520px at 82% 34%, rgba(11, 79, 108, 0.20), transparent 66%),
    radial-gradient(560px 420px at 4% 62%, rgba(150, 196, 210, 0.42), transparent 64%),
    radial-gradient(900px 360px at 40% -10%, rgba(204, 226, 233, 0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}
body { position: relative; isolation: isolate; }

::selection { background: var(--accent-tint); color: var(--ink); }

h1, h2, h3 { margin: 0 0 16px; font-weight: 620; text-wrap: balance; letter-spacing: -0.02em; scroll-margin-top: calc(var(--header-height) + 16px); }
h1 { font-size: 34px; line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: 26px; line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; }
p { margin: 0 0 16px; text-wrap: pretty; }
.hero h1 { font-size: 38px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 640; }
.hero h1, .page-head h1 {
  background: linear-gradient(100deg, var(--ink) 30%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) { .hero h1, .page-head h1 { -webkit-text-fill-color: currentColor; background: none; } }

@media (min-width: 768px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .hero h1 { font-size: 48px; }
}
@media (min-width: 1100px) {
  .hero h1 { font-size: 58px; }
}

a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lead { font-size: 19px; line-height: 1.55; max-width: 60ch; }
.muted { color: var(--ink-muted); }
.small { font-size: 15px; line-height: 1.55; color: var(--ink-muted); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--reading) + 2 * var(--gutter)); }
.section-head { max-width: 40rem; }
.section-head h2 { margin-bottom: 10px; }
.section-head p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 30;
  padding: 12px 16px; background: var(--accent); color: var(--on-accent);
  border-radius: var(--radius-control);
}
.skip-link:focus { top: 8px; color: var(--on-accent); }

.notice {
  margin: 0; padding: 10px var(--gutter); text-align: center;
  background: var(--accent-tint); color: var(--accent); font-size: 14px; line-height: 1.5;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 251, 252, 0.82);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-height); }
.wordmark {
  font-size: 22px; font-weight: 650; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.menu-wide { display: none; gap: 28px; margin-left: auto; align-items: center; }
.menu-wide a, .menu-narrow nav a { color: var(--ink); text-decoration: none; font-size: 16px; }
.menu-wide a:hover, .menu-narrow nav a:hover { color: var(--accent); }
.menu-wide a[aria-current="page"] {
  color: var(--ink); font-weight: 620;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.menu-narrow a[aria-current="page"] { color: var(--accent); font-weight: 620; }
.header-cta { margin-left: auto; }
.menu-narrow summary {
  list-style: none; cursor: pointer; padding: 10px 14px; min-height: 44px;
  display: flex; align-items: center;
  border: 1px solid var(--field-edge); border-radius: var(--radius-control); font-size: 16px;
}
.menu-narrow summary::-webkit-details-marker { display: none; }
.menu-narrow nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 20px; background: var(--canvas); border-bottom: 1px solid var(--hairline);
}
.menu-narrow nav a { padding: 12px 0; min-height: 44px; display: flex; align-items: center; }

@media (max-width: 479px) {
  .header-row { gap: 12px; }
  .header-cta { padding: 0 14px; }
}
@media (min-width: 900px) {
  .menu-wide { display: flex; }
  .menu-narrow { display: none; }
  .header-cta { margin-left: 0; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-control);
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.button-primary {
  background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 18px -12px rgba(11, 79, 108, 0.75);
}
.button-primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent);
  transform: translateY(-1px);
}
.button-secondary {
  background: rgba(255, 255, 255, 0.82); color: var(--ink); border: 1px solid var(--field-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.button-secondary:hover { color: var(--accent); border-color: var(--accent); background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
.section { padding: var(--section) 0; }
.section-tight { padding: 8px 0 var(--section); }
.slot-section { padding: 8px 0 0; }
.section-surface {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(11, 79, 108, 0.07), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(150, 196, 210, 0.22), transparent 70%),
    linear-gradient(180deg, #eef4f6, #e8f0f3);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
}
.page-head { padding: 56px 0 28px; }
@media (min-width: 768px) { .page-head { padding: 88px 0 36px; } }

.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 36px; }
.hero-grid > * { min-width: 0; }
.hero .lead { margin-top: 8px; }
@media (min-width: 1024px) {
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr); align-items: center; gap: 64px; }
}

.two-col { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }

/* Lists */
.rows { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.rows li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-panel);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -20px rgba(11, 79, 108, 0.45);
}
.rows h3 { margin: 0; grid-column: 2; }
.rows p { margin: 0; grid-column: 2; }
.row-index {
  grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 3px;
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: var(--radius-control);
  background: linear-gradient(150deg, #1a6f93 0%, var(--accent) 55%, #083d54 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 14px -8px rgba(11, 79, 108, 0.8);
  font-size: 13px; font-weight: 640; letter-spacing: 0.04em;
  color: var(--on-accent); font-variant-numeric: tabular-nums;
}
.rows li { transition: translate 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.rows li:hover {
  translate: 0 -2px; border-color: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 18px 34px -22px rgba(11, 79, 108, 0.55);
}
@media (min-width: 800px) {
  .rows li { grid-template-columns: 52px minmax(200px, 300px) minmax(0, 1fr); align-items: center; gap: 8px 32px; padding: 24px 28px; }
  .row-index { grid-row: auto; padding-top: 0; }
  .rows h3, .rows p { grid-column: auto; }
}

.bullets { margin: 8px 0 24px; padding-left: 1.2em; }
.bullets li { margin-bottom: 14px; padding-left: 6px; }
.bullets li::marker { color: var(--accent); }

.statements { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px 48px; }
.statements li {
  margin: 0; padding: 16px 18px 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
@media (min-width: 800px) {
  .statements-split { grid-template-columns: 1fr 1fr; }
}

/* Media slot: fixed ratio so a video can replace the illustration later */
.media-slot { position: relative; margin: 0; }
.media-slot { padding: 22px 22px 0; }
.media-slot::before {
  /* The stage: a painted petrol panel the frame rests on. Stops above the caption. */
  content: "";
  position: absolute; z-index: 0; pointer-events: none;
  inset: 0 0 34px 0; border-radius: 22px;
  background:
    radial-gradient(70% 60% at 18% 12%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(60% 70% at 92% 96%, rgba(8, 61, 84, 0.85), transparent 70%),
    linear-gradient(150deg, #d4e6ec 0%, #8cb8c7 38%, #2f7d9c 72%, #0b4f6c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 30px 60px -36px rgba(11, 79, 108, 0.7);
}
.media-slot figcaption { position: relative; }
.media-frame {
  /* The ::before holds a 4:3 minimum so a later video fills the slot.
     A taller illustration grows the frame instead of covering the caption. */
  position: relative; z-index: 1;
  display: grid;
  padding: 22px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.62) 48%, rgba(214, 230, 236, 0.72) 100%);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-frame);
  animation: frame-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.media-frame::before {
  content: "";
  padding-bottom: 75%;
  grid-area: 1 / 1;
}
.media-frame > .illus { position: relative; z-index: 1; grid-area: 1 / 1; align-self: center; }
.media-slot figcaption { margin-top: 34px; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.slot-section .media-slot { max-width: 760px; }
@media (min-width: 768px) {
  .media-slot { padding: 44px 44px 0; }
  .media-slot::before { bottom: 44px; }
  .media-slot figcaption { margin-top: 44px; }
}
@media (max-width: 479px) {
  .media-frame { padding: 16px; }
  .media-slot { padding: 12px 12px 0; }
  .media-slot::before { border-radius: 18px; }
  .media-slot figcaption { margin-top: 24px; }
  .media-slot::before { bottom: 24px; }
  .media-frame::before { display: none; }
}

/* Illustrations */
.illus {
  width: 100%; display: grid; gap: 12px; align-content: center;
  font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums;
}
.illus-bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 0; padding: 0 2px; font-size: 14px; font-weight: 620; color: var(--ink-muted);
}
.illus-id { color: var(--ink); font-variant-numeric: tabular-nums; }
.illus-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-control); padding: 18px 18px 16px;
  box-shadow: inset 0 1px 0 #fff, 0 12px 24px -18px rgba(20, 24, 31, 0.45);
}
.illus-card p { margin: 0 0 8px; }
.illus-card p:last-child { margin-bottom: 0; }
.illus-title { font-size: 18px; font-weight: 620; letter-spacing: -0.015em; }
.illus-evidence {
  margin-top: 12px; padding: 10px 12px;
  background: var(--surface); border-radius: var(--radius-control);
  color: var(--ink-muted); font-size: 14px;
}
.illus-next { font-weight: 620; }
.illus-decision-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px;
}
.illus-decision-head p { margin: 0; }
.illus-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.illus-button {
  padding: 8px 14px; border: 1px solid var(--field-edge); border-radius: var(--radius-control);
  font-size: 14px; font-weight: 620; color: var(--ink); background: var(--canvas);
}
.illus-button-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.illus-list { list-style: none; margin: 4px 0 12px; padding: 0; }
.illus-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--hairline);
}
.tag {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius-tag);
  font-size: 13px; font-weight: 620; white-space: nowrap;
}
.tag-attention { background: var(--attention-tint); color: var(--attention-ink); }
.tag-clear { background: var(--clear-tint); color: var(--clear-ink); }
.tag-note { background: var(--note-tint); color: var(--note-ink); }

/* Governance topics */
.topics { padding-bottom: var(--section); }
.topic {
  margin-top: 20px; padding: 32px 32px 24px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-panel);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -24px rgba(11, 79, 108, 0.5);
}
@media (max-width: 599px) { .topic { padding: 24px 18px 16px; } }
.topic .lead { margin-top: 4px; padding: 2px 0 2px 16px; border-left: 3px solid var(--accent); }
.topic h3 { margin-top: 24px; font-size: 16px; color: var(--ink-muted); letter-spacing: 0; }

/* Status table: stacked rows on phones */
.table-wrap {
  margin-top: 20px; padding: 4px 20px 8px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--radius-panel);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -24px rgba(11, 79, 108, 0.5);
}
.status-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.status-table caption { text-align: left; font-size: 15px; color: var(--ink-muted); padding: 16px 0 12px; }
.status-table th, .status-table td { text-align: left; vertical-align: top; padding: 14px 0; border-top: 1px solid var(--hairline); }
.status-table thead th { font-size: 14px; font-weight: 620; color: var(--ink-muted); }
.status-table tbody th { font-weight: 500; padding-right: 24px; }
.status { font-weight: 620; white-space: nowrap; }
.status-built { color: var(--clear-ink); }
.status-partly { color: var(--attention-ink); }
.status-designed { color: var(--note-ink); }
.status-note { display: block; font-size: 14px; font-weight: 400; color: var(--ink-muted); }
@media (max-width: 599px) {
  .table-wrap { padding: 4px 16px 8px; }
  .status-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .status-table tr { display: block; padding: 14px 0; border-top: 1px solid var(--hairline); }
  .status-table th, .status-table td { display: block; padding: 0; border: 0; }
  .status-table td { margin-top: 4px; }
}

/* Who it is for */
.audience-grid { display: grid; gap: 16px; margin: 8px auto 28px; }
.audience {
  display: grid; gap: 8px 48px; padding: 32px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 3px solid var(--accent); border-radius: var(--radius-panel);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -24px rgba(11, 79, 108, 0.5);
}
@media (max-width: 599px) { .audience { padding: 24px 18px; } }
.audience h2 { margin: 0; font-size: 26px; }
.audience p { margin: 0; }
.audience p + p { margin-top: 8px; }
@media (min-width: 800px) {
  .audience { grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); align-items: start; }
  .audience h2 { grid-row: 1 / span 3; }
}

/* Prose */
.prose h2 { margin-top: 40px; font-size: 26px; }

/* Contact form */
.contact-form {
  display: grid; gap: 20px; max-width: 640px;
  padding: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(232, 241, 244, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--radius-panel);
  box-shadow: var(--shadow-frame);
}
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 620; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; min-height: 48px;
  font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--canvas);
  border: 1px solid var(--field-edge); border-radius: var(--radius-control);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error-ink); }
.field-error { margin: 0; font-size: 15px; color: var(--error-ink); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .button { justify-self: start; }
.contact-form .button[disabled] { opacity: 0.6; cursor: progress; }
.form-status { margin: 0; font-weight: 620; }
.form-status.is-success { color: var(--clear-ink); }
.form-status.is-error { color: var(--error-ink); }

/* Closing band: the one filled accent surface */
.cta-band { padding: 8px 0 var(--section); }
.cta-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: 40px 36px; color: var(--on-accent);
  background:
    radial-gradient(50% 120% at 0% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(40% 90% at 100% 100%, rgba(120, 190, 214, 0.28), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 100%,
    linear-gradient(165deg, #146488 0%, var(--accent) 46%, #083d54 100%);
  border-radius: var(--radius-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 20px 40px -28px rgba(11, 79, 108, 0.8);
}
.cta-panel h2 { margin: 0; max-width: 18ch; color: var(--on-accent); font-size: 30px; letter-spacing: -0.025em; }
.cta-panel .button-primary { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.cta-panel .button-primary:hover { background: var(--accent-tint); color: var(--accent-hover); border-color: var(--accent-tint); }
@media (max-width: 599px) {
  .cta-panel { padding: 28px 20px; }
  .cta-panel h2 { font-size: 26px; }
  .cta-panel .button { width: 100%; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 40px 0 48px; font-size: 15px; color: var(--ink-muted); }
.footer-row { display: grid; gap: 16px; }
.footer-row p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 960px) {
  .footer-row { grid-template-columns: 1.4fr auto auto; align-items: center; gap: 24px 32px; }
}

@keyframes frame-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rows li, .statements li, .topic, .audience, .cta-panel {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes reveal {
  from { opacity: 0.001; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button-primary:hover { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--canvas); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .media-frame {
    background: var(--frame);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .illus-card { background: var(--canvas); }
  .rows li, .topic, .audience, .table-wrap { background: var(--canvas); }
  .button-secondary { background: var(--canvas); }
}

/* Stage bands (founder, 11 Oct 2026: the title area and the content must not
   share one pale tone). The title area is its own painted, rounded panel;
   one deep glossy band breaks up the middle of the home page. */
.hero, .page-head {
  position: relative; isolation: isolate;
  margin: 12px 12px 0; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(42% 60% at 86% 18%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, rgba(11, 79, 108, 0.55), transparent 70%),
    radial-gradient(55% 75% at 0% 100%, rgba(98, 176, 199, 0.65), transparent 70%),
    radial-gradient(70% 90% at 30% 0%, rgba(214, 238, 244, 1), transparent 75%),
    linear-gradient(160deg, #e3f2f6 0%, #b9dce6 45%, #7fb9cb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 30px 60px -48px rgba(11, 79, 108, 0.6);
}
.hero::after, .page-head::after {
  /* Soft horizon lines, like a landscape seen through glass. */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 130%, rgba(255, 255, 255, 0.45) 0 40%, transparent 41%),
    radial-gradient(140% 70% at 20% 150%, rgba(255, 255, 255, 0.35) 0 45%, transparent 46%),
    radial-gradient(rgba(11, 79, 108, 0.12) 1px, transparent 1.4px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
}
.hero .lead, .page-head .lead, .page-head p { color: #1c2a36; }
.page-head { margin-bottom: 40px; padding-bottom: 48px; }
@media (min-width: 768px) {
  .hero, .page-head { margin: 16px 16px 0; border-radius: 36px; }
  .page-head { margin-bottom: 56px; padding-bottom: 72px; }
}
body::before { display: none; }

/* Deep band: "Where your people stay in charge". Glossy petrol, glass cards. */
.section-surface[aria-labelledby="charge-heading"] {
  margin: 0 12px; border-radius: 28px; border: 0; color: var(--on-accent);
  background:
    radial-gradient(50% 80% at 0% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(45% 90% at 100% 100%, rgba(120, 190, 214, 0.35), transparent 70%),
    linear-gradient(160deg, #146488 0%, var(--accent) 50%, #072f42 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 40px 80px -50px rgba(11, 79, 108, 0.9);
}
@media (min-width: 768px) { .section-surface[aria-labelledby="charge-heading"] { margin: 0 16px; border-radius: 36px; } }
.section-surface[aria-labelledby="charge-heading"] h2,
.section-surface[aria-labelledby="charge-heading"] p { color: var(--on-accent); }
.section-surface[aria-labelledby="charge-heading"] a { color: var(--on-accent); }
.section-surface[aria-labelledby="charge-heading"] .statements li {
  background: rgba(255, 255, 255, 0.1); color: var(--on-accent);
  border: 1px solid rgba(255, 255, 255, 0.18); border-left: 3px solid #9fd3e3;
  border-radius: var(--radius-control);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* Bigger section headings so each band has a clear start. */
@media (min-width: 768px) {
  .section-head h2, .two-col h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.03em; }
}

@media (prefers-reduced-transparency: reduce) {
  .section-surface[aria-labelledby="charge-heading"] .statements li { background: #0d5a7a; backdrop-filter: none; }
}

/* Each band has its own material (founder, 11 Oct 2026: light does not mean
   one colour everywhere). Petrol family plus one soft mint and one sky tint. */

/* Steps: a connecting rail behind the number chips. */
.rows { position: relative; }
@media (min-width: 800px) {
  .rows::before {
    content: ""; position: absolute; left: 45px; top: 24px; bottom: 24px; width: 2px; z-index: 0;
    background: linear-gradient(180deg, rgba(11, 79, 108, 0.05), rgba(11, 79, 108, 0.35), rgba(11, 79, 108, 0.05));
  }
  .rows li { position: relative; z-index: 1; }
}

/* Questions band: mint glass on concentric rings. */
section[aria-labelledby="questions-heading"] {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(50% 70% at 100% 50%, rgba(170, 222, 205, 0.55), transparent 70%),
    linear-gradient(180deg, transparent, rgba(226, 243, 237, 0.7) 40%, transparent);
}
section[aria-labelledby="questions-heading"]::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -320px; top: 50%; transform: translateY(-50%);
  background: repeating-radial-gradient(circle, rgba(11, 79, 108, 0.10) 0 1px, transparent 1.5px 44px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
section[aria-labelledby="questions-heading"] .statements li {
  background: rgba(255, 255, 255, 0.78); border-left-color: #2f8f78;
  box-shadow: inset 0 1px 0 #fff, 0 12px 26px -20px rgba(20, 90, 70, 0.45);
}

/* "Where Fidvela is today": a sky band with a soft orb. */
.section-surface[aria-labelledby="today-heading"] {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(40% 90% at 85% 40%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(120deg, #e6f1fb 0%, #d7e9f5 50%, #e9f4f1 100%);
}
.section-surface[aria-labelledby="today-heading"]::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 300px; height: 300px; right: 8%; top: 50%; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #bfe0ea 35%, #5fa3bb 75%, #0b4f6c 100%);
  opacity: 0.35; filter: blur(2px);
  box-shadow: inset -20px -30px 60px rgba(11, 79, 108, 0.4);
}
@media (max-width: 899px) { .section-surface[aria-labelledby="today-heading"]::after { display: none; } }

/* Inner pages: alternate panel tints so long pages have rhythm. */
.topic:nth-of-type(3n+2) { background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(226, 243, 237, 0.85)); }
.topic:nth-of-type(3n+2) .lead { border-left-color: #2f8f78; }
.topic:nth-of-type(3n) { background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(222, 236, 247, 0.85)); }
.audience:nth-child(even) { background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(226, 243, 237, 0.85)); border-left-color: #2f8f78; }
.audience:nth-child(odd) { background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(222, 236, 247, 0.85)); }

@media (prefers-reduced-transparency: reduce) {
  .topic, .audience { background: var(--canvas) !important; }
}
.hero .media-slot figcaption { color: #14262f; font-weight: 500; }
