:root {
  color-scheme: light;
  --page: #f6f7f4;
  --panel: #ffffff;
  --ink: #18201c;
  --muted: #5d6b62;
  --border: #c9d5cc;
  --accent: #0d6b4c;
  --accent-strong: #084633;
  --accent-soft: #d8efe6;
  --focus: #b54b2a;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.page {
  width: min(100% - 2rem, 64rem);
  margin: 0 auto;
  padding: 3rem 0;
}

.intro {
  padding: 0 0 2rem;
  border-bottom: 2px solid var(--border);
}

.intro__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
}

.intro__summary {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

/* Lab collections and the release catalogue use the same presentation. */
.collection {
  padding-top: 2rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.experiment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experiment-card {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  min-height: 11rem;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1rem 2rem rgb(24 32 28 / 0.08);
  text-decoration: none;
}

.experiment-card:hover {
  border-color: var(--accent);
}

.experiment-card:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.experiment-card__image {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  border-right: 1px solid var(--border);
  background: var(--accent-soft);
}

.experiment-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

.experiment-card__title {
  color: var(--accent-strong);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.experiment-card__description {
  color: var(--muted);
}

@media (max-width: 38rem) {
  .page {
    width: min(100% - 1rem, 64rem);
    padding: 1rem 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .experiment-card {
    grid-template-columns: 1fr;
  }

  .experiment-card__image {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}
