/* ===========================================================================
   Jensen Consulting — site stylesheet
   Navy on cream · one cobalt accent · heavy/light Geist · JetBrains Mono labels
   =========================================================================== */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('fonts/geist-variable.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('fonts/jetbrainsmono-variable.woff2') format('woff2'); }

:root {
  --navy: #0a2540;
  --cobalt: #1d4ed8;
  --cream: #ece6d8;
  --paper: #f5f1e7;
  --ink: #0a0a0a;
  --white: #ffffff;

  --rule: rgba(10,37,64,0.12);
  --rule-strong: rgba(10,37,64,0.28);
  --mute: rgba(10,37,64,0.62);
  --faint: rgba(10,37,64,0.42);

  --cream-70: rgba(236,230,216,0.70);
  --cream-45: rgba(236,230,216,0.45);
  --cream-18: rgba(236,230,216,0.18);

  --positive: #2f6f4f;

  --sans: 'Geist', -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad: 80px;
  --maxw: 1280px;
  --ease: cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--navy); color: var(--cream); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 920px; }

/* ── Type utilities ─────────────────────────────────────── */
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--mute); }
.dot { color: var(--cobalt); }
.muted { color: var(--mute); }

.rule-row { display: flex; align-items: center; gap: 16px; }
.rule-row .ln { flex: 1; height: 1px; background: var(--rule-strong); opacity: 0.5; }
.rule-row a.mono:hover { color: var(--cobalt); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  padding: 12px 18px; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: opacity 180ms var(--ease), background 180ms var(--ease);
  display: inline-flex; align-items: center; gap: 8px; line-height: 1;
}
.btn:hover { opacity: 0.82; }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost-rev { background: transparent; color: var(--cream); border-color: var(--cream-45); }
.btn-ghost-rev:hover { opacity: 1; border-color: var(--cream); }

/* ── Wordmark ───────────────────────────────────────────── */
.wm { line-height: 0.8; display: inline-block; }
.wm .a { font-weight: 800; letter-spacing: -0.045em; display: block; }
.wm .b { font-weight: 200; letter-spacing: -0.045em; display: block; }
.wm.rev .a, .wm.rev .b { color: var(--cream); }

/* ── NAV ────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(236,230,216,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.nav .inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.nav .wm .a, .nav .wm .b { font-size: 17px; }
.navlinks { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.navlinks a { color: var(--navy); opacity: 0.72; transition: opacity 180ms var(--ease); position: relative; padding-bottom: 2px; }
.navlinks a:hover { opacity: 1; }
.navlinks a.active { opacity: 1; }
.navlinks a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 2px; background: var(--cobalt); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 130px 0 120px; }
.hero .kicker { margin-bottom: 36px; }
.hero h1 { margin: 0; font-size: 84px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.hero h1 .light { font-weight: 200; }
.hero p { margin: 36px 0 0; max-width: 580px; font-size: 19px; line-height: 1.55; color: var(--mute); }
.hero .actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

/* compact hero used on interior pages */
.phero { padding: 96px 0 72px; border-bottom: 1px solid var(--rule); }
.phero .kicker { margin-bottom: 28px; }
.phero h1 { margin: 0; font-size: 66px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; max-width: 16ch; }
.phero h1 .light { font-weight: 200; }
.phero .lead { margin: 30px 0 0; max-width: 600px; font-size: 19px; line-height: 1.55; color: var(--mute); }

/* ── Section shell ──────────────────────────────────────── */
section { border-top: 1px solid var(--rule); }
section:first-of-type { border-top: 0; }
.sec-pad { padding: 100px 0; }
.sec-head { margin-bottom: 64px; }
.sec-head h2 { margin: 14px 0 0; font-size: 46px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; max-width: 760px; }
.sec-head p { margin: 20px 0 0; max-width: 600px; font-size: 17px; color: var(--mute); }

/* ── Practice grid ──────────────────────────────────────── */
.practice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.prac { background: var(--cream); padding: 40px 38px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; transition: background 180ms var(--ease); }
.prac:hover { background: var(--paper); }
.prac .ico { width: 26px; height: 26px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.prac h3 { margin: 8px 0 0; font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.prac p { margin: 0; font-size: 14px; color: var(--mute); line-height: 1.55; }
.prac .more { margin-top: auto; font-size: 12px; font-weight: 600; color: var(--cobalt); font-family: var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.practice .prac.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; gap: 32px; padding: 32px 38px; }
.practice .prac.wide .ico { width: 30px; height: 30px; flex: 0 0 auto; }
.practice .prac.wide .wmain { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.practice .prac.wide .wmain h3 { margin: 0; }
.practice .prac.wide .wmain p { max-width: 72ch; }
.practice .prac.wide .more { margin-top: 0; white-space: nowrap; }

/* ── Segments band ──────────────────────────────────────── */
.segs .row { display: flex; align-items: stretch; border: 1px solid var(--rule); }
.segs .seg { flex: 1; padding: 44px 40px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; transition: background 180ms var(--ease); }
.segs .seg:first-child { border-left: 0; }
.segs .seg:hover { background: var(--paper); }
.segs .seg .sn { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cobalt); }
.segs .seg h3 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.segs .seg p { margin: 0; font-size: 14px; color: var(--mute); line-height: 1.5; }
@media (max-width: 980px){ .segs .row { flex-direction: column; } .segs .seg { border-left: 0; border-top: 1px solid var(--rule); } .segs .seg:first-child { border-top: 0; } .practice .prac.wide { flex-direction: column; align-items: flex-start; } }

/* ── Proof / KPI band ───────────────────────────────────── */
.proof { background: var(--navy); color: var(--cream); }
.proof .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.proof .k .v { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; }
.proof .k .u { font-size: 26px; font-weight: 500; opacity: 0.55; }
.proof .k .l { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.62; }
.proof .mono { color: rgba(236,230,216,0.6); }
.proof .rule-row .ln { background: var(--cream); }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band { background: var(--paper); }
.cta-band .inner { padding: 110px 0; display: flex; flex-direction: column; align-items: flex-start; }
.cta-band h2 { margin: 28px 0 0; font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.cta-band h2 .light { font-weight: 200; }
.cta-band .actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────── */
footer.site { background: var(--navy); color: var(--cream); }
footer.site .inner { padding: 80px 0 56px; }
footer.site .top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 56px; border-bottom: 1px solid var(--cream-18); gap: 40px; }
footer.site .wm .a, footer.site .wm .b { font-size: 40px; }
footer.site .cols { display: flex; gap: 80px; }
footer.site .col h4 { margin: 0 0 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; font-weight: 500; }
footer.site .col a { display: block; font-size: 14px; opacity: 0.78; margin-bottom: 11px; transition: opacity 180ms var(--ease); }
footer.site .col a:hover { opacity: 1; }
footer.site .bottom { padding-top: 40px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.5; gap: 20px; }

/* ── Generic helpers ────────────────────────────────────── */
.lead-col { max-width: 760px; }
.lead-col p { font-size: 18px; line-height: 1.62; color: var(--ink); margin: 0 0 22px; }
.lead-col p.big { font-size: 22px; line-height: 1.5; color: var(--navy); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Responsive — tablet ≤ 980px ────────────────────────── */
@media (max-width: 980px) {
  :root { --pad: 40px; }
  .navlinks { display: none; }
  .hero h1 { font-size: 64px; }
  .phero h1 { font-size: 52px; }
  .cta-band h2 { font-size: 54px; }
  .practice { grid-template-columns: repeat(2, 1fr); }
  .proof .grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  footer.site .top { flex-direction: column; }
  footer.site .cols { flex-wrap: wrap; gap: 40px; }
}

/* ── Responsive — mobile ≤ 600px ────────────────────────── */
@media (max-width: 600px) {
  :root { --pad: 20px; }
  .hero { padding: 80px 0 64px; }
  .hero h1 { font-size: 44px; }
  .phero { padding: 64px 0 48px; }
  .phero h1 { font-size: 36px; }
  .phero .lead { font-size: 16px; }
  .cta-band h2 { font-size: 38px; }
  .cta-band .inner { padding: 72px 0; }
  .sec-pad { padding: 64px 0; }
  .sec-head h2 { font-size: 34px; }
  .practice, .proof .grid { grid-template-columns: 1fr; }
  .proof .grid { gap: 24px; }
  footer.site .wm .a, footer.site .wm .b { font-size: 28px; }
  footer.site .cols { flex-direction: column; gap: 28px; }
  footer.site .inner { padding: 56px 0 40px; }
  footer.site .bottom { flex-direction: column; gap: 8px; }
}
