:root {
  --bg: #edf1f5;
  --surface: #ffffff;
  --surface-alt: #dfe5eb;
  --text: #101820;
  --muted: #5c6a79;
  --line: rgba(16, 24, 32, 0.12);
  --navy: #1568bd;
  --navy-strong: #0f4d8a;
  --black: #060b10;
  --white: #ffffff;
  --accent: #1568bd;
  --accent-soft: rgba(21, 104, 189, 0.14);
  --shadow: 0 30px 90px rgba(6, 11, 16, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 3rem));
  --header-height: 88px;
  --transition: 240ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(29, 95, 154, 0.12), transparent 32%),
    linear-gradient(180deg, #f5f8fb 0%, var(--bg) 58%, #f7f9fb 100%);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 248, 251, 0.84);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.topbar__inner,
.section__inner,
.footer__inner {
  width: var(--container);
  margin: 0 auto;
}

.topbar__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  height: 4.3rem;
  width: auto;
  max-width: min(24vw, 12.75rem);
  object-fit: contain;
}

.brand--footer .brand__logo {
  height: 3.45rem;
  max-width: min(24vw, 10rem);
}

.footer__brand-block {
  display: grid;
  gap: 0.9rem;
  max-width: 32rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav a {
  padding: 0.8rem 1rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--text);
  background: rgba(16, 24, 32, 0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.05);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

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

.button--primary {
  background: linear-gradient(135deg, var(--navy), var(--black));
  color: var(--white);
  box-shadow: 0 18px 36px rgba(6, 11, 16, 0.2);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 26px 48px rgba(6, 11, 16, 0.24);
}

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

.button--secondary-dark {
  border-color: rgba(16, 24, 32, 0.12);
  background: transparent;
  color: var(--text);
}

.button--inline {
  min-height: auto;
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  font-weight: 700;
  color: var(--navy);
}

.button--inline:hover,
.button--inline:focus-visible {
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.hero .eyebrow {
  color: var(--white);
}

.page-hero .eyebrow,
.story-card--dark .eyebrow,
.service-card .eyebrow,
.section--next-move .eyebrow {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: var(--black);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 16, 0.88) 0%, rgba(6, 11, 16, 0.56) 48%, rgba(6, 11, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(9, 17, 24, 0.1) 0%, rgba(6, 11, 16, 0.65) 100%);
}

.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  object-fit: cover;
}

.hero__poster {
  background:
    linear-gradient(130deg, rgba(18, 56, 95, 0.35), transparent 40%),
    url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1600&q=80") center/cover;
  transition: opacity 320ms ease;
}

.hero.has-video .hero__poster {
  opacity: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: end;
  padding: 3rem 0 4.5rem;
}

.hero__content {
  max-width: 42rem;
  color: var(--white);
}

.hero h1,
.page-hero h1,
.section h2,
.service-card h3,
.pillar h3,
.contact-panel h3 {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  line-height: 0.94;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.1rem);
  letter-spacing: -0.05em;
  margin-top: 1.1rem;
}

.hero p {
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.hero__actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__foot {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.metric strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.metric span {
  color: rgba(255, 255, 255, 0.7);
}

.section {
  padding: 6rem 0;
}

.section--tight {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section__inner {
  display: grid;
  gap: 1.8rem;
}

.section__heading {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}

.section--next-move {
  position: relative;
}

.section--next-move .section__inner {
  position: relative;
  overflow: hidden;
  padding: 4rem;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(8, 25, 43, 0.58), rgba(18, 56, 95, 0.42)),
    linear-gradient(180deg, rgba(18, 56, 95, 0.12), rgba(6, 11, 16, 0.32)),
    url("construction-site-with-excavator-dusty-environment.jpg") center/cover;
  box-shadow: 0 38px 80px rgba(6, 11, 16, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section--next-move .section__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 16, 0.08), rgba(18, 56, 95, 0.04));
  pointer-events: none;
}

.section--next-move .section__heading,
.section--next-move .cta-row {
  position: relative;
  z-index: 1;
}

.section--next-move .section__heading {
  max-width: 38rem;
  padding: 1.6rem 1.7rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(6, 11, 16, 0.52), rgba(6, 11, 16, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 34px rgba(6, 11, 16, 0.18);
  backdrop-filter: blur(8px);
}

.section--next-move .eyebrow,
.section--next-move h2 {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(6, 11, 16, 0.35);
}

.section--next-move p {
  color: var(--white);
  max-width: 34rem;
  text-shadow: 0 2px 10px rgba(6, 11, 16, 0.3);
}

.section--next-move .cta-row {
  align-self: flex-start;
  padding: 1rem;
  border-radius: 999px;
  background: rgba(6, 11, 16, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.section--next-move .button--secondary-dark {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.section--next-move .button--secondary-dark:hover,
.section--next-move .button--secondary-dark:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.section h2,
.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  letter-spacing: -0.04em;
}

.section p,
.page-hero p,
.service-card p,
.pillar p,
.contact-panel p,
.form-card p,
.footer p,
.detail-list li,
.stat p {
  color: var(--muted);
  line-height: 1.75;
}

.section--next-move .section__heading p {
  color: var(--white);
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.8fr);
  gap: 2rem;
  align-items: end;
  padding: 2.2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.66)),
    linear-gradient(180deg, rgba(29, 95, 154, 0.08), transparent);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.statement__copy p {
  font-size: 1.08rem;
  margin: 0;
}

.statement__aside {
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(18, 56, 95, 0.08), rgba(6, 11, 16, 0.04));
  border: 1px solid rgba(16, 24, 32, 0.08);
}

.statement__aside strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.45rem;
}

.grid,
.service-grid,
.pillars,
.contact-layout,
.story-grid,
.detail-grid,
.stats-grid {
  display: grid;
  gap: 1.5rem;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #132333 0%, #0d1620 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: 0 28px 60px rgba(6, 11, 16, 0.18);
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(6, 11, 16, 0.78) 100%),
    var(--card-image, linear-gradient(135deg, rgba(29, 95, 154, 0.25), transparent));
  background-size: cover;
  background-position: center;
  transition: transform 700ms ease;
  z-index: -1;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.service-card:hover::before,
.service-card:focus-within::before {
  transform: scale(1.06);
}

.service-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-top: auto;
}

.service-card p {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.section__footer {
  display: flex;
  justify-content: flex-start;
}

.band {
  background: linear-gradient(135deg, rgba(18, 56, 95, 0.05), rgba(6, 11, 16, 0.02));
  border-block: 1px solid rgba(16, 24, 32, 0.06);
}

.pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar,
.stat,
.detail-card,
.form-card,
.contact-panel,
.story-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.pillar,
.detail-card,
.story-card,
.contact-panel {
  padding: 2rem;
}

.pillar h3,
.contact-panel h3,
.story-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.story-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.story-card--dark {
  background:
    linear-gradient(160deg, rgba(18, 56, 95, 0.95), rgba(6, 11, 16, 0.98)),
    var(--black);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

.story-card--dark p,
.story-card--dark li {
  color: rgba(255, 255, 255, 0.72);
}

.story-card--dark h3 {
  color: var(--white);
}

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

.detail-card h3 {
  font-family: "Montserrat", sans-serif;
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
}

.detail-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.2rem;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--navy);
}

.page-hero {
  padding: 6rem 0 4rem;
}

.page-hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 4rem;
  background:
    linear-gradient(120deg, rgba(18, 56, 95, 0.96), rgba(6, 11, 16, 0.96)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  box-shadow: 0 40px 90px rgba(6, 11, 16, 0.24);
}

.page-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 16, 0.72) 0%, rgba(6, 11, 16, 0.24) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
  margin: 1.2rem 0 0;
}

.page-hero h1 {
  color: var(--white);
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 1.9rem;
}

.stat strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.contact-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.82)),
    linear-gradient(145deg, rgba(29, 95, 154, 0.06), transparent);
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.contact-points li span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.form-card {
  padding: 2rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 1rem;
  background: rgba(247, 249, 251, 0.8);
  padding: 0.95rem 1rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field textarea {
  min-height: 11rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(29, 95, 154, 0.14);
  background: var(--white);
}

.form-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: var(--muted);
}

[data-js-ready="true"] [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-js-ready="true"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100vw - 1.5rem, 100%);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-cta {
    position: fixed;
    top: calc(var(--header-height) + 0.75rem);
    left: 0.75rem;
    right: 0.75rem;
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1.4rem;
    background: rgba(245, 248, 251, 0.96);
    border: 1px solid rgba(16, 24, 32, 0.08);
    box-shadow: 0 30px 60px rgba(6, 11, 16, 0.18);
    transform: translateY(-0.75rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  body.menu-open .nav-cta {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav a,
  .nav-cta .button {
    width: 100%;
    justify-content: center;
  }

  .hero__foot,
  .grid,
  .service-grid,
  .pillars,
  .detail-grid,
  .contact-layout,
  .story-grid,
  .stats-grid,
  .statement,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    align-items: center;
    padding: 4rem 0;
  }

  .hero__foot {
    gap: 0.85rem;
  }

  .metric {
    padding-top: 0.85rem;
  }

  .page-hero__frame {
    padding: 2.5rem 1.4rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 78px;
  }

  .topbar__inner {
    gap: 0.75rem;
  }

  .brand {
    max-width: calc(100% - 4rem);
  }

  .brand__logo {
    height: 2.95rem;
    max-width: min(36vw, 8rem);
  }

  .brand--footer .brand__logo {
    height: 2.6rem;
    max-width: min(36vw, 7rem);
  }

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

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section__heading {
    gap: 0.85rem;
  }

  .section--next-move .section__inner {
    padding: 2rem 1.4rem;
  }

  .section--next-move .section__heading,
  .section--next-move .cta-row {
    padding: 1.2rem;
  }

  .statement,
  .pillar,
  .detail-card,
  .story-card,
  .contact-panel,
  .form-card,
  .stat {
    padding: 1.4rem;
  }

  .service-card {
    min-height: 19rem;
    padding: 1.4rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    gap: 0.8rem 1rem;
  }

  .hero__actions,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
