/* ============================================================
   Intelliots Technology Solutions LLP — site stylesheet
   Aesthetic: quiet confidence. Dark ink base, one electric-blue
   accent, off-white editorial sections, thin rules, no card soup.
   ============================================================ */

:root {
  /* Color — derived from the Intelliots logo gradient:
     #191a66 (indigo) -> #223a99 -> #0580ca -> #01aae8 (cyan) */
  --ink: #0a0e23;            /* page base: near-black navy */
  --ink-2: #10173a;          /* raised surfaces on dark */
  --ink-3: #182050;          /* borders-on-dark reference */
  --paper: #f4f6fa;          /* light band background, cool-tinted */
  --paper-2: #e9edf4;        /* raised surfaces on light */
  --accent: #01aae8;         /* logo cyan — the single accent */
  --accent-ink: #1368b7;     /* logo azure — accent for light bands (AA on paper) */

  --text-hi: #edf0f7;        /* primary text on dark */
  --text-lo: #a6b0cd;        /* secondary text on dark */
  --text-dim: #7a86ad;       /* labels / numbering on dark */

  --ink-text-hi: #12163a;    /* primary text on paper */
  --ink-text-lo: #4a5478;    /* secondary text on paper */

  --rule-dark: rgba(237, 240, 247, 0.1);   /* hairlines on dark */
  --rule-light: rgba(18, 22, 58, 0.14);    /* hairlines on paper */

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* Motion — engineered, not decorative */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 300ms;
  --t-med: 500ms;
  --t-slow: 700ms;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-hi);
  /* Page frame sits slightly darker than the content panels, so each
     section reads as an inset "exhibit" (Palantir-style framing). */
  background: #05081a;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #06122b;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Page-level fade (transition in/out between pages) */
body {
  opacity: 1;
  transition: opacity 260ms var(--ease);
}
body.page-leaving {
  opacity: 0;
}
body.page-entering {
  opacity: 0;
}

/* ---------- Utilities ---------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: var(--gutter);
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: #06122b;
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus-visible {
  top: 12px;
}

/* Mono kicker labels: "01 — Services" etc. */
.kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
/* The section rule draws itself outward as the heading arrives. */
.kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule-dark);
  transform: translateY(-4px);
  transform-origin: left;
}
.js .kicker.reveal::after {
  transform: translateY(-4px) scaleX(0);
  transition: transform 900ms var(--ease) 120ms;
}
.js .kicker.reveal.in-view::after {
  transform: translateY(-4px) scaleX(1);
}
.kicker .num {
  color: var(--accent);
}
.band--light .kicker {
  color: var(--ink-text-lo);
}
.band--light .kicker::after {
  background: var(--rule-light);
}
.band--light .kicker .num {
  color: var(--accent-ink);
}

/* Reading-progress hairline, created by js/main.js. Transform only. */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
  pointer-events: none;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
  border-bottom: 1px solid transparent;
  background: transparent;
}
.nav.is-scrolled {
  background: rgba(10, 14, 35, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--rule-dark);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}
/* Dedicated light-on-dark logo variant — rendered at its true colors,
   no filters, so the blue-to-cyan gradient is exactly as supplied. */
.brand img {
  height: 42px;
  width: auto;
}
@media (max-width: 480px) {
  .brand img {
    height: 34px;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.nav__link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-lo);
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  color: var(--text-hi);
}
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-hi);
  border: 1px solid var(--rule-dark);
  padding: 11px 18px;
  transition: border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.nav__cta:hover,
.nav__cta:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* Mobile nav */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-hi);
  transition: transform var(--t-fast) var(--ease),
    opacity var(--t-fast) var(--ease);
}
.nav__toggle-bars {
  position: relative;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  position: absolute;
  left: 0;
}
.nav__toggle-bars::before {
  top: -7px;
}
.nav__toggle-bars::after {
  top: 7px;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars {
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before {
  transform: rotate(-90deg) translateX(-7px);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after {
  opacity: 0;
}

/* Six nav links + CTA need room; tablets get the stacked menu. */
@media (max-width: 1023px) {
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px var(--gutter) 28px;
    background: rgba(10, 14, 35, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule-dark);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-fast) var(--ease),
    opacity var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform var(--t-fast) var(--ease),
      opacity var(--t-fast) var(--ease);
  }
  .nav__link {
    font-size: 1.125rem;
    padding: 10px 0;
    width: 100%;
  }
  .nav__cta {
    margin-top: 12px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Veil: keeps the background low-contrast and clears space for the headline. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--ink) 34%, rgba(10, 14, 35, 0.78) 58%, rgba(10, 14, 35, 0.3) 100%),
    linear-gradient(0deg, var(--ink) 3%, rgba(10, 14, 35, 0) 32%),
    linear-gradient(180deg, rgba(10, 14, 35, 0.85) 0%, rgba(10, 14, 35, 0) 22%);
}

/* ---------- Hero video ----------
   Sits beneath the veil and the wordmark. Tuned so the footage reads as a
   clear backdrop rather than a dark texture, while the headline side stays
   legible. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: saturate(0.7) contrast(1.04) brightness(1.08) blur(1.5px);
  /* Blur samples past the element edge and would show a soft rim. */
  transform: scale(1.03);
}
/* Only once the footage is actually playing does the schematic wall stand
   down — so the wall remains the fallback on phones, on reduced motion, and
   if autoplay is refused. */
.hero--video-on .ops-wall {
  display: none;
}
/* Lighter, more transparent veil than the schematic version. The left third
   keeps enough density for the headline, while the rest of the frame lets the
   footage show through clearly. */
.hero--video-on .hero__bg::after {
  background:
    linear-gradient(100deg, rgba(10, 14, 35, 0.92) 0%, rgba(10, 14, 35, 0.72) 32%, rgba(10, 14, 35, 0.32) 62%, rgba(10, 14, 35, 0.08) 100%),
    linear-gradient(0deg, rgba(10, 14, 35, 0.85) 4%, rgba(10, 14, 35, 0) 34%),
    linear-gradient(180deg, rgba(10, 14, 35, 0.65) 0%, rgba(10, 14, 35, 0) 26%);
}
/* On narrow screens the same text covers more of the frame, so strengthen
   the veil slightly while still keeping the footage visible. */
@media (max-width: 767px) {
  .hero__video {
    opacity: 0.8;
  }
  .hero--video-on .hero__bg::after {
    background:
      linear-gradient(100deg, rgba(10, 14, 35, 0.96) 0%, rgba(10, 14, 35, 0.82) 42%, rgba(10, 14, 35, 0.48) 72%, rgba(10, 14, 35, 0.18) 100%),
      linear-gradient(0deg, rgba(10, 14, 35, 0.9) 4%, rgba(10, 14, 35, 0) 38%),
      linear-gradient(180deg, rgba(10, 14, 35, 0.75) 0%, rgba(10, 14, 35, 0) 28%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

/* Abstract operations wall: schematic panels with ticking status dots and
   pulsing bars. Deliberately abstract — no readable text, names, or numbers. */
.ops-wall {
  position: absolute;
  inset: -10% -3% -14% 22%;
  columns: 4 200px;
  column-gap: 12px;
  animation: ops-drift 80s linear infinite alternate;
}
@media (max-width: 767px) {
  .ops-wall {
    inset: -10% -6% -14% 30%;
    columns: 2 140px;
  }
}
.ops-panel {
  break-inside: avoid;
  margin-bottom: 12px;
  border: 1px solid rgba(237, 240, 247, 0.07);
  background: rgba(16, 23, 58, 0.5);
  padding: 14px;
}
.ops-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ops-head .ops-line {
  margin-top: 0;
  flex: none;
}
.ops-line {
  display: block;
  height: 5px;
  margin-top: 9px;
  background: rgba(237, 240, 247, 0.08);
}
.ops-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
  animation: dot-pulse 3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.ops-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
  margin-top: 13px;
}
.ops-bar {
  width: 6px;
  height: var(--h, 50%);
  background: rgba(1, 170, 232, 0.3);
  transform-origin: bottom;
  animation: bar-pulse 6s ease-in-out infinite alternate;
  animation-delay: var(--bd, 0s);
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.2; }
}
@keyframes bar-pulse {
  from { transform: scaleY(0.5); }
  to { transform: scaleY(1); }
}
@keyframes ops-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -70px, 0); }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 10vh, 128px);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 30px;
}
.hero__eyebrow .tick {
  color: var(--accent);
}

h1.hero__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 15ch;
  color: var(--text-hi);
}

/* Masked line-by-line reveal */
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em; /* keep descenders inside the mask */
  margin-bottom: -0.08em;
}
.js .hero__title .line > span {
  display: block;
  transform: translateY(112%);
}
.hero__title .line > span {
  display: block;
}
.is-loaded .hero__title .line > span {
  animation: line-up var(--t-slow) var(--ease) forwards;
}
.is-loaded .hero__title .line:nth-child(1) > span { animation-delay: 60ms; }
.is-loaded .hero__title .line:nth-child(2) > span { animation-delay: 140ms; }
.is-loaded .hero__title .line:nth-child(3) > span { animation-delay: 220ms; }

@keyframes line-up {
  to {
    transform: translateY(0);
  }
}

.hero__sub {
  max-width: 56ch;
  margin-top: 32px;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--text-lo);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

/* Deferred fade-up for subhead + CTAs after headline lines land */
.js .hero__sub,
.js .hero__actions,
.js .hero__eyebrow {
  opacity: 0;
  transform: translateY(18px);
}
.is-loaded .hero__eyebrow {
  animation: fade-up var(--t-med) var(--ease) 40ms forwards;
}
.is-loaded .hero__sub {
  animation: fade-up var(--t-med) var(--ease) 480ms forwards;
}
.is-loaded .hero__actions {
  animation: fade-up var(--t-med) var(--ease) 600ms forwards;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.8438rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid transparent;
  transition: background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn .arrow {
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(4px);
}

/* Cyan fill needs dark text for AA contrast — white on #01aae8 fails. */
.btn--primary {
  background: var(--accent);
  color: #06122b;
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: #35c1f2;
}

.btn--ghost {
  border-color: var(--rule-dark);
  color: var(--text-hi);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.band--light .btn--ghost {
  border-color: var(--rule-light);
  color: var(--ink-text-hi);
}
.band--light .btn--ghost:hover,
.band--light .btn--ghost:focus-visible {
  border-color: var(--accent-ink);
  color: var(--accent-ink);
}

/* ---------- Section scaffolding ---------- */

/* Sections are inset panels on the darker page frame. */
.band,
.hero,
.page-head {
  background: var(--ink);
  border: 1px solid var(--rule-dark);
  margin-inline: clamp(8px, 1.2vw, 20px);
  margin-block-end: clamp(8px, 1.2vw, 20px);
}
.hero,
.page-head {
  margin-block-start: clamp(8px, 1.2vw, 20px);
}
.band {
  padding-block: clamp(72px, 10vw, 128px);
}
.band--light {
  background: var(--paper);
  color: var(--ink-text-hi);
  border-color: transparent;
}
.band--light p {
  color: var(--ink-text-lo);
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.section-lead {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--text-lo);
}
.band--light .section-lead {
  color: var(--ink-text-lo);
}

/* Scroll-reveal: elements start hidden, .in-view fades them up.
   Children with [data-stagger] get incremental delays via --i. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Services ---------- */

/* Indexed rows (Palantir-style /0.1 list) */
.svc-rows {
  margin-top: 56px;
  border-top: 1px solid var(--rule-dark);
}
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 5fr) minmax(0, 7fr) 44px;
  gap: clamp(16px, 2.5vw, 40px);
  align-items: baseline;
  padding: clamp(26px, 3.2vw, 40px) clamp(4px, 1vw, 12px);
  border-bottom: 1px solid var(--rule-dark);
  transition: background-color var(--t-fast) var(--ease);
}
.svc-row::before {
  /* accent rule that slides in along the top on hover */
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.svc-row:hover,
.svc-row:focus-visible {
  background: rgba(1, 170, 232, 0.04);
}
.svc-row:hover::before,
.svc-row:focus-visible::before {
  transform: scaleX(1);
}
@media (max-width: 767px) {
  .svc-row {
    grid-template-columns: 1fr 44px;
  }
  .svc-row__num {
    grid-column: 1 / -1;
  }
  .svc-row__title {
    grid-column: 1 / 2;
  }
  .svc-row__body {
    grid-column: 1 / -1;
  }
  .svc-row__arrow {
    grid-column: 2 / 3;
    grid-row: 2;
  }
}

.svc-row__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.svc-row:hover .svc-row__num,
.svc-row:focus-visible .svc-row__num {
  color: var(--accent);
  transform: translateX(3px);
}
.svc-row__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-hi);
}
.svc-row__body {
  color: var(--text-lo);
  font-size: 0.9844rem;
}
.svc-row__arrow {
  justify-self: end;
  color: var(--accent);
  font-size: 1.125rem;
  transition: transform var(--t-fast) var(--ease);
}
.svc-row:hover .svc-row__arrow,
.svc-row:focus-visible .svc-row__arrow {
  transform: translateX(4px);
}

/* Scroll-driven statement (giant type; words ink up as you scroll) */
.statement {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 28ch;
  color: var(--ink-text-hi);
}
.statement--armed .w {
  color: #b7bfd3;
  transition: color 350ms var(--ease);
}
.statement--armed .w.on {
  color: var(--ink-text-hi);
}

/* Services page: expanded groups */
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--rule-dark);
}
.svc-detail:last-of-type {
  border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 767px) {
  .svc-detail {
    grid-template-columns: 1fr;
  }
}
.svc-detail__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}
.svc-detail h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.svc-detail__body > p {
  color: var(--text-lo);
  max-width: 58ch;
}
.svc-detail__list {
  margin-top: 26px;
  display: grid;
  gap: 0;
}
.svc-detail__list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--rule-dark);
  color: var(--text-lo);
  font-size: 0.9844rem;
}
.svc-detail__list li::before {
  content: "—";
  color: var(--accent);
  flex-shrink: 0;
}

/* Additional capabilities strip */
.addl {
  margin-top: clamp(44px, 6vw, 64px);
  padding: 22px clamp(20px, 3vw, 32px);
  border: 1px solid var(--rule-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
}
.addl__label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.addl__items {
  color: var(--text-lo);
  font-size: 0.9844rem;
}
.addl__items .sep {
  color: var(--text-dim);
  padding-inline: 10px;
}

/* ============================================================
   Schematic diagrams
   Hand-drawn engineering-drawing language: stroke-based, square
   caps, measurement ticks. One markup set works on dark and light
   bands via the custom properties below.
   ============================================================ */

.dgm {
  --dgm-line: rgba(237, 240, 247, 0.24);
  --dgm-line-soft: rgba(237, 240, 247, 0.1);
  --dgm-panel: rgba(16, 23, 58, 0.6);
  --dgm-text: var(--text-lo);
  --dgm-dim: var(--text-dim);
  --dgm-acc: var(--accent);
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.band--light .dgm {
  --dgm-line: rgba(18, 22, 58, 0.28);
  --dgm-line-soft: rgba(18, 22, 58, 0.1);
  --dgm-panel: rgba(18, 22, 58, 0.04);
  --dgm-text: var(--ink-text-lo);
  --dgm-dim: #6b76a0;
  --dgm-acc: var(--accent-ink);
}

.dgm .ln {
  fill: none;
  stroke: var(--dgm-line);
  stroke-width: 1.5;
}
.dgm .ln--thin {
  fill: none;
  stroke: var(--dgm-line-soft);
  stroke-width: 1;
}
.dgm .acc {
  fill: none;
  stroke: var(--dgm-acc);
  stroke-width: 1.5;
}
.dgm .acc-f {
  fill: var(--dgm-acc);
}
.dgm .panel {
  fill: var(--dgm-panel);
  stroke: var(--dgm-line);
  stroke-width: 1;
}
.dgm .panel--acc {
  stroke: var(--dgm-acc);
}
.dgm .lbl {
  fill: var(--dgm-text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.dgm .lbl--sm {
  font-size: 10.5px;
  fill: var(--dgm-dim);
}
.dgm .lbl--acc {
  fill: var(--dgm-acc);
}
.dgm .lbl--hi {
  fill: var(--text-hi);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0;
}
.band--light .dgm .lbl--hi {
  fill: var(--ink-text-hi);
}
.dgm .dash {
  stroke-dasharray: 5 5;
}

/* Accent strokes draw themselves once the figure scrolls in. */
.dgm .draw-in {
  stroke-dasharray: var(--len, 900);
  stroke-dashoffset: var(--len, 900);
}
.in-view .dgm .draw-in,
.reveal.in-view.figure .dgm .draw-in {
  animation: dgm-draw 1400ms var(--ease) forwards;
}
@keyframes dgm-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Ambient diagram life — slow enough to read as a system running, never
   fast enough to pull the eye away from the text. */
.js .dgm .node circle {
  animation: node-breathe 5s ease-in-out infinite;
  animation-delay: var(--nd, 0ms);
}
@keyframes node-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.js .dgm .bus-pulse {
  opacity: 0;
}
.in-view .dgm .bus-pulse {
  animation: bus-travel 7s cubic-bezier(0.6, 0, 0.4, 1) 1.4s infinite;
}
@keyframes bus-travel {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 0.9; }
  88% { opacity: 0.9; }
  100% { transform: translateY(422px); opacity: 0; }
}

.figure {
  margin-top: clamp(36px, 5vw, 60px);
}
.figure__cap {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.band--light .figure__cap {
  color: #6b76a0;
}
.figure__cap::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex: none;
  transform: translateY(-4px);
}

/* Work thumbnails */
.work-thumb {
  margin-bottom: 22px;
  border: 1px solid var(--rule-dark);
  background: rgba(16, 23, 58, 0.35);
  padding: 18px 20px;
}

/* Industry icons */
.industry__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--accent);
}
.industry__icon .ln {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
/* pathLength="1" normalises every icon stroke, so one rule draws them all. */
.js .industry .industry__icon .ln {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .industry.in-view .industry__icon .ln {
  animation: icon-draw 1100ms var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 200ms);
}
@keyframes icon-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.industry {
  transition: background-color var(--t-fast) var(--ease);
}
.industry:hover {
  background: rgba(1, 170, 232, 0.04);
}
.industry__icon {
  transition: transform var(--t-med) var(--ease);
}
.industry:hover .industry__icon {
  transform: translateY(-2px);
}

/* Blueprint texture — barely-there grid so flat bands are not dead space */
.band--light {
  background-image:
    repeating-linear-gradient(0deg, rgba(18, 22, 58, 0.018) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(18, 22, 58, 0.018) 0 1px, transparent 1px 72px);
}
.band:not(.band--light):not(.cta-band) {
  background-image:
    repeating-linear-gradient(0deg, rgba(237, 240, 247, 0.016) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(237, 240, 247, 0.016) 0 1px, transparent 1px 72px);
}

/* ---------- Architecture layers ---------- */

.layers {
  margin-top: 56px;
  border-top: 1px solid var(--rule-dark);
}
.layer {
  display: grid;
  grid-template-columns: 62px minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(14px, 2.4vw, 36px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 30px) clamp(4px, 1vw, 12px);
  border-bottom: 1px solid var(--rule-dark);
  position: relative;
}
.layer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-med) var(--ease);
}
.layer:hover::before {
  transform: scaleY(1);
}
@media (max-width: 767px) {
  .layer {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.layer__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.layer__name {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  color: var(--text-hi);
}
.layer__items {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--text-lo);
}
.layer__items .sep {
  color: var(--text-dim);
  padding-inline: 7px;
}
/* Prose variant: mono suits term lists, not full sentences. */
.layer--prose .layer__items {
  font-family: var(--font-body);
  font-size: 0.9844rem;
  line-height: 1.65;
}
.layers__note {
  margin-top: 26px;
  font-size: 0.9375rem;
  color: var(--text-dim);
}

/* ---------- HITL flow ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin-top: 48px;
}
@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
  }
}
.flow__step {
  background: var(--paper);
  padding: 22px 20px 26px;
  position: relative;
}
.flow__step--gate {
  background: var(--paper-2);
}
.flow__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}
.flow__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink-text-hi);
}
.flow__desc {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink-text-lo);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: 48px;
}
@media (max-width: 767px) {
  .principles {
    grid-template-columns: 1fr;
  }
}
.principle {
  border-top: 2px solid var(--accent-ink);
  padding-top: 18px;
}
.principle h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.principle p {
  font-size: 0.9375rem;
}
.band:not(.band--light) .principle {
  border-top-color: var(--accent);
}

/* ---------- Work / engagements ---------- */

.work-list {
  margin-top: 56px;
  border-top: 1px solid var(--rule-dark);
}
.work-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(14px, 2.4vw, 36px);
  padding: clamp(28px, 3.4vw, 44px) clamp(4px, 1vw, 12px);
  border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 767px) {
  .work-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.work-item__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.work-item h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.1875rem, 1.9vw, 1.4375rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text-hi);
}
.work-item__stack {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.work-item__body p {
  color: var(--text-lo);
  font-size: 0.9844rem;
}
.work-item__status {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
/* Live-status dot: a slow breath, the way a status LED behaves. */
.work-item__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: status-breathe 3.4s ease-in-out infinite;
}
@keyframes status-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ---------- Delivery gates ---------- */

.gates {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
@media (max-width: 900px) {
  .gates {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .gates {
    grid-template-columns: 1fr;
  }
}
.gate {
  position: relative;
  background: var(--ink);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.gate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.gate:hover::before {
  transform: scaleX(1);
}
.gate__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.gate__pay {
  color: var(--accent);
  font-size: 1.125rem;
  letter-spacing: 0;
}
.gate h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.gate__when {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.gate ul {
  margin-top: 4px;
  display: grid;
  gap: 7px;
}
.gate li {
  font-size: 0.9063rem;
  color: var(--text-lo);
  padding-left: 15px;
  position: relative;
}
.gate li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Compliance ---------- */

.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin-top: 52px;
}
@media (max-width: 900px) {
  .reg-grid {
    grid-template-columns: 1fr;
  }
}
.reg {
  background: var(--paper);
  padding: clamp(24px, 2.8vw, 34px);
}
.reg__code {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink-text-hi);
}
.reg__full {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--ink-text-lo);
}
.reg ul {
  margin-top: 18px;
  display: grid;
  gap: 9px;
}
.reg li {
  font-size: 0.9063rem;
  color: var(--ink-text-lo);
  padding-left: 20px;
  position: relative;
}
.reg li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-ink);
}

/* ---------- Trust strip (organisations, credentials) ----------
   Tiles take either an <img> logo or a typographic wordmark, and read as
   one wall either way. Logos are rendered monochrome so a set of mismatched
   source files still looks deliberate; drop the filter for a colour wall. */

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
  margin-top: 44px;
}
.trust__item {
  background: var(--ink);
  min-height: 116px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: background-color var(--t-fast) var(--ease);
}
.trust__item:hover {
  background: rgba(1, 170, 232, 0.04);
}
.trust__item img {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  opacity: 0.72;
  filter: brightness(0) invert(1);
  transition: opacity var(--t-fast) var(--ease);
}
.trust__item:hover img {
  opacity: 1;
}
/* Typographic stand-in where no logo file exists yet. */
.trust__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  color: var(--text-hi);
  opacity: 0.82;
  transition: opacity var(--t-fast) var(--ease);
}
.trust__item:hover .trust__word {
  opacity: 1;
}
.trust__note {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Credentials — things we are entitled to display */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.cred {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--rule-dark);
  padding: 14px 20px;
}
.cred__mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--accent);
}
.cred__mark .ln {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.cred__body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 0.9688rem;
  letter-spacing: -0.01em;
  color: var(--text-hi);
}
.cred__body span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
/* Credentials sit on a light band on the Work page. */
.band--light .cred {
  border-color: var(--rule-light);
}
.band--light .cred__mark {
  color: var(--accent-ink);
}
.band--light .cred__body strong {
  color: var(--ink-text-hi);
}
.band--light .cred__body span {
  color: var(--ink-text-lo);
}

/* Plain-text stack list — naming a technology is descriptive use; showing a
   vendor's logo without partner status is not. Keep this as text. */
.stack {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
.stack__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-dark);
  align-items: baseline;
}
@media (max-width: 600px) {
  .stack__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.stack__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.stack__items {
  font-size: 0.9844rem;
  color: var(--text-lo);
}
.stack__items .sep {
  color: var(--text-dim);
  padding-inline: 8px;
}

/* ---------- Industries ---------- */

.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
  margin-top: 52px;
}
@media (max-width: 900px) {
  .industries {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .industries {
    grid-template-columns: 1fr;
  }
}
.industry {
  background: var(--ink);
  padding: clamp(22px, 2.4vw, 28px);
}
.industry h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.industry p {
  font-size: 0.9063rem;
  color: var(--text-lo);
}

/* ---------- Contact details ---------- */

.contact-details {
  margin-top: 34px;
  display: grid;
  gap: 20px;
}
.contact-detail__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.contact-detail a,
.contact-detail address {
  font-style: normal;
  color: var(--text-hi);
  font-size: 1rem;
}
.contact-detail a {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease);
}
.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: var(--accent);
}

/* ---------- Philosophy band ---------- */

.philosophy blockquote,
.philosophy .phil-body {
  max-width: 58ch;
}
.philosophy h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.875rem, 3.8vw, 2.875rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.philosophy .phil-body {
  margin-top: 24px;
  font-size: 1.0938rem;
}

/* ---------- CTA band ---------- */

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

/* ---------- About ---------- */

.about-lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 34ch;
  color: var(--text-hi);
}
.band--light .about-lead {
  color: var(--ink-text-hi);
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin-top: 56px;
}
@media (max-width: 767px) {
  .role-grid {
    grid-template-columns: 1fr;
  }
}
.role-card {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 44px);
}
.role-card__label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.role-card h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--ink-text-hi);
}
.role-card p {
  color: var(--ink-text-lo);
  font-size: 0.9844rem;
}

/* ---------- Page headers (interior pages) ---------- */

.page-head {
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 112px));
  padding-bottom: clamp(44px, 6vw, 80px);
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.page-head .section-lead {
  margin-top: 22px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
}
@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-aside p {
  color: var(--text-lo);
  max-width: 44ch;
}
.contact-aside .email-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-hi);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease);
}
.contact-aside .email-link:hover,
.contact-aside .email-link:focus-visible {
  color: var(--accent);
}

.form {
  display: grid;
  gap: 26px;
}
.form__field {
  display: grid;
  gap: 8px;
}
.form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-hi);
}
.form__label .req {
  color: var(--accent);
}
.form__label .opt {
  font-weight: 400;
  color: var(--text-dim);
}
.form input,
.form textarea {
  font: inherit;
  color: var(--text-hi);
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  padding: 13px 16px;
  border-radius: 0;
  transition: border-color var(--t-fast) var(--ease);
  width: 100%;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form textarea {
  min-height: 160px;
  resize: vertical;
}
.form__error {
  font-size: 0.8438rem;
  color: #ff8f8f;
  min-height: 1.2em;
}
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: #c96262;
}

.form__success {
  border: 1px solid var(--accent);
  padding: 22px 24px;
  color: var(--text-hi);
}
.form__success p {
  color: var(--text-lo);
  margin-top: 6px;
}
.form__success strong {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 72ch;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  margin-top: 44px;
  margin-bottom: 12px;
}
.legal p {
  color: var(--text-lo);
  margin-bottom: 14px;
}
.legal .updated {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--rule-dark);
  padding-block: clamp(44px, 6vw, 72px) 36px;
  font-size: 0.9375rem;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer__brand .brand img {
  height: 40px;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.footer__nav a {
  color: var(--text-lo);
  transition: color var(--t-fast) var(--ease);
}
.footer__nav a:hover,
.footer__nav a:focus-visible {
  color: var(--text-hi);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  color: var(--text-dim);
  font-size: 0.8438rem;
}

/* ---------- Reduced motion ---------- */

@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;
  }
  .hero__title .line > span,
  .hero__sub,
  .hero__actions,
  .hero__eyebrow {
    transform: none;
    opacity: 1;
    animation: none;
  }
  .ops-wall,
  .ops-dot,
  .ops-bar {
    animation: none;
  }
  .statement--armed .w {
    color: var(--ink-text-hi);
  }
  /* Diagrams and icons must never be left half-drawn when motion is off. */
  .dgm .draw-in,
  .js .industry .industry__icon .ln {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
  }
  .js .kicker.reveal::after,
  .js .kicker.reveal.in-view::after {
    transform: translateY(-4px) scaleX(1);
  }
  .work-item__status::before,
  .js .dgm .node circle,
  .in-view .dgm .bus-pulse {
    animation: none;
  }
  .js .dgm .bus-pulse {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  body.page-leaving,
  body.page-entering {
    opacity: 1;
  }
}
