:root {
  --blue: #1d4ed8;
  --blue-dark: #16347d;
  --blue-deep: #0b1f3a;
  --blue-light: #eff6ff;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #dbe3ee;
  --shadow: 0 24px 56px rgb(15 23 42 / 14%);
  --radius: 1rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -6rem;
  left: 1rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  color: #fff;
  background: var(--blue-deep);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(219 227 238 / 90%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-size: 1.25rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.desktop-nav a,
.mobile-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border-radius: 0.55rem;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.desktop-nav .nav-cta,
.mobile-nav .nav-cta {
  margin-left: 0.5rem;
  padding-inline: 1rem;
  color: #fff;
  background: var(--blue);
}

.desktop-nav .nav-cta:hover,
.mobile-nav .nav-cta:hover {
  color: #fff;
  background: var(--blue-dark);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.menu-button[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  padding: 4.9rem 0 4.2rem;
  background:
    radial-gradient(circle at 86% 16%, #dbeafe 0, transparent 28%),
    linear-gradient(180deg, #fff 0, #f7fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.76fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.2rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  color: var(--blue-dark);
  background: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 800px;
  margin: 1.35rem 0 1.45rem;
  font-size: clamp(3.2rem, 6vw, 5.25rem);
  letter-spacing: -0.058em;
  line-height: 0.99;
}

h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 720px;
  color: var(--slate);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  font-size: 0.91rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button-primary {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button-secondary {
  background: #fff;
}

.button-secondary:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border: 8px solid #fff;
  border-radius: 1.25rem;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.proof {
  border-block: 1px solid var(--border);
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  display: grid;
  min-height: 98px;
  place-items: center;
  padding: 1.2rem;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--border);
}

section {
  padding: clamp(4.8rem, 8vw, 7.2rem) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgb(29 78 216 / 25%), transparent 48%),
    var(--blue-deep);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.8rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-top: 1rem;
  font-size: clamp(2.15rem, 4.5vw, 3.45rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-lead {
  margin-top: 1rem;
  color: var(--slate);
  font-size: 1.06rem;
}

.section-dark .section-lead {
  color: #dbeafe;
}

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

.help-item {
  position: relative;
  min-height: 154px;
  padding: 1.55rem 1.6rem 1.55rem 3.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgb(15 23 42 / 4%);
}

.help-item::before {
  position: absolute;
  top: 1.6rem;
  left: 1.55rem;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  content: "✓";
  font-size: 0.8rem;
  font-weight: 800;
}

.help-item p {
  color: var(--slate);
}

.closing-note {
  max-width: 900px;
  margin-top: 1.6rem;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--blue);
  color: #334155;
  background: var(--blue-light);
  font-weight: 650;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.service-card {
  grid-column: span 2;
  min-height: 255px;
  padding: 1.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.card-kicker {
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h3 {
  margin: 0.7rem 0 0.75rem;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-card p,
.engagement-card p,
.credential-detail,
.step p {
  color: var(--slate);
  font-size: 0.92rem;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.engagement-card {
  padding: 1.7rem;
}

.engagement-card + .engagement-card {
  border-left: 1px solid var(--border);
}

.disclosure {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.step {
  padding: 1.65rem;
}

.step + .step {
  border-left: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.about-photo {
  position: sticky;
  top: 106px;
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--slate);
}

.about-copy p + p {
  margin-top: 1rem;
}

.career-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.7rem;
  list-style: none;
}

.career-highlights li {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--blue);
  color: #334155;
  background: var(--blue-light);
  font-size: 0.9rem;
  font-weight: 700;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.credential-card {
  display: flex;
  min-height: 170px;
  grid-column: span 2;
  flex-direction: column;
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.credential-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.credential-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.credential-card .credential-label,
.platform-experience .credential-label {
  color: var(--blue-dark);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.credential-card h3 {
  margin: 0.65rem 0 0.55rem;
  font-size: 1.08rem;
}

.credential-detail {
  margin-top: auto;
  line-height: 1.5;
}

.platform-experience {
  margin-top: 1rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  list-style: none;
}

.platform-list li {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #475569;
  background: var(--surface-alt);
  font-size: 0.78rem;
  font-weight: 650;
}

.section-dark .eyebrow {
  border-color: rgb(255 255 255 / 20%);
  color: #bfdbfe;
  background: rgb(255 255 255 / 8%);
}

.section-dark .actions {
  justify-content: center;
}

.section-dark .button-primary {
  border-color: #fff;
  color: var(--blue-deep);
  background: #fff;
}

.section-dark .button-primary:hover {
  background: #eff6ff;
}

.section-dark .button-secondary {
  border-color: rgb(255 255 255 / 35%);
  color: #fff;
  background: transparent;
}

.site-footer {
  padding: 2.2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
}

.footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.5rem 0.6rem;
  color: var(--slate);
  font-size: 0.82rem;
}

.footer-nav a:hover {
  color: var(--blue);
}

.copyright {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 0.6rem 20px 1rem;
    border-bottom: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 16px 32px rgb(15 23 42 / 12%);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav:not([hidden]) {
    display: grid;
  }

  .mobile-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-nav .nav-cta {
    margin: 0.35rem 0 0;
    justify-content: center;
  }

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

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-visual {
    max-width: 440px;
  }

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

  .proof-item:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .proof-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .service-card:nth-child(5) {
    grid-column: 1 / -1;
  }

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

  .credential-card,
  .credential-card:nth-child(4) {
    grid-column: span 2;
  }

  .credential-card:nth-child(5) {
    grid-column: 2 / span 2;
  }

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

  .step:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .step:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .about-photo {
    position: static;
    max-width: 560px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 2.1rem 0 2rem;
  }

  .hero-grid {
    gap: 1.35rem;
  }

  .eyebrow {
    max-width: 100%;
    border-radius: 0.6rem;
    font-size: 0.66rem;
  }

  h1 {
    margin: 1.05rem 0 1rem;
    font-size: clamp(2.1rem, 9.2vw, 2.4rem);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .actions {
    display: grid;
    margin-top: 1.15rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 0.9rem;
  }

  .hero-photo {
    height: auto;
    aspect-ratio: 4 / 5;
    border-width: 6px;
    object-position: center;
  }

  .proof-grid,
  .help-grid,
  .services-grid,
  .engagement-grid,
  .steps,
  .credentials-grid,
  .career-highlights {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 68px;
    padding: 0.9rem;
  }

  .proof-item + .proof-item,
  .proof-item:nth-child(3),
  .proof-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  section {
    padding: 4.5rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .section-lead {
    font-size: 1rem;
  }

  .help-item,
  .service-card,
  .credential-card {
    min-height: 0;
  }

  .credential-card,
  .credential-card:nth-child(4),
  .credential-card:nth-child(5) {
    grid-column: auto;
  }

  .service-card:nth-child(5) {
    grid-column: auto;
  }


  .engagement-card + .engagement-card,
  .step + .step,
  .step:nth-child(3),
  .step:nth-child(4) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .about-grid {
    gap: 2rem;
  }

  .about-photo img {
    max-height: 430px;
  }

  .copyright {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
