:root {
  color: #e1e8ed;
  background: #0b0f12;
  font-family: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  --blue: #2872fa;
  --blue-dark: #1559ed;
  --blue-deep: #0e47c7;
  --cyan: #45c6f5;
  --ink: #0b0f12;
  --ink-soft: #111518;
  --panel: #151c22;
  --panel-strong: #192a3d;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #e1e8ed;
  --muted: #aab4be;
  --soft: #cbd4dc;
  --light: #f2f5f7;
  --white: #ffffff;
  --header-height: 88px;
  --shell: 1240px;
  --section-space: clamp(5.5rem, 9vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--ink-soft);
  background-size: 88px 88px, auto;
  color: var(--text);
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

body::selection {
  background: var(--blue);
  color: var(--white);
}

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

a {
  color: inherit;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.layout-shell {
  margin-inline: auto;
  max-width: var(--shell);
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
}

.scroll-progress {
  height: 3px;
  inset: 0 0 auto;
  pointer-events: none;
  position: fixed;
  z-index: 100;
}

.scroll-progress span {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
}

/* Header */

.site-header {
  background: linear-gradient(180deg, rgba(5, 8, 10, 0.82), rgba(5, 8, 10, 0));
  border-bottom: 1px solid transparent;
  inset: 0 0 auto;
  position: fixed;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  z-index: 80;
}

.inner-page .site-header,
.site-header.is-scrolled,
.menu-open .site-header {
  backdrop-filter: blur(18px);
  background: rgba(10, 14, 17, 0.92);
  border-color: var(--line);
}

.header-shell {
  align-items: center;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(150px, 210px) 1fr auto;
  min-height: var(--header-height);
}

.site-brand {
  align-items: center;
  display: inline-flex;
  position: relative;
  text-decoration: none;
  z-index: 2;
}

.site-brand img {
  height: auto;
  width: min(100%, 12.75rem);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(0.15rem, 0.8vw, 0.7rem);
  justify-content: flex-end;
}

.site-nav a,
.client-login-link,
.footer-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.site-nav a {
  color: #d8e0e7;
  padding: 0.6rem 0.45rem;
  position: relative;
}

.site-nav a::after {
  background: var(--cyan);
  bottom: 0.18rem;
  content: "";
  height: 1px;
  left: 0.45rem;
  position: absolute;
  right: 100%;
  transition: right 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0.45rem;
}

.client-login-link {
  align-items: center;
  border: 1px solid rgba(69, 198, 245, 0.55);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  min-height: 2.45rem;
  padding: 0.5rem 0.9rem;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.client-login-link:hover,
.client-login-link[aria-current="page"] {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

.site-nav .client-login-link-mobile {
  display: none;
}

.nav-toggle {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: none;
  height: 44px;
  padding: 0;
  position: relative;
  width: 44px;
  z-index: 3;
}

.nav-toggle > span:not(.visually-hidden) {
  background: currentColor;
  height: 2px;
  left: 10px;
  position: absolute;
  transition: transform 180ms ease, top 180ms ease;
  width: 24px;
}

.nav-toggle > span:nth-of-type(2) {
  top: 16px;
}

.nav-toggle > span:nth-of-type(3) {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Type and controls */

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  color: var(--white);
  font-weight: 760;
  letter-spacing: -0.035em;
  margin-top: 0;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.96;
  margin-bottom: 1.6rem;
}

h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.7rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

p {
  margin-top: 0;
}

.page-kicker {
  align-items: center;
  color: var(--cyan);
  display: flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 0.65rem;
  letter-spacing: 0.14em;
  margin: 0 0 1.15rem;
  text-transform: uppercase;
}

.page-kicker > span:empty {
  background: currentColor;
  border-radius: 50%;
  height: 0.44rem;
  width: 0.44rem;
}

.page-summary,
.section-lead,
.home-hero-summary {
  color: var(--soft);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.65;
}

.action-row,
.text-link-row,
.contact-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button-link,
.text-link {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.015em;
  min-height: 3.35rem;
  padding: 0.8rem 1.35rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-link-primary {
  background: var(--blue-dark);
  color: var(--white);
}

.button-link-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.button-link-secondary {
  background: rgba(8, 12, 15, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button-link-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.62);
  transform: translateY(-2px);
}

.text-link {
  border-bottom: 1px solid rgba(69, 198, 245, 0.7);
  color: var(--white);
  min-height: auto;
  padding: 0.4rem 0 0.3rem;
}

.text-link:hover {
  border-color: var(--white);
  color: var(--cyan);
}

/* Homepage hero */

.home-hero {
  --hero-x: 0px;
  --hero-y: 0px;
  background: #080b0d;
  border-bottom: 1px solid var(--line);
  min-height: max(760px, 100svh);
  overflow: hidden;
  position: relative;
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.98) 0%, rgba(5, 8, 10, 0.9) 33%, rgba(5, 8, 10, 0.5) 61%, rgba(5, 8, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 8, 10, 0.05) 45%, rgba(5, 8, 10, 0.95) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.home-hero::after {
  background: linear-gradient(180deg, var(--cyan), var(--blue-dark));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 4px;
  z-index: 4;
}

.home-hero-visual {
  inset: -1rem;
  margin: 0;
  overflow: hidden;
  position: absolute;
}

.home-hero-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(var(--hero-x), var(--hero-y), 0) scale(1.025);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  inset: 0;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  opacity: 0.28;
  position: absolute;
  z-index: 2;
}

.home-hero-inner {
  align-items: center;
  display: flex;
  min-height: max(660px, calc(100svh - 145px));
  padding-bottom: 6.5rem;
  padding-top: calc(var(--header-height) + 5rem);
  position: relative;
  z-index: 3;
}

.hero-copy {
  max-width: 800px;
}

.hero-copy h1 {
  max-width: 780px;
}

.hero-copy h1 span {
  color: var(--cyan);
  display: block;
}

.home-hero-summary {
  max-width: 690px;
}

.hero-copy .button-link-secondary {
  backdrop-filter: blur(8px);
}

.hero-proof-rail {
  border-top: 1px solid var(--line);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 4;
}

.hero-proof-item {
  align-items: center;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 0.1rem 0.85rem;
  grid-template-columns: auto 1fr;
  min-height: 108px;
  padding: 1rem 1.5rem;
}

.hero-proof-item:first-child {
  border-left: 1px solid var(--line);
}

.hero-proof-item > span {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  grid-row: 1 / 3;
  letter-spacing: 0.1em;
}

.hero-proof-item strong {
  color: var(--white);
  font-size: 0.95rem;
}

.hero-proof-item small {
  color: var(--muted);
  font-size: 0.72rem;
}

/* Homepage sections */

.home-section,
.service-detail-section {
  padding-bottom: var(--section-space);
  padding-top: var(--section-space);
  position: relative;
}

.home-section-contrast {
  background: #0e1317;
  border-bottom: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
}

.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 840px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-heading-wide {
  align-items: end;
  display: grid;
  gap: 2rem 5rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  max-width: none;
}

.section-heading-wide > p {
  margin-bottom: 0.3rem;
}

.home-manifesto {
  align-items: start;
  display: grid;
  gap: 2rem clamp(2rem, 5vw, 5rem);
  grid-template-columns: 0.15fr 0.85fr 1fr;
}

.section-marker {
  color: rgba(255, 255, 255, 0.14);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.manifesto-heading h2 {
  font-size: clamp(2.4rem, 4.4vw, 4.3rem);
}

.manifesto-copy {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 3.5vw, 3rem);
}

.statement-list,
.compact-point-list,
.typical-work-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.statement-list li,
.compact-point-list li {
  border-top: 1px solid var(--line);
  color: var(--soft);
  line-height: 1.55;
  padding: 0.85rem 0 0.85rem 1.4rem;
  position: relative;
}

.statement-list li::before,
.compact-point-list li::before {
  color: var(--cyan);
  content: "↳";
  left: 0;
  position: absolute;
}

.capability-section {
  background:
    linear-gradient(90deg, rgba(25, 42, 61, 0.06) 1px, transparent 1px),
    var(--light);
  background-size: 88px 88px, auto;
  color: #263748;
}

.capability-section h2,
.capability-section h3 {
  color: var(--ink-soft);
}

.capability-section .page-kicker {
  color: var(--blue-dark);
}

.capability-section .section-heading > p {
  color: #536579;
}

.capability-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, 1fr);
}

.capability-card {
  background: var(--white);
  border: 1px solid #dbe2e8;
  color: #425467;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  position: relative;
  text-decoration: none;
  transition: background 240ms ease, color 240ms ease, transform 240ms ease, z-index 0ms;
}

.capability-card:nth-child(-n + 2) {
  grid-column: span 3;
}

.capability-card::after {
  background: var(--blue-dark);
  content: "";
  height: 4px;
  inset: auto 100% 0 0;
  position: absolute;
  transition: right 240ms ease;
}

.capability-card:hover {
  background: var(--ink-soft);
  color: var(--soft);
  transform: translateY(-6px);
  z-index: 2;
}

.capability-card:hover::after {
  right: 0;
}

.capability-card:hover h3,
.capability-card:hover .card-action {
  color: var(--white);
}

.capability-index {
  color: #8090a0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  position: absolute;
  right: 1.4rem;
  top: 1.3rem;
}

.service-icon {
  color: var(--blue-dark);
  display: block;
  margin-bottom: auto;
  width: 3.3rem;
}

.service-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.capability-card h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  margin-top: 2.5rem;
  transition: color 240ms ease;
}

.capability-card p {
  font-size: 0.96rem;
  line-height: 1.65;
}

.card-action {
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 1.5rem;
  text-transform: uppercase;
}

.work-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}

.work-card {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--white);
  display: block;
  grid-column: span 6;
  min-height: 410px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.work-card:nth-child(4n + 1),
.work-card:nth-child(4n) {
  grid-column: span 7;
}

.work-card:nth-child(4n + 2),
.work-card:nth-child(4n + 3) {
  grid-column: span 5;
}

.work-card::after {
  background: linear-gradient(180deg, transparent 25%, rgba(5, 8, 10, 0.94) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.work-card img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  transition: filter 500ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.work-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.work-card-copy {
  bottom: 0;
  max-width: 37rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  position: absolute;
  z-index: 2;
}

.work-card-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: 0.55rem;
}

.work-card-copy p {
  color: #c5cfd7;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  max-width: 34rem;
}

.work-card-arrow {
  color: var(--cyan);
  font-size: 1.4rem;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
}

.work-card-grid-compact .work-card {
  grid-column: span 4;
  min-height: 360px;
}

.method-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(40, 114, 250, 0.18), transparent 32%),
    var(--panel-strong);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.method-grid {
  counter-reset: method;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.method-step {
  border-left: 1px solid var(--line);
  min-height: 300px;
  padding: clamp(1.5rem, 3vw, 2.7rem);
}

.method-step:last-child {
  border-right: 1px solid var(--line);
}

.method-step > span {
  color: var(--cyan);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 5rem;
}

.method-step p {
  color: var(--muted);
  line-height: 1.7;
}

.systems-feature {
  background: #090d10;
  overflow: hidden;
}

.systems-feature::before {
  background: var(--blue);
  content: "";
  filter: blur(100px);
  height: 22rem;
  opacity: 0.15;
  position: absolute;
  right: 6%;
  top: 20%;
  width: 22rem;
}

.systems-feature-grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
}

.systems-visual {
  background: #10171d;
  border: 1px solid rgba(69, 198, 245, 0.25);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.35);
  margin: 0;
  padding: 0.55rem;
  position: relative;
  transform: perspective(1200px) rotateY(2deg) rotateX(1deg);
}

.systems-visual::before {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  content: "";
  height: 2px;
  inset: 0 55% auto 0;
  position: absolute;
}

.systems-visual img {
  height: auto;
  width: 100%;
}

.systems-visual figcaption {
  color: #8796a3;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.7rem 0.45rem 0.2rem;
  text-transform: uppercase;
}

.systems-copy p:not(.page-kicker) {
  color: var(--muted);
  line-height: 1.75;
}

/* Credentials, partner route and community */

.trade-directory-section {
  background:
    linear-gradient(90deg, rgba(25, 42, 61, 0.05) 1px, transparent 1px),
    var(--light);
  background-size: 88px 88px, auto;
  color: #405267;
}

.trade-directory-section h2 {
  color: var(--ink-soft);
}

.trade-directory-section .page-kicker {
  color: var(--blue-dark);
}

.split-section {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.split-section > p,
.split-section > div > p:not(.page-kicker) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.trade-directory-section .split-section > div > p:not(.page-kicker) {
  color: #536579;
}

.trade-link-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.trade-link-card {
  background: var(--white);
  border: 1px solid #d8e0e7;
  color: #32465b;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 1.2rem;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.trade-link-card:hover {
  border-color: var(--blue);
  box-shadow: 0 1rem 2.5rem rgba(25, 42, 61, 0.11);
  transform: translateY(-4px);
}

.trade-link-card img {
  height: 65px;
  margin-bottom: auto;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

.trade-link-card span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 1.5rem;
}

.trade-link-card small {
  color: #637487;
  font-size: 0.72rem;
  line-height: 1.45;
  margin-top: 0.45rem;
}

.trade-logo-strip {
  align-items: center;
  border-top: 1px solid #d8e0e7;
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.trade-logo-strip figure {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  margin: 0;
}

.trade-logo-strip img {
  height: 48px;
  object-fit: contain;
  width: 65px;
}

.trade-logo-strip figcaption {
  color: #536579;
  font-size: 0.72rem;
}

.safe-wiring-panel {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.safe-wiring-mark {
  border: 1px solid var(--line);
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 290px;
  justify-content: center;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
}

.safe-wiring-mark::after {
  background: var(--blue);
  content: "";
  height: 16rem;
  opacity: 0.22;
  position: absolute;
  right: -8rem;
  top: -5rem;
  transform: rotate(45deg);
  width: 16rem;
}

.safe-wiring-mark span,
.safe-wiring-mark strong {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.safe-wiring-mark strong {
  color: var(--cyan);
}

.safe-wiring-mark small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  margin-top: 1.6rem;
  text-transform: uppercase;
}

.safe-wiring-copy p:not(.page-kicker) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.sponsorship-heading {
  max-width: 720px;
}

.sponsorship-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.sponsorship-card {
  align-items: center;
  background: #0e1418;
  border: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 170px;
  min-height: 280px;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.sponsorship-card-copy p:not(.page-kicker) {
  color: var(--muted);
  font-size: 0.9rem;
}

.sponsorship-inline-link {
  color: var(--cyan);
}

.sponsor-artwork {
  align-items: center;
  background: var(--white);
  display: flex;
  height: 190px;
  justify-content: center;
  margin: 0;
  padding: 0.7rem;
}

.sponsor-artwork img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.sponsorship-link-row,
.footer-social-links {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.sponsorship-link,
.footer-social-link {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  height: 2.35rem;
  justify-content: center;
  padding: 0.5rem;
  text-decoration: none;
  width: 2.35rem;
}

.sponsorship-link:hover,
.footer-social-link:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.sponsorship-link img,
.footer-social-link img {
  height: 1rem;
  width: 1rem;
}

.contact-cta {
  background:
    linear-gradient(105deg, rgba(5, 26, 78, 0.38), transparent 55%),
    var(--blue-dark);
  border: 0;
}

.contact-cta-inner {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr auto;
}

.contact-cta h2 {
  max-width: 880px;
}

.contact-cta p:not(.page-kicker) {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 760px;
}

.contact-cta .page-kicker {
  color: var(--white);
}

.contact-cta .button-link-primary {
  background: var(--white);
  color: var(--blue-deep);
}

.contact-cta .button-link-primary:hover {
  background: #e8eef5;
}

/* Inner page hero */

.page-hero {
  background:
    radial-gradient(circle at 85% 25%, rgba(40, 114, 250, 0.16), transparent 28%),
    #0b1014;
  border-bottom: 1px solid var(--line);
  min-height: 650px;
  overflow: hidden;
  padding-top: var(--header-height);
  position: relative;
}

.page-hero::after {
  background: linear-gradient(180deg, var(--cyan), var(--blue-dark));
  content: "";
  inset: var(--header-height) auto 0 0;
  position: absolute;
  width: 4px;
}

.page-hero-media {
  inset: var(--header-height) 0 0 46%;
  overflow: hidden;
  position: absolute;
}

.page-hero-media::after {
  background:
    linear-gradient(90deg, #0b1014 0%, rgba(11, 16, 20, 0.75) 24%, rgba(11, 16, 20, 0.12) 78%),
    linear-gradient(180deg, transparent 45%, #0b1014 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.page-hero-media img {
  filter: saturate(0.8) contrast(1.06);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.page-hero-inner {
  align-items: center;
  display: flex;
  min-height: calc(650px - var(--header-height));
  position: relative;
  z-index: 2;
}

.page-hero-copy {
  max-width: 760px;
  padding-block: 5rem;
}

.page-hero-copy h1 {
  font-size: clamp(3.5rem, 7vw, 6.8rem);
}

.page-hero-copy .page-summary {
  max-width: 660px;
}

.page-logo {
  height: auto;
  margin-bottom: 1.4rem;
  width: min(20rem, 70vw);
}

.page-logo + h1 {
  display: none;
}

/* Shared inner content */

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

.service-card {
  background: rgba(21, 28, 34, 0.88);
  border: 1px solid var(--line);
  min-height: 215px;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  position: relative;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.service-card::before {
  background: linear-gradient(180deg, var(--cyan), var(--blue-dark));
  content: "";
  inset: 0 auto 100% 0;
  position: absolute;
  transition: bottom 220ms ease;
  width: 3px;
}

.service-card:hover {
  background: #18212a;
  border-color: rgba(69, 198, 245, 0.33);
  transform: translateY(-4px);
}

.service-card:hover::before {
  bottom: 0;
}

.service-card h3 a {
  text-decoration: none;
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
}

.service-card .compact-point-list {
  margin-top: 1.2rem;
}

.supporting-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.supporting-card-grid .service-card {
  min-height: 190px;
}

.case-study-card-image {
  height: 250px;
  margin: calc(clamp(1.4rem, 3vw, 2.1rem) * -1) calc(clamp(1.4rem, 3vw, 2.1rem) * -1) 1.6rem;
  object-fit: cover;
  width: calc(100% + (clamp(1.4rem, 3vw, 2.1rem) * 2));
}

.case-study-note h2 {
  max-width: 520px;
}

.typical-work-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
}

.typical-work-list li {
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  padding: 0.9rem 2rem 0.9rem 1.35rem;
  position: relative;
}

.typical-work-list li::before {
  background: var(--cyan);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 1.45rem;
  width: 5px;
}

.related-links-section {
  border-top: 1px solid var(--line);
}

.related-link-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr);
}

.related-link-card {
  align-items: center;
  border: 1px solid var(--line);
  display: flex;
  font-weight: 750;
  justify-content: space-between;
  min-height: 88px;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.related-link-card::after {
  color: var(--cyan);
  content: "↗";
}

.related-link-card:hover {
  background: var(--panel-strong);
  border-color: rgba(69, 198, 245, 0.38);
  transform: translateY(-3px);
}

.portal-status {
  color: var(--cyan);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.portal-url {
  color: #7f8d99;
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  margin-top: 1.3rem;
  overflow-wrap: anywhere;
}

.portal-action {
  margin-top: 1.2rem;
}

/* Contact */

.contact-form-section {
  padding-top: var(--section-space);
}

.contact-form {
  background:
    linear-gradient(135deg, rgba(40, 114, 250, 0.1), transparent 38%),
    var(--panel);
  border: 1px solid var(--line);
  padding: clamp(1.3rem, 4vw, 3rem);
  position: relative;
}

.contact-form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form-field-wide {
  grid-column: 1 / -1;
}

.contact-form-field > span {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.field-required,
.field-optional {
  color: #7f8e9b;
  font-size: 0.62rem;
  font-weight: 500;
  margin-left: 0.35rem;
  text-transform: uppercase;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  appearance: none;
  background: #0c1115;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0;
  color: var(--white);
  min-height: 3.5rem;
  padding: 0.8rem 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.contact-form-field textarea {
  min-height: 12rem;
  resize: vertical;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(69, 198, 245, 0.1);
  outline: 0;
}

.contact-form-honeypot {
  left: -10000px;
  position: absolute;
}

.contact-form-status {
  border-left: 3px solid var(--cyan);
  display: grid;
  gap: 0.25rem;
  margin-top: 1.6rem;
  padding: 0.75rem 1rem;
}

.contact-form-status strong {
  color: var(--white);
}

.contact-form-status span,
.form-privacy-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-form-status.is-success {
  border-color: #58d68d;
}

.form-privacy-note {
  margin: 1.2rem 0 0;
}

/* Footer */

.site-footer {
  background: #080b0d;
  border-top: 1px solid var(--line);
  padding-top: clamp(4rem, 8vw, 7rem);
}

.footer-lead {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.footer-statement {
  color: var(--white);
  font-size: clamp(2.7rem, 6vw, 6.3rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 0;
}

.footer-statement span {
  color: var(--cyan);
}

.footer-shell {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  padding-bottom: 4rem;
  padding-top: 4rem;
}

.footer-logo {
  height: auto;
  margin-bottom: 1.2rem;
  width: 13rem;
}

.footer-summary p {
  color: var(--muted);
  max-width: 440px;
}

.footer-summary small {
  color: #697782;
}

.footer-links {
  align-content: start;
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: #b9c4cd;
  width: fit-content;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--cyan);
}

.footer-base {
  border-top: 1px solid var(--line);
  color: #697782;
  display: flex;
  font-size: 0.68rem;
  justify-content: space-between;
  letter-spacing: 0.08em;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
  text-transform: uppercase;
}

/* Progressive enhancement */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* Responsive */

@media (max-width: 1100px) {
  :root {
    --header-height: 78px;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
  }

  .site-brand img {
    width: 11rem;
  }

  .client-login-link-desktop {
    display: none;
  }

  .js .nav-toggle {
    display: block;
  }

  .js .site-nav {
    align-items: stretch;
    background: rgba(8, 11, 13, 0.985);
    display: flex;
    flex-direction: column;
    gap: 0;
    inset: 0;
    justify-content: flex-start;
    min-height: 100svh;
    opacity: 0;
    padding: calc(var(--header-height) + 2rem) clamp(1.5rem, 8vw, 6rem) 3rem;
    pointer-events: none;
    position: absolute;
    transform: translateY(-1rem);
    transition: opacity 220ms ease, transform 220ms ease;
    visibility: hidden;
    z-index: 1;
  }

  .js .site-nav a {
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.4rem, 4vw, 2.3rem);
    padding: 0.72rem 0;
  }

  .js .site-nav a::after {
    display: none;
  }

  .js .site-nav .client-login-link-mobile {
    border: 1px solid rgba(69, 198, 245, 0.5);
    display: inline-flex;
    font-size: 1rem;
    margin-top: 1.5rem;
    padding-inline: 1.2rem;
    width: fit-content;
  }

  .menu-open {
    overflow: hidden;
  }

  .menu-open .site-header {
    height: 100svh;
  }

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

  .home-manifesto {
    grid-template-columns: 0.18fr 0.82fr;
  }

  .manifesto-copy {
    border-left: 0;
    grid-column: 2;
    padding-left: 0;
  }

  .capability-card,
  .capability-card:nth-child(-n + 2) {
    grid-column: span 3;
  }

  .capability-card:last-child {
    grid-column: span 6;
  }

  .systems-feature-grid,
  .safe-wiring-panel {
    grid-template-columns: 1fr;
  }

  .systems-copy {
    max-width: 720px;
  }

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

  .trade-link-grid {
    grid-template-columns: 1fr;
  }

  .trade-link-card {
    min-height: 150px;
  }

  .sponsorship-card {
    grid-template-columns: 1fr 130px;
  }
}

@media (max-width: 780px) {
  :root {
    --section-space: 5rem;
  }

  body {
    background-size: 64px 64px, auto;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 8, 10, 0.93), rgba(5, 8, 10, 0.56)),
      linear-gradient(180deg, rgba(5, 8, 10, 0.18) 35%, rgba(5, 8, 10, 0.98) 86%);
  }

  .home-hero-visual img {
    object-position: 64% center;
  }

  .home-hero-inner {
    align-items: flex-start;
    min-height: auto;
    padding-bottom: 2rem;
    padding-top: calc(var(--header-height) + 4rem);
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 14vw, 5rem);
    line-height: 1;
  }

  .hero-proof-rail {
    bottom: auto;
    grid-template-columns: 1fr;
    left: auto;
    position: relative;
    transform: none;
  }

  .hero-proof-item {
    border-left: 1px solid var(--line);
    min-height: 58px;
    padding-block: 0.5rem;
  }

  .hero-proof-item small {
    display: none;
  }

  .section-heading-wide,
  .split-section,
  .contact-cta-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .home-manifesto {
    grid-template-columns: 1fr;
  }

  .section-marker {
    font-size: 4.5rem;
  }

  .manifesto-copy {
    grid-column: auto;
  }

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

  .capability-card,
  .capability-card:nth-child(-n + 2),
  .capability-card:last-child {
    grid-column: auto;
    min-height: 285px;
  }

  .work-card,
  .work-card:nth-child(4n + 1),
  .work-card:nth-child(4n),
  .work-card:nth-child(4n + 2),
  .work-card:nth-child(4n + 3),
  .work-card-grid-compact .work-card {
    grid-column: 1 / -1;
    min-height: 380px;
  }

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

  .method-step,
  .method-step:last-child {
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    min-height: auto;
  }

  .method-step > span {
    margin-bottom: 2rem;
  }

  .sponsorship-grid,
  .service-card-grid,
  .supporting-card-grid,
  .related-link-grid {
    grid-template-columns: 1fr;
  }

  .sponsorship-card {
    grid-template-columns: 1fr 110px;
  }

  .page-hero {
    min-height: 600px;
  }

  .page-hero-media {
    inset: var(--header-height) 0 0 20%;
  }

  .page-hero-media::after {
    background:
      linear-gradient(90deg, rgba(11, 16, 20, 0.9), rgba(11, 16, 20, 0.35)),
      linear-gradient(180deg, transparent 25%, #0b1014 100%);
  }

  .page-hero-inner {
    min-height: calc(600px - var(--header-height));
  }

  .page-hero-copy {
    padding-block: 4rem;
  }

  .typical-work-list {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-field-wide {
    grid-column: auto;
  }

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

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

@media (max-width: 520px) {
  .layout-shell {
    padding-inline: 1.1rem;
  }

  .home-hero-inner {
    padding-top: calc(var(--header-height) + 2.7rem);
  }

  .home-hero-summary {
    font-size: 1rem;
  }

  .action-row,
  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .action-row .button-link,
  .contact-form-actions .button-link {
    width: 100%;
  }

  .hero-proof-item {
    padding-inline: 1rem;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .work-card,
  .work-card-grid-compact .work-card {
    min-height: 330px;
  }

  .trade-logo-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .sponsorship-card {
    grid-template-columns: 1fr;
  }

  .sponsor-artwork {
    height: 150px;
  }

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

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

  .footer-base {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
}

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

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

  .home-hero-visual img {
    transform: none;
  }
}
