/* ─────────────────────────────────────────────────────────────
   Tim Haines Consulting · timhaines.io v3
   Tokens borrowed from the Electrification Lab design system
   (Electrification Lab/preview/skins/lab/skin.css). Combustion
   spectrum and Rust intentionally omitted.
   ───────────────────────────────────────────────────────────── */
:root {
  /* neutrals */
  --paper: #FBFAF5;
  --cloud: #F4F2EA;
  --mist: #E9E6DB;
  --line: #E4E1D7;
  --line-dark: #2C2A30;
  --ink: #16181A;
  --ink-2: #2A2D30;
  --slate: #55595E;
  --muted: #6A6E73;
  --white: #FFFFFF;
  --paper-on-ink: #D9D6CC;
  --muted-on-ink: #A2A6AB;

  /* spectrum */
  --sky: #1F9BE2;
  --sky-light: #54B6EC;
  --sky-text: #0A6299;
  --sky-tint: #EAF6FD;
  --forest: #34AC62;
  --forest-text: #1A6B3B;
  --forest-tint: #EAF8EE;
  --volt: #FACE2E;
  --volt-deep: #F4BE0C;
  --volt-shadow: #C99400;
  --volt-tint: #FEF8E0;
  --highlight: #FBDF6B;
  --grad-spectrum: linear-gradient(155deg, #54B6EC 0%, #34AC62 52%, #F4BE0C 100%);

  /* type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'Anonymous Pro', ui-monospace, 'SF Mono', Menlo, monospace;

  /* shape */
  --radius: 16px;
  --radius-inner: 12px;
  --radius-btn: 10px;
  --radius-pill: 999px;
  --shadow: 0 6px 24px rgba(22, 24, 26, .07);

  /* layout */
  --wrap: 1120px;
  --measure: 62ch;
  --section-y: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 720px) {
  :root { --section-y: 64px; }
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sky-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
mark { background: var(--highlight); color: var(--ink); padding: 0 5px; border-radius: 3px; }
.u-emph { border-bottom: 3px solid var(--forest); padding-bottom: 1px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }

/* ── Type scale ────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow .num { color: var(--sky-text); font-weight: 700; }
.eyebrow::after { content: ""; flex: 0 1 40px; min-width: 12px; height: 1px; background: var(--line); }
.on-ink .eyebrow { color: var(--paper); }
.on-ink .eyebrow::after { background: var(--line-dark); }
.on-ink .eyebrow .num { color: var(--volt); }
.eyebrow-plain { font-size: 13px; color: var(--muted-on-ink); margin-bottom: 24px; }
.eyebrow-plain::after { display: none; }

h2.h2 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 600; letter-spacing: -.025em; max-width: 20ch; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--slate); max-width: var(--measure); margin-top: 18px; }
.on-ink .lede { color: var(--paper-on-ink); }
.section-head { margin-bottom: 48px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--volt); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--volt-shadow); color: var(--ink); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 0 var(--volt-shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.on-ink .btn-primary, .on-ink .btn-primary:hover { color: var(--ink); }
.on-ink .btn-ghost { color: var(--paper); border-color: var(--paper); }
.on-ink .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-sky { background: var(--sky); color: var(--white); }
.btn-sky:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sky-text); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none !important; box-shadow: none !important; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 245, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
.brand-sub { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--slate); line-height: 1; margin-top: 5px; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { position: relative; display: flex; align-items: center; gap: 22px; padding-bottom: 8px; margin-bottom: -8px; }
.nav-links a {
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0;
  text-decoration: none; color: var(--slate); white-space: nowrap;
  transition: color .15s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
/* Gradient indicator: the track spans first link to last link; the indicator
   is a window onto that gradient, positioned under the active link by main.js. */
.nav-track { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; pointer-events: none; }
.nav-indicator {
  position: absolute; left: 0; top: 0; height: 5px; width: 0; border-radius: 3px; opacity: 0;
  background-image: linear-gradient(90deg, #1F9BE2 0%, #34AC62 50%, #F4BE0C 100%);
  background-repeat: no-repeat;
  transition: transform .35s var(--ease), width .35s var(--ease), background-position .35s var(--ease), opacity .2s var(--ease);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: transparent; border: 0; cursor: pointer; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 1px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 8px 24px 16px; }
.nav-menu a {
  display: block; padding: 12px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav-menu a:last-child { border-bottom: 0; color: var(--sky-text); }
.nav-menu a.is-active { color: var(--sky-text); }
.nav-menu.is-open { display: block; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 12px; }
}

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: var(--section-y) 0; position: relative; }
.on-paper { background: var(--paper); }
.on-cloud { background: var(--cloud); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink a { color: var(--sky-light); }
.on-ink a:hover { color: var(--white); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 5vw, 68px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1.4px);
  background-size: 18px 18px;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(40px, 7.2vw, 88px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 16ch;
  color: var(--paper);
}
.hero h1 .grad { display: block; }
.hero h1 .grad {
  background: var(--grad-spectrum);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cursor {
  display: inline-block; width: .5em; height: .86em; margin-left: .08em; vertical-align: -.06em;
  background: var(--volt); border-radius: 2px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.hero-sub { font-size: clamp(18px, 2.1vw, 22px); color: var(--paper-on-ink); max-width: 56ch; margin: 28px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 36px; }
.hero-proof {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 48px;
}
.hero-proof .proof { display: flex; flex-direction: column; }
.hero-proof { gap: 12px 32px; }
.hero-proof .proof b { font-size: clamp(19px, 1.9vw, 24px); margin-bottom: 0; white-space: nowrap; }
.proof { font-family: var(--font-mono); font-size: 13px; color: var(--muted-on-ink); letter-spacing: .02em; }
.proof b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; color: var(--paper); margin-bottom: 4px; }
.proof b.forest { color: var(--forest); }
.proof b.sky { color: var(--sky-light); }
.proof b.volt { color: var(--volt); }

/* ── Page hero (subpages) ──────────────────────────────────── */
.page-hero { padding: clamp(36px, 5vw, 60px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; max-width: 18ch; color: var(--paper); }
.page-hero h1 .grad { display: inline; background: var(--grad-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .hero-sub { margin-top: 22px; }

/* ── Section-ending CTA row ───────────────────────────────── */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.link-arrow { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.link-arrow::after { content: " →"; color: var(--sky-text); transition: transform .18s var(--ease); display: inline-block; }
.link-arrow:hover { color: var(--sky-text); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-ink .link-arrow, .on-ink-link { color: var(--paper); }
.on-ink .link-arrow::after { color: var(--volt); }
.on-ink .link-arrow:hover { color: var(--volt); }

/* ── Who brings me problems ───────────────────────────────── */
.problems { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .problems { grid-template-columns: 1fr 1fr; gap: 24px; } .problems-3 { grid-template-columns: repeat(3, 1fr); } }
.problems-3 .problem h3 { font-size: 24px; }
.problems-3 .problem p { font-size: 17px; color: var(--ink-2); }
.problem { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.problem .bar { height: 4px; width: 40px; border-radius: 2px; margin-bottom: 18px; }
.problem h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; letter-spacing: -.02em; }
.problem p { color: var(--slate); font-size: 16.5px; }
.fit { display: none; margin-top: 32px; font-size: clamp(18px, 2vw, 21px); color: var(--ink); max-width: var(--measure); font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }

/* ── How I create value (beats) ───────────────────────────── */
.beats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.beats li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--slate); font-size: 16.5px; max-width: var(--measure); }
.beats li b { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.015em; margin-bottom: 6px; line-height: 1.25; }
.logos-stack { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
.logos-stack .logo img { height: 40px; }

/* ── Proof strip ──────────────────────────────────────────── */
.proof-strip { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .proof-strip { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.proof-strip .proof { border-left: 2px solid var(--line-dark); padding-left: 18px; font-size: 14px; }
.proof-strip .proof b { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }

/* ── Services: fit ────────────────────────────────────────── */
.fit-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .fit-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.fit-grid .lede { margin-top: 0; margin-bottom: 18px; }

/* ── Case studies ─────────────────────────────────────────── */
.cs-list { display: grid; gap: 24px; }
.cs { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; scroll-margin-top: 90px; }
@media (min-width: 720px) { .cs { padding: 40px; } }
.cs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.cs-meta .co { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cs h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.025em; margin-bottom: 24px; max-width: 24ch; }
.cs-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cs-grid { grid-template-columns: 1fr 1.3fr 1fr; gap: 32px; } }
.cs-grid .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--sky-text); margin-bottom: 8px; }
.cs-grid > div:nth-child(2) .k { color: var(--forest-text); }
.cs-grid > div:nth-child(3) .k { color: var(--volt-shadow); }
.cs-grid p { color: var(--slate); font-size: 16px; }
.cs-grid > div:nth-child(3) p { color: var(--ink); }
.cs-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.cs-foot .pill { font-family: var(--font-body); font-weight: 600; font-size: 13px; line-height: 1.2; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--cloud); border: 1px solid var(--line); color: var(--ink-2); }
.on-paper .quote-band { margin-top: 0; }

/* ── Cards / grids ─────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.on-cloud .card { box-shadow: none; }
.on-ink .card { background: var(--ink-2); border-color: var(--line-dark); color: var(--paper); box-shadow: none; }
.card .bar { height: 4px; width: 40px; border-radius: 2px; margin-bottom: 18px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 16px; }
.on-ink .card p { color: var(--paper-on-ink); }
.card .num { font-family: var(--font-mono); font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.card .meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.on-ink .card .meta { color: var(--muted-on-ink); }
.card ul { margin: 0; padding-left: 18px; color: var(--slate); font-size: 16px; }
.on-ink .card ul { color: var(--paper-on-ink); }
.card li + li { margin-top: 6px; }
.card .foot { margin-top: auto; padding-top: 20px; }

/* tags */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid;
  line-height: 1.2;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tag-forest { background: var(--forest-tint); border-color: #97DCAC; color: var(--forest-text); }
.tag-sky { background: var(--sky-tint); border-color: #93D2F4; color: var(--sky-text); }
.tag-volt { background: var(--volt-tint); border-color: #FBDF6B; color: var(--volt-shadow); }
.tag-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag-ink::before { background: var(--volt); }

/* ── Quote band ───────────────────────────────────────────── */
.quote-band {
  margin-top: 28px; border-radius: var(--radius); background: var(--ink); color: var(--paper);
  padding: 40px; display: grid; gap: 28px; grid-template-columns: 1fr;
}
@media (min-width: 900px) { .quote-band { grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 48px; } }
.quote-band .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--volt); font-weight: 700; margin-bottom: 14px; }
.quote-band blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.quote-band blockquote em { font-style: normal; background: var(--grad-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-band p { color: var(--paper-on-ink); font-size: 16px; margin-top: 14px; }
.quote-stats { display: grid; gap: 18px; align-content: center; }
.quote-stats .proof { border-left: 2px solid var(--line-dark); padding-left: 16px; }

/* ── How it works (ladder) ─────────────────────────────────── */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.step { position: relative; }
.step .num.sky { color: var(--sky-light); }
.step .num.forest { color: var(--forest); }
.step .num.volt { color: var(--volt); }
.step .meta { color: var(--muted); }
.on-ink .step .meta { color: var(--muted-on-ink); }
.step .deliver { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.step .deliver b { color: var(--ink); font-weight: 600; }
.on-ink .step .deliver { border-top-color: var(--line-dark); color: var(--paper-on-ink); }
.on-ink .step .deliver b { color: var(--paper); }
.step .num.sky { color: var(--sky-text); }
.step .num.forest { color: var(--forest-text); }
.step .num.volt { color: var(--volt-shadow); }
.on-ink .step .num.sky { color: var(--sky-light); }
.on-ink .step .num.forest { color: var(--forest); }
.on-ink .step .num.volt { color: var(--volt); }

/* ── Ways to work ──────────────────────────────────────────── */
.ways .card h3 { font-size: 22px; }
.ways .card .who { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: auto; padding-top: 18px; letter-spacing: .06em; }

/* ── About ─────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 820px) { .about { grid-template-columns: 200px 1fr; gap: 56px; } }
.portrait {
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--grad-spectrum); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 56px; color: var(--white);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-body p { color: var(--slate); max-width: var(--measure); }
.about-body p strong { color: var(--ink); font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 28px; }
.logo { display: inline-flex; align-items: center; height: 44px; text-decoration: none; }
.logo img { height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.logo:hover img { filter: none; opacity: 1; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--slate); }
.about-hobby { margin-top: 24px; color: var(--slate); }
.about-body .cta-row { margin-top: 28px; }

/* ── Contact ───────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact-aside p { color: var(--paper-on-ink); max-width: 44ch; }
.contact-links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-links li { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--muted-on-ink); }
.contact-links a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.contact-links a:hover { border-bottom-color: var(--volt); }

.form { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--paper); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 2px solid transparent; border-radius: var(--radius-btn);
  padding: 12px 14px; width: 100%;
  transition: border-color .15s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); }
.field textarea { min-height: 128px; resize: vertical; }
.field .help { font-size: 13px; color: var(--muted-on-ink); }
.form-row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-foot .fine { font-family: var(--font-mono); font-size: 12px; color: var(--muted-on-ink); }
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-btn); background: #3A2A16; color: var(--highlight); font-size: 14px; }
.form-error.is-visible { display: block; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.success { display: none; }
.success.is-visible { display: block; }
.success .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); font-weight: 700; margin-bottom: 10px; }
.success h3 { font-size: 26px; font-weight: 600; color: var(--paper); margin-bottom: 8px; }
.success p { color: var(--paper-on-ink); }

/* ── Footer ────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.footer a { color: var(--slate); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .links { display: flex; gap: 20px; }

/* ── Reveal ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor { animation: none; }
  .btn, .btn:hover { transition: none; transform: none; }
}

/* ── Process cards (v3.1 punchlist) ───────────────────────── */
.step h3 { font-size: 22px; }
.step p { margin-bottom: 20px; }

/* ── Home v3.1: value grid + experience proof on paper ────── */
.beats-grid { border-top: 0; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .beats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.beats-grid li { border-bottom: 0; padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); max-width: none; }
.proof-strip-paper { margin-top: 28px; }
.proof-strip-paper .proof { border-left-width: 3px; color: var(--muted); }
.proof-strip-paper .proof b { color: var(--ink); }
.proof-strip-paper .proof b.forest, .proof-strip-paper .proof b.sky, .proof-strip-paper .proof b.volt { color: var(--ink); }
.proof-strip-paper .proof:nth-child(1) { border-left-color: var(--volt); }
.proof-strip-paper .proof:nth-child(2) { border-left-color: var(--sky); }
.proof-strip-paper .proof:nth-child(3) { border-left-color: var(--forest); }
@media (min-width: 720px) { .about .proof-strip { gap: 24px; } .about .proof-strip .proof b { font-size: 22px; } }

/* ── v3.1.1: prose blocks, capability list, fit reclaimed ─── */
.block { max-width: 760px; }
.block .h2 { max-width: 22ch; }
.block .lede { margin-top: 22px; color: var(--ink-2); }
.on-cloud .block .lede { color: var(--ink-2); }
.about-body .lede { margin-top: 22px; color: var(--ink-2); }
.limit { margin-top: 18px; max-width: var(--measure); font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: var(--ink); border-left: 3px solid var(--forest); padding-left: 16px; }
.page-hero .hero-sub { max-width: 52ch; }
.caps { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 820px) { .caps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.cap .bar { height: 4px; width: 40px; border-radius: 2px; margin-bottom: 16px; }
.cap h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; letter-spacing: -.02em; }
.cap ul { list-style: none; margin: 0; padding: 0; }
.cap li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.caps-foot { margin-top: 24px; color: var(--slate); max-width: var(--measure); }
.step .sub { color: var(--ink); font-weight: 500; margin-bottom: 12px; font-size: 16.5px; }
.step h3 { max-width: 16ch; }
.ways .card .who { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--slate); font-weight: 500; }
#fit .fit-grid .h2 { max-width: 16ch; }

/* ── v3.2: four leader cards, about meta, hero headline swap ─ */
@media (min-width: 820px) { .problems-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .problems-4 { grid-template-columns: repeat(4, 1fr); } }
.problems-4 .problem h3 { font-size: 21px; }
.problems-4 .problem p { font-size: 16px; color: var(--ink-2); margin-bottom: 16px; }
.problem .eg { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); line-height: 1.5; }
.problem .eg .k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-text); font-weight: 700; margin-bottom: 6px; }
.problem { display: flex; flex-direction: column; }
.about-meta { margin: 24px 0 0; display: grid; gap: 16px; max-width: var(--measure); }
.about-meta dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-text); font-weight: 700; margin-bottom: 4px; }
.about-meta dd { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.step .meta { margin-bottom: 12px; }
.page-hero h1 { margin-top: 0; }
