:root {
  --ink: #101820;
  --muted: #596673;
  --paper: #f5f8fb;
  --panel: #ffffff;
  --line: #d9e3ea;
  --green: #168a2f;
  --green-2: #7fbd00;
  --coral: #0b73ad;
  --gold: #b5df18;
  --blue: #005f9f;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(23, 22, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 243, 234, 0.94);
  box-shadow: 0 12px 30px rgba(23, 22, 20, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(300px, 58vw);
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.12);
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 76px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 20, 17, 0.84), rgba(15, 20, 17, 0.45) 48%, rgba(15, 20, 17, 0.08)),
    linear-gradient(0deg, rgba(15, 20, 17, 0.56), rgba(15, 20, 17, 0));
}

.hero-content {
  position: relative;
  max-width: 860px;
}

.hero-logo {
  width: min(560px, 100%);
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c46d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8.4vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

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

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  background: var(--panel);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-grid article,
.work-card,
.service-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.intro-grid article {
  padding: 24px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--green);
  background: #e4efe7;
}

.icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.intro-grid p,
.work-card p,
.service-list p,
.timeline p,
.contact-copy p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.work {
  background: #eaf2f7;
}

.work-grid,
.solution-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.875fr 0.875fr;
  gap: 18px;
}

.solution-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.work-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.solution-grid .work-card {
  justify-content: space-between;
  min-height: 270px;
}

.feature-card {
  color: var(--white);
  background: linear-gradient(135deg, #064f83, #148c31);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.feature-card p,
.feature-card .card-topline {
  color: rgba(255, 255, 255, 0.76);
}

.card-topline {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green-2));
}

.feature-card .solution-icon {
  color: var(--blue);
  background: var(--white);
}

.solution-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

dl div {
  min-width: 140px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

dd {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 900;
}

.services {
  background: var(--paper);
}

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

.service-list article {
  display: grid;
  grid-template-columns: 80px minmax(160px, 0.4fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border-width: 0 0 1px;
  border-radius: 0;
  padding: 28px 0;
  background: transparent;
}

.service-list span {
  color: var(--blue);
  font-weight: 900;
}

.process {
  color: var(--white);
  background: #0b344d;
}

.process .eyebrow {
  color: #f0c46d;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  counter-increment: step;
}

.timeline li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 46px;
  color: #f0c46d;
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
  background: var(--panel);
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods span {
  display: flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f9fbfc;
  font-weight: 900;
}

.contact-methods a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(23, 22, 20, 0.08);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8d7e1;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f9fbfc;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(217, 164, 65, 0.35);
  border-color: var(--gold);
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

@media (max-width: 920px) {
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .work-grid,
  .solution-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    width: min(236px, 64vw);
    padding: 7px 9px;
  }

  .nav-toggle {
    display: grid;
  }

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

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

  .site-nav a {
    padding: 13px 10px;
  }

  .hero {
    min-height: 88svh;
    padding: 118px 20px 56px;
  }

  .hero-logo {
    width: min(380px, 100%);
    margin-bottom: 18px;
    padding: 10px 12px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(15, 20, 17, 0.86), rgba(15, 20, 17, 0.54)),
      linear-gradient(0deg, rgba(15, 20, 17, 0.58), rgba(15, 20, 17, 0));
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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