: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;
}

* {
  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: 800;
}

.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 {
  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;
}

.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: Georgia, "Times New Roman", 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-weight: 800;
  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: Georgia, "Times New Roman", 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.28fr 0.78fr 1.2fr;
  gap: 24px;
  padding: 28px;
  background: var(--paper);
}

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

.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;
}

.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;
}

@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;
  }
}

@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(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.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: Georgia, "Times New Roman", 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;
  }
}
