

.page-hero {
  position: relative; background: var(--bg);
  padding: 40px 0 0; border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 40px 0;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: end;
}
.page-hero .crumbs {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  display: flex; gap: 10px; align-items: center; margin-bottom: 32px;
}
.page-hero .crumbs a { color: var(--muted); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero .crumbs .sep { color: var(--muted-2); }
.page-hero .crumbs .curr { color: var(--accent); }
.page-hero .eyebrow-line {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.page-hero .eyebrow-line .ln { width: 38px; height: 1px; background: var(--accent); }
.page-hero h1 {
  font-size: 88px; line-height: 0.92; letter-spacing: -0.045em;
  font-weight: 700; margin: 0 0 28px; text-wrap: balance;
}
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.page-hero .lede {
  font-size: 20px; line-height: 1.55; color: var(--muted);
  max-width: 480px; margin: 0 0 28px;
}
.page-hero .lede b { color: var(--ink); font-weight: 600; }

.page-hero-photo {
  aspect-ratio: 4/5; position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.page-hero-photo .geo {
  position: absolute; left: 18px; top: 18px;
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.92); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.page-hero-photo .geo .ln { width: 28px; height: 1px; background: var(--accent); }
.page-hero-photo.no-img {
  background-color: var(--ink); display: flex; align-items: center; justify-content: center;
  background-image: linear-gradient(135deg, #2A2A28 0%, #0A0A0A 100%);
}
.page-hero-photo.no-img .mono-bg {
  position: absolute; inset: 0; opacity: 0.05;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, #fff 39px, #fff 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, #fff 39px, #fff 40px);
}
.page-hero-photo.no-img .glyph {
  font-size: 11rem; font-weight: 700; color: rgba(255,255,255,0.06);
  letter-spacing: -0.04em; line-height: 1; position: relative;
}
.page-hero-photo .glyph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11rem; font-weight: 700; color: rgba(255,255,255,0.14);
  letter-spacing: -0.04em; line-height: 1;
}

.page-hero-foot {
  max-width: var(--maxw); margin: 48px auto 0; padding: 24px 40px 28px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.page-hero-foot .it { display: flex; flex-direction: column; gap: 4px; }
.page-hero-foot .it .k {
  font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.16em;
  color: var(--muted-2); text-transform: uppercase;
}
.page-hero-foot .it .v { font-size: 16px; font-weight: 500; color: var(--muted); }
.page-hero-foot .it .v b { font-weight: 700; color: var(--ink); }

.svc-grid-sect { background: var(--bg); padding: 90px 0 110px; }
.svc-grid-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--ink);
}
.svc-card {
  padding: 32px 24px 32px 0; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; min-height: 280px;
  text-decoration: none; color: inherit;
  transition: background 0.15s;
}
.svc-card:not(:nth-child(3n+1)) { padding-left: 24px; }
.svc-card:nth-child(3n) { border-right: none; }
.svc-card:hover { background: var(--paper); }
.svc-card .ix {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase;
}
.svc-card h3 {
  font-size: 26px; line-height: 1.05; letter-spacing: -0.022em;
  font-weight: 700; margin: 0; transition: color 0.15s;
}
.svc-card:hover h3 { color: var(--accent); }
.svc-card p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }
.svc-card .arr {
  margin-top: auto; padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--muted-2); text-transform: uppercase;
}
.svc-card .arr svg { width: 14px; height: 14px; transition: transform 0.15s; }
.svc-card:hover .arr svg { transform: translateX(4px); color: var(--accent); }

.svc-empty {
  padding: 80px 0; text-align: center;
  font-family: "JetBrains Mono"; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2);
}

:root { --readw: 720px; }

.svc-hero {
  position: relative; background: var(--bg);
  padding: 60px 0 0; border-bottom: 1px solid var(--line);
}
.svc-hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.svc-hero-top {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 56px; align-items: end; margin-bottom: 48px;
}
.svc-hero .crumbs {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  display: flex; gap: 10px; align-items: center; margin-bottom: 36px;
}
.svc-hero .crumbs a { color: var(--muted); text-decoration: none; }
.svc-hero .crumbs a:hover { color: var(--accent); }
.svc-hero .crumbs .sep { color: var(--muted-2); }
.svc-hero .crumbs .curr { color: var(--accent); }
.svc-hero .eyebrow-line {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.svc-hero .eyebrow-line .ln { width: 38px; height: 1px; background: var(--accent); }
.svc-hero h1 {
  font-size: 108px; line-height: 0.9; letter-spacing: -0.04em;
  font-weight: 700; margin: 0; text-wrap: balance;
}
.svc-hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.svc-hero .lede {
  font-size: 20px; line-height: 1.55; color: var(--muted); margin: 0 0 28px;
}
.svc-hero .lede b { color: var(--ink); font-weight: 600; }
.svc-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.svc-hero-photo {
  position: relative; width: 100%; aspect-ratio: 21/9; overflow: hidden;
  background-size: cover; background-position: center 50%;
}
.svc-hero-photo .geo {
  position: absolute; left: 24px; top: 22px;
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.95); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.svc-hero-photo .geo .ln { width: 28px; height: 1px; background: var(--accent); }
.svc-hero-photo .stamp {
  position: absolute; right: 24px; bottom: 22px;
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.92); text-transform: uppercase; text-align: right;
}
.svc-hero-photo .stamp b {
  display: block; color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 4px; letter-spacing: 0.1em;
}

.svc-hero-foot {
  max-width: var(--maxw); margin: 0 auto; padding: 28px 40px 32px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.svc-hero-foot .it { display: flex; flex-direction: column; gap: 4px; }
.svc-hero-foot .it .k {
  font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.16em;
  color: var(--muted-2); text-transform: uppercase;
}
.svc-hero-foot .it .v { font-size: 16px; font-weight: 500; color: var(--muted); }
.svc-hero-foot .it .v b { font-weight: 700; color: var(--ink); }

.svc-body { padding: 80px 0 100px; background: var(--bg); }
.svc-body-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: start;
}

.svc-body .prose {
  font-size: 19px; line-height: 1.7; color: var(--ink); max-width: var(--readw);
}
.svc-body .prose > p:first-of-type {
  font-size: 25px; line-height: 1.5; color: var(--ink); margin-bottom: 32px;
}
.svc-body .prose > p:first-of-type b { font-weight: 600; }
.svc-body .prose h2 {
  font-size: 38px; line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 700; margin: 64px 0 18px; text-wrap: balance;
  scroll-margin-top: 90px;
}
.svc-body .prose h2 .num,
.svc-body .prose h2 > span.num {
  display: block;
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; font-weight: 500;
  margin-bottom: 10px;
}
.svc-body .prose h3 {
  font-size: 23px; line-height: 1.2; letter-spacing: -0.015em;
  font-weight: 700; margin: 38px 0 12px;
}
.svc-body .prose p { margin: 0 0 22px; }
.svc-body .prose p b, .svc-body .prose strong { font-weight: 600; }
.svc-body .prose p em { font-style: italic; color: var(--muted); }
.svc-body .prose a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.svc-body .prose a:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

.svc-body .prose ul { padding-left: 0; margin: 0 0 22px; list-style: none; }
.svc-body .prose ul li {
  padding: 10px 0 10px 26px; position: relative;
  border-bottom: 1px solid var(--line);
  line-height: 1.55; font-size: 18px;
}
.svc-body .prose ul li:last-child { border-bottom: none; }
.svc-body .prose ul li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 14px; height: 1px; background: var(--accent);
}
.svc-body .prose ul li b { font-weight: 600; }
.svc-body .prose ul li small {
  display: block; color: var(--muted); font-size: 15.5px; margin-top: 3px;
}

.svc-body .prose ol {
  padding-left: 0; margin: 0 0 22px; list-style: none; counter-reset: nlist;
}
.svc-body .prose ol li {
  padding: 14px 0 14px 56px; position: relative;
  border-top: 1px solid var(--line);
  line-height: 1.55; font-size: 18px; counter-increment: nlist;
}
.svc-body .prose ol li:last-child { border-bottom: 1px solid var(--line); }
.svc-body .prose ol li::before {
  content: counter(nlist, decimal-leading-zero);
  position: absolute; left: 0; top: 15px;
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent); font-weight: 600;
}

.svc-body .prose .pullquote {
  margin: 48px 0; padding: 32px 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  font-size: 30px; line-height: 1.35; letter-spacing: -0.015em;
  font-weight: 500; color: var(--ink);
}
.svc-body .prose .pullquote em { font-style: italic; color: var(--accent); font-weight: 400; }
.svc-body .prose .pullquote .src {
  display: block; margin-top: 18px;
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase; font-style: normal; font-weight: 500;
}

.svc-body .prose .datacard {
  margin: 36px 0; padding: 28px 32px;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center;
}
.svc-body .prose .datacard .big {
  font-size: 64px; font-weight: 700; line-height: 0.95;
  letter-spacing: -0.04em; color: var(--accent);
}
.svc-body .prose .datacard .big sup { font-size: 22px; vertical-align: top; }
.svc-body .prose .datacard .t { font-size: 17px; line-height: 1.55; color: var(--ink); margin: 0; }
.svc-body .prose .datacard .t b { font-weight: 600; }
.svc-body .prose .datacard .t small {
  display: block; color: var(--muted); font-size: 15px; margin-top: 4px;
}

.svc-body .prose .cmp-box {
  margin: 36px 0; border: 1px solid var(--line); background: var(--paper);
}
.svc-body .prose .cmp-head {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto auto; gap: 24px;
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
}
.svc-body .prose .cmp-row {
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 110px 110px; gap: 24px; align-items: baseline;
}
.svc-body .prose .cmp-row:last-child { border-bottom: none; }
.svc-body .prose .cmp-row .label { font-size: 16px; color: var(--ink); }
.svc-body .prose .cmp-row .a {
  font-family: "JetBrains Mono"; font-size: 14px; color: var(--muted); text-align: right;
}
.svc-body .prose .cmp-row .b {
  font-family: "JetBrains Mono"; font-size: 14px; color: var(--accent);
  text-align: right; font-weight: 600;
}
.svc-body .prose .cmp-row.tot { background: var(--ink); color: #fff; }
.svc-body .prose .cmp-row.tot .label { color: #fff; font-weight: 600; }
.svc-body .prose .cmp-row.tot .a { color: rgba(255,255,255,0.55); font-weight: 600; }
.svc-body .prose .cmp-row.tot .b { color: var(--accent); font-weight: 700; }

.svc-body .prose .callout {
  margin: 36px 0; padding: 22px 26px;
  background: var(--paper); border-left: 3px solid var(--accent);
  font-size: 17px; line-height: 1.6; color: var(--ink);
}
.svc-body .prose .callout b { font-weight: 600; }
.svc-body .prose .callout .lab {
  display: block;
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 8px; font-weight: 600;
}

.svc-body .prose blockquote {
  margin: 28px 0; padding: 18px 26px;
  border-left: 2px solid var(--accent);
  font-style: italic; color: var(--muted); background: var(--paper);
  font-size: 18px;
}

.svc-body .prose img { max-width: 100%; height: auto; margin: 28px 0; }
.svc-body .prose table {
  width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px;
}
.svc-body .prose th, .svc-body .prose td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.svc-body .prose th { background: var(--paper); font-weight: 700; color: var(--ink); }

.svc-side {
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 24px;
}
.svc-side .partner-cta {
  background: var(--ink); color: #fff; padding: 28px 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.svc-side .partner-cta .ix {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.svc-side .partner-cta h3 {
  font-size: 26px; line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 700; margin: 0; text-wrap: balance;
}
.svc-side .partner-cta h3 em { font-style: italic; font-weight: 400; color: var(--accent); }
.svc-side .partner-cta p {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,0.7); margin: 0 0 4px;
}
.svc-side .partner-cta .row {
  display: flex; gap: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.svc-side .partner-cta .row .it { display: flex; flex-direction: column; gap: 2px; }
.svc-side .partner-cta .row .it .k {
  font-family: "JetBrains Mono"; font-size: 9.5px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
}
.svc-side .partner-cta .row .it .v { font-size: 13.5px; color: #fff; font-weight: 600; }
.svc-side .partner-cta a {
  background: var(--accent); color: #fff;
  padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  text-align: center; margin-top: 8px;
  transition: background 0.15s;
}
.svc-side .partner-cta a:hover { background: var(--accent-2); }

.svc-side .toc {
  background: var(--paper); border: 1px solid var(--line); padding: 22px 24px;
}
.svc-side .toc h4 {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.svc-side .toc ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.svc-side .toc a {
  display: flex; gap: 10px; align-items: baseline;
  font-size: 15px; line-height: 1.4;
  color: var(--muted); text-decoration: none;
}
.svc-side .toc a:hover { color: var(--ink); }
.svc-side .toc a .n {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--muted-2); flex-shrink: 0;
}
.svc-side .toc a.act { color: var(--accent); }
.svc-side .toc a.act .n { color: var(--accent); }

.svc-side .other {
  background: var(--paper); border: 1px solid var(--line); padding: 22px 24px 8px;
}
.svc-side .other h4 {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.svc-side .other ul { list-style: none; margin: 0; padding: 0; }
.svc-side .other li { border-bottom: 1px solid var(--line); }
.svc-side .other li:last-child { border-bottom: none; }
.svc-side .other a {
  padding: 13px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  color: var(--ink); text-decoration: none;
  font-size: 16px; font-weight: 500; transition: color 0.15s;
}
.svc-side .other a:hover { color: var(--accent); }
.svc-side .other a svg {
  width: 14px; height: 14px; color: var(--muted-2);
  transition: color 0.15s, transform 0.15s;
}
.svc-side .other a:hover svg { color: var(--accent); transform: translateX(2px); }

.svc-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.aside-card {
  background: var(--ink); color: #fff; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.aside-card h4 {
  font-size: 20px; line-height: 1.15; letter-spacing: -0.015em;
  font-weight: 700; margin: 0;
}
.aside-card h4 em { font-style: italic; font-weight: 400; color: var(--accent); }
.aside-card p {
  font-size: 15.5px; line-height: 1.55;
  color: rgba(255,255,255,0.75); margin: 0;
}
.aside-card .k {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--accent); text-transform: uppercase;
}
.aside-card a.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  align-self: flex-start; transition: background 0.15s;
}
.aside-card a.btn:hover { background: var(--accent-2); }

.aside-list { background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.aside-list .k {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 14px;
}
.aside-list ul { list-style: none; margin: 0; padding: 0; }
.aside-list li { border-bottom: 1px solid var(--line); }
.aside-list li:last-child { border-bottom: none; }
.aside-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; font-size: 16px; color: var(--ink-2);
  text-decoration: none; font-weight: 500;
}
.aside-list a:hover { color: var(--accent); }
.aside-list a svg { width: 14px; height: 14px; color: var(--muted-2); transition: all 0.15s; }
.aside-list a:hover svg { color: var(--accent); transform: translateX(2px); }

.lead-form-band {
  background: var(--accent-soft); color: var(--ink);
  padding: 90px 0 100px;
  border-top: 1px solid var(--line);
}
.lead-form-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start;
}
.lead-form-intro .ix {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
}
.lead-form-intro h2 {
  font-size: 44px; line-height: 0.98; letter-spacing: -0.03em;
  font-weight: 700; margin: 18px 0 18px; text-wrap: balance;
  color: var(--ink);
}
.lead-form-intro h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
.lead-form-intro p {
  font-size: 17px; line-height: 1.6;
  color: var(--muted); margin: 0;
}

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form .field {
  display: flex; flex-direction: column; gap: 6px;
  border-bottom: 1px solid rgba(15, 155, 110, 0.25);
  padding: 0 0 8px;
  transition: border-color 0.15s;
}
.lead-form .field:focus-within { border-color: var(--accent); }
.lead-form label {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
}
.lead-form input, .lead-form textarea {
  background: transparent; border: none; outline: none;
  color: var(--ink); font-size: 17px; font-family: inherit;
  padding: 6px 0; resize: vertical;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted-2); }
.lead-form textarea { min-height: 90px; line-height: 1.5; }
.lead-form .submit-row {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 8px;
}
.lead-form button[type=submit] {
  background: var(--ink); color: #fff;
  padding: 14px 24px; border: none; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: background 0.15s;
  display: inline-flex; gap: 8px; align-items: center;
}
.lead-form button[type=submit]:hover { background: var(--accent); }
.lead-form .note {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--muted-2); text-transform: uppercase;
}

.flash {
  margin-bottom: 28px; padding: 14px 18px;
  font-size: 13.5px; line-height: 1.5;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft); color: var(--accent-2);
}
.flash.error { border-left-color: #DC2626; background: rgba(220,38,38,0.06); color: #DC2626; }

.kh-filter {
  background: var(--bg); padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.kh-filter-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.kh-search {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
  min-width: 280px; flex: 0 0 auto;
  transition: border-color 0.15s;
}
.kh-search:focus-within { border-color: var(--accent); }
.kh-search input {
  background: transparent; border: none; outline: none;
  font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 8px 0; min-width: 200px; flex: 1;
}
.kh-search input::placeholder { color: var(--muted-2); }
.kh-search button {
  background: transparent; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 8px; color: var(--muted);
}
.kh-search button:hover { color: var(--accent); }

.kh-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.kh-tag {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); text-decoration: none;
  transition: all 0.15s;
}
.kh-tag:hover { border-color: var(--ink); color: var(--ink); }
.kh-tag.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.kh-list-band { background: var(--bg); padding: 80px 0 100px; }
.kh-list-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.kh-results {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.16em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 32px;
}
.kh-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.kh-card {
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: border-color 0.15s, transform 0.2s;
}
.kh-card:hover { border-color: var(--ink); }
.kh-card .img {
  aspect-ratio: 16/10; background-size: cover; background-position: center;
  background-color: var(--ink); position: relative; overflow: hidden;
}
.kh-card .img .glyph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; font-weight: 700; color: rgba(255,255,255,0.08);
  letter-spacing: -0.03em;
}
.kh-card .cat {
  position: absolute; left: 14px; top: 14px;
  font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff;
  background: var(--accent); padding: 4px 10px; border-radius: 999px;
  font-weight: 600;
}
.kh-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.kh-card .meta {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--muted-2); text-transform: uppercase;
}
.kh-card h3 {
  font-size: 22px; line-height: 1.2; letter-spacing: -0.015em;
  font-weight: 700; margin: 0; color: var(--ink);
  transition: color 0.15s;
}
.kh-card:hover h3 { color: var(--accent); }
.kh-card p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }
.kh-card .read {
  margin-top: auto;
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}

.kh-empty {
  padding: 80px 0; text-align: center;
}
.kh-empty .big { font-size: 5rem; color: var(--line); font-weight: 700; line-height: 1; }
.kh-empty p {
  margin-top: 12px;
  font-family: "JetBrains Mono"; font-size: 12px; letter-spacing: 0.16em;
  color: var(--muted-2); text-transform: uppercase;
}

.kh-pagination {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: "JetBrains Mono"; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kh-pagination a, .kh-pagination span {
  color: var(--muted); text-decoration: none; padding: 4px 8px;
}
.kh-pagination a:hover { color: var(--accent); }
.kh-pagination .cur { color: var(--accent); border-bottom: 1px solid var(--accent); }

.article-body { background: var(--bg); padding: 80px 0 100px; }
.article-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start;
}
.article-prose {
  font-size: 20px; line-height: 1.7; color: var(--ink-2);
  max-width: 720px;
}
.article-prose h2 {
  font-size: 32px; line-height: 1.15; letter-spacing: -0.022em;
  font-weight: 700; margin: 48px 0 18px; color: var(--ink);
}
.article-prose h3 {
  font-size: 22px; line-height: 1.25; letter-spacing: -0.018em;
  font-weight: 700; margin: 36px 0 12px; color: var(--ink);
}
.article-prose p { margin: 0 0 22px; }
.article-prose ul, .article-prose ol { margin: 0 0 22px; padding-left: 22px; }
.article-prose li { margin-bottom: 10px; }
.article-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-prose blockquote {
  margin: 28px 0; padding: 20px 28px;
  border-left: 2px solid var(--accent);
  font-style: italic; color: var(--muted); background: var(--paper);
  font-size: 18px;
}
.article-prose img { max-width: 100%; height: auto; margin: 28px 0; }
.article-prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.article-prose th, .article-prose td {
  text-align: left; padding: 14px;
  border-bottom: 1px solid var(--line);
}
.article-prose th { background: var(--paper); font-weight: 700; color: var(--ink); }

.article-bottom-tag {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
}
.article-bottom-tag a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-2);
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600; text-decoration: none;
}

.related-band { background: var(--paper); padding: 90px 0 100px; border-top: 1px solid var(--line); }
.related-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.related-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 32px; gap: 24px; flex-wrap: wrap;
}
.related-head h2 {
  font-size: 32px; line-height: 1.0; letter-spacing: -0.022em;
  font-weight: 700; margin: 0;
}
.related-head .ix {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.16em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 8px;
}
.related-head .all {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.related-head .all:hover { color: var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.about-intro { background: var(--paper); padding: 80px 0 80px; }
.about-intro-inner { max-width: 960px; margin: 0 auto; padding: 0 40px; }
.about-intro p {
  font-size: 28px; line-height: 1.5; letter-spacing: -0.012em;
  font-weight: 500; color: var(--ink); margin: 0;
}

.about-block { padding: 90px 0; }
.about-block.dark { background: var(--ink); color: #fff; }
.about-block.cream { background: var(--bg); }
.about-block.paper { background: var(--paper); }
.about-block-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start;
}
.about-block .head .ix {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
}
.about-block .head h2 {
  font-size: 44px; line-height: 1.0; letter-spacing: -0.03em;
  font-weight: 700; margin: 16px 0 0; text-wrap: balance;
}
.about-block.dark .head h2 { color: #fff; }
.about-block .body {
  font-size: 19px; line-height: 1.7; color: var(--muted);
  display: flex; flex-direction: column; gap: 18px;
}
.about-block.dark .body { color: rgba(255,255,255,0.75); }
.about-block .body strong, .about-block .body b { color: var(--ink); font-weight: 600; }
.about-block.dark .body strong, .about-block.dark .body b { color: #fff; }
.about-block .body .factrow {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.about-block.dark .body .factrow { border-color: rgba(255,255,255,0.15); }
.about-block .body .factrow .k {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--muted-2); text-transform: uppercase;
}
.about-block.dark .body .factrow .k { color: rgba(255,255,255,0.5); }

.contact-body { background: var(--bg); padding: 90px 0 100px; }
.contact-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start;
}
.contact-form-card {
  background: var(--paper); border: 1px solid var(--line); padding: 40px 36px;
}
.contact-form-card .ix {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.contact-form-card h2 {
  font-size: 32px; line-height: 1.05; letter-spacing: -0.022em;
  font-weight: 700; margin: 0 0 24px;
}
.contact-form-card h2 em { font-style: italic; font-weight: 400; color: var(--accent); }

.cf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.cf-form .full { grid-column: 1 / -1; }
.cf-form .field {
  display: flex; flex-direction: column; gap: 6px;
  border-bottom: 1px solid var(--line); padding-bottom: 8px;
  transition: border-color 0.15s;
}
.cf-form .field:focus-within { border-color: var(--accent); }
.cf-form label {
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
}
.cf-form input, .cf-form textarea {
  background: transparent; border: none; outline: none;
  color: var(--ink); font-family: inherit; font-size: 17px;
  padding: 6px 0;
}
.cf-form textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.cf-form .submit-row { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.cf-form button {
  background: var(--ink); color: #fff;
  padding: 14px 24px; border: none; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: background 0.15s;
  display: inline-flex; gap: 8px; align-items: center;
}
.cf-form button:hover { background: var(--accent); }

.contact-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.contact-side .it {
  background: var(--paper); border: 1px solid var(--line); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.contact-side .it .k {
  font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.16em;
  color: var(--muted-2); text-transform: uppercase;
}
.contact-side .it .v { font-size: 18px; font-weight: 600; color: var(--ink); }
.contact-side .it a { color: var(--ink); text-decoration: none; }
.contact-side .it a:hover { color: var(--accent); }
.contact-side .it.dark { background: var(--ink); color: #fff; }
.contact-side .it.dark .k { color: rgba(255,255,255,0.55); }
.contact-side .it.dark .v, .contact-side .it.dark a { color: #fff; }
.contact-side .it.dark a:hover { color: var(--accent); }

.legal-body { background: var(--bg); padding: 70px 0 100px; }
.legal-inner {
  max-width: 880px; margin: 0 auto; padding: 0 40px;
}
.legal-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 18px 0 22px; margin-bottom: 28px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono"; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.legal-meta b { color: var(--ink); font-weight: 600; margin-left: 6px; }

.legal-prose { font-size: 17.5px; line-height: 1.7; color: var(--ink); }
.legal-prose h2 {
  font-size: 26px; line-height: 1.15; letter-spacing: -0.02em;
  font-weight: 700; margin: 44px 0 14px; color: var(--ink);
  scroll-margin-top: 90px;
}
.legal-prose h2 .num {
  display: block;
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.16em;
  color: var(--accent); text-transform: uppercase; font-weight: 500;
  margin-bottom: 8px;
}
.legal-prose h3 {
  font-size: 18px; line-height: 1.25; letter-spacing: -0.012em;
  font-weight: 700; margin: 28px 0 10px; color: var(--ink);
}
.legal-prose p { margin: 0 0 16px; color: var(--ink-2); }
.legal-prose b, .legal-prose strong { font-weight: 600; color: var(--ink); }
.legal-prose a {
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}
.legal-prose a:hover { color: var(--accent-2); }
.legal-prose ul, .legal-prose ol {
  margin: 0 0 18px; padding-left: 22px; color: var(--ink-2);
}
.legal-prose li { margin-bottom: 8px; }

.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0; opacity: 0.22;
  background-size: cover; background-position: center;
}
.cta-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 100px 40px;
}
.cta-eyebrow {
  color: var(--accent);
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cta-inner h2 {
  font-size: 72px; line-height: 0.92; letter-spacing: -0.045em;
  font-weight: 700; margin: 24px 0 36px; text-wrap: balance; color: #fff;
}
.cta-inner h2 em { font-style: italic; font-weight: 400; color: var(--accent); }

@media (max-width: 960px) {
  .cta-inner { padding: 64px 20px; }
  .cta-inner h2 { font-size: 40px; }
}

.error-band {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 40px;
  background: var(--bg);
}
.error-inner { max-width: 560px; text-align: center; }
.error-inner .code {
  font-size: 9rem; font-weight: 700;
  color: var(--line); line-height: 1; letter-spacing: -0.05em;
  font-family: "JetBrains Mono"; margin-bottom: 8px;
}
.error-inner h1 {
  font-size: 36px; line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 700; margin: 0 0 18px;
}
.error-inner h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.error-inner p {
  font-size: 18px; line-height: 1.6; color: var(--muted);
  margin: 0 0 36px;
}
.error-inner .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .page-hero h1 { font-size: 64px; }
  .page-hero-foot { grid-template-columns: repeat(2, 1fr); }
  .svc-hero h1 { font-size: 72px; }
  .svc-hero-top { grid-template-columns: 1fr; gap: 32px; }
  .svc-body-inner, .article-inner { grid-template-columns: 1fr; gap: 48px; }
  .svc-side, .svc-aside, .article-aside { position: static; }
  .kh-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-form-inner, .about-block-inner, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-side { position: static; }
}
@media (max-width: 960px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 24px 20px 0; }
  .page-hero h1 { font-size: 44px; }
  .page-hero-foot { padding: 20px; gap: 16px; }
  .svc-grid { grid-template-columns: 1fr; padding: 0; }
  .svc-card { border-right: none; padding: 24px 0; min-height: auto; }
  .svc-card:not(:nth-child(3n+1)) { padding-left: 0; }
  .svc-grid-sect, .svc-body, .article-body { padding: 60px 0 80px; }
  .svc-hero { padding: 36px 0 0; }
  .svc-hero-inner, .svc-body-inner, .article-inner, .kh-list-inner, .related-inner, .about-block-inner, .contact-inner { padding: 0 20px; }
  .svc-hero h1 { font-size: 52px; }
  .svc-hero-foot { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 16px; }
  .svc-body .prose { font-size: 16.5px; }
  .svc-body .prose h2 { font-size: 30px; margin: 48px 0 14px; }
  .svc-body .prose .pullquote { font-size: 22px; padding: 24px 0; margin: 36px 0; }
  .svc-body .prose .datacard { grid-template-columns: 1fr; gap: 12px; padding: 22px 24px; }
  .svc-body .prose .datacard .big { font-size: 48px; }
  .svc-body .prose .cmp-row { grid-template-columns: 1fr 80px 80px; gap: 16px; padding: 12px 16px; }
  .kh-filter-inner { padding: 0 20px; }
  .kh-grid, .related-grid { grid-template-columns: 1fr; gap: 24px; }
  .lead-form { grid-template-columns: 1fr; gap: 18px; }
  .lead-form-band, .related-band { padding: 60px 0 70px; }
  .lead-form-inner { padding: 0 20px; }
  .about-intro-inner { padding: 0 20px; }
  .about-intro p { font-size: 18px; }
  .about-block { padding: 60px 0; }
  .cf-form { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
  .error-inner .code { font-size: 6rem; }
  .error-inner h1 { font-size: 26px; }
}
