:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #62707a;
  --line: #d9e1e6;
  --paper: #f7f9fa;
  --white: #ffffff;
  --blue: #0d5d8f;
  --blue-deep: #073d5f;
  --green: #2f7d62;
  --shadow: 0 24px 70px rgba(10, 31, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 16, 24, 0.76), rgba(5, 16, 24, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

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

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.76rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.92rem;
}

nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 132px clamp(20px, 6vw, 80px) 76px;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 9, 14, 0.9) 0%, rgba(2, 9, 14, 0.68) 37%, rgba(2, 9, 14, 0.16) 100%),
    linear-gradient(180deg, rgba(2, 9, 14, 0.38), rgba(2, 9, 14, 0.62));
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
  max-width: 100%;
  min-width: 0;
}

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

.hero .eyebrow {
  color: #8fe4c1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  margin: 28px 0 0;
  width: min(620px, 100%);
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.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: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

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

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

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.info-strip div {
  padding: 24px clamp(20px, 4vw, 56px);
  background: var(--white);
}

.info-strip span,
dt {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.info-strip strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.section {
  padding: 86px clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 32, 38, 0.04);
}

.service-card h3,
.process-list h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.service-card p,
.process-list p,
.contact-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list div {
  padding: 26px;
  background: var(--white);
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy p {
  margin-top: 24px;
  max-width: 560px;
  font-size: 1.08rem;
}

.contact-panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

dl div:last-child {
  border-bottom: 0;
}

dd {
  margin: 0;
  font-weight: 700;
}

dd a {
  color: var(--blue-deep);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: #101820;
}

.site-footer p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    gap: 12px;
  }

  .hero {
    min-height: 82vh;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    padding: 16px 18px;
  }

  .brand small,
  nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 18px 56px;
  }

  h1 {
    max-width: 9ch;
    font-size: 2.95rem;
  }

  .hero-copy {
    max-width: calc(100vw - 36px);
    font-size: 1rem;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section {
    padding: 58px 18px;
  }

  .service-card,
  .process-list div {
    min-height: auto;
    padding: 22px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 12px;
  }
}
