:root {
  color-scheme: light;
  --graphite: #1d2129;
  --steel: #4a6570;
  --lime: #b7e600;
  --silver: #cad2db;
  --paper: #f5f6f2;
  --line: #d7dad4;
  --gutter: clamp(18px, 4vw, 64px);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  color: var(--graphite);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }

.frame {
  width: min(100% - var(--gutter) * 2, 1320px);
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 12px auto auto 12px;
  transform: translateY(calc(-100% - 20px));
  padding: 12px 16px;
  background: var(--lime);
  color: var(--graphite);
}
.skip-link:focus { transform: none; }

.site-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.055em;
  text-decoration: none;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: clamp(15px, 3vw, 40px); }
.site-header nav a, .back-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
}
.site-header nav a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: .24em; }
.preview-label {
  justify-self: end;
  font-size: .8rem;
  color: var(--steel);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 6px;
  background: var(--graphite);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5vw, 80px);
  color: var(--paper);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: clamp(24px, 3vw, 39px);
  color: var(--silver);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow span { width: 7px; height: 7px; background: var(--lime); }
.hero h1 {
  font-size: clamp(2.6rem, 5.7vw, 5.75rem);
  line-height: .99;
  font-weight: 720;
  letter-spacing: -.068em;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description {
  max-width: 35ch;
  margin-block: 27px 31px;
  color: var(--silver);
  font-size: clamp(.95rem, 1.25vw, 1.125rem);
  line-height: 1.62;
}
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 16px;
  border-radius: 3px;
  background: var(--lime);
  color: var(--graphite);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #c8f229; }
.button:focus-visible { outline-color: var(--paper); }
.button span { font-size: 1.25rem; line-height: 1; }
.hero-figure {
  display: grid;
  min-width: 0;
  min-height: 100%;
  position: relative;
  aspect-ratio: 1.06;
  grid-template-areas: "image";
  background: #e6e6de;
}
.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-figure figcaption {
  grid-area: image;
  z-index: 1;
  align-self: end;
  justify-self: start;
  margin: 18px;
  padding: 8px 11px;
  border: 1px solid #d3d5cb;
  border-radius: 3px;
  background: var(--paper);
  font-size: .72rem;
  color: var(--graphite);
}

.section { padding-block: clamp(55px, 7vw, 104px); scroll-margin-top: 16px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 32px;
  margin-bottom: 30px;
}
h2 { font-size: clamp(2.35rem, 5.5vw, 4.65rem); line-height: 1; font-weight: 690; letter-spacing: -.065em; }
.section-heading p, .service p, .steps p { color: var(--steel); line-height: 1.6; }
.section-heading p { max-width: 26ch; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}
.service {
  min-width: 0;
  padding: clamp(20px, 3.2vw, 44px);
}
.service + .service { border-inline-start: 1px solid var(--line); }
.service h3, .steps h3 { font-size: clamp(1.15rem, 1.85vw, 1.7rem); line-height: 1.15; letter-spacing: -.035em; }
.service h3 { margin-bottom: 11px; }
.service p, .steps p { font-size: .95rem; }
.service-art {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
}
.service-art i { position: absolute; display: block; background: var(--lime); border: 1px solid var(--graphite); }
.art-model i { width: 21px; height: 21px; top: 16px; transform: skewY(-24deg); }
.art-model i:nth-child(1) { left: 10px; background: none; }
.art-model i:nth-child(2) { left: 17px; background: var(--paper); }
.art-model i:nth-child(3) { left: 24px; }
.art-coordinate i { width: 21px; height: 21px; }
.art-coordinate i:nth-child(1) { top: 12px; left: 12px; background: none; }
.art-coordinate i:nth-child(2) { top: 22px; left: 22px; background: none; }
.art-coordinate i:nth-child(3) { width: 11px; height: 11px; top: 22px; left: 22px; }
.art-support i { width: 30px; height: 6px; left: 12px; }
.art-support i:nth-child(1) { top: 14px; background: none; }
.art-support i:nth-child(2) { top: 24px; width: 23px; }
.art-support i:nth-child(3) { top: 34px; background: none; }

.approach { background: #e9eee4; }
.approach-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  padding: 21px 0;
  border-top: 1px solid #c7cfc2;
  counter-increment: step;
}
.steps li:last-child { border-bottom: 1px solid #c7cfc2; }
.steps li::before {
  display: grid;
  height: 30px;
  place-items: center;
  border: 1px solid #9fa99b;
  border-radius: 3px;
  content: counter(step);
  font-size: .85rem;
  font-weight: 650;
}
.steps h3 { margin: 2px 0 7px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 105px;
  padding-block: 20px;
}
.back-top { gap: 10px; }

@media (max-width: 900px) {
  .hero-copy { padding: clamp(24px, 4vw, 48px); }
  .hero-figure { background: linear-gradient(#e3e1da, #ebe7de); }
  .hero-figure img { object-fit: contain; }
}

@media (max-width: 700px) {
  .site-header { grid-template-columns: 1fr auto; gap: 1px 12px; padding-block: 13px 3px; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px clamp(20px, 6vw, 48px) 36px; }
  .hero h1 { font-size: clamp(2.55rem, 10.3vw, 4.9rem); }
  .hero-figure { aspect-ratio: 1.12; }
  .hero-figure img { object-fit: cover; }
  .hero-figure figcaption { margin: 12px; }
  .section-heading { align-items: start; flex-direction: column; }
  .service-grid, .approach-layout { grid-template-columns: 1fr; }
  .service + .service { border-inline-start: 0; border-top: 1px solid var(--line); }
  .service-art { margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
