:root {
  --base: #143f37;
  --base-deep: #0b2a25;
  --base-soft: #dce9e4;
  --accent: #ff5a3d;
  --accent-dark: #d33119;
  --ink: #14201d;
  --muted: #52615d;
  --paper: #f7f8f4;
  --white: #ffffff;
  --line: #cfd9d4;
  --focus: #ffd166;
  --shell: 1240px;
  --reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Mulish", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
  font-size: 18px;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--base-deep);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--focus);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 32px;
  font-size: 64px;
  font-weight: 900;
}

h2 {
  margin-bottom: 28px;
  font-size: 52px;
  font-weight: 850;
}

h3 {
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 800;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 16px;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--base-deep);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(20, 63, 55, 0.12);
  background: rgba(247, 248, 244, 0.96);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--base-deep);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--base);
  background: var(--base);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

/* Fixed-size slot: any logo file scales to fit via object-fit */
.brand-logo {
  --brand-logo-size: 54px;
  display: block;
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand .brand-logo {
  --brand-logo-size: 46px;
}

.brand-mark span {
  position: relative;
}

.brand-mark span::after {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  content: "";
}

.brand-name {
  white-space: nowrap;
}

.brand-name strong {
  color: var(--accent-dark);
  font-weight: 900;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav a {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:not(.nav-cta):hover {
  color: var(--accent-dark);
}

.primary-nav .nav-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 9px 18px;
  border: 2px solid var(--base);
}

.primary-nav .nav-cta:hover {
  background: var(--base);
  color: var(--white);
}

/* Services dropdown (native details/summary) */

.nav-group {
  position: relative;
}

.nav-group-toggle {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  white-space: nowrap;
}

.nav-group-toggle::-webkit-details-marker {
  display: none;
}

.nav-group-toggle:hover,
.nav-group[open] .nav-group-toggle {
  color: var(--accent-dark);
}

.nav-group.is-current .nav-group-toggle {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.nav-caret {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-group[open] .nav-caret {
  transform: translateY(2px) rotate(-135deg);
}

.nav-menu {
  position: absolute;
  z-index: 110;
  top: calc(100% + 10px);
  left: -22px;
  display: grid;
  min-width: 360px;
  margin: 0;
  padding: 14px 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(11, 42, 37, 0.14);
  list-style: none;
}

.nav-menu li {
  display: block;
}

.primary-nav .nav-menu a {
  display: block;
  padding: 12px 22px;
  white-space: normal;
}

.primary-nav .nav-menu a:hover,
.primary-nav .nav-menu a[aria-current="page"] {
  background: var(--base-soft);
  color: var(--base-deep);
}

.nav-toggle {
  display: none;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--base-deep);
  cursor: pointer;
  font-weight: 800;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle-icon::before {
  transform: translateY(-8px);
}

.nav-toggle-icon::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-2px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 690px;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(227, 232, 231, 1) 0%, rgba(227, 232, 231, 1) 50%, rgba(227, 232, 231, 0.85) 62%, rgba(227, 232, 231, 0.35) 80%, rgba(227, 232, 231, 0) 98%),
    url("/assets/images/kansas-city-union-station-night.jpg");
  background-position: center, right center;
  /* cover keeps the photo filling the hero's full height however tall the text column gets */
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 96px 116px;
}

.hero-content > * {
  max-width: 900px;
}

.hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: 60px;
  line-height: 1.1;
}

.hero .eyebrow {
  color: var(--accent-dark);
}

.hero .text-link {
  color: var(--ink);
}

.hero-summary {
  max-width: 680px;
  margin-bottom: 42px;
  font-size: 23px;
  line-height: 1.6;
}

.photo-credit {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 18px;
  margin: 0;
  padding: 6px 12px;
  background: rgba(220, 233, 228, 0.9);
  color: var(--ink);
  font-size: 18px;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ff9d89;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button-row-spaced {
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--base-deep);
}

.button-accent:hover {
  border-color: #ff8069;
  background: #ff8069;
}

.button-primary {
  border-color: var(--base);
  background: var(--base);
  color: var(--white);
}

.button-primary:hover {
  border-color: var(--base-deep);
  background: var(--base-deep);
}

.text-link {
  font-weight: 800;
}

.light-link {
  color: var(--white);
}

.signal-band {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.signal-grid {
  display: grid;
  min-height: 118px;
  grid-template-columns: 1.2fr 2fr;
  align-items: center;
  gap: 44px;
}

.signal-intro {
  margin: 0;
  color: var(--base);
  font-weight: 850;
}

.signal-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
}

.signal-list li {
  font-weight: 800;
}

.signal-list span {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-dark);
  font-weight: 900;
}

.section {
  padding-block: 132px;
}

.section-intro {
  background-color: var(--paper);
  background-image: radial-gradient(var(--line) 0.75px, transparent 0.75px);
  background-size: 22px 22px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 96px;
  align-items: start;
}

.lead-copy {
  padding-top: 46px;
  font-size: 21px;
}

.lead-copy p:last-child {
  margin-bottom: 0;
}

.service-list {
  margin-top: 112px;
  border-top: 2px solid var(--base);
}

.service-row {
  display: grid;
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 72px minmax(220px, 0.85fr) minmax(280px, 1.25fr) minmax(240px, 0.65fr);
  align-items: start;
  gap: 30px;
}

.service-row > * {
  margin-bottom: 0;
}

.service-number {
  color: var(--accent-dark);
  font-weight: 900;
}

.service-row h3 {
  font-size: 25px;
}

.service-row > a {
  color: var(--base);
  font-weight: 850;
  white-space: nowrap;
}

.method-section {
  background: var(--base);
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 112px;
}

.method-heading {
  align-self: start;
}

.method-heading > p:last-child {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
}

.method-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  list-style: none;
}

.method-steps li {
  display: grid;
  padding-block: 34px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  grid-template-columns: 68px 1fr;
  gap: 24px;
}

.method-steps h3 {
  margin-bottom: 10px;
}

.method-steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.step-number {
  color: #ff9d89;
  font-weight: 900;
}

.insight-section {
  background: var(--white);
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1.52fr);
  gap: 92px;
}

.insight-kicker {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.featured-insight {
  max-width: 860px;
}

.featured-insight h2 a {
  text-decoration: none;
}

.featured-insight h2 a:hover {
  color: var(--accent-dark);
}

.featured-insight > p:not(.article-meta) {
  max-width: 740px;
  margin-bottom: 34px;
  font-size: 21px;
}

.article-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
}

.founders-section {
  background: var(--paper);
}

.founders-heading {
  display: grid;
  max-width: 940px;
  grid-template-columns: 1fr;
}

.founders-heading > p:last-child {
  max-width: 760px;
  font-size: 21px;
}

.founder-grid {
  display: grid;
  margin-top: 74px;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.founder-profile {
  display: grid;
  padding-top: 32px;
  border-top: 2px solid var(--base);
  grid-template-columns: 82px 1fr;
  gap: 28px;
}

.founder-initials {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  background: var(--accent);
  color: var(--base-deep);
  font-size: 22px;
  font-weight: 900;
}

.founder-profile a:not(.button) {
  color: var(--base);
  font-weight: 850;
}

.leadership-quote {
  margin-top: 112px;
  margin-bottom: 0;
  padding: 52px 0 0 104px;
  border-top: 1px solid var(--line);
  color: var(--base);
}

.leadership-quote p {
  position: relative;
  max-width: 940px;
  margin-bottom: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
}

.leadership-quote p::before {
  position: absolute;
  top: -8px;
  left: -70px;
  color: var(--accent);
  content: "“";
  font-size: 64px;
  line-height: 1;
}

.contact-section {
  background: var(--base-deep);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 100px;
  align-items: start;
}

.contact-copy > p:last-child {
  color: rgba(255, 255, 255, 0.8);
  font-size: 21px;
}

.contact-form {
  display: grid;
  gap: 25px;
}

.contact-form fieldset {
  display: grid;
  gap: 25px;
}

.form-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.contact-form .field {
  display: grid;
  gap: 8px;
}

.contact-form label {
  font-weight: 800;
}

.optional {
  font-weight: 500;
  opacity: 0.8;
}

.contact-form .has-error input,
.contact-form .has-error textarea {
  border-color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.54);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.contact-form input {
  min-height: 56px;
  padding: 10px 14px;
}

.contact-form textarea {
  min-height: 118px;
  padding: 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid transparent;
}

.consent-field {
  grid-template-columns: 26px 1fr !important;
  align-items: start;
}

.consent-field label {
  font-weight: 600;
}

.consent-field input {
  width: 24px;
  min-height: 24px;
  margin-top: 4px;
  accent-color: var(--accent);
}

.contact-form .button {
  justify-self: start;
}

.form-status {
  min-height: 30px;
  margin: 0;
  color: #ffb9aa;
  font-weight: 700;
}

.site-footer {
  background: var(--white);
}

.footer-top {
  display: grid;
  padding-block: 70px;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.footer-top p {
  max-width: 600px;
  margin: 0;
}

.footer-bottom {
  display: flex;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  align-items: flex-start;
  flex-direction: column;
  gap: 30px;
}

.footer-bottom p {
  margin: 0;
}

.footer-nav {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  gap: 40px;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-nav-group h2 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  color: var(--muted);
}

.footer-bottom a,
.footer-link-button {
  font-weight: 750;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

/* Interior pages */

.page-hero {
  padding-block: 96px 88px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero-inner {
  max-width: 900px;
}

.page-hero h1 {
  margin-bottom: 30px;
  font-size: 60px;
}

.lead {
  max-width: var(--reading);
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.6;
}

.lead a:not(.button) {
  color: var(--base);
  font-weight: 700;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 96px;
  align-items: start;
}

.split-heading h2 {
  margin-bottom: 0;
}

.numbered-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--base);
  counter-reset: item;
  list-style: none;
}

.numbered-list li {
  display: grid;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 60px 1fr;
  gap: 20px;
  font-size: 20px;
  font-weight: 600;
  counter-increment: item;
}

.numbered-list li::before {
  color: var(--accent-dark);
  content: counter(item, decimal-leading-zero);
  font-weight: 900;
}

.callout-section {
  background: var(--base);
  color: var(--white);
}

.callout {
  max-width: 940px;
}

.callout-text {
  margin-bottom: 40px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
}

.callout-section .callout-text:last-child {
  margin-bottom: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.related-card {
  display: flex;
  padding: 34px 30px 38px;
  border: 1px solid var(--line);
  background: var(--white);
  flex-direction: column;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.related-card:hover {
  border-color: var(--base);
  transform: translateY(-4px);
}

.related-card .eyebrow {
  margin-bottom: 18px;
}

.related-card h3 {
  font-size: 24px;
}

.related-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.bio-section.alt {
  background: var(--white);
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 96px;
  align-items: start;
}

.bio-aside .founder-initials {
  margin-bottom: 30px;
}

.bio-aside h2 {
  margin-bottom: 8px;
  font-size: 40px;
}

.bio-role {
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 700;
}

.bio-aside a:not(.button) {
  color: var(--base);
  font-weight: 850;
}

.bio-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

/* Context field */

.context-field-section {
  background: var(--white);
}

.context-field {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 80px;
  align-items: center;
}

.context-field-figure {
  max-width: 380px;
  margin: 0;
  justify-self: center;
}

.context-field-figure img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.context-field-copy h2 {
  margin-bottom: 22px;
}

.definition {
  padding-left: 24px;
  border-left: 4px solid var(--accent);
  color: var(--base-deep);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

.context-field-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.bio-body {
  font-size: 20px;
}

.bio-body p:last-child {
  margin-bottom: 0;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.insight-card {
  padding-top: 36px;
  border-top: 2px solid var(--base);
}

.insight-card h3 {
  font-size: 40px;
}

.insight-card h3 a {
  text-decoration: none;
}

.insight-card h3 a:hover {
  color: var(--accent-dark);
}

.insight-card > p:not(.article-meta) {
  max-width: 740px;
  font-size: 20px;
}

.page-contact .contact-section {
  min-height: calc(100vh - 88px);
}

.page-contact .contact-copy h1 {
  font-size: 56px;
}

/* Article */

.article-header {
  padding-block: 88px 72px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.article-header-inner {
  max-width: 900px;
}

.breadcrumbs ol {
  display: flex;
  margin: 0 0 36px;
  padding: 0;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumbs li + li::before {
  margin-right: 12px;
  content: "/";
}

.breadcrumbs a:not(.button) {
  color: var(--base);
}

.article-header h1 {
  margin-bottom: 20px;
  font-size: 56px;
}

.article-subtitle {
  max-width: var(--reading);
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.45;
}

.article-header .article-meta {
  margin-bottom: 0;
}

.article-body {
  max-width: var(--reading);
  padding-block: 88px 120px;
  font-size: 20px;
  line-height: 1.7;
}

.article-body .lead {
  margin-bottom: 32px;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: 30px;
}

.article-body h2 {
  margin-top: 72px;
  margin-bottom: 24px;
  font-size: 36px;
}

.article-body ul,
.article-body ol {
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 12px;
}

.article-body a:not(.button) {
  color: var(--base);
  font-weight: 700;
}

.article-figure {
  width: min(100vw - 40px, 1000px);
  margin: 56px 50% 64px;
  transform: translateX(-50%);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  max-width: var(--reading);
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.article-figure-data-label,
.article-figure-note {
  display: block;
  margin-top: 8px;
}

.article-figure-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
  gap: 6px 20px;
}

.article-figure-data strong {
  color: var(--base-deep);
}

.model-list {
  padding-left: 0 !important;
  list-style: none;
  counter-reset: model;
}

.model-list li {
  position: relative;
  padding: 24px 0 24px 64px;
  border-top: 1px solid var(--line);
  counter-increment: model;
}

.model-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.model-list li::before {
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--accent-dark);
  content: counter(model, decimal-leading-zero);
  font-weight: 900;
}

.article-cta {
  margin-block: 80px 72px;
  padding: 44px 40px;
  background: var(--base-soft);
}

.article-cta .eyebrow {
  margin-bottom: 14px;
}

.article-cta p {
  max-width: 560px;
}

.sources h2 {
  font-size: 26px;
}

.sources ul {
  padding-left: 0;
  list-style: none;
}

.sources li {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

/* Legal pages */

.legal-section {
  background: var(--white);
}

.legal-copy {
  max-width: var(--reading);
}

.legal-copy h2 {
  margin-top: 64px;
  margin-bottom: 20px;
  font-size: 32px;
}

.legal-copy p {
  margin-bottom: 28px;
}

.legal-copy a:not(.button) {
  color: var(--base);
  font-weight: 700;
}

.page-legal .product-cta-section,
.page-legal .footer-cta {
  display: none;
}

/* Glossary */

.glossary-section {
  background: var(--white);
}

.glossary-list {
  max-width: var(--reading);
}

.glossary-term {
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
}

.glossary-term:first-child {
  padding-top: 0;
}

.glossary-term h2 {
  margin-bottom: 16px;
  font-size: 32px;
}

.glossary-term p {
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 1.6;
}

.glossary-term p:last-child {
  margin-bottom: 0;
}

.glossary-term .glossary-definition {
  color: var(--base-deep);
  font-size: 22px;
}

.glossary-term a:not(.button) {
  color: var(--base);
  font-weight: 700;
}

.glossary-index {
  display: flex;
  margin: 0 0 56px;
  padding: 0;
  gap: 10px 22px;
  flex-wrap: wrap;
  list-style: none;
}

.glossary-index a {
  color: var(--base);
  font-weight: 750;
}

/* Closing + universal footer CTA */

.closing-section {
  background: var(--white);
}

.closing-inner {
  max-width: 900px;
}

.closing-inner p {
  max-width: 720px;
  margin-bottom: 36px;
  font-size: 21px;
}

.footer-cta {
  background: var(--base-deep);
  color: var(--white);
}

.footer-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 64px;
  align-items: center;
}

.footer-cta h2 {
  font-size: 44px;
}

.footer-cta p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
}

.page-contact .footer-cta {
  display: none;
}

/* Product CTAs */

.product-cta-section {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.product-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.product-cta {
  display: flex;
  padding-top: 32px;
  border-top: 2px solid var(--base);
  flex-direction: column;
  align-items: flex-start;
}

.product-cta .eyebrow {
  margin-bottom: 16px;
}

.product-cta h2 {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.2;
}

.product-cta p {
  max-width: 480px;
  margin-bottom: 32px;
  color: var(--muted);
}

.product-cta .button {
  width: 100%;
  max-width: 340px;
  margin-top: auto;
}

.page-contact .product-cta-section {
  display: none;
}

@media (max-width: 1240px) {
  .primary-nav {
    gap: 18px;
  }

  .primary-nav .nav-cta {
    display: none;
  }
}

@media (max-width: 1150px) {
  .service-row {
    grid-template-columns: 60px minmax(200px, 0.8fr) minmax(280px, 1.2fr);
  }

  .service-row > a {
    grid-column: 2 / -1;
    white-space: normal;
  }

  .method-grid,
  .contact-grid {
    gap: 70px;
  }

  .split-grid,
  .bio-grid {
    gap: 60px;
  }

  .page-hero {
    padding-block: 72px 64px;
  }

  .page-hero h1,
  .article-header h1,
  .page-contact .contact-copy h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 20px;
  }

  .split-grid,
  .bio-grid,
  .footer-cta-inner,
  .context-field {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .context-field-figure {
    max-width: 300px;
    justify-self: start;
  }

  .product-cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .product-cta:last-child {
    grid-column: 1 / -1;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .related-card:last-child {
    grid-column: 1 / -1;
  }

  .callout-text {
    font-size: 23px;
  }

  .article-body {
    padding-block: 60px 88px;
  }

  .article-body h2 {
    margin-top: 56px;
    font-size: 31px;
  }

  .footer-cta h2,
  .insight-card h3,
  .bio-aside h2 {
    font-size: 36px;
  }

  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .hero {
    min-height: 0;
    align-items: flex-end;
  }

  .hero-photo {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 24vw, rgba(255, 255, 255, 0.92) 40vw, rgba(255, 255, 255, 1) 46vw),
      url("/assets/images/kansas-city-union-station-night.jpg");
    background-position: center top;
    background-size: 100vw auto;
    background-repeat: no-repeat;
  }

  .hero-content {
    padding-block: 0 80px;
  }

  .hero .eyebrow {
    margin-top: 48vw;
    margin-bottom: 0;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: 48px;
  }

  .header-inner {
    min-height: 78px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: max-height 240ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .primary-nav.is-open {
    max-height: calc(100vh - 78px);
    padding-block: 24px 36px;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    padding: 8px 0 17px;
    border-bottom: 1px solid var(--line);
    font-size: 21px;
  }

  .nav-group-toggle {
    padding: 8px 0 17px;
    border-bottom: 1px solid var(--line);
    font-size: 21px;
  }

  .nav-menu {
    position: static;
    min-width: 0;
    padding: 6px 0 4px 22px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
  }

  .primary-nav .nav-menu a {
    padding: 10px 0;
    border-bottom: 0;
    font-size: 19px;
  }

  .primary-nav .nav-menu a:hover,
  .primary-nav .nav-menu a[aria-current="page"] {
    background: transparent;
    color: var(--accent-dark);
  }

  .primary-nav .nav-cta {
    display: inline-flex;
    justify-content: center;
    border-bottom: 2px solid var(--base);
  }

  .hero-summary {
    font-size: 20px;
  }

  .signal-grid,
  .intro-grid,
  .method-grid,
  .insight-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid {
    padding-block: 30px;
    gap: 20px;
  }

  .signal-list {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding-block: 96px;
  }

  .intro-grid {
    gap: 16px;
  }

  .lead-copy {
    padding-top: 0;
  }

  .service-list {
    margin-top: 70px;
  }

  .service-row {
    grid-template-columns: 52px 1fr;
    gap: 20px;
  }

  .service-row > p:not(.service-number),
  .service-row > a {
    grid-column: 2;
  }

  .method-grid,
  .contact-grid {
    gap: 62px;
  }

  .insight-layout {
    gap: 50px;
  }

  .insight-kicker {
    padding-right: 0;
    padding-bottom: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .founder-grid {
    gap: 40px;
  }

  .leadership-quote {
    padding-left: 68px;
  }

  .leadership-quote p {
    font-size: 31px;
  }
}

@media (max-width: 760px) {
  .insight-list {
    grid-template-columns: 1fr;
  }

  .article-figure-data {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .article-figure-data {
    grid-template-columns: 1fr;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  h1 {
    font-size: 42px;
  }

  .hero h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 25px;
  }

  .brand-name {
    max-width: 135px;
    line-height: 1.15;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .hero-photo {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 34vw, rgba(255, 255, 255, 0.92) 54vw, rgba(255, 255, 255, 1) 62vw),
      url("/assets/images/kansas-city-union-station-night.jpg");
  }

  .hero-content {
    padding-block: 0 72px;
  }

  .hero .eyebrow {
    margin-top: 64vw;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .text-link {
    text-align: center;
  }

  .signal-list,
  .form-grid,
  .footer-top,
  .founder-grid,
  .product-cta-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card:last-child,
  .product-cta:last-child {
    grid-column: auto;
  }

  .signal-list {
    gap: 14px;
  }

  .signal-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
  }

  .section {
    padding-block: 78px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row > p:not(.service-number),
  .service-row > a {
    grid-column: 1;
  }

  .method-steps li {
    grid-template-columns: 1fr;
  }

  .founder-profile {
    grid-template-columns: 1fr;
  }

  .leadership-quote {
    padding-left: 48px;
  }

  .leadership-quote p {
    font-size: 27px;
  }

  .leadership-quote p::before {
    left: -48px;
    font-size: 64px;
  }

  .contact-form .button {
    justify-self: stretch;
  }

  .footer-top {
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-nav-group h2 {
    font-size: 25px;
  }

  .page-hero h1,
  .article-header h1,
  .page-contact .contact-copy h1 {
    font-size: 36px;
  }

  .numbered-list li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .article-cta {
    padding: 32px 24px;
  }

  .model-list li {
    padding-left: 48px;
  }

  .footer-cta .button,
  .product-cta .button {
    width: 100%;
    max-width: none;
  }

  .button-row {
    justify-content: center;
  }
}

/* CookieConsent (vanilla-cookieconsent v3): site tokens via the library's custom properties */
#cc-main {
  --cc-font-family: "Mulish", sans-serif;
  --cc-bg: var(--white);
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--ink);
  --cc-link-color: var(--base);
  --cc-btn-primary-bg: var(--base);
  --cc-btn-primary-color: var(--white);
  --cc-btn-primary-border-color: var(--base);
  --cc-btn-primary-hover-bg: var(--base-deep);
  --cc-btn-primary-hover-color: var(--white);
  --cc-btn-primary-hover-border-color: var(--base-deep);
  --cc-btn-secondary-bg: var(--white);
  --cc-btn-secondary-color: var(--base);
  --cc-btn-secondary-border-color: var(--base);
  --cc-btn-secondary-hover-bg: var(--base-soft);
  --cc-btn-secondary-hover-color: var(--base-deep);
  --cc-btn-secondary-hover-border-color: var(--base-deep);
  --cc-separator-border-color: var(--line);
  --cc-toggle-on-bg: var(--base);
  --cc-toggle-off-bg: var(--muted);
  --cc-toggle-on-knob-bg: var(--white);
  --cc-toggle-off-knob-bg: var(--white);
  --cc-toggle-enabled-icon-color: var(--base);
  --cc-toggle-disabled-icon-color: var(--muted);
  --cc-toggle-readonly-bg: var(--base-soft);
  --cc-toggle-readonly-knob-bg: var(--white);
  --cc-toggle-readonly-knob-icon-color: var(--base);
  --cc-cookie-category-block-bg: var(--paper);
  --cc-cookie-category-block-border: var(--line);
  --cc-cookie-category-block-hover-bg: var(--base-soft);
  --cc-cookie-category-block-hover-border: var(--line);
  --cc-cookie-category-expanded-block-bg: var(--paper);
  --cc-cookie-category-expanded-block-hover-bg: var(--base-soft);
  --cc-overlay-bg: rgba(11, 42, 37, 0.6);
  --cc-footer-bg: var(--paper);
  --cc-footer-color: var(--ink);
  --cc-footer-border-color: var(--line);
  --cc-btn-border-radius: 2px;
  --cc-modal-border-radius: 2px;
  --cc-pm-toggle-border-radius: 2px;
  font-size: 18px;
  line-height: 1.5;
}

#cc-main .cm {
  border-top: 3px solid var(--accent);
  box-shadow: 0 10px 30px rgba(11, 42, 37, 0.3);
}

#cc-main .cm__title,
#cc-main .pm__title {
  font-size: 22px;
  font-weight: 800;
}

#cc-main .cm__desc,
#cc-main .cm__link-group,
#cc-main .cm__btn,
#cc-main .pm__btn,
#cc-main .pm__section-title,
#cc-main .pm__section-desc-wrapper,
#cc-main .pm__badge,
#cc-main .pm__section-table {
  font-size: 18px;
}

#cc-main .cm__btn,
#cc-main .pm__btn {
  min-height: 48px;
  font-weight: 750;
}

#cc-main a {
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

#cc-main .cm__btn:focus-visible,
#cc-main .pm__btn:focus-visible,
#cc-main .pm__close-btn:focus-visible,
#cc-main .section__toggle:focus-visible + .toggle__icon,
#cc-main a:focus-visible {
  outline: 3px solid var(--base-deep);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--focus);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}