/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080b11;
  --bg-dark:    #050709;
  --bg-card:    #0d1117;
  --border:     rgba(255,255,255,0.06);
  --border-hi:  rgba(255,255,255,0.12);
  --text:       #e2e4ea;
  --text-muted: #6b7488;
  --accent:     #6c63ff;
  --accent-2:   #a78bfa;
  --accent-3:   #38bdf8;
  --green:      #34d399;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ─── Site Logo (top-left, fixed) ──────────────────────────────── */
.site-logo {
  position: fixed;
  top: 28px;
  left: 36px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.site-logo.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.logo-bracket {
  font-size: 20px;
  font-weight: 200;
  color: var(--accent);
  line-height: 1;
}
.logo-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.logo-text {
  margin-left: 5px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}
.site-logo.visible .logo-text {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Right-side Dot Nav ────────────────────────────────────────── */
.dot-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
}
.dot-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}
.dot-link {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
/* Label — hidden by default, slides in on hover */
.dot-link::before {
  content: attr(data-label);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.dot-link:hover::before,
.dot-link.active::before {
  opacity: 1;
  transform: translateX(0);
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.dot-link:hover .dot {
  background: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.6);
}
.dot-link.active .dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(108,99,255,0.6);
  width: 8px; height: 8px;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 11vw, 128px);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: #fff;
  opacity: 0;
  animation: heroFadeIn 1.2s ease forwards 0.3s;
}
.hero-divider {
  width: 60px; height: 1px;
  background: rgba(255,255,255,0.3);
  opacity: 0;
  animation: heroFadeIn 1s ease forwards 0.9s;
}
.see-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: lowercase;
  text-decoration: none;
  opacity: 0;
  animation: heroFadeIn 1s ease forwards 1.4s;
  transition: color 0.2s;
}
.see-more:hover { color: rgba(255,255,255,0.85); }
.see-more-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: pulseLine 2s ease-in-out infinite 2s;
}
@keyframes pulseLine {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Sections (shared) ─────────────────────────────────────────── */
.section-full {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  border-top: 1px solid var(--border);
}
.section-dark { background: var(--bg-dark); }

.container-wide {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 56px;
}

/* ─── What We Do ────────────────────────────────────────────────── */
.what-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.what-headline h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: sticky;
  top: 120px;
}
.what-headline h2 em {
  font-style: normal;
  color: var(--accent-2);
}
.what-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 520px;
}
.what-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}
.what-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.what-step:first-child { border-top: 1px solid var(--border); }
.ws-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  padding-top: 2px;
  flex-shrink: 0;
  width: 28px;
}
.what-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.what-step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.what-domains-header {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.what-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.what-domains span {
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  padding: 5px 14px;
  letter-spacing: 0.04em;
}

/* ─── What we do — Services ─────────────────────────────────────── */
.what-services-divider {
  margin: 48px 0 36px;
  height: 1px;
  background: var(--border-hi);
}
.what-services-header {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 48px;
  margin-bottom: 10px;
}
.what-services-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.what-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.what-service {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.what-service:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.what-service:nth-child(even) {
  padding-left: 32px;
}
.what-service:nth-last-child(-n+2) {
  border-bottom: none;
}
.wsv-icon {
  font-size: 14px;
  color: var(--accent-2);
  flex-shrink: 0;
  padding-top: 2px;
}
.what-service h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.what-service p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── About ─────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.about-left h2 em {
  font-style: normal;
  color: var(--accent-2);
}
.about-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 440px;
}
.about-areas {
  margin-top: 32px;
  margin-bottom: 32px;
}
.about-areas-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.about-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-area-list span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 4px;
  padding: 5px 12px;
  letter-spacing: 0.02em;
}
.about-numbers {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.num-val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}
.num-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Agent orbit visual — Variant F (glow) */
.orbit-diagram {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
}
.orbit-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.human-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(108,99,255,0.2);
  border: 2px solid rgba(108,99,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(108,99,255,0.4), 0 0 60px rgba(108,99,255,0.12);
}
.orbit-node {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-160px) rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  z-index: 2;
  width: 68px;
}
.orbit-node .nd-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}
.orbit-node .nd-desc {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  line-height: 1.4;
}
.agent-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.robot-icon {
  width: 28px;
  height: 28px;
}
.agent-a { background: rgba(108,99,255,0.15); border: 1px solid rgba(108,99,255,0.5); box-shadow: 0 0 12px rgba(108,99,255,0.3); color: rgba(108,99,255,0.9); }
.agent-b { background: rgba(56,189,248,0.15);  border: 1px solid rgba(56,189,248,0.5);  box-shadow: 0 0 12px rgba(56,189,248,0.3);  color: rgba(56,189,248,0.9); }
.agent-c { background: rgba(167,139,250,0.15); border: 1px solid rgba(167,139,250,0.5); box-shadow: 0 0 12px rgba(167,139,250,0.3); color: rgba(167,139,250,0.9); }
.agent-d { background: rgba(52,211,153,0.15);  border: 1px solid rgba(52,211,153,0.5);  box-shadow: 0 0 12px rgba(52,211,153,0.3);  color: rgba(52,211,153,0.9); }
.agent-e { background: rgba(251,191,36,0.15);  border: 1px solid rgba(251,191,36,0.5);  box-shadow: 0 0 12px rgba(251,191,36,0.3);  color: rgba(251,191,36,0.9); }
.agent-f { background: rgba(244,114,182,0.15); border: 1px solid rgba(244,114,182,0.5); box-shadow: 0 0 12px rgba(244,114,182,0.3); color: rgba(244,114,182,0.9); }

/* ─── How We Build ──────────────────────────────────────────────── */
.hwb-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.hwb-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hwb-left h2 em {
  font-style: normal;
  color: var(--accent);
}
.hwb-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.hwb-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.hwb-layer {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.hwb-layer-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hwb-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hwb-tool {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.hwb-tool-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  min-width: 140px;
}
.hwb-tool-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.hwb-footnote {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  opacity: 0.7;
}

/* ─── Collaborators ─────────────────────────────────────────────── */
.collab-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
  margin-bottom: 64px;
}
.collab-intro h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.collab-intro h2 em {
  font-style: normal;
  color: var(--accent-2);
}
.collab-intro p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}
.collab-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.collab-group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.collab-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.collab-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.collab-item:first-child { border-top: 1px solid var(--border); }
.collab-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  flex: 0 1 50%;
}
.collab-work {
  font-size: 13px;
  color: var(--text-muted);
  flex: 0 1 45%;
  text-align: right;
}
.collab-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.inline-link {
  color: var(--accent-2);
  font-size: 15px;
  transition: color var(--transition);
}
.inline-link:hover { color: #fff; }

/* ─── Case Studies ──────────────────────────────────────────────── */
.cs-index-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.cs-index-lead {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.cs-index-heading em { color: var(--accent-2); font-style: normal; }
.cs-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.cs-card {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 6px 6px 0;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition), border-left-color var(--transition), transform var(--transition);
  position: relative;
}
.cs-card:not(.cs-card-soon):hover {
  background: rgba(108,99,255,0.04);
  border-left-color: var(--accent-2);
  transform: translateX(3px);
}
.cs-card-soon { opacity: 0.5; cursor: default; }
.cs-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cs-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
}
.cs-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.cs-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.cs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.cs-card-agents {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.cs-card-agents::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.cs-card-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.cs-card:not(.cs-card-soon):hover .cs-card-arrow {
  border-color: var(--accent);
  color: var(--accent-2);
  background: rgba(108,99,255,0.1);
}
.cs-card-soon-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── Case studies — Domains footer ─────────────────────────────── */
.cs-domains {
  margin-bottom: 40px;
}
.cs-domains-meta {
  margin-bottom: 16px;
}
.cs-domains-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cs-domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cs-domain-tag {
  font-size: 12px;
  color: var(--accent-2);
  background: rgba(167,139,250,0.07);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .cs-cards { grid-template-columns: 1fr; }
  .cs-domains-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ─── Publications ──────────────────────────────────────────────── */
.pub-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.pub-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.pub-item {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 6px 6px 0;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition), border-left-color var(--transition), transform var(--transition);
}
.pub-item:hover {
  background: rgba(108,99,255,0.04);
  border-left-color: var(--accent-2);
  transform: translateX(3px);
}
.pub-item-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pub-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
}
.pub-year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.pub-item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}
.pub-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.pub-item-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}
.pub-item-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.pub-item:hover .pub-item-arrow {
  border-color: var(--accent);
  color: var(--accent-2);
  background: rgba(108,99,255,0.1);
}

.pub-footer {
  margin-top: 40px;
  text-align: right;
}
.pub-more {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  text-decoration: none;
  transition: opacity var(--transition);
}
.pub-more:hover { opacity: 0.7; }

/* ─── Contact ───────────────────────────────────────────────────── */
.contact-section {
  position: relative;
  padding-bottom: 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.text-accent { color: var(--accent-2); }
.contact-agent-note {
  font-size: 13px;
  color: rgba(108,99,255,0.7);
  border-left: 2px solid rgba(108,99,255,0.3);
  padding-left: 12px;
  margin-top: 4px;
  margin-bottom: 28px;
}
.contact-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact-left h2 em {
  font-style: normal;
  color: var(--accent-2);
}
.contact-left p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 400px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.channel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.channel-value {
  font-size: 15px;
  color: var(--text);
  transition: color var(--transition);
}
.channel-value:hover { color: var(--accent-2); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form select { color: var(--text-muted); cursor: pointer; }
.contact-form select option { background: #0d1117; color: var(--text); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  align-self: flex-start;
  padding: 13px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: #7c75ff; transform: translateY(-1px); }

/* ─── Agent Map ─────────────────────────────────────────────────── */
.agent-map-wrap {
  position: relative;
  background: rgba(108,99,255,0.04);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 12px;
  padding: 20px 16px 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(108,99,255,0.08), inset 0 0 40px rgba(108,99,255,0.03);
}
.agent-map-header {
  margin-bottom: 14px;
  padding-left: 4px;
}
.agent-map-philosophy {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.agent-map-sub {
  font-size: 12px;
  color: rgba(108,99,255,0.7);
  margin-top: 6px;
}
#agentMapCanvas {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Site Footer ───────────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 36px;
  border-top: 1px solid var(--border);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 200;
  font-family: 'Space Grotesk', sans-serif;
}
.footer-sep {
  width: 1px;
  height: 14px;
  background: var(--border-hi);
  flex-shrink: 0;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-spacer { flex: 1; }
.footer-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-si {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.footer-si:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.03);
}
.footer-si svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container-wide { padding: 0 48px; }
  .what-layout,
  .about-layout,
  .hwb-layout,
  .collab-layout,
  .contact-layout { gap: 60px; }
}

@media (max-width: 768px) {
  .container-wide { padding: 0 20px; }
  .section-full { padding: 60px 0 40px; }
  .dot-nav { display: none; }
  .site-logo { left: 20px; top: 16px; }

  /* Stack all two-column layouts */
  .what-layout,
  .about-layout,
  .hwb-layout,
  .collab-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }

  /* Collaborator items: stack vertically on mobile */
  .collab-item { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 0; }
  .collab-name { font-size: 14px; }

  /* Services: single column on mobile */
  .what-services { grid-template-columns: 1fr; }
  .what-service:nth-child(odd) { padding-right: 0; border-right: none; }
  .what-service:nth-child(even) { padding-left: 0; }
  .what-service:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .what-service:last-child { border-bottom: none; }
  .what-service h4 { font-size: 16px; }
  .what-service p { font-size: 14px; }

  /* Steps */
  .what-headline h2 { position: static; }
  .hwb-step { gap: 16px; }

  /* Publications */
  .pub-list { grid-template-columns: 1fr; }
  .pub-item-title { font-size: 15px; }

  /* Case study cards */
  .cs-cards { grid-template-columns: 1fr; }

  /* Orbit */
  .orbit-diagram { width: 280px; height: 280px; }
  .orbit-node {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-120px) rotate(calc(-1 * var(--angle)));
    width: 58px;
  }
  .orbit-node .nd-name { font-size: 10px; }
  .orbit-node .nd-desc { display: none; }
  .human-avatar { width: 48px; height: 48px; }
  .about-numbers { gap: 24px; }

  /* Contact map */
  .agent-map-wrap { padding: 16px 12px 12px; }
}
