:root {
  --paper: #f7f4ea;
  --paper-2: #ebe7d9;
  --ink: #161713;
  --muted: #5d6358;
  --line: #c9c2aa;
  --green: #9fff3f;
  --coral: #ff684d;
  --cyan: #12b7a6;
  --violet: #5d4bff;
  --dark: #20251d;
  --shadow: 0 24px 70px rgba(22, 23, 19, .16);
  --radius: 8px;
  --mono: "IBM Plex Mono", monospace;
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(22, 23, 19, .045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(22, 23, 19, .04) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(22, 23, 19, .08) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(18, 183, 166, .14) 0 1px, transparent 1px);
  background-size: 19px 19px, 31px 31px;
  mix-blend-mode: multiply;
  opacity: .45;
  z-index: -1;
}

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

img,
svg {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(22, 23, 19, .14);
  background: rgba(247, 244, 234, .88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  flex-wrap: wrap;
}

.brand {
  display: inline-grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, var(--green) 0 48%, transparent 48% 52%, var(--coral) 52%),
    var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--display);
  font-weight: 800;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.brand-mark::before {
  left: -9px;
  top: 13px;
}

.brand-mark::after {
  right: -9px;
  bottom: 13px;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.1;
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--mono);
  font-size: .76rem;
  text-transform: uppercase;
}

.nav-links a {
  border: 1px solid transparent;
  padding: 8px 9px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--ink);
  background: var(--green);
  outline: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--green);
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  padding: 12px 16px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.nav-cta:hover,
.button:hover,
.button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--green);
  outline: none;
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--coral);
}

.button.cyan {
  box-shadow: 5px 5px 0 var(--cyan);
}

.hero {
  position: relative;
  padding: 54px 0 42px;
}

.hero-grid {
  display: grid;
  gap: 30px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--green);
  border: 1px solid var(--ink);
}

h1,
h2,
h3,
.display-text {
  font-family: var(--display);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 890px;
  margin: 22px 0 18px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h1 .slice,
.section-title .slice {
  display: inline;
  background: linear-gradient(transparent 58%, var(--green) 58%);
}

.hero-copy {
  max-width: 680px;
  color: #353830;
  font-size: clamp(.95rem, 1.6vw, 1.08rem);
}

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

.signal-board {
  position: relative;
  min-height: 420px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), transparent),
    var(--dark);
  color: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-board::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(247, 244, 234, .35);
}

.signal-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(159, 255, 63, .22) 34% 36%, transparent 36% 60%, rgba(255, 104, 77, .22) 60% 62%, transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(247, 244, 234, .08) 25px, transparent 26px);
}

.signal-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 2px solid var(--paper);
  background: var(--ink);
  color: var(--green);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
}

.signal-node.one {
  left: 32px;
  top: 42px;
}

.signal-node.two {
  right: 28px;
  top: 112px;
  color: var(--coral);
}

.signal-node.three {
  left: 34%;
  bottom: 42px;
  color: var(--cyan);
}

.signal-readout {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  width: min(275px, calc(100% - 48px));
  border: 1px solid rgba(247, 244, 234, .5);
  background: rgba(22, 23, 19, .72);
  padding: 16px;
  font-family: var(--mono);
  font-size: .76rem;
}

.signal-readout strong {
  display: block;
  color: var(--green);
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.strip {
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.strip-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.strip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 18px;
  font-family: var(--mono);
  font-size: .78rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.strip b {
  color: var(--green);
  font-weight: 700;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

section,
.page-section {
  padding: 70px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.section-kicker {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .76rem;
  text-transform: uppercase;
}

.section-title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.section-copy {
  max-width: 690px;
  margin: 0;
  color: #3d4138;
  font-size: 1.05rem;
}

.service-grid,
.stats-grid,
.testimonial-grid,
.values-grid,
.team-grid,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 16px;
}

.service-card,
.stat-card,
.testimonial,
.value-card,
.person-card,
.contact-card,
.policy-card,
.faq-item {
  border: 2px solid var(--ink);
  background: rgba(247, 244, 234, .92);
  box-shadow: 7px 7px 0 rgba(22, 23, 19, .14);
}

.service-card {
  position: relative;
  min-height: 285px;
  padding: 18px;
  overflow: hidden;
}

.service-card::before {
  content: attr(data-code);
  display: inline-flex;
  border: 1px solid var(--ink);
  background: var(--green);
  padding: 5px 8px;
  font-family: var(--mono);
  font-size: .7rem;
  margin-bottom: 34px;
}

.service-card:nth-child(2)::before {
  background: var(--coral);
}

.service-card:nth-child(3)::before {
  background: var(--cyan);
}

.service-card h3,
.value-card h3,
.person-card h3,
.contact-card h3,
.policy-card h2,
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.15;
}

.service-card p,
.value-card p,
.person-card p,
.contact-card p,
.policy-card p,
.faq-item p,
.testimonial p {
  margin: 0;
  color: #3b4038;
}

.service-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
}

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

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: .95;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .74rem;
  margin-top: 12px;
  text-transform: uppercase;
}

.stat-card:nth-child(1) strong {
  color: var(--cyan);
}

.stat-card:nth-child(2) strong {
  color: var(--coral);
}

.stat-card:nth-child(3) strong {
  color: var(--violet);
}

.stat-card:nth-child(4) strong {
  color: #537700;
}

.lab-band {
  background: var(--dark);
  color: var(--paper);
}

.lab-band .section-copy,
.lab-band .section-kicker {
  color: rgba(247, 244, 234, .76);
}

.testimonial {
  padding: 20px;
}

.quote-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border: 2px solid var(--paper);
  background: var(--green);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.testimonial p {
  color: var(--paper);
  font-size: 1.03rem;
}

.testimonial cite {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-family: var(--mono);
  font-size: .74rem;
  font-style: normal;
  text-transform: uppercase;
}

.testimonial {
  background:
    linear-gradient(135deg, rgba(93, 75, 255, .28), transparent 42%),
    var(--dark);
  color: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px;
}

.faq-item h3 {
  font-size: 1.15rem;
}

.page-hero {
  padding: 56px 0 34px;
  border-bottom: 2px solid var(--ink);
}

.page-hero h1 {
  margin-bottom: 0;
}

.page-grid {
  display: grid;
  gap: 28px;
}

.article {
  max-width: 860px;
}

.article h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.article h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.article p,
.article li {
  color: #373b33;
}

.article ul {
  padding-left: 22px;
}

.ledger {
  display: grid;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.ledger-row {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
}

.ledger-row strong {
  font-family: var(--display);
  line-height: 1.2;
}

.value-card,
.person-card,
.contact-card,
.policy-card {
  padding: 18px;
}

.page-grid > aside.policy-grid,
.contact-grid > .contact-grid {
  grid-template-columns: 1fr;
  align-content: start;
}

.person-card .role,
.contact-card .meta,
.policy-card .meta {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.form-card {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 18px;
  box-shadow: 9px 9px 0 var(--coral);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

label {
  font-family: var(--mono);
  font-size: .74rem;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #fffdf5;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--green);
}

.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand .brand-mark {
  border-color: var(--paper);
  box-shadow: 5px 5px 0 var(--green);
  color: var(--ink);
}

.footer-brand .brand-sub,
.footer-muted {
  color: rgba(247, 244, 234, .7);
}

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

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--green);
  outline: none;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--mono);
  font-size: .74rem;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid rgba(247, 244, 234, .22);
  padding-top: 18px;
  color: rgba(247, 244, 234, .65);
  font-family: var(--mono);
  font-size: .72rem;
}

@media (min-width: 700px) {
  .hero-grid,
  .page-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  }

  .service-grid,
  .testimonial-grid,
  .values-grid,
  .team-grid,
  .contact-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ledger-row {
    grid-template-columns: 180px 1fr;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.2fr .8fr .8fr 1fr;
  }
}

@media (min-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: .9fr 1fr;
    align-items: end;
  }
}

@media (max-width: 460px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-links a {
    padding: 7px 8px;
  }

  .hero {
    padding-top: 36px;
  }

  .signal-board {
    min-height: 360px;
  }

  .signal-node {
    width: 64px;
    height: 64px;
  }
}
