:root {
  --paper: #f7f4ee;
  --ink: #10201f;
  --muted: #5b6462;
  --teal: #2e7d73;
  --mint: #dcebe5;
  --coral: #c75b4b;
  --clay: #e9d7cc;
  --ochre: #c99a35;
  --line: #cfc7b8;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(16, 32, 31, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 54px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(207, 199, 184, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand-mark {
  width: 28px;
  height: 3px;
  background: var(--teal);
  display: inline-block;
}

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

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: var(--muted);
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  color: var(--ink) !important;
  border-bottom: 3px solid var(--teal);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 8vw, 92px);
  padding-top: 64px;
}

.kicker {
  position: relative;
  margin: 0 0 24px;
  padding-left: 42px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 26px;
  height: 3px;
  background: currentColor;
}

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

h1,
h2 {
  font-family: "Aptos Display", Aptos, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(52px, 7.2vw, 92px);
}

h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(34px, 4.4vw, 58px);
}

h3 {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.12;
}

.hero-lead,
.section-head p,
.contact-copy p,
.operintel-copy p,
.about-band > p {
  color: var(--muted);
  font-size: 18px;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 34px;
  font-size: 21px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-weight: 800;
}

.btn.primary {
  background: var(--ink);
  color: var(--paper);
}

.btn.secondary {
  color: var(--ink);
  background: transparent;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.value-rail {
  width: min(100%, 300px);
  min-height: 430px;
  padding: 34px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.value-rail p {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(220, 235, 229, 0.28);
  color: var(--mint);
  font-size: 14px;
  font-weight: 800;
}

.rail-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 30px;
}

.rail-item span,
.card-number,
.step span,
.certificate-grid span {
  color: var(--ochre);
  font-weight: 900;
}

.rail-item strong {
  font-size: 18px;
  line-height: 1.12;
}

.section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

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

.service-card,
.evidence-row article,
.certificate-grid article {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.service-card.accent {
  background: var(--mint);
}

.service-card p,
.evidence-row p,
.certificate-grid p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 12px 14px;
  background: rgba(247, 244, 238, 0.72);
  border: 1px solid rgba(207, 199, 184, 0.72);
  font-weight: 700;
}

.about-band {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 50px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.step {
  min-height: 124px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.step:nth-child(1),
.step:nth-child(3) {
  background: var(--mint);
}

.step.final {
  background: var(--clay);
}

.step span {
  display: block;
  margin-bottom: 14px;
}

.dark {
  width: 100%;
  max-width: none;
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--paper);
}

.dark .section-head p,
.dark .operintel-copy p {
  color: #d9e5e1;
}

.dark-kicker {
  color: var(--mint);
}

.operintel-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.operintel-copy h3 {
  max-width: 480px;
  font-size: 34px;
}

.intel-map {
  position: relative;
  min-height: 330px;
  border: 1px solid rgba(220, 235, 229, 0.22);
}

.map-core,
.map-node {
  position: absolute;
  padding: 14px 18px;
  font-weight: 800;
}

.map-core {
  left: 50%;
  top: 50%;
  min-width: 190px;
  text-align: center;
  background: var(--paper);
  color: var(--ink);
  transform: translate(-50%, -50%);
}

.map-node {
  background: rgba(220, 235, 229, 0.13);
  color: var(--paper);
  border: 1px solid rgba(220, 235, 229, 0.22);
}

.map-node:nth-child(1) {
  left: 8%;
  top: 18%;
}

.map-node:nth-child(2) {
  right: 8%;
  top: 20%;
}

.map-node.clay {
  left: 18%;
  bottom: 18%;
  background: rgba(233, 215, 204, 0.18);
}

.map-node.ochre {
  right: 18%;
  bottom: 16%;
  background: rgba(201, 154, 53, 0.24);
}

.evidence-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

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

.certificate-grid span {
  display: inline-block;
  margin-bottom: 24px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.btn:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(46, 125, 115, 0.35);
  outline-offset: 3px;
}

/* Honeypot — visually hidden, only bots fill it. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-banner {
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-banner.success {
  border-color: #2e7d73;
  background: rgba(46, 125, 115, 0.1);
  color: #1f5a52;
}

.contact-banner.error {
  border-color: #b3261e;
  background: rgba(179, 38, 30, 0.08);
  color: #8a1c16;
}

.clients {
  border-top: 1px solid var(--line);
  padding-top: 74px;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.client-logo-card {
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 20px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.client-logo-card img {
  display: block;
  max-width: min(240px, 80%);
  max-height: 96px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.82;
}

.client-logo-card span {
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 54px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

  .nav-toggle {
    display: inline-block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero,
  .about-band,
  .operintel-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .service-grid,
  .evidence-row,
  .certificate-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, var(--max));
    padding: 62px 0;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .dark {
    padding-left: 14px;
    padding-right: 14px;
  }

  .intel-map {
    min-height: 430px;
  }

  .map-node:nth-child(1),
  .map-node:nth-child(2),
  .map-node.clay,
  .map-node.ochre {
    left: 22px;
    right: auto;
  }

  .map-node:nth-child(1) {
    top: 24px;
  }

  .map-node:nth-child(2) {
    top: 92px;
  }

  .map-core {
    top: 52%;
    width: calc(100% - 44px);
  }

  .map-node.clay {
    bottom: 92px;
  }

  .map-node.ochre {
    bottom: 24px;
  }

  .site-footer {
    flex-direction: column;
  }

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