/* SynteraPartners — Palantir-inspired design system */
:root {
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --paper: #ffffff;
  --paper-2: #f3f3f1;
  --mute: #6f6f6f;
  --mute-2: #a3a3a3;
  --line: rgba(10, 10, 10, 0.14);
  --line-inv: rgba(255, 255, 255, 0.18);
  --accent: #e5532d;
  --sans: "Inter Tight", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 2.4vw, 32px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
.display {
  font-weight: 300;
  font-size: clamp(44px, 7.4vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
}
.h1 { font-weight: 300; font-size: clamp(40px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.h2 { font-weight: 300; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.06; letter-spacing: -0.025em; margin: 0; }
.h3 { font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.012em; margin: 0; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--mute); max-width: 46ch; font-weight: 300; }
.dim { color: var(--mute-2); }
.arrow { display: inline-block; transition: transform 0.4s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translate(3px, -3px); }
.arrow-r { display: inline-block; transition: transform 0.4s var(--ease); }
a:hover .arrow-r { transform: translateX(4px); }

/* ---------- announcement + nav ---------- */
.announce {
  background: var(--ink); color: var(--paper);
  font-size: 13px; padding: 9px var(--gutter);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.nav.on-dark { background: rgba(10, 10, 10, 0.35); color: var(--paper); border-color: var(--line-inv); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -0.02em; font-weight: 500; }
.logo b { font-weight: 300; }
.logo-img {
  display: block; height: 22px; aspect-ratio: 308 / 42;
  background: currentColor;
  -webkit-mask: url(logo.png) no-repeat center / contain; mask: url(logo.png) no-repeat center / contain;
}
.footer .logo-img { height: 26px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { position: relative; padding: 4px 0; opacity: 0.8; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px;
  border: 1px solid currentColor;
  font-size: 14px; letter-spacing: -0.005em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn-solid, .dark .btn-solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-dark .btn-solid:hover, .dark .btn-solid:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.dark .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.icon-btn { width: 40px; height: 40px; border: 1px solid currentColor; display: inline-grid; place-items: center; }
.icon-btn svg { width: 16px; height: 16px; }
.menu-btn { display: none; }

/* full-screen menu (mobile + palantir style) */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper); color: var(--ink);
  display: grid; grid-template-rows: var(--nav-h) 1fr auto;
  transform: translateY(-100%); transition: transform 0.6s var(--ease);
  visibility: hidden;
}
.menu.open { transform: none; visibility: visible; }
.menu-top { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.menu-list { padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 4px; }
.menu-list a { font-size: clamp(36px, 9vw, 64px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.12; }
.menu-list a span { font-family: var(--mono); font-size: 13px; color: var(--mute); vertical-align: top; margin-right: 12px; }
.menu-foot { padding: 20px var(--gutter) 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h)); color: var(--paper); background: #050505;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  margin-top: calc(var(--nav-h) * -1); padding-top: var(--nav-h);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background: radial-gradient(120% 80% at 70% 30%, transparent 30%, rgba(0,0,0,0.75) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(36px, 6vh, 72px); max-width: var(--max); margin: 0 auto; width: 100%; }
.hero .display .dim { color: rgba(255,255,255,0.42); }
.hero-meta { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: clamp(28px, 4vh, 48px); padding-top: 24px; border-top: 1px solid var(--line-inv); }
.hero-meta p { margin: 0; max-width: 58ch; color: rgba(255,255,255,0.72); font-weight: 300; font-size: clamp(16px, 1.3vw, 19px); }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-coords { position: absolute; z-index: 2; top: calc(var(--nav-h) + 24px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: rgba(255,255,255,0.55); }

/* page hero (inner pages) */
.page-hero { padding: clamp(64px, 12vh, 140px) 0 clamp(40px, 6vh, 72px); border-bottom: 1px solid var(--line); }
.page-hero .label { color: var(--mute); display: block; margin-bottom: 28px; }
.page-hero .lede { margin-top: 28px; }
.page-hero-actions { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }

/* line reveal */
.reveal-lines .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.reveal-lines .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.reveal-lines.in .ln > span { transform: none; }
.reveal-lines .ln:nth-child(2) > span { transition-delay: 0.08s; }
.reveal-lines .ln:nth-child(3) > span { transition-delay: 0.16s; }
.reveal-lines .ln:nth-child(4) > span { transition-delay: 0.24s; }
.fade { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.fade.in { opacity: 1; transform: none; }

/* ---------- section scaffolding ---------- */
.section { padding: clamp(72px, 12vh, 140px) 0; }
.section-head { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: var(--gutter); padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--line); align-items: end; }
.section-head .label { color: var(--mute); }
.section-head .label a { color: var(--ink); }
.dark { background: var(--ink); color: var(--paper); }
.dark .section-head { border-color: var(--line-inv); }
.dark .section-head .label, .dark .lede { color: rgba(255,255,255,0.6); }
.gray { background: var(--paper-2); }

/* ---------- SECTOR BANNERS ---------- */
.sector-index {
  position: sticky; top: var(--nav-h); z-index: 20;
  background: var(--paper); border-bottom: 1px solid var(--line);
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
}
.sector-index::-webkit-scrollbar { display: none; }
.sector-index a {
  flex: 1 0 auto; padding: 14px var(--gutter); font-size: 14px; white-space: nowrap;
  border-right: 1px solid var(--line); color: var(--mute); position: relative; transition: color 0.3s;
}
.sector-index a:last-child { border-right: 0; }
.sector-index a .n { font-family: var(--mono); font-size: 11px; margin-right: 10px; }
.sector-index a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.sector-index a.active { color: var(--ink); }
.sector-index a.active::after { transform: scaleX(1); }

.banners { position: relative; }
.banner {
  position: sticky; top: calc(var(--nav-h) + var(--idx-h, 0px));
  height: calc(100svh - var(--nav-h) - var(--idx-h, 0px));
  min-height: 520px;
  padding: var(--gutter);
  background: var(--paper);
}
.banners.compact .banner { height: calc(88svh - var(--nav-h)); }
.banner-frame {
  position: relative; height: 100%; overflow: hidden; background: #0d0d0d; color: var(--paper);
  isolation: isolate;
}
.banner-media {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  transform: scale(calc(1.02 + var(--p, 0) * 0.14)) translateY(calc(var(--p, 0) * -3%));
  filter: grayscale(0.55) contrast(1.08) brightness(0.72);
  transition: filter 1.2s var(--ease);
  will-change: transform;
}
.banner-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.02 + var(--p, 0) * 0.08));
  filter: saturate(0.75) contrast(1.05) brightness(0.82);
  transition: filter 1.2s var(--ease);
  background: radial-gradient(120% 90% at 70% 20%, #1f4b5c 0%, #0b1f29 45%, #05090c 100%);
}
.banner-frame:hover .banner-video { filter: saturate(1) contrast(1.05) brightness(0.9); }
.banner.live .banner-media { animation: drift 26s ease-in-out infinite alternate; }
.banner-frame:hover .banner-media { filter: grayscale(0) contrast(1.05) brightness(0.8); }
@keyframes drift {
  from { background-position: 45% 45%; }
  to { background-position: 55% 58%; }
}
.banner-tint { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.78) 100%); }
.banner-fx { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; color: #fff; }
.banner-scan { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.18;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 4px); mix-blend-mode: overlay; }
.banner-card {
  position: absolute; z-index: 3; top: var(--gutter); left: var(--gutter);
  background: rgba(14, 14, 14, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 18px 22px 20px; max-width: min(520px, calc(100% - 2 * var(--gutter)));
  border: 1px solid rgba(255,255,255,0.08);
}
.banner-card .label { color: rgba(255,255,255,0.65); display: flex; gap: 14px; }
.banner-card h3 { margin: 10px 0 0; font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.02em; line-height: 1.1; }
.banner-title {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) * 1.2);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.banner-title h2 {
  margin: 0; font-weight: 300; letter-spacing: -0.045em; line-height: 0.88;
  font-size: clamp(44px, min(12.5vw, calc(96vw / var(--n, 8))), 220px);
}
.banner-title h2 .word { display: inline-block; white-space: nowrap; }
.banner-title h2 .ch { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.banner.in .banner-title h2 .ch { transform: none; opacity: 1; }
.banner-stat { text-align: right; flex: none; padding-bottom: 10px; }
.banner-stat .label { color: rgba(255,255,255,0.6); display: block; }
.banner-stat .big { font-family: var(--mono); font-size: clamp(14px, 1.1vw, 16px); margin-top: 6px; display: block; }
.banner-progress { position: absolute; z-index: 3; left: 0; bottom: 0; height: 2px; background: var(--accent); width: calc(var(--p, 0) * 100%); }

/* svg fx animation primitives */
.fx-draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.banner.in .fx-draw { animation: draw var(--dur, 3.2s) var(--ease) forwards var(--delay, 0s); }
.banner.in .fx-loop { animation: drawloop var(--dur, 4s) linear infinite var(--delay, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drawloop { 0% { stroke-dashoffset: var(--len, 1200); } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite var(--delay, 0s); }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
.fx-spin { transform-box: view-box; transform-origin: var(--ox, 50%) var(--oy, 50%); animation: spin var(--dur, 6s) linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fx-blink { animation: blink var(--dur, 1.6s) steps(2, jump-none) infinite var(--delay, 0s); }
@keyframes blink { 50% { opacity: 0.15; } }
.fx-rise { transform-box: fill-box; transform-origin: bottom; animation: rise var(--dur, 3s) var(--ease) infinite alternate var(--delay, 0s); }
@keyframes rise { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
.fx-slide { animation: slide var(--dur, 8s) linear infinite; }
@keyframes slide { to { transform: translateX(var(--dx, -400px)); } }
.fx-float { animation: floaty var(--dur, 6s) ease-in-out infinite alternate var(--delay, 0s); }
@keyframes floaty { to { transform: translateY(var(--dy, -14px)); } }
.fx-sweep { transform-box: view-box; transform-origin: var(--ox) var(--oy); animation: spin 5s linear infinite; }

/* ---------- feature grid (why us) ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-4 > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark .grid-4, .dark .grid-4 > * { border-color: var(--line-inv); }
.cell { padding: 28px 24px 32px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cell .label { color: var(--mute); }
.dark .cell .label { color: rgba(255,255,255,0.5); }
.cell p { margin: 10px 0 0; color: var(--mute); font-weight: 300; }
.dark .cell p { color: rgba(255,255,255,0.62); }
.cell::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); z-index: -1; }
.dark .cell { z-index: 0; }
.dark .cell:hover { color: var(--ink); }
.dark .cell:hover::before { transform: scaleY(1); }
.dark .cell:hover p, .dark .cell:hover .label { color: var(--mute); }
.cell-glyph { width: 44px; height: 44px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; padding-top: clamp(80px, 14vh, 160px); padding-bottom: clamp(80px, 14vh, 160px); }
.cta-band .lede { margin: 28px 0 36px; }
.cta-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: 80px 1.1fr 1fr; gap: var(--gutter); padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc .n { font-family: var(--mono); font-size: 13px; color: var(--mute); padding-top: 10px; }
.svc p { margin: 14px 0 0; color: var(--mute); font-weight: 300; max-width: 44ch; }
.svc ul { list-style: none; padding: 0; margin: 6px 0 0; }
.svc li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; font-size: 16px; }
.svc li::before { content: "↳"; color: var(--mute-2); }
.svc li:first-child { border-top: 1px solid var(--line); }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.prose p { font-size: clamp(17px, 1.25vw, 19px); font-weight: 300; color: #333; margin: 0 0 1.2em; }
.dark .prose p { color: rgba(255,255,255,0.75); }
.approach { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-inv); border-left: 1px solid var(--line-inv); }
.approach > div { border-right: 1px solid var(--line-inv); border-bottom: 1px solid var(--line-inv); padding: 32px 28px 40px; min-height: 260px; }
.approach .label { color: var(--accent); }
.approach h3 { margin: 18px 0 14px; }
.approach p { margin: 0; color: rgba(255,255,255,0.65); font-weight: 300; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
@media (min-width: 1320px) {
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .person { grid-template-columns: 160px 1fr; }
  .person img, .person-initials { width: 160px; height: 200px; }
  .person h3 { font-size: clamp(26px, 2.1vw, 34px); }
}
.person { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: end; border-top: 1px solid var(--line); padding-top: 24px; }
.person img { width: 200px; height: 240px; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.6s; }
.person:hover img { filter: none; }
.person-initials { width: 200px; height: 240px; display: grid; place-items: center; background: var(--paper-2); color: var(--mute); font-size: 56px; font-weight: 300; letter-spacing: -0.02em; }
.person .label { color: var(--mute); margin-top: 6px; display: block; }
.li-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--mute); transition: color 0.2s; }
.li-icon { width: 16px; height: 16px; }
.person:hover .li-link { color: #0a66c2; }
.person:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.partner-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.quote { font-weight: 300; font-size: clamp(26px, 3vw, 44px); line-height: 1.18; letter-spacing: -0.02em; margin: 0; max-width: 28ch; }
.quote-by { margin-top: 28px; color: var(--mute); }
.dark .quote-by { color: rgba(255,255,255,0.55); }

/* ---------- insights ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { height: 34px; padding: 0 14px; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 180px 1fr 1fr 40px; gap: var(--gutter);
  padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; position: relative;
}
.row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--paper-2); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease); z-index: -1; }
.row:hover::before { transform: scaleY(1); }
.rows { position: relative; z-index: 0; }
.row .meta { display: flex; flex-direction: column; gap: 6px; color: var(--mute); }
.row .meta .cat { color: var(--ink); }
.row h3 { font-weight: 400; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
.row p { margin: 0; color: var(--mute); font-weight: 300; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.row .go { justify-self: end; font-size: 22px; }
.row[hidden] { display: none; }
.pager { display: flex; gap: 6px; margin-top: 32px; }
.pager button { width: 40px; height: 40px; border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.pager button[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.testis { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line-inv); border-top: 1px solid var(--line-inv); }
.testis > div { padding: 32px 28px; border-right: 1px solid var(--line-inv); border-bottom: 1px solid var(--line-inv); display: flex; flex-direction: column; gap: 22px; justify-content: space-between; min-height: 300px; }
.testis blockquote { margin: 0; font-weight: 300; font-size: 19px; line-height: 1.45; color: rgba(255,255,255,0.86); }
.testis .label { color: rgba(255,255,255,0.5); }

/* article */
.article-head { padding: clamp(48px, 10vh, 120px) 0 48px; border-bottom: 1px solid var(--line); }
.article-head .back { display: inline-flex; gap: 8px; color: var(--mute); margin-bottom: 40px; }
.article-head .back:hover { color: var(--ink); }
.article-head .label { color: var(--mute); display: flex; gap: 16px; margin-bottom: 24px; }
.article-head h1 { max-width: 22ch; }
.article-layout { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; gap: var(--gutter); padding-top: 56px; padding-bottom: 96px; }
.article-aside { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; color: var(--mute); }
.article-aside a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.article-aside a:hover { color: var(--ink); }
.article-body { font-size: 18px; line-height: 1.68; font-weight: 300; color: #222; }
.article-body section { margin-bottom: 2.4em; }
.article-body h2 { font-size: clamp(26px, 2.2vw, 34px); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; margin: 1.6em 0 0.6em; color: var(--ink); }
.article-body section:first-child h2 { margin-top: 0; }
.article-body h3 { font-size: 21px; font-weight: 500; margin: 1.6em 0 0.4em; color: var(--ink); letter-spacing: -0.01em; }
.article-body h4 { font-size: 18px; font-weight: 500; margin: 1.4em 0 0.3em; color: var(--ink); }
.article-body strong { font-weight: 500; color: var(--ink); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.2em; }
.article-body li { margin: 0.4em 0; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul > li { padding-left: 1.6em; position: relative; }
.article-body ul > li::before { content: "↳"; position: absolute; left: 0; color: var(--mute-2); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.2em 0; display: block; overflow-x: auto; }
.article-body th, .article-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 400; color: var(--mute); }
.article-body blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 2px solid var(--ink); font-size: 21px; }
.article-body > div > div, .article-body section > div > div { margin-bottom: 0.6em; }
.read-progress { position: fixed; top: var(--nav-h); left: 0; height: 2px; background: var(--accent); width: 0; z-index: 49; }
.more-rows .row { grid-template-columns: 180px 1fr 40px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.field input, .field textarea {
  font: inherit; font-size: 18px; font-weight: 300; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; outline: none; border-radius: 0;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.offices > div { padding: 24px 24px 28px 0; }
.offices > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.offices .label { color: var(--mute); display: block; margin-bottom: 10px; }
.offices p { margin: 0; font-weight: 300; }
.form-note { font-size: 14px; color: var(--mute); margin-top: 14px; min-height: 1.4em; }

/* partner zone */
.pz { min-height: calc(100svh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; }
.pz-art { position: relative; background: var(--ink); overflow: hidden; }
.pz-form { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 96px); max-width: 620px; }

/* privacy */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; font-weight: 400; margin: 2em 0 0.6em; letter-spacing: -0.015em; }
.legal p, .legal li { font-weight: 300; color: #333; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gutter); padding-bottom: 72px; }
.footer p { color: rgba(255,255,255,0.55); max-width: 40ch; font-weight: 300; }
.footer h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; color: rgba(255,255,255,0.45); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-block; padding: 5px 0; color: rgba(255,255,255,0.85); }
.footer li a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-word { font-size: clamp(36px, 11.2vw, 200px); font-weight: 300; letter-spacing: -0.06em; line-height: 0.8; margin: 0 0 32px; color: rgba(255,255,255,0.92); white-space: nowrap; }
.footer-word b { font-weight: 300; color: rgba(255,255,255,0.28); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line-inv); font-size: 13px; color: rgba(255,255,255,0.5); flex-wrap: wrap; }
.footer-base a:hover { color: var(--paper); }

/* cookie */
.cookie {
  position: fixed; z-index: 70; right: var(--gutter); bottom: var(--gutter); width: min(420px, calc(100% - 2 * var(--gutter)));
  background: var(--ink); color: var(--paper); padding: 22px; border: 1px solid var(--line-inv);
  transform: translateY(140%); transition: transform 0.7s var(--ease);
}
.cookie.show { transform: none; }
.cookie p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 10px 0 18px; font-weight: 300; }
.cookie a { text-decoration: underline; }
.cookie .row-btns { display: flex; gap: 8px; }
.cookie .btn { height: 36px; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 140px 1fr 32px; }
  .row p { display: none; }
  .testis { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
  .article-aside { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links, .nav-actions .btn, .nav-actions .search { display: none; }
  .menu-btn { display: inline-grid; }
  .announce span.long { display: none; }
  .hero-meta { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .svc { grid-template-columns: 1fr; gap: 12px; }
  .svc .n { padding-top: 0; }
  .split, .contact-grid, .pz { grid-template-columns: 1fr; }
  .pz-art { min-height: 260px; }
  .approach { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .offices > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .banner { min-height: 460px; }
  .banner-title { flex-direction: column; align-items: flex-start; gap: 12px; }
  .banner-stat { text-align: left; padding: 0; }
  .hero-coords .label:not(:first-child) { display: none; }
  .hero-coords .label { white-space: nowrap; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .cell { min-height: 0; }
  .person { grid-template-columns: 120px 1fr; }
  .person img { width: 120px; height: 150px; }
  .person-initials { width: 120px; height: 150px; font-size: 36px; }
  .row, .more-rows .row { grid-template-columns: 1fr; gap: 10px; }
  .row .go { display: none; }
  .row .meta { flex-direction: row; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .banner-media { transform: none !important; }
}
