:root {
  --ink: #111314;
  --muted: #5c6268;
  --line: #d9dddf;
  --paper: #ffffff;
  --soft: #f4f7f6;
  --green: #0f5b4a;
  --blue: #275f8f;
  --gold: #f2b84b;
  --red: #8b0000;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 4vw, 2rem);
}

.brand {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 850;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1rem;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  align-items: stretch;
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: var(--max);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.hero-content {
  align-self: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.22rem;
  line-height: 1.2;
}

.lede {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.actions,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button,
.project-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary,
.project-links a {
  color: var(--green);
  border: 1px solid var(--line);
  background: #fff;
}

.signal-panel {
  align-self: center;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.signal-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  min-height: 82px;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 6px;
  background: #fff;
}

.signal-row span {
  color: var(--blue);
  font-weight: 900;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.work-section {
  border-top: 1px solid var(--line);
}

.project {
  display: grid;
  grid-template-columns: minmax(240px, 0.44fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.project-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  border-radius: 6px;
  background: #000;
  overflow: hidden;
}

.project-visual img {
  width: min(78%, 320px);
  height: auto;
  display: block;
}

.client-hero {
  min-height: auto;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.client-visual {
  align-self: center;
}

.project-kicker {
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.checklist {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--gold);
}

.capability-section {
  max-width: none;
  background: var(--soft);
}

.capability-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

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

.capability-grid article {
  min-height: 220px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.capability-grid p {
  color: var(--muted);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero,
  .project {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 13ch;
  }

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

  .capability-grid article {
    min-height: auto;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .nav {
    flex-wrap: wrap;
  }

  .actions,
  .project-links {
    flex-direction: column;
  }

  .button,
  .project-links a {
    width: 100%;
  }

  .project-visual {
    min-height: 260px;
  }
}
