:root {
  --paper: #dce2e1;
  --ink: #132027;
  --orbit: #0c2736;
  --signal: #ef5a2f;
  --mineral: #d6b33c;
  --clay: #925244;
}

.lab-home {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
}

.lab-header,
.lab-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  font-size: .78rem;
}

.lab-header {
  border-bottom: 1px solid rgba(19, 32, 39, .22);
}

.lab-header p,
.lab-footer span {
  margin: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 650;
}

.brand-mark {
  width: 1.1rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 1.6rem;
  height: 1px;
  top: 50%;
  left: -.25rem;
  background: currentColor;
  transform: rotate(-28deg);
}

.chooser {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem) 3rem;
}

.chooser-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(15rem, .6fr);
  gap: 4vw;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 7rem);
}

.chooser-kicker,
.chooser-copy {
  margin: 0;
  max-width: 34rem;
}

.chooser-kicker {
  grid-column: 1 / -1;
  font-size: clamp(.9rem, 1vw, 1.1rem);
  opacity: .66;
}

.chooser h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(3rem, 7.2vw, 8.5rem);
  font-weight: 320;
  font-stretch: 82%;
  line-height: .88;
  letter-spacing: -.07em;
}

.chooser-copy {
  justify-self: end;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.45;
}

.timeline-choices {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: clamp(25rem, 42vw, 43rem);
  border-top: 1px solid rgba(19, 32, 39, .35);
  border-bottom: 1px solid rgba(19, 32, 39, .35);
}

.choice {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(1.2rem, 2.5vw, 2.5rem);
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.choice + .choice {
  border-left: 1px solid rgba(19, 32, 39, .35);
}

.choice-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: .4rem 2rem;
}

.choice-title {
  font-size: clamp(2.2rem, 4vw, 5rem);
  font-weight: 380;
  letter-spacing: -.05em;
}

.choice-description {
  grid-column: 1;
  font-size: .88rem;
  opacity: .68;
}

.choice-action {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  padding: .7rem 0;
  border-bottom: 1px solid currentColor;
  font-size: .86rem;
}

.choice-visual {
  position: relative;
  min-height: 16rem;
}

.orbit-preview {
  background: var(--orbit);
  margin: -2.5rem -2.5rem 2rem;
  overflow: hidden;
}

.orbit-line {
  position: absolute;
  width: 120%;
  height: 42%;
  left: -10%;
  top: 28%;
  border: 1px solid rgba(231, 233, 223, .58);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.orbit-line::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(231, 233, 223, .17);
  border-radius: inherit;
}

.orbit-body {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 7px rgba(239, 90, 47, .12);
}

.orbit-body-a {
  width: clamp(1.2rem, 2.4vw, 2.5rem);
  top: 50%;
  left: 18%;
}

.orbit-body-b {
  width: clamp(.6rem, 1.2vw, 1.2rem);
  top: 29%;
  left: 56%;
  background: #d8d3b8;
}

.orbit-body-c {
  width: clamp(.9rem, 1.8vw, 1.8rem);
  top: 62%;
  right: 13%;
  background: #547b88;
}

.strata-preview {
  margin: -2.5rem -2.5rem 2rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1.1fr .7fr 1.2fr .9fr;
  background: #2b3031;
}

.layer {
  display: block;
  transform-origin: center;
  transition: transform 350ms cubic-bezier(.2,.8,.2,1);
}

.layer-a {
  background: #e7e5da;
  clip-path: polygon(0 0,100% 0,100% 72%,0 100%);
}

.layer-b {
  background: #397382;
  clip-path: polygon(0 26%,100% 0,100% 100%,0 80%);
}

.layer-c {
  background: #d8b531;
  clip-path: polygon(0 0,100% 25%,100% 84%,0 100%);
}

.layer-d {
  background: #765b42;
  clip-path: polygon(0 17%,100% 0,100% 100%,0 100%);
}

.core-sample {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: clamp(1.3rem, 2vw, 2rem);
  background: rgba(255,255,255,.46);
  border: 1px solid rgba(19,32,39,.42);
  transform: translateX(-50%);
  backdrop-filter: blur(5px);
}

.choice:hover .orbit-line {
  transform: rotate(-4deg) scale(1.04);
}

.choice:hover .layer-b {
  transform: translateX(2.5%);
}

.choice:hover .layer-c {
  transform: translateX(-2.5%);
}

.choice:focus-visible {
  outline-offset: -6px;
}

.lab-footer {
  opacity: .66;
}

@media (max-width: 850px) {
  .chooser-intro,
  .timeline-choices {
    grid-template-columns: 1fr;
  }

  .chooser-copy {
    justify-self: start;
  }

  .choice + .choice {
    border-left: 0;
    border-top: 1px solid rgba(19, 32, 39, .35);
  }

  .choice {
    min-height: 32rem;
  }
}

@media (max-width: 560px) {
  .lab-header p,
  .lab-footer span:last-child {
    display: none;
  }

  .choice-copy {
    grid-template-columns: 1fr;
  }

  .choice-action {
    grid-row: auto;
    grid-column: 1;
    justify-self: start;
  }
}
