:root {
  --ink: #16201d;
  --muted: #5f6b66;
  --surface: #fbfcf8;
  --surface-strong: #ffffff;
  --line: #dfe6dd;
  --teal: #146c66;
  --teal-dark: #0f4544;
  --gold: #c5903d;
  --rust: #9b4f32;
  --sage: #e9f1e7;
  --blue: #254d70;
  --shadow: 0 18px 60px rgba(22, 32, 29, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 252, 248, 0.93);
  border-bottom: 1px solid rgba(223, 230, 221, 0.86);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(22, 32, 29, 0.08);
}

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

.brand-mark {
  align-items: center;
  background: var(--teal-dark);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 0.74rem;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
}

.brand-text {
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.1;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.5vw, 26px);
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal-dark);
}

.hero {
  background-image: linear-gradient(90deg, rgba(10, 24, 22, 0.88), rgba(10, 24, 22, 0.65) 44%, rgba(10, 24, 22, 0.16)), url("assets/hero-workspace.png");
  background-position: center;
  background-size: cover;
  display: grid;
  min-height: min(690px, 74svh);
  overflow: hidden;
  position: relative;
}

.hero-content {
  align-self: center;
  color: #fff;
  max-width: 720px;
  padding: clamp(48px, 8vw, 96px) clamp(22px, 7vw, 96px);
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.9rem);
  line-height: 0.96;
  margin: 0;
  max-width: 11ch;
}

.hero-copy {
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  margin: 24px 0 0;
  max-width: 640px;
}

.hero-support {
  color: #e6f0ec;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  margin: 14px 0 0;
  max-width: 620px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #17140f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.section,
.section-band {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-band {
  background: var(--sage);
}

.section-muted {
  background: #f2f5ef;
}

.tech-check-strip {
  background: var(--teal-dark);
  color: #fff;
  padding: 22px clamp(18px, 4vw, 56px);
}

.tech-check-strip p {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  margin: 0;
}

.tech-check-strip strong {
  color: #f0c66d;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.intro-grid,
.assessment-grid,
.contact-layout,
.process-layout {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
}

.intro h2,
.section-heading h2,
.assessment h2,
.contact-section h2 {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0;
  max-width: 820px;
}

.intro p,
.section-heading p,
.assessment p,
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

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

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

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

.service-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(22, 32, 29, 0.06);
  padding: clamp(22px, 3vw, 30px);
}

.service-icon {
  align-items: center;
  background: #edf5f2;
  border: 1px solid #cfe1dc;
  border-radius: 6px;
  color: var(--teal-dark);
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 52px;
}

.service-card h3,
.process-list h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

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

.service-card ul {
  color: var(--ink);
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-card li + li {
  margin-top: 6px;
}

.process-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: flex-start;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  padding: 18px;
}

.process-list span {
  align-items: center;
  background: var(--rust);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 0.9rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
}

.client-grid,
.problem-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-tile,
.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
  min-height: 58px;
  padding: 16px;
}

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

.problem-card {
  align-items: flex-start;
  display: flex;
  min-height: 112px;
  position: relative;
}

.problem-card::before {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin: 7px 12px 0 0;
  width: 10px;
}

.fit-note {
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 22px 0 0;
}

.metric-panel {
  background: var(--teal-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.metric-panel div {
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.metric-panel strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.metric-panel span {
  color: #d6ece7;
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(22, 32, 29, 0.06);
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
}

.hidden-field {
  display: none;
}

.quick-contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  margin-top: 24px;
  max-width: 360px;
  padding: 16px;
}

.quick-contact p {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  margin: 0;
}

.phone-placeholder {
  color: var(--teal-dark);
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-form label {
  color: var(--ink);
  display: grid;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #cbd7d1;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(20, 108, 102, 0.14);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  color: var(--teal-dark);
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0;
  min-height: 1.5em;
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 26px clamp(18px, 4vw, 56px);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:last-child {
  color: #c5d3ce;
}

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

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    background-image: linear-gradient(90deg, rgba(10, 24, 22, 0.92), rgba(10, 24, 22, 0.72)), url("assets/hero-workspace.png");
    min-height: min(650px, 72svh);
  }

  .intro-grid,
  .assessment-grid,
  .contact-layout,
  .process-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .client-grid,
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand-text {
    max-width: 18ch;
  }

  .site-nav {
    gap: 10px 16px;
  }

  .hero {
    min-height: min(610px, 70svh);
  }

  .hero-content {
    padding-inline: 20px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .client-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
