:root {
  --ink: #17212b;
  --muted: #66717d;
  --line: #d8dee4;
  --paper: #f4f1ec;
  --white: #ffffff;
  --steel: #2a3036;
  --green: #1f252b;
  --amber: #8d949b;
  --dark: #151a1f;
  --shadow: 0 22px 70px rgba(17, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32));
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-family: "Russo One", Impact, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.brand-text span {
  color: currentColor;
  font-size: 12px;
  opacity: 0.74;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 34px);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  opacity: 0.82;
}

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

.header-phone {
  justify-self: end;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  align-items: end;
  gap: 34px;
  min-height: 96vh;
  padding: 144px clamp(18px, 5vw, 72px) 48px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 15, 18, 0.94), rgba(21, 26, 31, 0.74) 48%, rgba(21, 26, 31, 0.44)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin: 0;
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--green);
}

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

.hero-panel {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(17, 24, 32, 0.54);
}

.hero-panel strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker span {
  padding: 18px 34px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  background: var(--paper);
}

.section-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.intro h2,
.section-heading h2,
.stats-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro p,
.section-heading p,
.stats-copy p,
.contact-section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

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

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}

.section-heading > p {
  max-width: 470px;
  margin: 8px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 292px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  z-index: 2;
  background: #f9fbfa;
  box-shadow: 0 16px 45px rgba(31, 107, 90, 0.12);
  transform: translateY(-6px);
}

.service-card span,
.timeline-item span {
  color: var(--amber);
  font-weight: 800;
}

.service-card h3,
.timeline-item h3 {
  margin: 34px 0 12px;
  font-family: "Russo One", Impact, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
}

.service-card p,
.timeline-item p,
.project-row span {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 90px);
  background: var(--dark);
  color: var(--white);
}

.stats-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-row {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.08);
}

.project-row strong {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.15;
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #cbd2d8;
}

.timeline-item {
  min-height: 260px;
  padding: 28px 24px;
  border-right: 1px solid #cbd2d8;
}

.timeline-item:first-child {
  border-left: 1px solid #cbd2d8;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(30px, 7vw, 110px);
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
  background: var(--steel);
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 10px 22px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.contact-details a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 13px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(31, 107, 90, 0.12);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #0c1117;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  .main-nav {
    display: none;
  }

  .hero,
  .stats,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 520px;
  }

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

  .section-heading,
  .intro {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand-text span,
  .header-phone {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .hero {
    padding-top: 110px;
  }

  h1 {
    font-size: 39px;
  }

  .btn {
    width: 100%;
  }

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

  .service-card,
  .timeline-item {
    min-height: auto;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}
