/* =================================================
   BZsites — Brutally minimal. Monochromatic.
   Designed to make numbers go up.
   ================================================= */

/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
/* Anchor scroll offset so titles don't get hidden under fixed nav */
section[id], [id="top"] { scroll-margin-top: 80px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; background: none; border: none; outline: none; }

:root {
  /* Color */
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-card: #131313;
  --fg: #fafafa;
  --fg-dim: #a0a0a0;
  --fg-mute: #5a5a5a;
  --line: #1f1f1f;
  --line-strong: #2a2a2a;
  --accent: #fafafa; /* pure white, kept as variable for invertibility */

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Geist', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --pad-x: clamp(1.25rem, 4vw, 5rem);
  --gutter: clamp(1rem, 3vw, 3rem);
  --section-y: clamp(5rem, 12vw, 10rem);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Noise overlay ---------- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Selection ---------- */
::selection { background: var(--fg); color: var(--bg); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--fg-mute); }

/* ---------- Tags & accents ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.tag--pulse::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 0 0 rgba(250,250,250,0.7);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(250,250,250,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(250,250,250,0); }
  100% { box-shadow: 0 0 0 0 rgba(250,250,250,0); }
}

/* Brush underline (mimics the logo's brush stroke) */
.underline-brush {
  position: relative;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .underline-brush { white-space: normal; }
}
.underline-brush::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.15em;
  height: 0.5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 50 2, 100 7 T 198 9' stroke='%23fafafa' stroke-width='3' fill='none' stroke-linecap='round' opacity='0.85'/%3E%3Cpath d='M5 11 Q 80 13, 195 10' stroke='%23fafafa' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='0.5'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(250,250,250,0.15);
}
.btn--primary svg { transition: transform 0.3s var(--ease-out); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--fg);
}
.btn--ghost:hover {
  border-color: var(--fg);
  background: rgba(250,250,250,0.04);
}
.btn--big {
  font-size: 1.1rem;
  padding: 1.2rem 2rem;
}

/* ---------- Section heads ---------- */
.section__head {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 1100px;
}
.section__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 1.5rem;
}
.section__num--light { color: rgba(0,0,0,0.5); }
.section__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.section__title em {
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  font-style: italic;
  font-weight: 300;
}
.section__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--fg-dim);
  max-width: 50ch;
  margin-top: 1.5rem;
  line-height: 1.55;
}

/* =================================================
   NAVIGATION
   ================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: 1rem var(--pad-x);
  background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10,10,10,0.96);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.nav__logo img {
  height: 32px;
  width: auto;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav__logo .logo-dark {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.nav.is-inverted .logo-light { opacity: 0; }
.nav.is-inverted .logo-dark { opacity: 1; }
.nav.is-inverted {
  background: rgba(250,250,250,0.85);
  color: var(--bg);
}
.nav.is-inverted .nav__links a { color: rgba(0,0,0,0.6); }
.nav.is-inverted .nav__links a:hover { color: var(--bg); }
.nav.is-inverted .nav__links a::after { background: var(--bg); }
.nav.is-inverted .nav__cta {
  background: var(--bg);
  color: var(--fg) !important;
}
.nav__logo:hover img { transform: rotate(-2deg) scale(1.03); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.92rem;
  color: var(--fg-dim);
  transition: color 0.2s var(--ease-out);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--fg);
  color: var(--bg) !important;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  background: var(--fg);
  color: var(--bg) !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  z-index: 10002;
  position: relative;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
  pointer-events: none;
}
.nav.is-open .nav__toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav.is-inverted .nav__toggle-bar { background: var(--bg); }
.nav.is-inverted .nav__toggle { border-color: rgba(0,0,0,0.25); }
.nav.is-open.is-inverted .nav__toggle-bar { background: var(--fg); }
.nav.is-open.is-inverted .nav__toggle { border-color: var(--line-strong); }

/* Mobile menu extras hidden on desktop */
.nav__close,
.nav__drawer,
.nav__menu-label,
.nav__menu-foot,
.nav__drawer-cta { display: none; }

@media (max-width: 1100px) {
  .nav__toggle { display: flex; }

  /* Lift entire header above page when menu open */
  .nav.is-open {
    z-index: 10001;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
  }

  .nav__logo {
    position: relative;
    z-index: 10002;
  }

  .nav__panel {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 10000;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s var(--ease-out);
    pointer-events: none;
    visibility: hidden;
  }
  .nav.is-open .nav__panel {
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
    visibility: visible;
  }

  .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: max(1rem, env(safe-area-inset-top));
    right: max(var(--pad-x), env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #141414;
    cursor: pointer;
    z-index: 2;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__close-x {
    font-family: var(--font-display);
    font-variation-settings: 'opsz' 144, 'wght' 300, 'SOFT' 50;
    font-size: 2.25rem;
    line-height: 1;
    color: var(--fg);
    margin-top: -0.12em;
  }

  .nav__drawer {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: 0;
    height: 100%;
    padding:
      calc(4.5rem + env(safe-area-inset-top))
      max(var(--pad-x), env(safe-area-inset-right))
      calc(1.5rem + env(safe-area-inset-bottom))
      max(var(--pad-x), env(safe-area-inset-left));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #0a0a0a;
    box-sizing: border-box;
  }

  .nav__menu-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin: 0 0 1.5rem;
    flex-shrink: 0;
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    flex-shrink: 0;
  }

  .nav__links a:not(.nav__cta) {
    display: block;
    width: 100%;
    font-family: var(--font-display);
    font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 50;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--fg-dim);
    padding: 0.75rem 0;
    border: none;
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__links a:not(.nav__cta):active,
  .nav__links a:not(.nav__cta):hover,
  .nav__links a:not(.nav__cta)[aria-current="page"] {
    color: var(--fg);
  }
  .nav__links a::after { display: none !important; }
  .nav__links .nav__cta { display: none !important; }

  .nav__drawer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 20rem;
    flex-shrink: 0;
  }

  .nav__menu-foot {
    display: block;
    margin-top: auto;
    padding-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--fg-mute);
    line-height: 1.5;
    flex-shrink: 0;
  }

  /* Kill desktop invert styles inside mobile menu */
  .nav.is-open.is-inverted .nav__links a:not(.nav__cta) { color: var(--fg-dim); }
  .nav.is-open.is-inverted .nav__links a:not(.nav__cta):hover { color: var(--fg); }
}

@media (min-width: 1101px) {
  .nav__panel,
  .nav__drawer {
    display: contents;
  }
  .nav__close,
  .nav__menu-label,
  .nav__menu-foot,
  .nav__drawer-cta { display: none !important; }
  .nav__links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .nav__links a:not(.nav__cta) {
    font-family: inherit;
    font-size: 0.92rem;
    font-variation-settings: normal;
    padding: 0;
  }
}

html.nav-open,
body.nav-open {
  overflow: hidden;
  max-width: 100%;
}
body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 45;
  padding: 0.75rem var(--pad-x) calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.92) 30%);
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.35s var(--ease-out);
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta__inner {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: stretch;
}
.sticky-cta .btn { flex: 1; justify-content: center; }
.sticky-cta__mail {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg);
  background: var(--bg-soft);
}
@media (max-width: 900px) {
  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 5rem; }
}

/* Trust strip */
.trust-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.trust-strip span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.trust-strip strong { color: var(--fg-dim); font-weight: 500; }
.hero__sub .trust-strip {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* =================================================
   HERO
   ================================================= */
.hero {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: 7rem var(--pad-x) 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero__meta {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.hero__headline {
  grid-column: 1;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 20;
  font-size: clamp(2.4rem, 8.5vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0;
  max-width: 14ch;
  align-self: center;
}
.hero__headline .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1s var(--ease-out) forwards;
}
.hero__headline .line:nth-child(1) { animation-delay: 0.15s; }
.hero__headline .line:nth-child(2) { animation-delay: 0.30s; }
.hero__headline .line:nth-child(3) { animation-delay: 0.45s; }
.hero__headline .line:nth-child(4) { animation-delay: 0.65s; }

.line--strike {
  position: relative;
  color: var(--fg-mute);
}
.line--strike::after {
  content: '';
  position: absolute;
  left: -1%; right: -1%;
  top: 52%;
  height: 0.08em;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  animation: strike 0.8s var(--ease-out) 1.1s forwards;
}
@keyframes strike {
  to { transform: scaleX(1); }
}
.line--accent em {
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  font-style: italic;
  font-weight: 300;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  max-width: 100%;
  opacity: 0;
  animation: rise 1s var(--ease-out) 0.9s forwards;
}
.hero__sub p {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--fg-dim);
  max-width: 48ch;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (min-width: 769px) {
  .hero__sub {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    max-width: 1200px;
  }
}
@media (max-width: 768px) {
  .hero__sub { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { white-space: normal; }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.hero__scroll-line {
  width: 80px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fg);
  animation: scroll-indicator 2.5s ease-in-out infinite;
}
@keyframes scroll-indicator {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* =================================================
   MARQUEE
   ================================================= */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  overflow: hidden;
  background: var(--bg);
}
.marquee__track {
  display: flex;
  gap: 2rem;
  align-items: center;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 80;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--fg-dim);
}
.marquee__track span:nth-child(even) {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1rem;
  color: var(--fg-mute);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =================================================
   PROBLEM
   ================================================= */
.problem {
  padding: var(--section-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  padding: 3.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease-out);
}
.stat:hover { background: var(--bg-soft); }
.stat__num {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 300, 'SOFT' 20;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  display: flex;
  align-items: baseline;
  gap: 0.05em;
  margin-bottom: 1.5rem;
}
.stat__pct {
  font-size: 0.42em;
  font-variation-settings: 'opsz' 144, 'wght' 300, 'SOFT' 100;
  font-style: italic;
  color: var(--fg-dim);
  letter-spacing: 0;
}
.stat__label {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.45;
  max-width: 28ch;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .stats { grid-template-columns: 1fr; }
}

.problem__kicker {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 50;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  margin-top: 4rem;
  max-width: 38ch;
  color: var(--fg);
}
.problem__kicker .underline-brush {
  display: inline-block;
  margin-top: 0.3em;
}

/* =================================================
   SYSTEM (Pipeline)
   ================================================= */
.system {
  padding: var(--section-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  counter-reset: pipeline;
  position: relative;
}
.pipeline::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 4.5rem;
  height: 1px;
  background: var(--line-strong);
  z-index: 0;
}
.pipeline__step {
  padding: 2rem 1.5rem 2rem 0;
  position: relative;
  z-index: 1;
  border-right: 1px solid var(--line);
}
.pipeline__step:last-child { border-right: none; padding-right: 0; }
.pipeline__step:first-child {  }

.pipeline__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg);
  margin-bottom: 2rem;
  transition: all 0.3s var(--ease-out);
}
.pipeline__step:hover .pipeline__num {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: scale(1.05);
}
.pipeline__step h3 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.pipeline__step p {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  max-width: 28ch;
}
.pipeline__step ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pipeline__step ul li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-mute);
  padding-left: 1rem;
  position: relative;
}
.pipeline__step ul li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--fg);
}

@media (max-width: 1100px) {
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline::before { display: none; }
  .pipeline__step { border-right: none; border-bottom: 1px solid var(--line); padding: 2rem 0; }
}
@media (max-width: 600px) {
  .pipeline { grid-template-columns: 1fr; }
}

/* =================================================
   PACKAGES
   ================================================= */
.packages {
  padding: var(--section-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
a.card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.card:hover { background: var(--bg-soft); }
article.card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s var(--ease-out);
}
.card:hover { background: var(--bg-soft); }
.card--featured {
  background: var(--bg-card);
  position: relative;
  z-index: 1;
}
.card--featured::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border: 1px solid var(--fg);
  pointer-events: none;
  z-index: -1;
}
.card--featured .card__name {
  color: var(--fg);
}
.card__badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: 999px;
}
.card__head { margin-bottom: 2rem; }
.card__tier {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 1.5rem;
}
.card__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.card__for {
  font-size: 0.92rem;
  color: var(--fg-dim);
  line-height: 1.45;
  max-width: 26ch;
}
.card__price {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.card__from {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: block;
  margin-bottom: 0.25rem;
}
.card__amount {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 300, 'SOFT' 30;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline-block;
  margin-right: 0.6rem;
}
.card__then {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-dim);
}
.card__list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.card__list li {
  font-size: 0.92rem;
  color: var(--fg-dim);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.6rem;
  height: 1px;
  background: var(--fg);
}
.card__cta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s var(--ease-out);
  align-self: flex-start;
}
.card__cta:hover { transform: translateX(4px); }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
}

.packages__note {
  margin-top: 3rem;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 50;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.4;
  max-width: 56ch;
  color: var(--fg);
}
.packages__note span {
  display: block;
  color: var(--fg-dim);
  font-size: 0.9em;
  margin-top: 0.3em;
}

/* =================================================
   WHY
   ================================================= */
.why {
  padding: var(--section-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.why__bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.why__lead {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 50;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.why__bio p:not(.why__lead) {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.65;
  max-width: 60ch;
}
.why__bio strong { color: var(--fg); font-weight: 500; }
.why__bio a {
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s var(--ease-out);
}
.why__bio a:hover { border-color: var(--fg); }
.why__close {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 40;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--fg);
}
.why__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0.25rem 0 0.5rem;
  padding: 0;
}
.why__skills li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  background: var(--bg-soft);
}

.why__proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.proof__item {
  background: var(--bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.3s var(--ease-out);
}
.proof__item:hover { background: var(--bg-soft); }
.proof__num {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.proof__label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* =================================================
   CASE STUDY
   ================================================= */
.case {
  padding: var(--section-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.case__card {
  border: 1px solid var(--line-strong);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.case__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg), transparent);
  opacity: 0.4;
}
.case__meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.case__client {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg);
}
.case__sector {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-mute);
}
.case__headline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  max-width: 24ch;
}
.case__headline em {
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  font-style: italic;
  font-weight: 300;
}
.case__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  margin-bottom: 2rem;
}
.case__grid--quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 1000px) {
  .case__grid--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.case__grid > div { display: flex; flex-direction: column; gap: 0.5rem; }
.case__num {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.case__label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.4;
}
.case__quote {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-mute);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}
.case__summary {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.65;
  max-width: 52ch;
  padding-top: 0.25rem;
  margin-bottom: 0;
}
.case__card--feature .case__grid {
  margin-bottom: 1.5rem;
}
.case__scope {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.case__scope-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease-out);
}
.case__scope-toggle::-webkit-details-marker { display: none; }
.case__scope-toggle::marker { content: ''; }
.case__scope-toggle:hover,
.case__scope[open] .case__scope-toggle {
  color: var(--fg);
}
.case__scope-icon {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}
.case__scope[open] .case__scope-icon {
  transform: rotate(180deg);
}
.case__scope-body {
  padding-bottom: 0.5rem;
}
.case__scope-body .case__summary {
  padding-top: 0;
  margin-bottom: 1.25rem;
  max-width: none;
}
.case__deliverables {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
}
.case__deliverables li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-mute);
  line-height: 1.3;
}
.case__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.case__card--feature .case__headline {
  max-width: none;
}
a.case__client {
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
a.case__client:hover {
  border-color: var(--fg);
  background: rgba(250, 250, 250, 0.06);
}
.case__visit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.case__visit svg {
  transition: transform 0.25s var(--ease-out);
}
.case__visit:hover svg {
  transform: translate(2px, -2px);
}

/* Portfolio preview (browser chrome + screenshot) */
.portfolio-preview {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(250, 250, 250, 0.04) inset;
}
.portfolio-preview__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #0d0d0d;
  border-bottom: 1px solid var(--line);
  min-height: 2.5rem;
}
.portfolio-preview__dots {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.portfolio-preview__dots i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--line-strong);
}
.portfolio-preview__dots i:nth-child(1) { background: #3d3d3d; }
.portfolio-preview__dots i:nth-child(2) { background: #2e2e2e; }
.portfolio-preview__dots i:nth-child(3) { background: #242424; }
.portfolio-preview__url {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portfolio-preview__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.portfolio-preview__badge::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 6px rgba(110, 231, 160, 0.5);
}
.portfolio-preview__screen {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}
.portfolio-preview__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease-out);
}
.portfolio-preview__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.portfolio-preview__cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  color: var(--fg);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
}
.portfolio-preview__screen:hover img {
  transform: scale(1.02);
}
.portfolio-preview__screen:hover .portfolio-preview__overlay,
.portfolio-preview__screen:focus-visible .portfolio-preview__overlay {
  opacity: 1;
}
.portfolio-preview__screen:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: -2px;
}

@media (max-width: 900px) {
  .case__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 700px) {
  .case__grid:not(.case__grid--quad) { grid-template-columns: 1fr; gap: 1.5rem; }
  .case__grid--quad { grid-template-columns: 1fr; }
}

/* =================================================
   CTA (inverted section)
   ================================================= */
.cta {
  background: var(--fg);
  color: var(--bg);
  padding: var(--section-y) var(--pad-x);
}
.cta__inner {
  max-width: 800px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1.5rem 0 1.5rem;
  color: var(--bg);
}
.cta__title em {
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  font-style: italic;
  font-weight: 300;
  color: rgba(0,0,0,0.6);
}
.cta__sub {
  font-size: 1.1rem;
  color: rgba(0,0,0,0.65);
  max-width: 56ch;
  margin-bottom: 3rem;
  line-height: 1.55;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}
.cta__form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cta__form label span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}
.cta__form input,
.cta__form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 0.85rem 0;
  font-size: 1.05rem;
  color: var(--bg);
  transition: border-color 0.25s var(--ease-out);
  border-radius: 0;
}
.cta__form input::placeholder,
.cta__form textarea::placeholder { color: rgba(0,0,0,0.35); }
.cta__form input:focus,
.cta__form textarea:focus { border-color: var(--bg); }
.cta__form textarea { resize: vertical; min-height: 100px; font-family: var(--font-sans); }
.form__full { grid-column: 1 / -1; }
.cta__form .btn--primary {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--bg);
  align-self: flex-start;
  margin-top: 1rem;
}
.cta__form .btn--primary:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.cta__form .btn--primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.form__error {
  font-size: 0.9rem;
  color: #8b1a1a;
  line-height: 1.5;
  margin: 0;
}
.form__error[hidden] {
  display: none;
}

.cta__alt {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.15);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(0,0,0,0.6);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cta__alt a {
  color: var(--bg);
  border-bottom: 1px solid var(--bg);
  transition: opacity 0.2s var(--ease-out);
}
.cta__alt a:hover { opacity: 0.7; }

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
}

/* =================================================
   FOOTER
   ================================================= */
.footer {
  padding: 4rem var(--pad-x) 2rem;
  background: var(--bg);
}
.footer__top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.footer__logo {
  height: 36px;
  width: auto;
}
.footer__tagline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 80;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--fg-dim);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.footer__grid h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer__grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__grid a, .footer__grid span {
  font-size: 0.95rem;
  color: var(--fg-dim);
  transition: color 0.2s var(--ease-out);
}
.footer__grid a:hover { color: var(--fg); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-mute);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* =================================================
   HERO SIGNAL PANEL
   ================================================= */
.hero__signal {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  width: 300px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  padding: 1.5rem 1.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-dim);
  opacity: 0;
  animation: rise 1.1s var(--ease-out) 1.2s forwards;
  position: relative;
}
.hero__signal::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--fg);
}
.hero__signal::after {
  content: '╲';
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-mute);
  opacity: 0.5;
}
.signal__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.5rem;
  font-size: 0.65rem;
  color: var(--fg);
  text-transform: uppercase;
}
.signal__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg);
  animation: pulse 2s var(--ease-out) infinite;
}
.signal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.signal__list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.signal__list li > span:first-child { color: var(--fg-dim); }
.signal__list li > span:last-child {
  color: var(--fg);
  text-align: right;
  font-feature-settings: 'tnum';
}
.signal__bar {
  height: 4px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.signal__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--fg);
  animation: fillBar 1.8s var(--ease-out) forwards;
  animation-delay: 1.6s;
}
.signal__list li:nth-child(1) .signal__bar::before { animation-delay: 1.6s; }
.signal__list li:nth-child(2) .signal__bar::before { animation-delay: 1.75s; }
.signal__list li:nth-child(3) .signal__bar::before { animation-delay: 1.9s; }
.signal__list li:nth-child(4) .signal__bar::before { animation-delay: 2.05s; }
.signal__list li:nth-child(5) .signal__bar::before { animation-delay: 2.2s; }
@keyframes fillBar {
  to { width: var(--w); }
}
.signal__foot {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.signal__foot::after {
  content: '◐';
  color: var(--fg);
  opacity: 0.6;
  animation: spin 6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 1101px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
}
@media (max-width: 1100px) {
  .hero__signal { display: none; }
}

/* =================================================
   REVEAL (scroll-triggered, progressive enhancement)
   ================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================
   SERVICE PAGE COMPONENTS
   ================================================= */

/* Service hero — slimmer than home hero, asymmetric grid */
.service-hero {
  padding: 9rem var(--pad-x) 5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  max-width: 1400px;
}
.service-hero__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-hero__breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.service-hero__breadcrumb a {
  color: var(--fg-dim);
  transition: color 0.2s var(--ease-out);
}
.service-hero__breadcrumb a:hover { color: var(--fg); }
.service-hero__breadcrumb .sep {
  color: var(--fg-mute);
  opacity: 0.6;
}
.service-hero__breadcrumb .current { color: var(--fg); }

.stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  align-self: flex-start;
}
.stage-tag__num {
  color: var(--fg-mute);
}
.stage-tag__bullet {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fg);
}

.service-hero__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 20;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 0;
  max-width: 18ch;
}
.service-hero__title em {
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 100;
  font-style: italic;
  font-weight: 300;
}
.service-hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--fg-dim);
  max-width: 52ch;
  line-height: 1.55;
  margin-top: 1rem;
}
.service-hero__price {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.service-hero__price-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.service-hero__price-amount {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 20;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.service-hero__price-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-dim);
}

.service-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Side panel — adapted signal panel for service pages */
.service-hero__panel {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  padding: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  position: relative;
}
.service-hero__panel::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--fg);
}
.panel__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.panel__head .signal__dot { width: 6px; height: 6px; }
.panel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.panel__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
}
.panel__list li > span:first-child {
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}
.panel__list li > span:last-child {
  color: var(--fg-dim);
  text-align: right;
}
.panel__foot {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .service-hero__inner { grid-template-columns: 1fr; }
}

/* Service section blocks */
.service-section {
  padding: var(--section-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.service-section--tight {
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
}

.service-prose {
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-dim);
}
.service-prose p + p { margin-top: 1.25rem; }
.service-prose strong {
  color: var(--fg);
  font-weight: 500;
}
.service-prose em {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 100;
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
  font-size: 1.15em;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}
.process__step {
  background: var(--bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.3s var(--ease-out);
}
.process__step:hover { background: var(--bg-soft); }
.process__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
}
.process__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 20;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.process__body {
  font-size: 0.92rem;
  color: var(--fg-dim);
  line-height: 1.5;
}
.process__time {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  max-width: 900px;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}
.faq__q:hover { color: var(--fg-dim); }
.faq__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  margin-top: 0.4rem;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--fg);
  transition: transform 0.3s var(--ease-out);
}
.faq__icon::before {
  width: 100%; height: 1px;
}
.faq__icon::after {
  width: 1px; height: 100%;
}
.faq__item[open] .faq__icon::after { transform: rotate(90deg); }
.faq__a {
  padding: 0 0 2rem;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg-dim);
}

/* Where this fits — mini pipeline visualizer */
.fits {
  padding: var(--section-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.fits__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  max-width: 32ch;
}
.fits__title em {
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  font-style: italic;
  font-weight: 300;
}
.fits__sub {
  color: var(--fg-dim);
  margin-bottom: 3rem;
  max-width: 56ch;
  font-size: 1rem;
}
.mini-pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.mini-pipeline__step {
  padding: 1.75rem 1.25rem;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.3s var(--ease-out);
}
.mini-pipeline__step:last-child { border-right: none; }
.mini-pipeline__step a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}
.mini-pipeline__step:hover { background: var(--bg-soft); }
.mini-pipeline__step.is-current {
  background: var(--fg);
  color: var(--bg);
}
.mini-pipeline__step.is-current .mini-pipeline__num { color: rgba(0,0,0,0.5); }
.mini-pipeline__step.is-current .mini-pipeline__name { color: var(--bg); }
.mini-pipeline__step.is-current .mini-pipeline__body { color: rgba(0,0,0,0.65); }
.mini-pipeline__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
}
.mini-pipeline__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 20;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.mini-pipeline__body {
  font-size: 0.78rem;
  color: var(--fg-dim);
  line-height: 1.4;
}
@media (max-width: 1000px) {
  .mini-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-pipeline__step:nth-child(n) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 600px) {
  .mini-pipeline { grid-template-columns: 1fr; }
}

/* Hub page — services grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hub-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s var(--ease-out);
  position: relative;
  min-height: 320px;
}
.hub-card:hover { background: var(--bg-soft); }
.hub-card:hover .hub-card__arrow { transform: translate(4px, -4px); }
.hub-card__stage {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.hub-card__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 20;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0.5rem 0;
}
.hub-card__desc {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.5;
  margin-bottom: auto;
}
.hub-card__from {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-top: 1rem;
}
.hub-card__from strong {
  color: var(--fg);
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 20;
  font-size: 1.4em;
  font-weight: 400;
}
.hub-card__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  transition: transform 0.3s var(--ease-out);
  color: var(--fg);
}
@media (max-width: 1000px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hub-grid { grid-template-columns: 1fr; }
}

/* Deliverable list — alternative to bullets */
.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
.deliverable {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.deliverable:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.deliverable__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  padding-top: 0.15rem;
}
.deliverable__body h4 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 20;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  color: var(--fg);
}
.deliverable__body p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fg-dim);
}
@media (max-width: 700px) {
  .deliverables { grid-template-columns: 1fr; }
  .deliverable:nth-child(even) { padding-left: 0; border-left: none; }
}

/* Mini-CTA strip — between sections */
.cta-strip {
  padding: 3rem var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip__text {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 50;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 50ch;
}
.cta-strip__text em {
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  font-style: italic;
}

/* =================================================
   ADD-ON BANNER (service pages)
   ================================================= */
.addon-banner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem calc(var(--pad-x) + 1.25rem);
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--fg-dim);
}
.addon-banner strong { color: var(--fg); font-weight: 500; }
.addon-banner a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }

/* =================================================
   INSIGHTS / BLOG
   ================================================= */
.insights {
  padding: var(--section-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
/* Thank-you page (post form submit) */
.thank-you-page .sticky-cta { display: none !important; }
.thank-you {
  padding: 9rem var(--pad-x) 4rem;
  border-bottom: 1px solid var(--line);
}
.thank-you__inner {
  max-width: 52rem;
}
.thank-you__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 20;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.25rem;
}
.thank-you__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 48ch;
  margin-bottom: 1rem;
}
.thank-you__lead strong { color: var(--fg); font-weight: 500; }
.thank-you__sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.thank-you__sub strong { color: var(--fg); font-weight: 500; }
.thank-you__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.thank-you__note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
}
.thank-you__note a {
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line-strong);
}
.thank-you__note a:hover { color: var(--fg); }
.insights--thank-you {
  padding-top: var(--section-y);
}

.insights--hub {
  padding: 0 0 var(--section-y);
}
.insights--hub .section__head {
  padding: 3rem var(--pad-x) 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 1100px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.blog-grid--index {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  gap: 0;
  background: var(--bg);
  border: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.blog-grid--index .blog-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 100%;
}
.blog-grid--index .blog-card:nth-child(2n) {
  border-right: none;
}
@media (min-width: 769px) {
  .blog-grid--index .blog-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
}
@media (max-width: 768px) {
  .blog-grid,
  .blog-grid--index {
    grid-template-columns: 1fr;
  }
  .blog-grid--index .blog-card {
    border-right: none;
  }
  .blog-grid--index .blog-card:last-child {
    border-bottom: none;
  }
}

.blog-card {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.3s var(--ease-out);
}
.blog-card:hover { background: var(--bg-soft); }

/* Keep cards opaque during scroll reveal — no gray grid bleeding through */
.js .blog-grid .blog-card.reveal {
  opacity: 1;
  transform: translateY(24px);
}
.js .blog-grid .blog-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.blog-card :is(h2, h3) {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.blog-card :is(h2, h3) a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out);
}
.blog-card :is(h2, h3) a:hover { border-color: var(--fg-dim); }
.blog-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fg-dim);
  flex: 1;
}
.blog-card__link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.insights__more {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.insights__more a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }

/* Blog article pages */
.blog-page { padding-top: 7rem; }
.blog-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem var(--pad-x);
  color: var(--fg-mute);
  border-bottom: 1px solid var(--line);
}
.blog-breadcrumb a {
  color: var(--fg-dim);
  transition: color 0.2s var(--ease-out);
}
.blog-breadcrumb a:hover { color: var(--fg); }

.blog-article {
  padding: 0 var(--pad-x) var(--section-y);
}
.blog-article__header,
.blog-prose,
.blog-cta-box {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.blog-article__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 1.5rem;
}
.blog-article__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 20;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.blog-article__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--fg-dim);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

/* Article body — matches .service-prose */
.blog-prose {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-dim);
}
.blog-prose p + p { margin-top: 1.25rem; }
.blog-prose h2 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 2.5rem 0 1rem;
}
.blog-prose h3 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 40;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 1.75rem 0 0.75rem;
}
.blog-prose p,
.blog-prose li {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.blog-prose strong {
  color: var(--fg);
  font-weight: 500;
}
.blog-prose em {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 100;
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
}
.blog-prose a {
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s var(--ease-out);
}
.blog-prose a:hover { border-color: var(--fg); }
.blog-prose ul,
.blog-prose ol {
  margin: 0 0 1.25rem 0;
  padding-left: 1.25rem;
}
.blog-prose li {
  margin-bottom: 0.5rem;
}
.blog-prose li:last-child { margin-bottom: 0; }
.blog-prose pre,
.blog-prose code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  max-width: 100%;
  overflow-x: auto;
}
.blog-prose code {
  padding: 0.15em 0.4em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.blog-cta-box {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
}
.blog-cta-box p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--fg-dim);
  margin-bottom: 1.25rem;
}
.blog-cta-box strong { color: var(--fg); font-weight: 500; }
.blog-article__header {
  padding-top: 2rem;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .nav__panel { transition: none !important; clip-path: none !important; }
}
