:root {
  --ink: #16181d;
  --muted: #596170;
  --paper: #f7f8f6;
  --surface: #ffffff;
  --line: #d9ddd8;
  --teal: #0a6f6a;
  --red: #b73b35;
  --gold: #b98728;
  --green: #dbe8df;
  --shadow: 0 18px 48px rgba(22, 24, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  font-size: 13px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

main {
  overflow: hidden;
}

.intro {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(44px, 8vw, 96px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.intro-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
}

.cta-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
}

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

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

.profile-panel {
  display: grid;
  gap: 18px;
  align-self: stretch;
  align-content: end;
  max-width: 460px;
  margin-left: auto;
}

.profile-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-panel div {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.proof-band article {
  min-height: 160px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-band article:last-child {
  border-right: 0;
}

.proof-band strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

.proof-band span {
  display: block;
  max-width: 220px;
  color: rgba(255, 255, 255, 0.82);
}

.positioning,
.timeline-section,
.capability-band,
.contact-band {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 4vw, 56px);
}

.section-head {
  max-width: 860px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.filter {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(44px, 7vw, 88px);
}

.case-card {
  min-height: 520px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-card[hidden] {
  display: none;
}

.case-label {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card p:not(.case-label) {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.capability-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--green);
  border-block: 1px solid var(--line);
}

.capability-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.18);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
}

.capability-list span {
  color: var(--red);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 1px;
  margin-top: 32px;
}

.timeline article {
  min-height: 260px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

time {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}

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

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  color: #fff;
  background: var(--ink);
}

.contact-band .eyebrow {
  color: var(--gold);
}

.contact-band h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.contact-band .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1080px) {
  .intro,
  .capability-band {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    max-width: none;
    margin-left: 0;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    align-items: end;
  }

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

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

@media (max-width: 720px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 12px;
  }

  .intro {
    min-height: auto;
  }

  .profile-panel,
  .case-grid,
  .timeline,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .case-card,
  .timeline article {
    min-height: auto;
  }

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