:root {
  color-scheme: dark;
  --bg: #080b0a;
  --bg-2: #101512;
  --surface: #121914;
  --surface-strong: #182219;
  --text: #f5f4ec;
  --muted: #c8c9bd;
  --muted-2: #a4a698;
  --line: rgba(245,244,236,.15);
  --line-soft: rgba(245,244,236,.085);
  --accent: #d3aa55;
  --accent-2: #87b58a;
  --green: #36d399;
  --violet: #b89a74;
  --shadow: 0 18px 48px rgba(0,0,0,.32);
  --text-xs: .8125rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --z-dropdown: 40;
  --z-sticky: 50;
  --z-chat-panel: 60;
  --z-chat: 70;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv01", "ss03";
  color: var(--text);
  background:
    radial-gradient(circle at 18% -8%, rgba(211,170,85,.16), transparent 30rem),
    radial-gradient(circle at 86% 0%, rgba(135,181,138,.10), transparent 26rem),
    linear-gradient(180deg, #0f130f 0%, var(--bg) 44%, #070806 100%);
  line-height: 1.65;
  min-height: 100vh;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(245,244,236,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(245,244,236,.018) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0, transparent 56%, rgba(0,0,0,.34) 100%);
}

.site-shell { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 16px;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 16px 0 34px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(8, 11, 10, .94);
}
.brand, .nav-links { display: flex; align-items: center; gap: 10px; }
.nav-links { margin-left: auto; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.nav-links a { color: var(--muted); text-decoration: none; font-size: var(--text-sm); font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta {
  flex-shrink: 0;
  color: #121006;
  background: var(--accent);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav-cta:hover {
  color: #121006;
  background: #e4bc62;
}
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav-dropdown-trigger::-webkit-details-marker { display: none; }
.nav-dropdown-trigger::marker { content: ""; }
.nav-dropdown-trigger:hover,
.nav-dropdown[open] .nav-dropdown-trigger {
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(11, 14, 10, .96);
  box-shadow: var(--shadow);
  z-index: var(--z-dropdown);
}
.nav-dropdown[open] .nav-dropdown-menu { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.nav-dropdown-menu a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-dropdown-muted { font-weight: 500 !important; color: var(--muted-2) !important; font-size: .85rem !important; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
}
.nav-toggle__bars::before { top: 0; box-shadow: 0 5px 0 currentColor; }
.nav-toggle__bars::after { top: 10px; }
.nav.is-menu-open .nav-toggle__bars::before {
  top: 5px;
  box-shadow: none;
  transform: rotate(45deg);
}
.nav.is-menu-open .nav-toggle__bars::after {
  top: 5px;
  transform: rotate(-45deg);
}

.hero {
  min-height: clamp(560px, calc(100vh - 140px), 720px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .82fr);
  gap: 56px;
  align-items: center;
  padding: 28px 0 64px;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 32px 0 48px;
    gap: 32px;
  }
}
.offer-band {
  margin: 0 0 clamp(28px, 5vw, 56px);
  padding: 8px 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}
.offer-band .section-kicker { margin-bottom: 12px; }
.offer-band h2 {
  max-width: 32ch;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}
.offer-band .section-intro {
  max-width: 62ch;
  margin-top: 14px;
  text-wrap: pretty;
}
.offer-band .explain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.offer-band .explain-card {
  padding: 20px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
}
.offer-band .explain-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.offer-band .explain-card p {
  margin: 0;
  max-width: none;
  color: var(--muted);
}
@media (max-width: 680px) {
  .offer-band .explain-grid { grid-template-columns: 1fr; }
}
.offer-band .actions { margin-top: 22px; }
.offer-band--convert {
  margin-top: 8px;
  padding: clamp(22px, 3.5vw, 32px) clamp(18px, 3vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(211,170,85,.12), rgba(245,244,236,.04));
  scroll-margin-top: 88px;
}
.sku-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sku-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sku-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
}
.sku-card--featured {
  border-color: rgba(211, 170, 85, 0.42);
  background: linear-gradient(180deg, rgba(211, 170, 85, 0.08), var(--surface));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.sku-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.sku-card-head .tag { margin-bottom: 0; }
.sku-card .tag { margin-bottom: 10px; }
.sku-card h3 { margin: 0; }
.sku-price {
  margin: 10px 0 12px;
  color: var(--text);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.sku-price small {
  display: inline-block;
  margin-left: 4px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0;
}
.sku-card p { margin: 0 0 14px; max-width: none; }
.sku-card h4 {
  margin: 4px 0 8px;
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .01em;
}
.sku-card ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: var(--text-sm);
}
.sku-card li { position: relative; padding-left: 16px; }
.sku-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent-2); }
.sku-card .sku-out li::before { color: var(--muted-2); }
.pricing-notes {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-width: 72ch;
  color: var(--muted);
}
.section .pay-accept { margin-top: 14px; }
.pricing-ladder { display: grid; gap: 0; }
.build-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 22px;
  padding: 0;
  list-style: none;
}
.build-examples li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
}
.pricing-rung {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 18px 28px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.pricing-rung:last-child { border-bottom: 1px solid var(--line-soft); }
.pricing-rung h3 { margin-bottom: 6px; }
.pricing-rung p { max-width: 62ch; }
.pricing-amt {
  color: var(--text);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--text-md);
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}
.tiny { font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.pricing-amt .tiny { display: block; margin-top: 4px; white-space: normal; }
.pricing-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.pricing-table th {
  padding: 12px 16px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  background: rgba(255,255,255,.03);
}
.pricing-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  vertical-align: top;
}
.pricing-table td:last-child,
.pricing-table th:last-child {
  text-align: right;
  color: var(--text);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-pointer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: end;
}
@media (max-width: 900px) {
  .sku-grid { grid-template-columns: 1fr; }
  .build-examples { grid-template-columns: 1fr 1fr; }
  .pricing-rung,
  .pricing-pointer { grid-template-columns: 1fr; }
  .pricing-amt { text-align: left; }
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: #e1d2ad;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}
.status-dot, .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(54,211,153,.10);
}
h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 4.8vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -.032em;
  font-weight: 700;
  text-wrap: balance;
}
h2 {
  max-width: 850px;
  font-size: clamp(1.85rem, 3.3vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
  text-wrap: balance;
}
h3 { font-size: var(--text-lg); line-height: 1.2; letter-spacing: -.025em; }
p { color: var(--muted); font-size: var(--text-base); }
.lead { max-width: 62ch; margin-top: 22px; color: #d3d3c7; font-size: clamp(1.02rem, 1.5vw, 1.18rem); text-wrap: pretty; }
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  max-width: 58ch;
}
.proof-strip li {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.35;
  list-style: none;
}
.proof-strip li + li::before {
  content: "";
  width: 1px;
  height: 0.85em;
  margin: 0 14px;
  background: var(--line);
}
.proof-strip strong {
  color: var(--text);
  font-weight: 700;
  margin-right: .3em;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  text-decoration: none;
  font-weight: 720;
  transition: transform .2s var(--ease-out-quart), border-color .2s var(--ease-out-quart), background .2s var(--ease-out-quart), box-shadow .2s var(--ease-out-quart);
}
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.075); box-shadow: 0 12px 35px rgba(0,0,0,.24); }
.button.primary { color: #121006; border: 0; background: var(--accent); box-shadow: 0 14px 32px rgba(211,170,85,.18); }
.button.ghost { color: #eadfbf; }
.button.full { width: 100%; }
.button.contact-secondary { margin-top: 10px; }
.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.text-link:hover { color: #f0d692; text-decoration: underline; }
.hero-tertiary { align-self: center; padding: 10px 2px; }

.hero-card, .card, .feature-card, .contact-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245,244,236,.07), rgba(245,244,236,.035));
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.hero-card { position: relative; overflow: hidden; padding: 22px; }
.hero-panel {
  min-width: 0;
}
.hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.profile-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(0,0,0,.16);
}
.portrait-wrap {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 104px;
  aspect-ratio: 1;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035)),
    radial-gradient(circle at 30% 20%, rgba(211,170,85,.16), transparent 55%);
  box-shadow: 0 14px 32px rgba(0,0,0,.25);
}
.portrait-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  image-rendering: pixelated;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(211,170,85,.30), transparent 36%, rgba(135,181,138,.18));
  opacity: .55;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}
.snapshot-label {
  margin-bottom: 3px;
  color: #f0e5c2;
  font-size: .94rem;
  font-weight: 700;
}
.portrait-caption { display: block; color: #c8c9bd; font-size: .9rem; line-height: 1.35; }
.snapshot-list { display: grid; gap: 0; margin-bottom: 0; }
.snapshot-list div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.snapshot-list div:last-child { border-bottom: 0; }
.problem-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.problem-list li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  list-style: none;
}
.problem-list li:last-child { border-bottom: 0; }
.problem-list strong,
.snapshot-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: .98rem;
  letter-spacing: -.01em;
}
.problem-list span,
.snapshot-list span { display: block; color: #c8c9bd; font-size: .9rem; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.metric-grid.compact { margin-bottom: 0; }
.metric {
  min-height: 98px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
}
.metric strong { display: block; color: var(--text); font-size: 2.25rem; line-height: 1; letter-spacing: -.035em; }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; }
.system-list { display: grid; gap: 10px; color: #d7d2bf; font-size: .92rem; }
.system-list div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 15px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); }
.pulse { flex: 0 0 auto; width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(54,211,153,.10); }

.section { padding: 92px 0; border-top: 1px solid var(--line-soft); scroll-margin-top: 88px; }
.split { display: grid; grid-template-columns: .78fr 1.22fr; gap: 42px; align-items: start; }
.section-intro { max-width: 68ch; font-size: var(--text-md); color: #cdcec2; text-wrap: pretty; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading.stacked { display: block; }
.section-heading.stacked .section-intro { margin-top: 14px; }
.cards { display: grid; gap: 14px; }
.capability-list .card { min-height: 172px; }
.offering-list {
  display: grid;
  gap: 0;
}
.offering-list article {
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}
.offering-list article:last-child { border-bottom: 1px solid var(--line-soft); }
.offering-list h3 { margin-bottom: 8px; font-size: 1.2rem; }
.offering-list p { max-width: 52ch; }
.offering-list .service-card-link { margin-top: 10px; }
.card, .feature-card, .contact-panel { padding: 24px; }
.card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 8px; align-items: start; }
.card p { grid-column: 2; }
.icon {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 9px;
  border-radius: 14px;
  color: #05070b;
  background: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--text-sm);
  font-weight: 800;
}
.feature-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; }
.feature-card { min-height: 250px; position: relative; overflow: hidden; }
.feature-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211,170,85,.14), transparent 65%);
}
.feature-card.large { grid-row: span 3; min-height: 516px; display: flex; flex-direction: column; justify-content: flex-end; }
.feature-card.large::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto 24px;
  height: 210px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(211,170,85,.08) 1px, transparent 1px),
    linear-gradient(rgba(135,181,138,.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 22%, rgba(211,170,85,.16), transparent 18%),
    radial-gradient(circle at 70% 58%, rgba(135,181,138,.14), transparent 20%),
    rgba(0,0,0,.16);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}
.feature-card h3 { margin: 12px 0 10px; font-size: clamp(1.35rem, 2.2vw, 2rem); }
.feature-card p { max-width: 560px; }
.feature-card ul { margin: 22px 0 0; padding: 0; display: grid; gap: 9px; list-style: none; color: #c5cbd8; }
.feature-card li { padding-left: 20px; position: relative; }
.feature-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent-2); }
.work-link,
.service-card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.work-link:hover,
.service-card-link:hover { color: #f0d692; text-decoration: underline; }
.proof-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: var(--text-sm);
}
.proof-note a { color: #dbe8d5; font-weight: 700; text-decoration: none; }
.proof-note a:hover { text-decoration: underline; }
.proof-feature { display: flex; flex-direction: column; }
.proof-feature .work-link { margin-top: auto; padding-top: 18px; }
.work-proof {
  margin: -6px -6px 20px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}
.work-proof > p {
  margin-top: 10px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .7rem;
}
.work-proof__head,
.work-proof__row {
  display: grid;
  grid-template-columns: 1.05fr .9fr .75fr;
  gap: 8px;
  align-items: center;
}
.work-proof__head {
  padding: 0 7px 7px;
  color: var(--muted-2);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.work-proof__row {
  margin-top: 5px;
  padding: 8px 7px;
  border-radius: 9px;
  background: rgba(245,244,236,.045);
  color: var(--muted);
  font-size: .76rem;
}
.work-proof__row strong { color: var(--text); }
.work-proof__row em { color: #a8f0cf; font-style: normal; }
.social-system-map { display: grid; gap: 7px; }
.social-system-map__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.social-system-map__row span {
  padding: 6px 8px;
  border: 1px solid rgba(135,181,138,.2);
  border-radius: 8px;
  background: rgba(135,181,138,.08);
  color: #dbe8d5;
  font-size: .68rem;
  font-weight: 700;
}
.social-system-map__row span.is-gate {
  border-color: rgba(211,170,85,.42);
  background: rgba(211,170,85,.14);
  color: #f3ddb0;
}
.social-system-map__row i { color: var(--accent); font-style: normal; font-size: .7rem; }
.social-system-map__loop {
  width: fit-content;
  margin-top: 2px;
  padding: 6px 9px;
  border: 1px dashed var(--accent-2);
  color: #a8f0cf;
  background: rgba(54,211,153,.06);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 700;
}
.proof-feature__list { margin-top: 15px !important; gap: 7px !important; font-size: .88rem; }
.tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #f0e5c2;
  border: 1px solid rgba(211,170,85,.32);
  background: rgba(211,170,85,.12);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: none;
}
.tag.violet { color: #efe2c8; border-color: rgba(184,154,116,.34); background: rgba(184,154,116,.14); }
.tag.green { color: #dfffee; border-color: rgba(54,211,153,.30); background: rgba(54,211,153,.12); }

.service-grid, .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card, .faq-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245,244,236,.06), rgba(245,244,236,.03));
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.service-card {
  min-height: 270px;
  padding: 24px;
}
.service-card h3, .faq-item h3 { margin: 14px 0 10px; }
.service-card p, .faq-item p { color: #cdcec2; }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-item { padding: 24px; }
.faq-item h3 { color: var(--text); font-size: 1.08rem; }
.faq-accordion { grid-template-columns: 1fr; gap: 10px; }
.faq-accordion .faq-item {
  padding: 0;
  box-shadow: none;
  background: rgba(245,244,236,.025);
}
.faq-accordion summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  line-height: 1.35;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 500;
  transform: translateY(-50%);
}
.faq-accordion .faq-item[open] summary::after { content: "–"; }
.faq-accordion .faq-item p { padding: 0 20px 20px; max-width: 78ch; }
.closing-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}
.contact-panel { padding: 26px; background: linear-gradient(180deg, rgba(211,170,85,.13), rgba(245,244,236,.045)); }
.contact-panel p { margin: 10px 0 20px; }
.contact-form { display: grid; gap: 13px; margin-top: 18px; }
.contact-form label { display: grid; gap: 7px; color: var(--text); font-size: .92rem; font-weight: 700; }
.contact-form label span { color: #f0e5c2; }
.contact-form label em { color: var(--muted-2); font-style: normal; font-weight: 600; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.24);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.contact-form textarea { resize: vertical; min-height: 112px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #a8a995; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(211,170,85,.58); box-shadow: 0 0 0 4px rgba(211,170,85,.12); }
.contact-form button:disabled { cursor: progress; opacity: .72; transform: none; }
.form-honeypot { position: absolute; left: -10000px; width: 1px !important; height: 1px; opacity: 0; }
.form-status { min-height: 1.35em; margin: 0; font-size: .92rem; }
.form-status.is-pending { color: #e1d2ad; }
.form-status.is-success { color: #a8f0cf; }
.form-status.is-error { color: #ffb4a8; }
.contact-links { margin-top: 12px; }
.engagement-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.engagement-options li {
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  background: rgba(211,170,85,.05);
  color: #ddd8c8;
  font-size: .9rem;
  font-weight: 650;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.path-card {
  padding: 20px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
}
.path-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.path-card p {
  margin: 0 0 14px;
  max-width: none;
  color: var(--muted);
}
.path-card .text-link { display: inline-block; }
@media (max-width: 680px) {
  .path-grid { grid-template-columns: 1fr; }
}
.limited-banner {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.inquire-card {
  margin-top: 28px;
  padding: 22px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.inquire-card h3 { margin: 0 0 8px; }
.inquire-card p { margin: 0 0 14px; max-width: 62ch; }
.pay-accept {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 0;
  padding: 12px 14px;
  max-width: 54ch;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(245,244,236,.035);
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
  text-wrap: pretty;
}
.pay-accept__coins {
  display: inline-flex;
  flex-shrink: 0;
  gap: 6px;
  margin-top: 1px;
}
.pay-accept__coins img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0b0c09;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.pay-accept--inline {
  display: inline-flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.faq-accordion .faq-item p.pay-faq {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
footer { padding: 26px 0 48px; border-top: 1px solid var(--line-soft); color: var(--muted-2); }
footer p { font-size: .92rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }

@media (max-width: 950px) {
  .hero, .split, .closing-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 34px; }
  .feature-grid, .service-grid, .faq-grid { grid-template-columns: 1fr; }
  .feature-card.large { min-height: 470px; }
  .contact-panel { max-width: 440px; }
}
@media (max-width: 680px) {
  .site-shell { width: 100%; max-width: 100vw; padding-inline: 14px; }
  .nav {
    top: 10px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 12px;
  }
  .nav-toggle { display: inline-flex; grid-column: 2; grid-row: 1; margin-left: 0; padding: 8px 10px; }
  .nav-toggle__label { display: none; }
  .nav-cta { grid-column: 4; grid-row: 1; justify-self: end; margin-left: 0; white-space: nowrap; }
  .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .brand > span:not(.brand-mark) { display: none; }
  .nav-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--line-soft);
  }
  .nav.is-menu-open .nav-links { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
  }
  .hero { width: 100%; max-width: 100%; padding-top: 28px; padding-bottom: 48px; gap: 26px; }
  .hero-copy { width: 100%; max-width: 100%; }
  .hero-copy, .hero-card, .hero-panel, .card, .feature-card, .service-card, .faq-item, .contact-panel { min-width: 0; }
  .eyebrow { flex-wrap: wrap; max-width: 100%; font-size: .86rem; line-height: 1.4; overflow-wrap: anywhere; }
  h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.02;
    letter-spacing: -.018em;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }
  h2 { overflow-wrap: anywhere; }
  .lead { max-width: 100%; margin-top: 20px; font-size: .98rem; overflow-wrap: anywhere; }
  .actions { width: 100%; max-width: 100%; margin-top: 24px; }
  .hero-card { width: 100%; max-width: 100%; padding: 18px; }
  .hero-identity, .profile-strip { align-items: flex-start; }
  .proof-strip { margin-top: 22px; max-width: 100%; }
  .portrait-wrap { width: 72px; border-radius: 8px; }
  .portrait-wrap img { border-radius: 5px; }
  .snapshot-list strong, .snapshot-list span, .service-card p, .faq-item p { overflow-wrap: anywhere; }
  .metric-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-work { padding-top: 48px; }
  .section-heading { margin-bottom: 22px; }
  .card { grid-template-columns: 1fr; }
  .card p { grid-column: auto; }
  .feature-card.large { min-height: 500px; }
  .feature-card.large::before { height: 170px; }
  .actions .button { width: 100%; justify-content: center; }
  .actions .hero-tertiary { width: 100%; text-align: center; }
  .engagement-options { grid-template-columns: 1fr; }
  .pay-accept { max-width: none; }
  .social-system-map__row { gap: 5px; }
  .social-system-map__row span { padding: 6px 7px; font-size: .65rem; }
  .faq-accordion summary { padding: 16px 46px 16px 16px; }
  .faq-accordion .faq-item p { padding: 0 16px 17px; }
  .service-landing-hero { width: 100%; max-width: 100%; }
  .service-landing-hero h1 { max-width: 100%; }
  .service-pfd-card { min-width: 0; }
}

.service-landing-hero {
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 56px;
  align-items: start;
}
.service-landing-hero h1 { max-width: min(34ch, 100%); }
.service-pfd-card { min-width: 0; }
.service-pfd-card .hero-identity {
  border-bottom: 0;
  padding-bottom: 4px;
  margin-bottom: 0;
}
.service-pfd-card .problem-list {
  border-top: 1px solid var(--line-soft);
}
.service-landing-hero .breadcrumb { margin-top: 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 18px;
  font-size: .9rem;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.service-detail-card h3 { margin-top: 0; }
.service-detail-card { display: block; }
.service-landing-cta .contact-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-hub {
  margin: 0 0 36px;
  padding: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.service-hub h3 { margin: 0 0 8px; font-size: 1.15rem; }
.service-hub-intro { margin: 0 0 18px; color: var(--muted); max-width: 52ch; }
.service-hub-intro a { color: var(--accent-2); }
.service-more {
  margin-top: 8px;
  padding: 20px 18px 18px;
  border: 1px dashed var(--line-soft);
  border-radius: 18px;
  background: rgba(0,0,0,.12);
}
.service-more h3 { margin: 0 0 8px; font-size: var(--text-lg); }
.service-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.service-more-card {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
}
.service-more-card h3 { margin: 10px 0 8px; font-size: var(--text-lg); }
.service-more-card p { font-size: var(--text-sm); }
.service-layout-proof .proof-strip {
  display: block;
  max-width: none;
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid rgba(211,170,85,.28);
  border-radius: 12px;
  background: rgba(211,170,85,.08);
}
.service-layout-proof .proof-strip-label {
  margin: 0;
  color: #eadfbf;
  font-size: var(--text-md);
  font-weight: 600;
}
.service-layout-steps .offering-list { counter-reset: service-step; }
.service-layout-steps .offering-list article {
  position: relative;
  padding-left: 44px;
}
.service-layout-steps .offering-list article::before {
  counter-increment: service-step;
  content: counter(service-step);
  position: absolute;
  left: 0;
  top: 24px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #121006;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--text-sm);
  font-weight: 800;
}
.service-layout-simple { padding-top: 56px; padding-bottom: 56px; }
.service-layout-simple .service-detail-card {
  min-height: 0;
  grid-template-columns: 1fr;
}
.service-layout-simple .service-detail-card h3 { margin-bottom: 10px; }
.service-detail-stack { grid-template-columns: 1fr; }
.buyer-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.buyer-detail-card {
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  background: transparent;
}
.buyer-detail-card h3 { margin-bottom: 13px; }
.buyer-detail-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.buyer-detail-card li { position: relative; padding-left: 18px; }
.buyer-detail-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent-2); }
@media (max-width: 680px) {
  .service-more-grid, .buyer-detail-grid { grid-template-columns: 1fr; }
}
.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 680px) {
  .service-hub-grid { grid-template-columns: 1fr; }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    box-shadow: none;
    border: none;
    padding: 0 0 0 8px;
    background: transparent;
  }
  .nav-dropdown[open] .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu a { padding: 12px 14px; }
}
.service-hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.service-hub-card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.service-hub-card--featured {
  border-color: rgba(211, 170, 85, 0.42);
  background: linear-gradient(180deg, rgba(211, 170, 85, 0.08), var(--surface));
}
.service-hub-card strong { font-size: 1.05rem; letter-spacing: -.02em; }
.service-hub-cta {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-2);
}
.service-card-btn { margin-top: 16px; width: 100%; justify-content: center; }
.service-page-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.service-page-pills a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
}
.service-page-pills a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}

.related-case-study {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.related-case-study h2 { max-width: 28ch; }
.related-case-study .button { white-space: nowrap; }
@media (max-width: 680px) {
  .related-case-study { grid-template-columns: 1fr; gap: 22px; }
  .related-case-study .button { width: 100%; justify-content: center; }
}

/* Governed SI system case study */
.case-study-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 38px;
  align-items: start;
  padding-top: 32px;
}
.case-study-hero__copy h1 { max-width: 18ch; }
.case-study-summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(211,170,85,.11), rgba(135,181,138,.045) 58%, rgba(0,0,0,.12));
  box-shadow: var(--shadow);
}
.case-study-summary__label {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-study-summary h2 { margin-bottom: 20px; font-size: clamp(1.45rem, 2.3vw, 2.05rem); }
.case-study-summary dl { display: grid; gap: 0; margin: 0; }
.case-study-summary dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}
.case-study-summary dt {
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.case-study-summary dd { margin: 0; color: var(--text); font-size: .92rem; font-weight: 600; }
.case-study-summary__note {
  margin-top: 18px;
  padding: 12px 13px;
  border: 1px solid var(--line-soft);
  background: rgba(135,181,138,.06);
  color: var(--muted);
  font-size: .82rem;
}
.case-study-problem,
.case-study-ownership {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 46px;
  align-items: start;
}
.case-study-prose { display: grid; gap: 18px; }
.case-study-prose p { color: #cdcec2; font-size: var(--text-md); }
.case-pipeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .82rem;
}
.case-pipeline-legend span { display: inline-flex; align-items: center; gap: 8px; }
.case-pipeline-legend i { width: 10px; height: 10px; border-radius: 3px; }
.case-pipeline-legend .is-automated { background: var(--accent-2); }
.case-pipeline-legend .is-human { background: var(--accent); }
.case-pipeline-legend .is-loop { border: 1px dashed var(--accent-2); }
.case-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-pipeline li {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-top: 3px solid rgba(135,181,138,.68);
  border-radius: 18px;
  background: rgba(245,244,236,.032);
}
.case-pipeline li.is-human {
  border-color: rgba(211,170,85,.34);
  border-top-color: var(--accent);
  background: rgba(211,170,85,.075);
}
.case-pipeline li > span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .75rem;
  font-weight: 800;
}
.case-pipeline li.is-human > span { color: var(--accent); }
.case-pipeline strong { display: block; margin-bottom: 9px; color: var(--text); font-size: 1.03rem; }
.case-pipeline p { color: var(--muted); font-size: .84rem; line-height: 1.55; }
.case-pipeline-loop {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  width: fit-content;
  margin: 18px auto 0;
  padding: 10px 15px;
  border: 1px dashed rgba(135,181,138,.36);
  border-radius: 999px;
  color: #cce7cc;
  background: rgba(135,181,138,.055);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .76rem;
  font-weight: 700;
}
.case-pipeline-loop i { color: var(--accent); font-style: normal; font-size: 1.1rem; }
.case-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.case-principles article,
.case-ownership-grid article {
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(245,244,236,.032);
}
.case-principles article > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #181205;
  background: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 800;
}
.case-principles h3,
.case-ownership-grid h3 { margin-bottom: 9px; font-size: var(--text-lg); }
.case-principles p,
.case-ownership-grid p { color: var(--muted); font-size: var(--text-sm); }
.case-ownership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.case-results-grid article {
  min-height: 154px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: rgba(135,181,138,.05);
}
.case-results-grid strong { display: block; margin-bottom: 10px; color: var(--text); font-size: 1.12rem; }
.case-results-grid span { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.case-study-disclosure {
  max-width: 88ch;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px dashed var(--line-soft);
  color: var(--muted-2);
  background: rgba(0,0,0,.12);
  font-size: .84rem;
}

/* Multi-agent production architecture */
.agent-architecture {
  margin: 28px 0 20px;
}
.agent-architecture figcaption {
  margin-bottom: 10px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.agent-map {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(245,244,236,.11);
  border-radius: 24px;
  background:
    linear-gradient(rgba(245,244,236,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,244,236,.022) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(211,170,85,.1), transparent 38%),
    radial-gradient(circle at 82% 66%, rgba(135,181,138,.08), transparent 34%),
    rgba(8,10,9,.58);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}
.agent-node {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(20,23,20,.94);
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}
.agent-node h3,
.agent-output h3 {
  margin: 7px 0 8px;
  font-size: var(--text-lg);
}
.agent-node p,
.agent-output p {
  color: var(--muted);
  font-size: var(--text-sm);
}
.agent-node__tag {
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.agent-node--operator {
  width: min(680px, 88%);
  margin-inline: auto;
  border-color: rgba(211,170,85,.34);
  text-align: center;
  background: linear-gradient(150deg, rgba(211,170,85,.09), rgba(20,23,20,.94) 58%);
}
.agent-node--coordinator { border-top: 3px solid rgba(211,170,85,.72); }
.agent-node--producer { border-top: 3px solid rgba(135,181,138,.82); }
.agent-node--producer .agent-node__tag { color: var(--accent-2); }
.agent-connector {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 62px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.agent-connector::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(var(--accent), rgba(135,181,138,.62));
}
.agent-connector::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 4px);
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--accent-2);
  border-bottom: 1px solid var(--accent-2);
  transform: rotate(45deg);
}
.agent-connector span {
  position: relative;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0c0f0d;
}
.agent-system-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, .64fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.agent-channel {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 100%;
  padding: 20px 16px;
  border: 1px dashed rgba(135,181,138,.42);
  border-radius: 18px;
  color: #d8ead8;
  background: rgba(135,181,138,.065);
  text-align: center;
}
.agent-channel strong { color: var(--text); font-size: .94rem; }
.agent-channel p { color: var(--muted); font-size: .75rem; line-height: 1.55; }
.agent-channel__pulse {
  width: 10px;
  height: 10px;
  margin: 0 auto 2px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(135,181,138,.09), 0 0 18px rgba(135,181,138,.38);
}
.agent-channel__fallback {
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .62rem;
}
.agent-output {
  display: grid;
  grid-template-columns: auto minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: center;
  width: min(760px, 92%);
  margin-inline: auto;
  padding: 18px 22px;
  border: 1px solid rgba(135,181,138,.34);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(135,181,138,.09), rgba(20,23,20,.94) 64%);
}
.agent-output__status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 16px rgba(135,181,138,.48);
}
.agent-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.agent-proof-grid article {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(245,244,236,.032);
}
.agent-proof-grid article > span {
  color: var(--accent-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .7rem;
  font-weight: 800;
}
.agent-proof-grid h3 { margin: 12px 0 8px; font-size: 1rem; }
.agent-proof-grid p { color: var(--muted); font-size: .82rem; }
.agent-evidence {
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  background: rgba(135,181,138,.055);
  font-size: .86rem;
}
.agent-evidence strong { color: #d8ead8; }
@media (max-width: 950px) {
  .case-study-hero,
  .case-study-problem,
  .case-study-ownership { grid-template-columns: 1fr; }
  .case-study-summary { max-width: 640px; }
  .case-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-system-grid { grid-template-columns: 1fr; }
  .agent-channel { min-height: 150px; }
  .agent-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .case-study-hero { gap: 26px; padding-top: 28px; }
  .case-study-hero__copy h1 { max-width: 100%; }
  .case-study-summary { padding: 18px; }
  .case-study-summary dl div { grid-template-columns: 1fr; gap: 4px; }
  .case-pipeline,
  .case-principles,
  .case-ownership-grid,
  .case-results-grid,
  .agent-proof-grid { grid-template-columns: 1fr; }
  .case-pipeline li { min-height: 0; }
  .case-pipeline-loop { width: 100%; flex-wrap: wrap; text-align: center; }
  .agent-map { padding: 16px; border-radius: 20px; }
  .agent-node--operator,
  .agent-output { width: 100%; }
  .agent-output { grid-template-columns: auto 1fr; }
  .agent-output > p { grid-column: 1 / -1; }
}

/* Spreadsheets → system morph (Selected work visual) */
.feature-card.large.has-morph {
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.feature-card.large.has-morph::before { display: none; }
.feature-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.sheet-morph {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 20% 20%, rgba(211,170,85,.12), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(135,181,138,.10), transparent 46%),
    linear-gradient(180deg, rgba(245,244,236,.03), transparent 70%);
  padding: 16px 14px 10px;
}
.sheet-morph__canvas {
  position: relative;
  height: 168px;
  max-width: 420px;
  margin: 0 auto;
}
.sheet-morph__sheet {
  position: absolute;
  width: 56px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a221c, #121914);
  border: 1px solid rgba(245,244,236,.14);
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
  overflow: hidden;
  transform-origin: center;
  animation: sheet-morph-in 9s ease-in-out infinite;
}
.sheet-morph__hdr {
  height: 9px;
  background: rgba(211,170,85,.22);
  border-bottom: 1px solid rgba(245,244,236,.08);
}
.sheet-morph__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 4px;
  height: calc(100% - 9px);
}
.sheet-morph__grid::before,
.sheet-morph__grid::after {
  content: "";
  background: rgba(211,170,85,.32);
  border-radius: 1px;
}
.sheet-morph__grid::before { grid-column: 1; }
.sheet-morph__grid::after { grid-column: 3; background: rgba(135,181,138,.35); }
.sheet-morph__sheet.s1 { left: 2%; top: 22%; --dx: 72px; --dy: 18px; --rot: -8deg; animation-delay: 0s; }
.sheet-morph__sheet.s2 { left: 18%; top: 52%; --dx: 42px; --dy: -14px; --rot: 6deg; animation-delay: .12s; }
.sheet-morph__sheet.s3 { left: 40%; top: 14%; --dx: 0px; --dy: 28px; --rot: -4deg; animation-delay: .24s; }
.sheet-morph__sheet.s4 { left: 62%; top: 50%; --dx: -42px; --dy: -12px; --rot: 7deg; animation-delay: .36s; }
.sheet-morph__sheet.s5 { left: 80%; top: 24%; --dx: -72px; --dy: 16px; --rot: -6deg; animation-delay: .48s; }
.sheet-morph__packet {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(211,170,85,.7);
  opacity: 0;
  animation: sheet-morph-packet 9s ease-in-out infinite;
}
.sheet-morph__packet.p1 { left: 14%; top: 40%; --px: 78px; --py: 12px; animation-delay: 1.05s; }
.sheet-morph__packet.p2 { left: 44%; top: 30%; --px: 8px; --py: 28px; animation-delay: 1.25s; background: var(--accent-2); box-shadow: 0 0 10px rgba(135,181,138,.65); }
.sheet-morph__packet.p3 { left: 74%; top: 42%; --px: -78px; --py: 10px; animation-delay: 1.45s; }
.sheet-morph__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 1px dashed rgba(135,181,138,.28);
  opacity: 0;
  animation: sheet-morph-ring 9s ease-in-out infinite;
  pointer-events: none;
}
.sheet-morph__system {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 88px;
  margin: -44px 0 0 -59px;
  border-radius: 12px;
  background: linear-gradient(160deg, #1a241c, #0e1410 70%);
  border: 1px solid rgba(211,170,85,.38);
  box-shadow: 0 12px 28px rgba(0,0,0,.4), 0 0 24px rgba(211,170,85,.1);
  opacity: 0;
  transform: scale(.55);
  animation: sheet-morph-system 9s ease-in-out infinite;
  overflow: hidden;
  z-index: 2;
}
.sheet-morph__system-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px 2px;
  font-size: 8px;
  color: var(--muted);
}
.sheet-morph__system-top b { color: var(--accent); font-size: 9px; }
.sheet-morph__system-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 2px 8px 8px;
  height: calc(100% - 20px);
}
.sheet-morph__hub {
  border-radius: 8px;
  border: 1px solid rgba(54,211,153,.28);
  background: rgba(54,211,153,.08);
  position: relative;
}
.sheet-morph__hub::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid rgba(211,170,85,.55);
  box-shadow: 0 0 10px rgba(211,170,85,.35);
  animation: sheet-morph-pulse 1.8s ease-in-out infinite;
}
.sheet-morph__hub::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--green);
}
.sheet-morph__panels { display: grid; grid-template-rows: 1fr 1fr 1fr; gap: 4px; }
.sheet-morph__panel {
  border-radius: 5px;
  background: rgba(245,244,236,.05);
  border: 1px solid rgba(245,244,236,.08);
  display: flex;
  align-items: center;
  padding: 0 5px;
}
.sheet-morph__panel i {
  display: block;
  height: 3px;
  width: 70%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.sheet-morph__panel:nth-child(2) i { width: 88%; background: linear-gradient(90deg, var(--accent-2), transparent); }
.sheet-morph__panel:nth-child(3) i { width: 52%; }
.sheet-morph__caption {
  margin: 6px 0 0;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .01em;
}

@keyframes sheet-morph-in {
  0%, 8% { opacity: 1; transform: translate(0,0) scale(1) rotate(0deg); filter: blur(0); }
  28% { opacity: .95; transform: translate(var(--dx), var(--dy)) scale(.92) rotate(var(--rot)); }
  48% { opacity: 0; transform: translate(calc(var(--dx) * 1.3), calc(var(--dy) * 1.3)) scale(.25) rotate(var(--rot)); filter: blur(1.5px); }
  52%, 88% { opacity: 0; }
  100% { opacity: 1; transform: translate(0,0) scale(1) rotate(0); filter: blur(0); }
}
@keyframes sheet-morph-packet {
  0%, 18% { opacity: 0; transform: translate(0,0) scale(.6); }
  30% { opacity: 1; }
  48% { opacity: .15; transform: translate(var(--px), var(--py)) scale(.35); }
  55%, 100% { opacity: 0; }
}
@keyframes sheet-morph-system {
  0%, 30% { opacity: 0; transform: scale(.55); }
  48% { opacity: 1; transform: scale(1.03); }
  56%, 86% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(.9); }
}
@keyframes sheet-morph-ring {
  0%, 32% { opacity: 0; transform: scale(.7); }
  48% { opacity: .85; transform: scale(1); }
  86% { opacity: .45; transform: scale(1.05); }
  100% { opacity: 0; }
}
@keyframes sheet-morph-pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.1); opacity: 1; }
}

@media (max-width: 680px) {
  .sheet-morph__canvas { height: 150px; }
  .sheet-morph__sheet { width: 48px; height: 38px; }
  .sheet-morph__system { width: 104px; height: 78px; margin: -39px 0 0 -52px; }
}

/* ── Consultation redesign additions ── */

/* Hero consultation note */
.consultation-note {
  margin: 14px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(211,170,85,.06);
  color: #d3d3c7;
  font-size: var(--text-sm);
  line-height: 1.5;
  max-width: 52ch;
}

/* Homepage hero stats — three facts, not a squeezed inline list */
.hero .proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: min(38rem, 100%);
  margin: 28px 0 0;
}
.hero .proof-strip li {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 2px 22px 2px 0;
}
.hero .proof-strip li + li {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.hero .proof-strip li + li::before { display: none; }
.hero .proof-strip strong {
  margin-right: 0;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.hero .proof-strip span {
  font-size: .82rem;
  color: var(--muted-2);
  line-height: 1.35;
}

/* Selected work — compact grid */
.selected-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.selected-work-grid .feature-card.large,
.selected-work-grid .featured-work {
  grid-column: 1 / -1;
  min-height: 340px;
}
.work-story {
  display: grid;
  gap: 0;
  margin: 16px 0 14px;
}
.work-story > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}
.work-story > div:last-child { border-bottom: 1px solid var(--line-soft); }
.work-story dt {
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.work-story dd { margin: 0; color: var(--text); font-size: var(--text-sm); font-weight: 600; }

/* Booking CTA after work evidence */
.work-booking {
  margin: 36px 0 0;
  text-align: center;
}
.work-booking .button { min-width: 280px; }

/* Needs grid — where I can help */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.needs-grid article {
  padding: 22px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.needs-grid article[id="hermes-agents"] {
  border-color: rgba(211,170,85,.32);
  background: linear-gradient(180deg, rgba(211,170,85,.06), var(--surface));
}
.needs-grid h3 { margin: 0 0 8px; font-size: 1.05rem; }
.needs-grid p { margin: 0 0 14px; color: var(--muted); font-size: var(--text-sm); }
.needs-grid .service-card-link { margin-top: auto; }
.needs-grid .need-nested {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: .82rem;
  line-height: 1.45;
}
.needs-grid .need-nested a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.needs-grid .need-nested a:hover { color: #f0d692; text-decoration: underline; }

/* Working steps — how we work together */
.working-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: work-step;
}
.working-steps li {
  position: relative;
  padding: 22px 20px 22px 56px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
  counter-increment: work-step;
}
.working-steps li::before {
  content: counter(work-step);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #121006;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--text-sm);
  font-weight: 800;
}
.working-steps h3 { margin: 0 0 8px; font-size: 1rem; }
.working-steps p { margin: 0; color: var(--muted); font-size: var(--text-sm); }

/* Supporting links under steps */
.supporting-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

/* About section */
.about-section { padding: 64px 0; }
.about-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.about-identity img {
  width: 104px;
  height: 104px;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.about-copy { max-width: 62ch; }
.about-copy p { margin-bottom: 12px; font-size: var(--text-md); color: #cdcec2; }
.about-copy .text-link { display: inline-block; margin-top: 6px; }

/* Contact section refinements */
.booking-detail {
  margin: 14px 0 0;
  padding: 0;
  color: var(--muted-2);
  font-size: var(--text-sm);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-align: center;
}
.email-fallback {
  display: inline-block;
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Footer link */
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* Responsive */
@media (max-width: 950px) {
  .needs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .selected-work-grid { grid-template-columns: 1fr; }
  .needs-grid { grid-template-columns: 1fr; }
  .working-steps { grid-template-columns: 1fr; }
  .about-identity { flex-direction: column; text-align: center; }
  .about-identity img { width: 80px; height: 80px; }
  .work-booking .button { width: 100%; }
  .hero .proof-strip {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .hero .proof-strip li {
    padding: 12px 0;
  }
  .hero .proof-strip li + li {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sheet-morph__sheet,
  .sheet-morph__packet,
  .sheet-morph__system,
  .sheet-morph__ring,
  .sheet-morph__hub::before {
    animation: none !important;
  }
  .sheet-morph__sheet { opacity: .28; transform: scale(.8); }
  .sheet-morph__sheet.s1 { transform: translate(28px, 10px) scale(.72); }
  .sheet-morph__sheet.s5 { transform: translate(-28px, 10px) scale(.72); }
  .sheet-morph__system { opacity: 1; transform: scale(1); }
  .sheet-morph__ring { opacity: .35; }
  .sheet-morph__packet { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after,
  .portfolio-chatbot-panel,
  .portfolio-chatbot-launcher,
  .service-hub-card {
    transition: none !important;
  }
  .service-hub-card:hover { transform: none; }
}
