:root {
  --ink: #182224;
  --muted: #5c6b6f;
  --paper: #f7f7f2;
  --white: #ffffff;
  --teal: #0f5f5c;
  --teal-dark: #103b3f;
  --gold: #c99a3a;
  --line: rgba(24, 34, 36, 0.14);
  --shadow: 0 18px 48px rgba(12, 26, 28, 0.16);
  --max: 1120px;
}

* {
  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.6;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(16, 35, 38, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84vh;
  padding: 120px clamp(20px, 6vw, 72px) 80px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 20, 22, 0.88) 0%, rgba(11, 43, 45, 0.72) 42%, rgba(11, 43, 45, 0.12) 100%),
    url("assets/hero-project.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 11ch;
  font-size: clamp(46px, 8vw, 88px);
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #132225;
  background: var(--gold);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

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

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 36px));
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro-strip div {
  min-height: 120px;
  padding: 24px;
  background: var(--white);
}

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

.intro-strip strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.intro-strip span {
  color: var(--muted);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.section-heading.light {
  color: var(--white);
}

.section-heading.light h2 {
  color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  color: var(--teal);
  background: rgba(15, 95, 92, 0.1);
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.process-list h3,
.project-list h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.service-card p,
.process-list p,
.project-list p {
  margin: 0;
  color: var(--muted);
}

.process-band {
  padding: 86px max(18px, calc((100vw - var(--max)) / 2)) 94px;
  background: var(--teal-dark);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.process-list li {
  min-height: 230px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.process-list span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 800;
}

.process-list h3 {
  color: var(--white);
}

.process-list p {
  color: rgba(255, 255, 255, 0.74);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
  gap: 52px;
  align-items: start;
}

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

.project-list div {
  padding: 24px 0 24px 24px;
  border-left: 3px solid var(--gold);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: 54px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 82px;
  padding: 46px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 59, 63, 0.98), rgba(15, 95, 92, 0.92)),
    url("assets/hero-project.png") center / cover no-repeat;
}

.contact-copy p:not(.eyebrow) {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.78);
}

.mail-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #2f3a3c;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfbf8;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(201, 154, 58, 0.3);
  border-color: var(--gold);
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 80vh;
    padding-top: 112px;
    background:
      linear-gradient(180deg, rgba(7, 20, 22, 0.9) 0%, rgba(11, 43, 45, 0.72) 54%, rgba(11, 43, 45, 0.16) 100%),
      url("assets/hero-project.png") center / cover no-repeat;
  }

  .hero h1 {
    max-width: 9ch;
  }

  .intro-strip,
  .service-grid,
  .process-list,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-list {
    background: transparent;
    gap: 12px;
  }

  .process-list li {
    min-height: auto;
    border-radius: 8px;
  }

  .contact-section {
    padding: 34px 22px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    max-width: 150px;
    line-height: 1.15;
  }

  .hero {
    min-height: 78vh;
    padding-inline: 18px;
  }

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

  .section {
    padding: 72px 0;
  }

  .intro-strip {
    margin-top: -20px;
  }

  .service-card,
  .contact-form {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
