:root {
  --ink: #120a48;
  --ink-soft: #2d275c;
  --blue: #00a9ce;
  --blue-dark: #005b96;
  --orange: #ff8319;
  --paper: #faf8fb;
  --white: #ffffff;
  --line: rgba(18, 10, 72, 0.16);
  --shadow: 0 28px 70px rgba(18, 10, 72, 0.14);
  --section: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  width: var(--section);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.brand img, .footer-brand img { width: 112px; height: auto; }
.brand span, .footer-brand span { padding-left: 16px; border-left: 1px solid var(--line); }
.site-header nav { display: flex; gap: 28px; font-size: 0.83rem; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue-dark); }

.section { width: var(--section); margin: 0 auto; }
.hero {
  width: var(--section);
  min-height: 720px;
  margin: 0 auto;
  padding: 92px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 72px;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-light { color: #8de5f3; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { line-height: 1.02; letter-spacing: -0.055em; }
h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 7.1vw, 7rem);
  font-weight: 720;
}
h1 em, h2 em { color: var(--blue-dark); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lede, .section-heading > p, .section-lede, .rfp-intro > p, .closing > p {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 26px; }
.button {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { color: var(--ink); background: var(--blue); }
.text-link { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.independence-note { margin-top: 26px; color: rgba(18, 10, 72, 0.62); font-size: 0.78rem; }

.system-map { position: relative; min-height: 500px; isolation: isolate; }
.system-map::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 206, 0.18), transparent 68%);
}
.map-orbit { position: absolute; z-index: -1; border: 1px solid rgba(18, 10, 72, 0.24); border-radius: 50%; }
.orbit-one { inset: 12% 6%; animation: orbit 22s linear infinite; }
.orbit-two { inset: 25% 19%; border-style: dashed; animation: orbit 16s linear infinite reverse; }
.map-centre, .map-node { position: absolute; background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(18, 10, 72, 0.16); box-shadow: var(--shadow); }
.map-centre {
  top: 50%;
  left: 50%;
  width: 230px;
  min-height: 170px;
  padding: 38px 30px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  gap: 20px;
  border-radius: 50%;
}
.map-centre img { width: 120px; }
.map-centre strong { color: var(--blue-dark); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.map-node { width: 172px; padding: 16px 18px; animation: float 6s ease-in-out infinite; }
.map-node span { color: var(--orange); font-size: 0.68rem; font-weight: 900; }
.map-node strong, .map-node small { display: block; }
.map-node strong { margin: 3px 0; }
.map-node small { color: rgba(18, 10, 72, 0.6); }
.node-os { top: 8%; left: 2%; }
.node-rfp { top: 12%; right: 0; animation-delay: -2s; }
.node-people { right: 9%; bottom: 5%; animation-delay: -4s; }

.signal-band {
  min-height: 128px;
  padding: 26px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 30px;
  color: var(--white);
  background: var(--ink);
}
.signal-band p { margin: 0; display: flex; align-items: center; gap: 16px; }
.signal-band strong { color: var(--blue); font-size: 2.4rem; }
.signal-band span { max-width: 120px; color: rgba(255, 255, 255, 0.72); font-size: 0.78rem; line-height: 1.35; text-transform: uppercase; }

.systems, .rfp { padding: 130px 0; }
.section-heading { max-width: 880px; margin-bottom: 58px; }
.section-heading h2, .rfp-intro h2, .principles-heading h2, .closing h2 { margin-bottom: 26px; font-size: clamp(3rem, 5.4vw, 5.2rem); }
.system-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.system-card {
  min-height: 420px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.system-card:hover, .system-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-os { background: var(--white); }
.card-rfp { color: var(--white); background: var(--ink); }
.card-index { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.card-symbol {
  width: 82px;
  height: 82px;
  margin: 46px 0 30px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--blue);
  font-size: 1.3rem;
  font-weight: 900;
}
.card-rfp .card-symbol { background: var(--orange); }
.system-card h3 { margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; }
.system-card p { max-width: 500px; opacity: 0.72; }
.card-action { margin-top: auto; font-weight: 800; }

.operating-system { padding: 130px 0; color: var(--white); background: var(--ink); }
.os-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 80px; align-items: center; }
.os-copy h2 { font-size: clamp(3rem, 5.4vw, 5rem); }
.os-copy .section-lede { color: rgba(255, 255, 255, 0.72); }
.check-list { margin: 48px 0 0; padding: 0; list-style: none; }
.check-list li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 42px 150px 1fr;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}
.check-list li > span { color: var(--blue); font-weight: 800; }
.check-list li > strong { color: var(--white); }
.workflow-console { overflow: hidden; color: var(--ink); background: var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); transform: rotate(1.2deg); }
.console-bar {
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: #201e43;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
}
.console-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.console-bar span:nth-child(2) { background: var(--orange); }
.console-bar span:nth-child(3) { background: #ff4b60; }
.console-bar strong { margin-left: auto; font-weight: 500; }
.console-body { padding: 26px 34px; }
.console-body p { margin: 0; padding: 24px 0; display: grid; grid-template-columns: 122px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.console-body p:last-child { border-bottom: 0; }
.console-body small { color: var(--blue-dark); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; }
.console-body strong, .console-body span { line-height: 1.45; }

.rfp-intro { margin-bottom: 70px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 70px; align-items: end; }
.response-flow {
  margin: 0 0 80px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.response-flow li { min-height: 230px; padding: 26px 20px 24px 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.response-flow li + li { padding-left: 20px; }
.response-flow li:last-child { border-right: 0; }
.response-flow span { color: var(--orange); font-size: 0.7rem; font-weight: 900; }
.response-flow strong { margin: auto 0 8px; font-size: 1.28rem; }
.response-flow small { color: rgba(18, 10, 72, 0.66); font-size: 0.82rem; line-height: 1.5; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.capability-grid article { min-height: 250px; padding: 30px; background: var(--white); }
.capability-grid article > span { width: 46px; height: 46px; margin-bottom: 34px; display: grid; place-items: center; color: var(--ink); background: rgba(0, 169, 206, 0.16); font-size: 0.74rem; font-weight: 900; }
.capability-grid article:nth-child(2n) > span { background: rgba(255, 131, 25, 0.16); }
.capability-grid h3 { margin-bottom: 10px; }
.capability-grid p { color: rgba(18, 10, 72, 0.66); }

.principles { padding: 130px 0; color: var(--white); background: #201e43; }
.principles-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; }
.principles-heading { position: sticky; top: 50px; align-self: start; }
.principle-list article { padding: 30px 0; display: grid; grid-template-columns: 70px 1fr; gap: 10px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.principle-list article > span { color: var(--blue); font-size: 0.74rem; font-weight: 900; }
.principle-list h3 { margin-bottom: 8px; font-size: 1.55rem; }
.principle-list p { color: rgba(255, 255, 255, 0.67); }

.closing { padding: 140px 0; text-align: center; }
.closing > * { margin-right: auto; margin-left: auto; }
.closing .button { margin-top: 24px; }
.site-footer {
  width: var(--section);
  min-height: 150px;
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: rgba(18, 10, 72, 0.62);
  font-size: 0.72rem;
}
.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }

.reveal { opacity: 1; transform: none; }
.hero .reveal { animation: enter 700ms ease both; }
.hero .system-map { animation-delay: 100ms; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .hero, .os-layout, .rfp-intro, .principles-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
  .system-map { min-height: 470px; }
  .signal-band { grid-template-columns: repeat(2, 1fr); }
  .response-flow { grid-template-columns: repeat(2, 1fr); }
  .response-flow li:nth-child(2n) { border-right: 0; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-heading { position: static; }
}

@media (max-width: 680px) {
  :root { --section: min(100% - 32px, 1180px); }
  .site-header { min-height: 76px; }
  .brand span { display: none; }
  .hero { min-height: auto; padding: 62px 0 72px; grid-template-columns: minmax(0, 1fr); gap: 54px; }
  .hero-copy { min-width: 0; }
  h1 { font-size: clamp(2.9rem, 15vw, 4.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .system-map { min-height: 400px; }
  .map-centre { width: 190px; min-height: 150px; }
  .map-node { width: 142px; padding: 12px; }
  .node-os { left: 0; }
  .node-rfp { right: 0; }
  .node-people { right: 3%; }
  .signal-band, .system-pair, .capability-grid, .site-footer { grid-template-columns: 1fr; }
  .signal-band { padding-top: 36px; padding-bottom: 36px; }
  .systems, .operating-system, .rfp, .principles, .closing { padding-top: 90px; padding-bottom: 90px; }
  .system-card { min-height: 380px; padding: 28px; }
  .check-list li { grid-template-columns: 34px 1fr; font-size: 0.8rem; }
  .check-list li > strong { grid-column: 2; }
  .workflow-console { transform: none; }
  .console-bar strong { display: none; }
  .console-body { padding: 18px; }
  .console-body p { grid-template-columns: 1fr; gap: 5px; }
  .response-flow { grid-template-columns: 1fr; }
  .response-flow li, .response-flow li + li { min-height: 170px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .response-flow li:last-child { border-bottom: 0; }
  .principle-list article { grid-template-columns: 44px 1fr; }
  .site-footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
