:root {
  color-scheme: light;
  --bg: #f8f7f3;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #5f646c;
  --line: #dedbd2;
  --accent: #0f766e;
  --accent-strong: #0b4f4a;
  --warm: #c56b2c;
  --dark: #101828;
  --shadow: 0 20px 60px rgba(23, 23, 23, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(222, 219, 210, 0.82);
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 620;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

nav a:hover {
  color: var(--accent-strong);
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(255, 255, 255, 0.58);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  min-height: calc(100vh - 72px);
  padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 72px) clamp(28px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.10), transparent 42%),
    linear-gradient(315deg, rgba(197, 107, 44, 0.12), transparent 38%),
    var(--bg);
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: 6.2rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.5rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 720;
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.signal-panel {
  display: grid;
  gap: 12px;
}

.signal-panel div {
  display: grid;
  gap: 2px;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid rgba(222, 219, 210, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.signal-panel strong {
  font-size: 3.35rem;
  line-height: 1;
}

.signal-panel span {
  color: var(--muted);
  font-weight: 620;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-summary {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.stats-grid,
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.stats-grid article,
.expertise-grid article {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stats-grid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stats-grid span {
  color: var(--warm);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
}

.stats-grid p,
.expertise-grid p,
.experience-grid p,
.approach-list p,
.background p,
.contact p {
  color: var(--muted);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.review-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-columns > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.research-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.research-highlights li {
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.06);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 720;
}

.research-columns {
  align-items: start;
}

.research-card h3 {
  margin-bottom: 16px;
  font-size: 1.12rem;
}

.showcase-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.showcase-copy {
  max-width: 62ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1rem;
}

.showcase-row + .showcase-row {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.showcase-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.project-wall,
.type-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-wall li,
.type-wall li {
  border-radius: 999px;
}

.project-wall li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #f8f7f3;
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 700;
}

.project-wall li.featured {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.project-wall img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 18px;
  background: #fff;
}

.type-wall li {
  padding: 7px 11px;
  border: 1px dashed rgba(95, 100, 108, 0.28);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 620;
}

.showcase-row.subdued .showcase-label,
.showcase-row.subdued .type-wall li:last-child {
  color: rgba(95, 100, 108, 0.82);
}

.check-list,
.pill-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.research-card .check-list li {
  display: grid;
  gap: 6px;
}

.research-card .check-list a {
  color: var(--ink);
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.research-card .check-list a:hover {
  color: var(--accent-strong);
}

.research-card .check-list span {
  color: var(--muted);
}

.check-list li:first-child {
  border-top: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pill-list li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8f7f3;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.competition-table {
  min-width: 860px;
}

.competition-table a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.competition-table a:hover {
  color: var(--accent-strong);
}

.medal {
  display: inline-block;
  min-width: 1.65em;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.approach-list span {
  color: var(--accent);
  font-weight: 820;
}

.background {
  background: var(--dark);
  color: #fff;
}

.background > div {
  max-width: 900px;
}

.background .eyebrow {
  color: #7dd3c7;
}

.background p {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
}

.contact > div:first-child {
  max-width: 820px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-weight: 720;
}

.contact-links a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

@media (max-width: 980px) {
  h1 {
    max-width: 760px;
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

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

  .hero {
    padding-top: 36px;
    padding-bottom: 34px;
  }

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

  .contact-links {
    justify-content: flex-start;
  }
}

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

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.86rem;
  }

  nav a {
    min-height: 34px;
    padding: 0 12px;
    border-color: rgba(222, 219, 210, 0.86);
    background: rgba(255, 255, 255, 0.72);
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-copy,
  .lede {
    max-width: 340px;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.72rem;
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 2.1rem;
  }

  .lede {
    font-size: 1rem;
  }

  .signal-panel strong,
  .stats-grid span {
    font-size: 2.35rem;
  }

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

  .stats-grid article,
  .expertise-grid article {
    min-height: auto;
  }

  .approach-list article {
    grid-template-columns: 1fr;
  }
}
