@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=IBM+Plex+Serif:ital,wght@0,400;0,500;1,500&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #10130f;
  --graphite: #262b25;
  --muted: #697166;
  --paper: #f6f3ec;
  --paper-deep: #e9e1d3;
  --copper: #b56a3c;
  --sage: #8aa182;
  --lime: #d8e15f;
  --white: #fffdf8;
  --line: rgba(16, 19, 15, 0.14);
  --shadow: 0 24px 70px rgba(16, 19, 15, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(16, 19, 15, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--paper);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 46%, rgba(181, 106, 60, 0.15) 46.2% 47.1%, transparent 47.4% 100%),
    linear-gradient(62deg, transparent 0 53%, rgba(138, 161, 130, 0.16) 53.2% 54.1%, transparent 54.4% 100%);
}

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

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

p {
  margin: 0;
}

.site-shell {
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 12px 0;
}

.brand {
  display: inline-grid;
  grid-template-columns: 46px auto;
  align-items: center;
  gap: 12px;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 4px;
  background: var(--lime);
  transform: rotate(38deg);
}

.brand-mark::after {
  background: var(--copper);
  transform: rotate(-38deg);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.2rem;
}

.brand-text span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  order: 3;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 700;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 9px 10px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(16, 19, 15, 0.07);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-cta {
  display: none;
  color: var(--white);
  background: var(--ink);
}

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

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

.button.secondary {
  background: transparent;
}

.button.light {
  color: var(--ink);
  border-color: var(--lime);
  background: var(--lime);
}

.section {
  padding: 72px 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 34px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--copper) 0 8px, transparent 8px 12px);
  transform: skewX(-18deg);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-top: 18px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  text-transform: uppercase;
}

h1 .serif,
h2 .serif {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
}

.hero-copy {
  max-width: 620px;
  margin-top: 22px;
  color: var(--graphite);
  font-size: 1.08rem;
}

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

.signal-panel {
  position: relative;
  min-height: 410px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, transparent 0 42%, var(--ink) 42.2% 43.4%, transparent 43.7%),
    linear-gradient(60deg, transparent 0 56%, var(--copper) 56.2% 57.8%, transparent 58.1%),
    var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-panel::before {
  content: "DSX";
  position: absolute;
  right: -18px;
  bottom: -30px;
  color: rgba(16, 19, 15, 0.06);
  font-family: "Archivo", sans-serif;
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
}

.signal-axis {
  position: absolute;
  inset: 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

.axis-cell {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.78);
}

.axis-cell:nth-child(2) {
  background: var(--ink);
  color: var(--white);
}

.axis-cell:nth-child(5) {
  background: var(--lime);
}

.axis-cell span {
  display: block;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.axis-cell strong {
  display: block;
  margin-top: 18px;
  font-family: "Archivo", sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}

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

.section-head h2 {
  max-width: 780px;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-transform: uppercase;
}

.section-head p {
  max-width: 650px;
  color: var(--graphite);
  font-size: 1.02rem;
}

.band-dark {
  color: var(--white);
  background: var(--ink);
}

.band-dark h2,
.band-dark h3,
.band-dark .eyebrow,
.band-dark p {
  color: var(--white);
}

.band-dark .eyebrow::before {
  background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 12px);
}

.services-grid,
.values-grid,
.team-grid {
  display: grid;
  gap: 14px;
}

.service-card,
.value-card,
.team-card,
.testimonial,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.service-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(181, 106, 60, 0.18);
  transform: rotate(45deg);
}

.service-card .num {
  color: var(--copper);
  font-family: "IBM Plex Serif", serif;
  font-size: 2rem;
  font-style: italic;
}

.service-card h3,
.value-card h3,
.team-card h3,
.contact-card h3 {
  margin-top: 18px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.service-card p,
.value-card p,
.team-card p,
.contact-card p,
.legal-content p,
.legal-content li {
  color: var(--graphite);
}

.stats-strip {
  display: grid;
  border: 1px solid var(--line);
  background: var(--white);
}

.stat {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: 0;
}

.stat strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 7vw, 3.8rem);
  line-height: 0.95;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.testimonials-grid {
  display: grid;
  gap: 14px;
}

.testimonial {
  padding: 24px;
  background: var(--paper);
}

.testimonial blockquote {
  margin: 0;
  color: var(--white);
  font-family: "IBM Plex Serif", serif;
  font-size: 1.25rem;
  line-height: 1.35;
}

.testimonial cite {
  display: block;
  margin-top: 20px;
  color: var(--lime);
  font-style: normal;
  font-weight: 800;
}

.testimonial {
  background:
    linear-gradient(140deg, rgba(216, 225, 95, 0.1), transparent 35%),
    var(--graphite);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--graphite);
}

.page-hero {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2rem, 5.5vw, 4rem);
}

.split {
  display: grid;
  gap: 28px;
}

.story-text {
  display: grid;
  gap: 18px;
  color: var(--graphite);
  font-size: 1.03rem;
}

.value-card,
.team-card,
.contact-card {
  padding: 22px;
}

.band-dark .value-card h3 {
  color: var(--ink);
}

.band-dark .value-card p {
  color: var(--graphite);
}

.data-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.data-list div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--white);
}

.data-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  gap: 18px;
}

form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(16, 19, 15, 0.25);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fffefa;
}

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

.legal-content {
  display: grid;
  gap: 28px;
  max-width: 880px;
}

.legal-content section {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.legal-content ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.footer {
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 28px;
}

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

.footer .brand-mark {
  background: var(--white);
}

.footer .brand-text strong,
.footer .brand-text span {
  color: var(--white);
}

.footer p,
.footer a,
.footer li {
  color: rgba(255, 253, 248, 0.78);
}

.footer h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  color: rgba(255, 253, 248, 0.66);
  font-size: 0.86rem;
}

@media (min-width: 700px) {
  .services-grid,
  .values-grid,
  .team-grid,
  .testimonials-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stat {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .stat:last-child {
    border-right: 0;
  }
}

@media (min-width: 980px) {
  .nav-links {
    order: initial;
    width: auto;
    overflow: visible;
  }

  .nav-cta {
    display: flex;
  }

  .hero {
    padding: 88px 0 86px;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

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

  .team-grid,
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }

  .section {
    padding: 96px 0;
  }
}
