/* ---------- Tokens ---------- */
:root {
  --bg: #f4f4f5;
  --bg-elev: #fafafa;
  --surface: #ffffff;
  --surface-muted: #ededef;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --text: #18181b;
  --text-muted: #52525b;
  --text-soft: #71717a;
  --accent: #0a0a0a; /* off-black, not pure #000 */
  --accent-contrast: #fafafa;
  --accent-tone: #5d7a6b; /* desaturated sage, single muted accent */
  --ring: rgba(24, 24, 27, 0.10);
  /* tinted shadows toward the bg hue, never pure black */
  --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.04),
    0 1px 3px rgba(24, 24, 27, 0.05);
  --shadow-md: 0 18px 38px -22px rgba(24, 24, 27, 0.22),
    0 6px 14px -8px rgba(24, 24, 27, 0.07);
  --shadow-diffuse: 0 24px 60px -28px rgba(24, 24, 27, 0.18);
  --inset-refraction: inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 0 0 1px rgba(24, 24, 27, 0.04);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --container: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-brand: "Hanken Grotesk", var(--font-sans);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image: radial-gradient(
      1000px 600px at 85% -10%,
      rgba(24, 24, 27, 0.04),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at -10% 10%,
      rgba(24, 24, 27, 0.03),
      transparent 55%
    );
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text);
}
p {
  margin: 0;
  color: var(--text-muted);
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--border-strong);
  display: inline-block;
}
.eyebrow--status {
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  background: rgba(24, 24, 27, 0.94);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #d4d4d8;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero .eyebrow--status {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 10, 0.72);
  color: #e4e4e7;
}
/* Home pages with video hero: keep nav transparent at top so video is continuous */
body.home-video .nav {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.home-video .nav.is-scrolled {
  background: rgba(10, 10, 10, 0.62);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
body.home-video .brand,
body.home-video .brand__name,
body.home-video .nav__links a {
  color: #f4f4f5;
}
body.home-video .nav__links a::after {
  background: #f4f4f5;
}
body.home-video .lang__trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f4f4f5;
}
body.home-video .lang__trigger:hover {
  background: rgba(255, 255, 255, 0.14);
}
body.home-video .lang__chevron {
  color: #d4d4d8;
}
body.home-video .nav__toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
body.home-video .nav__toggle span {
  background: #f4f4f5;
}
body.home-video .nav.is-open .nav__links {
  background: rgba(10, 10, 10, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.home-video .nav.is-open .nav__links a {
  color: #f4f4f5;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.home-video .nav.is-open .nav__links a:hover,
body.home-video .nav.is-open .nav__links a.is-active {
  color: #ffffff;
}
body.home-video .hero .btn--ghost {
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(10, 10, 10, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
body.home-video .hero .btn--ghost:hover {
  background: rgba(10, 10, 10, 0.72);
  border-color: rgba(255, 255, 255, 0.88);
  color: #ffffff;
}
.eyebrow--status::before {
  width: 7px;
  height: 7px;
  background: var(--accent-tone);
  box-shadow: 0 0 0 0 rgba(93, 122, 107, 0.5);
  animation: plate-pulse 2.4s var(--ease) infinite;
}

.section__head {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section__sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 58ch;
}
.section__head--center .section__sub {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 46px;
  padding: 0 1.25rem;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  will-change: transform;
}
.btn:active {
  transform: scale(0.98) translateY(1px);
}
.btn__arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(2px);
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.08); /* refraction inner edge */
}
.btn--primary:hover {
  background: #161616; /* off-black, never #000 */
  box-shadow: var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn--full {
  width: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in oklab, var(--bg) 90%, transparent);
}
.nav__inner {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.brand__name,
.footer__brand span:last-child {
  font-family: var(--font-brand);
  text-transform: lowercase;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-block;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: var(--inset-refraction), 0 1px 2px rgba(24, 24, 27, 0.06);
}
.footer__brand .brand__mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.nav__links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.nav__links a {
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover {
  color: var(--text);
}
.nav__links a.is-active {
  color: var(--text);
}
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav__cta {
  display: flex;
}
/* ---------- Language dropdown ---------- */
.lang {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 32px;
  padding: 0 0.65rem 0 0.85rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 99px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.lang__trigger:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.lang__trigger:active {
  transform: scale(0.98);
}
.lang__current {
  line-height: 1;
}
.lang__chevron {
  color: var(--text-soft);
  transition: transform 0.25s var(--ease);
}
.lang.is-open .lang__chevron {
  transform: rotate(180deg);
  color: var(--text);
}
.lang.is-open .lang__trigger {
  border-color: var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.4rem;
  box-shadow: var(--inset-refraction), var(--shadow-md);
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.22s var(--ease);
  z-index: 60;
}
.lang.is-open .lang__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.lang__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.lang__option:hover,
.lang__option:focus-visible {
  background: var(--surface-muted);
  color: var(--text);
  outline: none;
}
.lang__option.is-active {
  background: var(--surface-muted);
  color: var(--text);
}
.lang__option-name {
  letter-spacing: -0.005em;
}
.lang__option-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
}
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- Hero (left-aligned split, viewport-stable) ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  margin-top: -68px;
  padding: calc(68px + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: #0f1012;
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1) brightness(0.72);
  opacity: 0.7;
}
.hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      108deg,
      rgba(10, 10, 10, 0.76) 0%,
      rgba(10, 10, 10, 0.68) 36%,
      rgba(10, 10, 10, 0.48) 58%,
      rgba(10, 10, 10, 0.22) 78%,
      rgba(10, 10, 10, 0.14) 100%
    ),
    radial-gradient(
      900px 460px at 70% 8%,
      rgba(0, 0, 0, 0.34),
      transparent 76%
    );
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__copy {
  max-width: 38rem;
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #fafafa;
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-tone);
  letter-spacing: -0.01em;
}
.hero__sub {
  margin: 1.5rem 0 2.25rem;
  max-width: 50ch;
  font-size: 1.08rem;
  color: #d4d4d8;
}
.hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero__meta {
  margin: 3rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hero__meta div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hero__meta dt {
  font-size: 0.74rem;
  font-weight: 500;
  color: #a1a1aa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fafafa;
  letter-spacing: -0.01em;
}

/* Hero asset (right column) */
.hero__asset {
  position: relative;
  aspect-ratio: 5 / 4;
  max-height: 460px;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.65),
    rgba(244, 244, 245, 0.65)
  );
  box-shadow: var(--inset-refraction), var(--shadow-diffuse);
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.hero__asset .dot-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 45%, transparent 88%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 45%, transparent 88%);
}
.hero__plate {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(228, 228, 231, 0.7);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: var(--inset-refraction), 0 18px 40px -22px rgba(24, 24, 27, 0.22);
}
.plate__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.plate__row--head {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.plate__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text);
}
.plate__dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent-tone);
  box-shadow: 0 0 0 0 rgba(93, 122, 107, 0.45);
  animation: plate-pulse 2.4s var(--ease) infinite;
}
.plate__time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plate__divider {
  margin: 0.85rem 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong) 20%,
    var(--border-strong) 80%,
    transparent
  );
}
.plate__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.plate__lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
}
.plate__label {
  color: var(--text-muted);
}
.plate__value {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text);
  letter-spacing: -0.005em;
}
.plate__value--accent {
  color: var(--accent-tone);
  font-weight: 500;
}
@keyframes plate-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(93, 122, 107, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(93, 122, 107, 0); }
}

@media (max-width: 960px) {
  .hero {
    min-height: 0;
    padding-top: calc(68px + clamp(3rem, 8vw, 5rem));
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__asset {
    aspect-ratio: 5 / 4;
    max-height: 360px;
  }
  .hero__meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 560px) {
  .hero__meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero__meta div {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }
  /* Hero asset: drop the fixed aspect ratio on phones so the panel
     hugs the plate inside it instead of leaving large empty bands.   */
  .hero__asset {
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
    padding: 1.25rem;
  }
  .hero__plate {
    max-width: 100%;
    padding: 1rem 1.1rem 1.1rem;
  }
  .plate__row--head {
    font-size: 0.78rem;
  }
  .plate__lines li {
    font-size: 0.82rem;
  }
}
@media (max-width: 380px) {
  .hero__asset {
    padding: 1rem;
    border-radius: var(--radius);
  }
  .hero__plate {
    padding: 0.9rem 1rem 1rem;
  }
}

.logos {
  margin-top: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* ---------- Sections ---------- */
section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

/* ---------- Services (divided list, anti-3-equal-card) ---------- */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  counter-reset: service;
}
.service {
  display: grid;
  grid-template-columns: 84px 56px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}
.service:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
}
.service__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  padding-top: 0.4rem;
}
.service__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  box-shadow: var(--inset-refraction);
}
.service__body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.service__body p {
  font-size: 1rem;
  max-width: 60ch;
}
.service__outcome {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.service__outcome-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-tone);
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elev);
}
@media (max-width: 720px) {
  .service {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .service__num {
    grid-column: 1 / -1;
    padding-top: 0;
  }
}

/* Generic card primitives kept for legacy contexts (process steps, plans, etc.) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Pitch (problem + solution) ---------- */
.pitch {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.pitch__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: start;
}
.pitch__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--text-muted);
}
.pitch__list li {
  position: relative;
  padding-left: 1.6rem;
}
.pitch__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}
.pitch__list em {
  font-style: italic;
  color: var(--text);
}
.pitch__solution {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--inset-refraction), var(--shadow-sm);
  position: sticky;
  top: 88px;
}
.pitch__lede {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.25;
  color: var(--text);
  margin: 0.6rem 0 1rem;
  letter-spacing: -0.01em;
}

/* ---------- Service card outcome ---------- */
.card__outcome {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.card__outcome strong {
  color: var(--text);
}
.cards--services {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ---------- Process (How it works) ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.step__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-tone);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elev);
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.95rem;
}

/* ---------- Closing CTA ---------- */
.cta {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.cta__inner {
  background: var(--text);
  color: var(--accent-contrast);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-md);
  background-image: radial-gradient(
      600px 260px at 10% 0%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    radial-gradient(
      500px 240px at 100% 100%,
      rgba(255, 255, 255, 0.04),
      transparent 60%
    );
}
.cta .eyebrow {
  color: rgba(250, 250, 250, 0.6);
}
.cta .eyebrow::before {
  background: rgba(250, 250, 250, 0.3);
}
.cta .section__title {
  color: var(--accent-contrast);
  margin-inline: auto;
  max-width: 22ch;
}
.cta .section__sub {
  color: rgba(250, 250, 250, 0.75);
  margin-inline: auto;
}
.cta__actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn--primary {
  background: var(--accent-contrast);
  color: var(--text);
}
.cta .btn--primary:hover {
  background: #fff;
}
.cta .btn--ghost {
  color: var(--accent-contrast);
  border-color: rgba(250, 250, 250, 0.25);
}
.cta .btn--ghost:hover {
  border-color: var(--accent-contrast);
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- About ---------- */
.about__grid {
  max-width: 760px;
}
/* ---------- Commitments (divided list, anti-card-overuse) ---------- */
.commitments {
  margin: 2.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.commit {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 2fr;
  gap: 1.5rem 2rem;
  padding: 1.4rem 0.25rem;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.commit dt {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}
.commit dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 56ch;
}
@media (max-width: 720px) {
  .commit {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.25rem 0;
  }
}
.about__more {
  margin: 1.75rem 0 0;
  font-size: 0.98rem;
}
.link-arrow {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.link-arrow:hover {
  color: var(--accent, var(--text));
  border-bottom-color: currentColor;
}

/* ---------- Pricing (outcome-based) ---------- */
.pricing__example {
  margin-top: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.pricing__example h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin: 0.4rem 0 1.5rem;
  letter-spacing: -0.02em;
}
.pricing__math {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1rem 1.2rem;
  margin: 1.25rem 0 2rem;
  flex-wrap: wrap;
}
.math__num {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.math__num--total {
  padding: 0.35em 0.8em;
  background: var(--surface);
  color: var(--accent-tone);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  box-shadow: var(--inset-refraction);
}
.math__op {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 400;
}
.pricing__example-body {
  max-width: 60ch;
  margin: 0 auto 1.75rem;
}
.pricing__note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.pricing__note a {
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
}
.pricing__note a:hover {
  border-color: var(--text);
}

/* ---------- Legacy plans (retained) ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.plan:hover {
  border-color: var(--border-strong);
}
.plan--featured {
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--text);
  color: var(--accent-contrast);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
}
.plan h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.plan__desc {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.price {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.period {
  color: var(--text-soft);
  font-size: 0.9rem;
}
.plan__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.plan__list li {
  position: relative;
  padding-left: 1.4rem;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--text);
}
.plan .btn {
  margin-top: auto;
}

/* ---------- Contact ---------- */
.form {
  max-width: 540px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.field__hint {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.4;
}
.field input,
.field textarea {
  border: 1px solid var(--border);
  background: var(--bg-elev);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease),
    background 0.15s var(--ease);
  width: 100%;
  font-family: inherit;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 4px var(--ring);
  background: var(--surface);
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__note {
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form__note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.55;
  display: none;
}
.form__note.is-ok,
.form__note.is-err {
  color: var(--text);
}
.form__note.is-ok::before,
.form__note.is-err::before {
  display: inline-block;
}
.form__note.is-ok::before {
  background: var(--accent-tone);
  opacity: 0.85;
}
.form__note.is-err::before {
  background: #b6553a; /* desaturated terracotta, < 80% saturation */
  opacity: 0.85;
}
.contact__fallback {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.contact__fallback a {
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
}
.contact__fallback a:hover {
  border-color: var(--text);
}

/* =================================================== */
/* ---------- Case Studies page                ------- */
/* =================================================== */

.cs-hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3.5rem);
}
.cs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(100px, 16vw);
  background: url("/assets/images/backgrounds/mountain-banner.png?v=1") no-repeat center bottom /
    min(1100px, 160vw) auto;
  opacity: 0.07;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.cs-hero .container {
  position: relative;
  z-index: 1;
}
.cs-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
.cs-hero__title {
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cs-hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-tone);
  letter-spacing: -0.01em;
}
.cs-hero__sub {
  margin: 1.5rem 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.cs-summary {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--inset-refraction), var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.cs-summary div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cs-summary dt {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cs-summary dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
@media (max-width: 900px) {
  .cs-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- About page (founders + LinkedIn wireframe hero) -- */
.aboutp-hero {
  --about-hero-bg: #0a0a0a;
  --about-nav-h: 68px;
  position: relative;
  isolation: isolate;
  /* Sit under sticky nav so the banner (not the light body bg) reads as one panel */
  margin-top: calc(-1 * var(--about-nav-h));
  padding: calc(var(--about-nav-h) + clamp(4rem, 10vw, 7rem)) 0
    clamp(5rem, 14vw, 9rem);
  min-height: min(100dvh, 52rem);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background-color: var(--about-hero-bg);
}
.aboutp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/images/backgrounds/mountain-banner.png?v=1") no-repeat center bottom /
    min(1240px, 104vw) auto;
  opacity: 0.92;
  pointer-events: none;
}
/* Dot grid + soft vignette: upper zone stays tied to the banner (no flat paint-over) */
.aboutp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.055) 0.65px,
      transparent 0.75px
    ),
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.2) 0%,
      rgba(10, 10, 10, 0.42) 36%,
      rgba(10, 10, 10, 0.1) 68%,
      transparent 100%
    );
  background-size: 14px 14px, 100% 100%;
}
.aboutp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 40rem;
}
.aboutp-hero__title {
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #fafafa;
  margin: 0;
  max-width: 15ch;
}
.aboutp-hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #8faa9e;
  letter-spacing: -0.01em;
}
.aboutp-hero__lede {
  margin: 1.35rem 0 0;
  max-width: 52ch;
  font-size: 1.06rem;
  line-height: 1.55;
  color: #a1a1aa;
}
.aboutp-hero__note {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: #71717a;
}
.aboutp-hero__note a {
  color: #d4d4d8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.aboutp-hero__note a:hover {
  color: #fafafa;
}
.aboutp-hero__note-sep {
  margin: 0 0.5rem;
  opacity: 0.45;
}
body.about-page .aboutp-hero .eyebrow {
  color: #a1a1aa;
}
body.about-page .aboutp-hero .eyebrow::before {
  background: rgba(255, 255, 255, 0.28);
}

/* About page: nav on dark hero (off-black, not pure #000) */
body.about-page .nav {
  background: rgba(10, 10, 10, 0.52);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
body.about-page .nav.is-scrolled {
  background: rgba(10, 10, 10, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.about-page .brand,
body.about-page .brand__name {
  color: #fafafa;
}
body.about-page .nav__links {
  color: #a1a1aa;
}
body.about-page .nav__links a:hover,
body.about-page .nav__links a.is-active {
  color: #fafafa;
}
body.about-page .nav__links a.is-active::after {
  background: #fafafa;
}
body.about-page .lang__trigger {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e4e4e7;
}
body.about-page .lang__trigger:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
}
body.about-page .lang__chevron {
  color: #a1a1aa;
}
body.about-page .lang.is-open .lang__chevron {
  color: #e4e4e7;
}
body.about-page .nav__toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
body.about-page .nav__toggle span {
  background: #e4e4e7;
}
body.about-page .nav .btn--primary {
  background: #fafafa;
  color: #0a0a0a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.25);
}
body.about-page .nav .btn--primary:hover {
  background: #ffffff;
  color: #0a0a0a;
}
body.about-page .nav.is-open .nav__links {
  background: rgba(10, 10, 10, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.about-page .nav.is-open .nav__links a {
  color: #d4d4d8;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.about-page .nav.is-open .nav__links a:hover,
body.about-page .nav.is-open .nav__links a.is-active {
  color: #fafafa;
}
.aboutp-manifesto {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border);
}
.aboutp-manifesto__text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.38;
  color: var(--text);
  letter-spacing: -0.01em;
  max-width: 38ch;
  margin: 0;
  padding-left: clamp(0rem, 3vw, 1.5rem);
  border-left: 3px solid var(--accent-tone);
}
.aboutp-founders {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.aboutp-founders__sub {
  max-width: 48ch;
}
.founder-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}
.founder-panel:first-of-type {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: none;
  padding-top: 0;
}
.founder-panel--reverse {
  grid-template-columns: 1.05fr 1fr;
}
.founder-panel--reverse .founder-panel__figure {
  order: 2;
}
.founder-panel--reverse .founder-panel__body {
  order: 1;
}
.founder-panel__figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-muted);
  aspect-ratio: 4 / 5;
  max-height: min(520px, 70vw);
  box-shadow: var(--inset-refraction), var(--shadow-md);
}
.founder-panel__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}
.founder-panel__figcap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
}
.founder-panel__loc {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(228, 228, 231, 0.65);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  box-shadow: var(--inset-refraction);
}
.founder-panel__body {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.founder-panel__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0;
}
.founder-panel__name {
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
  color: var(--text);
}
.founder-panel__hook {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.founder-panel__body > p:last-of-type {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
}
.founder-panel__divider {
  height: 1px;
  background: var(--border);
  width: min(100%, 8rem);
  margin: 0.25rem 0;
}
.aboutp-beliefs {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--border);
}
.aboutp-beliefs__list {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.aboutp-belief {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
}
.aboutp-belief:last-child {
  border-bottom: 1px solid var(--border);
}
.aboutp-belief dt {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
}
.aboutp-belief dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
}
@media (max-width: 900px) {
  .aboutp-hero {
    min-height: min(100dvh, 44rem);
    padding-bottom: clamp(4rem, 18vw, 7rem);
  }
  .aboutp-hero::before {
    background-size: min(200vw, 900px) auto;
    background-position: center bottom;
  }
  .aboutp-hero__grid,
  .founder-panel,
  .founder-panel--reverse {
    grid-template-columns: 1fr;
  }
  .founder-panel--reverse .founder-panel__figure,
  .founder-panel--reverse .founder-panel__body {
    order: unset;
  }
  .founder-panel__figure {
    max-height: none;
    aspect-ratio: 16 / 11;
  }
}

/* Featured case ----------------------------------- */
.cs-featured {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}
.featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas:
    "head head"
    "media body";
  gap: clamp(2rem, 4vw, 3.5rem);
  column-gap: clamp(2rem, 4vw, 3.5rem);
  row-gap: clamp(1.75rem, 3vw, 2.75rem);
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}
.featured:first-of-type {
  margin-top: 0;
}

/* Reverse: image goes right, body left. Visual rhythm beats four identical
   layouts in a row. */
.featured--reverse {
  grid-template-columns: 1fr 1.05fr;
  grid-template-areas:
    "head head"
    "body media";
}

.featured__head {
  grid-area: head;
  display: grid;
  gap: 0.85rem;
  max-width: 56ch;
}
.featured__title {
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin: 0;
}
.featured__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-tone);
  letter-spacing: -0.005em;
}
.featured__id {
  font-family: var(--font-mono);
  color: var(--accent-tone);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.featured__media {
  grid-area: media;
}
.featured__body {
  grid-area: body;
}
.featured__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-muted);
  aspect-ratio: 4 / 3;
  box-shadow: var(--inset-refraction), var(--shadow-diffuse);
}
.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}
.featured__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(228, 228, 231, 0.6);
  border-radius: 99px;
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: -0.005em;
  box-shadow: var(--inset-refraction);
}
.featured__caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--accent-tone);
}
.featured__body {
  display: grid;
  gap: 1.75rem;
  align-content: start;
}
.featured__facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.featured__facts div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.featured__facts dt {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.featured__facts dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.featured__lede {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}
.featured__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.featured__metrics li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.featured__metrics li:last-child {
  border-bottom: 1px solid var(--border);
}
.metric__value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.metric__label {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.featured__quote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--inset-refraction), var(--shadow-sm);
}
.featured__quote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 1rem;
}
.featured__quote cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.cite__name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.cite__role {
  font-size: 0.85rem;
  color: var(--text-soft);
}
.cs-featured__note {
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 56ch;
}
@media (max-width: 900px) {
  .featured,
  .featured--reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "media"
      "body";
  }
}

/* List of cases ----------------------------------- */
.cs-list {
  padding-top: clamp(2rem, 4vw, 3rem);
}
.cases {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.case {
  display: grid;
  grid-template-columns: 110px 1.2fr 2fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding: 2.25rem 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.5s var(--ease);
}
.case:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
}
.case__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-tone);
  letter-spacing: 0.08em;
  padding-top: 0.4rem;
}
.case__head h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.case__meta {
  font-size: 0.85rem;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.case__brief {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 1.25rem;
  grid-column: 3;
  grid-row: 1;
}
.case__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  grid-column: 3;
  grid-row: 2;
}
.case__metrics li {
  position: relative;
  padding-left: 1.25rem;
}
.case__metrics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1.5px;
  background: var(--accent-tone);
  border-radius: 2px;
  opacity: 0.7;
}
.case__metrics strong {
  color: var(--text);
  font-weight: 600;
  font-feature-settings: "tnum";
}
.cs-list__note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-soft);
}
@media (max-width: 900px) {
  .case {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.75rem 0;
  }
  .case__num {
    padding-top: 0;
  }
  .case__brief,
  .case__metrics {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Active nav state for sub-pages ------------------- */
.nav__links a.is-active {
  color: var(--text);
}
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}
.footer__copy {
  color: var(--text-soft);
  font-size: 0.9rem;
}
.footer__links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer__links a:hover {
  color: var(--text);
}

/* =================================================== */
/* ---------- Site Footer (dark, full-section) ------- */
/* =================================================== */
.site-footer {
  --sf-bg: #0a0a0a;
  --sf-border: rgba(255, 255, 255, 0.08);
  --sf-text: #e4e4e7;
  --sf-text-strong: #fafafa;
  --sf-text-muted: #a1a1aa;
  --sf-text-soft: #71717a;
  background: var(--sf-bg);
  color: var(--sf-text);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  /* subtle radial wash for premium depth, no neon */
  background-image: radial-gradient(
      900px 480px at 12% 0%,
      rgba(255, 255, 255, 0.04),
      transparent 60%
    ),
    radial-gradient(
      700px 400px at 88% 100%,
      rgba(93, 122, 107, 0.06),
      transparent 60%
    );
}
.site-footer__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

/* Top row: lede + sitemap columns */
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.site-footer__intro {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 34ch;
}
.site-footer__lede {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.35;
  color: var(--sf-text);
  max-width: 32ch;
  margin: 0;
  letter-spacing: -0.005em;
}
.site-footer__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.site-footer__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.site-footer__trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--sf-border);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sf-text-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.site-footer__trust-icon--eu {
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12);
}
.site-footer__trust-icon--eu img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.site-footer__trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.1rem;
}
.site-footer__trust-title {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--sf-text-strong);
}
.site-footer__trust-sub {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--sf-text-soft);
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  justify-self: end;
  width: 100%;
  max-width: 400px;
}
.site-footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sf-text-soft);
  margin: 0 0 1.1rem;
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.site-footer__col a {
  font-size: 0.92rem;
  color: var(--sf-text);
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease);
}
.site-footer__col a:hover {
  color: var(--sf-text-strong);
}

/* Big wordmark band */
.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  /* shared sizing token: mark and wordmark scale together */
  --sf-brand-size: clamp(3.5rem, 9vw, 7rem);
}
.site-footer__mark {
  width: var(--sf-brand-size);
  height: var(--sf-brand-size);
  border-radius: clamp(14px, 1.8vw, 22px);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.site-footer__wordmark {
  font-family: var(--font-brand);
  font-size: var(--sf-brand-size);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--sf-text-strong);
  line-height: 1;
  text-transform: lowercase;
}

/* Bottom row */
.site-footer__bottom {
  display: grid;
  grid-template-columns: 1.3fr auto auto auto;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sf-border);
}
.site-footer__cluster {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.site-footer__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sf-text-soft);
  margin: 0;
}
.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--sf-text-muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.site-footer__social a:hover {
  color: var(--sf-text-strong);
  background: rgba(255, 255, 255, 0.06);
}
.site-footer__social a:active {
  transform: scale(0.94);
}
.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--sf-text-soft);
  margin: 0;
}
.site-footer__clocks {
  display: inline-flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--sf-text-soft);
  text-transform: uppercase;
}
.site-footer__clocks span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
.site-footer__clocks strong {
  color: var(--sf-text-strong);
  font-weight: 500;
  font-feature-settings: "tnum";
  letter-spacing: 0.02em;
}
.site-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border: 1px solid var(--sf-border);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4d4d8;
  white-space: nowrap;
  justify-self: end;
}
.site-footer__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent-tone);
  box-shadow: 0 0 0 0 rgba(93, 122, 107, 0.5);
  animation: plate-pulse 2.4s var(--ease) infinite;
}

/* Responsive collapse */
@media (max-width: 1000px) {
  .site-footer__bottom {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
  .site-footer__cluster--social {
    grid-column: 1 / -1;
  }
  .site-footer__status {
    justify-self: start;
  }
}
@media (max-width: 720px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
  .site-footer__cols {
    justify-self: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* ---------- Reveal on scroll (transform + opacity only) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--index, 0) * 80ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger inside common sibling containers */
.cards > *,
.steps > *,
.plans > *,
.services > *,
.commitments > .commit,
.aboutp-beliefs__list > .aboutp-belief,
.hero__meta > div { --staggered: 1; }

.cards > *:nth-child(1),
.steps > *:nth-child(1),
.plans > *:nth-child(1),
.services > *:nth-child(1),
.commitments > .commit:nth-child(1),
.aboutp-beliefs__list > .aboutp-belief:nth-child(1),
.hero__meta > div:nth-child(1) { --index: 0; }

.cards > *:nth-child(2),
.steps > *:nth-child(2),
.plans > *:nth-child(2),
.services > *:nth-child(2),
.commitments > .commit:nth-child(2),
.aboutp-beliefs__list > .aboutp-belief:nth-child(2),
.hero__meta > div:nth-child(2) { --index: 1; }

.cards > *:nth-child(3),
.steps > *:nth-child(3),
.plans > *:nth-child(3),
.services > *:nth-child(3),
.commitments > .commit:nth-child(3),
.aboutp-beliefs__list > .aboutp-belief:nth-child(3),
.hero__meta > div:nth-child(3) { --index: 2; }

.commitments > .commit:nth-child(4),
.cards > *:nth-child(4) { --index: 3; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pitch__grid {
    grid-template-columns: 1fr;
  }
  .pitch__solution {
    position: static;
  }
  .plans,
  .steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__right {
    gap: 0.5rem;
  }
  .lang {
    font-size: 0.72rem;
  }
  .lang__trigger {
    height: 30px;
    padding: 0 0.5rem 0 0.7rem;
  }
  .lang__menu {
    min-width: 180px;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }
  .nav.is-open .nav__links a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav__links a:last-child {
    border-bottom: 0;
  }
  /* Hide scroll-spy active underline inside mobile drawer */
  .nav.is-open .nav__links a.is-active::after {
    display: none;
  }
  /* Group divider: stronger line after Contact (3rd link),
     splitting in-page anchors from page links */
  .nav.is-open .nav__links a:nth-child(3) {
    border-bottom-width: 2px;
    border-bottom-color: var(--text);
  }
  body.home-video .nav.is-open .nav__links a:nth-child(3),
  body.about-page .nav.is-open .nav__links a:nth-child(3) {
    border-bottom-color: rgba(255, 255, 255, 0.55);
  }
  .stats {
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .aboutp-hero::before {
    opacity: 0.75;
  }
  .cs-hero::after {
    opacity: 0.04;
  }
}
