:root {
  --ink: #101316;
  --muted: #5a646f;
  --line: #dce2e8;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --coral: #c94d3f;
  --teal: #13776f;
  --mustard: #b97916;
  --blue: #2c5f9e;
  --shadow: 0 18px 50px rgba(25, 32, 38, 0.12);
}

* {
  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",
    sans-serif;
  line-height: 1.55;
}

img,
video {
  display: block;
  max-width: 100%;
}

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;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(247, 248, 244, 0.9);
  border-bottom: 1px solid rgba(16, 19, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.hero {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(26px, 5vw, 72px) clamp(18px, 4vw, 52px) 40px;
  border-bottom: 1px solid var(--line);
}

.hero-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #171a1f;
  border: 1px solid rgba(16, 19, 22, 0.12);
  box-shadow: var(--shadow);
}

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

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 55px);
  /* font-size: clamp(42px, 6vw, 82px); */
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  color: #303840;
  font-size: clamp(18px, 2vw, 22px);
}

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

.resource-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 27px;
  padding: 7px 11px;
  /* gap: 10px;
  min-height: 54px;
  padding: 14px 22px; */
  color: #fff;
  background: #1c2636;
  border: 0;
  /* border-radius: 14px;
  box-shadow: 0 9px 18px rgba(19, 28, 42, 0.18);
  font-size: clamp(16px, 1.45vw, 22px); */
  border-radius: 10px;
  box-shadow: 0 7px 15px rgba(19, 28, 42, 0.16);
  font-size: clamp(10px, 1.05vw, 16px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.resource-button:hover {
  background: #152033;
  transform: translateY(-1px);
}

.resource-button svg {
  /* width: 11px;
  height: 11px; */
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.resource-button:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.emoji-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.stats article {
  min-height: 120px;
  padding: 22px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

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

.stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: clamp(56px, 7vw, 104px) clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.method-section {
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(28px, 4vw, 56px);
}

.section-heading {
  max-width: 940px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading.full-width {
  max-width: none;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.section-heading.full-width p:not(.eyebrow) {
  max-width: none;
  column-count: 2;
  column-gap: clamp(28px, 5vw, 72px);
}

.method-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: 28px;
}

.method-abstract {
  max-width: none;
  margin-bottom: 0;
}

.method-abstract p:not(.eyebrow) {
  max-width: none;
}

.method-figures {
  display: grid;
  gap: 18px;
}

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

.figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.figure.wide {
  grid-column: 1 / -1;
}

.figure img {
  width: 100%;
  background: #fff;
}

.figure figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-grid article {
  min-height: 190px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
}

.feature-grid article:nth-child(2) {
  border-top-color: var(--coral);
}

.feature-grid article:nth-child(3) {
  border-top-color: var(--blue);
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.results-section {
  background: #eef2ee;
  padding-top: clamp(24px, 3vw, 44px);
  /* padding-bottom: clamp(28px, 4vw, 56px); */
}

.video-section {
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(28px, 4vw, 56px);
}


.video-root {
  display: grid;
  gap: clamp(34px, 6vw, 70px);
}

.video-group {
  display: grid;
  gap: 18px;
}

.video-rows {
  display: grid;
  gap: 26px;
}

.video-row {
  display: grid;
  gap: 12px;
}

.video-row h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.group-top {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: end;
}

.group-top p {
  margin-bottom: 0;
  color: var(--muted);
}

.group-label {
  color: var(--mustard);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.video-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(25, 32, 38, 0.06);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #16191e;
}

.video-caption {
  display: grid;
  gap: 5px;
  padding: 13px 14px 15px;
}

.video-caption strong {
  font-size: 15px;
  line-height: 1.25;
}

.video-caption span {
  color: var(--muted);
  font-size: 13px;
}

.release-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.release-section .eyebrow {
  color: #83d4cc;
}

.release-section p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.release-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.release-panel span {
  color: #83d4cc;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-panel strong {
  font-size: 22px;
  line-height: 1.2;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 52px);
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
}

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

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

  .stats,
  .feature-grid,
  .video-grid,
  .video-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .group-top,
  .method-overview,
  .release-section {
    grid-template-columns: 1fr;
  }
}

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

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  h1 {
    font-size: 40px;
  }

  .stats,
  .feature-grid,
  .figure-grid,
  .video-grid,
  .video-grid.two {
    grid-template-columns: 1fr;
  }

  .section-heading.full-width p:not(.eyebrow) {
    column-count: 1;
  }

  .stats article {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  footer {
    flex-direction: column;
  }
}
