:root {
  color-scheme: dark;
  --ink: #f4f1eb;
  --muted: #b9b6ad;
  --line: rgba(244, 241, 235, 0.16);
  --dark: #121211;
  --panel: #1b1a18;
  --metal: #9aa3a6;
  --rust: #b66b3a;
  --blueprint: #4f8aa8;
  --weld: #e0b15a;
  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;
  background: var(--dark);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(18, 18, 17, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 70px;
  padding: 16px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  backdrop-filter: blur(18px);
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--metal), var(--rust));
  color: #111;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nav {
  display: flex;
  gap: clamp(16px, 2.8vw, 34px);
  font-size: 0.94rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 76px) 70px;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 18, 17, 0.92) 0%, rgba(18, 18, 17, 0.72) 38%, rgba(18, 18, 17, 0.18) 78%),
    linear-gradient(0deg, rgba(18, 18, 17, 0.9) 0%, rgba(18, 18, 17, 0) 36%);
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label,
.panel-label {
  color: var(--weld);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.4rem, 11vw, 8.6rem);
  line-height: 0.88;
  margin-bottom: 28px;
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1;
}

h3 {
  font-size: 1.24rem;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  max-width: 660px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

.button.primary {
  background: var(--weld);
  border-color: var(--weld);
  color: #16130d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 76px);
}

.band {
  background:
    linear-gradient(135deg, rgba(79, 138, 168, 0.14), rgba(182, 107, 58, 0.08)),
    #171715;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
}

.intro-grid p,
.section-head p,
.contact-copy p,
.service-grid p,
.scan-copy p,
.step p {
  color: var(--muted);
  line-height: 1.65;
}

.section-head {
  max-width: 940px;
  margin-bottom: 44px;
}

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

.step {
  background: var(--panel);
  min-height: 315px;
  padding: 28px;
}

.step-number {
  color: var(--blueprint);
  display: block;
  font-weight: 900;
  margin-bottom: 70px;
}

.scan-feature {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
}

.scan-copy {
  max-width: 720px;
}

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

.scan-image {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.scan-image.large {
  aspect-ratio: 16 / 10;
  grid-column: 1 / -1;
}

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

.service-grid article {
  border-top: 2px solid var(--rust);
  padding-top: 24px;
}

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

.work-card {
  background: var(--panel);
  border: 1px solid var(--line);
}

.work-card p {
  font-weight: 800;
  margin: 0;
  padding: 18px;
}

.work-photo {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.work-visual {
  aspect-ratio: 4 / 3;
  background-color: #22211e;
  background-image:
    linear-gradient(120deg, rgba(244, 241, 235, 0.08), rgba(244, 241, 235, 0)),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(79, 138, 168, 0.18) 33px 34px),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(79, 138, 168, 0.12) 33px 34px);
  position: relative;
  overflow: hidden;
}

.work-visual::after {
  content: "";
  background: var(--metal);
  bottom: 24%;
  height: 18%;
  left: 15%;
  position: absolute;
  transform: skewX(-18deg);
  width: 70%;
}

.visual-b::after {
  background: var(--rust);
  border: 8px solid var(--metal);
  bottom: 19%;
  height: 42%;
  left: 28%;
  transform: rotate(-8deg);
  width: 42%;
}

.visual-c::after {
  background: transparent;
  border: 12px solid var(--metal);
  bottom: 20%;
  height: 52%;
  left: 18%;
  transform: rotate(2deg);
  width: 62%;
}

.contact {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
}

.contact-panel {
  background: #10100f;
  border: 1px solid var(--line);
  padding: 28px;
}

.contact-panel ul {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 26px;
  padding-left: 20px;
}

code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
}

.footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 26px clamp(20px, 6vw, 76px);
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .timeline,
  .service-grid,
  .work-grid,
  .intro-grid,
  .scan-feature,
  .contact {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 36px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    min-height: auto;
    position: absolute;
  }

  .brand span:last-child {
    max-width: 145px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 210px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 150px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(18, 18, 17, 0.92), rgba(18, 18, 17, 0.52)),
      linear-gradient(0deg, rgba(18, 18, 17, 0.94) 0%, rgba(18, 18, 17, 0) 40%);
  }

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