/* Pathova GTM — v2. Warm paper ground, editorial serif display, monospace labels, hairline rules.
   Design handoff: "Pathova Site v2" (2026-09-02). Colors, type and spacing values are the approved spec — do not drift from them without a new brief. */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;1,6..72,300;1,6..72,400&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --paper: #F6F3ED;
  --paper-alt: #F0ECE2;
  --ink: #1A1B18;
  --ink-soft: #3A3B36;
  --muted: #6E6B62;
  --muted-light: #8A877D;
  --indigo: #2B2A63;
  --indigo-hover: #1C1B45;
  --indigo-light: #B3AFE8;
  --dark-bg: #17171C;
  --dark-text: #EDEAE3;
  --dark-rule: #33333A;
  --rule-strong: #DDD7C9;
  --rule-soft: #E4DFD2;
  --rule-faint: #D6D0C0;
  --rule-faint-2: #C9C2B0;
  --rule-faint-3: #BDB6A4;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --col-max: 1180px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-hover); }

:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

.wrap { max-width: var(--col-max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

.rule-top { border-top: 1px solid var(--rule-strong); }
.rule-bottom { border-bottom: 1px solid var(--rule-strong); }

/* — buttons and text links — */
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: background 120ms ease;
}
.btn:hover { background: var(--indigo); color: var(--paper); }

.link {
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-faint-2);
  padding-bottom: 3px;
  transition: color 120ms ease, border-color 120ms ease;
}
.link:hover { color: var(--ink); border-bottom-color: var(--ink); }

.link-mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-faint-2);
  padding-bottom: 3px;
  transition: color 120ms ease, border-color 120ms ease;
}
.link-mono:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* — kickers and labels — */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-mark { width: 26px; height: 1px; background: var(--indigo); flex: none; }
.eyebrow-label,
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* — nav — */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-logo { height: 64px; width: auto; display: block; margin-right: auto; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.nav-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-btn { height: 38px; padding: 0 18px; font-size: 14px; }

/* — hero — */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hero-copy { display: flex; flex-direction: column; gap: 30px; }
.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--indigo);
}
.hero-lede { margin: 0; max-width: 46ch; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-btn { height: 48px; padding: 0 24px; }
.hero-credential { padding-top: 6px; border-top: 1px solid var(--rule-strong); max-width: 46ch; }
.hero-credential p {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* — hero pipeline panel (illustrative) — */
.panel-col { display: flex; flex-direction: column; gap: 12px; }
.panel { background: var(--paper-alt); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule-strong);
}
.panel-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule-faint-2);
  padding: 3px 8px;
}
.panel-body { padding: 6px 20px 4px; }
.ledger { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 20px; }
.ledger-name { display: flex; flex-direction: column; gap: 4px; padding: 15px 0; }
.ledger-company { font-size: 16px; }
.ledger-stage {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ledger-stage.is-current { color: var(--indigo); }
.ledger-value { font-family: var(--font-mono); font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); }
.ledger-rule { grid-column: 1 / -1; height: 1px; background: var(--rule-soft); }

.rail-wrap { display: flex; flex-direction: column; gap: 12px; padding: 26px 2px 22px; }
.rail { position: relative; height: 9px; }
.rail-track { position: absolute; top: 4px; left: 4px; right: 4px; height: 1px; background: var(--rule-faint); }
.rail-progress { position: absolute; top: 4px; left: 4px; width: 52%; height: 1px; background: var(--indigo); }
.rail-dots { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 9px; }
.rail-dots span { width: 7px; height: 7px; border-radius: 50%; justify-self: center; }
.rail-dots span:nth-child(1) { width: 9px; height: 9px; justify-self: start; background: var(--indigo); }
.rail-dots span:nth-child(2) { background: var(--indigo); }
.rail-dots span:nth-child(3) { background: var(--rule-faint-3); }
.rail-dots span:nth-child(4) { background: var(--rule-faint); }
.rail-dots span:nth-child(5) { justify-self: end; background: var(--rule-faint); }
.rail-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.rail-labels span:nth-child(1) { text-align: left; color: var(--ink-soft); }
.rail-labels span:nth-child(2) { text-align: center; color: var(--ink-soft); }
.rail-labels span:nth-child(3) { text-align: center; }
.rail-labels span:nth-child(4) { text-align: center; }
.rail-labels span:nth-child(5) { text-align: right; }

.panel-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--rule-strong);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat.right { align-items: flex-end; }
.stat-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat-value { font-family: var(--font-serif); font-size: 26px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.panel-note { font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: var(--muted-light); }

/* — client logo band — */
.logo-band-row {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}
.logo-band-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-light); white-space: nowrap; }
.logo-band-logos { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.logo-band-logos img { display: block; width: auto; filter: grayscale(1); opacity: 0.75; }

/* — dark statement section — */
.statement { background: var(--dark-bg); color: var(--dark-text); padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.statement-line {
  margin: 0;
  padding: clamp(14px, 2vw, 20px) 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.statement-rule { height: 1px; background: var(--dark-rule); }
.statement-closer {
  margin: clamp(30px, 4vw, 44px) 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 30ch;
  color: var(--indigo-light);
}

/* — section heading — */
.section-h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* — process — */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.process-intro { display: flex; flex-direction: column; gap: 16px; }
.process-intro p { margin: 0; max-width: 34ch; font-size: 16px; color: var(--ink-soft); }
.process-steps { display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 26px 0; }
.process-step:first-child { padding-top: 0; }
.process-step:last-child { padding-bottom: 0; }
.process-rule { height: 1px; background: var(--rule-soft); }
.process-num { font-family: var(--font-mono); font-size: 13px; color: var(--indigo); }
.process-body { display: flex; flex-direction: column; gap: 7px; }
.process-title { font-family: var(--font-serif); font-size: 26px; line-height: 1.22; letter-spacing: -0.012em; }
.process-title.is-close { color: var(--indigo); }
.process-support { margin: 0; max-width: 52ch; font-size: 16px; color: var(--ink-soft); }

/* — who it's for — */
.fit { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.fit-head { margin-bottom: clamp(32px, 4vw, 52px); }
.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 1px; background: var(--rule-soft); }
.fit-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: clamp(24px, 2.6vw, 34px) clamp(22px, 2.4vw, 32px) clamp(30px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fit-mark {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  color: var(--indigo);
  opacity: 0.16;
}
.fit-kicker { position: relative; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo); }
.fit-title { position: relative; max-width: 24ch; font-family: var(--font-serif); font-size: 24px; line-height: 1.25; letter-spacing: -0.012em; }

/* — origin — */
.origin { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px, 5vw, 72px); align-items: start; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.origin-portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.origin-caption { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.origin-copy { display: flex; flex-direction: column; gap: 22px; }
.origin-copy h2 { max-width: 20ch; line-height: 1.1; }
.origin-copy > p { margin: 0; max-width: 44ch; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.origin-list { display: flex; flex-direction: column; padding-top: 8px; }
.origin-row { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; }
.origin-row-rule { height: 1px; background: var(--rule-soft); }
.origin-row-rule.is-strong { background: var(--rule-strong); }
.origin-num { font-family: var(--font-mono); font-size: 12px; color: var(--indigo); }
.origin-line { font-size: 16px; line-height: 1.55; }
.origin-line strong { font-weight: 500; }
.origin-line span { color: var(--ink-soft); }

/* — testimonial — */
.quote-section { background: var(--paper-alt); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.quote-section blockquote {
  margin: 0;
  max-width: 40ch;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.016em;
  color: var(--ink);
}
.quote-attr { display: flex; flex-direction: column; gap: 4px; }
.quote-name { font-size: 15px; font-weight: 500; font-style: normal; }
.quote-org { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); font-style: normal; }

/* — CTA — */
.cta { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); display: flex; flex-direction: column; gap: 26px; }
.cta h2 { font-size: clamp(34px, 5vw, 66px); line-height: 1.0; letter-spacing: -0.025em; max-width: 16ch; }
.cta p { margin: 0; max-width: 42ch; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.cta-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding-top: 4px; }
.cta-btn { height: 50px; padding: 0 26px; }

/* — footer — */
.site-footer .wrap {
  padding-top: 28px;
  padding-bottom: 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* — anchor targets: clear the sticky nav — */
#process, #fit, #origin, #talk { scroll-margin-top: 93px; }

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

@media (max-width: 640px) {
  .nav-inner { gap: 16px; }
  .nav-link { display: none; }
}
