:root {
  --ink: #111827;
  --muted: #4b5563;
  --line: #d1d5db;
  --paper: #f8fafc;
  --white: #ffffff;
  --green: #13b981;
  --green-dark: #047857;
  --orange: #f59e0b;
  --steel: #6b7280;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 172px;
  min-width: 132px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
}

.site-header.is-scrolled .brand {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.86;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.header-cta {
  background: var(--orange);
  color: var(--ink);
}

.button-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 23, 0.86) 0%, rgba(8, 13, 23, 0.52) 45%, rgba(8, 13, 23, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 13, 23, 0.78) 0%, rgba(8, 13, 23, 0.04) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 84px) 162px;
}

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

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

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

.hero-strip {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 6vw, 84px);
  right: clamp(18px, 6vw, 84px);
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(17, 24, 39, 0.68);
  backdrop-filter: blur(14px);
}

.hero-strip div {
  padding: 18px;
}

.hero-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  font-size: 0.98rem;
}

.hero-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 6vw, 84px);
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(280px, 1.3fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 38px;
}

.section h2,
.contact h2 {
  max-width: 860px;
  font-size: clamp(2rem, 5vw, 4.6rem);
}

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

.intro-grid article,
.service-list article {
  background: var(--white);
}

.intro-grid article {
  min-height: 246px;
  padding: 28px;
}

.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  font-size: 0.82rem;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
}

.services {
  background: #eef2f7;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: stretch;
}

.service-layout > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.service-list article {
  padding: 26px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
}

.proof {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.proof p,
.proof dd {
  color: rgba(255, 255, 255, 0.74);
}

.proof-media {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 14px;
  align-items: end;
}

.proof-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.proof-media img:nth-child(2) {
  height: 390px;
}

.proof-copy h2 {
  color: var(--white);
}

.proof-copy > p {
  margin: 24px 0 0;
  font-size: 1.04rem;
}

.mini-stats {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
}

.mini-stats div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-stats dt {
  font-weight: 900;
}

.mini-stats dd {
  margin: 4px 0 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 280ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.process {
  background: #f1f5f9;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline li {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
}

.timeline span {
  display: block;
  margin-bottom: 70px;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(70px, 9vw, 120px) clamp(18px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.74)),
    url("assets/epoxy-green-finished.jpg") center / cover;
  color: var(--white);
}

.contact-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-details p {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details strong {
  color: var(--white);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(18px, 6vw, 84px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
  color: var(--green-dark);
}

@media (max-width: 980px) {
  .site-header {
    gap: 16px;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    margin-bottom: 230px;
  }

  .hero-strip,
  .intro-grid,
  .timeline,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section-copy,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-layout > img {
    min-height: 420px;
  }

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

@media (max-width: 700px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding-top: 12px;
  }

  .brand {
    width: 142px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 960px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 300px;
  }

  .hero-strip {
    left: 18px;
    right: 18px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 18px;
  }

  .section h2,
  .contact h2 {
    font-size: 2.3rem;
  }

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

  .proof-media img,
  .proof-media img:nth-child(2) {
    height: 320px;
  }

  .gallery-item.featured {
    grid-column: auto;
    grid-row: auto;
  }

  .contact {
    padding: 64px 18px;
  }

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