:root {
  --blue: #003087;
  --ink: #0c1730;
  --white: #ffffff;
  --stone: #f3f1ec;
  --limestone: #d8d0c2;
  --sage: #657566;
  --clay: #a87346;
  --line: rgba(12, 23, 48, 0.14);
  --shadow: 0 22px 70px rgba(12, 23, 48, 0.16);
  --display: "Michroma", "Bahnschrift", "Eurostile", "Bank Gothic", "Segoe UI", sans-serif;
  --body: "Josefin Sans", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
}

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

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

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 72px);
  min-height: 156px;
  padding: 22px clamp(22px, 5vw, 76px);
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(12, 23, 48, 0.1);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  color: var(--blue);
}

.brand {
  width: clamp(430px, 42vw, 650px);
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}

.brand > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100svh - 156px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.feature-image {
  background-image: linear-gradient(90deg, rgba(0, 48, 135, 0.92), rgba(0, 48, 135, 0.45) 46%, rgba(12, 23, 48, 0.12)), url("assets/hero-hardscape.png");
  background-position: center;
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 23, 48, 0.68), transparent);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  max-width: calc(100% - 36px);
  min-width: 0;
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: inherit;
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--display);
  font-size: 82px;
  line-height: 1;
  font-weight: 400;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.intro,
.services,
.process,
.contact {
  padding: 104px 56px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.64fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
  background: var(--stone);
}

.intro h2,
.section-heading h2,
.feature-copy h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 48px;
  line-height: 1.08;
  font-weight: 400;
}

.intro p,
.feature-copy p,
.contact-copy p {
  margin: 0;
  color: rgba(12, 23, 48, 0.72);
  font-size: 20px;
  line-height: 1.65;
}

.section-kicker {
  color: var(--blue);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.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: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 58px;
  color: var(--white);
  background: var(--blue);
  font-family: var(--display);
  font-size: 11px;
}

.service-card h3,
.timeline h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 400;
}

.service-card p,
.timeline p,
.site-footer p {
  margin: 0;
  color: rgba(12, 23, 48, 0.7);
  font-size: 17px;
  line-height: 1.55;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: 680px;
  background: var(--ink);
}

.feature-image {
  min-height: 520px;
  background-image: linear-gradient(90deg, rgba(12, 23, 48, 0.05), rgba(12, 23, 48, 0.34)), url("assets/hero-hardscape.png");
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 7vw, 92px);
  color: var(--white);
  background: linear-gradient(160deg, var(--ink), #172418);
}

.feature-copy .section-kicker,
.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  font-size: 18px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 13px;
  height: 13px;
  background: var(--clay);
}

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

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

.timeline article {
  min-height: 260px;
  padding: 30px;
  background: var(--stone);
}

.timeline span {
  display: block;
  margin-bottom: 58px;
  color: var(--clay);
  font-family: var(--display);
  font-size: 40px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 90px);
  background: var(--white);
}

.contact-copy {
  max-width: 680px;
}

.estimate-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--stone);
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

.form-success {
  margin: 0;
  padding: 14px;
  color: var(--blue);
  background: rgba(0, 48, 135, 0.08);
  border: 1px solid rgba(0, 48, 135, 0.22);
  font-size: 17px;
  line-height: 1.45;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(12, 23, 48, 0.72);
  font-family: var(--display);
  font-size: 11px;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(12, 23, 48, 0.22);
  border-radius: 0;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  font: 17px var(--body);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 48, 135, 0.3);
  outline-offset: 2px;
}

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

.site-footer img {
  width: min(280px, 54vw);
}

.site-footer p {
  font-family: var(--display);
  text-transform: uppercase;
}

.success-page {
  min-height: calc(100svh - 156px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 72px);
  background: var(--stone);
}

.success-panel {
  max-width: 760px;
}

.success-panel h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1;
  font-weight: 400;
}

.success-panel p {
  max-width: 650px;
  margin: 24px 0 34px;
  color: rgba(12, 23, 48, 0.72);
  font-size: 22px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .feature-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-band {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    min-height: 150px;
    padding: 16px 18px;
  }

  .brand {
    width: min(92vw, 390px);
    height: 84px;
  }

  .site-nav {
    justify-content: center;
    gap: 18px;
    font-size: 10px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .intro,
  .services,
  .process,
  .contact {
    padding: 72px 18px;
  }

  .intro h2,
  .section-heading h2,
  .feature-copy h2,
  .contact h2 {
    font-size: 32px;
  }

  .hero-media {
    background-position: 64% center;
  }

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

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

  .service-mark,
  .timeline span {
    margin-bottom: 34px;
  }

  .estimate-form {
    padding: 22px;
  }

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