/* ============================================================
   Center QOD · qod-2
   Single-family Geist · oversized display · cobalt accent
   No editorial chrome. Type and motion do the work.
   ============================================================ */

:root {
  --paper: #FCFBF8;
  --paper-2: #F5F2EB;
  --paper-3: #ECE7DD;
  --ink: #0E0E0E;
  --ink-2: #1F1E1B;
  --muted: #6B6660;
  --rule: #E8E4DC;
  --rule-strong: #1F1E1B;
  --accent: #1737E5;
  --accent-2: #0E22A4;
  --accent-soft: rgba(23, 55, 229, 0.08);
  --accent-line: rgba(23, 55, 229, 0.18);

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --gutter: clamp(20px, 3vw, 40px);
  --rad: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
.marquee--mid { background: var(--accent); border: 0; }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 11px 0;
  white-space: nowrap;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.marquee__track--lg {
  font-family: 'Geist', sans-serif;
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  text-transform: none;
  padding: 18px 0;
  gap: 36px;
  animation-duration: 60s;
}
.marquee__track > span { display: inline-flex; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ HEADER ============ */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: 18px var(--pad);
  background: rgba(252, 251, 248, 0.96);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--rule);
  transition: background 240ms var(--ease);
}
/* Header inverts to ink over dark sections (set by intersection observer). */
.head.is-on-dark {
  background: rgba(14, 14, 14, 0.92);
  border-bottom-color: rgba(252, 251, 248, 0.12);
}
.head.is-on-dark .brand,
.head.is-on-dark .nav a,
.head.is-on-dark .nav__trigger {
  color: var(--paper);
}
.head.is-on-dark .brand__name span { color: rgba(252,251,248,0.6); }
.head.is-on-dark .nav a::after,
.head.is-on-dark .nav__trigger::after { background: var(--paper); }
.head.is-on-dark .nav__caret { color: var(--paper); }
.head.is-on-dark .btn--solid {
  background: var(--paper);
  color: var(--ink);
}
.head.is-on-dark .btn--solid:hover { background: var(--accent); color: var(--paper); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.014em;
  color: var(--ink);
}
.brand__mark { width: 28px; height: 28px; }
.brand__name { font-weight: 600; }
.brand__name span { font-weight: 400; color: var(--muted); margin-left: 0.25em; }
.brand--inv { color: var(--paper); }
.brand--inv .brand__name span { color: rgba(252, 251, 248, 0.6); }

.nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 36px);
  justify-content: center;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 200ms var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after { background: var(--accent); transform: scaleX(1); }

/* ----- Services dropdown ----- */
.nav__group { position: relative; }
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  letter-spacing: -0.005em;
}
.nav__trigger::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.nav__group.is-open .nav__trigger::after,
.nav__trigger:hover::after { transform: scaleX(1); }
.nav__caret {
  display: inline-block;
  font-size: 10px;
  transform: translateY(1px);
  transition: transform 240ms var(--ease);
}
.nav__group.is-open .nav__caret { transform: translateY(1px) rotate(-180deg); }
.nav__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(86vw, 520px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: 10px;
  display: grid;
  gap: 2px;
  box-shadow: 0 18px 48px -20px rgba(14, 14, 14, 0.22);
  opacity: 0;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
  z-index: 80;
}
.nav__group.is-open .nav__panel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.nav__panel[hidden] { display: none; }
.nav__panel a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 200ms var(--ease);
}
.nav__panel a:hover { background: var(--accent-soft); }
.nav__panel-title {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.nav__panel-desc {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.head__burger { display: none; }

@media (max-width: 880px) {
  .nav { display: none; }
  .head .head__cta { display: none; }
  .head__burger {
    display: inline-grid;
    grid-template-rows: 4px 4px 4px;
    align-content: center;
    justify-items: end;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--ink);
  }
  .head__burger span {
    display: block;
    height: 1.6px;
    width: 24px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 240ms var(--ease), opacity 200ms var(--ease), width 200ms var(--ease);
  }
  .head__burger span:nth-child(2) { width: 18px; }
  .head.is-on-dark .head__burger { color: var(--paper); }
  .head { grid-template-columns: 1fr auto; }
}

/* =================================================================
   MOBILE NAV DRAWER
   ================================================================= */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}
.drawer[hidden] { display: none; }
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 240ms var(--ease);
  pointer-events: auto;
}
.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(86vw, 420px);
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  pointer-events: auto;
  box-shadow: 0 0 50px -10px rgba(0,0,0,0.4);
  overflow-y: auto;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 28px) 18px;
  border-bottom: 1px solid rgba(252, 251, 248, 0.12);
}
.drawer__head .brand__name { color: var(--paper); }
.drawer__head .brand__name span { color: rgba(252,251,248,0.6); }
.drawer__close {
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(252,251,248,0.2);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.drawer__close:hover { background: rgba(252,251,248,0.08); border-color: rgba(252,251,248,0.4); }

.drawer__nav {
  display: grid;
  gap: 0;
  padding: clamp(20px, 5vw, 28px);
  align-content: start;
}
.drawer__kicker {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.5);
  margin: 22px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.drawer__kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.drawer__kicker:first-child { margin-top: 4px; }

.drawer__link {
  display: block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--paper);
  padding: 10px 0;
  border-bottom: 1px solid rgba(252,251,248,0.08);
  transition: color 200ms var(--ease), padding-left 240ms var(--ease);
}
.drawer__link:hover { color: var(--accent); padding-left: 6px; }
.drawer__link[aria-current="page"] { color: var(--accent); }

.drawer__service {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(252,251,248,0.08);
  transition: padding-left 240ms var(--ease);
}
.drawer__service:hover { padding-left: 6px; }
.drawer__service-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--paper);
}
.drawer__service:hover .drawer__service-title { color: var(--accent); }
.drawer__service-desc {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(252,251,248,0.55);
  text-transform: uppercase;
}
.drawer__service[aria-current="page"] .drawer__service-title { color: var(--accent); }

.drawer__foot {
  padding: 18px clamp(20px, 5vw, 28px) clamp(22px, 5vw, 30px);
  border-top: 1px solid rgba(252,251,248,0.12);
  background: rgba(0,0,0,0.25);
}
.drawer__foot .btn--solid {
  background: var(--paper);
  color: var(--ink);
}
.drawer__foot .btn--solid:hover { background: var(--accent); color: var(--paper); }
.drawer__tag {
  margin: 14px 0 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.5);
  text-align: center;
}

body.has-drawer-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .drawer__overlay,
  .drawer__panel { transition: none; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn__arrow {
  display: inline-block;
  transition: transform 320ms var(--ease);
}
.btn:hover .btn__arrow { transform: translate(2px, -2px); }
.btn--solid {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover { background: var(--accent); }
.btn--ghost {
  border-color: var(--rule-strong);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--lg { padding: 14px 22px 16px; font-size: 15px; }
.btn--full { width: 100%; justify-content: center; }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--inv { color: rgba(252, 251, 248, 0.7); }
.eyebrow--inv::before { background: rgba(252, 251, 248, 0.5); }

.display {
  font-weight: 600;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.display--accent { color: var(--accent); }
.display--muted { color: var(--muted); font-weight: 500; }
.display--inv { color: var(--paper); }

/* ============ HERO ============ */
.hero {
  padding: clamp(60px, 9vw, 130px) var(--pad) clamp(40px, 6vw, 80px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(54px, 9.6vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 12px 0 36px;
  color: var(--ink);
}
.hero__title span {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: word-rise 800ms var(--ease) both;
}
.hero__title span:nth-child(1) { animation-delay: 80ms; }
.hero__title span:nth-child(2) { animation-delay: 200ms; }
.hero__title span:nth-child(3) { animation-delay: 320ms; }
.hero__title span:nth-child(4) { animation-delay: 440ms; }
.hero__title--accent { color: var(--accent); }
@keyframes word-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
  margin-top: 36px;
}
.hero__lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 56ch;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-self: end;
  flex-wrap: wrap;
  align-items: center;
}

.hero__meta {
  max-width: var(--maxw);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 28px var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--rule);
}
.hero__meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.hero__meta-num {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 0.95;
  margin-bottom: 4px;
}
.hero__meta-num sup {
  font-size: 0.32em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 880px) {
  .hero__row { grid-template-columns: 1fr; align-items: start; }
  .hero__cta { justify-self: start; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero__meta { grid-template-columns: 1fr; }
}

/* ============ PHOTO PLATE ============ */
.plate {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--ink);
}
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.06) brightness(0.92);
  transform: scale(1.03);
  transition: transform 1200ms var(--ease);
}
.plate:hover img { transform: scale(1.06); }
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.0) 30%, rgba(14,14,14,0.65) 100%);
  pointer-events: none;
}
.plate figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  padding: clamp(24px, 4vw, 40px) var(--pad);
  color: var(--paper);
}
.plate__label {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252, 251, 248, 0.7);
}
.plate__lede {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 500;
  max-width: 60ch;
}

/* ============ PHASES (sticky scroll) ============ */
.phases {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  /* Tall enough to accommodate 4 phase reveals — set by --phase-count via JS */
  --phase-count: 4;
  height: calc(var(--phase-count) * 100vh);
}
.phases__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
  gap: clamp(20px, 4vw, 80px);
  padding: clamp(60px, 8vw, 100px) var(--pad);
  align-items: center;
  overflow: hidden;
}
.phases__head {
  align-self: center;
  max-width: 100%;
}
.phases__head .display {
  /* `ch` here is computed at the display font-size, not body. */
  max-width: 11ch;
}
.phases__head .display { color: var(--paper); }
.phases__head .display--accent { color: var(--accent); }
.phases__lede {
  margin: 24px 0 0;
  color: rgba(252, 251, 248, 0.65);
  font-size: 17px;
  line-height: 1.55;
  max-width: 36ch;
}

.phases__panels {
  position: relative;
  height: 60vh;
  min-height: 420px;
}
.phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 36px 36px 36px;
  border: 1px solid rgba(252, 251, 248, 0.15);
  border-radius: var(--rad);
  background: rgba(252, 251, 248, 0.025);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  pointer-events: none;
}
.phase.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.phase__num {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.phase h3 {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin: 0;
}
.phase p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(252, 251, 248, 0.78);
  margin: 0;
  max-width: 52ch;
}
.phase ul {
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: rgba(252, 251, 248, 0.7);
  margin: 12px 0 0;
}
.phase ul li {
  position: relative;
  padding-left: 18px;
}
.phase ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.phases__progress {
  position: absolute;
  bottom: clamp(28px, 4vw, 60px);
  left: var(--pad);
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(252, 251, 248, 0.6);
}
.phases__progress::before {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(252, 251, 248, 0.15);
  position: relative;
  overflow: hidden;
}
.phases__progress-bar {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  background: var(--accent);
  width: 0%;
  transition: width 320ms var(--ease);
  display: none;
}

@media (max-width: 880px) {
  .phases { height: auto; }
  .phases__sticky {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    padding: clamp(50px, 8vw, 100px) var(--pad);
  }
  .phases__panels { position: static; height: auto; min-height: 0; display: grid; gap: 16px; }
  .phase {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .phases__progress { display: none; }
}

/* ============ CASES (h-scroll carousel) ============ */
.cases {
  padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.cases__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(36px, 5vw, 56px);
}
.cases__rail {
  display: flex;
  gap: 24px;
  padding: 0 var(--pad) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cases__rail::-webkit-scrollbar { display: none; }
.case {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(86vw, 720px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: 24px 24px 28px;
  position: relative;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}
.case:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.case__index {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 5px 11px 6px;
  z-index: 2;
  line-height: 1;
}
.case__photo {
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.case__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
  transition: transform 800ms var(--ease);
}
.case:hover .case__photo img { transform: scale(1.04); }
.case__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case__sector {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.case__num {
  font-size: clamp(72px, 10vw, 168px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.case__sym { font-size: 0.55em; color: var(--accent); font-weight: 500; }
.case__label {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: -4px 0 0;
}
.case__copy {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 4px 0 0;
  max-width: 60ch;
}

.cases__nav {
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 0 var(--pad);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cases__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}
.cases__btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

/* ============ ENGAGEMENTS ============ */
.engagements {
  padding: clamp(60px, 8vw, 120px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.engagements__head {
  margin: 0 0 clamp(36px, 5vw, 64px);
}
.engagements__head .display {
  /* `ch` measured at the display font-size keeps the wrap predictable. */
  max-width: 14ch;
}
.tiers {
  border-top: 1px solid var(--rule-strong);
  display: grid;
}
.tier {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(20px, 3vw, 56px);
  padding: clamp(28px, 3.6vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 280ms var(--ease);
}
.tier:hover { background: var(--accent-soft); }
.tier__price {
  font-family: 'Geist Mono', monospace;
  font-size: clamp(15px, 1.2vw, 17px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  align-self: start;
  padding-top: 8px;
}
.tier h3 {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.tier p {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
  align-self: center;
}
.tier--feature h3 { color: var(--accent); }
.tier__line { display: none; }

.engagements__push {
  margin-top: 36px;
  padding: 28px clamp(24px, 4vw, 40px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--rad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.engagements__push p {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.4;
  margin: 0;
  max-width: 56ch;
}
.engagements__push .btn--solid {
  background: var(--paper);
  color: var(--ink);
}
.engagements__push .btn--solid:hover { background: var(--accent); color: var(--paper); }

@media (max-width: 880px) {
  .tier { grid-template-columns: 1fr; gap: 12px; }
  .tier__price { padding-top: 0; }
}

/* ============ FOUNDER ============ */
.founder {
  background: var(--paper-2);
  padding: clamp(60px, 8vw, 120px) var(--pad);
}
.founder__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.founder__portrait {
  margin: 0;
  border-radius: var(--rad);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 5;
  position: relative;
}
.founder__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,14,14,0.10) 100%);
}
.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.04);
}
.founder__copy { display: flex; flex-direction: column; gap: 24px; }
.founder__copy .display { font-size: clamp(56px, 7vw, 120px); }
.founder__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}
.founder__credentials {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--rule);
}
.founder__credentials > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  align-items: baseline;
}
.founder__credentials dt {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.founder__credentials dd { margin: 0; color: var(--ink); }

@media (max-width: 880px) {
  .founder__inner { grid-template-columns: 1fr; }
  .founder__portrait { max-width: 360px; }
}

/* ============ CONTACT ============ */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(70px, 9vw, 140px) var(--pad);
}
.contact__split {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 100px);
}
.contact__copy { display: flex; flex-direction: column; gap: 18px; }
.contact__copy .display { font-size: clamp(44px, 6vw, 96px); }
.contact__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(252, 251, 248, 0.7);
  max-width: 50ch;
  margin: 0;
}
.contact__direct {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(252, 251, 248, 0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__direct a {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(252, 251, 248, 0.3);
  text-underline-offset: 6px;
  transition: text-decoration-color 200ms var(--ease);
}
.contact__direct a:hover { text-decoration-color: var(--accent); }
.contact__direct span {
  font-size: 13.5px;
  color: rgba(252, 251, 248, 0.6);
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: start;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252, 251, 248, 0.6);
}
.contact__field--full { grid-column: 1 / -1; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  font: inherit;
  font-family: 'Geist', sans-serif;
  text-transform: none;
  letter-spacing: -0.005em;
  font-size: 16px;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(252, 251, 248, 0.22);
  padding: 8px 0 10px;
  outline: 0;
  border-radius: 0;
  transition: border-color 220ms var(--ease);
  resize: vertical;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(252, 251, 248, 0.32); }
.contact__form select { color: var(--paper); }
.contact__form select option { background: var(--ink); color: var(--paper); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus { border-color: var(--accent); }
.contact__form .btn--solid {
  background: var(--paper);
  color: var(--ink);
  margin-top: 12px;
  grid-column: 1 / -1;
}
.contact__form .btn--solid:hover { background: var(--accent); color: var(--paper); }
.contact__sent {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: rgba(252, 251, 248, 0.7);
  margin: 4px 0 0;
}

@media (max-width: 880px) {
  .contact__split { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.foot {
  background: var(--ink);
  color: rgba(252, 251, 248, 0.7);
  padding: 56px var(--pad) 28px;
  border-top: 1px solid rgba(252, 251, 248, 0.12);
}
.foot__top {
  max-width: var(--maxw);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(252, 251, 248, 0.12);
}
.foot__tag {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(252, 251, 248, 0.7);
  max-width: 60ch;
}
.foot__cols {
  max-width: var(--maxw);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.foot__cols h5 {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(252, 251, 248, 0.5);
  margin: 0 0 14px;
}
.foot__cols a, .foot__cols span {
  display: block;
  font-size: 14.5px;
  color: rgba(252, 251, 248, 0.85);
  padding: 4px 0;
  transition: color 200ms var(--ease);
}
.foot__cols a:hover { color: var(--accent); }
.foot__bot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(252, 251, 248, 0.12);
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(252, 251, 248, 0.5);
}
.foot__bot a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; gap: 20px; }
}

/* =================================================================
   SUBPAGES
   Shared scaffolding for service-vertical, product, stub pages.
   Each vertical brings one signature module (blueprint / tooling /
   waveform / stack) so the pages don't feel templated.
   ================================================================= */

/* ----- Page wrapper / breadcrumb / hero ----- */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.page--bleed { max-width: none; padding: 0; }

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumb a { color: var(--muted); transition: color 200ms var(--ease); }
.crumb a:hover { color: var(--accent); }
.crumb__sep { color: var(--rule-strong); opacity: 0.5; }
.crumb__here { color: var(--ink); }

.sp-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  border-bottom: 1px solid var(--rule);
}
.sp-hero__kicker {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sp-hero__kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
}
.sp-hero h1 {
  font-weight: 600;
  font-size: clamp(48px, 7.6vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 24px;
}
.sp-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.sp-hero__lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 28px;
}
.sp-hero__aside {
  display: grid;
  gap: 20px;
  padding: 26px 26px 28px;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  background: var(--paper-2);
}
.sp-hero__aside-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-hero__aside-stat {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
.sp-hero__aside-stat sup {
  font-size: 0.36em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sp-hero__aside p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 36ch;
}
.sp-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .sp-hero { grid-template-columns: 1fr; align-items: start; }
}

/* ----- Section frame (used across subpages) ----- */
.sp-section {
  padding: clamp(70px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--rule);
}
.sp-section--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(252,251,248,0.12);
}
.sp-section--tint { background: var(--accent-soft); border-color: transparent; }
.sp-section--paper2 { background: var(--paper-2); border-color: transparent; }
.sp-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sp-section__head h2 {
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  color: inherit;
}
.sp-section--ink .sp-section__head h2,
.sp-section--ink .sp-section__sub { color: var(--paper); }
.sp-section__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 56ch;
}
.sp-section--ink .sp-section__sub { color: rgba(252,251,248,0.7); }

@media (max-width: 880px) {
  .sp-section__head { grid-template-columns: 1fr; align-items: start; }
}

/* ----- Three-up "deliverables" stagger ----- */
.delivers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid currentColor;
  border-top-color: var(--rule-strong);
}
.sp-section--ink .delivers { border-top-color: rgba(252,251,248,0.22); }
.delivers > li {
  padding: clamp(28px, 3.4vw, 40px) clamp(20px, 2.4vw, 32px);
  border-right: 1px solid var(--rule);
  display: grid;
  gap: 14px;
  align-content: start;
}
.sp-section--ink .delivers > li { border-right-color: rgba(252,251,248,0.15); }
.delivers > li:first-child { padding-left: 0; }
.delivers > li:last-child { border-right: 0; padding-right: 0; }
.delivers__num {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.delivers h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 0;
}
.delivers p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.sp-section--ink .delivers p { color: rgba(252,251,248,0.7); }
@media (max-width: 880px) {
  .delivers { grid-template-columns: 1fr; }
  .delivers > li { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .delivers > li:last-child { border-bottom: 0; }
}

/* ----- Two-column prose ----- */
.prose-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.prose-two p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}
.sp-section--ink .prose-two p { color: rgba(252,251,248,0.78); }
.prose-two p strong { color: var(--ink); font-weight: 600; }
.sp-section--ink .prose-two p strong { color: var(--paper); }
@media (max-width: 760px) { .prose-two { grid-template-columns: 1fr; } }

/* ----- Big numbered list (process / steps) ----- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--rule);
}
.sp-section--ink .steps { border-top-color: rgba(252,251,248,0.15); }
.steps > li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(20px, 3vw, 56px);
  padding: clamp(26px, 3.2vw, 38px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.sp-section--ink .steps > li { border-bottom-color: rgba(252,251,248,0.12); }
.steps > li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.steps h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.steps p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.sp-section--ink .steps p { color: rgba(252,251,248,0.7); }
@media (max-width: 760px) {
  .steps > li { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
}

/* =========================================================
   AUTOMATION — blueprint module
   ========================================================= */
.blueprint {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% 0%, rgba(23,55,229,0.10), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  overflow: hidden;
}
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(23,55,229,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,55,229,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 70% 50%, black 0%, transparent 70%);
}
.blueprint__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  z-index: 1;
}
.blueprint__node {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px 22px 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 200px;
  position: relative;
}
.blueprint__node--accent { border-color: var(--accent); }
.blueprint__node-id {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.blueprint__node h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.blueprint__node p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.blueprint__node--accent::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 12px 12px;
}
.blueprint__caption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 880px) {
  .blueprint__rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .blueprint__rail { grid-template-columns: 1fr; }
}

/* =========================================================
   MANUFACTURING — tooling strip (icons + spec rows)
   ========================================================= */
.tooling {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.tooling__cell {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--paper);
  transition: background 240ms var(--ease);
}
.tooling__cell:hover { background: var(--paper-2); }
.tooling__icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.tooling__cell--accent .tooling__icon { background: var(--accent); }
.tooling h4 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--ink);
}
.tooling p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
@media (max-width: 760px) { .tooling { grid-template-columns: 1fr; } }

.spec-rows {
  border-top: 1px solid var(--rule-strong);
  display: grid;
}
.spec-rows > div {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px);
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  font-size: 15.5px;
}
.spec-rows dt {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-rows dd { margin: 0; color: var(--ink); }
.spec-rows__val {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
@media (max-width: 760px) {
  .spec-rows > div { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   CRM & CALL CONTROL — waveform / transcript
   ========================================================= */
.waveform {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--rad);
  padding: clamp(36px, 4vw, 56px);
  overflow: hidden;
}
.waveform__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.55);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.waveform__label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(23,55,229,0.25);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(23,55,229,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(23,55,229,0.05); }
}
.waveform__bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 220px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(252,251,248,0.12);
}
.waveform__bars span {
  flex: 1;
  background: rgba(252,251,248,0.18);
  border-radius: 1px;
  min-height: 6px;
  transition: background 240ms var(--ease);
}
.waveform__bars span.is-hot { background: var(--accent); }
.waveform__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.55);
}
.waveform__transcript {
  display: grid;
  gap: 16px;
  align-content: start;
}
.waveform__line {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(252,251,248,0.05);
}
.waveform__line--flag { background: rgba(23,55,229,0.18); border: 1px solid rgba(23,55,229,0.3); }
.waveform__line time {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(252,251,248,0.6);
  padding-top: 2px;
}
.waveform__line span { color: rgba(252,251,248,0.92); }
.waveform__line--flag span::after {
  content: "↳ missed close attempt";
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}
@media (max-width: 880px) { .waveform { grid-template-columns: 1fr; } }

/* =========================================================
   AI TOOLS — stack panels
   ========================================================= */
.stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stack__panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  gap: 18px;
  align-content: start;
  overflow: hidden;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}
.stack__panel:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.stack__panel--feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.stack__panel--feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--accent);
}
.stack__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stack__panel-head span:first-child { color: var(--accent); }
.stack__panel-head span:last-child { color: var(--muted); }
.stack__panel--feature .stack__panel-head span:last-child { color: rgba(252,251,248,0.55); }
.stack__panel h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
}
.stack__panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.stack__panel--feature p { color: rgba(252,251,248,0.75); }
.stack__panel ul {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink);
}
.stack__panel--feature ul { color: var(--paper); }
.stack__panel ul li {
  position: relative;
  padding-left: 18px;
}
.stack__panel ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
@media (max-width: 880px) { .stack { grid-template-columns: 1fr; } }

/* ----- Logo strip (used on multiple subpages) ----- */
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.logos > span {
  padding: 22px clamp(8px, 1.4vw, 18px);
  border-right: 1px solid var(--rule);
  display: grid;
  place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
  background: var(--paper);
}
.logos > span:last-child { border-right: 0; }
@media (max-width: 880px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos > span:nth-child(3) { border-right: 0; }
}

/* ----- Mini CTA (used at bottom of every subpage) ----- */
.mini-cta {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(50px, 6vw, 90px) var(--pad);
}
.mini-cta__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.mini-cta h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 10px;
  color: var(--paper);
}
.mini-cta p {
  font-size: 16px;
  color: rgba(252,251,248,0.7);
  margin: 0;
  max-width: 56ch;
  line-height: 1.5;
}
.mini-cta .btn {
  background: var(--paper);
  color: var(--ink);
}
.mini-cta .btn:hover { background: var(--accent); color: var(--paper); }
@media (max-width: 760px) {
  .mini-cta__inner { grid-template-columns: 1fr; }
}

/* ----- "Related practice" footer block ----- */
.related {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--paper-2);
}
.related__head {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}
.related__head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related__card {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  align-content: start;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}
.related__card:hover { transform: translateY(-2px); border-color: var(--rule-strong); }
.related__kicker {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.related__card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.15;
}
.related__card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.related__more {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
@media (max-width: 880px) {
  .related__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   STUB pages (events, jobs) — frozen-state design
   ========================================================= */
.frozen {
  min-height: 60vh;
  display: grid;
  align-items: center;
  padding: clamp(50px, 7vw, 110px) 0;
}
.frozen__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: center;
}
.frozen__big {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(14,14,14,0.025) 22px 23px);
  padding: clamp(36px, 4vw, 60px);
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  text-align: center;
}
.frozen__big-num {
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 0.85;
}
.frozen__big-num::after {
  content: "";
  display: block;
  width: 60%;
  height: 1px;
  background: var(--accent);
  margin: 18px auto 0;
}
.frozen__big-label {
  margin: 18px 0 0;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.frozen h1 {
  font-size: clamp(40px, 5.6vw, 88px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--ink);
}
.frozen h1 em {
  font-style: normal;
  color: var(--accent);
}
.frozen__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 50ch;
}
.frozen__sub {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.frozen__sub strong {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 880px) {
  .frozen__inner { grid-template-columns: 1fr; }
  .frozen__big { aspect-ratio: 1 / 1; }
}

/* =========================================================
   CASE detail (stubs)
   ========================================================= */
.cd-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 6vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  border-bottom: 1px solid var(--rule);
}
.cd-hero__sector {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.cd-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 6.4vw, 108px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--ink);
}
.cd-hero h1 em { font-style: normal; color: var(--accent); }
.cd-hero__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 56ch;
}
.cd-hero__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--rad);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.cd-hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.cd-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--rule);
}
.cd-metrics > div {
  padding: 16px clamp(20px, 2vw, 32px) 16px 0;
  border-right: 1px solid var(--rule);
}
.cd-metrics > div:last-child { border-right: 0; }
.cd-metrics__num {
  display: block;
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 0.95;
  margin-bottom: 10px;
}
.cd-metrics__num sup {
  font-size: 0.36em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cd-metrics__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 880px) {
  .cd-hero { grid-template-columns: 1fr; }
  .cd-metrics { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cd-metrics > div { border-right: 0; border-bottom: 1px solid var(--rule); padding: 16px 0; }
}

.cd-body {
  padding: clamp(50px, 6vw, 90px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 80px);
  border-bottom: 1px solid var(--rule);
}
.cd-body__aside {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 24px;
}
.cd-body__aside-block {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.cd-body__aside h5 {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 500;
}
.cd-body__aside p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.cd-body__main h2 {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.cd-body__main h2:not(:first-child) { margin-top: 36px; }
.cd-body__main p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.cd-body__main ul {
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.cd-body__main ul li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.cd-body__main ul li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent);
}
.cd-stub-banner {
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--rad);
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.55;
}
.cd-stub-banner strong { color: var(--ink); font-weight: 500; }
@media (max-width: 880px) {
  .cd-body { grid-template-columns: 1fr; }
  .cd-body__aside { position: static; }
}

/* =================================================================
   CINEMATIC CAROUSEL  (BCG-style featured-work module)
   Full-bleed editorial slides with overlay typography.
   Lives on the home page and on service pages as a "feature reel".
   ================================================================= */

.cine {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cine__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 7vw, 110px) var(--pad) clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}
.cine__head h2 {
  margin: 16px 0 0;
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--paper);
}
.cine__head h2 em { font-style: normal; color: var(--accent); }
.cine__head-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.55);
  display: grid;
  gap: 6px;
  align-self: end;
  text-align: right;
}
.cine__head-meta strong { color: var(--paper); font-weight: 500; }

.cine__stage {
  position: relative;
  padding: 0 var(--pad) 0;
  margin-top: clamp(24px, 3vw, 40px);
}
.cine__rail {
  display: flex;
  gap: clamp(16px, 1.8vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.cine__rail::-webkit-scrollbar { display: none; }

.cine__slide {
  scroll-snap-align: start;
  flex: 0 0 clamp(320px, 78vw, 1180px);
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--rad);
  overflow: hidden;
  background: #050505;
  transform-origin: left center;
  transition: transform 600ms var(--ease), opacity 600ms var(--ease);
}
@media (max-width: 880px) {
  .cine__slide { aspect-ratio: 4 / 5; flex-basis: 86vw; }
}
.cine__slide.is-prev,
.cine__slide.is-next { opacity: 0.55; }

.cine__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
  filter: saturate(0.85) contrast(1.05) brightness(0.9);
}
.cine__slide.is-active .cine__img { transform: scale(1); }
.cine__slide::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.75) 95%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 55%);
  pointer-events: none;
}

.cine__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 48px);
  display: grid;
  gap: 14px;
  align-content: end;
  color: var(--paper);
}
.cine__idx {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.7);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.cine__idx::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--accent);
}
.cine__tag {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.cine__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.02;
  max-width: 22ch;
  color: var(--paper);
}
.cine__copy {
  margin: 6px 0 0;
  font-size: clamp(14.5px, 1.2vw, 17px);
  line-height: 1.5;
  color: rgba(252,251,248,0.82);
  max-width: 60ch;
}
.cine__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  transition: gap 220ms var(--ease);
}
.cine__link:hover { gap: 14px; }

.cine__controls {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 36px) var(--pad) clamp(50px, 6vw, 80px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}
.cine__buttons {
  display: flex;
  gap: 10px;
}
.cine__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(252,251,248,0.25);
  background: transparent;
  color: var(--paper);
  font-size: 19px;
  display: grid;
  place-items: center;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.cine__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-1px); }
.cine__btn:disabled { opacity: 0.3; cursor: not-allowed; transform: none; background: transparent; color: var(--paper); }

.cine__track {
  position: relative;
  height: 2px;
  background: rgba(252,251,248,0.12);
  overflow: hidden;
}
.cine__track-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: var(--accent);
  transition: width 480ms var(--ease), transform 480ms var(--ease);
}

.cine__legend {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  flex-wrap: wrap;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.6);
  justify-content: flex-end;
}
.cine__legend button {
  background: transparent;
  border: 0;
  color: rgba(252,251,248,0.5);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 4px 0;
  cursor: pointer;
  position: relative;
  transition: color 200ms var(--ease);
}
.cine__legend button:hover { color: var(--paper); }
.cine__legend button.is-active { color: var(--paper); }
.cine__legend button.is-active::before {
  content: "";
  position: absolute;
  inset: auto 0 -3px 0;
  height: 1.5px;
  background: var(--accent);
}

@media (max-width: 880px) {
  .cine__head { grid-template-columns: 1fr; }
  .cine__head-meta { text-align: left; }
  .cine__controls { grid-template-columns: 1fr; gap: 18px; }
  .cine__legend { justify-content: flex-start; }
}

/* ----- LOGO STRIP (real SVG marks) ----- */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.brand-strip > a, .brand-strip > span {
  display: grid;
  place-items: center;
  height: 92px;
  padding: 20px clamp(8px, 1.4vw, 20px);
  border-right: 1px solid var(--rule);
  position: relative;
  opacity: 0.55;
  transition: opacity 320ms var(--ease);
  background: var(--paper);
}
.brand-strip > a:hover { opacity: 1; }
.brand-strip > *:last-child { border-right: 0; }
.brand-strip img {
  max-height: 30px;
  width: auto;
  object-fit: contain;
}
.brand-strip--ink {
  background: transparent;
  border-color: rgba(252,251,248,0.18);
}
.brand-strip--ink > a, .brand-strip--ink > span {
  background: transparent;
  border-right-color: rgba(252,251,248,0.18);
  filter: invert(1) brightness(2);
}
@media (max-width: 880px) {
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .brand-strip > *:nth-child(3n) { border-right: 0; }
  .brand-strip > *:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}

/* ----- SUBPAGE PLATE (full-bleed atmospheric photo) ----- */
.sp-plate {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--ink);
}
.sp-plate--tall { aspect-ratio: 16 / 8; }
.sp-plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.93);
  transform: scale(1.04);
  transition: transform 1400ms var(--ease);
}
.sp-plate:hover img { transform: scale(1.07); }
.sp-plate::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0) 35%, rgba(14,14,14,0.7) 100%);
  pointer-events: none;
}
.sp-plate figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(24px, 4vw, 44px) var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  color: var(--paper);
  max-width: var(--maxw);
  margin: 0 auto;
}
.sp-plate__label {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.7);
}
.sp-plate__lede {
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 500;
  max-width: 56ch;
  color: var(--paper);
}
.sp-plate__credit {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.45);
  justify-self: end;
}
@media (max-width: 880px) {
  .sp-plate { aspect-ratio: 4 / 5; }
  .sp-plate figcaption { grid-template-columns: 1fr; gap: 10px; }
  .sp-plate__credit { justify-self: start; }
}

/* =================================================================
   JOURNAL (Odoo-fed blog)
   ================================================================= */

.blog-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 14px;
  max-width: 80ch;
}
.blog-hero h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.blog-hero__lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}

/* ----- listing ----- */
.blog-list {
  padding: clamp(20px, 3vw, 40px) 0 clamp(50px, 6vw, 90px);
  display: block;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
@media (max-width: 980px) { .blog-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-list-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.blog-card__cover {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.blog-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 700ms var(--ease);
}
.blog-card:hover .blog-card__cover img { transform: scale(1.04); }
.blog-card__cover--blank::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(14,14,14,0.03) 22px 23px);
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
}
.blog-card__meta {
  margin: 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.blog-card__meta::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}
.blog-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.12;
  color: var(--ink);
}
.blog-card__subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 0;
}
.blog-card__tags li {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--accent-soft);
}
.blog-card__more {
  margin-top: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  align-self: start;
}

/* ----- skeleton & empty/offline ----- */
.blog-skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  padding: clamp(40px, 5vw, 72px) 0;
}
.blog-skeleton__card {
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, var(--paper-2) 0%, var(--paper-3) 50%, var(--paper-2) 100%);
  background-size: 200% 100%;
  border-radius: var(--rad);
  animation: skel 1.4s linear infinite;
}
.blog-skeleton__line {
  height: 14px;
  background: linear-gradient(90deg, var(--paper-2) 0%, var(--paper-3) 50%, var(--paper-2) 100%);
  background-size: 200% 100%;
  border-radius: 6px;
  margin: 14px 0;
  animation: skel 1.4s linear infinite;
}
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (max-width: 980px) { .blog-skeleton { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-skeleton { grid-template-columns: 1fr; } }

.blog-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: center;
  padding: clamp(50px, 7vw, 110px) 0;
}
.blog-empty:has(> :only-child) {
  grid-template-columns: minmax(0, 60ch);
  justify-content: start;
}
.blog-empty h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.blog-empty__lede {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 50ch;
}
.blog-empty__big {
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(14,14,14,0.025) 22px 23px);
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  text-align: center;
  padding: clamp(36px, 4vw, 60px);
}
@media (max-width: 880px) { .blog-empty { grid-template-columns: 1fr; } }

/* ----- detail page ----- */
.blog-post {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 6vw, 80px);
  max-width: 760px;
  margin: 0 auto;
}
.blog-post__head {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}
.blog-post__meta {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.blog-post__meta::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.blog-post__meta strong { color: var(--ink); font-weight: 500; }
.blog-post__title {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.blog-post__subtitle {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
  max-width: 56ch;
}
.blog-post__cover {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--rad);
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.blog-post__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
}

/* Editorial body typography */
.blog-post__body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 65ch;
}
.blog-post__body > * { margin: 0 0 1.1em; }
.blog-post__body > *:last-child { margin-bottom: 0; }
.blog-post__body h2 {
  margin-top: 1.6em;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
}
.blog-post__body h3 {
  margin-top: 1.4em;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.2;
  color: var(--ink);
}
.blog-post__body h4 {
  margin-top: 1.2em;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.blog-post__body p { margin: 0 0 1.1em; }
.blog-post__body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms var(--ease);
}
.blog-post__body a:hover { text-decoration-color: var(--accent); }
.blog-post__body strong, .blog-post__body b { font-weight: 600; color: var(--ink); }
.blog-post__body em, .blog-post__body i { font-style: italic; }
.blog-post__body ul, .blog-post__body ol {
  padding-left: 1.5em;
  margin: 0 0 1.1em;
  list-style: revert;
}
.blog-post__body li { margin-bottom: 0.4em; }
.blog-post__body blockquote {
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.2em;
  border-left: 2px solid var(--accent);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
  max-width: 56ch;
}
.blog-post__body blockquote p { margin: 0; }
.blog-post__body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rad);
  border: 1px solid var(--rule);
  margin: 1.6em 0;
}
.blog-post__body figure {
  margin: 1.6em 0;
}
.blog-post__body figure img { margin: 0; }
.blog-post__body figcaption {
  margin-top: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.blog-post__body code {
  font-family: 'Geist Mono', monospace;
  font-size: 0.92em;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 2px 6px;
  border-radius: 5px;
}
.blog-post__body pre {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--rad);
  padding: 18px 22px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 1.6em 0;
}
.blog-post__body pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.blog-post__body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2em 0;
}
.blog-post__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15.5px;
}
.blog-post__body th, .blog-post__body td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.blog-post__body th {
  font-weight: 600;
  border-bottom-color: var(--rule-strong);
}

.blog-post__foot {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
  margin-top: 12px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.blog-post__foot-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.blog-post__tags li {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--accent-soft);
}

/* Prev/Next pager */
.blog-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.blog-pager__cell {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.blog-pager__cell:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.blog-pager__cell--next { text-align: right; }
.blog-pager__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-pager__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.25;
}
.blog-pager__cell:only-child { grid-column: span 2; }
@media (max-width: 640px) {
  .blog-pager { grid-template-columns: 1fr; }
  .blog-pager__cell--next { text-align: left; }
  .blog-pager__cell:only-child { grid-column: span 1; }
}

/* =================================================================
   JOURNAL · Path B — editorial restyle (BCG/Bain/McKinsey vocabulary)
   ================================================================= */

/* ----- Reading progress bar (top of detail pages) ----- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 100;
  transition: width 80ms linear;
  will-change: width;
}
@media (prefers-reduced-motion: reduce) {
  .read-progress { transition: none; }
}

/* ----- Featured-lead card (first / most-recent on listing) ----- */
.blog-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.blog-lead::before {
  content: "Featured · Latest";
  position: absolute;
  top: clamp(8px, 1.4vw, 18px);
  left: 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.blog-lead::after {
  content: "";
  position: absolute;
  top: calc(clamp(8px, 1.4vw, 18px) + 6px);
  left: 135px;
  width: 80px;
  height: 1px;
  background: var(--accent-line);
}
.blog-lead__cover {
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--rad);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  position: relative;
  margin-top: 28px;
}
.blog-lead__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 1200ms var(--ease);
}
.blog-lead:hover .blog-lead__cover img { transform: scale(1.04); }
.blog-lead__cover--blank::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(14,14,14,0.03) 22px 23px);
}
.blog-lead__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px 0 0;
}
.blog-lead__meta {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}
.blog-lead__meta::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.blog-lead__title {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.02;
  color: var(--ink);
  max-width: 18ch;
}
.blog-lead__dek {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
}
.blog-lead__more {
  margin-top: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
  transition: gap 220ms var(--ease);
}
.blog-lead__more:hover { gap: 14px; }
@media (max-width: 880px) {
  .blog-lead { grid-template-columns: 1fr; }
  .blog-lead__cover { margin-top: 32px; }
  .blog-lead__body { padding-top: 0; }
}

/* "Archive" header above the secondary grid */
.blog-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.blog-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.blog-section-head__meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- AUTHOR MONOGRAM ----- */
.author-mono {
  display: inline-grid;
  place-items: center;
  width: var(--mono-size, 36px);
  height: var(--mono-size, 36px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: calc(var(--mono-size, 36px) * 0.42);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  text-transform: uppercase;
}
.author-mono--lg { --mono-size: 44px; }

/* ----- DETAIL: byline row (avatar + author + date + reading time + share) ----- */
.blog-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.blog-byline__author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.blog-byline__sep {
  color: var(--rule-strong);
  opacity: 0.4;
  font-size: 14px;
}
.blog-byline__meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-byline__share {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}
.blog-byline__share-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}
.share-btn {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.share-btn svg { width: 14px; height: 14px; }
.share-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share-btn.is-copied { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.share-btn:focus-visible { outline-offset: 3px; }
@media (max-width: 640px) {
  .blog-byline__share { margin-left: 0; width: 100%; }
}

/* ----- "At a Glance" TL;DR panel ----- */
.tldr {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  border-radius: var(--rad);
  padding: clamp(24px, 3vw, 36px);
  margin: clamp(24px, 3vw, 36px) 0 clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  align-items: start;
}
.tldr__label {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.tldr__label::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
}
.tldr__list {
  display: grid;
  gap: 10px;
  margin: 0;
}
.tldr__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.tldr__list li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent);
}
@media (max-width: 760px) {
  .tldr { grid-template-columns: 1fr; }
}

/* ----- Detail typography: bigger, more editorial ----- */
.blog-post {
  max-width: 720px;
  padding-top: clamp(40px, 5vw, 64px);
}
.blog-post__title {
  font-size: clamp(44px, 6vw, 88px);
  letter-spacing: -0.038em;
  line-height: 0.98;
}
.blog-post__subtitle {
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.35;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.014em;
  max-width: 56ch;
}
.blog-post__body {
  font-size: 19px;
  line-height: 1.7;
  max-width: 65ch;
}
.blog-post__body > * { margin: 0 0 1.2em; }
.blog-post__body h2 {
  margin-top: 1.8em;
  font-size: clamp(26px, 2.8vw, 36px);
}
.blog-post__body h3 {
  margin-top: 1.6em;
  font-size: clamp(22px, 2.2vw, 28px);
}
.blog-post__body blockquote {
  margin: 2em -22px;
  padding: 0.25em 0 0.25em 28px;
  border-left: 4px solid var(--accent);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.32;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 500;
  max-width: 58ch;
}
@media (max-width: 640px) {
  .blog-post__body blockquote { margin-left: 0; margin-right: 0; padding-left: 20px; }
}
.blog-post__body figure {
  margin: 2.2em 0;
}
.blog-post__body figure img {
  margin: 0;
  border-radius: var(--rad);
  border: 1px solid var(--rule);
}
.blog-post__body figcaption {
  margin-top: 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.blog-post__body figcaption::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent);
}

/* Standalone <img> in the body becomes a figure-ish thing with a Source line */
.blog-post__body > img,
.blog-post__body > p > img:only-child {
  display: block;
  margin: 2.2em 0 0.6em;
}
.blog-post__body > img + p,
.blog-post__body > p > img + p {
  /* No special styling needed — keeps natural rhythm. */
}

/* ----- Related entries grid at the bottom ----- */
.blog-related {
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--rule);
}
.blog-related__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.blog-related__head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.022em;
}
.blog-related__head a {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: color 200ms var(--ease);
}
.blog-related__head a:hover { color: var(--accent); }
.blog-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 880px) { .blog-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .blog-related__grid { grid-template-columns: 1fr; } }

/* ----- focus ring (global) ----- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .marquee__track { animation: none; }
}

/* ============ COOKIE CONSENT ============ */
.foot__link-btn {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(252, 251, 248, 0.35);
  transition: color 200ms var(--ease), text-decoration-color 200ms var(--ease);
}
.foot__link-btn:hover { color: var(--paper); text-decoration-color: var(--paper); }

.cookie {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 1200;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 520ms var(--ease), opacity 360ms var(--ease);
}
.cookie.is-shown { transform: translateY(0); opacity: 1; }
.cookie__inner {
  pointer-events: auto;
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  padding: 22px clamp(22px, 3vw, 30px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--rad);
  box-shadow: 0 20px 60px -24px rgba(14, 14, 14, 0.55), 0 2px 10px -4px rgba(14, 14, 14, 0.4);
}
.cookie__kicker {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.cookie__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(252, 251, 248, 0.82);
  max-width: 60ch;
}
.cookie__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie__btn { cursor: pointer; }
.cookie .btn--ghost {
  background: transparent;
  border-color: rgba(252, 251, 248, 0.32);
  color: var(--paper);
}
.cookie .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cookie .btn--solid { background: var(--paper); color: var(--ink); }
.cookie .btn--solid:hover { background: var(--accent); color: var(--paper); }

@media (max-width: 720px) {
  .cookie__inner { grid-template-columns: 1fr; gap: 18px; }
  .cookie__actions { flex-direction: column-reverse; align-items: stretch; }
  .cookie__btn { width: 100%; justify-content: center; }
}

/* ---- preferences dialog ---- */
.cookieprefs {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}
.cookieprefs[hidden] { display: none; }
.cookieprefs.is-shown { opacity: 1; }
.cookieprefs__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.55);
}
.cookieprefs__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--rad);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 40px 90px -30px rgba(14, 14, 14, 0.6);
  transform: translateY(10px) scale(0.99);
  transition: transform 320ms var(--ease);
}
.cookieprefs.is-shown .cookieprefs__panel { transform: none; }
.cookieprefs__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.cookieprefs__kicker { margin: 0 0 6px; }
.cookieprefs__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cookieprefs__close {
  font: inherit;
  font-size: 26px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  margin: -6px -6px 0 0;
  border-radius: 8px;
  transition: color 180ms var(--ease);
}
.cookieprefs__close:hover { color: var(--ink); }
.cookieprefs__intro {
  margin: 16px 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}
.cookieprefs__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookieopt {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  cursor: pointer;
}
.cookieopt:has(input:disabled) { cursor: default; }
.cookieopt__text { display: flex; flex-direction: column; gap: 5px; }
.cookieopt__name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.cookieopt__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}
.cookieprefs__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* ---- toggle switch ---- */
.switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  margin-top: 2px;
}
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.switch input:disabled { cursor: default; }
.switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cdc8be;
  transition: background 220ms var(--ease);
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(14, 14, 14, 0.28);
  transition: transform 240ms var(--ease);
}
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:disabled + .switch__track { opacity: 0.5; }
.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .cookieprefs__actions { flex-direction: column-reverse; }
  .cookieprefs__actions .btn { width: 100%; justify-content: center; }
  .cookieopt { padding: 14px; gap: 14px; }
}

/* =========================================================
   INDUSTRIES page — pains framework + sector grid
   ========================================================= */
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
}
.pains__item {
  padding: clamp(26px, 2.6vw, 36px) clamp(22px, 2vw, 30px) clamp(30px, 3vw, 42px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 12px;
  align-content: start;
}
.pains__num {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.pains__item h3 {
  margin: 0;
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.12;
}
.pains__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 880px) {
  .pains { grid-template-columns: 1fr; border-left: 0; }
  .pains__item { border-right: 0; }
}

/* ----- Sector grid ----- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ind-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 14px;
  padding: clamp(24px, 2.2vw, 32px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  align-content: start;
  color: var(--ink);
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), box-shadow 360ms var(--ease);
}
.ind-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
  box-shadow: 0 14px 40px -24px rgba(14, 14, 14, 0.5);
}
.ind-card__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--accent);
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}
.ind-card__glyph svg {
  width: 26px;
  height: 26px;
  display: block;
}
.ind-card--feature .ind-card__glyph {
  background: rgba(252, 251, 248, 0.12);
  border-color: rgba(252, 251, 248, 0.28);
  color: var(--paper);
}
.ind-card__kicker {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ind-card__title {
  margin: 0;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.05;
}
.ind-card__tag {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.ind-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}
.ind-card__chips span {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 5px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper-2);
  white-space: nowrap;
}
.ind-card__link {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.ind-card__link span { transition: transform 320ms var(--ease); }
.ind-card:hover .ind-card__link span { transform: translateX(4px); }

/* Featured AI card — committed accent fill, spans the row */
.ind-card--feature {
  grid-column: 1 / -1;
  grid-template-rows: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px clamp(32px, 5vw, 80px);
  align-items: center;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  padding: clamp(32px, 3.4vw, 52px);
}
.ind-card--feature:hover {
  border-color: var(--accent-2);
  box-shadow: 0 22px 60px -28px rgba(23, 55, 229, 0.7);
}
.ind-card--feature .ind-card__kicker { color: rgba(252, 251, 248, 0.75); }
.ind-card--feature .ind-card__title {
  font-size: clamp(34px, 4.4vw, 60px);
  letter-spacing: -0.035em;
  grid-row: 1;
}
.ind-card--feature .ind-card__tag {
  color: rgba(252, 251, 248, 0.86);
  font-size: clamp(16px, 1.4vw, 19px);
  grid-column: 1;
}
.ind-card--feature .ind-card__kicker { grid-column: 1; }
.ind-card--feature .ind-card__chips {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-content: center;
}
.ind-card--feature .ind-card__chips span {
  color: var(--paper);
  background: rgba(252, 251, 248, 0.12);
  border-color: rgba(252, 251, 248, 0.28);
  font-size: 12px;
  padding: 7px 13px;
}
.ind-card--feature .ind-card__link {
  color: var(--paper);
  grid-column: 1;
}
@media (max-width: 980px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-card--feature {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .ind-card--feature .ind-card__title,
  .ind-card--feature .ind-card__tag,
  .ind-card--feature .ind-card__kicker,
  .ind-card--feature .ind-card__chips,
  .ind-card--feature .ind-card__link { grid-column: 1; grid-row: auto; }
}
@media (max-width: 620px) {
  .ind-grid { grid-template-columns: 1fr; }
}

/* ---------- Test variant: photo-background sector cards ---------- */
.ind-card--bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 360px;
}
.ind-card--bg > * { position: relative; z-index: 2; }
.ind-card__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
  transition: transform 720ms var(--ease);
}
.ind-card--bg:hover .ind-card__bg-img { transform: scale(1.04); }

/* A — Dark tint: photo + cobalt/ink gradient, paper text */
.ind-card--bg-dark {
  background: var(--ink);
  border-color: rgba(252, 251, 248, 0.15);
  color: var(--paper);
}
.ind-card--bg-dark .ind-card__bg-img {
  filter: saturate(0.85) brightness(0.78);
}
.ind-card--bg-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(150deg, rgba(23, 55, 229, 0.74) 0%, rgba(14, 14, 14, 0.92) 100%);
  pointer-events: none;
}
.ind-card--bg-dark .ind-card__glyph {
  background: rgba(252, 251, 248, 0.12);
  border-color: rgba(252, 251, 248, 0.32);
  color: var(--paper);
}
.ind-card--bg-dark .ind-card__kicker { color: rgba(252, 251, 248, 0.78); }
.ind-card--bg-dark .ind-card__title { color: var(--paper); }
.ind-card--bg-dark .ind-card__tag   { color: rgba(252, 251, 248, 0.82); }
.ind-card--bg-dark .ind-card__chips span {
  color: var(--paper);
  background: rgba(252, 251, 248, 0.10);
  border-color: rgba(252, 251, 248, 0.26);
}
.ind-card--bg-dark .ind-card__link  { color: var(--paper); }
.ind-card--bg-dark:hover {
  border-color: rgba(252, 251, 248, 0.32);
  box-shadow: 0 20px 50px -28px rgba(23, 55, 229, 0.55);
}

/* B — Soft tint: photo behind a paper overlay, ink text */
.ind-card--bg-soft {
  background: var(--paper);
}
.ind-card--bg-soft .ind-card__bg-img {
  filter: saturate(0.7) blur(2px);
  transform: scale(1.06);
  opacity: 0.95;
}
.ind-card--bg-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(252, 251, 248, 0.88);
  pointer-events: none;
}

/* ---------- Test variant: tinted photo header + white body ---------- */
.ind-card--photo-top {
  padding: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  height: 100%;
}

/* Tinted photo header: holds kicker + title + lede in white */
.ind-card--photo-top .ind-card__photo {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  height: clamp(240px, 19vw, 300px);
  flex-shrink: 0;
}
.ind-card--photo-top .ind-card__photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  filter: saturate(0.85) brightness(0.78);
  transition: transform 720ms var(--ease);
}
.ind-card--photo-top:hover .ind-card__photo > img { transform: scale(1.05); }
.ind-card--photo-top .ind-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(155deg, rgba(23, 55, 229, 0.72) 0%, rgba(14, 14, 14, 0.90) 100%);
  pointer-events: none;
}
.ind-card--photo-top .ind-card__photo > *:not(img) {
  position: relative;
  z-index: 2;
}
.ind-card__photo-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(252, 251, 248, 0.16);
  border: 1px solid rgba(252, 251, 248, 0.32);
  color: var(--paper);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-self: start;
}
.ind-card__photo-glyph svg {
  width: 22px;
  height: 22px;
  display: block;
}
.ind-card__photo-text {
  display: grid;
  gap: 8px;
  align-content: end;
}
.ind-card__photo-text .ind-card__photo-glyph { margin-bottom: 4px; }
.ind-card--photo-top .ind-card__kicker {
  color: rgba(252, 251, 248, 0.82);
}
.ind-card--photo-top .ind-card__title {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: var(--paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ind-card--photo-top .ind-card__tag {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(252, 251, 248, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* White body: chips + link, fixed height */
.ind-card--photo-top .ind-card__body {
  padding: clamp(20px, 2.1vw, 28px);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  height: clamp(150px, 12vw, 184px);
  align-content: start;
  background: var(--paper);
}
.ind-card--photo-top .ind-card__chips {
  margin-top: 0;
  align-self: start;
  overflow: hidden;
}
.ind-card--photo-top .ind-card__chips span {
  height: 26px;
  line-height: 1;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
}
.ind-card--photo-top .ind-card__link {
  margin-top: 0;
  align-self: end;
}
.ind-card--bg-soft:hover .ind-card__bg-img {
  transform: scale(1.08);
}

/* =========================================================
   AI & TECHNOLOGIES page — two-track layout
   ========================================================= */
.tracks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.track {
  padding: clamp(28px, 2.8vw, 44px);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  background: var(--paper-2);
  display: grid;
  gap: 16px;
  align-content: start;
}
.track__id {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.track h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.06;
}
.track > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.track__list {
  display: grid;
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid var(--rule);
}
.track__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.track__list li strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 880px) {
  .tracks { grid-template-columns: 1fr; }
}

/* =========================================================
   INDUSTRY DETAIL pages — illustration plate + lens grid
   ========================================================= */
.ind-illu {
  margin: clamp(36px, 5vw, 72px) 0 0;
}
.ind-illu__frame {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  background: var(--paper-2);
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.ind-illu__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}
.ind-illu__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0) 55%, rgba(14,14,14,0.55) 100%);
  pointer-events: none;
}
.ind-illu__idx {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: -0.18em;
  font-weight: 600;
  font-size: clamp(120px, 18vw, 260px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #FCFBF8;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: overlay;
  z-index: 1;
}
.ind-illu figcaption {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 8px clamp(20px, 4vw, 56px);
  align-items: baseline;
  margin-top: 16px;
}
.ind-illu__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.ind-illu__lede {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 64ch;
}
@media (max-width: 720px) {
  .ind-illu__frame { aspect-ratio: 4 / 3; }
  .ind-illu figcaption { grid-template-columns: 1fr; }
}

/* ----- hero glyph badge (small icon beside hero text) ----- */
.sp-hero__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}
.sp-hero__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 7vw, 80px);
  height: clamp(56px, 7vw, 80px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.sp-hero__glyph svg {
  width: 58%;
  height: 58%;
  display: block;
}
@media (max-width: 620px) {
  .sp-hero__main { grid-template-columns: 1fr; gap: 16px; }
  .sp-hero__glyph { width: 56px; height: 56px; margin-top: 0; }
}

/* ----- three lenses (consulting / automation / AI) ----- */
.lenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
}
.lens {
  padding: clamp(26px, 2.8vw, 40px) clamp(20px, 2.2vw, 32px) clamp(28px, 3vw, 42px) 0;
  border-right: 1px solid var(--rule);
  display: grid;
  gap: 14px;
  align-content: start;
}
.lens:last-child { border-right: 0; padding-right: 0; }
.lens__id {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.lens p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .lenses { grid-template-columns: 1fr; }
  .lens { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
  .lens:last-child { border-bottom: 0; }
}

/* =========================================================
   CONSULTING page — orbit, scheme, phases, chart, carousel
   ========================================================= */

/* --- Hero orbit aside --------------------------------------------------- */
.cs-hero {
  align-items: center;
}
.cs-orbit {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: end;
  padding: 12px 0;
}
.cs-orbit__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: start;
  justify-self: start;
}
.cs-orbit__svg {
  width: clamp(280px, 32vw, 420px);
  height: auto;
  display: block;
}
.cs-orbit__caption {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 38ch;
  text-align: right;
  justify-self: end;
}
.cs-orbit__caption strong {
  color: var(--ink);
  font-weight: 600;
}
.cs-orbit__ring {
  transform-origin: 180px 180px;
  animation: cs-orbit-spin 22s linear infinite;
}
.cs-orbit__comet {
  transform-origin: 180px 180px;
  animation: cs-orbit-spin 7s linear infinite;
}
@keyframes cs-orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-orbit__ring, .cs-orbit__comet { animation: none; }
}
@media (max-width: 880px) {
  .cs-orbit { justify-items: start; }
  .cs-orbit__caption { text-align: left; justify-self: start; }
}

/* --- Outcome strip ------------------------------------------------------ */
.cs-strip {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(252,251,248,0.10);
  border-bottom: 1px solid rgba(252,251,248,0.10);
}
.cs-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 4vw, 48px) var(--pad);
}
.cs-strip__item {
  display: grid;
  gap: 10px;
  border-left: 1px solid rgba(252,251,248,0.14);
  padding-left: clamp(16px, 2vw, 24px);
}
.cs-strip__item:first-child { border-left: 0; padding-left: 0; }
.cs-strip__num {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--paper);
  font-feature-settings: "tnum";
}
.cs-strip__suf {
  font-size: 0.4em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 4px;
  color: rgba(252,251,248,0.6);
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cs-strip__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.62);
  line-height: 1.5;
}
@media (max-width: 880px) {
  .cs-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .cs-strip__item:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .cs-strip__inner { grid-template-columns: 1fr; }
  .cs-strip__item { border-left: 0; padding-left: 0; }
}

/* --- Methodology scheme ------------------------------------------------- */
.cs-scheme {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: clamp(20px, 3vw, 40px);
  overflow: hidden;
}
.cs-scheme__svg {
  width: 100%;
  height: auto;
  display: block;
}
.cs-scheme__svg .cs-scheme__phase rect:first-of-type {
  transition: transform 360ms var(--ease);
}
.cs-scheme__phase {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.cs-scheme__io {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.cs-scheme__svg.is-revealed .cs-scheme__io { opacity: 1; transform: translateY(0); }
.cs-scheme__svg.is-revealed .cs-scheme__phase { opacity: 1; transform: translateY(0); }
.cs-scheme__svg.is-revealed .cs-scheme__phase[data-phase="1"] { transition-delay: 0.10s; }
.cs-scheme__svg.is-revealed .cs-scheme__phase[data-phase="2"] { transition-delay: 0.25s; }
.cs-scheme__svg.is-revealed .cs-scheme__phase[data-phase="3"] { transition-delay: 0.40s; }
.cs-scheme__svg.is-revealed .cs-scheme__phase[data-phase="4"] { transition-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) {
  .cs-scheme__phase, .cs-scheme__io { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 760px) {
  .cs-scheme { padding: 14px; }
}

/* --- Phase cards -------------------------------------------------------- */
.cs-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.cs-phase {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: clamp(22px, 2.4vw, 32px);
  display: grid;
  gap: 14px;
  position: relative;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.cs-phase:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 22px 50px -32px rgba(23,55,229,0.45);
}
.cs-phase__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.cs-phase__num {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.cs-phase__dur {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-phase__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-line);
}
.cs-phase__icon svg { width: 30px; height: 30px; display: block; }
.cs-phase h3 {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.cs-phase p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.cs-phase__list {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.cs-phase__list li {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.cs-phase__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 10px; height: 1px;
  background: var(--accent);
}
@media (max-width: 1100px) {
  .cs-phases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cs-phases { grid-template-columns: 1fr; }
}

/* --- Margin chart ------------------------------------------------------- */
.cs-chart {
  background: rgba(252,251,248,0.03);
  border: 1px solid rgba(252,251,248,0.10);
  border-radius: var(--rad);
  padding: clamp(20px, 2.4vw, 32px);
  overflow: hidden;
}
.cs-chart__svg {
  width: 100%;
  height: auto;
  display: block;
}
.cs-chart__after {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1800ms var(--ease);
}
.cs-chart__svg.is-revealed .cs-chart__after { stroke-dashoffset: 0; }
.cs-chart__area { transition: opacity 1400ms var(--ease) 600ms; }
.cs-chart__svg.is-revealed .cs-chart__area { opacity: 1; }
.cs-chart__pin {
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.cs-chart__svg.is-revealed .cs-chart__pin { opacity: 1; }
.cs-chart__svg.is-revealed .cs-chart__pin:nth-of-type(1) { transition-delay: 1000ms; }
.cs-chart__svg.is-revealed .cs-chart__pin:nth-of-type(2) { transition-delay: 1400ms; }
.cs-chart__svg.is-revealed .cs-chart__pin:nth-of-type(3) { transition-delay: 1800ms; }
.cs-chart__foot {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: rgba(252,251,248,0.55);
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .cs-chart__after { stroke-dasharray: none; stroke-dashoffset: 0; }
  .cs-chart__area, .cs-chart__pin { opacity: 1; transition: none; }
}

/* --- Case study carousel ----------------------------------------------- */
.cs-carousel {
  position: relative;
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.cs-carousel__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.cs-carousel__track::-webkit-scrollbar { display: none; }
.cs-carousel__track > * {
  flex: 0 0 calc(100% - 80px);
  scroll-snap-align: center;
}
@media (max-width: 880px) {
  .cs-carousel__track > * { flex: 0 0 calc(100% - 24px); }
}

.cs-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
  min-height: 460px;
}
.cs-case__photo {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.cs-case__photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.78);
  transition: transform 800ms var(--ease);
}
.cs-case:hover .cs-case__photo > img { transform: scale(1.04); }
.cs-case__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(23,55,229,0.55) 0%, rgba(14,14,14,0.7) 100%);
  pointer-events: none;
}
.cs-case__kicker {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 2;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(252,251,248,0.12);
  border: 1px solid rgba(252,251,248,0.32);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cs-case__body {
  padding: clamp(24px, 2.6vw, 40px);
  display: grid;
  gap: 18px;
  align-content: start;
}
.cs-case__body h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cs-case__body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.cs-case__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.cs-case__stats > div {
  display: grid;
  gap: 6px;
}
.cs-case__stat-num {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  font-feature-settings: "tnum";
}
.cs-case__stat-num sup {
  font-size: 0.46em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 2px;
  color: var(--muted);
  font-family: 'Geist Mono', monospace;
}
.cs-case__stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.cs-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 4;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
.cs-carousel__nav:hover { background: var(--ink); color: var(--paper); transform: translateY(-50%) scale(1.04); }
.cs-carousel__nav--prev { left: 12px; }
.cs-carousel__nav--next { right: 12px; }
.cs-carousel__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.cs-carousel__dot {
  width: 28px; height: 4px;
  border: 0;
  border-radius: 4px;
  background: var(--rule);
  padding: 0;
  cursor: pointer;
  transition: background 200ms var(--ease), width 200ms var(--ease);
}
.cs-carousel__dot.is-active {
  background: var(--accent);
  width: 44px;
}
@media (max-width: 880px) {
  .cs-case { grid-template-columns: 1fr; min-height: 0; }
  .cs-case__photo { min-height: 220px; }
  .cs-carousel__nav { display: none; }
}

/* =========================================================
   QOD news — newspaper masthead (NYT-style)
   ========================================================= */
:root {
  --qn-red: #B41A1A;
  --qn-red-deep: #7B0F0F;
  --qn-serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
}

.qn-mast {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

/* --- top edge --- */
.qn-mast__edge {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.qn-mast__edge-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px var(--pad);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.qn-mast__edge-sep { color: var(--rule-strong); opacity: 0.4; }
.qn-mast__edge-spacer { flex: 1; }

/* --- masthead title --- */
.qn-mast__title {
  text-align: center;
  padding: clamp(28px, 4vw, 56px) var(--pad) clamp(16px, 2vw, 28px);
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.qn-mast__article {
  font-family: var(--qn-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.qn-mast__name {
  font-family: var(--qn-serif);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.qn-mast__tagline {
  font-family: 'Geist Mono', monospace;
  font-size: clamp(10.5px, 1vw, 12.5px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  width: min(640px, 90%);
}

/* --- section nav --- */
.qn-mast__nav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.qn-mast__nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 40px);
  padding: 12px var(--pad);
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.qn-mast__nav a {
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 180ms var(--ease);
}
.qn-mast__nav a:hover { color: var(--qn-red); }
.qn-mast__nav a.is-active {
  color: var(--qn-red);
}
.qn-mast__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -13px;
  height: 2px;
  background: var(--qn-red);
}

/* --- breaking red marquee --- */
.qn-mast__breaking {
  background: var(--qn-red);
  border: 0;
  border-bottom: 1px solid var(--qn-red-deep);
  color: var(--paper);
  overflow: hidden;
}
.qn-mast__breaking-track {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 0;
  gap: 22px;
  animation-duration: 70s;
  color: var(--paper);
}
.qn-mast__breaking-sep {
  color: rgba(252,251,248,0.55);
  font-size: 9px;
  display: inline-flex;
  align-items: center;
}

/* --- stats strip --- */
.qn-mast__stats {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(252,251,248,0.10);
}
.qn-mast__stats-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 36px);
  padding: clamp(22px, 3vw, 36px) var(--pad);
}
.qn-mast__stat {
  display: grid;
  gap: 6px;
  border-left: 1px solid rgba(252,251,248,0.14);
  padding-left: clamp(14px, 1.6vw, 22px);
}
.qn-mast__stat:first-child { border-left: 0; padding-left: 0; }
.qn-mast__stat-num {
  font-family: var(--qn-serif);
  font-weight: 900;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--paper);
  font-feature-settings: "tnum";
}
.qn-mast__stat-num sup {
  font-family: 'Geist Mono', monospace;
  font-size: 0.34em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 4px;
  color: rgba(252,251,248,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.qn-mast__stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252,251,248,0.58);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .qn-mast__stats-inner { grid-template-columns: repeat(3, 1fr); }
  .qn-mast__stat:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .qn-mast__nav-inner { gap: 16px; }
}
@media (max-width: 620px) {
  .qn-mast__edge-inner { flex-wrap: wrap; }
  .qn-mast__edge-spacer { display: none; }
  .qn-mast__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .qn-mast__stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .qn-mast__tagline { width: 100%; }
}

/* =========================================================
   QOD news — newspaper-style listing (overrides blog-*)
   ========================================================= */

/* listing wrapper top spacing — a beat between masthead and lead */
.blog-list { padding-top: clamp(28px, 4vw, 56px); }

/* --- LEAD STORY ----------------------------------------------------------- */
.blog-lead {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding-top: clamp(40px, 5vw, 72px);
  border-bottom: 3px double var(--ink);
  padding-bottom: clamp(36px, 4vw, 56px);
}
.blog-lead::before {
  content: "Today's lead";
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qn-red);
}
.blog-lead::after {
  background: var(--qn-red);
  opacity: 0.4;
  top: calc(clamp(8px, 1.4vw, 18px) + 6px);
  width: 92px;
  left: 124px;
}
.blog-lead__cover {
  border-radius: 0;
  border: 0;
  filter: grayscale(0.15);
  margin-top: 38px;
}
.blog-lead__cover img { filter: saturate(0.7) contrast(1.06); }
.blog-lead__body { padding-top: 38px; gap: 16px; }
.blog-lead__meta {
  color: var(--ink);
  font-size: 11.5px;
  letter-spacing: 0.16em;
}
.blog-lead__meta::before { background: var(--ink); }
.blog-lead__title {
  font-family: var(--qn-serif);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 16ch;
}
.blog-lead__dek {
  font-family: var(--qn-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 46ch;
}
.blog-lead__more {
  color: var(--ink);
  border-bottom-color: var(--qn-red);
  border-bottom-width: 2px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
}
.blog-lead:hover .blog-lead__more { color: var(--qn-red); }

/* --- ARCHIVE HEADER ------------------------------------------------------- */
.blog-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: clamp(32px, 4vw, 56px) 0 clamp(20px, 2.5vw, 32px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.blog-section-head h2 {
  margin: 0;
  font-family: var(--qn-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.012em;
  line-height: 1.05;
  color: var(--ink);
}
.blog-section-head__meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- ARCHIVE GRID — newspaper columns ------------------------------------- */
.blog-list-grid {
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.blog-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2vw, 28px) clamp(26px, 3vw, 36px);
}
.blog-card:hover {
  transform: none;
  background: var(--paper-2);
  border-color: var(--rule);
}
.blog-card:nth-child(3n) { border-right: 0; }
.blog-card__cover {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-radius: 0;
  filter: grayscale(0.2);
  margin-bottom: 14px;
}
.blog-card__cover img {
  filter: saturate(0.65) contrast(1.06);
}
.blog-card__body { padding: 0; gap: 10px; }
.blog-card__meta {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  gap: 10px;
}
.blog-card__meta::before {
  background: var(--qn-red);
  width: 18px;
}
.blog-card__title {
  font-family: var(--qn-serif);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.14;
  color: var(--ink);
}
.blog-card__subtitle {
  font-family: var(--qn-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}
.blog-card__tags {
  display: none;
}
.blog-card__more {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--qn-red);
  margin-top: 2px;
}
.blog-card:hover .blog-card__more { color: var(--qn-red); }

@media (max-width: 980px) {
  .blog-list-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .blog-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 640px) {
  .blog-list-grid { grid-template-columns: 1fr; }
  .blog-card { border-right: 0; }
}

/* Detail page meta line — pick up newspaper hues */
.blog-byline { color: var(--ink); }

/* Section section header — kill .sp-hero__kicker default if any */
.blog-empty .sp-hero__kicker { display: none; }

/* =========================================================
   QOD news — article detail page (newspaper edition)
   ========================================================= */

/* Slimmer column for the column-set look */
.blog-post { max-width: 780px; gap: clamp(20px, 2.4vw, 30px); }

/* Top section label above the headline */
.blog-post__head {
  position: relative;
  padding-top: 32px;
  gap: 12px;
  text-align: left;
}
.blog-post__head::before {
  content: "QOD news · feature";
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--qn-red);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 6px;
}

.blog-post__title {
  font-family: var(--qn-serif);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.blog-post__subtitle {
  font-family: var(--qn-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 56ch;
}

/* Byline — newspaper attribution */
.blog-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.blog-byline__author { display: inline-flex; align-items: center; gap: 10px; }
.blog-byline__meta { color: var(--muted); }
.blog-byline__sep { color: var(--rule-strong); opacity: 0.35; }

/* Cover image — flat, slightly desaturated */
.blog-post__cover {
  border-radius: 0;
  border: 0;
  background: var(--paper-2);
  filter: grayscale(0.2);
}
.blog-post__cover img { filter: saturate(0.7) contrast(1.05); }

/* Body type — serif column */
.blog-post__body {
  font-family: 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 64ch;
}
/* Drop cap on first paragraph */
.blog-post__body > p:first-of-type::first-letter {
  font-family: var(--qn-serif);
  font-weight: 900;
  float: left;
  font-size: 5.4em;
  line-height: 0.88;
  margin: 6px 12px 0 0;
  color: var(--ink);
}
.blog-post__body h2 {
  font-family: var(--qn-serif);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin-top: 1.6em;
  padding-top: 0.6em;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.blog-post__body h3 {
  font-family: var(--qn-serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(22px, 2.1vw, 26px);
  letter-spacing: -0.008em;
  color: var(--ink);
  margin-top: 1.4em;
}
.blog-post__body h4 {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qn-red);
  margin-top: 1.6em;
}
.blog-post__body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--qn-red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.blog-post__body a:hover { text-decoration-color: var(--qn-red); color: var(--qn-red); }
.blog-post__body strong, .blog-post__body b { color: var(--ink); font-weight: 700; }

.blog-post__body blockquote {
  border-left: 3px solid var(--qn-red);
  padding: 4px 0 4px 20px;
  margin: 1.4em 0;
  font-family: var(--qn-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 23px);
  line-height: 1.4;
  color: var(--ink);
}
.blog-post__body figcaption {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 8px;
  margin-top: 8px;
}
.blog-post__body hr {
  border: 0;
  border-top: 3px double var(--ink);
  margin: 1.8em auto;
  width: 56px;
}
.blog-post__body code {
  font-family: 'Geist Mono', monospace;
  font-size: 0.86em;
}

/* At-a-Glance TLDR — sidebar style */
.tldr {
  background: var(--paper-2);
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 22px 24px 26px;
}
.tldr__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--qn-red);
  display: block;
  margin-bottom: 14px;
}
.tldr__list { font-family: 'Source Serif Pro', Georgia, serif; font-size: 16px; line-height: 1.5; color: var(--ink); }
.tldr__list li {
  padding: 8px 0 8px 18px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.tldr__list li:last-child { border-bottom: 0; }
.tldr__list li::before {
  content: "●";
  position: absolute; left: 0; top: 8px;
  font-size: 8px;
  color: var(--qn-red);
}

/* Tags footer */
.blog-post__foot {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}
.blog-post__foot-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qn-red);
}
.blog-post__tags li {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--qn-red);
  color: var(--ink);
  padding: 2px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
}

/* Pager */
.blog-pager {
  border-top: 3px double var(--ink);
  padding-top: 22px;
  margin-top: 28px;
}
.blog-pager__cell {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule);
  border-radius: 0;
  padding: 12px 18px;
  transition: background 200ms var(--ease);
}
.blog-pager__cell:hover {
  background: var(--paper-2);
  transform: none;
  border-color: var(--rule);
}
.blog-pager__cell--next { border-right: 0; }
.blog-pager__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qn-red);
}
.blog-pager__title {
  font-family: var(--qn-serif);
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 6px;
}

/* Related grid */
.blog-related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.blog-related__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.blog-related__head h2 {
  margin: 0;
  font-family: var(--qn-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--ink);
}
.blog-related__head a {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qn-red);
  border-bottom: 1.5px solid var(--qn-red);
}

/* Reading progress bar — red */
.read-progress { background: var(--qn-red); }

/* Author monogram — newspaper byline avatar */
.author-mono {
  font-family: var(--qn-serif);
  font-weight: 900;
  background: var(--ink);
  color: var(--paper);
}

/* =========================================================
   Pricing — 3-tier card grid, voice.qod365-inspired layout
   ========================================================= */
.engagements__lede {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  margin: 14px 0 0;
  max-width: 64ch;
}
.pricing {
  list-style: none;
  margin: clamp(36px, 4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 28px);
  align-items: stretch;
}
@media (max-width: 1080px) {
  .pricing { grid-template-columns: 1fr; }
}
.pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 2.6vw, 40px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.pricing__card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(14, 14, 14, 0.08);
}
.pricing__card--feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 18px 44px rgba(14, 14, 14, 0.18);
}
.pricing__card--feature:hover {
  border-color: var(--ink);
  box-shadow: 0 24px 56px rgba(23, 55, 229, 0.24);
}
.pricing__ribbon {
  position: absolute;
  top: -1px;
  right: 22px;
  transform: translateY(-50%);
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--paper);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.pricing__head h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.pricing__sub {
  margin: 6px 0 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing__card--feature .pricing__sub { color: rgba(252, 251, 248, 0.62); }
.pricing__pitch {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.pricing__card--feature .pricing__pitch { color: rgba(252, 251, 248, 0.78); }
.pricing__price {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pricing__card--feature .pricing__price {
  border-color: rgba(252, 251, 248, 0.12);
}
.pricing__amount {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.pricing__card--feature .pricing__amount { color: var(--paper); }
.pricing__qual {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing__card--feature .pricing__qual { color: rgba(252, 251, 248, 0.62); }
.pricing__rate {
  display: grid;
  gap: 10px;
}
.pricing__rate-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.pricing__card--feature .pricing__rate-label { color: var(--paper); opacity: 0.85; }
.pricing__rate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pricing__rate-list > li {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.pricing__rate-list > li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: 700;
}
.pricing__card--feature .pricing__rate-list > li { color: rgba(252, 251, 248, 0.84); }
.pricing__card--feature .pricing__rate-list > li::before { color: var(--paper); }
.pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}
.pricing__features > li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.pricing__features > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}
.pricing__card--feature .pricing__features > li { color: rgba(252, 251, 248, 0.92); }
.pricing__card--feature .pricing__features > li::before { background: var(--paper); }
.pricing__card .btn {
  margin-top: auto;
}
.pricing__card--feature .btn--solid {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.pricing__card--feature .btn--solid:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}


/* =========================================================
   Systems showcase — live custom Odoo module screenshots
   ========================================================= */
.sys-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  padding-block: clamp(72px, 8vw, 128px);
  position: relative;
  overflow: hidden;
}
.sys-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--rule);
}
.sys-head {
  position: relative;
}
.sys-head::before {
  content: "Inside the systems · 03 modules";
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.sys-carousel {
  position: relative;
  margin-top: clamp(28px, 3.5vw, 48px);
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin-inline: auto;
}
.sys-carousel__track {
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.sys-carousel__track::-webkit-scrollbar { display: none; }
.sys-carousel__track > * {
  flex: 0 0 calc(100% - 88px);
  scroll-snap-align: center;
}
@media (max-width: 880px) {
  .sys-carousel__track > * { flex: 0 0 calc(100% - 16px); }
}

.sys-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  min-height: 540px;
}
.sys-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 980px) {
  .sys-card { grid-template-columns: 1fr; min-height: 0; }
}

/* Browser chrome around screenshot */
.sys-frame {
  position: relative;
  background: linear-gradient(155deg, #1a1f3a 0%, #0E0E0E 60%, #050610 100%);
  padding: 18px 18px 0;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.sys-frame::before {
  /* Soft cobalt glow corner */
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle at center, rgba(23,55,229,0.45) 0%, rgba(23,55,229,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.sys-frame::after {
  /* Bottom scan-line texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}
.sys-frame__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 12px;
}
.sys-frame__dot {
  width: 11px; height: 11px;
  border-radius: 999px;
  background: rgba(252,251,248,0.18);
  display: inline-block;
}
.sys-frame__dot:nth-child(1) { background: #ED6A5E; }
.sys-frame__dot:nth-child(2) { background: #F4BF4F; }
.sys-frame__dot:nth-child(3) { background: #61C554; }
.sys-frame__url {
  margin-left: 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(252,251,248,0.65);
  background: rgba(252,251,248,0.06);
  border: 1px solid rgba(252,251,248,0.10);
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(64ch, 100%);
}
.sys-frame__shot {
  position: relative;
  z-index: 1;
  flex: 1;
  background: var(--paper);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  box-shadow: 0 -2px 0 rgba(252,251,248,0.06) inset,
              0 12px 28px rgba(0,0,0,0.35),
              0 24px 60px rgba(23,55,229,0.18);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.sys-frame__shot > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  transform: translateY(0);
  transition: transform 800ms var(--ease);
}
.sys-card:hover .sys-frame__shot > img {
  transform: translateY(-3%) scale(1.01);
}

.sys-card__body {
  padding: clamp(28px, 3vw, 44px);
  display: grid;
  gap: 18px;
  align-content: start;
  background: var(--paper);
  border-left: 1px solid var(--rule);
}
@media (max-width: 980px) {
  .sys-card__body { border-left: 0; border-top: 1px solid var(--rule); }
}
.sys-card__kicker {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sys-card__body h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
}
.sys-card__body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.sys-card__chips {
  list-style: none;
  padding: 18px 0 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--rule);
}
.sys-card__chips > li {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
}

.sys-carousel__nav {
  position: absolute;
  top: calc(50% - 24px);
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 4;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14,14,14,0.10);
  transition: background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}
.sys-carousel__nav:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-50%) scale(1.05);
}
.sys-carousel__nav--prev { left: calc(var(--pad) - 8px); }
.sys-carousel__nav--next { right: calc(var(--pad) - 8px); }
@media (max-width: 880px) {
  .sys-carousel__nav { display: none; }
}
.sys-carousel__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.sys-carousel__dot {
  width: 28px; height: 4px;
  border: 0;
  border-radius: 4px;
  background: var(--rule);
  padding: 0;
  cursor: pointer;
  transition: background 200ms var(--ease), width 200ms var(--ease);
}
.sys-carousel__dot.is-active {
  background: var(--accent);
  width: 44px;
}

.sys-foot {
  margin-top: clamp(40px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
  padding-block-start: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}
@media (max-width: 880px) {
  .sys-foot { grid-template-columns: 1fr; }
}
.sys-foot__copy {
  margin: 0;
  font-family: var(--qn-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 56ch;
}
.sys-foot__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sys-foot__meta > div { display: grid; gap: 6px; }
.sys-foot__num {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  font-feature-settings: "tnum";
}
.sys-foot__num sup {
  font-size: 0.46em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 2px;
  color: var(--muted);
  font-family: 'Geist Mono', monospace;
}
.sys-foot__lbl {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
