:root {
  --carbon: #14282c;
  --black: #0c1d21;
  --panel: #11272b;
  --panel-soft: #183238;
  --line: rgba(245, 245, 245, 0.12);
  --line-strong: rgba(245, 245, 245, 0.2);
  --smoke: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.66);
  --dim: rgba(245, 245, 245, 0.42);
  --teal: #24484f;
  --teal-bright: #8fc1c8;
  --iron: #6f1712;
  --iron-bright: #9f2118;
  --amber: #d8b75c;
  --green: #8fd98b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --page-pad: clamp(16px, 4vw, 72px);
  --page-pad-wide: clamp(18px, 5vw, 96px);
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 54% 12%, rgba(143, 193, 200, 0.12), transparent 34rem),
    linear-gradient(180deg, #173238 0%, #10252a 48%, #132c31 100%);
  color: var(--smoke);
  font-family: var(--font-body);
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero > *,
.section > *,
.topbar > *,
.footer > * {
  min-width: 0;
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, auto) minmax(160px, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 70px;
  margin: 0;
  padding: 12px var(--page-pad-wide);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 40, 44, 0.86);
  backdrop-filter: blur(18px);
}

main {
  padding-top: 70px;
}

section[id] {
  scroll-margin-top: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(76px, 6.4vw, 112px);
  height: auto;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-left: 1px solid var(--line);
  color: var(--smoke);
  font-family: var(--font-mono);
  font-size: clamp(10px, 0.85vw, 12px);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.2vw, 22px);
  min-width: clamp(78px, 7vw, 128px);
  min-height: 34px;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  background: rgba(245, 245, 245, 0.045);
  color: var(--smoke);
  font-weight: 600;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:nth-child(n + 4) {
  min-width: auto;
  background: transparent;
}

.nav-links small {
  color: var(--dim);
  font-size: 11px;
  font-weight: 500;
}

.nav-links a:hover {
  background: rgba(143, 193, 200, 0.12);
  color: #ffffff;
}

.nav-links a:hover small {
  color: var(--teal-bright);
}

.topbar > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(245, 245, 245, 0.9);
  border-radius: 2px;
  background: var(--smoke);
  color: #090a09;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.button-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(245, 245, 245, 0.05);
  color: var(--smoke);
}

.button-ghost:hover {
  border-color: rgba(88, 195, 208, 0.7);
  background: rgba(30, 103, 116, 0.18);
  color: var(--smoke);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: calc(100vh - 70px);
  margin: 0;
  padding: clamp(44px, 7vw, 96px) var(--page-pad-wide);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 60% 32%, rgba(143, 193, 200, 0.16), rgba(36, 72, 79, 0.1) 36%, transparent 62%),
    transparent;
  overflow: hidden;
}

#hero-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
}

#hero-canvas {
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero-grid {
  z-index: -2;
  background:
    linear-gradient(90deg, transparent 0, rgba(245, 245, 245, 0.085) 1px, transparent 1px),
    linear-gradient(transparent 0, rgba(245, 245, 245, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.58));
}

.eyebrow,
.section-kicker,
.service-card span,
.sector-grid span,
.method-grid span,
.hero-metrics dt {
  color: var(--teal-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7.2vw, 112px);
  font-weight: 600;
  line-height: 0.9;
  text-align: center;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 600;
  line-height: 0.95;
}

.heading-bright,
.heading-muted {
  display: inline;
}

.heading-bright {
  color: var(--smoke);
}

.heading-muted {
  color: rgba(245, 245, 245, 0.48);
}

h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 22px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.55;
  text-align: center;
}

.hero-accent {
  display: inline-block;
  color: var(--iron-bright);
  font-family: Audiowide, var(--font-display);
  font-weight: 400;
  font-size: 1.2em;
  line-height: 0.82;
}

.hero-name,
.hero-line {
  display: block;
}

.hero-line {
  font-size: 0.66em;
  line-height: 0.96;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 760px);
  margin: clamp(24px, 3vw, 34px) auto 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-metrics div {
  min-height: 86px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 29, 33, 0.5);
}

.hero-metrics dt {
  margin-bottom: 10px;
  color: var(--iron-bright);
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.hero-console {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 44px));
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  background: rgba(17, 39, 43, 0.72);
  backdrop-filter: blur(2px);
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23000000' stroke='%23f5f5f5' stroke-width='1' d='M4 3l13 8-6.2 1.1 3.8 7-2.7 1.5-3.8-7L4 18z'/%3E%3C/svg%3E") 3 3, auto;
  box-shadow: var(--shadow);
  touch-action: pan-y;
  user-select: none;
}

.hero-console::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: rgba(143, 193, 200, 0.28);
  opacity: 0.42;
}

.hero-console * {
  cursor: inherit;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
}

.hero-console.is-dragging .console-top {
  cursor: inherit;
}

.console-top span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--line-strong);
}

.console-top span:first-child {
  background: var(--iron-bright);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--teal-bright);
}

.console-top p {
  margin: 0 0 0 auto;
}

.hero-window-content {
  --hero-inner-width: min(100%, 760px);
  display: grid;
  justify-items: center;
  padding: clamp(30px, 4vw, 56px) 0 clamp(22px, 3vw, 36px);
  text-align: center;
}

.hero-window-content h1,
.hero-copy,
.hero-actions,
.hero-metrics {
  width: var(--hero-inner-width);
}

.section {
  width: 100%;
  margin: 0;
  padding: 96px var(--page-pad-wide);
  border-bottom: 1px solid var(--line);
}

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

.section-kicker {
  color: var(--smoke);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.2vw, 16px);
}

.section-label .section-number {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.34em;
  font-weight: 500;
  line-height: 1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact > .eyebrow,
.contact-copy > .eyebrow {
  color: var(--smoke);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 0.95;
  text-transform: none;
}

.case-study-intro .case-copy > .eyebrow.section-label {
  margin-bottom: 14px;
  color: var(--smoke);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 0.95;
  text-transform: none;
}

.section-heading.compact > .eyebrow {
  margin-bottom: 10px;
}

.section-heading p,
.method-grid p,
.service-card p,
.sector-grid p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.service-grid,
.sector-grid,
.method-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.service-subsection {
  margin-top: clamp(54px, 7vw, 86px);
}

.service-subsection .section-heading {
  margin-bottom: 24px;
}

.service-card,
.sector-grid article,
.method-grid article {
  min-height: 270px;
  padding: 24px;
  background: var(--panel);
}

.service-card span,
.sector-grid span,
.method-grid span {
  display: inline-block;
  margin-bottom: 72px;
}

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

.sector-grid article {
  min-height: 250px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: 100%;
  min-height: calc(100svh - 70px);
  padding: clamp(56px, 7vw, 108px) var(--page-pad-wide);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(12, 29, 33, 0.18), rgba(20, 40, 44, 0.52)),
    var(--carbon);
}

.case-study:nth-of-type(even) {
  background:
    linear-gradient(90deg, rgba(20, 40, 44, 0.58), rgba(12, 29, 33, 0.2)),
    var(--carbon);
}

.case-study.reversed .case-copy {
  order: 2;
}

.case-study.reversed .case-media {
  order: 1;
}

.case-copy {
  max-width: 620px;
}

.case-copy h2 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.25vw, 82px);
}

.case-copy p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.56;
}

.case-copy ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.case-copy li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--line);
  color: rgba(245, 245, 245, 0.74);
  line-height: 1.45;
}

.case-copy li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--iron-bright);
}

.case-media {
  position: relative;
  width: 100%;
  height: min(68svh, 700px);
  min-height: 430px;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: rgba(12, 29, 33, 0.58);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-media {
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px);
  background: rgba(12, 29, 33, 0.58);
}

.case-media.image-media {
  width: fit-content;
  max-width: 100%;
  height: auto;
  min-height: 0;
  justify-self: center;
  align-self: center;
}

.case-media.image-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68svh, 700px);
  object-fit: contain;
}

.legal-media {
  background:
    radial-gradient(circle at 50% 48%, rgba(143, 193, 200, 0.12), transparent 58%),
    rgba(12, 29, 33, 0.72);
}

.placeholder-grid {
  background:
    linear-gradient(rgba(245, 245, 245, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(143, 193, 200, 0.08), transparent 62%),
    rgba(12, 29, 33, 0.58);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.diagram-media {
  display: grid;
  align-content: center;
  gap: clamp(12px, 2vw, 20px);
  padding: clamp(18px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(143, 193, 200, 0.06), transparent),
    rgba(12, 29, 33, 0.8);
}

.diagram-media::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.diagram-stage,
.launch-core,
.launch-output,
.launch-grid div {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(245, 245, 245, 0.16);
  background: rgba(17, 39, 43, 0.88);
}

.diagram-stage {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: clamp(16px, 2vw, 24px);
}

.diagram-stage span,
.launch-core span,
.launch-output span,
.launch-grid span {
  color: var(--teal-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.diagram-stage strong,
.launch-core strong,
.launch-output strong {
  color: var(--smoke);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.08;
}

.diagram-stage small,
.launch-core small,
.launch-output small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.diagram-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.stage-wide {
  min-height: 116px;
}

.diagram-stage.accent,
.launch-core {
  border-color: rgba(196, 37, 24, 0.64);
}

.diagram-stage.output,
.launch-output {
  border-color: rgba(143, 193, 200, 0.58);
  background: rgba(24, 50, 56, 0.92);
}

.diagram-arrow {
  position: relative;
  z-index: 1;
  width: 1px;
  height: clamp(16px, 2.4vw, 28px);
  margin: -4px auto;
  background: rgba(143, 193, 200, 0.58);
}

.diagram-arrow::after {
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border-right: 1px solid rgba(143, 193, 200, 0.8);
  border-bottom: 1px solid rgba(143, 193, 200, 0.8);
  transform: translateX(-50%) rotate(45deg);
}

.creative-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.7fr 1.1fr;
  gap: 10px;
  min-height: 84px;
}

.creative-strip i {
  display: block;
  border: 1px solid rgba(245, 245, 245, 0.14);
  background:
    linear-gradient(135deg, rgba(143, 193, 200, 0.16), rgba(196, 37, 24, 0.14)),
    rgba(17, 39, 43, 0.72);
}

.creative-strip i:nth-child(2) {
  background: rgba(175, 142, 108, 0.26);
}

.creative-strip i:nth-child(4) {
  background: rgba(196, 37, 24, 0.26);
}

.diagram-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.diagram-flow .diagram-stage {
  min-height: 148px;
}

.launch-diagram {
  grid-template-rows: auto 1fr auto;
}

.launch-core {
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(340px, 70%);
  min-height: 132px;
  margin: 0 auto;
  padding: 22px;
  text-align: center;
}

.launch-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.launch-grid::before {
  position: absolute;
  inset: -26px 18%;
  z-index: -1;
  content: "";
  border: 1px solid rgba(143, 193, 200, 0.22);
}

.launch-grid div {
  display: grid;
  min-height: 92px;
  place-items: center;
  text-align: center;
}

.launch-grid div:nth-child(5),
.launch-grid div:nth-child(8) {
  border-color: rgba(196, 37, 24, 0.54);
}

.launch-output {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.method {
  padding-top: 108px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-section {
  background:
    linear-gradient(180deg, rgba(143, 193, 200, 0.035), transparent 42%),
    rgba(20, 40, 44, 0.72);
}

.team-section .section-heading.compact {
  max-width: 980px;
}

.team-section h2,
.team-section p {
  overflow-wrap: break-word;
}

.team-section .section-heading.compact p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.team-card {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 560px;
  padding: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.035), transparent),
    var(--panel);
}

.team-id {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.team-id span {
  color: var(--iron-bright);
  font-family: var(--font-mono);
  font-size: 12px;
}

.team-id h3 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 58px);
}

.team-id p {
  margin: 0;
  color: var(--teal-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.team-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.team-card ul {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.team-card li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--line);
  color: rgba(245, 245, 245, 0.76);
  line-height: 1.42;
}

.team-card li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--iron-bright);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.55fr);
  gap: 56px;
  align-items: start;
  border-bottom: 0;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(17, 39, 43, 0.86);
  box-shadow: var(--shadow);
}

.contact-form input[name="_honey"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(245, 245, 245, 0.13);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.32);
  color: var(--smoke);
  outline: 0;
}

.contact-form input {
  height: 42px;
  padding: 0 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  padding: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(88, 195, 208, 0.72);
}

.contact-form .button {
  width: 100%;
  margin-top: 6px;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.form-status[data-state="success"] {
  color: var(--teal-bright);
}

.form-status[data-state="error"] {
  color: var(--iron-bright);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 32px var(--page-pad-wide) 44px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

@keyframes pulseBar {
  0%,
  100% {
    transform: scaleY(0.68);
    opacity: 0.58;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 1000px) {
  :root {
    --page-pad-wide: clamp(16px, 4vw, 40px);
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(10px, 2.5vw, 18px);
  }

  .brand strong,
  .brand small,
  .nav-links small,
  .topbar > .button {
    display: none;
  }

  .brand {
    gap: 0;
  }

  .brand-logo {
    width: clamp(60px, 16vw, 82px);
  }

  .nav-links {
    display: flex;
    justify-self: end;
    min-width: 0;
    font-size: clamp(9px, 2.4vw, 11px);
  }

  .nav-links a {
    min-width: 0;
    min-height: 32px;
    padding: 0 clamp(6px, 2vw, 10px);
  }

  .hero,
  .case-study,
  .contact-section,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    min-height: calc(100vh - 70px);
  }

  .section-heading,
  .service-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }

  .case-study {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .case-study.reversed .case-copy,
  .case-study.reversed .case-media {
    order: initial;
  }

  .case-media {
    height: clamp(360px, 52vw, 560px);
    min-height: 0;
  }

  .team-card {
    min-height: auto;
  }

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

  .diagram-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1001px) and (max-width: 1320px) {
  .topbar {
    grid-template-columns: minmax(190px, 0.9fr) minmax(0, auto) minmax(145px, 0.7fr);
    gap: 14px;
    padding-right: clamp(18px, 3vw, 42px);
    padding-left: clamp(18px, 3vw, 42px);
  }

  .brand small,
  .nav-links small {
    display: none;
  }

  .nav-links a {
    min-width: auto;
    padding: 0 clamp(9px, 1vw, 12px);
  }

  .topbar > .button {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    white-space: nowrap;
  }
}

@media (min-width: 1001px) and (max-width: 1180px) {
  h1 {
    font-size: clamp(58px, 7.2vw, 82px);
  }

  .hero-copy {
    max-width: 54ch;
  }
}

@media (max-width: 680px) {
  :root {
    --page-pad-wide: 12px;
  }

  .topbar > .button {
    display: none;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .case-study {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .team-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .case-copy h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .case-copy p,
  .case-copy li {
    font-size: 16px;
  }

  .case-media {
    height: 44svh;
    min-height: 280px;
  }

  .diagram-media {
    height: auto;
    min-height: 0;
    padding: 14px;
  }

  .diagram-row,
  .diagram-flow,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .diagram-stage,
  .diagram-flow .diagram-stage,
  .launch-grid div {
    min-height: 82px;
  }

  .diagram-stage strong,
  .launch-core strong,
  .launch-output strong {
    font-size: 18px;
  }

  .creative-strip {
    min-height: 48px;
  }

  .launch-core {
    width: 100%;
    min-height: 98px;
  }

  .launch-grid::before {
    display: none;
  }

  .hero-window-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-name {
    display: block;
  }

  .hero-line {
    display: block;
  }

  h1 {
    font-size: clamp(34px, 9.8vw, 38px);
    line-height: 1;
  }

  .hero-copy {
    font-size: 16px;
    max-width: 35ch;
    overflow-wrap: normal;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-console {
    width: 100%;
  }

  .console-top p {
    display: none;
  }

  .hero-metrics,
  .section-heading,
  .service-grid,
  .sector-grid,
  .method-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: auto;
  }

  .section {
    padding: 72px var(--page-pad-wide);
  }

  .team-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-kicker {
    margin-bottom: 16px;
  }

  .service-card,
  .sector-grid article,
  .method-grid article,
  .team-card {
    min-height: 220px;
  }

  .team-section .section-heading.compact p:last-child,
  .team-card > p {
    font-size: 16px;
  }

  .team-section h2 {
    font-size: clamp(31px, 9vw, 38px);
    line-height: 1.05;
  }

  .team-section .section-heading.compact {
    max-width: 100%;
  }

  .service-card span,
  .sector-grid span,
  .method-grid span {
    margin-bottom: 42px;
  }

  .contact-form {
    padding: 20px;
  }
}

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