/* Kenneth Gill Consulting - polish pass (navy / cool gray / white) */
:root {
  --bg: #F4F6F9;
  --bg-elevated: #FFFFFF;
  --ink: #0F1724;
  --ink-2: #3A4556;
  --ink-3: #6B7585;
  --line: #DCE2EA;
  --line-strong: #C5CEDA;
  --navy: #152A47;
  --navy-2: #1E3A5F;
  --navy-mid: #2B4F78;
  --navy-soft: #E8EEF6;
  --navy-ring: #1A3354;
  --amber: #8A5A0A;
  --amber-soft: #FBF3E0;
  --amber-line: #D4A84B;
  --shadow-sm: 0 1px 2px rgba(15, 23, 36, 0.04), 0 1px 3px rgba(15, 23, 36, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 36, 0.07), 0 1px 3px rgba(15, 23, 36, 0.05);
  --shadow-hover: 0 8px 22px rgba(15, 23, 36, 0.09), 0 2px 6px rgba(15, 23, 36, 0.05);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --max: 1080px;
  --radius: 10px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .stats-strip .stat,
  .talk-progression .talk-step {
    opacity: 1 !important;
    transform: none !important;
  }
  .talk-progression .talk-step {
    border-color: var(--navy) !important;
    background: var(--bg-elevated) !important;
  }
  .talk-progression .talk-step .talk-label {
    color: var(--navy) !important;
  }
}

body {
  margin: 0;
  background: var(--bg-elevated);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--navy-mid); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--display);
  text-wrap: balance;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-mid);
  font-weight: 500;
}

.draft {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid var(--amber-line);
  padding: 4px 9px;
  border-radius: 4px;
  margin-top: 12px;
}

/* -- Nav -- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(21, 42, 71, 0.06);
}
header.nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy);
  pointer-events: none;
}
.nav-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: nowrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 650;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo span {
  color: var(--navy-mid);
  font-weight: 550;
  font-variation-settings: "SOFT" 50;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
}
.nav-primary {
  margin-left: auto;
  min-width: 0;
}
.nav-primary ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: nowrap;
}
.nav-cta {
  flex-shrink: 0;
  margin-left: 4px;
}
.nav ul a {
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.nav ul a:hover {
  color: var(--ink);
  background: rgba(21, 42, 71, 0.05);
}
.nav ul a[aria-current="page"] {
  color: var(--navy);
  background: var(--navy-soft);
  font-weight: 600;
}

/* -- Buttons (navy CTAs; amber never used here) -- */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--body);
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn.p {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 42, 71, 0.2);
}
.btn.p:hover {
  background: var(--navy-2);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 42, 71, 0.25);
}
.btn.o {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn.o:hover {
  background: var(--navy-soft);
  color: var(--navy);
}
.btn.sm { padding: 9px 15px; font-size: 13.5px; }
.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--navy-mid);
  outline-offset: 2px;
}

/* -- Layout -- */
main {
  max-width: none;
  margin: 0;
  padding: 0 0 72px;
}
.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.page { display: none; }
.page.active { display: block; }

/* -- Hero -- */
.hero-block {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 28px 0 16px;
  align-items: start;
  max-width: none;
}
.hero-copy {
  position: relative;
  padding-left: 18px;
  border-left: 3px solid var(--navy);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 48px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 8px;
  margin-bottom: 0;
}
.hero h1 em {
  font-style: italic;
  font-weight: 550;
  color: var(--navy-mid);
}
.hero p.lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 14px 0 16px;
  line-height: 1.55;
}
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .cta-row { margin-top: 4px; }
.hero .fine { margin-top: 10px; }
.fine {
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 60ch;
  margin-top: 16px;
  line-height: 1.5;
}

/* Talk progression - Reporting → Diagnosis → Decision */
.talk-progression {
  margin: 12px 0 4px;
  max-width: 52rem;
}
.talk-progression .talk-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 8px;
  font-weight: 500;
}
.talk-steps {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.talk-step {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 0;
  border: none;
  background: var(--bg);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.talk-progression.is-running .talk-step.is-on,
.talk-progression.is-settled .talk-step {
  opacity: 1;
  transform: none;
}
.talk-progression.is-settled .talk-step,
.talk-progression.is-running .talk-step.is-on {
  border-color: var(--navy);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}
.talk-step .talk-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  padding-top: 2px;
  transition: color 0.35s ease;
}
.talk-progression.is-settled .talk-step .talk-label,
.talk-progression.is-running .talk-step.is-on .talk-label {
  color: var(--navy);
}
.talk-step .talk-copy {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.talk-step .talk-copy strong {
  color: var(--ink);
  font-weight: 600;
}

/* Quieter stats strip under hero */
.stats-strip {
  padding: 8px 0 28px;
  border-top: none;
}
.stats-strip .draft { margin-top: 14px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
}
.stat {
  padding: 14px 16px;
  background: var(--bg);
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stats-strip.is-in .stat,
.stats-strip.is-settled .stat {
  opacity: 1;
  transform: none;
}
.stats-strip.is-in .stat:nth-child(1) { transition-delay: 0.05s; }
.stats-strip.is-in .stat:nth-child(2) { transition-delay: 0.12s; }
.stats-strip.is-in .stat:nth-child(3) { transition-delay: 0.19s; }
.stats-strip.is-in .stat:nth-child(4) { transition-delay: 0.26s; }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat span {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
  display: block;
}

/* -- Sections / band rhythm -- */
section.blk {
  padding: 56px 0;
  border-top: none;
}
section.blk .shell > .eyebrow:first-child,
.page-head .eyebrow { display: block; }
section.blk h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  margin: 8px 0 14px;
}
section.blk > .shell > p,
.prose p {
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0 0 16px;
}
.band-white { background: var(--bg-elevated); }
.band-soft {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prose h3 {
  font-size: 21px;
  margin: 28px 0 10px;
  font-weight: 600;
}
.prose ul, .prose ol {
  color: var(--ink-2);
  max-width: 68ch;
  padding-left: 22px;
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-strong);
}
.band-soft .card {
  border-color: var(--line);
}
.card h3 { font-size: 17px; margin: 8px 0 8px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

.offer {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
}
.offer h3 { font-size: 22px; margin: 8px 0 6px; font-weight: 600; }
.offer .band,
.offer-card .band {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 650;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin: 8px 0;
  letter-spacing: -0.02em;
}
.offer .band small,
.offer-card .band small {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 400;
  display: block;
  letter-spacing: 0;
  margin-top: 2px;
}
.offer p { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 0; line-height: 1.55; }
.offer ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

ul.check {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 68ch;
}
ul.check li {
  padding: 6px 0 6px 26px;
  position: relative;
}
ul.check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

.steps {
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 70ch;
}
.steps li {
  counter-increment: s;
  position: relative;
  padding: 16px 0 16px 56px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.55;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.steps li b {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  font-family: var(--display);
}
.faq p {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 70ch;
  margin: 10px 0 0;
}

.page-head {
  padding: 56px 0 20px;
  background: var(--bg-elevated);
}
.page-head h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 650;
  letter-spacing: -0.025em;
  margin: 8px 0 14px;
}
.page-head p {
  color: var(--ink-2);
  max-width: 66ch;
  font-size: 17.5px;
  margin: 0;
  line-height: 1.55;
}

.folder {
  margin: 22px 0 0;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
  /* Hug the tree — do not stretch a white slab across the prose column */
  display: inline-block;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  vertical-align: top;
  overflow-x: auto;
}
.folder-root {
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.folder-root .folder-note {
  font-family: var(--body);
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 400;
}
.folder-row {
  display: grid;
  grid-template-columns: 1.5rem max-content max-content;
  column-gap: 12px;
  row-gap: 0;
  align-items: baseline;
  padding: 3px 0;
  justify-content: start;
}
.folder-row .tree { color: var(--ink-3); user-select: none; }
.folder b { color: var(--ink); font-weight: 500; white-space: nowrap; }
.folder i {
  font-style: normal;
  color: var(--ink-3);
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  max-width: 34rem;
}
@media (max-width: 720px) {
  .folder {
    display: block;
    width: 100%;
  }
  .folder-row {
    grid-template-columns: 1.25rem 1fr;
    column-gap: 10px;
  }
  .folder-row i {
    grid-column: 2;
    max-width: none;
    padding-bottom: 6px;
  }
}

.callout {
  background: var(--navy-soft);
  border-left: 3px solid var(--navy);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 70ch;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* -- Credentials / photo -- */
.cred {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: start;
}
.cred .lead {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 62ch;
  line-height: 1.6;
}

.photo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--navy-soft);
  border: 2px dashed var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-align: center;
  padding: 12px;
  margin: 0 auto;
}
.photo span {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 650;
  line-height: 1;
}
.photo small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.4;
  max-width: 14ch;
}

.photo.has-img {
  padding: 0;
  overflow: hidden;
  background: #8a9099;
  border: 3px solid var(--navy-ring);
  box-shadow: 0 0 0 1px rgba(21, 42, 71, 0.08), var(--shadow-md);
}
.photo.has-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.quals {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  max-width: 72ch;
}
.quals li {
  border-top: 1px solid var(--line);
  padding: 10px 0 2px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}
.quals b {
  display: block;
  font-family: var(--display);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 840px;
}

.page-cta {
  padding: 28px 0 8px;
}

footer.ft {
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding: 36px 0 8px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  background: var(--bg);
}
footer.ft .brand {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
footer.ft .brand span { color: var(--ink-3); font-weight: 500; }
footer.ft .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}
footer.ft .links a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
footer.ft .links a:hover { color: var(--ink); }
footer.ft p { max-width: 80ch; margin: 8px 0; }

@media (max-width: 820px) {
  .two, .contact, .cred, .quals { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .photo, .photo.has-img {
    width: 148px;
    height: 148px;
  }
  .cred { gap: 24px; justify-items: start; }
  .nav-in {
    flex-wrap: wrap;
  }
  .nav-primary {
    width: 100%;
    margin-left: 0;
    order: 3;
  }
  .nav-primary ul {
    width: 100%;
    margin: 6px 0 0;
    gap: 2px;
    font-size: 13.5px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .nav-cta {
    margin-left: auto;
  }
  .hero { padding-top: 36px; }
  .talk-step {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  section.blk { padding: 44px 0; }
  .page-head { padding: 40px 0 16px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .shell { padding: 0 16px; }
  .nav-in { padding: 12px 16px; }
  .hero h1 { font-size: 32px; }
  .hero-copy { padding-left: 14px; }
}

.usecases {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.usecases li {
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.usecases li:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.usecases li b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}
.offer-card .band.sm {
  font-size: 18px;
  margin-top: 14px;
}
.band.sm small { font-size: 12px; }
@media (max-width: 720px) {
  .usecases { grid-template-columns: 1fr; }
}
