:root {
  --ink: #111417;
  --ink-2: #1b2328;
  --paper: #f8f6ef;
  --paper-quiet: #ece8de;
  --line: rgba(17, 20, 23, 0.15);
  --muted: #5f6665;
  --green: #2f6f62;
  --blue: #2b5876;
  --coral: #bb5d46;
  --yellow: #d6a642;
  --white: #ffffff;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--white);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand span:last-child {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(17, 20, 23, 0.22);
  font-size: 0.86rem;
}

.site-nav {
  gap: clamp(14px, 2.8vw, 28px);
  font-size: 0.88rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.nav-with-note::after {
  content: attr(data-note);
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translate(-50%, -3px);
  z-index: 20;
  width: max-content;
  max-width: 140px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(17, 20, 23, 0.86);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav-with-note:hover::after,
.nav-with-note:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
}

.hero {
  min-height: min(820px, 82svh);
  padding: 128px clamp(20px, 5vw, 64px) 70px;
}

.page-hero {
  min-height: 54svh;
  padding: 128px clamp(20px, 5vw, 64px) 58px;
  background:
    radial-gradient(circle at 20% 10%, rgba(214, 166, 66, 0.32), transparent 28%),
    linear-gradient(135deg, var(--ink) 0%, #19313a 56%, #254d47 100%);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 48%;
  z-index: -3;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.82) 0%, rgba(17, 20, 23, 0.54) 48%, rgba(17, 20, 23, 0.1) 100%),
    linear-gradient(0deg, rgba(17, 20, 23, 0.58) 0%, rgba(17, 20, 23, 0) 48%);
}

.hero-content,
.page-hero-content {
  width: min(860px, 100%);
}

.kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .kicker,
.page-hero .kicker {
  color: #d7eadf;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 9vw, 8.7rem);
  font-weight: 500;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.hero-copy,
.page-copy {
  width: min(700px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2.1vw, 1.52rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.intro-band {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 34px clamp(20px, 5vw, 64px);
  background: var(--blue);
  color: var(--white);
}

.intro-band p {
  width: min(1020px, 100%);
  margin: 0;
  font-size: clamp(1.06rem, 2vw, 1.36rem);
}

.section {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.22fr);
  gap: clamp(34px, 7vw, 94px);
  padding: clamp(72px, 11vw, 132px) clamp(20px, 5vw, 64px);
}

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

.section-heading h2,
.contact-copy h2 {
  max-width: 14ch;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 5.1rem);
  font-weight: 500;
}

.section-body {
  display: grid;
  gap: 24px;
  align-content: start;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.section-body p,
.section-body ul {
  margin: 0;
  max-width: 720px;
}

.section-body ul {
  display: grid;
  gap: 12px;
  padding-left: 1.2rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.proof-strip span {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 800;
}

.cards-section,
.listing-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-quiet) 100%);
}

.card-grid,
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.listing-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.52);
  text-decoration: none;
}

.feature-card:hover,
.feature-card:focus-visible {
  border-color: rgba(47, 111, 98, 0.7);
}

.card-index {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature-card h3,
.listing-card h3 {
  font-size: 1.3rem;
}

.feature-card p,
.listing-card p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 0.22fr 0.72fr 1.2fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--paper);
  text-decoration: none;
  transition: background 160ms ease, padding-left 160ms ease;
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

.service-row:hover,
.service-row:focus-visible {
  background: var(--white);
  padding-left: 34px;
  outline: none;
}

.service-row:focus-visible {
  box-shadow: inset 0 0 0 3px var(--green);
}

.service-arrow {
  color: var(--green);
  font-size: 1.7rem;
  transition: transform 160ms ease;
}

.service-row:hover .service-arrow,
.service-row:focus-visible .service-arrow {
  transform: translateX(5px);
}

.service-detail {
  align-items: start;
}

.service-detail h2 {
  max-width: 12ch;
}

.service-illustration {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-quiet);
}

.service-illustration span {
  position: absolute;
  display: block;
  border: 2px solid var(--green);
}

.service-illustration span:nth-child(1) {
  inset: 16% 42% 44% 14%;
  background: rgba(47, 111, 98, 0.16);
}

.service-illustration span:nth-child(2) {
  inset: 40% 16% 18% 42%;
  border-color: var(--coral);
  background: rgba(187, 93, 70, 0.14);
}

.service-illustration span:nth-child(3) {
  width: 20%;
  aspect-ratio: 1;
  top: 15%;
  right: 13%;
  border-color: var(--yellow);
  border-radius: 50%;
  background: rgba(214, 166, 66, 0.2);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 111, 98, 0.12);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 850;
}

.publication-section {
  align-items: start;
}

.publication-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.publication-row {
  background: var(--paper);
}

.publication-row a {
  display: grid;
  gap: 8px;
  padding: 28px;
  text-decoration: none;
  transition: background 160ms ease, padding-left 160ms ease;
}

.publication-row a:hover,
.publication-row a:focus-visible {
  background: var(--white);
  padding-left: 34px;
  outline: none;
}

.publication-row a:focus-visible {
  box-shadow: inset 0 0 0 3px var(--green);
}

.publication-title {
  font-size: clamp(1.22rem, 2.3vw, 1.72rem);
  font-weight: 850;
  line-height: 1.15;
}

.publication-meta {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.response-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.response-note a {
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 4px;
}

.article-hero h1 {
  max-width: 12ch;
}

.article-hero {
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.82) 0%, rgba(17, 20, 23, 0.58) 48%, rgba(17, 20, 23, 0.24) 100%),
    linear-gradient(0deg, rgba(17, 20, 23, 0.7) 0%, rgba(17, 20, 23, 0.08) 58%),
    radial-gradient(circle at 20% 10%, rgba(214, 166, 66, 0.32), transparent 28%),
    linear-gradient(135deg, var(--ink) 0%, #19313a 56%, #254d47 100%);
}

.story-joe-hero {
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.84) 0%, rgba(17, 20, 23, 0.58) 50%, rgba(17, 20, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 20, 23, 0.72) 0%, rgba(17, 20, 23, 0.06) 62%),
    url("/assets/img/story-ceo-joe-hero.png") center / cover;
}

.column-hero {
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.86) 0%, rgba(17, 20, 23, 0.6) 50%, rgba(17, 20, 23, 0.24) 100%),
    linear-gradient(0deg, rgba(17, 20, 23, 0.72) 0%, rgba(17, 20, 23, 0.08) 62%),
    url("/assets/img/column-writing-hero.png") center / cover;
}

.article-section {
  align-items: start;
}

.article-meta {
  display: grid;
  gap: 28px;
  align-content: start;
}

.article-body {
  display: grid;
  gap: 24px;
  max-width: 780px;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.85vw, 1.34rem);
  line-height: 1.72;
}

.article-body p {
  margin: 0;
}

.channel-empty {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.channel-empty p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.82fr);
  gap: clamp(34px, 7vw, 86px);
  padding: clamp(72px, 10vw, 118px) clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.contact-actions {
  display: grid;
  align-content: center;
  gap: 12px;
}

.contact-link {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1.08rem, 2.1vw, 1.72rem);
  font-weight: 800;
}

.contact-link::after {
  content: "→";
  color: var(--yellow);
  flex: 0 0 auto;
}

.contact-link.muted {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.services-page .site-header {
  position: relative;
  color: var(--ink);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(17, 20, 23, 0.1);
}

.services-page .brand-mark {
  border-color: rgba(17, 20, 23, 0.28);
  background: var(--ink);
  color: var(--white);
}

.services-page .nav-with-note::after,
.home-page .nav-with-note::after {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(17, 20, 23, 0.12);
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    padding-top: 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
    max-width: 290px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 132px;
    padding-bottom: 46px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(17, 20, 23, 0.85) 0%, rgba(17, 20, 23, 0.52) 72%, rgba(17, 20, 23, 0.22) 100%),
      linear-gradient(0deg, rgba(17, 20, 23, 0.64) 0%, rgba(17, 20, 23, 0.08) 60%);
  }

  .section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .contact-copy h2 {
    max-width: 16ch;
  }

  .proof-strip,
  .card-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

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

  .service-arrow {
    justify-self: end;
  }
}

@media (max-width: 540px) {
  .site-nav a {
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .button,
  .contact-link {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-row,
  .feature-card,
  .listing-card {
    padding: 22px;
  }
}

.home-page {
  --ink: #111417;
  --ink-2: #252b2f;
  --paper: #fbfaf6;
  --paper-quiet: #efede6;
  --line: rgba(17, 20, 23, 0.13);
  --muted: #5b6260;
  --green: #244f45;
  --blue: #384a50;
  --coral: #8b5d4a;
  --yellow: #a9863b;
  background:
    linear-gradient(rgba(17, 20, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 23, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.home-page .site-header {
  position: fixed;
  color: var(--ink);
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(17, 20, 23, 0.08);
  backdrop-filter: blur(18px);
}

.home-page .brand-mark {
  border-color: rgba(17, 20, 23, 0.28);
  background: var(--ink);
  color: var(--white);
}

.home-page .site-nav a {
  opacity: 0.76;
}

.home-page .site-nav a:hover,
.home-page .site-nav a:focus-visible,
.home-page .site-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration-color: var(--green);
}

.home-page .hero {
  min-height: min(860px, 88svh);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding-top: 148px;
  padding-bottom: 86px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.94) 58%, rgba(251, 250, 246, 0.76) 100%),
    url("/assets/img/hero-innovation-wall.jpg") center / cover;
}

.home-page .hero-image,
.home-page .hero-scrim {
  display: none;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 92px clamp(20px, 5vw, 64px) 42px;
  z-index: -1;
  border: 1px solid rgba(17, 20, 23, 0.1);
  pointer-events: none;
}

.home-page .hero-content {
  width: min(900px, 100%);
}

.home-page .hero .kicker {
  color: var(--green);
}

.home-page h1 {
  max-width: 11.5ch;
  font-size: clamp(3.7rem, 8.2vw, 8.2rem);
  color: var(--ink);
}

.home-page .hero-copy {
  width: min(660px, 100%);
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.34rem);
}

.home-page .button {
  border-color: rgba(17, 20, 23, 0.18);
  box-shadow: none;
}

.home-page .button-primary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(17, 20, 23, 0.72);
}

.home-page .button-secondary {
  color: var(--ink);
  background: transparent;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: 52px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-metrics span {
  display: grid;
  gap: 8px;
  min-height: 94px;
  align-content: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-2);
  font-weight: 800;
}

.hero-metrics strong {
  color: var(--green);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.hero-system {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(17, 20, 23, 0.14);
  background:
    linear-gradient(rgba(17, 20, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 23, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.38);
  background-size: 38px 38px;
}

.hero-system::before {
  content: "Innovation management structure";
  position: absolute;
  top: 22px;
  left: 22px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-node,
.system-line,
.system-panel {
  position: absolute;
  display: block;
}

.system-node {
  border: 1px solid rgba(36, 79, 69, 0.58);
  background: rgba(251, 250, 246, 0.9);
  box-shadow: 0 18px 50px rgba(17, 20, 23, 0.08);
}

.node-large {
  inset: 33% auto auto 28%;
  width: 168px;
  aspect-ratio: 1;
}

.node-large::after {
  content: "IM";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green);
  font-family: var(--serif);
  font-size: 3rem;
}

.node-top,
.node-right,
.node-bottom {
  width: 92px;
  aspect-ratio: 1;
}

.node-top {
  top: 18%;
  right: 22%;
}

.node-right {
  top: 49%;
  right: 11%;
}

.node-bottom {
  bottom: 13%;
  left: 18%;
}

.system-line {
  height: 1px;
  transform-origin: left center;
  background: rgba(36, 79, 69, 0.48);
}

.line-a {
  top: 34%;
  left: 47%;
  width: 138px;
  transform: rotate(-21deg);
}

.line-b {
  top: 52%;
  left: 45%;
  width: 188px;
  transform: rotate(9deg);
}

.line-c {
  top: 63%;
  left: 26%;
  width: 118px;
  transform: rotate(118deg);
}

.system-panel {
  border: 1px solid rgba(17, 20, 23, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.panel-one {
  width: 42%;
  height: 52px;
  right: 12%;
  bottom: 8%;
}

.panel-two {
  width: 32%;
  height: 52px;
  left: 11%;
  top: 17%;
}

.home-page .intro-band {
  background: var(--ink);
}

.home-page .proof-strip span {
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-page .cards-section,
.home-page .listing-section {
  background: var(--paper);
}

.home-page .feature-card,
.home-page .listing-card {
  background: rgba(255, 255, 255, 0.74);
}

.home-page .contact-section {
  background: var(--ink);
}

@media (max-width: 940px) {
  .home-page .site-header {
    position: absolute;
    align-items: center;
  }

  .home-page .site-nav {
    flex-wrap: nowrap;
    max-width: none;
    gap: clamp(10px, 2.4vw, 18px);
  }

  .home-page .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 124px;
    padding-bottom: 54px;
  }

  .home-page .hero::before {
    inset: 86px 16px 24px;
  }

  .hero-system {
    min-height: 360px;
    order: -1;
  }

  .home-page .hero-content {
    width: 100%;
  }

  .home-page .hero-copy {
    max-width: 58ch;
  }
}

@media (max-width: 640px) {
  .home-page .site-header {
    gap: 14px;
  }

  .home-page .brand {
    gap: 8px;
  }

  .home-page .brand-mark {
    width: 38px;
    height: 38px;
  }

  .home-page .site-nav {
    gap: 10px;
    font-size: 0.8rem;
  }

  .home-page h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .home-page .hero-copy {
    font-size: 1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-metrics span {
    min-height: 68px;
    grid-template-columns: 44px 1fr;
    align-items: center;
  }

  .hero-system {
    min-height: 300px;
  }

  .home-page .intro-band {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .home-page .intro-band p {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .home-page .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-page .site-nav {
    gap: 7px;
    font-size: 0.72rem;
  }

  .hero-system {
    min-height: 260px;
  }

  .node-large {
    width: 116px;
  }

  .node-top,
  .node-right,
  .node-bottom {
    width: 62px;
  }

  .panel-one,
  .panel-two {
    height: 38px;
  }
}

/* Welcome page visual pass */
.home-page {
  background: var(--paper);
  background-size: auto;
}

.home-page .site-header {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(17, 20, 23, 0.1);
  backdrop-filter: none;
}

.home-page .brand-mark {
  border-color: rgba(17, 20, 23, 0.28);
  background: var(--ink);
  color: var(--white);
}

.home-page .site-nav a {
  opacity: 0.86;
}

.home-page .site-nav a:hover,
.home-page .site-nav a:focus-visible,
.home-page .site-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration-color: var(--yellow);
}

.home-page .hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-top: 94px;
  padding-bottom: clamp(28px, 5vw, 56px);
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 20, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 23, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 22%, rgba(214, 166, 66, 0.18), transparent 30%),
    linear-gradient(135deg, #fbfaf6 0%, #f1eee5 58%, #e8e2d3 100%);
  background-size: 74px 74px, 74px 74px, auto, auto;
}

.home-page .hero::before {
  display: none;
}

.swarm-canvas {
  position: absolute;
  z-index: 1;
  right: clamp(70px, 12vw, 280px);
  top: 50%;
  width: min(46vw, 820px);
  height: min(44vh, 440px);
  opacity: 1;
  pointer-events: none;
  mix-blend-mode: normal;
  transform: translateY(-42%);
}

.home-page .hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  transform: none;
}

.home-page .hero .kicker {
  color: var(--green);
}

.home-page h1 {
  max-width: 10.8ch;
  color: var(--ink);
  font-size: clamp(3.2rem, 6.2vw, 6.6rem);
  text-shadow: none;
  overflow-wrap: normal;
  word-break: normal;
}

.home-page .hero-copy {
  width: min(650px, 100%);
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
}

.home-page .hero-actions {
  margin-top: 24px;
  gap: 22px;
}

.home-page .button {
  border-color: rgba(17, 20, 23, 0.18);
}

.home-page .button-primary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(17, 20, 23, 0.72);
}

.home-page .button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(17, 20, 23, 0.72);
}

.home-page .button:hover,
.home-page .button:focus-visible {
  background: rgba(17, 20, 23, 0.04);
  box-shadow: none;
}

.home-page .hero-metrics {
  width: min(680px, 100%);
  margin-top: 22px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
}

.home-page .hero-metrics span {
  min-height: 48px;
  padding: 10px 14px;
  background: rgba(17, 20, 23, 0.4);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.home-page .hero-metrics strong {
  color: #e8d296;
}

.home-page .hero-system {
  position: absolute;
  z-index: 2;
  right: clamp(110px, 15vw, 340px);
  top: 50%;
  bottom: auto;
  width: min(34vw, 500px);
  min-height: min(36vw, 500px);
  border: 0;
  opacity: 0.44;
  background:
    linear-gradient(rgba(17, 20, 23, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 23, 0.075) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  transform: translateY(-50%);
}

.home-page .node-large {
  top: 12%;
}

.home-page .hero-system::before {
  content: none;
}

.home-page .hero-system::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 74%, rgba(36, 79, 69, 0.4) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 36%, rgba(36, 79, 69, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 24%, rgba(36, 79, 69, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 62%, rgba(36, 79, 69, 0.3) 0 2px, transparent 3px),
    repeating-radial-gradient(ellipse at 50% 52%, transparent 0 34px, rgba(36, 79, 69, 0.08) 35px 36px, transparent 37px 70px);
  opacity: 0.72;
  transform: translate3d(0, 0, 0);
  animation: network-wave 12s ease-in-out infinite alternate;
}

.home-page .system-node {
  border-color: rgba(17, 20, 23, 0.36);
  background: rgba(251, 250, 246, 0.48);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.home-page .node-large::after {
  color: var(--green);
}

.home-page .system-line {
  background: rgba(17, 20, 23, 0.36);
  animation: network-line 8s ease-in-out infinite alternate;
}

.home-page .system-panel {
  border-color: rgba(17, 20, 23, 0.24);
  background: rgba(255, 255, 255, 0.18);
}

@keyframes network-wave {
  from {
    opacity: 0.48;
    transform: translate3d(-8px, 6px, 0) scale(0.98);
  }

  to {
    opacity: 0.8;
    transform: translate3d(10px, -8px, 0) scale(1.02);
  }
}

@keyframes network-line {
  from {
    opacity: 0.42;
  }

  to {
    opacity: 0.78;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-system::after,
  .home-page .system-line {
    animation: none;
  }
}

.home-page .intro-band {
  min-height: 128px;
  background: #244f45;
}

.home-page .proof-strip span {
  background: #fbfaf6;
}

@media (max-width: 940px) {
  .home-page .site-header {
    position: absolute;
    color: var(--ink);
    background: rgba(251, 250, 246, 0.9);
  }

  .home-page .hero {
    min-height: 100svh;
    padding-top: 104px;
  }

  .home-page .hero-content {
    transform: translateY(0);
  }

  .home-page .hero::after {
    content: none;
  }

  .swarm-canvas {
    right: 0;
    top: 190px;
    width: 58vw;
    height: 42vh;
    opacity: 0.82;
    transform: none;
  }

  .home-page .hero-system {
    right: 11vw;
    top: 244px;
    bottom: auto;
    width: min(72vw, 420px);
    min-height: min(58vw, 360px);
    opacity: 0.42;
    order: initial;
    transform: none;
  }
}

@media (max-width: 640px) {
  .home-page .hero {
    min-height: 100svh;
    padding-bottom: 32px;
  }

  .home-page h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .home-page .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .home-page .hero-metrics span {
    min-height: 62px;
    grid-template-columns: 44px 1fr;
    align-items: center;
  }

  .home-page .hero-system {
    display: block;
    left: 28%;
    right: auto;
    top: 188px;
    bottom: auto;
    width: 70%;
    min-height: 38vh;
    opacity: 0.46;
    background: none;
  }

  .home-page .node-large {
    top: 33%;
  }

  .home-page .hero::after {
    content: none;
  }

  .swarm-canvas {
    left: 24%;
    right: auto;
    top: 260px;
    bottom: auto;
    width: 68%;
    height: 38vh;
    opacity: 0.82;
    transform: none;
  }
}

.public-page .listing-section,
.channel-page .listing-section {
  min-height: calc(100svh - 95px);
  align-items: start;
  padding-top: clamp(44px, 6vw, 72px);
  background:
    linear-gradient(rgba(17, 20, 23, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 23, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: 74px 74px;
}

.public-page .section-heading h2,
.channel-page .section-heading h2 {
  max-width: 15ch;
  overflow-wrap: normal;
}

.public-page .service-list,
.channel-page .service-list {
  border-top: 1px solid rgba(17, 20, 23, 0.18);
  background: transparent;
}

.public-page .service-row,
.channel-page .service-row {
  grid-template-columns: minmax(180px, 0.76fr) minmax(0, 1.24fr) auto;
  padding: 26px 0;
  border-bottom: 1px solid rgba(17, 20, 23, 0.18);
  background: transparent;
}

.public-page .service-row:hover,
.public-page .service-row:focus-visible,
.channel-page .service-row:hover,
.channel-page .service-row:focus-visible {
  padding-left: 0;
  background: transparent;
}

.public-page .service-row h3,
.channel-page .service-row h3 {
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.72vw, 1.72rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink-2);
}

.public-page .service-row p,
.channel-page .service-row p {
  max-width: 58ch;
  color: var(--ink-2);
}

.public-page .card-index,
.channel-page .card-index {
  display: none;
}

.public-page .service-arrow,
.channel-page .service-arrow {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(17, 20, 23, 0.42);
  color: var(--ink);
  font-size: 1rem;
}

@media (max-width: 940px) {
  .public-page .listing-section,
  .channel-page .listing-section {
    min-height: auto;
  }

  .public-page .service-row,
  .channel-page .service-row {
    grid-template-columns: 1fr auto;
    gap: 14px 18px;
  }

  .public-page .service-row p,
  .channel-page .service-row p {
    grid-column: 1 / -1;
  }

  .public-page .service-arrow,
  .channel-page .service-arrow {
    align-self: start;
    grid-column: 2;
    grid-row: 2;
  }
}

/* Services direction: light, sober, scientific */
.services-index {
  min-height: calc(100svh - 95px);
  align-items: start;
  padding-top: clamp(44px, 6vw, 72px);
  background:
    linear-gradient(rgba(17, 20, 23, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 23, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: 74px 74px;
}

.services-index .section-heading h2 {
  max-width: 15ch;
  overflow-wrap: normal;
}

.services-index .service-list {
  border-top: 1px solid rgba(17, 20, 23, 0.18);
  background: transparent;
}

.services-index .service-row {
  grid-template-columns: minmax(180px, 0.76fr) minmax(0, 1.24fr) auto;
  padding: 26px 0;
  border-bottom: 1px solid rgba(17, 20, 23, 0.18);
  background: transparent;
}

.services-index .card-index {
  display: none;
}

.services-index .service-row:hover,
.services-index .service-row:focus-visible {
  padding-left: 0;
  background: transparent;
}

.services-index .service-row:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 8px;
  box-shadow: none;
}

.services-index .service-row h3 {
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.72vw, 1.72rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink-2);
}

.services-index .service-row p {
  max-width: 58ch;
  color: var(--ink-2);
}

.services-index .service-arrow {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(17, 20, 23, 0.42);
  color: var(--ink);
  font-size: 1rem;
}

@media (max-width: 940px) {
  .services-index {
    min-height: auto;
  }

  .services-index .service-row {
    grid-template-columns: 1fr auto;
    gap: 14px 18px;
  }

  .services-index .service-row p {
    grid-column: 1 / -1;
  }

  .services-index .service-arrow {
    align-self: start;
    grid-column: 2;
    grid-row: 2;
  }
}
