@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #050608;
  --ink-soft: #11131a;
  --blue: #0b2bd6;
  --blue-bright: #3450f0;
  --blue-soft: #e9edff;
  --paper: #f7f8fb;
  --white: #ffffff;
  --muted: #62697a;
  --line: #d9deea;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Avenir Next", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}

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

.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: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  transition: background 200ms ease, padding 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  padding-block: 13px;
  background: rgba(5, 6, 8, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; width: 155px; }
.brand img { display: block; width: 100%; height: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; color: rgba(255, 255, 255, 0.74); font-size: 13px; font-weight: 500; }
.site-nav a { transition: color 180ms ease; }
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta { color: var(--white); padding: 11px 17px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.nav-cta span, .button span, .text-link span, .service-card a span, .footer-email span { display: inline-block; margin-left: 8px; transition: transform 180ms ease; }
.nav-cta:hover span, .button:hover span, .text-link:hover span, .service-card a:hover span, .footer-email:hover span { transform: translate(3px, -3px); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: radial-gradient(rgba(255,255,255,.18) .7px, transparent .7px);
  background-size: 8px 8px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,.4), transparent 56%);
}

.hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  opacity: 0.7;
  background: linear-gradient(110deg, transparent 4%, rgba(11,43,214,.18) 4.2%, transparent 4.5%) 0 0 / 90px 90px;
  mask-image: linear-gradient(90deg, transparent, black 55%, black);
}

.route-mark { display: flex; gap: 10px; }
.route-mark span { display: block; height: 12px; background: var(--blue); transform: skewX(28deg); }
.route-mark span:nth-child(1) { width: 230px; }
.route-mark span:nth-child(2) { width: 70px; }
.route-mark span:nth-child(3) { width: 42px; }
.route-mark span:nth-child(4) { width: 23px; }
.route-mark--hero { position: absolute; z-index: 1; top: 48%; right: -30px; opacity: 0.8; transform: rotate(-14deg); }

.hero-content { position: relative; z-index: 2; display: flex; min-height: 780px; flex-direction: column; justify-content: center; padding-top: 80px; }
.eyebrow { margin: 0 0 22px; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 11px 3px 0; background: currentColor; }
.eyebrow--blue { color: var(--blue); }
.eyebrow--light { color: rgba(255,255,255,.72); }

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 26px; font-size: clamp(3.8rem, 8vw, 7.25rem); font-weight: 700; letter-spacing: -0.09em; line-height: .94; }
h1 em { display: block; color: var(--blue-bright); font-style: normal; }
.hero-copy { max-width: 520px; margin-bottom: 32px; color: rgba(255,255,255,.67); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 21px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--blue); }
.button--primary:hover { background: var(--blue-bright); }
.button--dark { color: var(--white); background: var(--ink); }
.button--dark:hover { background: var(--blue); }
.button--light { color: var(--ink); background: var(--white); }
.button--light:hover { background: var(--blue-soft); }
.text-link { color: rgba(255,255,255,.68); font-size: 13px; font-weight: 500; }
.text-link:hover { color: var(--white); }

.hero-proof { display: flex; gap: 40px; margin-top: 95px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.18); width: min(100%, 470px); }
.hero-proof div { display: flex; flex-direction: column; gap: 6px; }
.hero-proof strong { color: var(--blue-bright); font-size: 11px; letter-spacing: .12em; }
.hero-proof span { color: rgba(255,255,255,.64); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: 140px 0; }
.services { background: var(--paper); }
.section-intro { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(300px, 1fr); column-gap: 90px; align-items: end; margin-bottom: 68px; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 15px; }
.section-intro h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); letter-spacing: -.075em; line-height: .98; }
.section-intro > p:last-child { max-width: 420px; margin: 0 0 2px; color: var(--muted); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 390px; padding: 30px 30px 27px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform 220ms ease, box-shadow 220ms ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(5,6,8,.1); }
.service-card--featured { color: var(--white); background: var(--ink); border-color: var(--ink); }
.service-number { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.service-card--featured .service-number { color: var(--blue-bright); }
.service-icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 48px 0 30px; color: var(--white); background: var(--blue); font-size: 20px; }
.service-card h3 { max-width: 230px; margin-bottom: 13px; font-size: 22px; line-height: 1.1; letter-spacing: -.04em; }
.service-card p { max-width: 270px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.service-card--featured p { color: rgba(255,255,255,.64); }
.service-card a { display: inline-flex; align-items: center; margin-top: auto; color: var(--blue); font-size: 12px; font-weight: 600; }
.service-card--featured a { color: var(--white); }

.about { overflow: hidden; color: var(--white); background: var(--blue); }
.about-grid { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 70px; align-items: start; }
.about-label { display: flex; align-items: flex-start; gap: 13px; }
.about-label__line { width: 27px; height: 2px; margin-top: 7px; background: var(--white); }
.about-label .eyebrow { margin: 0; color: rgba(255,255,255,.8); white-space: nowrap; }
.about-label__index { margin: 55px 0 0 -84px; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .12em; }
.about-copy h2 { margin-bottom: 28px; font-size: clamp(2.5rem, 5vw, 4.7rem); letter-spacing: -.08em; line-height: .96; }
.about-copy h2 span { color: rgba(255,255,255,.48); }
.about-copy p { max-width: 485px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; }
.about-copy .button { margin-top: 20px; }
.about-card { min-height: 360px; margin-top: 18px; padding: 24px; color: var(--ink); background: var(--white); transform: rotate(4deg); box-shadow: 0 26px 50px rgba(5,6,8,.18); }
.about-card__top, .about-card__footer { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.about-card__top span:last-child { color: var(--blue); font-size: 18px; }
.about-card__route { display: flex; align-items: center; margin: 72px 0 24px; }
.route-dot { width: 13px; height: 13px; background: var(--blue); border-radius: 50%; }
.route-dot--end { border: 3px solid var(--blue); background: var(--white); }
.route-line { height: 2px; flex: 1; background: var(--ink); }
.about-card p { margin-bottom: 70px; font-size: 19px; font-weight: 400; line-height: 1.5; }
.about-card p strong { color: var(--blue); font-weight: 700; }
.about-card__footer { padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }

.cta-section { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.cta-pattern { position: absolute; right: -5%; bottom: -70%; width: 60%; height: 150%; border: 1px solid rgba(11,43,214,.45); border-radius: 50%; box-shadow: 0 0 0 40px rgba(11,43,214,.08), 0 0 0 80px rgba(11,43,214,.06), 0 0 0 120px rgba(11,43,214,.04); }
.cta-content { position: relative; z-index: 1; padding: 130px 0; }
.cta-content h2 { max-width: 720px; margin-bottom: 22px; font-size: clamp(2.8rem, 6vw, 5.8rem); letter-spacing: -.08em; line-height: .97; }
.cta-content > p:not(.eyebrow) { max-width: 420px; margin-bottom: 31px; color: rgba(255,255,255,.65); font-size: 15px; }

.site-footer { color: rgba(255,255,255,.62); background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; align-items: center; padding: 35px 0; }
.brand--footer { width: 140px; }
.footer-grid p { max-width: 240px; margin: 0; font-size: 12px; line-height: 1.5; }
.footer-email { justify-self: end; color: var(--white); font-size: 12px; font-weight: 600; }
.copyright { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 90ms; }
.reveal--delay-2 { transition-delay: 170ms; }
.reveal--delay-3 { transition-delay: 250ms; }

@media (max-width: 880px) {
  .site-header { padding-inline: 24px; }
  .site-nav { gap: 18px; }
  .section { padding: 100px 0; }
  .section-intro { column-gap: 45px; }
  .about-grid { grid-template-columns: 1fr 1.6fr; gap: 45px; }
  .about-card { grid-column: 2; max-width: 300px; margin-top: -15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-email { justify-self: start; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 36px), var(--max-width)); }
  .site-header { padding: 18px; }
  .brand { width: 130px; }
  .menu-toggle { position: relative; z-index: 3; display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 15px; height: 1px; background: var(--white); transition: transform 180ms ease; }
  .menu-toggle.is-open span:nth-last-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 0; right: 0; display: flex; width: min(84vw, 330px); height: 100vh; padding: 100px 35px 35px; flex-direction: column; align-items: flex-start; gap: 24px; color: var(--white); background: var(--ink); box-shadow: -20px 0 60px rgba(0,0,0,.25); transform: translateX(105%); transition: transform 220ms ease; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { font-size: 18px; }
  .site-nav .nav-cta { margin-top: 14px; font-size: 13px; }
  .hero, .hero-content { min-height: 720px; }
  .hero-content { padding-top: 65px; }
  h1 { font-size: clamp(3.2rem, 16vw, 5.4rem); }
  .hero-copy { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-proof { gap: 20px; margin-top: 68px; }
  .hero-proof span { font-size: 9px; }
  .route-mark--hero { top: 63%; right: -90px; transform: rotate(-17deg) scale(.75); }
  .section-intro { display: block; margin-bottom: 45px; }
  .section-intro h2 { margin-bottom: 24px; font-size: 3.1rem; }
  .service-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-card { min-height: 340px; }
  .service-icon { margin-top: 34px; }
  .about-grid { display: block; }
  .about-label { margin-bottom: 55px; }
  .about-label__index { margin-left: auto; }
  .about-copy h2 { font-size: 3.2rem; }
  .about-card { margin: 68px 0 0 15px; transform: rotate(3deg); }
  .cta-content { padding: 95px 0; }
  .cta-content h2 { font-size: 3.3rem; }
  .footer-grid { display: flex; flex-direction: column; align-items: flex-start; gap: 21px; }
  .footer-email { margin-top: 9px; }
  .copyright { width: 100%; }
}

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