:root {
  --navy: #041B3A;
  --navy-2: #062855;
  --blue: #1F6BFF;
  --blue-strong: #005CFF;
  --blue-light: #4F8FFF;
  --text: #0A1D3B;
  --muted: #5A6B82;
  --line: #E5EAF0;
  --surface: #F7FAFE;
  --surface-blue: #F0F6FF;
  --white: #FFFFFF;
  --shadow: 0 18px 48px rgba(4, 27, 58, .08);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1440px;
  --header-height: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 82px 0; }
.section-dark { color: var(--white); background: var(--navy); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 9999;
  background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(4,27,58,.07);
  backdrop-filter: blur(12px);
}
.nav-wrap { height: 86px; display: grid; grid-template-columns: 300px 1fr auto; gap: 28px; align-items: center; }
.brand { width: 276px; overflow: hidden; }
.brand img { width: 276px; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 34px; }
.primary-nav a { position: relative; font-size: 14px; font-weight: 600; color: #13213A; padding: 32px 0 28px; }
.primary-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 20px; height: 2px; background: var(--blue); transition: .22s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { left: 0; right: 0; }
.primary-nav a.active { color: var(--blue-strong); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; margin: 5px 0; transition: .2s ease; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 8px;
  color: var(--white); font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 10px 24px rgba(0,92,255,.2); transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,92,255,.27); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(31,107,255,.35); outline-offset: 3px; }
.button-small { min-height: 44px; padding: 0 20px; }
.text-link { color: var(--blue-strong); font-size: 14px; font-weight: 700; white-space: nowrap; }
.light-link { color: #69AEFF; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 50%, rgba(31,107,255,.19), transparent 34%),
    linear-gradient(130deg, #04182F 0%, #041B3A 48%, #062453 100%);
}
.hero-grid { min-height: 550px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); align-items: center; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
.hero-copy { padding: 24px 0; max-width: 690px; }
.eyebrow { margin: 0 0 12px; color: var(--blue-strong); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #C7DBFF; }
h1,h2,h3 { font-family: "Montserrat", "Inter", sans-serif; margin-top: 0; color: var(--navy); letter-spacing: -.025em; }
h1 { margin-bottom: 20px; color: var(--white); font-size: clamp(44px, 4.7vw, 76px); line-height: 1.06; max-width: 780px; }
h1 span { color: var(--blue); }
h2 { margin-bottom: 14px; font-size: clamp(31px, 3vw, 48px); line-height: 1.13; }
h3 { margin-bottom: 10px; font-size: 18px; line-height: 1.25; }
.hero-lead { margin: 0; max-width: 670px; font-size: 18px; color: #E6EDF8; line-height: 1.65; }
.tech-inline { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0 0; gap: 0; color: #F5F8FD; }
.tech-inline li { font-size: 13px; font-weight: 600; }
.tech-inline li:not(:last-child)::after { content: "•"; margin: 0 13px; color: #81B9FF; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 31px; }
.hero-art { display: flex; align-items: center; justify-content: center; min-width: 0; }
.hero-art img { width: 100%; max-width: 760px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.18)); }

.section-heading { margin-bottom: 34px; }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 720px; margin: 0; }
.split-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.compact-heading { margin-bottom: 30px; }

.deliver-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 300px; padding: 27px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff 0%, #FBFDFF 100%); box-shadow: 0 10px 30px rgba(4,27,58,.035); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(31,107,255,.33); box-shadow: var(--shadow); }
.icon-box { width: 52px; height: 52px; margin-bottom: 24px; color: var(--blue-strong); }
.icon-box svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 2.1; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.service-card p { margin: 0 0 20px; color: #425571; }
.service-card > span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }

.how-section { background: linear-gradient(180deg, #EFF6FF 0%, #F7FAFE 100%); border-top: 1px solid #E7F0FC; border-bottom: 1px solid #E7F0FC; }
.how-grid { display: grid; grid-template-columns: 290px 1fr; gap: 42px; align-items: center; }
.how-copy p:not(.eyebrow) { color: var(--muted); margin: 0 0 24px; }
.pipeline-flow { min-width: 0; display: grid; grid-template-columns: 1fr auto .86fr auto 2.25fr auto 1.1fr; gap: 12px; align-items: center; }
.flow-group small { display: block; min-height: 30px; margin-bottom: 9px; color: #0A4FBC; font-size: 11px; font-weight: 800; text-align: center; }
.flow-card, .medallion-card { min-height: 190px; padding: 18px; border-radius: 12px; border: 1px solid #D8E4F3; background: #fff; box-shadow: 0 12px 26px rgba(4,27,58,.05); }
.flow-card { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.flow-card span { font-size: 12px; font-weight: 600; }
.ingest-card { text-align: center; align-items: center; }
.ingest-card strong { color: var(--blue-strong); font-family: "Montserrat", sans-serif; }
.ingest-card em { margin-top: 9px; color: var(--blue); font-size: 11px; font-style: normal; line-height: 1.5; }
.flow-arrow, .mini-arrow { color: var(--blue-strong); font-weight: 800; font-size: 26px; }
.medallion-card { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.medallion-card p { grid-column: 1 / -1; margin: 8px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.medal { min-height: 115px; border-radius: 9px; padding: 15px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(4,27,58,.08); }
.medal strong { font-family: "Montserrat", sans-serif; font-size: 13px; }
.medal span { margin-top: 7px; color: var(--muted); font-size: 11px; }
.bronze { background: linear-gradient(145deg, #F4ECE5, #FBF7F3); color: #9A5B2F; }
.silver { background: linear-gradient(145deg, #EFF3F7, #FAFCFD); color: #6B7F98; }
.gold { background: linear-gradient(145deg, #FFF4C9, #FFFBE9); color: #AF7B00; }

.expertise-grid { display: grid; grid-template-columns: 1.55fr repeat(4, 1fr); gap: 0; }
.expertise-intro { padding-right: 40px; }
.expertise-intro p:not(.eyebrow) { color: var(--muted); }
.expertise-card { padding: 0 30px; border-left: 1px solid var(--line); }
.expertise-card h3 { color: var(--navy); font-size: 23px; }
.expertise-card ul { list-style: none; padding: 0; margin: 22px 0 0; }
.expertise-card li { position: relative; padding-left: 18px; margin: 10px 0; color: var(--muted); font-size: 13px; }
.expertise-card li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 800; }

.engineering-section { background: #F6F9FD; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 25px rgba(4,27,58,.035); }
.project-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 12px; }
.project-card p { color: var(--muted); margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { padding: 5px 8px; border-radius: 5px; background: #EEF3F8; color: #38506E; font-size: 10px; font-weight: 700; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight-card { display: grid; grid-template-columns: 115px 1fr; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.insight-card h3 { font-size: 15px; margin-bottom: 7px; }
.insight-card p { margin: 0; color: var(--muted); font-size: 12px; }
.insight-visual { height: 96px; border-radius: 10px; background: var(--navy); overflow: hidden; }
.insight-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-section { background: #FBFCFE; border-top: 1px solid #F0F3F7; }
.about-content { max-width: none; }
.about-heading { max-width: none; margin-bottom: 30px; }
.about-heading h2 { margin-bottom: 0; white-space: nowrap; }
.about-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: none;
}
.about-copy-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.cta-section { background: linear-gradient(110deg, #04182F, #06265A); }
.cta-wrap { min-height: 360px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; padding-top: 72px; padding-bottom: 72px; }
.contact-copy { max-width: 570px; }
.cta-wrap h2 { color: #fff; margin-bottom: 14px; }
.cta-wrap .contact-copy p:not(.eyebrow) { margin: 0; color: #D3E0F1; font-size: 17px; }
.contact-details-card {
  border: 1px solid rgba(255,255,255,.16); border-radius: 16px;
  background: rgba(255,255,255,.98); box-shadow: 0 24px 60px rgba(0,0,0,.18); overflow: hidden;
}
.contact-card-heading { padding: 28px 32px 24px; border-bottom: 1px solid var(--line); }
.contact-card-kicker { margin: 0 0 6px; color: var(--navy); font-family: "Montserrat", "Inter", sans-serif; font-size: 17px; font-weight: 800; }
.contact-card-note { margin: 0; color: var(--muted); font-size: 13px; }
.contact-line { min-height: 96px; padding: 22px 32px; display: grid; grid-template-columns: 130px 1fr; align-items: center; column-gap: 24px; }
.contact-line + .contact-line { border-top: 1px solid var(--line); }
.contact-label-row { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.contact-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-value { overflow-wrap: anywhere; color: var(--navy); font-family: "Montserrat", "Inter", sans-serif; font-size: clamp(17px, 1.55vw, 22px); font-weight: 700; letter-spacing: -.02em; }
.contact-value:hover { color: var(--blue-strong); }
.contact-icon {
  flex: 0 0 auto; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #EEF2F6; color: var(--blue-strong);
}
.contact-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-footer { padding: 44px 0 28px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; align-items: start; gap: 58px; }
.footer-identity p { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.footer-brand { display: block; width: 300px; max-width: 100%; overflow: hidden; }
.footer-brand img { display: block; width: 300px; max-width: 100%; height: auto; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column strong { margin-bottom: 5px; color: var(--blue-strong); font-family: "Montserrat", "Inter", sans-serif; font-size: 15px; font-weight: 800; line-height: 1.2; }
.footer-nav { justify-content: flex-start; }
.footer-nav a,
.footer-contact a { font-size: 12px; font-weight: 700; }
.footer-nav a.active { color: var(--blue-strong); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.footer-contact-icon {
  flex: 0 0 auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: #EEF2F6; color: var(--blue-strong);
}
.footer-contact-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom > p:first-child { flex: 0 0 auto; }
.footer-note { flex: 1; max-width: none; text-align: right; }


/* Back-to-top control: appears after the visitor scrolls down the page. */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: var(--blue-strong);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(4,27,58,.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(4,27,58,.28);
}
.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1200px) {
  .nav-wrap { grid-template-columns: 245px 1fr auto; }
  .brand, .brand img { width: 225px; }
  .primary-nav { gap: 22px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .deliver-grid { grid-template-columns: repeat(3, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .expertise-intro { grid-column: 1 / -1; padding-right: 0; max-width: 720px; }
  .expertise-card:nth-of-type(2), .expertise-card:nth-of-type(4) { border-left: 0; padding-left: 0; }
  .pipeline-flow { overflow-x: auto; padding-bottom: 8px; grid-template-columns: 155px 24px 145px 24px 360px 24px 155px; }
}

@media (max-width: 900px) {
  .about-heading { margin-bottom: 22px; }
  .about-heading h2 { white-space: normal; }
  .about-copy-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .container { width: min(calc(100% - 34px), var(--container)); }
  .section { padding: 64px 0; }
  .nav-wrap { height: 76px; grid-template-columns: 1fr auto; }
  .brand, .brand img { width: 208px; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgba(4,27,58,.08); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 6px; }
  .primary-nav a::after { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 54px; padding-bottom: 32px; }
  .hero-copy { max-width: 760px; }
  .hero-art { margin-top: -10px; }
  .hero-art img { max-width: 720px; }
  .split-heading { align-items: start; flex-direction: column; }
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .how-copy { max-width: 620px; }
  .project-grid, .insights-grid { grid-template-columns: 1fr; }
  .cta-wrap { min-height: 0; grid-template-columns: 1fr; gap: 34px; padding-top: 62px; padding-bottom: 62px; }
  .contact-copy { max-width: 680px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .footer-note { text-align: left; }
}

@media (max-width: 600px) {
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand, .brand img { width: 178px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .tech-inline li { font-size: 12px; }
  .deliver-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card, .expertise-card:nth-of-type(2), .expertise-card:nth-of-type(4) { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .insight-card { grid-template-columns: 90px 1fr; }
  .contact-card-heading { padding: 24px 22px 20px; }
  .contact-line { min-height: 88px; padding: 20px 22px; grid-template-columns: 1fr; row-gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-identity { grid-column: auto; }
}

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

/* Technical expertise icon slot */
.expertise-icon {
  display: inline-grid;
  place-items: center;
  margin: 0;
}
.expertise-icon img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* Technical Expertise section aligned to the approved mockup. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.expertise-section {
  padding-top: 62px;
  padding-bottom: 62px;
}
.expertise-section .expertise-grid {
  grid-template-columns: 1.22fr repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.expertise-section .expertise-intro {
  padding-right: 48px;
}
.expertise-section .expertise-intro .eyebrow {
  margin-bottom: 16px;
}
.expertise-section .expertise-intro h2 {
  max-width: 360px;
  margin-bottom: 18px;
  font-size: clamp(30px, 2.25vw, 40px);
  line-height: 1.14;
}
.expertise-section .expertise-intro p:not(.eyebrow) {
  max-width: 345px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.expertise-section .expertise-card {
  min-width: 0;
  padding: 4px 34px 0;
  border-left: 1px solid var(--line);
}
.expertise-section .expertise-card ul {
  margin: 0;
}
.expertise-section .expertise-card li {
  margin: 7px 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .expertise-section .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }
  .expertise-section .expertise-intro {
    grid-column: 1 / -1;
    max-width: 720px;
    padding: 0 0 36px;
  }
  .expertise-section .expertise-intro h2,
  .expertise-section .expertise-intro p:not(.eyebrow) { max-width: 620px; }
  .expertise-section .expertise-card {
    padding: 30px 34px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .expertise-section .expertise-card:nth-of-type(even) { border-left: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .expertise-section { padding-top: 54px; padding-bottom: 54px; }
  .expertise-section .expertise-grid { grid-template-columns: 1fr; }
  .expertise-section .expertise-card,
  .expertise-section .expertise-card:nth-of-type(even) {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* How We Build + Technical Expertise use the global html scroll-padding-top.
   Do not add scroll-margin here; combining both offsets causes anchor links
   (notably Expertise) to stop too early and lose the active nav state. */

.mockup-wide {
  width: min(calc(100% - 100px), 1848px);
}

/* HOW WE BUILD */
.how-section {
  padding: 22px 0 20px;
  background: linear-gradient(90deg, #F1F7FF 0%, #EDF6FF 48%, #F4F9FF 100%);
  border-top: 1px solid #E7F0FC;
  border-bottom: 1px solid #E7F0FC;
}
.how-section .how-grid {
  display: grid;
  grid-template-columns: 24% 1fr;
  gap: 3%;
  align-items: center;
}
.how-section .how-copy {
  max-width: none;
  align-self: center;
}
.how-section .how-copy .eyebrow {
  margin-bottom: 7px;
  font-size: clamp(9px, .62vw, 12px);
  letter-spacing: .13em;
}
.how-section .how-copy h2 {
  margin-bottom: 9px;
  font-size: clamp(25px, 2.15vw, 40px);
  line-height: 1.13;
}
.how-section .how-copy p:not(.eyebrow) {
  max-width: 310px;
  margin: 0 0 14px;
  color: #425571;
  font-size: clamp(11px, .86vw, 15px);
  line-height: 1.48;
}
.how-section .how-button {
  min-height: clamp(34px, 2.8vw, 44px);
  padding: 0 clamp(16px, 1.7vw, 25px);
  border-radius: 5px;
  font-size: clamp(10px, .78vw, 13px);
  box-shadow: none;
}

.how-section .pipeline-flow {
  display: grid;
  grid-template-columns: 1.08fr 20px .94fr 20px 2.4fr 20px .95fr;
  gap: 7px;
  align-items: center;
  min-width: 0;
  overflow: visible;
  padding: 0;
}
.how-section .flow-group {
  min-width: 0;
}
.how-section .flow-group small {
  display: block;
  min-height: 18px;
  margin: 0 0 6px;
  color: #0A4FBC;
  font-size: clamp(8px, .58vw, 11px);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}
.how-section .flow-card,
.how-section .medallion-card {
  height: clamp(146px, 13.6vw, 205px);
  min-height: 0;
  padding: clamp(10px, 1vw, 15px);
  border: 1px solid #D8E4F3;
  border-radius: 7px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 16px rgba(4,27,58,.055);
}
.how-section .flow-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(7px, .65vw, 10px);
}
.how-section .flow-row {
  display: flex;
  align-items: center;
  gap: clamp(7px, .65vw, 10px);
  min-width: 0;
  color: #102341;
  font-size: clamp(8px, .66vw, 12px);
  font-weight: 650;
  line-height: 1.18;
}
.how-section .flow-row span:last-child { min-width: 0; }
.how-section .flow-icon {
  flex: 0 0 auto;
  width: clamp(15px, 1.35vw, 22px);
  height: clamp(15px, 1.35vw, 22px);
  fill: none;
  stroke: var(--blue-strong);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how-section .flow-arrow,
.how-section .mini-arrow {
  color: var(--blue-strong);
  font-size: clamp(17px, 1.55vw, 26px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
.how-section .ingest-card {
  align-items: center;
  gap: 1px;
  padding-left: 7px;
  padding-right: 7px;
  text-align: center;
}
.how-section .ingest-icon {
  width: clamp(25px, 2.2vw, 36px);
  height: clamp(25px, 2.2vw, 36px);
  margin-bottom: 1px;
  fill: none;
  stroke: var(--blue-strong);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how-section .ingest-card strong {
  color: var(--navy);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(10px, .76vw, 13px);
}
.how-section .ingest-mode {
  color: #13213A;
  font-size: clamp(7px, .55vw, 10px);
  font-weight: 650;
  line-height: 1.25;
}
.how-section .ingest-tools {
  display: grid;
  gap: 0;
  margin-top: 5px;
  color: #2775DE;
  font-size: clamp(7px, .55vw, 10px);
  line-height: 1.28;
}
.how-section .medallion-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  grid-template-rows: 1fr auto;
  gap: clamp(5px, .55vw, 9px);
  align-items: center;
  padding-bottom: 7px;
}
.how-section .medal {
  min-height: 0;
  height: calc(100% - 18px);
  padding: clamp(6px, .65vw, 10px) 5px;
  border: 1px solid rgba(4,27,58,.08);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.how-section .medal-icon {
  display: grid;
  place-items: center;
  width: clamp(36px, 3.4vw, 52px);
  height: clamp(36px, 3.4vw, 52px);
  margin-bottom: 4px;
  border-radius: 5px;
  background: rgba(255,255,255,.48);
}
.how-section .medal-icon svg {
  width: 70%;
  height: 70%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how-section .medal strong {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(8px, .61vw, 11px);
  line-height: 1.05;
}
.how-section .medal > span:last-child {
  margin-top: 3px;
  color: #102341;
  font-size: clamp(7px, .52vw, 9px);
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
}
.how-section .bronze { color: #A66324; background: #F5EFE9; }
.how-section .silver { color: #8198B6; background: #EDF3F9; }
.how-section .gold { color: #E6AA00; background: #FFF8D7; }
.how-section .medallion-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #50637F;
  font-size: clamp(7px, .55vw, 10px);
  line-height: 1.1;
  text-align: center;
}

/* TECHNICAL EXPERTISE */
.expertise-section {
  padding: 22px 0 24px;
  background: #fff;
}
.expertise-section .expertise-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}
.expertise-section .expertise-intro {
  max-width: none;
  padding: 0 42px 0 0;
}
.expertise-section .expertise-intro .eyebrow {
  margin: 0 0 8px;
  font-size: clamp(9px, .62vw, 12px);
  letter-spacing: .13em;
}
.expertise-section .expertise-intro h2 {
  max-width: none;
  margin: 0 0 9px;
  font-size: clamp(25px, 2.05vw, 40px);
  line-height: 1.13;
}
.expertise-section .expertise-intro p:not(.eyebrow) {
  max-width: 330px;
  margin: 0;
  color: #425571;
  font-size: clamp(10px, .8vw, 15px);
  line-height: 1.45;
}
.expertise-section .expertise-card,
.expertise-section .expertise-card:nth-of-type(even) {
  min-width: 0;
  padding: 3px clamp(22px, 2.2vw, 42px) 0;
  border-top: 0;
  border-left: 1px solid #DDE5EE;
}
.expertise-section .expertise-label {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 64px;
  margin: 0 0 clamp(18px, 1.55vw, 26px);
}
.expertise-section .expertise-index {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 7px;
  border: 0;
  border-radius: 14px;
  background: #F5F9FF;
  overflow: hidden;
}
.expertise-section .expertise-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.expertise-section .expertise-label h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(16px, 1.15vw, 21px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.expertise-section .expertise-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.expertise-section .expertise-card li {
  position: relative;
  margin: clamp(4px, .42vw, 7px) 0;
  padding-left: clamp(14px, 1.05vw, 19px);
  color: #50637F;
  font-size: clamp(10px, .8vw, 15px);
  line-height: 1.35;
}
.expertise-section .expertise-card li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-strong);
  font-weight: 800;
}

@media (max-width: 1100px) and (min-width: 901px) {
  /* Keep the same 50px page gutters used by the 1024px source mockup. */
  .mockup-wide { width: calc(100% - 100px); }
  .how-section .how-grid { grid-template-columns: 24% 1fr; gap: 3%; }
  .how-section .pipeline-flow { grid-template-columns: 1.08fr 14px .94fr 14px 2.4fr 14px .95fr; gap: 4px; }
  .expertise-section .expertise-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
  .expertise-section .expertise-intro { grid-column: auto; padding-right: 28px; }
  .expertise-section .expertise-card,
  .expertise-section .expertise-card:nth-of-type(even) { padding-left: 22px; padding-right: 18px; border-top: 0; border-left: 1px solid #DDE5EE; }
}

@media (max-width: 900px) {
  .mockup-wide { width: min(calc(100% - 34px), var(--container)); }
  .how-section { padding: 48px 0; }
  .how-section .how-grid { grid-template-columns: 1fr; gap: 30px; }
  .how-section .how-copy p:not(.eyebrow) { max-width: 580px; }
  .how-section .pipeline-flow {
    overflow-x: auto;
    grid-template-columns: 150px 20px 130px 20px 330px 20px 145px;
    gap: 7px;
    padding-bottom: 8px;
  }
  .how-section .flow-card,
  .how-section .medallion-card { height: 160px; }

  .expertise-section { padding: 48px 0; }
  .expertise-section .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-section .expertise-intro { grid-column: 1 / -1; padding: 0 0 28px; }
  .expertise-section .expertise-intro h2 br { display: none; }
  .expertise-section .expertise-card,
  .expertise-section .expertise-card:nth-of-type(even) { padding: 26px; border-top: 1px solid #DDE5EE; border-left: 0; }
  .expertise-section .expertise-card:nth-of-type(even) { border-left: 1px solid #DDE5EE; }
}

@media (max-width: 600px) {
  .mockup-wide { width: min(calc(100% - 28px), var(--container)); }
  .expertise-section .expertise-grid { grid-template-columns: 1fr; }
  .expertise-section .expertise-card,
  .expertise-section .expertise-card:nth-of-type(even) { padding: 24px 0; border-left: 0; border-top: 1px solid #DDE5EE; }
}


/* How We Build refinement against the approved original mockup.
   Scope: group-label typography + Lakehouse (Medallion) visual treatment only. */
.how-section .flow-group small {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(10px, .68vw, 13px);
  font-weight: 700;
  letter-spacing: -.01em;
}

/* The mockup uses compact layer cards inside the Lakehouse shell. */
.how-section .medallion-card {
  padding: 10px 10px 8px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 8px;
  row-gap: 6px;
  background: #FFFFFF;
  border: 1px solid #DCE7F3;
  border-radius: 7px;
  box-shadow: 0 5px 14px rgba(4,27,58,.04);
}

.how-section .medal {
  width: 100%;
  height: clamp(92px, 7.2vw, 102px);
  min-height: 0;
  align-self: center;
  padding: 7px 5px 6px;
  border-radius: 6px;
  border-width: 1px;
}

.how-section .medal-icon {
  width: clamp(40px, 3.2vw, 46px);
  height: clamp(40px, 3.2vw, 46px);
  margin: 0 0 4px;
  color: inherit;
  border-radius: 5px;
  background: rgba(255,255,255,.62);
}

.how-section .medal-icon svg {
  width: 72%;
  height: 72%;
  stroke: currentColor;
  stroke-width: 1.65;
}

.how-section .medal strong {
  font-size: clamp(10px, .66vw, 12px);
  line-height: 1.05;
}

.how-section .medal > span:last-child {
  margin-top: 3px;
  font-size: clamp(9px, .56vw, 10px);
  line-height: 1.05;
}

.how-section .medallion-card .mini-arrow {
  font-size: clamp(12px, .85vw, 15px);
  font-weight: 800;
}

.how-section .medallion-card p {
  margin-top: 0;
  font-size: clamp(7px, .52vw, 9px);
  line-height: 1.1;
}

/* Preserve the layer colors from the approved mockup, including the database icon. */
.how-section .medal.bronze { color: #A76324; background: #F5EFE9; border-color: #E2D7CC; }
.how-section .medal.silver { color: #8198B6; background: #EDF3F9; border-color: #D9E2EC; }
.how-section .medal.gold { color: #E7AD00; background: #FFF8D7; border-color: #EEE3AE; }
.how-section .medal.bronze > span:last-child,
.how-section .medal.silver > span:last-child,
.how-section .medal.gold > span:last-child { color: #102341; }

/* hero artwork follows the approved original mockup */
.hero-art img {
  width: 100%;
  max-width: 760px;
  height: auto;
  filter: none;
}

/* give the approved hero architecture more visual presence on desktop. */
@media (min-width: 1101px) {
  .hero-art {
    overflow: visible;
  }
  .hero-art img {
    width: clamp(820px, 49vw, 980px);
    max-width: none;
    transform: translateX(24px);
  }
}

/* Keep the current responsive scale on smaller screens. */
@media (max-width: 1100px) {
  .hero-art img {
    width: 100%;
    max-width: 760px;
    transform: none;
  }
}
@media (max-width: 900px) {
  .hero-art img {
    max-width: 720px;
  }
}


/* responsive fixes based on Safari Responsive Design Mode testing.
   1) Keep the hero architecture fully visible on iPad landscape widths.
   2) Replace horizontal scrolling in How We Build with a vertical flow at <= 900px. */

/* The oversized desktop hero treatment is only safe when there is enough viewport width. */
@media (min-width: 1401px) {
  .hero-art img {
    width: clamp(820px, 49vw, 980px);
    max-width: none;
    transform: translate(24px, -56px);
  }
}

/* Tablet / compact desktop landscape: contain the complete artwork inside its grid column. */
@media (min-width: 901px) and (max-width: 1400px) {
  .hero-art {
    overflow: visible;
    padding-inline: 4px;
  }
  .hero-art img {
    width: 100%;
    max-width: 100%;
    height: auto;
    transform: none;
    object-fit: contain;
  }
}

/* Tablet portrait and phones: show the pipeline as a vertical sequence instead of a
   fixed-width horizontal canvas, eliminating horizontal scrolling. */
@media (max-width: 900px) {
  .how-section .pipeline-flow {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .how-section .flow-group {
    width: 100%;
    min-width: 0;
  }

  .how-section .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
    transform-origin: center;
    margin: -2px 0;
  }

  .how-section .flow-card,
  .how-section .medallion-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 160px;
    box-sizing: border-box;
  }

  .how-section .source-card,
  .how-section .ingest-card {
    padding-inline: 22px;
  }

  .how-section .medallion-card {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(4px, 1.4vw, 9px);
    padding: 12px 10px 9px;
  }

  .how-section .medal {
    min-width: 0;
    width: 100%;
    height: 132px;
    box-sizing: border-box;
  }

  .how-section .medal > span:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .how-section .how-grid {
    gap: 24px;
  }

  .how-section .flow-card,
  .how-section .medallion-card {
    min-height: 150px;
  }

  .how-section .source-card,
  .how-section .ingest-card {
    padding-inline: 18px;
  }

  .how-section .medallion-card {
    padding-inline: 7px;
    gap: 3px;
  }

  .how-section .medal {
    height: 126px;
    padding-inline: 3px;
  }

  .how-section .mini-arrow {
    font-size: 16px;
  }
}


/* compact horizontal internal layout for How We Build on tablets/phones */
@media (max-width: 900px) {
  /* Keep the pipeline itself vertical, but arrange card contents horizontally. */
  .how-section .source-group .source-card,
  .how-section .consumption-group .source-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-content: stretch;
    gap: 14px;
    min-height: 112px;
    padding: 18px 22px;
  }

  .how-section .source-group .flow-row,
  .how-section .consumption-group .flow-row {
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .how-section .source-group .flow-icon,
  .how-section .consumption-group .flow-icon {
    width: 23px;
    height: 23px;
  }

  .how-section .ingest-card {
    display: grid;
    grid-template-columns: auto minmax(180px, .9fr) minmax(250px, 1.35fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "icon title tools"
      "icon mode tools";
    align-items: center;
    justify-content: center;
    column-gap: 22px;
    row-gap: 3px;
    min-height: 112px;
    padding: 16px 24px;
    text-align: left;
  }

  .how-section .ingest-icon {
    grid-area: icon;
    width: 40px;
    height: 40px;
    margin: 0;
  }
  .how-section .ingest-card strong {
    grid-area: title;
    align-self: end;
    font-size: 14px;
  }
  .how-section .ingest-mode {
    grid-area: mode;
    align-self: start;
    font-size: 10px;
    line-height: 1.25;
  }
  .how-section .ingest-tools {
    grid-area: tools;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 14px;
    margin: 0;
    font-size: 12px;
    line-height: 1.25;
  }
  .how-section .ingest-tools span:not(:last-child)::after {
    content: "·";
    margin-left: 14px;
    color: #7EA7DD;
  }
}

@media (max-width: 600px) {
  .how-section .source-group .source-card,
  .how-section .consumption-group .source-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    min-height: 138px;
    padding: 18px 16px;
  }

  .how-section .source-group .flow-row,
  .how-section .consumption-group .flow-row {
    justify-content: flex-start;
    font-size: 12px;
    white-space: normal;
  }

  .how-section .ingest-card {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "icon title"
      "icon mode"
      "tools tools";
    column-gap: 14px;
    row-gap: 4px;
    min-height: 142px;
    padding: 16px 18px;
  }

  .how-section .ingest-icon {
    width: 36px;
    height: 36px;
  }

  .how-section .ingest-tools {
    justify-content: flex-start;
    gap: 5px 10px;
    margin-top: 6px;
    font-size: 11px;
  }
  .how-section .ingest-tools span:not(:last-child)::after {
    margin-left: 10px;
  }
}


/* performance/accessibility polish without changing the visual design. */
.hero-art picture { display: block; width: 100%; }
@media (min-width: 1101px) { .hero-art picture { width: auto; } }
@media (max-width: 1400px) { .hero-art picture { width: 100%; } }

@media (max-width: 900px) {
  .menu-toggle { width: 44px; height: 44px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
}

/* Detailed Engineering project page */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 800;
}
.project-link:hover { color: var(--blue); }

.project-detail-hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(31,107,255,.21), transparent 30%),
    linear-gradient(130deg, #04182F 0%, #041B3A 54%, #062453 100%);
}
.project-detail-hero-grid {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 72px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
.project-detail-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 70px);
}
.project-detail-kicker {
  margin: 0 0 14px;
  color: #C7DBFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.project-detail-subtitle {
  max-width: 760px;
  margin: 0 0 18px;
  color: #FFFFFF;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.35;
}
.project-detail-lead {
  max-width: 790px;
  margin: 0;
  color: #D6E2F2;
  font-size: 17px;
  line-height: 1.7;
}
.project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.project-detail-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;
  background: rgba(255,255,255,.07);
  color: #EAF2FF;
  font-size: 11px;
  font-weight: 700;
}
.project-summary-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
}
.project-summary-row + .project-summary-row {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.project-summary-label {
  display: block;
  margin-bottom: 5px;
  color: #9EC5FF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.project-summary-card strong,
.project-summary-card p {
  color: #FFFFFF;
}
.project-summary-card strong { font-size: 15px; }
.project-summary-card p { margin: 5px 0 0; color: #D6E2F2; font-size: 13px; }

.project-detail-section { padding: 82px 0; }
.project-detail-section.alt { background: #F6F9FD; }
.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: start;
}
.project-detail-layout h2 { max-width: 520px; }
.project-detail-body { max-width: 820px; }
.project-detail-body p { margin-top: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.project-detail-body p:last-child { margin-bottom: 0; }
.project-detail-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.project-detail-list li {
  position: relative;
  padding-left: 22px;
  margin: 12px 0;
  color: #425571;
}
.project-detail-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--blue-strong);
  font-weight: 800;
}

.validation-architecture {
  margin-top: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.validation-source-stack { display: grid; gap: 12px; }
.validation-node {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid #D8E4F3;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 12px 26px rgba(4,27,58,.045);
}
.validation-node.primary { border-color: rgba(31,107,255,.28); background: #F7FAFF; }
.validation-node.output { background: #F9FBFD; }
.validation-node small {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.validation-node strong { color: var(--navy); font-family: "Montserrat", sans-serif; font-size: 15px; }
.validation-node span { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.validation-arrow { color: var(--blue-strong); text-align: center; font-size: 25px; font-weight: 800; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.approach-card {
  min-height: 220px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
}
.approach-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
}
.approach-card h3 { font-size: 16px; }
.approach-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.decision-card {
  padding: 28px;
  border-left: 3px solid var(--blue-strong);
  background: #F7FAFE;
}
.decision-card h3 { font-size: 17px; }
.decision-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.project-outcome {
  width: 100%;
  max-width: none;
  padding: 34px;
  border: 1px solid #D8E4F3;
  border-radius: 16px;
  background: linear-gradient(135deg, #F7FAFF, #FFFFFF);
}
.project-outcome p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #425571;
  font-size: 17px;
  line-height: 1.75;
}
.project-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.project-back-link { color: var(--blue-strong); font-size: 14px; font-weight: 800; }

@media (max-width: 1100px) {
  .project-detail-hero-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .project-summary-card { max-width: 720px; }
  .validation-architecture { grid-template-columns: 1fr; gap: 10px; }
  .validation-arrow { transform: rotate(90deg); }
}

@media (max-width: 900px) {
  .project-detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .approach-grid, .decision-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .project-detail-hero-grid { padding-top: 52px; padding-bottom: 52px; }
  .project-summary-card { padding: 22px; }
  .project-detail-section { padding: 64px 0; }
  .approach-grid, .decision-grid { grid-template-columns: 1fr; }
  .project-outcome { padding: 24px; }
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--strong-blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.insight-link:hover { text-decoration: underline; }

.insight-detail-hero { padding: 0; }
.insight-detail-hero-inner {
  max-width: 1100px;
  padding-top: 78px;
  padding-bottom: 78px;
}
.insight-detail-hero h1 {
  max-width: 1000px;
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: -.035em;
}
.insight-detail-subtitle {
  max-width: 1120px;
  margin: 0 0 18px;
  color: #BFD0E8;
  font-family: Montserrat, sans-serif;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.45;
}
.insight-detail-lead {
  max-width: 1080px;
  margin: 0 0 28px;
  color: #D6E0EF;
  font-size: 17px;
  line-height: 1.75;
}

.insight-article { background: #fff; }
.insight-article-shell {
  max-width: 1120px;
  padding-top: 78px;
  padding-bottom: 90px;
}
.insight-intro,
.insight-article-section {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.insight-intro { margin-bottom: 54px; }
.insight-intro p,
.insight-article-section p,
.insight-takeaway p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.insight-article-section {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}
.insight-intro h2,
.insight-article-section h2,
.insight-takeaway h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
}
.insight-article-section code {
  padding: 2px 6px;
  border: 1px solid #DDE6F1;
  border-radius: 5px;
  background: #F6F8FB;
  color: #17365C;
  font-size: .9em;
}

.medallion-responsibility {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 15px;
  align-items: center;
  margin: 6px 0 70px;
}
.responsibility-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid #D9E4F1;
  border-radius: 16px;
  background: #F9FBFE;
}
.responsibility-card strong {
  display: block;
  margin: 12px 0 10px;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  line-height: 1.35;
}
.responsibility-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.responsibility-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.responsibility-bronze .responsibility-label { background: #F3E6DA; color: #8C4B18; }
.responsibility-silver .responsibility-label { background: #EDF1F6; color: #526477; }
.responsibility-gold .responsibility-label { background: #FFF2C9; color: #8A6500; }
.responsibility-arrow { color: #7A8DA6; font-size: 24px; }

.insight-callout {
  margin: 30px 0 0;
  padding: 22px 26px;
  border-left: 4px solid var(--strong-blue);
  background: #F5F8FD;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.insight-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.insight-comparison div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FAFCFF;
}
.insight-comparison span {
  display: block;
  margin-bottom: 8px;
  color: var(--strong-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.insight-comparison strong {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.insight-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
}
.insight-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.insight-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--strong-blue);
}

.insight-validation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
}
.insight-validation-grid > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FAFCFF;
}
.insight-validation-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.insight-validation-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.insight-decision-grid {
  margin: 30px 0;
}
.insight-takeaway {
  max-width: 1120px;
  margin: 56px auto 0;
  padding: 38px 30px;
  border: 1px solid #D8E4F3;
  border-radius: 18px;
  background: linear-gradient(135deg, #F4F8FF, #FFFFFF);
}
.insight-takeaway p:last-child { margin-bottom: 0; }

.insight-page-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin: 36px auto 0;
}

@media (max-width: 900px) {
  .medallion-responsibility {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .responsibility-card { min-height: 0; }
  .responsibility-arrow { transform: rotate(90deg); justify-self: center; }
  .insight-validation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .insight-detail-hero-inner { padding-top: 54px; padding-bottom: 54px; }
  .insight-article-shell { padding-top: 56px; padding-bottom: 70px; }
  .insight-article-section { padding: 42px 0; }
  .insight-comparison { grid-template-columns: 1fr; }
  .insight-takeaway { padding: 28px; }
  .insight-page-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

.incremental-layer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 32px;
}
.incremental-layer-card {
  position: relative;
  min-height: 175px;
  padding: 24px 24px 22px;
  border: 1px solid #D9E4F1;
  border-radius: 16px;
  background: #FAFCFF;
}
.incremental-layer-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: #9AA9BC;
}
.incremental-layer-name {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.incremental-layer-card strong {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}
.incremental-layer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.incremental-bronze::before { background: #B86A2D; }
.incremental-bronze .incremental-layer-name { background: #F3E6DA; color: #8C4B18; }
.incremental-silver::before { background: #8494A8; }
.incremental-silver .incremental-layer-name { background: #EDF1F6; color: #526477; }
.incremental-gold::before { background: #D3A61D; }
.incremental-gold .incremental-layer-name { background: #FFF2C9; color: #8A6500; }

@media (max-width: 900px) {
  .incremental-layer-grid {
    grid-template-columns: 1fr;
  }
  .incremental-layer-card {
    min-height: 0;
  }
}

.ingestion-principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 70px;
}
.ingestion-principle-card {
  min-height: 190px;
  padding: 24px 22px;
  border: 1px solid #D9E4F1;
  border-radius: 16px;
  background: #FAFCFF;
}
.ingestion-principle-number {
  display: block;
  margin-bottom: 18px;
  color: var(--strong-blue);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}
.ingestion-principle-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  line-height: 1.4;
}
.ingestion-principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.ingestion-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.ingestion-mode-card,
.schema-response-grid > div,
.observability-grid > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FAFCFF;
}
.ingestion-mode-card span,
.schema-response-grid span,
.observability-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--strong-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ingestion-mode-card strong,
.schema-response-grid strong,
.observability-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
.ingestion-mode-card p,
.schema-response-grid p,
.observability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.ingestion-state-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 30px 0;
}
.ingestion-state-flow > div {
  padding: 22px;
  border: 1px solid #D9E4F1;
  border-radius: 14px;
  background: #FAFCFF;
}
.ingestion-state-flow span:not(.responsibility-arrow) {
  display: block;
  margin-bottom: 8px;
  color: var(--strong-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ingestion-state-flow strong {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.schema-response-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}

.observability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.reliability-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 30px 0 8px;
}
.reliability-checklist > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FAFCFF;
}
.reliability-checklist span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EAF2FF;
  color: var(--strong-blue);
  font-size: 13px;
  font-weight: 800;
}
.reliability-checklist p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ingestion-principles-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ingestion-mode-grid,
  .schema-response-grid,
  .observability-grid,
  .reliability-checklist {
    grid-template-columns: 1fr;
  }
  .ingestion-state-flow {
    grid-template-columns: 1fr;
  }
  .ingestion-state-flow .responsibility-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .ingestion-principles-grid {
    grid-template-columns: 1fr;
  }
  .ingestion-principle-card {
    min-height: 0;
  }
}

.load-pattern-grid,
.delete-comparison-grid,
.recovery-pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 70px;
}
.load-pattern-card,
.delete-comparison-grid > div,
.recovery-pattern-grid > div {
  padding: 24px;
  border: 1px solid #D9E4F1;
  border-radius: 16px;
  background: #FAFCFF;
}
.load-pattern-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
}
.load-pattern-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #8092AA;
}
.load-pattern-label,
.delete-comparison-grid span,
.recovery-pattern-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #EDF3FB;
  color: var(--strong-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.load-pattern-card strong,
.delete-comparison-grid strong,
.recovery-pattern-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}
.load-pattern-card p,
.delete-comparison-grid p,
.recovery-pattern-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.load-pattern-full::before { background: var(--blue-strong); }
.load-pattern-incremental::before { background: var(--blue-strong); }
.load-pattern-cdc::before { background: var(--blue-strong); }

.pattern-strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.pattern-strength-grid > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FAFCFF;
}
.pattern-strength-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--strong-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pattern-strength-grid p { margin: 0; font-size: 14px; line-height: 1.65; }

.watermark-flow,
.cdc-event-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 30px 0;
}
.watermark-flow > div,
.cdc-event {
  padding: 22px;
  border: 1px solid #D9E4F1;
  border-radius: 14px;
  background: #FAFCFF;
}
.watermark-flow span:not(.responsibility-arrow),
.cdc-event span {
  display: block;
  margin-bottom: 8px;
  color: var(--strong-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.watermark-flow strong,
.cdc-event strong {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.delete-comparison-grid,
.recovery-pattern-grid { margin: 30px 0; }

.delta-write-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}
.delta-write-grid > div {
  padding: 20px;
  border: 1px solid #D9E4F1;
  border-radius: 14px;
  background: #FAFCFF;
}
.delta-write-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--strong-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.delta-write-grid strong {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
}

.pattern-decision-table {
  margin: 30px 0 6px;
  overflow: hidden;
  border: 1px solid #D9E4F1;
  border-radius: 16px;
}
.pattern-decision-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px;
  padding: 18px 22px;
  border-top: 1px solid #E5EBF3;
  background: #fff;
}
.pattern-decision-row:first-child { border-top: 0; }
.pattern-decision-head {
  background: #F3F7FC;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pattern-decision-row > span:not([role="columnheader"]) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.pattern-decision-row strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .load-pattern-grid,
  .delete-comparison-grid,
  .recovery-pattern-grid,
  .pattern-strength-grid,
  .delta-write-grid {
    grid-template-columns: 1fr;
  }
  .watermark-flow,
  .cdc-event-strip {
    grid-template-columns: 1fr;
  }
  .watermark-flow .responsibility-arrow,
  .cdc-event-strip .responsibility-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}
@media (max-width: 700px) {
  .pattern-decision-row { grid-template-columns: 1fr; gap: 8px; }
}

/* What We Deliver: open service strip instead of repeated cards. */
.deliver-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-card {
  min-height: 0;
  padding: 30px 24px 28px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}
.service-card:first-child { border-left: 0; }
.service-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}
.service-card .service-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  margin-bottom: 20px;
}
.service-card .icon-box {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 8px;
  border-radius: 16px;
  background: #F5F9FF;
  overflow: hidden;
}
.service-card .icon-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}
.service-card p {
  margin: 0 0 16px;
  color: #425571;
  font-size: 14px;
  line-height: 1.6;
}
.service-card > span {
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1200px) {
  .service-card { border-left: 1px solid var(--line); }
  .service-card:nth-child(3n + 1) { border-left: 0; }
  .service-card:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .service-card { border-left: 1px solid var(--line); border-top: 0; }
  .service-card:nth-child(odd) { border-left: 0; }
  .service-card:nth-child(even) { border-left: 1px solid var(--line); }
  .service-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    border-left: 0;
  }
  .service-card:nth-child(n + 2) { border-top: 1px solid var(--line); }
}


@media (max-width: 600px) {
  .service-card .service-heading {
    gap: 14px;
    min-height: 66px;
    margin-bottom: 18px;
  }
  .service-card .icon-box {
    width: 66px;
    height: 66px;
    border-radius: 14px;
  }
}

@media (max-width: 600px) {
  .expertise-section .expertise-index {
    width: 58px;
    height: 58px;
    border-radius: 13px;
  }
  .expertise-section .expertise-label {
    gap: 14px;
    min-height: 58px;
  }
}
