:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee7;
  --paper: #f6f7f9;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --red: #c91f26;
  --charcoal: #0c121a;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: rgba(12, 18, 26, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  min-width: 0;
  text-align: center;
}

.brand-logo {
  display: block;
  width: 158px;
  height: 96px;
  flex: 0 0 auto;
  margin: 0 auto;
}

.brand-slogan {
  color: #75d6ce;
  font-family: "Segoe UI Semibold", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

h1,
h2,
h3,
.button,
.proof strong {
  font-family: "Segoe UI Semibold", "Segoe UI", Arial, Helvetica, sans-serif;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.92rem;
}

nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 86vh;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-image,
.hero-overlay,
.hero-content {
  grid-area: 1 / 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 18, 26, 0.96) 0%, rgba(12, 18, 26, 0.82) 38%, rgba(12, 18, 26, 0.2) 100%),
    linear-gradient(0deg, rgba(12, 18, 26, 0.64) 0%, rgba(12, 18, 26, 0.04) 45%);
}

.hero-content {
  align-self: start;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 86px);
  padding-top: clamp(72px, 9vh, 118px);
  padding-bottom: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #75d6ce;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

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

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: end;
}

.intro p:last-child,
.sage-panel p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  padding: 0;
  background: var(--line);
}

.proof div {
  min-height: 148px;
  padding: 28px clamp(18px, 3vw, 34px);
  background: var(--white);
}

.proof strong,
.proof span {
  display: block;
}

.proof strong {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.proof span {
  color: var(--muted);
  font-weight: 800;
}

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

.service-grid article {
  min-height: 286px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.service-grid span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--red);
  font-weight: 800;
}

.service-grid p,
.approach-steps p {
  color: var(--muted);
}

.sage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: stretch;
}

.sage-panel {
  padding: clamp(30px, 5vw, 54px);
  color: var(--white);
  background: var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sage-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.sage-panel .section-kicker {
  color: #75d6ce;
}

.signal-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.signal-list p {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin: 0;
  padding: 18px 20px;
  color: var(--teal-dark);
  background: #e8f4f2;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.capability-grid,
.module-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.capability-grid div,
.module-grid div,
.detail-grid div {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.capability-grid h3,
.module-grid h3,
.detail-grid h3 {
  color: var(--teal-dark);
}

.capability-grid p,
.module-grid p,
.detail-grid p {
  color: var(--muted);
}

.x3-modules .section-heading p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience {
  border-top: 1px solid var(--line);
}

.experience .section-heading p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.experience-columns div {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.experience-columns ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-columns li {
  color: var(--teal-dark);
  font-weight: 800;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.approach-steps div {
  padding-top: 24px;
  border-top: 2px solid var(--teal);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
  width: 100%;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--teal-dark);
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-panel a {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 3px;
}

.contact-panel .phone-link {
  margin-bottom: 24px;
  font-size: 1.02rem;
  text-decoration: none;
}

.contact-panel p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

footer {
  padding: 24px 18px;
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
  background: var(--charcoal);
}

footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .service-grid,
  .approach-steps,
  .capability-grid,
  .module-grid,
  .detail-grid,
  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .sage,
  .experience-columns,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 18px;
  }

  .brand-logo {
    width: 140px;
    height: 84px;
  }

  .brand-slogan {
    max-width: 260px;
    white-space: normal;
    font-size: 0.78rem;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 18, 26, 0.96), rgba(12, 18, 26, 0.68)),
      linear-gradient(0deg, rgba(12, 18, 26, 0.76), rgba(12, 18, 26, 0.08));
  }

  .hero-content {
    align-self: end;
    margin: 0 auto;
    padding: 64px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .approach-steps,
  .capability-grid,
  .module-grid,
  .detail-grid,
  .proof {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .service-grid span {
    margin-bottom: 26px;
  }
}
