:root {
  --ink: #17211e;
  --muted: #64716d;
  --line: #d9e0dd;
  --paper: #f7f5ef;
  --white: #ffffff;
  --steel: #2f4b55;
  --copper: #bd6b32;
  --moss: #576f4f;
  --graphite: #202a2d;
  --shadow: 0 22px 60px rgba(29, 42, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.locked {
  overflow: hidden;
}

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

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

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

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

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

.nav {
  display: flex;
  gap: 26px;
  color: currentColor;
  font-size: 14px;
  font-weight: 650;
}

.nav a,
.header-phone {
  opacity: 0.88;
}

.nav a:hover,
.header-phone:hover {
  opacity: 1;
}

.header-phone {
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: clamp(700px, 94vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(189, 107, 50, 0.24), rgba(189, 107, 50, 0) 30%),
    linear-gradient(90deg, rgba(13, 20, 18, 0.82), rgba(13, 20, 18, 0.48) 42%, rgba(13, 20, 18, 0.1) 74%),
    linear-gradient(0deg, rgba(13, 20, 18, 0.58), rgba(13, 20, 18, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3b17a;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-text {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 40px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

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

.hero-stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  margin-bottom: 4px;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 70px);
}

.section-copy {
  max-width: 880px;
}

.section-note {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  background: var(--white);
}

.intro > p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.services {
  background: #eef1ec;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.service-card {
  min-height: 270px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(29, 42, 38, 0.07);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(189, 107, 50, 0.2);
  border-radius: 999px;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--steel), var(--moss));
  font-size: 24px;
}

.service-card p,
.work-grid p,
.feature-list span,
.steps li {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: start;
  background: var(--steel);
  color: var(--white);
}

.split .eyebrow {
  color: #f3b17a;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 24px;
  border-left: 4px solid var(--copper);
  background: rgba(255, 255, 255, 0.08);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.76);
}

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

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.work-grid article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(23, 33, 30, 0.88), rgba(23, 33, 30, 0.18)),
    url("assets/work-metal.png") center / cover;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.work-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(29, 42, 38, 0.22);
}

.work-grid article:nth-child(2) {
  background:
    linear-gradient(0deg, rgba(23, 33, 30, 0.88), rgba(23, 33, 30, 0.18)),
    url("assets/work-profiled.png") center / cover;
}

.work-grid article:nth-child(3) {
  background:
    linear-gradient(0deg, rgba(23, 33, 30, 0.88), rgba(23, 33, 30, 0.18)),
    url("assets/work-soft.png") center / cover;
}

.work-grid span {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.work-grid p {
  color: rgba(255, 255, 255, 0.78);
}

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

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

.steps li {
  min-height: 190px;
  padding: 24px;
  background: var(--white);
}

.steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 520px);
  gap: clamp(36px, 8vw, 110px);
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 70px);
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(24, 35, 31, 0.96), rgba(32, 42, 45, 0.94)),
    url("assets/work-metal.png") center / cover;
}

.contact .eyebrow {
  color: #f3b17a;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-size: 20px;
  font-weight: 850;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 650;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 70px);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

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

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

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

  .brand {
    min-width: 0;
  }

  .brand small,
  .nav {
    display: none;
  }

  .header-phone {
    font-size: 13px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 20, 18, 0.82), rgba(13, 20, 18, 0.42)),
      linear-gradient(0deg, rgba(13, 20, 18, 0.62), rgba(13, 20, 18, 0) 42%);
  }

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

  .hero-actions {
    display: grid;
  }

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

  .service-card,
  .steps li {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 28px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 38px;
  }

  .brand strong {
    max-width: 130px;
    font-size: 13px;
  }

  .header-phone {
    max-width: 126px;
    white-space: normal;
    text-align: right;
  }
}
