:root {
  color-scheme: light;
  --ink: #151512;
  --muted: #636158;
  --paper: #f4eadb;
  --warm: #d8b978;
  --field: #e5ece1;
  --graphite: #222522;
  --line: rgba(21, 21, 18, 0.14);
  --gold: #d49a39;
  --green: #3f6655;
  --clay: #b96243;
  --blue: #315f75;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(21, 21, 18, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(212, 154, 57, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(63, 102, 85, 0.12), transparent 38%),
    var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(244, 234, 219, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(212, 154, 57, 0.2);
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(21, 21, 18, 0.16);
  background: var(--gold);
  color: #17130d;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 5px;
  color: currentColor;
  opacity: 0.72;
  font-size: 12px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.header-action,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 0 18px;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.header-action {
  justify-self: end;
}

.site-header.is-scrolled .header-action,
.site-header.is-open .header-action {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.site-header.is-scrolled .header-action:hover,
.site-header.is-open .header-action:hover {
  background: var(--ink);
}

.button.primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, #f0b34d, var(--gold));
  color: #17130d;
  box-shadow: 0 14px 38px rgba(212, 154, 57, 0.28);
}

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

.nav-toggle {
  display: none;
}

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

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-construction.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 19, 17, 0.88) 0%, rgba(26, 42, 35, 0.68) 38%, rgba(24, 28, 25, 0.1) 74%),
    linear-gradient(0deg, rgba(21, 21, 18, 0.78) 0%, rgba(21, 21, 18, 0) 50%),
    radial-gradient(circle at 18% 28%, rgba(212, 154, 57, 0.28), transparent 32%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 136px 0 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  gap: 1px;
  margin: 56px 0 0;
  padding: 0;
  background: rgba(240, 179, 77, 0.44);
}

.hero-stats div {
  min-height: 112px;
  padding: 22px;
  background: rgba(17, 24, 20, 0.58);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-size: 34px;
  font-weight: 850;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 0;
}

.intro-grid,
.split,
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.intro {
  position: relative;
}

.intro::before {
  content: "";
  position: absolute;
  top: 54px;
  right: 0;
  width: min(240px, 30vw);
  height: 10px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--clay));
}

.intro h2,
.split h2,
.cta h2,
.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro p,
.section-head p,
.approach-list p,
.cta p,
.service-grid p,
.steps p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.muted {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, rgba(49, 95, 117, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(212, 154, 57, 0.18), transparent 36%),
    var(--field);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 38px;
}

.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-grid article {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.service-grid article:nth-child(1) {
  background: #f4dfbd;
}

.service-grid article:nth-child(2) {
  background: #dce8dd;
}

.service-grid article:nth-child(3) {
  background: #ead7ca;
}

.service-grid article:nth-child(4) {
  background: #d7e3e8;
}

.service-grid article:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(21, 21, 18, 0.14);
}

.service-grid span,
.steps span {
  display: block;
  margin-bottom: 54px;
  color: var(--clay);
  font-weight: 800;
}

.service-grid h3,
.steps h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.approach-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.approach-list div {
  padding: 30px;
  background: #fcf7ee;
}

.approach-list div:nth-child(2) {
  background: #eaf1e6;
}

.approach-list div:nth-child(3) {
  background: #f2e2ca;
}

.approach-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.process {
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 190px 30px 34px;
  background: var(--graphite);
  color: var(--white);
}

.steps li:nth-child(2) {
  background: var(--green);
}

.steps li:nth-child(3) {
  background: var(--blue);
}

.steps li span {
  position: absolute;
  top: 28px;
  left: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(108px, 9vw, 166px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  transform: translateX(-50%) scaleX(1.16);
  transform-origin: center top;
  font-feature-settings: "tnum";
}

.steps li:nth-child(1) span {
  color: rgba(212, 154, 57, 0.24);
}

.steps li:nth-child(2) span {
  color: rgba(244, 223, 189, 0.22);
}

.steps li:nth-child(3) span {
  color: rgba(215, 227, 232, 0.22);
}

.steps li h3,
.steps li p {
  position: relative;
  z-index: 1;
}

.steps p {
  color: rgba(255, 255, 255, 0.68);
}

.cta {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, rgba(21, 21, 18, 0.88), rgba(34, 37, 34, 0.82)),
    linear-gradient(45deg, var(--green), var(--blue));
  align-items: center;
  color: var(--white);
}

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

.cta p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: #f9f1e4;
  box-shadow: var(--shadow);
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 21, 18, 0.18);
  background: #fbfaf7;
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(212, 154, 57, 0.24);
}

.form-note {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.74);
  background: #171916;
  font-size: 14px;
}

.footer p {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.footer a {
  color: var(--gold);
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    position: relative;
    z-index: 22;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav,
  .header-action {
    position: fixed;
    left: 18px;
    right: 18px;
    display: none;
    color: var(--ink);
    background: var(--paper);
  }

  .nav.is-open {
    top: 88px;
    display: grid;
    gap: 0;
    box-shadow: var(--shadow);
  }

  .nav.is-open a {
    padding: 20px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 880px;
  }

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

  .intro-grid,
  .split,
  .cta,
  .section-head {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: 820px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 19, 17, 0.94) 0%, rgba(26, 42, 35, 0.75) 58%, rgba(15, 17, 16, 0.38) 100%),
      linear-gradient(0deg, rgba(15, 17, 16, 0.86) 0%, rgba(15, 17, 16, 0.1) 62%),
      radial-gradient(circle at 20% 24%, rgba(212, 154, 57, 0.26), transparent 34%);
  }

  .hero-stats,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .steps li,
  .service-grid article {
    min-height: auto;
  }

  .steps li {
    padding-top: 150px;
  }

  .steps li span {
    top: 24px;
    font-size: 112px;
    transform: translateX(-50%) scaleX(1.1);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 52px;
  }

  .footer {
    display: grid;
  }
}
