:root {
  --ink: #1d2227;
  --charcoal: #2b2e31;
  --charcoal-soft: #34383c;
  --blue: #3e6d94;
  --blue-bright: #5684aa;
  --blue-dark: #173a59;
  --blue-pale: #eaf1f6;
  --white: #ffffff;
  --soft: #f4f6f7;
  --muted: #6b7278;
  --line: #dfe4e7;
  --container: 1200px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

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

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

h1,
h2,
h3 {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

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

.section {
  padding: 96px 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(calc(100% - 40px), var(--container));
  height: var(--header-height);
  padding: 0 22px;
  transform: translateX(-50%);
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(38 42 45 / 0.96);
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(12px);
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  width: 225px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  color: var(--white);
}

.main-nav a {
  position: relative;
  padding: 32px 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue-bright);
  content: "";
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 13px 20px;
  border: 0;
  font-weight: 800;
}

.header-cta,
.button-primary {
  background: var(--blue);
  color: var(--white);
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-bright);
}

.button-dark {
  background: var(--charcoal);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  place-items: center start;
  overflow: hidden;
  background: url("assets/hero.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(14 23 31 / 0.87), rgb(14 23 31 / 0.26) 70%, transparent),
    linear-gradient(0deg, rgb(0 0 0 / 0.2), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 105px;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #8fb4d0;
}

.eyebrow::before,
.section-label::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.7rem, 7vw, 6.3rem);
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgb(255 255 255 / 0.77);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.text-link span {
  color: #8fb4d0;
}

.hero-notes {
  position: absolute;
  z-index: 1;
  right: max(4vw, calc((100vw - var(--container)) / 2));
  bottom: 0;
  display: grid;
  width: 330px;
  background: rgb(34 39 43 / 0.84);
  backdrop-filter: blur(8px);
}

.hero-notes div {
  display: flex;
  padding: 17px 23px;
  gap: 18px;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}

.hero-notes div:last-child {
  border-bottom: 0;
}

.hero-notes b {
  color: #8fb4d0;
}

.proof-strip {
  padding: 34px 0 50px;
  background: var(--white);
}

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

.proof-grid article {
  display: flex;
  min-height: 170px;
  padding: 30px;
  align-items: flex-start;
  gap: 22px;
  background: var(--charcoal);
  color: var(--white);
}

.proof-grid article > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(86 132 170 / 0.5);
  color: #79a1c1;
  font-weight: 900;
}

.proof-grid h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.proof-grid p {
  margin: 0;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.92rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.image-frame {
  position: relative;
}

.about-image::before {
  position: absolute;
  z-index: -1;
  top: -16px;
  right: 16px;
  width: 92%;
  height: 90%;
  border: 2px solid var(--blue);
  content: "";
}

.about-image > img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.experience {
  position: absolute;
  right: -30px;
  bottom: 30px;
  display: flex;
  max-width: 235px;
  padding: 20px 24px;
  align-items: center;
  gap: 14px;
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.18);
}

.experience strong {
  font-family: "Arial Black", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}

.experience span {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.value-grid {
  display: grid;
  margin: 34px 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.value-grid > div {
  padding-top: 18px;
  border-top: 2px solid var(--blue);
}

.value-grid b {
  font-size: 1rem;
}

.value-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.services {
  background:
    linear-gradient(rgb(244 246 247 / 0.96), rgb(244 246 247 / 0.96)),
    radial-gradient(circle at 85% 20%, var(--blue-pale), transparent 34%);
}

.section-heading {
  display: grid;
  margin-bottom: 45px;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: end;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 3px;
  color: var(--muted);
}

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

.service-grid article {
  display: flex;
  min-height: 375px;
  padding: 28px 24px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgb(24 58 89 / 0.1);
}

.service-number {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 36px;
  place-items: center;
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 900;
}

.service-grid article > p {
  color: var(--muted);
}

.service-grid ul {
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-grid li {
  position: relative;
  margin-top: 8px;
  padding-left: 24px;
  font-size: 0.9rem;
}

.service-grid li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
  content: "✓";
}

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

.project-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 34%, rgb(8 20 29 / 0.94));
  content: "";
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
}

.project-card span {
  color: #8fb4d0;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-top: 14px;
}

.project-card p {
  margin-bottom: 0;
  color: rgb(255 255 255 / 0.66);
  font-size: 0.92rem;
}

.process {
  background: var(--charcoal);
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.process-image {
  position: relative;
}

.process-image > img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.quality-card {
  position: absolute;
  right: -26px;
  bottom: 26px;
  width: min(82%, 390px);
  padding: 25px 28px;
  border-top: 3px solid var(--blue-bright);
  background: rgb(23 58 89 / 0.94);
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.28);
}

.quality-card p {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 0.69);
}

.process .section-label {
  color: #8fb4d0;
}

.process-copy > h2 {
  max-width: 560px;
}

.process-copy ol {
  margin: 35px 0;
  padding: 0;
  list-style: none;
}

.process-copy li {
  display: grid;
  padding: 18px 0;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  border-bottom: 1px solid rgb(255 255 255 / 0.11);
}

.process-copy li > span {
  color: #8fb4d0;
  font-weight: 900;
}

.process-copy li b {
  font-size: 1.08rem;
}

.process-copy li p {
  margin: 5px 0 0;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.92rem;
}

.contact {
  background:
    linear-gradient(120deg, var(--soft), var(--blue-pale));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.contact-intro > p:not(.section-label) {
  max-width: 520px;
  color: var(--muted);
}

.contact-details {
  margin-top: 35px;
}

.contact-details a,
.contact-details address {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid #cfd8de;
  font-style: normal;
}

.contact-details span {
  display: block;
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form {
  padding: 38px;
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 24px 60px rgb(23 58 89 / 0.13);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  color: rgb(255 255 255 / 0.66);
  font-size: 0.82rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0;
  background: rgb(255 255 255 / 0.055);
  color: var(--white);
  outline: none;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-bright);
}

.form-help {
  margin: 14px 0 0;
  color: rgb(255 255 255 / 0.5);
  font-size: 0.78rem;
}

.form-status {
  min-height: 24px;
  margin: 8px 0 0;
  color: #9dc0da;
  font-size: 0.88rem;
}

.site-footer {
  padding-top: 60px;
  background: #23272a;
  color: var(--white);
}

.footer-grid {
  display: grid;
  padding-bottom: 48px;
  grid-template-columns: 1.35fr 1.25fr 0.8fr 0.7fr;
  gap: 50px;
}

.footer-brand img {
  width: 255px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin-top: 18px;
  color: #9dc0da;
  font-weight: 800;
}

.footer-grid h2 {
  margin-bottom: 24px;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid h2::after {
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 12px;
  background: var(--blue-bright);
  content: "";
}

.footer-grid address,
.footer-grid a {
  display: block;
  margin-bottom: 9px;
  color: rgb(255 255 255 / 0.62);
  font-style: normal;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #9dc0da;
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: rgb(255 255 255 / 0.45);
  font-size: 0.84rem;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 215px 1fr auto;
  }

  .logo-link img {
    width: 190px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 0.84rem;
  }

  .header-cta {
    padding-inline: 14px;
    gap: 12px;
    font-size: 0.84rem;
  }

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

  .service-grid article {
    min-height: 335px;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 76px 0;
  }

  .site-header {
    top: 0;
    width: 100%;
    grid-template-columns: 1fr auto;
  }

  .logo-link img {
    width: 205px;
    height: 50px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 16px 24px 24px;
    align-items: stretch;
    flex-direction: column;
    background: var(--charcoal);
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.22);
  }

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

  .main-nav a {
    padding: 8px 0;
  }

  .main-nav a::after {
    bottom: 3px;
    width: 40px;
  }

  .hero {
    min-height: 700px;
    background-position: 64% center;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 12vw, 5rem);
  }

  .hero-notes {
    right: 20px;
    bottom: 0;
    width: 280px;
  }

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

  .proof-grid article {
    min-height: auto;
  }

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

  .about-grid,
  .process-grid,
  .contact-grid {
    gap: 50px;
  }

  .about-image {
    max-width: 600px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-card,
  .project-card img {
    min-height: 430px;
  }

  .process-image {
    max-width: 620px;
  }

  .contact-intro {
    max-width: 640px;
  }
}

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

  .site-header {
    padding-inline: 14px;
  }

  .logo-link img {
    width: 178px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgb(14 23 31 / 0.91), rgb(14 23 31 / 0.3));
  }

  .hero-content {
    padding-top: 65px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-notes {
    right: 14px;
    left: 14px;
    width: auto;
  }

  .value-grid,
  .service-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-image > img {
    height: 460px;
  }

  .experience {
    right: 12px;
    bottom: 12px;
  }

  .service-grid article {
    min-height: 315px;
  }

  .project-card,
  .project-card img {
    min-height: 390px;
  }

  .process-image > img {
    height: 470px;
  }

  .quality-card {
    right: 12px;
    bottom: 12px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-bottom {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
