:root {
  --ink: #172126;
  --muted: #5d6d73;
  --paper: #f4f7f6;
  --panel: #ffffff;
  --line: #d7e0e1;
  --steel: #36464d;
  --cyan: #00a9b7;
  --amber: #d6a21f;
  --green: #49705e;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(24, 36, 41, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 33, 38, 0.04) 1px, transparent 1px) 0 0 / 74px 74px,
    linear-gradient(0deg, rgba(23, 33, 38, 0.035) 1px, transparent 1px) 0 0 / 74px 74px,
    var(--paper);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(244, 247, 246, 0.84);
  border-bottom: 1px solid rgba(215, 224, 225, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--cyan);
  font-family: "Bahnschrift", "DIN Condensed", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

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

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 118px);
  padding: clamp(24px, 5vw, 54px) clamp(18px, 5vw, 72px) 30px;
  overflow: hidden;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-family: "Bahnschrift", "DIN Condensed", "Arial Narrow", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.01;
}

h2 {
  font-size: clamp(34px, 5vw, 66px);
}

h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.15;
}

.hero-text {
  max-width: 580px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--amber);
}

.button.secondary {
  background: #fff;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual img {
  width: min(820px, 58vw);
  min-width: 420px;
  border: 1px solid rgba(23, 33, 38, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  top: -28px;
  right: -26px;
  z-index: -1;
  width: 74%;
  height: 82%;
  content: "";
  border: 2px solid var(--cyan);
}

.hero-visual figcaption {
  position: absolute;
  left: -18px;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: min(520px, 92%);
}

.hero-visual figcaption span {
  padding: 8px 10px;
  color: #fff;
  background: var(--ink);
  border-left: 4px solid var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

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

.proof-strip div {
  padding: clamp(22px, 3.6vw, 42px);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

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

.proof-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

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

.section,
.capabilities,
.contact {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 0.64fr);
  gap: 30px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 320px;
  padding: 28px;
  background: #fff;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-bottom: 34px;
  color: var(--cyan);
  border: 1px solid var(--line);
  font-family: "Bahnschrift", "DIN Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
}

.service-card p,
.timeline-item p,
.capability-copy p,
.contact-copy p,
.contact-form label {
  color: var(--muted);
}

.capabilities {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.capability-copy p {
  max-width: 580px;
  color: #b8c7ca;
  font-size: 18px;
}

.capability-board {
  background: #eef4f5;
  border: 1px solid #fff;
  box-shadow: 12px 12px 0 var(--cyan);
}

.board-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.board-line:last-child {
  border-bottom: 0;
}

.board-line span {
  color: var(--muted);
  font-weight: 700;
}

.board-line strong {
  text-align: right;
}

.process-section {
  background: #eef3f1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  min-height: 230px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 44px;
  color: #fff;
  background: var(--steel);
  border-radius: 50%;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.62fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  background: #fff;
}

.contact-copy p {
  max-width: 560px;
  font-size: 18px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 10px 14px;
  color: #fff;
  background: var(--steel);
  border-left: 5px solid var(--cyan);
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d5d7;
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #cbd8dc;
  background: var(--ink);
}

.site-footer span {
  max-width: 650px;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .capabilities,
  .contact,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img {
    width: 100%;
    min-width: 0;
  }

  .service-grid,
  .timeline,
  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
}

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

  .site-nav {
    position: fixed;
    top: 77px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .service-grid,
  .timeline,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .proof-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .service-card,
  .timeline-item {
    min-height: auto;
  }

  .board-line,
  .site-footer {
    display: grid;
  }

  .board-line strong,
  .site-footer span {
    text-align: left;
  }

  .hero-visual figcaption {
    position: static;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
