@charset "UTF-8";
.bio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(0, .73fr);
  align-items: center;
  gap: clamp(26px, 5vw, 80px);
}
.bio-intro h1 { font-size: clamp(52px, 6.2vw, 100px); }
.cell-study { max-width: 470px; overflow: hidden; border: 1px solid #51584f; border-radius: 3px; }
.cell-study img { display: block; width: 100%; height: auto; }
.cell-study figcaption {
  display: block;
  padding: 16px 18px 20px;
  text-transform: none;
  letter-spacing: 0;
  font: 15px/1.55 system-ui, sans-serif;
}
.cell-study strong { display: block; margin-bottom: 5px; font-family: Georgia, serif; font-size: 22px; font-weight: 400; color: var(--light); }
.visually-hidden, .gene-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gene-map {
  padding: clamp(16px, 3vw, 38px);
  margin: 28px 0 0;
  min-width: 0;
  max-width: 850px;
  border: 1px solid #49534b;
  background: radial-gradient(ellipse at 60% 20%, #24312a, #1c231f 65%);
}
.strand-figure { position: relative; }
.helix { display: block; width: 100%; height: auto; }
.locus { position: absolute; left: var(--x); top: var(--y); width: 40px; height: 40px; transform: translate(-50%,-50%); display: grid; place-items: center; cursor: pointer; }
.locus span { width: 13px; height: 13px; border-radius: 50%; display: block; background: #1e2822; border: 2px solid #e9ba96; box-shadow: 0 0 0 2px #263128; }
.strand-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 6px auto 20px; }
.gene-choice { position: relative; cursor: pointer; flex: 1 0 auto; }
.gene-choice span { min-height: 44px; display: grid; place-items: center; padding: 6px 10px; border: 1px solid #5a665c; border-radius: 2px; font-size: 14px; color: var(--muted); }
.gene-choice input:checked + span { border-color: var(--accent); color: var(--dark); background: var(--accent); }
.gene-choice input:focus-visible + span { outline: 3px solid white; outline-offset: 2px; }
.gene-choice:hover span { border-color: var(--light); }
.reading { padding-top: 19px; border-top: 1px solid #49534b; display: grid; grid-template-columns: clamp(60px, 9vw, 100px) 1fr; gap: clamp(12px, 2vw, 28px); align-items: center; }
.reading img { width: 100%; height: auto; border-radius: 3px; }
.reading h3 { margin: 0 0 7px; font: normal clamp(23px, 2.4vw, 36px)/1.1 Georgia,serif; letter-spacing: -.04em; }
.reading p { margin: 0; max-width: 57ch; font-size: clamp(15px,1.3vw,19px); line-height: 1.55; color: var(--muted); }
@supports selector(:has(input:checked)) {
  .reading { display: none; }
  .gene-map:has(#gene-biology:checked) #read-biology { display: grid; }
  .gene-map:has(#gene-biology:checked) .locus-biology span { background: #f1d0aa; box-shadow: 0 0 0 5px #3f5046, 0 0 0 6px #f1d0aa; }
  .gene-map:has(#gene-signals:checked) #read-signals { display: grid; }
  .gene-map:has(#gene-signals:checked) .locus-signals span { background: #f1d0aa; box-shadow: 0 0 0 5px #3f5046, 0 0 0 6px #f1d0aa; }
  .gene-map:has(#gene-making:checked) #read-making { display: grid; }
  .gene-map:has(#gene-making:checked) .locus-making span { background: #f1d0aa; box-shadow: 0 0 0 5px #3f5046, 0 0 0 6px #f1d0aa; }
  .gene-map:has(#gene-patterns:checked) #read-patterns { display: grid; }
  .gene-map:has(#gene-patterns:checked) .locus-patterns span { background: #f1d0aa; box-shadow: 0 0 0 5px #3f5046, 0 0 0 6px #f1d0aa; }
  .gene-map:has(#gene-music:checked) #read-music { display: grid; }
  .gene-map:has(#gene-music:checked) .locus-music span { background: #f1d0aa; box-shadow: 0 0 0 5px #3f5046, 0 0 0 6px #f1d0aa; }
  .gene-map:has(#gene-outdoors:checked) #read-outdoors { display: grid; }
  .gene-map:has(#gene-outdoors:checked) .locus-outdoors span { background: #f1d0aa; box-shadow: 0 0 0 5px #3f5046, 0 0 0 6px #f1d0aa; }
}
@media (max-width: 760px) {
  .bio-intro { grid-template-columns: 1fr; }
  .bio-intro h1 { font-size: clamp(45px, 9.75vw, 72px); }
  .cell-study { max-width: 430px; }
  .strand-controls { display: grid; grid-template-columns: repeat(3,1fr); }
  .reading { align-items: start; }
  .locus { width: min(40px,15%); }
}

.bio-intro { grid-template-columns: minmax(0, 1.38fr) minmax(0, .62fr); }
.bio-intro h1 { font-size: clamp(58px, 7.5vw, 114px); }
.bio-intro .intro { max-width: 57ch; }
.bio-intro .intro + .intro { margin-top: 15px; }
.cell-study { max-width: 340px; justify-self: end; }
.cell-study strong { font: italic 21px/1.25 Georgia, serif; }
.interests {
  border-top: 1px solid #454a46;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 0 clamp(25px, 5vw, 75px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 64px);
}
.interests h2, .collab h2 { margin: 0; font-size: clamp(32px, 3.4vw, 54px); }
.interests > .end-copy { grid-column: 1; margin: 15px 0; font-size: 17px; line-height: 1.55; }
.interests .gene-map {
  grid-column: 2; grid-row: 1 / 4;
  margin: 0; width: 100%; padding: 18px;
}
.interests .strand-figure { max-width: 510px; margin: auto; }
.interests .strand-controls { margin: 0 auto 10px; gap: 4px; }
.gene-choice span { min-height: 36px; padding: 4px 7px; font-size: 13px; }
.reading { grid-template-columns: 54px 1fr; gap: 12px; padding-top: 11px; }
.reading img { filter: saturate(.55); }
.reading h3 { font-size: 20px; }
.reading p { font-size: 14px; }
.collab { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px; }
.collab .line-link { margin: 0; }
@media(max-width: 760px) {
  .bio-intro { grid-template-columns: 1fr; }
  .cell-study { justify-self: start; max-width: 300px; }
  .interests { display: block; }
  .interests > .end-copy { max-width: 43ch; margin-block: 10px 20px; }
  .collab { flex-wrap: wrap; }
}
