:root {
  --ink: #111612;
  --muted-ink: #59615a;
  --paper: #f4f0e8;
  --chalk: #fffdf8;
  --clay: #a64733;
  --ore: #d6a238;
  --moss: #385f4d;
  --basalt: #19201b;
  --cyan: #4fb7bb;
  --leaf: #7f9a55;
  --line: rgba(17, 22, 18, 0.15);
  --light-line: rgba(255, 253, 248, 0.2);
  --shadow: 0 28px 80px rgba(17, 22, 18, 0.18);
  --radius: 8px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

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

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 46px);
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  color: var(--chalk);
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  display: block;
  width: clamp(112px, 12vw, 162px);
  aspect-ratio: 1600 / 896;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 6px;
  background: #020403;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(17, 22, 18, 0.16);
  box-shadow: 0 8px 20px rgba(17, 22, 18, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-family: Verdana, sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  color: currentColor;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding-block: 8px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 15px !important;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(300px, 390px);
  gap: clamp(24px, 5vw, 66px);
  align-items: center;
  padding: 92px clamp(20px, 5vw, 66px) 30px;
  overflow: hidden;
  color: var(--chalk);
}

.hero-media,
.hero-overlay,
.neural-canvas {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 16, 12, 0.94), rgba(12, 16, 12, 0.55) 46%, rgba(12, 16, 12, 0.72)),
    linear-gradient(0deg, rgba(12, 16, 12, 0.9), transparent 52%);
}

.neural-canvas {
  z-index: 1;
  opacity: 0.78;
  mix-blend-mode: screen;
}

.hero-content,
.hero-console {
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--clay);
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ore);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 4.9vw, 68px);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 24px;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
}

.hero-actions,
.vault-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--chalk);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.08);
  color: var(--chalk);
}

.button.secondary.dark {
  border-color: var(--line);
  background: var(--chalk);
  color: var(--ink);
}

.hero-console {
  align-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.11);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
}

.console-label,
.agent-detail span,
.vault-toolbar span {
  color: var(--ore);
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}

.console-row b {
  font-size: 46px;
  line-height: 1;
}

.console-row span,
.hero-console p {
  color: rgba(255, 253, 248, 0.78);
}

.console-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.14);
}

.console-meter span {
  display: block;
  width: 65%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--ore));
  transition: width 420ms ease;
}

.hero-console p {
  min-height: 42px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.intro-band {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: var(--basalt);
  color: var(--chalk);
}

.split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.intro-band p {
  margin: 0;
  max-width: 900px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(19px, 2.6vw, 30px);
  line-height: 1.24;
}

.section {
  padding: clamp(78px, 10vw, 130px) 0;
}

.identity {
  background: linear-gradient(180deg, var(--paper), #ebe5d8);
}

.muted {
  background:
    linear-gradient(90deg, rgba(56, 95, 77, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(56, 95, 77, 0.1) 1px, transparent 1px),
    #e8e0d0;
  background-size: 52px 52px;
}

.two-column,
.vault-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 8vw, 90px);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(28px, 5vw, 58px);
}

.sticky-heading {
  position: sticky;
  top: 112px;
  align-self: start;
}

.sticky-heading p,
.section-head p,
.contact-copy p,
.vault-copy p {
  color: var(--muted-ink);
  font-size: 18px;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.text-panel,
.quote-panel,
.leader-panel,
.service-card,
.project-card,
.vault-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 10px 30px rgba(17, 22, 18, 0.06);
}

.text-panel,
.quote-panel,
.leader-panel {
  padding: clamp(24px, 4vw, 38px);
}

.text-panel p,
.leader-panel p,
.service-card p,
.project-card p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.leader-panel {
  background: #f8f3e5;
}

.leader-panel span,
.project-card span,
.library-list span,
dt {
  color: var(--clay);
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-panel {
  background: var(--ink);
  color: var(--chalk);
}

.quote-panel span {
  color: var(--ore);
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

blockquote {
  margin: 16px 0 0;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1;
}

.process-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(79, 183, 187, 0.18), transparent 26%),
    radial-gradient(circle at 82% 68%, rgba(214, 162, 56, 0.16), transparent 22%),
    #141a16;
  color: var(--chalk);
}

.process-section .section-head {
  position: sticky;
  top: 98px;
  align-self: start;
}

.process-section .section-head h2 {
  max-width: 470px;
  font-size: clamp(30px, 3.4vw, 48px);
}

.process-section .section-head p {
  color: rgba(255, 253, 248, 0.73);
  max-width: 520px;
  font-size: 17px;
}

.process-section .eyebrow {
  color: var(--ore);
}

.agent-stage {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(250px, 320px);
  gap: 18px;
  align-items: stretch;
}

.agent-map-shell,
.agent-detail {
  position: relative;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.055);
}

.agent-map-shell {
  overflow: hidden;
}

.map-toolbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
  color: rgba(255, 253, 248, 0.72);
  font-family: Verdana, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-toolbar b {
  color: var(--ore);
}

.agent-map {
  position: relative;
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 253, 248, 0.06) 1px, transparent 1px),
    rgba(255, 253, 248, 0.04);
  background-size: 54px 54px;
  overflow: hidden;
  border-radius: var(--radius);
}

.agent-map::before,
.agent-map::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(79, 183, 187, 0.25);
  border-radius: 50%;
  animation: rotate-field 18s linear infinite;
}

.agent-map::after {
  inset: 25%;
  border-color: rgba(214, 162, 56, 0.26);
  animation-duration: 14s;
  animation-direction: reverse;
}

.agent-node {
  position: absolute;
  z-index: 2;
  width: 102px;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 253, 248, 0.26);
  border-radius: var(--radius);
  background: rgba(17, 22, 18, 0.82);
  color: var(--chalk);
  text-align: center;
  font-family: Verdana, sans-serif;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
  transition: border 220ms ease, background 220ms ease, transform 220ms ease;
}

.agent-node.active {
  border-color: var(--ore);
  background: rgba(166, 71, 51, 0.92);
  transform: translate(-50%, -50%) scale(1.08);
}

.agent-link {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 183, 187, 0.15), rgba(214, 162, 56, 0.7));
  transform-origin: left center;
  opacity: 0.9;
}

.agent-detail {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: end;
  padding: clamp(20px, 3vw, 28px);
}

.agent-detail p {
  color: rgba(255, 253, 248, 0.76);
  font-size: 16px;
}

.agent-signals {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.agent-signals label {
  color: rgba(255, 253, 248, 0.72);
}

meter {
  width: 100%;
  height: 10px;
}

.process-steps {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.step-button,
.chip,
.ghost-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: Verdana, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.step-button {
  border-color: rgba(255, 253, 248, 0.2);
  color: rgba(255, 253, 248, 0.76);
}

.step-button.active,
.chip.active {
  border-color: var(--moss);
  background: var(--moss);
  color: var(--chalk);
}

.section-head {
  width: min(780px, 100%);
  margin-bottom: 36px;
}

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

.service-card {
  min-height: 270px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card span {
  color: var(--clay);
  font-family: Verdana, sans-serif;
  font-weight: 700;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip {
  color: var(--ink);
}

.project-card {
  overflow: hidden;
  background: var(--chalk);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-card div {
  padding: 22px;
}

.research-admin {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 12px 38px rgba(17, 22, 18, 0.08);
}

.research-admin p {
  color: var(--muted-ink);
}

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

.research-form .wide-field,
.research-form .form-note {
  grid-column: 1 / -1;
}

.vault-section {
  padding: clamp(80px, 10vw, 128px) 0;
  background:
    linear-gradient(135deg, rgba(79, 183, 187, 0.18), transparent 36%),
    linear-gradient(45deg, rgba(127, 154, 85, 0.22), transparent 40%),
    #ede8dc;
}

.vault-panel {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 253, 248, 0.82);
}

.vault-login,
.vault-workspace,
.contact-form {
  display: grid;
  gap: 16px;
}

.vault-hint {
  width: fit-content;
  padding: 10px 14px;
  border-left: 3px solid var(--clay);
  background: rgba(255, 253, 248, 0.68);
}

.vault-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.vault-toolbar span {
  color: var(--moss);
}

.ghost-button {
  color: var(--ink);
}

.drop-zone {
  min-height: 190px;
  place-items: center;
  padding: 26px;
  border: 1px dashed rgba(56, 95, 77, 0.55);
  border-radius: var(--radius);
  background: rgba(56, 95, 77, 0.07);
  color: var(--ink);
  text-align: center;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-zone span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--clay);
}

.drop-zone strong {
  max-width: 380px;
  font-size: 18px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.drop-zone.is-dragging {
  border-color: var(--clay);
  background: rgba(166, 71, 51, 0.09);
}

.file-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--chalk);
}

.file-list small {
  display: block;
  color: var(--muted-ink);
  font-family: Verdana, sans-serif;
  font-size: 11px;
}

.contact-section {
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--basalt);
  color: var(--chalk);
}

.social-section {
  padding: clamp(70px, 9vw, 118px) 0;
  background: #f5f1e8;
}

.social-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: end;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.social-links a {
  min-height: 118px;
  display: flex;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(79, 183, 187, 0.14), transparent 40%),
    var(--chalk);
  color: var(--ink);
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.social-links a:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(150deg, rgba(214, 162, 56, 0.22), transparent 44%),
    var(--chalk);
}

.contact-copy .eyebrow {
  color: var(--ore);
}

.contact-copy p {
  color: rgba(255, 253, 248, 0.74);
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
}

dl div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 253, 248, 0.2);
}

dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted-ink);
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--chalk);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(166, 71, 51, 0.12);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--moss);
  font-family: Verdana, sans-serif;
  font-size: 13px;
}

.footer {
  padding: 24px 0;
  background: #0d100e;
  color: rgba(255, 253, 248, 0.72);
  font-family: Verdana, sans-serif;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ore);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes rotate-field {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--chalk);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 6px;
  }

  .hero,
  .split,
  .two-column,
  .process-layout,
  .agent-stage,
  .vault-layout,
  .contact-grid,
  .research-admin,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .process-steps {
    grid-column: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-grid,
  .project-grid,
  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-section .section-head {
    position: static;
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .process-layout,
  .agent-stage {
    grid-template-columns: 1fr;
  }

  .process-section .section-head {
    position: static;
  }

  .process-steps {
    grid-column: auto;
  }
}

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

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 96px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 94px 14px 26px;
  }

  .hero-console {
    margin-top: 20px;
  }

  .service-grid,
  .project-grid,
  .process-steps,
  .research-form,
  .social-links,
  dl,
  .file-list li {
    grid-template-columns: 1fr;
  }

  .agent-map {
    min-height: 520px;
  }

  .agent-node {
    width: 86px;
    min-height: 54px;
    font-size: 10px;
  }

  .agent-detail {
    min-height: auto;
  }

  h1 {
    max-width: 380px;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(31px, 10vw, 46px);
  }

  .eyebrow,
  .section-label {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .hero-copy {
    max-width: 350px;
    font-size: 18px;
    line-height: 1.45;
  }

  .hero .eyebrow {
    max-width: 330px;
    line-height: 1.45;
  }

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

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