:root {
  --ink: #0c1d2f;
  --ink-2: #17324d;
  --paper: #f5f7fa;
  --white: #ffffff;
  --muted: #617083;
  --line: #dbe2e9;
  --accent: #1aa4a8;
  --accent-dark: #107a7e;
  --dark: #081b2d;
  --dark-2: #0d2a43;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(8, 27, 45, 0.12);
}

* { box-sizing: border-box; }

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

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

a { color: inherit; }

img { max-width: 100%; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  z-index: 1000;
}

.skip-link:focus { left: 10px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219,226,233,.9);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  background: linear-gradient(145deg, var(--ink-2), var(--accent-dark));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .72rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  color: #33485d;
}

.primary-nav a:hover { color: var(--accent-dark); }

.primary-nav .nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(26,164,168,.15), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(23,50,77,.08);
  border-radius: 50%;
  right: -180px;
  bottom: -230px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  gap: 72px;
  align-items: center;
  padding: 104px 0 96px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.eyebrow-light { color: #5ad2d5; }

h1, h2, h3, blockquote {
  font-family: "Manrope", sans-serif;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: 1.17rem;
  line-height: 1.75;
  color: #4f6071;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

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

.button-primary:hover { background: var(--ink-2); }

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.button-secondary:hover { border-color: #aebbc7; }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 58px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.hero-proof span {
  margin-top: 4px;
  font-size: .83rem;
  color: var(--muted);
}

.hero-panel {
  padding: 30px;
  border: 1px solid rgba(219,226,233,.9);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}

.panel-label {
  margin: 0 0 14px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.capability-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.capability-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.capability-list li:first-child { border-top: 0; }

.capability-number {
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  color: var(--accent-dark);
}

.capability-list strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: .98rem;
}

.capability-list small {
  display: block;
  margin-top: 5px;
  line-height: 1.45;
  color: var(--muted);
}

.section { padding: 94px 0; }

.section-light { background: var(--paper); }

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(26,164,168,.08), transparent 35%),
    var(--dark);
}

.section-accent {
  color: var(--white);
  background: var(--accent-dark);
}

.section-heading {
  max-width: 750px;
  margin-bottom: 48px;
}

.section-heading h2,
.experience-grid h2,
.contact-grid h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.section-heading > p:last-child {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.03rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(8,27,45,.07);
}

.card-index {
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  color: var(--accent-dark);
}

.service-card h3 {
  margin: 32px 0 12px;
  font-size: 1.28rem;
  letter-spacing: -.025em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.experience-copy p {
  color: #b9c7d5;
}

.experience-copy .large-copy {
  margin-top: 0;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--white);
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.experience-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .78rem;
  color: #dce7ef;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr .65fr;
  gap: 80px;
  align-items: end;
}

.split-heading > p {
  margin: 0 0 7px !important;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-list > article > span {
  padding-top: 4px;
  font-family: "Manrope", sans-serif;
  font-size: .75rem;
  color: var(--accent-dark);
}

.process-list h3 {
  margin: 0;
  font-size: 1.24rem;
}

.process-list p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.statement {
  max-width: 980px;
  text-align: center;
}

.statement .eyebrow { color: #c7f2f3; }

.statement blockquote {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 84px;
  align-items: start;
}

.contact-lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-card {
  padding: 30px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.contact-card p {
  color: #c0ccd7;
}

.contact-link {
  display: inline-block;
  margin: 10px 0 18px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #73e2e4;
}

.contact-note {
  margin-bottom: 0;
  font-size: .82rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 34px 0;
}

.site-footer strong {
  font-family: "Manrope", sans-serif;
}

.site-footer p {
  margin: 5px 0 0;
  font-size: .82rem;
  color: var(--muted);
}

.footer-right {
  text-align: right;
}

.footer-right a {
  display: inline-block;
  margin-top: 7px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .experience-grid,
  .contact-grid,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .hero-grid { padding-top: 76px; }

  .hero-panel { max-width: 620px; }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .primary-nav a {
    padding: 12px 10px;
  }

  .primary-nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: var(--ink);
  }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }

  .brand-copy small { display: none; }

  h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }

  .hero-grid { padding: 60px 0 72px; }

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

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

  .section { padding: 72px 0; }

  .service-card { min-height: auto; }

  .process-list article {
    grid-template-columns: 45px 1fr;
  }

  .footer-grid {
    flex-direction: column;
    gap: 16px;
  }

  .footer-right { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
