:root {
  --ink: #16244d;
  --blue: #3979b8;
  --aqua: #2bb5c8;
  --aqua-soft: #dff6f8;
  --paper: #fbfcff;
  --muted: #5f6c85;
  --line: #dce6f0;
  --charcoal: #232023;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 36, 77, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251, 252, 255, 0.88);
  border-bottom: 1px solid rgba(220, 230, 240, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.brand__logo {
  width: 208px;
  max-height: 62px;
  object-fit: contain;
}

.brand__fallback {
  display: none;
  flex-direction: column;
  gap: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand__fallback span {
  color: var(--ink);
  font-size: 1.2rem;
}

.brand__fallback small {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.brand--fallback .brand__logo {
  display: none;
}

.brand--fallback .brand__fallback {
  display: inline-flex;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 82px);
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 252, 255, 0.98) 0%, rgba(251, 252, 255, 0.9) 38%, rgba(251, 252, 255, 0.2) 70%),
    linear-gradient(180deg, rgba(251, 252, 255, 0) 70%, var(--paper) 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  align-self: center;
  width: min(700px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 7.4vw, 7.1rem);
}

.hero__copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(22, 36, 77, 0.2);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.section {
  padding: clamp(72px, 9vw, 122px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.intro > div {
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
}

.stat {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--aqua);
  font-weight: 800;
}

.intro h2,
.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.intro p,
.service-card p,
.process p,
.process li,
.contact p {
  color: var(--muted);
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section__heading h2,
.process h2,
.contact h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(22, 36, 77, 0.06);
}

.service-card__icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  place-items: center;
  color: var(--white);
  background: var(--aqua);
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(72px, 9vw, 122px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.process .eyebrow,
.process__steps span {
  color: #74d5df;
}

.process p,
.process li {
  color: rgba(255, 255, 255, 0.74);
}

.process__steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.process__steps li {
  position: relative;
  padding: 28px 0 28px 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process__steps li::before {
  position: absolute;
  top: 24px;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-weight: 800;
}

.process__steps span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.work {
  background: linear-gradient(180deg, var(--paper), var(--aqua-soft));
}

.idea-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.idea-strip span {
  padding: 12px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr;
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(72px, 9vw, 122px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.contact__email {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 800;
}

.form-status--success {
  color: #16744c;
}

.form-status--error {
  color: #a13434;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
  }

  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(251, 252, 255, 0.98) 0%, rgba(251, 252, 255, 0.92) 52%, rgba(251, 252, 255, 0.32) 100%),
      linear-gradient(180deg, rgba(251, 252, 255, 0) 70%, var(--paper) 100%);
  }

  .intro,
  .service-grid,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .section__heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 74px;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    width: 170px;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 720px;
    padding-top: 74px;
  }

  .hero__media img {
    object-position: 62% center;
  }

  h1 {
    max-width: 9ch;
  }

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

  .process__steps li {
    padding-left: 0;
    padding-top: 84px;
  }

  .process__steps li::before {
    top: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}
