/* Prism Advisory, redesign ("Refraction")
   White light goes in, the spectrum comes out. Dark ink stages with paper
   interludes; the logo's five spectrum colours are the only accents, and each
   service owns one of them (set per element with style="--hue:var(--red)"). */

:root {
  --ink: #07080b;
  --ink-2: #0c0e13;
  --paper: #f2f1ec;
  --paper-2: #e8e6df;

  --indigo: #5a64f2;
  --teal: #13b4ac;
  --green: #45ba41;
  --amber: #f2aa16;
  --red: #f0482f;
  --spectrum: linear-gradient(90deg, var(--indigo), var(--teal), var(--green), var(--amber), var(--red));

  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --header-h: 76px;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* Tones: every section is either an ink stage or a paper interlude.
   Components read --bg, --fg, --fg-2, --line and --panel, never fixed colours. */
.tone-ink, body {
  --bg: var(--ink);
  --fg: #eef0f4;
  --fg-2: #a3a9b6;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --panel: rgba(255, 255, 255, .025);
  --panel-2: rgba(255, 255, 255, .05);
  background-color: var(--bg);
  color: var(--fg);
}
.tone-ink-2 { --bg: var(--ink-2); }
.tone-paper {
  --bg: var(--paper);
  --fg: #0b0c10;
  --fg-2: #545a66;
  --line: rgba(11, 12, 16, .12);
  --line-2: rgba(11, 12, 16, .24);
  --panel: #ffffff;
  --panel-2: #fbfbf9;
  background-color: var(--bg);
  color: var(--fg);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--indigo); color: #fff; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
h3 { font-size: 1.375rem; letter-spacing: -0.025em; line-height: 1.15; }

.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: 1.06em;
  padding-right: .06em;
}
.accent-spectrum {
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.words .accent-spectrum { background: none; color: inherit; }
.words .accent-spectrum .w > span {
  background: var(--spectrum);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  min-height: 40px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Labels ---------- */

.eyebrow, .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--spectrum);
}
.eyebrow-num { color: var(--fg); }

/* ---------- Buttons and links ---------- */

.btn {
  --btn-bg: var(--fg);
  --btn-fg: var(--bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 15px/1 var(--font-sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.btn::before {
  /* spectrum halo, shown on hover */
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--spectrum);
  filter: blur(14px);
  opacity: 0;
  transition: opacity .4s;
}
.btn-arrow {
  position: relative;
  display: inline-block;
  width: 16px; height: 16px;
  overflow: hidden;
}
.btn-arrow::before, .btn-arrow::after {
  content: "→";
  position: absolute;
  inset: 0;
  line-height: 16px;
  transition: transform .5s var(--ease);
}
.btn-arrow::after { transform: translateX(-120%); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-small { min-height: 44px; padding: 0 20px; font-size: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-top: 12px;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.text-link::after { content: "→"; transition: transform .4s var(--ease); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  color: #eef0f4;
  transition: background-color .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.is-scrolled .site-header {
  background: rgba(7, 8, 11, .97);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.brand img {
  width: 44px; height: 44px;
  transition: transform 1.2s var(--ease);
}
.brand-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: rgba(238, 240, 244, .78);
  text-decoration: none;
  transition: color .3s;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 1px;
  background: var(--spectrum);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .btn {
  --btn-bg: #eef0f4;
  --btn-fg: var(--ink);
  margin-left: 14px;
}
.nav-index { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px; height: 48px;
  margin-right: -8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav-toggle-bars { top: 20px; }
.nav-toggle-bars::before { content: ""; left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { top: 23.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1039px) {
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--ink);
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .7s var(--ease-io), visibility 0s .7s;
    overflow-y: auto;
  }
  .js .site-nav.is-open {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    transition: clip-path .7s var(--ease-io);
  }
  .js .site-nav a:not(.btn) {
    padding: 10px 0;
    font-size: clamp(2rem, 8vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #eef0f4;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s, transform .7s var(--ease);
  }
  .js .site-nav a:not(.btn)::after { display: none; }
  .js .site-nav a[aria-current="page"] { color: var(--fg-2); }
  .js .site-nav.is-open a:not(.btn) { opacity: 1; transform: none; }
  .js .site-nav.is-open a:nth-child(2) { transition-delay: .05s; }
  .js .site-nav.is-open a:nth-child(3) { transition-delay: .1s; }
  .js .site-nav.is-open a:nth-child(4) { transition-delay: .15s; }
  .js .site-nav.is-open a:nth-child(5) { transition-delay: .2s; }
  .js .site-nav .btn { margin: 32px 0 0; align-self: flex-start; min-height: 52px; padding: 0 26px; font-size: 15px; }
  .nav-open { overflow: hidden; }

  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: 12px; }
  html:not(.js) .site-header { position: absolute; height: auto; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

/* ---------- Intro curtain (first page of a visit) ---------- */

.curtain { display: none; }
.show-loader .curtain {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  background: var(--ink);
  transition: clip-path 1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.show-loader:not(.is-ready) { overflow: hidden; }
.curtain img {
  width: 88px; height: 88px;
  animation: curtain-logo 1.4s var(--ease) both;
}
.curtain-bar {
  width: 168px; height: 1px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.curtain-bar::before {
  content: "";
  display: block;
  height: 100%;
  background: var(--spectrum);
  transform: scaleX(0);
  transform-origin: left;
  animation: curtain-fill 1.3s var(--ease-io) .1s forwards;
}
.curtain-word {
  font: 400 13px/1 var(--font-mono);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #a3a9b6;
}
.show-loader.is-ready .curtain { clip-path: inset(0 0 100% 0); }
@keyframes curtain-fill { to { transform: scaleX(1); } }
@keyframes curtain-logo { from { opacity: 0; transform: scale(.85) rotate(-25deg); } }

/* ---------- Headline word reveal ---------- */

.words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .06em .24em 0;
  margin: 0 -.06em -.24em 0;
}
.words .w > span {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0ms));
}
.words.is-in .w > span { transform: none; }

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.hero-glow {
  /* stands in for the canvas without JavaScript, and warms it with it */
  position: absolute;
  z-index: -2;
  right: -10%; top: 0;
  width: 70%; height: 80%;
  background:
    radial-gradient(closest-side at 60% 45%, rgba(90, 100, 242, .22), transparent 70%),
    radial-gradient(closest-side at 80% 60%, rgba(240, 72, 47, .14), transparent 70%);
  filter: blur(40px);
}
.js .hero-glow { opacity: .55; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  z-index: -1;
  background: linear-gradient(transparent, var(--ink));
  pointer-events: none;
}
.hero-inner { width: 100%; }
.hero .eyebrow { margin-bottom: clamp(20px, 3vw, 36px); }
.hero .eyebrow::before { display: none; }
.pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.hero-title {
  font-size: clamp(3rem, 11.2vw, 11rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -0.06em;
  max-width: 11ch;
}
.hero-title .accent { letter-spacing: -0.03em; }

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px 64px;
  margin-top: clamp(32px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-lede {
  max-width: 34rem;
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--fg-2);
}
.hero-lede strong { color: var(--fg); font-weight: 500; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  min-width: 260px;
}
.hero-index a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: var(--fg-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .3s, padding .5s var(--ease);
}
.hero-index li:last-child a { border-bottom: 0; }
.hero-index .num { font: 400 13px var(--font-mono); color: var(--fg-2); }
.hero-index a::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hue);
  box-shadow: 0 0 0 0 var(--hue);
  transition: box-shadow .4s, transform .4s var(--ease);
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(20px, 3vw, 36px);
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-right: clamp(28px, 4vw, 56px);
  margin: 0;
  list-style: none;
}
.marquee-group li {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  font-size: clamp(1.8rem, 4.6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
  white-space: nowrap;
}
.marquee-group li:nth-child(even) {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg-2);
}
.marquee-group li::after {
  content: "";
  width: .42em; height: .42em;
  background: var(--spectrum);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(96px, 13vw, 184px);
}
.section-head {
  max-width: 56rem;
  margin-bottom: clamp(48px, 7vw, 104px);
}
.section-head h2 + .section-lede { margin-top: 28px; }
.section-lede {
  max-width: 40rem;
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-2);
}
.section-lede + .section-lede { margin-top: 16px; }
.fine-print {
  max-width: 48rem;
  margin-top: 48px;
  font-size: 14px;
  color: var(--fg-2);
}

/* ---------- Services (home): sticky index + scrolling detail ---------- */

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
}
.services-aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
}
.services-aside .section-head { margin-bottom: 48px; }
.services-aside h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.svc-index {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: svc;
}
.svc-index a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 15px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color .3s;
}
.svc-index a::before {
  content: "";
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--line-2);
  transition: width .6s var(--ease), background-color .3s;
}
.svc-index a.is-active { color: var(--fg); }
.svc-index a.is-active::before { width: 48px; background: var(--hue); }

.svc {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: var(--hue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.svc.is-visible::before { transform: scaleX(1); }
.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.svc-num { font: 400 13px var(--font-mono); letter-spacing: .06em; color: var(--fg-2); }
.svc-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hue) 14%, transparent);
  color: var(--hue);
}
.svc-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.svc > p {
  max-width: 36rem;
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--fg-2);
}
.scope {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.scope li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.45;
}
.scope li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 7px; height: 7px;
  background: var(--hue, var(--fg-2));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.scope-single { grid-template-columns: 1fr; }

/* ---------- Statement: words light up as you scroll ---------- */

.statement { padding-block: clamp(120px, 16vw, 220px) clamp(48px, 6vw, 96px); }
.statement + .section { padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.statement-text {
  max-width: 22ch;
  font-size: clamp(2.1rem, 5.6vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.statement-text .accent { color: inherit; }
.lit .lw { opacity: .14; transition: opacity .5s; }
.lit .lw.on { opacity: 1; }
.statement-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: clamp(40px, 5vw, 72px);
}

/* ---------- Panels (cards) ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 16px;
}
.panel {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  transition: transform .6s var(--ease), box-shadow .4s;
}
.panel::before {
  /* pointer spotlight in the panel's own colour */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx) var(--my), color-mix(in srgb, var(--hue, #888) 16%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity .5s;
}
.panel::after {
  /* thin colour edge along the top */
  content: "";
  position: absolute;
  left: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--hue, var(--line-2));
}
.panel .eyebrow { margin-bottom: 20px; }
.panel .eyebrow::before {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hue, var(--fg-2));
}
.panel h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.035em; }
.panel h3 + p { margin-top: 14px; }
.panel p { color: var(--fg-2); }
.panel .scope { grid-template-columns: 1fr; margin-top: 24px; }
.panel .scope li { font-size: 15px; padding-block: 10px; }
.panel .text-link { margin-top: auto; padding-top: 20px; align-self: flex-start; background-position: 0 calc(100% - 8px); }
.panel .scope + .text-link { margin-top: 20px; }

.panel-link { min-height: 300px; }
.panel-link .panel-more {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
.panel-more .arrow {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform .6s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
.panel-more .arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.after-head { margin-top: clamp(96px, 12vw, 160px); }

/* ---------- Approach ---------- */

.approach-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px 80px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.approach-head .section-head { margin: 0; }
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
}
.principles li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--fg-2);
  font-size: 15.5px;
}
.principles strong { display: block; color: var(--fg); font-weight: 500; font-size: 1.0625rem; }

.steps {
  --p: 0;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
}
.steps::before, .steps::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--line-2);
}
.steps::after {
  height: 2px;
  top: -.5px;
  background: var(--spectrum);
  transform: scaleX(var(--p));
  transform-origin: left;
}
html:not(.js) .steps::after { transform: none; }
.steps li { position: relative; padding-top: 40px; }
.steps li::before {
  content: "";
  position: absolute;
  left: 0; top: -6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color .5s, box-shadow .5s;
}
.steps li.is-lit::before { background: var(--fg); box-shadow: 0 0 0 5px color-mix(in srgb, var(--fg) 12%, transparent); }
.step-num {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: .8;
  color: var(--fg-2);
}
.steps h3 { font-size: 1.5rem; margin-bottom: 12px; }
.steps p { color: var(--fg-2); font-size: 15.5px; }

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

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(2.4rem, 5.4vw, 5rem); }
.contact-copy .section-lede { margin-top: 28px; }
.contact-details { margin: 48px 0 0; }
.contact-details div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-details dt { font: 400 13px/1.9 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.contact-details dd { margin: 0; }
.contact-details address { font-style: normal; }
.contact-details a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: -8px;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  background: var(--spectrum) 0 calc(100% - 6px) / 100% 1px no-repeat;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(11, 12, 16, .25);
}
.field { display: grid; gap: 4px; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font: 400 13px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding-top: 16px;
}
.optional { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: 400 1.0625rem/1.5 var(--font-sans);
  transition: border-color .3s, background-size .6s var(--ease);
  background-image: var(--spectrum);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 28px;
  background-image: var(--spectrum), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23545a66' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-position: 0 100%, right 4px center;
  background-size: 0 2px, 12px 8px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background-size: 100% 2px;
}
.field select:focus { background-size: 100% 2px, 12px 8px; }
.field [aria-invalid="true"] { border-bottom-color: var(--red); }

.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 24px;
  font-size: 15px;
  color: var(--fg-2);
}
.check input {
  width: 22px; height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}
.check label { cursor: pointer; }
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
.form-note { font-size: 14px; color: var(--fg-2); }
.form-status { font-size: 15px; min-height: 0; }
.form-status:not(:empty) { margin-top: 16px; }
.form-status.is-error { color: #c4321d; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -15%; top: -10%;
  width: 70%; height: 90%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hue, var(--indigo)) 20%, transparent), transparent 70%);
  filter: blur(30px);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px clamp(40px, 5vw, 80px);
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 7.4vw, 7.2rem);
  line-height: .92;
  letter-spacing: -0.055em;
}
.page-hero-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 32px;
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--fg-2);
}
.page-hero-figure { position: relative; }
.on-page {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.on-page .mono { display: inline-flex; align-items: center; min-height: 40px; margin-right: auto; }
.on-page a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 15px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color .3s;
}
.on-page a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hue, var(--fg-2));
}

/* ---------- Diagrams (inner page headers) ---------- */

.diagram { width: 100%; height: auto; overflow: visible; }
.diagram text {
  font-family: var(--font-mono);
  font-size: 22px;
  fill: #eef0f4;
  dominant-baseline: middle;
}
.diagram .beam {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7));
}
.diagram .prism-body {
  fill: rgba(255, 255, 255, .035);
  stroke: rgba(255, 255, 255, .75);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.diagram .outline-line { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.diagram .ray path {
  fill: none;
  stroke: var(--c);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px var(--c));
}
.diagram .ray circle { fill: var(--c); filter: drop-shadow(0 0 6px var(--c)); }
.diagram .led { fill: var(--green); filter: drop-shadow(0 0 5px var(--green)); }
.diagram .flow, .diagram .ray .flow {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: .05 .95;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 4px #fff);
}

/* Draw-in, after the curtain lifts */
.js .diagram .beam, .js .diagram .ray path:not(.flow) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .diagram .prism-body, .js .diagram .outline-line { opacity: 0; transform: scale(.94); transform-box: fill-box; transform-origin: center; }
.js .diagram .ray circle, .js .diagram text, .js .diagram .led { opacity: 0; }
.is-ready .diagram .prism-body, .is-ready .diagram .outline-line { animation: d-pop 1.1s var(--ease) .15s forwards; }
.is-ready .diagram .beam { animation: d-draw 1s var(--ease-io) .5s forwards; }
.is-ready .diagram .ray path:not(.flow) { animation: d-draw 1s var(--ease) calc(1.2s + var(--i) * .12s) forwards; }
.is-ready .diagram .ray circle,
.is-ready .diagram .ray text { animation: d-fade .7s var(--ease) calc(1.7s + var(--i) * .12s) forwards; }
.is-ready .diagram .led { animation: d-fade .4s calc(.9s + var(--i) * .2s) forwards, d-blink 2.4s ease-in-out calc(2s + var(--i) * .5s) infinite; }
.is-ready .diagram .caption { animation: d-fade .7s var(--ease) 2.1s forwards; }
.is-ready .diagram .flow { animation: d-flow 2.6s linear calc(2.4s + var(--i, 0) * .45s) infinite; }
@keyframes d-draw { to { stroke-dashoffset: 0; } }
@keyframes d-pop { to { opacity: 1; transform: none; } }
@keyframes d-fade { to { opacity: 1; } }
@keyframes d-blink { 50% { opacity: .35; } }
@keyframes d-flow { 0% { stroke-dashoffset: 1; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ---------- Index list (brands) ---------- */

.index-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.index-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 5fr);
  gap: 12px 40px;
  align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--line);
}
.index-row::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: var(--hue, var(--fg));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.index-row h3 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1;
  transition: transform .6s var(--ease);
}
.index-row h3::after {
  content: "";
  display: inline-block;
  width: .16em; height: .16em;
  margin-left: .12em;
  border-radius: 50%;
  background: var(--hue, var(--fg-2));
  vertical-align: .1em;
}
.index-row p { color: var(--fg-2); }

/* ---------- Spec list (support) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
.split > .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.spec-list { margin: 0; border-bottom: 1px solid var(--line); counter-reset: spec; }
.spec-list > div {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  counter-increment: spec;
}
.spec-list > div::before {
  content: counter(spec, decimal-leading-zero);
  grid-row: span 2;
  font: 400 13px/2.2 var(--font-mono);
  color: var(--fg-2);
}
.spec-list dt { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.spec-list dd { margin: 0; color: var(--fg-2); }

.tag-list {
  list-style: none;
  margin: 0 0 clamp(64px, 8vw, 104px);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: clamp(15px, 1.4vw, 17px);
}
.tag-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--spectrum);
}

.steps-gap { margin-top: clamp(64px, 8vw, 104px); }

/* ---------- News ---------- */

.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 24px;
}
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news-filters button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--fg);
  font: 500 14px var(--font-sans);
  cursor: pointer;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.news-filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); box-shadow: none; }
.news-updated { font: 400 13px var(--font-mono); letter-spacing: .04em; color: var(--fg-2); }

.news-list { border-bottom: 1px solid var(--line); }
.news-item {
  --hue: var(--fg-2);
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 8px 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  animation: news-in .7s var(--ease) both;
}
.news-item::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 64px; height: 2px;
  background: var(--hue);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.news-item[data-category="ai"] { --hue: var(--green); }
.news-item[data-category="security"] { --hue: var(--red); }
.news-item[data-category="computing"] { --hue: var(--indigo); }
.news-item[data-category="tech"] { --hue: var(--teal); }
.news-item[data-category="rpa"] { --hue: var(--amber); }
.news-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font: 400 13px/1.6 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.news-meta span { display: inline-flex; align-items: center; gap: 8px; }
.news-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hue); }
.news-item h3 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.22; }
.news-item h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.news-item p { margin-top: 10px; color: var(--fg-2); max-width: 46rem; }
.news-item .news-source { font: 400 13px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.news-empty { padding: 32px 0; color: var(--fg-2); }
.news-more { margin-top: 40px; }
@keyframes news-in { from { opacity: 0; transform: translateY(12px); } }

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

.cta-band {
  position: relative;
  padding-block: clamp(112px, 14vw, 200px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; bottom: -60%;
  width: min(1100px, 140%);
  aspect-ratio: 2;
  transform: translateX(-50%);
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--indigo), var(--teal), var(--green), var(--amber), var(--red), var(--indigo));
  filter: blur(90px);
  opacity: .32;
}
.cta-band h2 {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 6.4vw, 6rem);
}
.cta-band p {
  max-width: 34rem;
  margin: 28px auto 40px;
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  color: var(--fg-2);
}

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

.site-footer {
  position: relative;
  padding-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 48px;
}
.footer-brand { display: flex; gap: 20px; align-items: center; align-self: start; }
.footer-brand img { width: 88px; height: 88px; flex: none; }
.footer-name { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.footer-tag { margin-top: 4px; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--fg-2); }
.footer-col h2 {
  margin-bottom: 16px;
  font: 400 13px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.footer-nav { display: grid; }
.footer-nav a, .footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  transition: color .3s, transform .5s var(--ease);
}
.footer-contact address { font-style: normal; color: var(--fg-2); margin-top: 8px; }
.footer-contact p { color: var(--fg-2); margin-top: 12px; }
.footer-mark {
  margin-top: clamp(56px, 8vw, 104px);
  user-select: none;
}
.footer-mark svg { width: 100%; height: auto; overflow: visible; }
.footer-mark text {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 160px;
  letter-spacing: -8px;
  fill: transparent;
  stroke: rgba(255, 255, 255, .16);
  stroke-width: 1;
}
.footer-mark .fill { fill: url(#mark-grad); stroke: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-io); }
.footer-mark.is-visible .fill { clip-path: inset(0 0 0 0); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 24px 0 32px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg-2);
  align-items: center;
}
.footer-legal a { display: inline-flex; align-items: center; min-height: 40px; color: var(--fg); text-underline-offset: 3px; }

/* ---------- Hover (real pointers only) ---------- */

@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { opacity: .55; }
  .btn:hover .btn-arrow::before { transform: translateX(120%); }
  .btn:hover .btn-arrow::after { transform: none; }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); }
  .text-link:hover { background-size: 0 1px; background-position: 100% calc(100% - 8px); }
  .text-link:hover::after { transform: translateX(4px); }
  .brand:hover img { transform: rotate(-120deg); }
  .site-nav a:not(.btn):hover { color: #fff; }
  .site-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
  .hero-index a:hover, .hero-index a:focus-visible { color: var(--fg); padding-left: 8px; }
  .hero-index a:hover::after, .hero-index a:focus-visible::after { box-shadow: 0 0 14px 3px var(--hue); transform: scale(1.3); }
  .svc-index a:hover { color: var(--fg); }
  .panel:hover::before { opacity: 1; }
  .panel-link:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2); }
  .panel-link:hover .arrow { background: var(--fg); color: var(--bg); box-shadow: none; transform: rotate(-45deg); }
  .index-row:hover::before { transform: scaleX(1); }
  .index-row:hover h3 { transform: translateX(12px); }
  .on-page a:hover { color: var(--fg); }
  .news-filters button:hover:not([aria-pressed="true"]) { box-shadow: inset 0 0 0 1px var(--fg); }
  .news-item:hover::before { transform: scaleX(3); }
  .news-item h3 a:hover { background-size: 100% 1px; }
  .footer-nav a:hover, .footer-contact a:hover { transform: translateX(6px); }
  .contact-details a:hover { background-size: 0 1px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) and (min-width: 641px) {
  .grid[style*="--cols:4"] { --cols: 2 !important; }
}

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 210px); }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-index { min-width: 0; }
  .services-layout,
  .approach-head,
  .contact-inner,
  .page-hero-inner,
  .split,
  .footer-grid { grid-template-columns: 1fr; }
  .services-aside, .split > .section-head { position: static; }
  .svc-index { display: none; }
  .grid { --cols: 1 !important; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .steps::before, .steps::after { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps::after { width: 2px; left: -.5px; background: linear-gradient(var(--indigo), var(--teal), var(--green), var(--amber), var(--red)); transform: scaleY(var(--p)); transform-origin: top; }
  .steps li { padding: 0 0 40px; }
  .steps li::before { left: -33px; top: 6px; }
  .step-num { margin-bottom: 16px; font-size: 2.6rem; }
  .index-row { grid-template-columns: 1fr; gap: 10px; }
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .news-meta { flex-direction: row; gap: 16px; }
  .page-hero-figure { max-width: 560px; }
  .diagram text { font-size: 24px; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; --radius: 18px; }
  .brand img { width: 40px; height: 40px; }
  .scope { grid-template-columns: 1fr; }
  .on-page { gap: 4px 24px; }
  .on-page .mono { flex-basis: 100%; min-height: 32px; }
  .panel-link { min-height: 0; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 20px; }
  .contact-details div { grid-template-columns: 1fr; gap: 4px; }
  .contact-details a { margin-top: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-brand img { width: 64px; height: 64px; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 15px; }
  .hero-actions .btn { padding: 0 18px; }
}

/* ---------- Reduced motion: everything visible, nothing moves ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .marquee-group[aria-hidden] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .lit .lw { opacity: 1; }
  .diagram .flow { display: none; }
  .js .diagram * { opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
  .footer-mark .fill { clip-path: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
