:root {
  --ink: #111315;
  --muted: #5b6268;
  --paper: #f7f5ef;
  --paper-strong: #fffaf0;
  --line: rgba(17, 19, 21, 0.14);
  --charcoal: #141717;
  --blue: #2367ff;
  --green: #16a085;
  --gold: #d59b2d;
  --coral: #ee6b4d;
  --white: #ffffff;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a,
.nav-cta {
  opacity: 0.9;
}

.nav-links a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav-links a[aria-current="page"] {
  color: var(--gold);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.site-header.is-nav-open .nav-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--white);
  background: #0c1012;
}

#intelligence-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 13, 16, 0.94) 0%, rgba(9, 13, 16, 0.7) 45%, rgba(9, 13, 16, 0.2) 100%),
    linear-gradient(0deg, rgba(9, 13, 16, 0.96) 0%, rgba(9, 13, 16, 0.08) 58%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 56px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  line-height: 0.91;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

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

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 56px 0 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-proof div {
  min-height: 112px;
  padding: 20px;
  background: rgba(9, 13, 16, 0.62);
}

.hero-proof dt {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-proof dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

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

.intro-grid,
.section-head,
.split-section,
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.intro h2,
.section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-copy p,
.section-head p,
.split-section p,
.contact-section p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.capability-band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--paper-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 40px;
}

.section-head.compact {
  grid-template-columns: minmax(0, 0.8fr);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.capability {
  min-height: 280px;
  padding: 24px;
  background: var(--paper-strong);
}

.capability-index {
  display: inline-block;
  margin-bottom: 64px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
}

.capability h3,
.method-timeline h3,
.governance-grid h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.capability p,
.method-timeline p,
.governance-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

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

.method-timeline article {
  padding: 22px 0 0;
  border-top: 2px solid var(--ink);
}

.method-timeline span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
}

.split-section {
  align-items: stretch;
}

.industry-list {
  display: grid;
  gap: 10px;
}

.industry-item {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 19px 20px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.industry-item:hover,
.industry-item.active {
  transform: translateX(3px);
  background: var(--white);
  border-color: rgba(35, 103, 255, 0.42);
}

.industry-item span {
  font-weight: 800;
}

.industry-item small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.governance-band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--charcoal);
}

.governance-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.governance-grid div {
  min-height: 180px;
  padding: 22px;
  background: #1c2020;
}

.governance-grid p {
  color: rgba(255, 255, 255, 0.66);
}

.outcomes-section {
  text-align: center;
}

.outcomes-section h2 {
  max-width: 740px;
  margin: 0 auto 36px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  text-align: left;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.outcomes-grid div {
  min-height: 176px;
  padding: 24px;
  background: var(--paper);
}

.outcomes-grid strong {
  display: block;
  margin-bottom: 16px;
  font-size: 1.18rem;
}

.outcomes-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  padding: clamp(64px, 9vw, 112px) max(18px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: linear-gradient(135deg, #11252a, #171717 58%, #203d35);
}

.contact-content {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

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

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  outline: none;
  padding: 13px 14px;
}

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

.form-note {
  margin: 0;
  min-height: 22px;
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.68);
  background: #101111;
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 800;
}

.page-hero {
  min-height: 72svh;
  display: grid;
  align-items: end;
  padding: 124px 0 56px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(13, 16, 18, 0.96) 0%, rgba(13, 16, 18, 0.86) 54%, rgba(13, 16, 18, 0.62) 100%),
    linear-gradient(135deg, #143c3a, #101214 48%, #2d2620);
  overflow: hidden;
}

.page-hero.method-hero {
  background:
    linear-gradient(115deg, rgba(13, 16, 18, 0.96) 0%, rgba(13, 16, 18, 0.84) 54%, rgba(13, 16, 18, 0.62) 100%),
    linear-gradient(135deg, #172f49, #151615 52%, #3b2b18);
}

.page-hero.industries-hero {
  background:
    linear-gradient(115deg, rgba(13, 16, 18, 0.96) 0%, rgba(13, 16, 18, 0.84) 54%, rgba(13, 16, 18, 0.62) 100%),
    linear-gradient(135deg, #283314, #111314 50%, #3c2430);
}

.page-hero.governance-hero {
  background:
    linear-gradient(115deg, rgba(13, 16, 18, 0.96) 0%, rgba(13, 16, 18, 0.86) 54%, rgba(13, 16, 18, 0.62) 100%),
    linear-gradient(135deg, #23313f, #111313 50%, #213c35);
}

.page-hero-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--white);
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.page-hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.62;
}

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

.page-visual {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.page-visual div {
  min-height: 118px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.075);
}

.page-visual span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-visual strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
}

.page-visual small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.content-band {
  padding: clamp(64px, 9vw, 108px) max(18px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

.content-band.alt {
  background: var(--paper-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-band.dark {
  color: var(--white);
  background: var(--charcoal);
}

.page-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.page-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  margin-bottom: 38px;
}

.page-section-head h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-section-head p,
.text-stack p,
.deep-card p,
.detail-row p,
.proof-strip p,
.service-list p,
.cta-band p,
.dark .page-section-head p,
.dark .deep-card p,
.dark .detail-row p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.dark .page-section-head p,
.dark .deep-card p,
.dark .detail-row p,
.dark .proof-strip p,
.dark .service-list p,
.dark .cta-band p {
  color: rgba(255, 255, 255, 0.68);
}

.deep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.deep-card {
  min-height: 270px;
  padding: 24px;
  background: var(--paper);
}

.alt .deep-card {
  background: var(--paper-strong);
}

.dark .deep-card {
  background: #1c2020;
}

.deep-card .capability-index {
  margin-bottom: 48px;
}

.deep-card h3,
.detail-row h3,
.proof-strip h3,
.service-list h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.detail-rows {
  display: grid;
  border-top: 1px solid var(--line);
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr) minmax(240px, 0.46fr);
  gap: clamp(20px, 4vw, 60px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.detail-row strong {
  color: var(--coral);
  font-size: 0.82rem;
}

.detail-row ul,
.service-list ul,
.text-stack ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.dark .detail-row ul,
.dark .service-list ul,
.dark .text-stack ul {
  color: rgba(255, 255, 255, 0.68);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-strip div {
  min-height: 170px;
  padding: 22px;
  background: var(--paper);
}

.alt .proof-strip div {
  background: var(--paper-strong);
}

.dark .proof-strip {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.dark .proof-strip div {
  background: #1c2020;
}

.service-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  padding: 24px;
  background: var(--paper);
}

.alt .service-list article {
  background: var(--paper-strong);
}

.dark .service-list {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.dark .service-list article {
  background: #1c2020;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(35, 103, 255, 0.1);
  border: 1px solid rgba(35, 103, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.dark .tag-row span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, #11252a, #171717 58%, #203d35);
  border-radius: var(--radius);
}

.cta-band p {
  max-width: 670px;
  margin-top: 16px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    background: rgba(247, 245, 239, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.is-nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 15px 14px;
    border-radius: 6px;
  }

  .nav-links a:hover {
    background: rgba(35, 103, 255, 0.08);
  }

  .intro-grid,
  .section-head,
  .split-section,
  .contact-content,
  .governance-panel,
  .page-hero-layout,
  .page-section-head,
  .two-column,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .outcomes-grid,
  .deep-grid,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-row,
  .service-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding-top: 118px;
  }

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

  .hero-proof,
  .capability-grid,
  .method-timeline,
  .governance-grid,
  .outcomes-grid,
  .deep-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 82svh;
    padding-top: 110px;
  }

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

  .hero-proof div,
  .capability,
  .governance-grid div,
  .outcomes-grid div,
  .deep-card,
  .proof-strip div {
    min-height: auto;
  }

  .capability-index {
    margin-bottom: 36px;
  }

  .site-footer {
    display: grid;
  }

  .cta-band {
    padding: 24px;
  }
}
