@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #071a3b;
  --ink-soft: #17305b;
  --blue: #1266e3;
  --blue-dark: #0b48ad;
  --magenta: #ed0a7a;
  --cyan: #06a8f0;
  --orange: #ff9f1c;
  --paper: #f7f9fc;
  --white: #ffffff;
  --muted: #5f6f89;
  --line: #dfe6f0;
  --shadow: 0 20px 60px rgba(7, 26, 59, 0.1);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #ff9f1c;
  outline-offset: 3px;
}

:where(section, article)[id] {
  scroll-margin-top: 100px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 230, 240, 0.85);
  box-shadow: 0 4px 18px rgba(7, 26, 59, 0.055);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 1 245px;
}

.brand img {
  width: 245px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.site-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18, 102, 227, 0.2);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 32px rgba(18, 102, 227, 0.28);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--blue-dark);
  border-color: #aebcd2;
}

.button.small {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 0.85rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--orange));
  border-radius: 2px;
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 96px;
  background:
    radial-gradient(circle at 10% 25%, rgba(237, 10, 122, 0.12), transparent 25%),
    radial-gradient(circle at 84% 5%, rgba(6, 168, 240, 0.17), transparent 25%),
    linear-gradient(140deg, #fbfdff 0%, #f3f7fd 100%);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -280px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(18, 102, 227, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(18, 102, 227, 0.035),
    0 0 0 160px rgba(18, 102, 227, 0.025);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 80px;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, var(--magenta) 5%, var(--blue) 56%, var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-note span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(7, 26, 59, 0.1);
}

.neural-panel {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.neural-glow {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(18, 102, 227, 0.14), rgba(6, 168, 240, 0.04) 48%, transparent 70%);
  border-radius: 50%;
  filter: blur(2px);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.neural-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.signal-paths path,
.dense-signal-paths path {
  fill: none;
  stroke: url("#signal-gradient");
  stroke-dasharray: 3 10;
  stroke-linecap: round;
  stroke-width: 1.5;
  opacity: 0.44;
  animation: signal-flow 18s linear infinite;
}

.signal-paths path:nth-child(even),
.dense-signal-paths path:nth-child(even) {
  animation-direction: reverse;
  animation-duration: 22s;
  opacity: 0.28;
}

.data-pulses circle,
.dense-pulses circle {
  fill: var(--white);
  filter: drop-shadow(0 0 7px var(--cyan));
}

.dense-signal-paths path {
  stroke-dasharray: none;
  stroke-width: 1.15;
  opacity: 0.24;
}

.dense-signal-paths path:nth-child(even) {
  opacity: 0.17;
}

.dense-nodes circle {
  fill: url("#node-fill");
  stroke: #7559e8;
  stroke-width: 2;
  filter: drop-shadow(0 5px 8px rgba(18, 102, 227, 0.16));
}

.dense-inputs circle {
  stroke: var(--magenta);
  stroke-width: 3;
}

.dense-outputs circle {
  stroke: var(--cyan);
  stroke-width: 3;
}

.dense-labels text {
  fill: var(--ink-soft);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-anchor: middle;
}

.neural-panel-dense .neural-glow {
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(117, 89, 232, 0.12), rgba(6, 168, 240, 0.035) 52%, transparent 72%);
}

.svg-nodes circle {
  fill: var(--white);
  stroke: var(--blue);
  stroke-width: 8;
  filter: drop-shadow(0 8px 12px rgba(18, 102, 227, 0.22));
}

.svg-nodes text {
  fill: var(--ink-soft);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-anchor: middle;
  text-transform: uppercase;
}

.input-nodes circle {
  stroke: var(--magenta);
  filter: drop-shadow(0 8px 12px rgba(237, 10, 122, 0.2));
}

.output-nodes circle {
  stroke: var(--cyan);
  filter: drop-shadow(0 8px 12px rgba(6, 168, 240, 0.22));
}

.centre-node circle {
  fill: var(--ink);
  stroke: var(--blue);
  stroke-width: 10;
  filter: drop-shadow(0 12px 15px rgba(7, 26, 59, 0.28));
}

.centre-node text {
  fill: var(--blue-dark);
}

.neural-caption {
  position: absolute;
  right: 50%;
  bottom: -10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(7, 26, 59, 0.08);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  transform: translateX(50%);
  white-space: nowrap;
}

.neural-caption b {
  color: var(--blue-dark);
}

.neural-caption span {
  color: var(--muted);
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -130;
  }
}

.section {
  padding: 100px 0;
}

.section.soft {
  background: var(--paper);
}

.why-section {
  position: relative;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.why-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(220px, 35vw);
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--blue), var(--cyan));
  border-radius: 0 0 4px 4px;
  content: "";
  transform: translateX(-50%);
}

.why-section .principle {
  box-shadow: 0 12px 36px rgba(7, 26, 59, 0.06);
}

.section.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(6, 168, 240, 0.17), transparent 30%),
    var(--ink);
}

.connected-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(6, 168, 240, 0.12), transparent 30%),
    linear-gradient(145deg, #f4f8ff 0%, #edf4fd 100%);
  border-top: 1px solid #e2eaf5;
}

.connected-section .section-head p {
  color: var(--muted);
}

.connected-section .eyebrow {
  color: var(--blue-dark);
}

.connected-section .process-grid {
  gap: 14px;
  overflow: visible;
  background: transparent;
  border: 0;
}

.connected-section .process-step {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(207, 219, 236, 0.9);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(7, 26, 59, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.connected-section .process-step::before {
  position: absolute;
  top: 0;
  left: 30px;
  z-index: 1;
  width: 46px;
  height: 3px;
  background: rgba(18, 102, 227, 0.45);
  border-radius: 0 0 3px 3px;
  content: "";
}

.connected-section .process-step:hover {
  border-color: #cfdbea;
  box-shadow: 0 18px 42px rgba(7, 26, 59, 0.09);
  transform: translateY(-4px);
}

.connected-section .process-step.discover {
  --step-accent: var(--blue-dark);
  --step-soft: rgba(18, 102, 227, 0.08);
}

.connected-section .process-step.design {
  --step-accent: var(--blue-dark);
  --step-soft: rgba(18, 102, 227, 0.08);
}

.connected-section .process-step.deliver {
  --step-accent: var(--blue-dark);
  --step-soft: rgba(18, 102, 227, 0.08);
}

.connected-section .process-step.evolve {
  --step-accent: var(--blue-dark);
  --step-soft: rgba(18, 102, 227, 0.08);
}

.connected-section .process-step span {
  color: var(--step-accent);
}

.connected-section .process-step p {
  margin-top: 14px;
  color: var(--muted);
}

.process-illustration {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  height: 164px;
  margin: -30px -30px 25px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(207, 219, 236, 0.75);
}

.process-icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--step-accent);
  background: var(--step-soft);
  border-radius: 15px;
}

.process-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-head > div:first-child {
  max-width: 730px;
}

.section-head h2,
.split-copy h2,
.cta h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-head p,
.split-copy > p,
.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

.section.dark .section-head p,
.section.dark .eyebrow {
  color: #b8c9e5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.text-link:hover {
  color: var(--magenta);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border 220ms ease;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card::after {
  position: absolute;
  right: -52px;
  bottom: -65px;
  width: 140px;
  height: 140px;
  background: var(--card-accent, var(--blue));
  border-radius: 50%;
  content: "";
  opacity: 0.07;
}

.service-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--card-accent, var(--blue));
  background: color-mix(in srgb, var(--card-accent, var(--blue)) 10%, white);
  border-radius: 14px;
  font-size: 0.76rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 34px 0 10px;
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.split-copy > p {
  margin: 24px 0 0;
}

.principle-stack {
  display: grid;
  gap: 14px;
}

.principle {
  display: grid;
  grid-template-columns: 148px 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px 20px 14px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.principle:hover {
  border-color: #cfdbea;
  box-shadow: 0 18px 42px rgba(7, 26, 59, 0.08);
  transform: translateY(-2px);
}

.principle img {
  width: 148px;
  height: 118px;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(0.9);
}

.principle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.principle-heading b {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue-dark);
  background: #f3f5f7;
  border: 1px solid #e4e9ef;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(7, 26, 59, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  transform: translateY(-3px);
}

.principle-heading h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.process-step {
  min-height: 335px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.035);
}

.process-step span {
  color: #68c9f6;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin: 16px 0 10px;
  font-size: 1.32rem;
}

.process-step p {
  margin: 0;
  color: #aebfd9;
  font-size: 0.9rem;
}

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  padding: 56px;
  color: var(--white);
  background: linear-gradient(120deg, #0b3c93, var(--blue) 60%, #0e8fcf);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.cta::after {
  position: absolute;
  top: -140px;
  right: -40px;
  width: 330px;
  height: 330px;
  border: 52px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta p {
  max-width: 650px;
  margin: 16px 0 0;
  color: #d6e7ff;
}

.page-hero {
  padding: 90px 0 76px;
  background:
    radial-gradient(circle at 85% 20%, rgba(6, 168, 240, 0.17), transparent 26%),
    var(--paper);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 730px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.story-aside {
  position: sticky;
  top: 130px;
  align-self: start;
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.story-aside strong {
  display: block;
  margin-bottom: 14px;
  color: #6bd2ff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-aside p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.story-copy h2 {
  margin: 0 0 20px;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.story-copy p {
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.value-card span {
  color: var(--magenta);
  font-size: 0.75rem;
  font-weight: 800;
}

.value-card h3 {
  margin: 28px 0 9px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.contact-card {
  min-width: 0;
  padding: 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card.primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.contact-card.primary p {
  color: #b9c9e1;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-item {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.contact-item > div {
  min-width: 0;
}

.contact-item a {
  overflow-wrap: anywhere;
}

.contact-item span:first-child {
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  color: #73d6ff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-weight: 800;
}

.contact-item small {
  display: block;
  color: #8ea5c6;
}

.contact-item a:hover {
  color: #73d6ff;
}

.address-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 80% 15%, rgba(237, 10, 122, 0.12), transparent 25%),
    var(--paper);
}

.address-panel address {
  margin-top: 42px;
  font-size: 1.38rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.45;
}

.availability {
  margin-top: 60px;
  padding-top: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: center;
  gap: 70px;
}

.policy-nav {
  position: sticky;
  top: 120px;
  align-self: start;
}

.policy-nav strong {
  display: block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.policy-nav a:hover {
  color: var(--blue);
}

.policy-content section {
  scroll-margin-top: 120px;
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid var(--line);
}

.policy-content section:last-child {
  border-bottom: 0;
}

.policy-content h2 {
  margin: 0 0 16px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  padding-left: 22px;
}

.policy-content a {
  color: var(--blue-dark);
  font-weight: 700;
}

.policy-note {
  padding: 22px;
  background: #eef5ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
}

.site-footer {
  padding: 70px 0 24px;
  color: #b8c7dd;
  background: #05142f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 70px;
  padding-bottom: 54px;
}

.footer-brand img {
  width: 290px;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
}

.footer-brand p {
  max-width: 470px;
  margin: 24px 0 0;
  color: #9cacc4;
}

.footer-column strong {
  display: block;
  margin-bottom: 17px;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 9px 0;
  color: #a8b7cd;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--white);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js [data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .js .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  html:not(.js) .nav-wrap {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  html:not(.js) .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 30px 20px;
    background: var(--white);
    box-shadow: 0 22px 35px rgba(7, 26, 59, 0.12);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .js .site-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav .button {
    margin-top: 20px;
    border-bottom: 0;
  }

  .hero-grid,
  .split,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 30px;
  }

  .neural-panel {
    min-height: 420px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Enquiry form */
.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.enquiry-panel {
  min-width: 0;
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-intro {
  max-width: 650px;
  margin-bottom: 32px;
}

.form-intro h2 {
  margin: 0 0 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.field {
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.fieldset-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.required {
  color: #a7004f;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #aebcd2;
  border-radius: 10px;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #7285a2;
}

.field [aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

.field-hint,
.field-error {
  margin: 7px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  min-height: 1.2em;
  color: #9a2017;
  font-weight: 650;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.checkbox-field label {
  margin: 0;
  font-weight: 600;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.form-status {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.form-status[data-state="error"] { color: #9a2017; }
.form-status[data-state="success"] { color: #08704f; }

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.contact-sidebar {
  display: grid;
  min-width: 0;
  gap: 22px;
}

.contact-sidebar a {
  overflow-wrap: anywhere;
}

.contact-sidebar .contact-card {
  padding: 30px;
}

.deployment-note {
  padding: 16px 18px;
  color: var(--ink-soft);
  background: #eef5ff;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  font-size: 0.86rem;
}

.error-page {
  display: grid;
  min-height: 68vh;
  place-items: center;
  padding: 80px 0;
}

.error-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.error-layout h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 7vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.error-code {
  color: #74849b;
  font-size: clamp(7rem, 18vw, 15rem);
  font-weight: 800;
  line-height: 0.8;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 960px) {
  .enquiry-layout {
    grid-template-columns: 1fr;
  }
}

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

  .field.full {
    grid-column: auto;
  }

  .enquiry-panel {
    padding: 28px 20px;
  }

  .error-layout {
    grid-template-columns: 1fr;
  }

  .error-code {
    grid-row: 1;
  }
}

@media (forced-colors: active) {
  :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid CanvasText;
  }

  .gradient-text {
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand img {
    width: 200px;
  }

  .site-nav {
    top: 74px;
  }

  .hero {
    padding: 70px 0 56px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.052em;
  }

  .neural-panel {
    min-height: 360px;
  }

  .neural-caption {
    bottom: 2px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    display: block;
  }

  .section-head .text-link {
    margin-top: 18px;
  }

  .service-grid,
  .process-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 280px;
  }

  .principle {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .principle img {
    width: 100%;
    height: 190px;
  }

  .split {
    gap: 48px;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 36px 26px;
  }

  .page-hero {
    padding: 64px 0 58px;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .policy-nav {
    position: static;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }

  .policy-nav a {
    display: inline-block;
    margin-right: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand img {
    width: 250px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
