/* Lab lane. Light room, portrait mesh, then one solid letter. */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body.lab {
  background: #e6e7eb;
  color: #1c1e24;
  font-family: Outfit, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#lab-head,
#lab-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.lab-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 1.3rem;
  background: #e6e7eb;
  border-bottom: 1px solid rgba(16, 18, 24, 0.1);
}

.lab-name,
.lab-build,
.row-kicker,
.kicker,
.pill,
.meta span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.lab-name {
  color: #1c1e24;
}

.lab-build {
  color: #0077c8;
}

.lab-build::after {
  content: "+";
  margin-left: 0.5rem;
}

.lab-name:hover,
.lab-build:hover {
  color: #0077c8;
}

.still {
  position: fixed;
  top: 22vh;
  right: 3.2vw;
  z-index: 4;
  width: 128px;
  height: 160px;
  margin: 0;
  overflow: hidden;
  background: #111;
  pointer-events: none;
  transition: opacity 0.25s linear;
}

.still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
}

.still.is-gone {
  opacity: 0;
}

.faces {
  position: relative;
  z-index: 1;
  padding-top: 16vh;
  padding-bottom: 10vh;
  background: #e6e7eb;
}

.row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54vh;
  padding: 1.2rem 6vw;
  border-top: 1px solid rgba(20, 24, 32, 0.14);
  color: rgba(28, 32, 40, 0.32);
  text-decoration: none;
}

.row-name {
  max-width: 14ch;
  font-weight: 340;
  font-size: clamp(4.2rem, 10.6vw, 8.8rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: none;
}

.row-kicker {
  margin-bottom: 0.45rem;
  color: #0077c8;
}

.row-note {
  max-width: 24rem;
  margin-top: 0.7rem;
  font-size: 1.05rem;
  font-weight: 360;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.row.is-on,
.row:hover {
  color: #16181d;
}

.object {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  padding: 18vh 6vw 1.2rem 50vw;
  color: #f3f5fa;
}

.object-copy {
  margin-bottom: auto;
  padding-top: 8vh;
}

.kicker {
  margin-bottom: 0.7rem;
  color: #7ec8ff;
}

.object h1 {
  font-weight: 340;
  font-size: clamp(3.4rem, 6.6vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: #f4f6fb;
}

.deck {
  max-width: 28rem;
  margin-top: 1rem;
  color: rgba(228, 234, 244, 0.78);
  font-size: 1.08rem;
  font-weight: 360;
  line-height: 1.45;
}

.pill {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid #0077c8;
  border-radius: 999px;
  color: #fff;
}

.pill:hover {
  background: #0077c8;
  color: #fff;
}

.mail {
  display: block;
  margin-top: 0.9rem;
  color: rgba(210, 226, 244, 0.72);
  font-size: 0.95rem;
  text-decoration: none;
}

.mail:hover {
  color: #fff;
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(226, 232, 242, 0.5);
}

body.is-dark .lab-bar {
  background: #07080f;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.is-dark .lab-name {
  color: #eef2f8;
}

body.is-dark .lab-build {
  color: #8fd4ff;
}

@media (max-width: 720px) {
  .still {
    display: none;
  }

  .row {
    min-height: 42vh;
    padding-inline: 1.15rem;
  }

  .row-name {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .object {
    padding: 46vh 1.15rem 1.2rem;
  }

  .object h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }
}
