:root {
  --ink: #101828;
  --muted: #596579;
  --line: #d8e0eb;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --navy: #1f376b;
  --blue: #305db1;
  --cyan: #a10707;
  --teal: #b51815;
  --shadow: 0 24px 70px rgba(16, 40, 80, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
.site-nav,
.button,
.eyebrow {
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 224, 235, 0.65);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  width: 150px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 16px;
  color: #ffffff;
  background: var(--ink);
  border-radius: var(--radius);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
  color: #ffffff;
  background: var(--blue);
}

.section-shell {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 75px);
  overflow: hidden;
  padding: 76px 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.section-heading h2,
.intro-band h2,
.why h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  color: var(--ink);
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4.7vw, 4.45rem);
}

.hero-lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero .eyebrow {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 18px 38px rgba(48, 93, 177, 0.22);
}

.button-secondary {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-visual::before {
  content: none;
}

.hero-visual img {
  height: 100%;
  width: 100%;
  opacity: 0.3;
  object-fit: cover;
  object-position: center;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
  margin-top: 64px;
  padding: 46px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-band h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  line-height: 1.72;
  max-width: 760px;
}

.section-block {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-subtitle {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading h2,
.why h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.capability-card,
.engagement-card,
.proof-grid div,
.contact-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  position: relative;
  min-height: 240px;
  padding: 34px 28px 28px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 180ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--cyan);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card.is-visible:hover {
  transform: translateY(-4px);
}

.service-card h3,
.capability-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card p,
.capability-card p,
.engagement-card p,
.why-copy p,
.contact-copy p,
.proof-grid span {
  margin: 0;
  color: var(--muted);
}

.capabilities {
  padding: 90px 0;
  background: linear-gradient(180deg, #f7faff 0%, #edf5fb 100%);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  display: grid;
  gap: 22px;
  padding: 26px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 520ms ease, transform 520ms ease;
}

.capability-card.is-visible {
  opacity: 1;
  transform: scale(1);
}

.capability-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  padding: 0;
  background: #f8fbff;
  border-radius: var(--radius);
  overflow: hidden;
}

.experience-section {
  padding-bottom: 80px;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.engagement-card {
  min-height: 260px;
  padding: 24px;
}

.engagement-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.engagement-card p {
  font-size: 0.94rem;
}

.engagement-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 7vw, 78px);
  align-items: start;
  padding: 96px 0;
}

.why-copy p {
  margin-top: 22px;
  font-size: 1.06rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-grid div {
  padding: 24px;
}

.proof-grid strong {
  display: block;
  margin-bottom: 9px;
  font-size: 1rem;
}

.proof-grid span {
  display: block;
  font-size: 0.95rem;
}

.contact-section {
  padding: 92px 0;
  color: #ffffff;
  background: var(--blue);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.contact-copy h2,
.contact-copy p {
  color: #ffffff;
}

.contact-copy p {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-section .eyebrow {
  color: #f4c7c7;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(48, 93, 177, 0.12);
  outline: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
  font-weight: 600;
}

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

.policy-page {
  max-width: 860px;
  padding: 72px 0 96px;
}

.policy-page h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
}

.policy-page h2 {
  margin: 38px 0 12px;
  color: var(--ink);
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.policy-page p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.policy-page a {
  color: var(--blue);
  font-weight: 600;
}

.articles-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
  padding: 72px 0 96px;
}

.article-index {
  position: sticky;
  top: 112px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-index h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.article-index a {
  display: block;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.35;
}

.article-index a + a {
  margin-top: 16px;
}

.article-body {
  max-width: 820px;
  scroll-margin-top: 120px;
}

.article-body h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
}

.article-meta {
  margin: 14px 0 30px;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-body p:not(.eyebrow):not(.article-meta) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .intro-band,
  .why,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-band p:last-child {
    max-width: none;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    max-width: none;
    margin-inline: 0;
  }

  .service-grid,
  .capability-grid,
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles-layout {
    grid-template-columns: 1fr;
  }

  .article-index {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 112px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-top: 12px;
    font-size: 0.86rem;
  }

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

  .site-nav a {
    padding: 12px 0;
    border-top: 1px solid rgba(216, 224, 235, 0.8);
  }

  .nav-cta {
    display: block;
    width: auto;
    margin-top: 0;
    padding: 12px 0;
    color: var(--muted);
    background: transparent;
    border-top: 1px solid rgba(216, 224, 235, 0.8);
    border-radius: 0;
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta:focus {
    color: var(--blue);
    background: transparent;
  }

  .section-shell {
    width: min(100% - 28px, 1140px);
  }

  .hero {
    padding: 42px 0 60px;
  }

  .hero-copy h1 {
    font-size: clamp(1.65rem, 8.5vw, 2.35rem);
  }

  .intro-band,
  .contact-form {
    padding: 22px;
  }

  .service-grid,
  .capability-grid,
  .engagement-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .section-block,
  .capabilities,
  .experience-section,
  .why,
  .contact-section {
    padding: 64px 0;
  }

  .articles-layout {
    padding: 52px 0 72px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: auto;
  }

  .contact-form .button {
    justify-self: start;
  }
}
