:root {
  --ink: #18201d;
  --soft-ink: #4f5d57;
  --paper: #f7f5f0;
  --white: #ffffff;
  --accent: #2f6b57;
  --accent-dark: #204b3d;
  --line: #d9ded9;
  --muted: #eef1ed;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Arial Unicode MS", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(247, 245, 240, 0.9);
  border-bottom: 1px solid rgba(217, 222, 217, 0.8);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
}

.logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand {
  font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--soft-ink);
}

nav a:hover {
  color: var(--ink);
}

/* Burger menu */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin: 0 0 0 auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-left: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Typography */

h1,
h2,
h3,
h4,
.eyebrow,
.brand {
  font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 18px;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 930px;
  margin: 0 0 28px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  margin: 0 0 26px;
}

h3 {
  font-size: 1.7rem;
  margin: 0 0 16px;
}

h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

p {
  margin-top: 0;
}

/* Hero */

.hero {
  padding: 110px 0 85px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 70px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  color: var(--soft-ink);
  font-size: 1.15rem;
}

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

.button {
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--accent);
}

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

.primary:hover {
  background: var(--accent-dark);
}

.secondary {
  color: var(--accent);
}

.hero-card {
  background: var(--ink);
  color: white;
  padding: 34px;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(24, 32, 29, 0.14);
}

.card-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #b9c7c0;
}

.hero-card ul {
  padding-left: 20px;
  margin-bottom: 28px;
}

.hero-card li {
  margin-bottom: 8px;
}

.availability {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  gap: 10px;
  align-items: center;
  color: #dce6e1;
}

.availability span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8ed5b2;
}

/* Stats */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

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

.stat-grid div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

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

.stat-grid strong {
  display: block;
  font-size: 1.35rem;
}

.stat-grid span {
  color: var(--soft-ink);
  font-size: 0.9rem;
}

/* Sections */

.section {
  padding: 100px 0;
}

.muted {
  background: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.body-copy {
  color: var(--soft-ink);
  font-size: 1.05rem;
}

/* Capability cards */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.capability-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.capability-grid p {
  color: var(--soft-ink);
  margin-bottom: 0;
}

/* Case studies */

.case-study {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.case-study:last-child {
  border-bottom: 1px solid var(--line);
}

.case-number {
  color: var(--accent);
  font-size: 2rem;
}

.case-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 42px;
  margin-top: 30px;
}

.case-grid p {
  color: var(--soft-ink);
  margin-bottom: 0;
}

/* Tags */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

/* Contact */

.contact-box {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.contact-box .eyebrow {
  color: #9bd1ba;
}

.contact-box p {
  color: #cbd5d0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.contact-links a {
  color: white;
  text-underline-offset: 4px;
}

/* Footer */

footer {
  padding: 30px 0 45px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  color: var(--soft-ink);
  font-size: 0.88rem;
}

/* Tablet / mobile */

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    min-width: 210px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(24, 32, 29, 0.12);
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    padding: 11px 12px;
    border-radius: 9px;
  }

  nav a:hover {
    background: var(--muted);
  }

  .hero-grid,
  .split,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 75px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-grid div:nth-child(2) {
    border-right: 0;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Small mobile */

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .logo {
    width: 62px;
    height: 62px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand-group {
    gap: 10px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .section {
    padding: 72px 0;
  }

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

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

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

  .case-study {
    grid-template-columns: 1fr;
  }

  .case-number {
    font-size: 1.3rem;
  }

  .contact-box {
    padding: 34px 24px;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 4px;
  }
}