:root {
  color-scheme: light;
  --ink: #162f2c;
  --muted: #4d625b;
  --forest: #124c40;
  --lime: #dbf59c;
  --paper: #f7f8f2;
  --line: #cbd6cc;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--forest);
  text-underline-offset: 0.23em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button,
summary,
select {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #ad5000;
  outline-offset: 4px;
}
.hero :focus-visible {
  outline-color: #fff;
}
a:hover {
  text-decoration-thickness: 2px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(calc(100% - 5rem), 78rem);
  margin-inline: auto;
}
.top {
  background: #fff;
  border-bottom: 1px solid #dde4db;
}
.top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.7rem;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.37rem;
  font-weight: 850;
  letter-spacing: -0.065em;
}
.brand em {
  font-weight: 590;
  font-style: normal;
  letter-spacing: -0.055em;
}
.brand img {
  flex: none;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.top nav a {
  font-weight: 620;
  font-size: 0.94rem;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.top nav a:hover {
  text-decoration: underline;
}
.top nav a:last-child {
  border: 1px solid #c3d2c9;
  background: #f4f7ef;
  border-radius: 2rem;
  padding: 0.3rem 0.95rem;
}
.book-icon {
  height: 1em;
  width: 0.83em;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  border-left: 3px double currentColor;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  background: #fff;
  padding: 0.8rem;
  z-index: 10;
}
.skip:focus {
  top: 0.5rem;
}
.hero {
  margin-top: 2rem;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 2.25rem;
  padding: clamp(2rem, 4vw, 4.5rem);
  border-radius: 1.4rem;
  background: radial-gradient(ellipse at 80% 48%, #28665a 0, #14483f 38%, #0e342f 74%);
  color: #f1f6e9;
  overflow: hidden;
}
.hero-copy {
  min-width: 0;
}
.overline {
  font: 650 0.78rem/1.5 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #496254;
  margin: 0 0 0.85rem;
}
.pale {
  color: #d9edbc;
  font-size: 0.77rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.rule {
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: #c9ec96;
}
.slash {
  opacity: 0.7;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.09;
  letter-spacing: -0.055em;
}
h1 {
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
}
.hero h1 {
  font-family: Georgia, Cambria, 'Times New Roman', serif;
  letter-spacing: -0.064em;
  font-weight: normal;
  font-size: clamp(3.1rem, 5.7vw, 5.7rem);
  line-height: 0.97;
  margin: 1.3rem 0;
}
.hero h1 em {
  color: #d9efaa;
  font-weight: normal;
}
.hero-copy > p {
  color: #e2ece3;
  max-width: 31rem;
  line-height: 1.55;
  margin: 0 0 1.55rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.btn {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 0.55rem;
  font-weight: 700;
  padding: 0.73rem 1.15rem;
  font-size: 0.97rem;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover {
  filter: brightness(0.94);
}
.yellow {
  background: #e0f5a7;
  color: #203b2a;
}
.green {
  background: var(--forest);
  color: #fff;
}
.hero-bench {
  margin: 0;
  min-width: 0;
}
.hero-bench img,
.instrument img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-bench figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #d7ead8;
  font: 550 0.78rem/1.5 var(--mono);
  border-top: 1px solid #6e9483;
  padding: 0.65rem 0.2rem 0;
}
#pathway {
  padding-block: 2.45rem 0.75rem;
  scroll-margin-top: 1rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.section-head .overline {
  margin-bottom: 0.45rem;
}
.section-head h2,
.panel h2,
.finish h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
}
.section-head > p,
.local,
.back {
  color: var(--muted);
  font-size: 0.92rem;
}
.section-head > p {
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: 0.9rem;
  border: 1px solid #c4d0c6;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.card:hover {
  box-shadow: 0 5px 16px #243a3014;
  border-color: #728c7a;
}
.card-art {
  height: 7.2rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: radial-gradient(#233d382c 0.75px, transparent 0.85px);
  background-size: 10px 10px;
}
.foam {
  background-color: #d1e9d9;
}
.peach {
  background-color: #f5dfc9;
}
.lilac {
  background-color: #dcdff0;
}
.tile {
  position: absolute;
  top: 0.65rem;
  left: 0.8rem;
  font: 600 0.79rem/1.4 var(--mono);
  padding: 0.1rem 0.35rem;
  border: 1px solid #394f4645;
  border-radius: 0.28rem;
  color: #314a45;
}
.vial {
  width: 1.55rem;
  height: 4.2rem;
  position: absolute;
  border: 2px solid #37665a;
  border-radius: 0 0 1rem 1rem;
  top: 12%;
  background: linear-gradient(to top, #65b99b 40%, #ffffff55 40%, #ffffff22);
}
.vial:before {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: -4px;
  height: 5px;
  border: 1px solid #477668;
  background: #ddf6e9;
  border-radius: 5px;
}
.v1 {
  left: 43%;
  transform: rotate(-12deg);
}
.v2 {
  left: 55%;
  top: 19%;
  transform: rotate(9deg);
  background: linear-gradient(to top, #a6cf80 53%, #ffffff55 53%, #ffffff22);
}
.rack {
  position: absolute;
  left: 36%;
  right: 29%;
  bottom: 17%;
  height: 0.45rem;
  border-radius: 0.2rem;
  background: #457468;
  box-shadow: 0 3px 0 #c0d6bc;
}
.molecule-art,
.eq-art {
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  display: flex;
  align-items: center;
}
.molecule-art b {
  display: grid;
  place-items: center;
  border: 2px solid #7f623c;
  background: #f2b777;
  color: #542f15;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font: 600 0.85rem var(--mono);
  box-shadow: inset -3px -4px 0 #e6a665;
}
.molecule-art b:nth-child(2) {
  width: 2.9rem;
  height: 2.9rem;
  background: #626f63;
  color: white;
  border-color: #344a3e;
  box-shadow: inset -3px -4px 0 #4f6055;
}
.eq-art {
  transform: translate(-50%, -50%) rotate(-4deg);
  background: #f7f6ffb8;
  border: 1.5px solid #777c9c;
  border-radius: 0.45rem;
  padding: 0.6rem 0.9rem;
  font: 700 1.7rem/1.2 var(--mono);
  color: #414766;
  white-space: nowrap;
  box-shadow: 3px 4px 0 #a6abc3;
}
.eq-art i {
  font-style: normal;
  font-size: 1.2rem;
  margin: 0 0.5rem;
}
.card-copy {
  padding: 1.1rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-copy .overline {
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}
.card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.18;
}
.card-copy > p:not(.overline) {
  color: var(--muted);
  line-height: 1.48;
  margin: 0.65rem 0 1rem;
}
.card-status {
  margin-top: auto;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 2.3rem;
  padding-block: 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a {
  font-weight: 630;
}
.body {
  max-width: 60rem;
  margin: 3rem auto;
  padding: 1rem;
}
#work {
  max-width: 66rem;
  margin-inline: auto;
  padding-top: 1.3rem;
}
.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.lab-header {
  margin: 0.8rem 0 1.6rem;
}
.lab-header h1 {
  font-family: Georgia, Cambria, serif;
  font-weight: 500;
}
.lab-header p:not(.overline),
.panel p,
.finish p,
.detail p,
.instrument figcaption {
  line-height: 1.56;
}
.lab-header .overline {
  margin: 0 0 0.45rem;
}
.panel,
.finish {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1rem, 2.7vw, 2rem);
  margin-bottom: 1rem;
  min-width: 0;
}
.panel h2,
.finish h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
}
.panel p {
  max-width: 70ch;
}
.split {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.split .panel {
  margin: 0;
}
.instrument {
  margin: 0;
  background: radial-gradient(ellipse at center, #29695c, #123c36);
  border-radius: 1rem;
  padding: 0.9rem;
  align-content: center;
  color: white;
}
.instrument figcaption {
  font-size: 0.9rem;
  padding: 0.5rem 0.4rem 0;
  border-top: 1px solid #75998b;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.94rem;
  font-weight: 650;
  margin: 1rem 0;
  min-width: 0;
}
.field select,
.field input,
.field textarea {
  min-width: 0;
  width: 100%;
  color: var(--ink);
  border: 1px solid #83988c;
  border-radius: 0.45rem;
  background: #fff;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  font-size: 1rem;
}
.field select {
  appearance: none;
  padding-right: 2.3rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #46695b 50%),
    linear-gradient(135deg, #46695b 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 53%,
    calc(100% - 12px) 53%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field textarea {
  resize: vertical;
}
.fields,
.eq-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
  gap: 0 1rem;
}
.detail {
  border-block-start: 1px solid var(--line);
  padding: 0.25rem 0;
  margin: 0.65rem 0;
}
.detail summary {
  font-size: 0.98rem;
  font-weight: 660;
  line-height: 1.5;
  padding: 0.7rem 0.2rem;
  color: var(--forest);
}
.local {
  line-height: 1.5;
}
.feedback:not(:empty),
.recorded {
  border-left: 3px solid #578d71;
  padding: 0.55rem 0.75rem;
  background: #eef6e7;
  font-size: 0.96rem;
}
.feedback:empty {
  margin: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.finish {
  background: #e6f3d9;
  border-color: #b7ceb1;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.1rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
caption {
  text-align: left;
  font-weight: 720;
  margin-bottom: 0.5rem;
}
th,
td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
thead {
  background: #eff3ec;
}
tbody th {
  font-weight: 590;
}
.table-wrap tr > :not(:first-child) {
  text-align: center;
}
.user-note {
  white-space: pre-wrap;
}
.eq-title {
  font: 600 clamp(1.3rem, 3vw, 2rem) / 1.4 var(--mono);
  color: #344b49;
  border-left: 4px solid #918db9;
  padding: 0.2rem 0.7rem;
  background: #f3f2f8;
}
.eq-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.eq-sides > div,
.sample {
  background: #faf8f1;
  border: 1px solid #d6d6c7;
  border-radius: 0.65rem;
  padding: 1rem;
  margin: 0;
}
.eq-sides h3 {
  font-size: 1rem;
  letter-spacing: 0;
}
.eq-sides p,
.sample figcaption {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: #485a4f;
}
.particle-tray,
.eq-drawing {
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  min-height: 5rem;
}
.particle-tray {
  justify-content: center;
  min-height: 8rem;
}
.particle {
  display: inline-flex;
  align-items: center;
  border-radius: 2em;
  padding: 3px;
  border: 1px solid #aeb6a8;
  background: #fff;
  gap: 1px;
}
.particle b {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: 1px solid #364c4645;
  font: 650 0.77rem/1 var(--mono);
  color: #29372d;
}
.particle-tray b {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 0.94rem;
}
.el-O {
  background: #f6c583;
}
.el-C,
.el-Fe {
  background: #40584e;
  color: white !important;
}
.el-H {
  background: #efeee1;
}
.el-N {
  background: #adcfe5;
}
.el-Mg {
  background: #c5bde9;
}
.rate-art {
  background-color: #d6e8df;
  display: grid;
  place-items: center;
}
.rate-art svg {
  width: min(54%, 8rem);
}
.rate-specimen,
.rate-chart {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #f0f5eb;
}
.rate-specimen {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 1rem;
}
.rate-specimen svg {
  width: min(100%, 13rem);
}
.rate-specimen figcaption {
  display: grid;
  gap: 0.35rem;
  max-width: 32ch;
  line-height: 1.45;
}
.rate-chart {
  max-width: 42rem;
  padding: 0.6rem;
  margin-block: 1rem;
}
.rate-chart svg {
  width: 100%;
  max-height: 18rem;
  display: block;
}
.rate-chart text {
  font:
    14px system-ui,
    sans-serif;
  fill: var(--ink);
}
.rate-chart figcaption {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  font-size: 0.875rem;
}
@media (min-width: 601px) and (max-width: 950px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 2.2rem);
  }
  .hero {
    gap: 1rem;
    padding: 1.65rem;
  }
  .hero h1 {
    font-size: 3.6rem;
  }
  .cards {
    gap: 0.65rem;
  }
  .card-copy {
    padding: 0.8rem;
  }
  .card-art {
    height: 6.2rem;
  }
  .top nav {
    gap: 0.8rem;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .instrument {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .instrument figcaption {
    border: 0;
  }
  .section-head {
    align-items: start;
  }
  .eq-art {
    font-size: 1.3rem;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 1.6rem);
  }
  .top-inner {
    gap: 0.45rem;
    min-height: 4.2rem;
  }
  .brand {
    font-size: 1.08rem;
    gap: 0.32rem;
  }
  .brand img {
    width: 1.8rem;
    height: 1.8rem;
  }
  .top nav {
    gap: 0.55rem;
  }
  .top nav a {
    font-size: 0.81rem;
  }
  .top nav a:last-child {
    padding: 0.2rem 0.52rem;
  }
  .book-icon {
    display: none;
  }
  .hero {
    margin-top: 0.9rem;
    padding: 1.6rem 1.25rem 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
    border-radius: 1rem;
  }
  .hero h1 {
    font-size: clamp(3.25rem, 13vw, 4.6rem);
    margin: 0.85rem 0;
  }
  .hero-copy > p {
    margin-bottom: 0.95rem;
  }
  .hero-bench {
    width: min(100%, 23rem);
    margin-inline: auto;
  }
  .hero-bench img {
    height: 11.5rem;
  }
  .hero-bench figcaption {
    font-size: 0.71rem;
  }
  .pale {
    font-size: 0.71rem;
    gap: 0.4rem;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 0.4rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    display: grid;
    grid-template-columns: 6.4rem 1fr;
  }
  .card-art {
    height: 100%;
    min-height: 8.3rem;
  }
  .card-copy {
    padding: 0.85rem;
  }
  .card-copy > p:not(.overline) {
    margin: 0.35rem 0 0.65rem;
  }
  .tile {
    left: 0.42rem;
    top: 0.4rem;
  }
  .v1 {
    left: 27%;
    top: 35%;
  }
  .v2 {
    left: 57%;
    top: 32%;
  }
  .rack {
    left: 18%;
    right: 15%;
    bottom: 23%;
  }
  .molecule-art {
    transform: translate(-50%, -40%) rotate(-30deg) scale(0.72);
  }
  .eq-art {
    font-size: 0.85rem;
    padding: 0.35rem;
  }
  .eq-art i {
    font-size: 0.75rem;
    margin: 0 0.2rem;
  }
  #pathway {
    padding-top: 1.7rem;
  }
  .instrument {
    display: block;
  }
  .instrument img {
    height: 12rem;
  }
  .instrument figcaption {
    border-top: 1px solid #75998b;
  }
  .eq-sides {
    grid-template-columns: 1fr;
  }
  .eq-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .eq-fields .field {
    font-size: 0.81rem;
  }
  .table-wrap table {
    font-size: 0.83rem;
  }
  .table-wrap td,
  .table-wrap th {
    padding: 0.45rem 0.25rem;
  }
  .lab-header {
    margin: 0.5rem 0 1rem;
  }
  footer {
    margin-top: 1.4rem;
    font-size: 0.8rem;
  }
  .particle-tray {
    gap: 0.5rem;
  }
  .particle-tray b {
    width: 1.8rem;
    height: 1.8rem;
  }
}
@media (max-width: 355px) {
  .top nav {
    gap: 0.3rem;
  }
  .brand {
    font-size: 0.96rem;
  }
  .top nav a {
    font-size: 0.77rem;
  }
  .brand img {
    width: 1.5rem;
  }
  .top nav a:last-child {
    padding: 0.1rem 0.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.curriculum {
  margin-top: 1.5rem;
}
.curriculum p {
  max-width: 75ch;
  line-height: 1.55;
}
