:root {
  --white: #ffffff;
  --off-white: #f7f9fc;
  --deep-navy: #0b1f33;
  --charcoal: #1e293b;
  --muted-slate: #64748b;
  --primary-blue: #2563eb;
  --teal: #14b8a6;
  --border: #e2e8f0;
  --container: 1280px;
  --radius: 16px;
  --header-height: 54px;
  --anchor-offset: 66px;
  --cred-strip-height: 68px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--off-white);
  color: var(--charcoal);
}

body {
  font-family: Manrope, Inter, "Segoe UI", sans-serif;
  line-height: 1.62;
  letter-spacing: 0.01em;
}

.container {
  width: min(100% - 2.75rem, var(--container));
  margin: 0 auto;
}

.section-nav-anchor {
  display: block;
  width: 0;
  height: 0;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

#industries-anchor {
  scroll-margin-top: calc(var(--header-height) + 50px);
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border);
}

.header-grid {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.wordmark {
  text-decoration: none;
  color: var(--deep-navy);
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
}

.wordmark-brand {
  width: clamp(8.8rem, 11.5vw, 11.75rem);
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.site-nav .button {
  min-height: 2.2rem;
  padding: 0.4rem 0.9rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary-blue);
}

.menu-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle span {
  width: 1rem;
  height: 2px;
  background: var(--charcoal);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
}

.skip-link:focus {
  left: 10px;
  z-index: 100;
  background: var(--deep-navy);
  color: var(--white);
  padding: 0.5rem 0.8rem;
}

.section-shell {
  padding-block: clamp(6rem, 12vw, 8rem);
  position: relative;
  overflow: hidden;
}

.section-wide .container {
  max-width: 1180px;
}

.hero {
  padding-top: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: 0.75rem;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 100%;
  padding-right: 0.35rem;
}

.blueprint-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blueprint-layer span {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(to right, transparent 22px, rgba(100, 116, 139, 0.18) 22px, rgba(100, 116, 139, 0.18) 23px, transparent 23px),
    linear-gradient(to bottom, transparent 29px, rgba(100, 116, 139, 0.18) 29px, rgba(100, 116, 139, 0.18) 30px, transparent 30px);
  background-size: 32px 32px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--primary-blue);
  font-weight: 700;
  margin: 0 0 0.8rem 0;
}

.hero .eyebrow {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
}

.hero-content h1 {
  font-size: clamp(2.15rem, 3.75vw, 3.4rem);
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 20ch;
  line-height: 1.08;
  color: var(--deep-navy);
}

.hero-support {
  font-size: 1.1rem;
  max-width: 100%;
  color: var(--muted-slate);
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.button {
  font: inherit;
  text-decoration: none;
  min-height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.button-primary {
  background: linear-gradient(130deg, var(--primary-blue), #1843cc);
}

.button-ghost {
  background: var(--white);
  border-color: var(--border);
  color: var(--deep-navy);
}

.button:hover,
.button:focus-visible {
  opacity: 0.93;
}

.text-link {
  align-self: center;
  color: var(--deep-navy);
  font-weight: 600;
}

.hero-visual {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0;
  border-radius: var(--radius);
  position: relative;
  min-height: 312px;
  aspect-ratio: 1.46 / 1;
  display: grid;
  align-items: stretch;
  gap: 0;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.08),
    0 28px 34px -18px rgba(11, 31, 51, 0.34),
    0 40px 40px -30px rgba(37, 99, 235, 0.28);
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  justify-self: end;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(163, 206, 255, 0.08) 48%, rgba(9, 20, 36, 0.22) 100%);
  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.18), rgba(37, 99, 235, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.14));
  pointer-events: none;
  border-radius: inherit;
}

.hero-visual-image,
.hero-visual-image img {
  border-radius: inherit;
  width: 100%;
  display: block;
}

.hero-visual-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  min-height: 100%;
  border-radius: inherit;
}

.hero-visual-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(11, 31, 51, 0.04), rgba(11, 31, 51, 0.14) 58%, rgba(108, 170, 255, 0.14) 82%, rgba(11, 31, 51, 0.38) 100%);
}

.hero-visual-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.98;
}

.architecture-diagram {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.architecture-diagram-hero {
  display: none;
}

.line {
  stroke: rgba(11, 31, 51, 0.12);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
}

.nodes .node {
  fill: none;
  stroke: var(--primary-blue);
  stroke-width: 1.4;
}

.nodes .label {
  fill: #0f2a44;
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}

.nodes .center {
  fill: #1f3f63;
}

.pulse {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.6;
  opacity: 0;
}

.cred-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 0.32rem;
  border-block: 1px solid rgba(226, 232, 240, 0.18);
  background:
    linear-gradient(180deg, rgba(11, 31, 51, 0.98), rgba(30, 41, 59, 0.95)),
    radial-gradient(circle at 90% 20%, rgba(20, 184, 166, 0.24), transparent 42%);
}

.cred-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  color: var(--charcoal);
  text-align: center;
  font-weight: 600;
}

.cred-strip-stack {
  display: grid;
  gap: 0.08rem;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.cred-strip-stack p {
  margin: 0;
}

.cred-strip-orgs {
  max-width: 72rem;
  font-size: 0.955rem;
  font-weight: 600;
  line-height: 1.18;
  color: #e2e8f0;
}

.cred-strip-orgs strong {
  color: #ffffff;
  font-weight: 800;
}

.cred-strip-orgs em,
.cred-strip-summary em {
  color: #cbd5e1;
  font-style: italic;
}

.cred-strip-summary {
  max-width: 72rem;
  font-size: 0.935rem;
  font-weight: 700;
  line-height: 1.04;
  color: #dbeafe;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  align-items: center;
  column-gap: 1.9rem;
  row-gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cred-strip-summary li {
  white-space: nowrap;
  position: relative;
}

.cred-strip-summary li + li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 1px;
  height: 0.95rem;
  background: rgba(219, 234, 254, 0.35);
  transform: translateY(-50%);
}

@media (max-width: 1180px) {
  .cred-strip-summary {
    grid-template-columns: repeat(2, max-content);
    row-gap: 0.45rem;
  }
}

.cred-strip span {
  width: 1px;
  height: 1.05rem;
  background: rgba(100, 116, 139, 0.25);
}

.two-col.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.two-col.editorial .label-block h2 {
  font-size: clamp(2.075rem, 3.675vw, 3.375rem);
}

.two-col.editorial .editorial-copy .eyebrow {
  font-size: calc(1.15rem + 2px);
}

.two-col.editorial .editorial-copy p:not(.eyebrow) {
  font-size: calc(var(--text-body) + 2px);
}

.section-header h2,
.section-wide h2,
.section-shell h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 1.08;
  color: var(--deep-navy);
  margin: 0 0 1rem;
}

.section-kicker {
  font-size: 1.12rem;
  color: var(--muted-slate);
  max-width: 70ch;
}

.section-alt {
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.55), rgba(247, 249, 252, 1));
}

.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.practice-card {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(37, 99, 235, 0.12);
  border-radius: 12px;
  pointer-events: none;
}

.practice-card:hover,
.practice-card:focus-within {
  border-color: #c2d5ff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.practice-card h3 {
  margin: 0.2rem 0;
  font-size: 1.6rem;
  line-height: 1.15;
  position: relative;
}

.practice-card p {
  margin: 0;
}

.detail-toggle {
  align-self: flex-start;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  background: var(--off-white);
  color: var(--deep-navy);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.practice-detail {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.practice-detail li {
  margin-bottom: 0.45rem;
  color: var(--muted-slate);
}

.practice-card.open .practice-detail,
.practice-card.open .detail-toggle {
  max-height: 420px;
}

.section-blueprint {
  background:
    linear-gradient(180deg, rgba(11, 31, 51, 0.98), rgba(30, 41, 59, 0.95)),
    radial-gradient(circle at 90% 20%, rgba(20, 184, 166, 0.24), transparent 42%);
  color: #e2e8f0;
}

.section-blueprint .section-header h2 {
  color: #f8fafc;
  font-size: clamp(1.84rem, 3.15vw, 3.06rem);
}

.section-blueprint.section-shell {
  padding-top: clamp(4.6rem, 8vw, 5.6rem);
  padding-bottom: clamp(4.4rem, 8vw, 5.2rem);
}

.section-blueprint .section-header {
  margin-bottom: 1.35rem;
}

.section-blueprint .section-header p:last-child {
  max-width: 100%;
  width: 100%;
  font-size: 1.04rem;
  line-height: 1.7;
  margin-top: 0.9rem;
}

.industry-mosaic {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.24);
  border-radius: 14px;
  min-height: 365px;
  display: grid;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.industry-mosaic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.mosaic-grid {
  position: relative;
  z-index: 1;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.mosaic-grid div {
  background: rgba(11, 31, 51, 0.55);
  border: 1px solid rgba(226, 232, 240, 0.3);
  border-radius: 12px;
  min-height: 3.75rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.75rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(2px);
}

.industry-statement {
  margin-top: 1.2rem;
  max-width: 100%;
  font-size: 1.12rem;
}

.partner-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
  align-items: stretch;
}

.partner-col {
  padding: 1.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 1));
  min-height: 262px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.partner-col::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(37, 99, 235, 0.16);
  border-radius: 12px;
  pointer-events: none;
}

.partner-col h3 {
  font-size: 1.15rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.partner-col ul {
  margin: 0;
  padding-left: 1.15rem;
  position: relative;
  z-index: 1;
}

.partner-col li + li {
  margin-top: 0.7rem;
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: 560px;
}

.section-accent {
  background: linear-gradient(to bottom, rgba(247, 249, 252, 0.75), rgba(247, 249, 252, 1));
}

.why-copy {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  grid-template-areas:
    "eyebrow kicker"
    "title body"
    "title list"
    "title closing";
  column-gap: 2.5rem;
  row-gap: 0.7rem;
  align-items: start;
}

.why-copy > .eyebrow {
  grid-area: eyebrow;
  margin-bottom: 0;
}

.why-copy > h2 {
  grid-area: title;
}

.why-copy > .section-kicker {
  grid-area: kicker;
  max-width: none;
}

.why-copy > p:not(.eyebrow):not(.section-kicker):not(.closing-thought) {
  grid-area: body;
}

.why-copy > .strategy-list {
  grid-area: list;
  margin: 0;
}

.why-copy > .closing-thought {
  grid-area: closing;
}

.why-visual {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  min-height: 0;
  background: transparent;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.why-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  opacity: 0.1;
  filter: grayscale(12%);
}

.strategy-list {
  padding-left: 1rem;
}

.strategy-list li {
  margin-bottom: 0.5rem;
}

.closing-thought {
  font-weight: 600;
  color: #0f2a44;
}

.insight-line {
  max-width: 72ch;
  font-size: 1.1rem;
  color: var(--muted-slate);
}

.difference-list {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  max-width: 56rem;
}

.difference-list li {
  margin-bottom: 0.7rem;
  color: var(--charcoal);
  font-size: 1.06rem;
}

.difference-close {
  margin-top: 1.15rem;
  font-weight: 600;
  color: #21334a;
}

#insights {
  position: relative;
}

#insights h2 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

#insights .insight-line {
  max-width: 38rem;
}

#insights .difference-list,
#insights .difference-close {
  max-width: 38rem;
}

#insights::before {
  content: "";
  position: absolute;
  top: calc(clamp(10rem, 13vw, 11.5rem) + 35px);
  right: clamp(0.25rem, 1vw, 1rem);
  width: clamp(42rem, 40vw, 44rem);
  height: clamp(24rem, 66%, 32rem);
  background: url("images/icon_constellation_architecture_fit.png") center / 100% 100% no-repeat;
  transform: none;
  opacity: 0.88;
  mix-blend-mode: normal;
  filter: none;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  pointer-events: none;
}

#insights > .container {
  position: relative;
  z-index: 1;
}

.cta {
  text-align: center;
  background: #10243d;
  color: var(--white);
  overflow: hidden;
}

.cta.section-shell {
  padding-block: 0;
}

.cta > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
}

.cta .eyebrow {
  color: #9ad0ff;
}

.cta h2 {
  color: var(--white);
  text-align: center;
  justify-self: center;
  align-self: center;
  margin-inline: auto;
}

.cta-title-line {
  display: block;
  text-align: center;
}

.cta-title-line-main {
  white-space: nowrap;
}

.cta p {
  font-size: 1.15rem;
  color: #dbeafe;
  max-width: 58ch;
  margin-inline: auto;
  line-height: 1.65;
}

.cta-shell {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem);
}

.cta-shell > *:not(.contact-image) {
  position: relative;
  z-index: 1;
}

.cta .hero-actions {
  justify-content: center;
  margin-top: 1.4rem;
  margin-bottom: 1.2rem;
}

.cta-close {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.4rem;
}

.cta-signoff {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.cta-tagline {
  font-size: 1rem;
  font-style: italic;
  color: #cfe1ff;
  margin-bottom: 1.1rem;
}

.cta-footer-links {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1rem;
}

.cta-footer-links a,
.cta-copyright {
  color: #dbeafe;
  font-size: 0.88rem;
  text-decoration: none;
}

.cta-copyright {
  margin-left: 0.25rem;
}

.cta-footer-sep {
  color: rgba(219, 234, 254, 0.7);
  font-size: 0.9rem;
}

.cta-footer-links a:hover,
.cta-footer-links a:focus-visible {
  color: var(--white);
}

.contact-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  transform: scale(1.22);
  mix-blend-mode: screen;
  z-index: 0;
}

.site-footer {
  background: var(--deep-navy);
  color: var(--white);
  padding: 2.2rem 0 2.8rem;
}

.legal-page .site-footer {
  min-height: auto;
  display: block;
  padding: 0.9rem 0 1.1rem;
}

.legal-page .site-footer .container {
  gap: 0.12rem;
}

.legal-page .section-shell {
  padding-top: 2.75rem;
  padding-bottom: 1.9rem;
}

.legal-page .cta-footer-links {
  gap: 0.12rem 0.8rem;
  line-height: 1.1;
}

@media (min-width: 960px) {
  html {
    scroll-padding-top: var(--header-height);
  }

  .hero.section-shell {
    min-height: calc(100svh - var(--header-height) - var(--cred-strip-height));
    display: grid;
    align-items: center;
  }

  .cred-strip {
    min-height: var(--cred-strip-height);
  }

  main > .section-shell:not(.hero),
  .site-footer {
    min-height: calc(100svh - var(--header-height));
    display: grid;
    align-items: center;
  }

  .site-footer {
    align-items: start;
  }

  #insights {
    align-items: start;
    padding-top: clamp(3.5rem, 5vw, 4.5rem);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 1rem;
}

.site-footer p,
.site-footer a {
  color: #d2dbe8;
}

.footer-title {
  color: var(--white);
  margin: 0 0 0.4rem 0;
}

.site-footer nav {
  display: grid;
  gap: 0.35rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #8ec8ff;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal="hidden"] {
  opacity: 0;
  transform: translateY(18px);
}

.draw-line {
  stroke-dasharray: 350;
  stroke-dashoffset: 350;
}

.draw-line.active-line {
  animation: draw-line 2s ease forwards;
}

.pulse.active-line {
  animation: pulse 2.8s infinite;
  opacity: 0;
}

@keyframes draw-line {
  from {
    stroke-dashoffset: 350;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  20% {
    opacity: 0.55;
  }

  90% {
    opacity: 0;
    transform: scale(2.8);
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-col.editorial,
  .cards-grid,
  .partner-groups,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-image {
    display: none;
  }
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    left: 1rem;
    top: 5.2rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }
}

@media (max-width: 680px) {
  .section-shell {
    padding-block: 4.8rem;
  }

  .cred-strip .container {
    gap: 0.6rem 0.9rem;
    font-size: 0.95rem;
  }

  .cred-strip-stack {
    gap: 0.25rem;
  }

  .cred-strip-orgs,
  .cred-strip-summary {
    font-size: 1rem;
  }

  .cred-strip span {
    display: none;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

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

/* Expert design system refinement */
:root {
  --radius-lg: 22px;
  --radius-md: 12px;
  --section-y: clamp(6rem, 11vw, 9rem);
  --text-body: 1.03rem;
  --h1-size: clamp(2.5rem, 4.4vw, 4rem);
  --h2-size: clamp(2.4rem, 3.9vw, 3.8rem);
  --h3-size: clamp(1.32rem, 2.1vw, 1.72rem);
}

html {
  scroll-padding-top: var(--anchor-offset);
}

#practices,
#industries,
#partners,
#why,
#insights,
#contact,
#about {
  scroll-margin-top: var(--anchor-offset);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: #172233;
  font-size: var(--text-body);
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h2,
h3 {
  letter-spacing: -0.012em;
}

p {
  margin: 0;
}

.site-header {
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.22);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.12), transparent);
  transform: scaleX(0.86);
  transition: transform 0.25s ease;
}

.site-header.scrolled::after {
  transform: scaleX(1);
}

.site-header.scrolled {
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.wordmark {
  letter-spacing: 0.01em;
}

.wordmark-brand {
  filter: saturate(1.02) contrast(1.02);
}

.site-nav {
  gap: 0.55rem;
}

.site-nav a {
  font-size: 0.9rem;
  padding: 0.24rem 0.45rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:focus-visible,
.button:focus-visible,
.detail-toggle:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.button,
.detail-toggle {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  opacity: 0.97;
}

.button-primary {
  background: linear-gradient(130deg, #1752e1, #2563eb 70%, #1948c5);
}

.button-ghost {
  border: 1px solid #d8e0ea;
}

.hero {
  padding-top: 1.35rem;
  padding-bottom: 3.55rem;
}

.section-shell {
  padding-block: var(--section-y);
}

.hero.section-shell {
  padding-top: 1.45rem;
  padding-bottom: 1.2rem;
  overflow: visible;
}

.hero-grid {
  gap: 0.75rem;
}

.hero-content h1 {
  font-size: clamp(2.38rem, 4.18vw, 3.88rem);
}

.hero-support {
  font-size: 1.2rem;
  max-width: 100%;
  line-height: 1.52;
  margin-top: 0.8rem;
}

.hero-visual {
  border-radius: var(--radius-lg);
  border-color: rgba(226, 232, 240, 0.88);
  box-shadow: 0 20px 48px rgba(11, 31, 51, 0.09);
}

.architecture-diagram {
  margin-top: auto;
}

.cred-strip {
  border-top: 1px solid rgba(226, 232, 240, 0.18);
  border-bottom: 1px solid rgba(226, 232, 240, 0.18);
}

.section-shell h2,
.section-wide h2,
.section-header h2 {
  font-size: var(--h2-size);
}

.section-kicker {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 73ch;
}

@media (min-width: 960px) {
  #practices-anchor ~ .section-kicker {
    max-width: none;
    white-space: nowrap;
    font-size: 1.08rem;
  }
}

.section-alt {
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.cards-grid {
  gap: 1.2rem;
}

.practice-card {
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  gap: 0.75rem;
  min-height: 262px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 1));
}

.practice-card::before {
  inset: 10px;
  border-color: rgba(37, 99, 235, 0.16);
}

.practice-card h3 {
  font-size: var(--h3-size);
}

.practice-card p {
  color: #32445f;
  max-width: 52ch;
}

.detail-toggle {
  margin-top: auto;
  background: #f6f9ff;
  border-color: rgba(100, 116, 139, 0.28);
  padding-inline: 0.9rem;
}

.detail-toggle::after {
  content: " +";
  color: var(--primary-blue);
  font-weight: 700;
  margin-left: 0.38rem;
}

.practice-card.open .detail-toggle::after {
  content: " −";
}

.practice-card.open .detail-toggle {
  background: #edf2ff;
}

.practice-detail {
  margin-top: 0.45rem;
}

.industry-mosaic {
  border-radius: var(--radius-lg);
}

.mosaic-grid {
  gap: 0.76rem;
  padding: 1rem;
}

.mosaic-grid div {
  font-size: 1.08rem;
  min-height: 4rem;
  border-radius: var(--radius-md);
  border-color: rgba(226, 232, 240, 0.46);
}

.industry-statement {
  margin-top: 0.9rem;
  font-size: 1.04rem;
  max-width: 100%;
  width: 100%;
  color: #d5def2;
}

.partner-groups {
  gap: 2rem 1.5rem;
}

.partner-col {
  padding: 1.45rem;
}

.partner-col h3 {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.why-grid {
  gap: 2.2rem;
  align-items: center;
}

.why-visual {
  min-height: 560px;
  border-radius: var(--radius-lg);
}

.why-diagram {
  margin: 1rem 1rem 1rem 0.85rem;
  width: calc(100% - 1.85rem);
  height: 520px;
}

.strategy-list {
  font-size: 1.03rem;
}

.strategy-list li {
  margin-bottom: 0.65rem;
}

.closing-thought {
  font-size: 1.13rem;
}

.insight-line {
  font-size: 1.17rem;
}

.cta {
  padding-top: 5.7rem;
  padding-bottom: 6rem;
}

.cta h2 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  max-width: 16ch;
  margin-inline: auto;
}

.cta p {
  font-size: 1.28rem;
}

.site-footer {
  padding-top: 2.8rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.16);
}

.site-footer p {
  max-width: 32ch;
}

.site-footer nav,
.site-footer > .container > div:last-child {
  gap: 0.8rem;
}

@media (min-width: 1440px) {
  .container {
    width: min(100% - 3rem, 1320px);
  }

  .hero-grid {
    gap: 3rem;
  }

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

@media (max-width: 1080px) {
  :root {
    --h1-size: clamp(2.3rem, 6.1vw, 3.35rem);
    --h2-size: clamp(2rem, 6vw, 3rem);
    --h3-size: clamp(1.2rem, 4vw, 1.5rem);
  }

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

  .hero-support {
    font-size: 1.06rem;
  }

  .hero-visual {
    max-width: none;
    justify-self: stretch;
    min-height: 290px;
    aspect-ratio: auto;
  }

  .why-copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "kicker"
      "body"
      "list"
      "closing";
    column-gap: 0;
    row-gap: 1rem;
  }

  .cards-grid,
  .partner-groups {
    grid-template-columns: 1fr 1fr;
  }

  #insights::before {
    width: clamp(18rem, 32vw, 24rem);
    height: clamp(22rem, 62%, 28rem);
    opacity: 0.78;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: clamp(4.8rem, 14vw, 6rem);
    --text-body: 1rem;
  }

  .site-header {
    position: sticky;
  }

  .site-nav {
    gap: 0.2rem;
  }

  .cred-strip .container {
    align-items: flex-start;
  }

  .two-col.editorial {
    gap: 1.8rem;
  }

  .cards-grid,
  .partner-groups {
    grid-template-columns: 1fr;
  }

  .practice-card {
    min-height: 0;
  }

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

  .industry-mosaic {
    min-height: 520px;
  }

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

  .cta p {
    font-size: 1.15rem;
  }

  .hero-visual {
    min-height: 340px;
  }

  #insights::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .wordmark-brand {
    width: min(11rem, 48vw);
  }

  .site-header {
    margin-top: env(safe-area-inset-top);
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8.2vw, 2.55rem);
    max-width: 11ch;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .cred-strip {
    padding-block: 1rem;
  }

  .section-shell h2,
  .section-wide h2,
  .section-header h2 {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
  }

  .cta h2 {
    font-size: clamp(1.85rem, 7.6vw, 2.4rem);
  }

  .cta {
    text-align: left;
  }

  .cta .hero-actions {
    flex-direction: column;
  }

  .site-footer {
    padding-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-reveal="hidden"] {
    opacity: 1;
    transform: none;
  }

  .draw-line {
    stroke-dashoffset: 0 !important;
  }

  .pulse {
    opacity: 0.2;
    transform: none;
    animation: none;
  }
}
