/*
   Landing page, below the hero (markup + scroll logic: landingStory.js).
   Lives inside the landing's `.lp` scope, so colours are the fixed --lp-*
   set: black and white, green only for "verified / let in".

   Read this file in two layers:
   1. The plain rules draw the FINISHED picture (timeline lit, pass apart,
      stub torn, gate open). That is what shows without JavaScript and for
      reduced motion.
   2. `.ls--live` (added by mountStory) switches to the "before" state; the
      script then feeds --p / --t / --tear / --open etc. from the scroll.

   Layout is phone first. From 1100px the timeline runs left to right and
   sections sit side by side; tall-enough wide screens also pin each section
   while it plays.
*/
.ls {
  --ls-mono: var(--font-mono, ui-monospace, Consolas, monospace);
}
.ls-sec {
  position: relative;
  padding: 88px var(--lp-pad) 72px;
  border-top: 1px solid var(--lp-line);
}
.ls-lede {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--lp-muted);
}
.ls-lede span {
  color: var(--lp-dim);
}

/* ============ 1. One evening ============ */
.ls-axis {
  --p: 1;
  position: relative;
  margin-top: 32px;
}
.ls-rail {
  position: absolute;
  left: 52px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--lp-line-2);
}
.ls-done {
  position: absolute;
  left: 51px;
  top: 8px;
  width: 3px;
  height: calc((100% - 16px) * var(--p));
  background: var(--lp-text);
}
.ls-hours,
.ls-head,
.ls-ev__stem {
  display: none;
}
.ls-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px;
}
.ls-ev {
  position: relative;
  padding-left: 74px;
}
.ls-ev > i {
  position: absolute;
  left: 46px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--lp-text);
}
.ls-ev--go > i {
  background: var(--lp-go);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.7);
}
.ls-ev--no > i {
  background: var(--lp-bg);
  border: 2px solid var(--lp-text);
}
.ls-ev__lab {
  position: relative;
}
.ls-ev__t {
  position: absolute;
  left: -74px;
  top: 2px;
  width: 40px;
  text-align: right;
  font-family: var(--ls-mono);
  font-size: 11.5px;
  color: var(--lp-muted);
}
.ls-ev--go .ls-ev__t {
  color: var(--lp-go);
}
.ls-ev strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--lp-text);
}
.ls-ev__d {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--lp-muted);
}
.ls-tally {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 7vw, 90px);
  text-align: center;
}
.ls-tally li {
  max-width: 120px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--lp-muted);
}
.ls-tally b {
  display: block;
  margin-bottom: 8px;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lp-text);
}
.ls-tally__zero b {
  color: var(--lp-go);
}

/* ============ 2. Inside one pass ============ */
.ls-anat {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}
.ls-stack {
  --flat: 96px;
  position: relative;
  height: 330px;
}
.ls-layer {
  position: absolute;
  left: calc(50% - 115px);
  top: calc(var(--flat) + (var(--top) - var(--flat)) * var(--t, 1));
  width: 230px;
  height: 144px;
  border: 1px solid #3f3f46;
  border-radius: 14px;
  background: rgba(19, 19, 24, 0.94);
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.55);
  transform: rotateX(58deg) rotateZ(-38deg);
  overflow: hidden;
}
.ls-layer--1 {
  --top: 6px;
  border-color: rgba(250, 250, 250, 0.55);
  background: rgba(36, 36, 42, 0.94);
}
.ls-layer--2 {
  --top: 66px;
}
.ls-layer--3 {
  --top: 126px;
}
.ls-layer--4 {
  --top: 186px;
}
.ls-seal {
  position: absolute;
  inset: 16px 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--lp-text);
  border-radius: 50%;
  font-family: var(--ls-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--lp-text);
}
.ls-qr {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 106px;
  height: 106px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
}
.ls-qr b {
  border-radius: 1px;
  background: var(--lp-text);
}
.ls-code {
  position: absolute;
  right: 12px;
  top: 54px;
  font-family: var(--ls-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--lp-text);
}
.ls-hash {
  position: absolute;
  inset: 14px;
  font-family: var(--ls-mono);
  font-size: 9px;
  line-height: 1.7;
  color: var(--lp-go);
  word-break: break-all;
}
.ls-rows {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-rows u {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: var(--lp-line-2);
}
.ls-rows u:nth-child(2) {
  width: 80%;
}
.ls-rows u:nth-child(3) {
  width: 62%;
}
.ls-rows u:nth-child(4) {
  width: 88%;
}
.ls-rows u:nth-child(5) {
  width: 50%;
}
.ls-calls {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ls-call {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--lp-line);
  opacity: calc(0.35 + 0.65 * var(--o, 1));
}
.ls-call > b {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lp-text);
  color: #09090b;
  font-family: var(--ls-mono);
  font-size: 11px;
}
.ls-call__n {
  display: none;
}
.ls-call h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lp-text);
}
.ls-call p {
  margin: 3px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--lp-muted);
}

/* ============ 3. Works once ============ */
.ls-huge {
  margin: 14px 0 0;
  font-size: clamp(84px, 27vw, 168px);
  line-height: 0.88;
  font-weight: 600;
  letter-spacing: -0.06em;
  color: var(--lp-text);
}
.ls-huge em {
  display: block;
  letter-spacing: -0.03em;
}
.ls-ticket {
  --w: min(236px, 56vw);
  --stub: min(104px, 25vw);
  --gap: 16px;
  --drop: 22px;
  --h: 240px;
  position: relative;
  height: 280px;
  margin-top: 34px;
}
.ls-piece {
  position: absolute;
  top: 0;
  height: var(--h);
  background: #fafafa;
  color: #09090b;
}
.ls-piece small {
  display: block;
  font-family: var(--ls-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #52525b;
}
.ls-piece--main {
  left: 0;
  width: var(--w);
  padding: 18px 16px;
  border-radius: 18px 0 0 18px;
}
.ls-piece--stub {
  left: calc(var(--w) + var(--gap) * var(--tear, 1));
  width: var(--stub);
  padding: 18px 12px;
  border-radius: 0 18px 18px 0;
  transform: rotate(calc(9deg * var(--tear, 1))) translateY(calc(var(--drop) * var(--tear, 1)));
  transform-origin: 0 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, calc(0.6 * var(--tear, 1)));
}
.ls-piece--stub strong {
  display: block;
  margin: 4px 0 12px;
  font-size: 14px;
  line-height: 1.1;
}
.ls-perf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  background: radial-gradient(circle at 50% 6px, var(--lp-bg) 3.5px, transparent 4px) 0 0 / 10px
    15px repeat-y;
}
.ls-piece--main .ls-perf {
  right: -5px;
}
.ls-piece--stub .ls-perf {
  left: -5px;
}
.ls-ticket__who {
  margin: 4px 0 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.ls-ticket__code {
  position: relative;
  display: inline-block;
  font-family: var(--ls-mono);
  font-size: 28px;
  font-weight: 600;
  color: #a1a1aa;
}
.ls-ticket__code::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: 52%;
  height: 3px;
  border-radius: 2px;
  background: #09090b;
  transform: rotate(-3deg) scaleX(var(--strike, 1));
  transform-origin: 0 50%;
}
.ls-ticket__meta {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.ls-stamp {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 11px;
  border: 2px solid #09090b;
  border-radius: 7px;
  font-family: var(--ls-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: var(--stamp, 1);
  transform: rotate(-11deg) scale(calc(2.4 - 1.4 * var(--stamp, 1)));
}

/* ============ 4. Three people, one gate ============ */
.ls-plan__grid {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.ls-map {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: var(--lp-card);
}
.ls-map__wall {
  fill: none;
  stroke: #3f3f46;
  stroke-width: 3;
}
.ls-map__gap {
  fill: var(--lp-card);
}
.ls-map__leaf {
  stroke: var(--lp-text);
  stroke-width: 6;
  stroke-linecap: round;
}
.ls-map__road {
  fill: none;
  stroke: var(--lp-line);
  stroke-width: 34;
  stroke-linecap: round;
}
.ls-map__houses rect {
  fill: var(--lp-raise);
  stroke: var(--lp-line-2);
  stroke-width: 2;
}
.ls-map__home,
.ls-map__visitor,
.ls-map__guard {
  fill: var(--lp-text);
}
.ls-map__office {
  fill: var(--lp-raise);
  stroke: var(--lp-text);
  stroke-width: 2.5;
}
.ls-map__route-bg {
  fill: none;
  stroke: var(--lp-line-2);
  stroke-width: 4;
  stroke-dasharray: 3 12;
  stroke-linecap: round;
}
.ls-map__route {
  fill: none;
  stroke: var(--lp-go);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--route, 1));
}
.ls-map__record {
  fill: none;
  stroke: var(--lp-muted);
  stroke-width: 2.5;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--record, 1));
}
.ls-map__pulse {
  fill: var(--lp-go);
}
.ls-map__halo {
  fill: none;
  stroke: var(--lp-go);
  stroke-width: 2;
  opacity: 0.45;
}
.ls-people {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ls-person {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--lp-line);
}
.ls-person:first-child {
  border-top: 0;
}
.ls-person small {
  flex: none;
  width: 84px;
  font-family: var(--ls-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-go);
}
.ls-person strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lp-text);
}

/* ============ 5. The gate ============ */
.ls-final .ls-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ls-final .lp-kicker {
  margin: 0 0 30px;
}
.ls-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.ls-gate:focus-within {
  --open: 1; /* keyboard focus on the button always shows it */
}
.ls-leaf {
  display: block;
  font-size: min(33vw, 128px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.82;
  color: var(--lp-text);
}
.ls-leaf--a {
  transform: perspective(900px) rotateX(calc(-30deg * var(--open, 1)));
  transform-origin: 50% 0;
}
.ls-leaf--b {
  transform: perspective(900px) rotateX(calc(30deg * var(--open, 1)));
  transform-origin: 50% 100%;
}
.ls-gap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(170px * var(--open, 1));
  opacity: var(--open, 1);
  overflow: hidden;
}
.ls-gap::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lp-go), transparent);
  box-shadow: 0 0 34px 6px rgba(74, 222, 128, 0.5);
}
.ls-gap .lp-btn {
  position: relative;
}
.ls-final__join {
  margin: 34px 0 0;
  font-size: 15px;
  color: var(--lp-muted);
}
.ls-final__join button {
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--lp-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ live: "before" states the scroll then plays ============ */
.ls--live .ls-head {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(8px + (100% - 16px) * var(--p));
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--lp-text) 14%,
    var(--lp-text) 66%,
    transparent
  );
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
}
.ls--live .ls-head::after {
  content: attr(data-t);
  position: absolute;
  right: 0;
  top: -13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lp-text);
  color: #09090b;
  font-family: var(--ls-mono);
  font-size: 12px;
  font-weight: 600;
}
.ls--live .is-done .ls-head {
  opacity: 0;
}
.ls--live .ls-ev {
  transition: opacity 0.35s;
}
.ls--live .ls-ev:not(.is-on) {
  opacity: 0.28;
}
.ls--live .ls-tally li {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.ls--live .is-done .ls-tally li {
  opacity: 1;
  transform: none;
}
.ls--live .is-done .ls-tally li:nth-child(2) {
  transition-delay: 0.15s;
}
.ls--live .is-done .ls-tally li:nth-child(3) {
  transition-delay: 0.3s;
}
.ls--live .ls-ticket__code {
  transition: color 0.3s;
}
.ls--live [data-ls="once"]:not(.is-spent) .ls-ticket__code {
  color: #09090b;
}
.ls--live .ls-ticket__scanned {
  transition: opacity 0.3s;
}
.ls--live [data-ls="once"]:not(.is-spent) .ls-ticket__scanned {
  opacity: 0;
}
.ls--live .ls-person {
  transition: opacity 0.3s;
}
.ls--live .ls-person:not(.is-on) {
  opacity: 0.35;
}
.ls--live .ls-person:not(.is-on) small {
  color: var(--lp-dim);
}
@keyframes ls-halo {
  50% {
    transform: scale(1.5);
    opacity: 0.12;
  }
}
.ls--live .ls-map__halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: ls-halo 1.8s ease-in-out infinite;
}

/* ============ wide ============ */
@media (min-width: 1100px) {
  .ls-sec {
    padding: 120px var(--lp-pad) 100px;
  }
  .ls-lede {
    font-size: 18px;
  }

  /* 1: the evening runs left to right */
  .ls-axis {
    margin-top: 56px;
    height: 430px;
  }
  .ls-rail {
    left: 0;
    right: 0;
    top: 210px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .ls-done {
    left: 0;
    top: 209px;
    width: calc(100% * var(--p));
    height: 3px;
  }
  .ls-hours,
  .ls-ev__stem {
    display: block;
  }
  .ls-hr {
    position: absolute;
    left: var(--x);
    top: 204px;
    width: 1px;
    height: 13px;
    background: #3f3f46;
  }
  .ls-hr:last-child {
    margin-left: -1px;
  }
  .ls-hr span {
    position: absolute;
    top: 22px;
    left: -22px;
    width: 44px;
    text-align: center;
    font-family: var(--ls-mono);
    font-size: 12px;
    color: var(--lp-muted);
  }
  .ls-events {
    display: block;
    position: absolute;
    inset: 0;
  }
  .ls-ev {
    position: absolute;
    left: var(--x);
    top: 0;
    width: 0;
    height: 100%;
    padding: 0;
  }
  .ls-ev > i {
    left: -7px;
    top: 203px;
    width: 15px;
    height: 15px;
  }
  .ls-ev__stem {
    position: absolute;
    left: 0;
    width: 1px;
    background: #52525b;
  }
  .ls-ev--up .ls-ev__stem {
    top: 96px;
    height: 106px;
  }
  .ls-ev--dn .ls-ev__stem {
    top: 220px;
    height: 70px;
  }
  .ls-ev__lab {
    position: absolute;
    left: -2px;
    width: 236px;
  }
  .ls-ev--up .ls-ev__lab {
    top: 0;
  }
  .ls-ev--dn .ls-ev__lab {
    top: 300px;
  }
  .ls-ev--end .ls-ev__lab {
    left: auto;
    right: -2px;
    text-align: right;
  }
  .ls-ev__t {
    position: static;
    display: block;
    width: auto;
    margin-bottom: 5px;
    text-align: inherit;
    font-size: 13px;
  }
  .ls-ev strong {
    font-size: 19px;
  }
  .ls--live .ls-ev {
    transition: none;
  }
  .ls--live .ls-ev:not(.is-on) {
    opacity: 1;
  }
  .ls--live .ls-ev > i,
  .ls--live .ls-ev__stem,
  .ls--live .ls-ev__lab {
    transition:
      opacity 0.35s,
      transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  }
  .ls--live .ls-ev:not(.is-on) > i {
    opacity: 0;
    transform: scale(0.2);
  }
  .ls--live .ls-ev:not(.is-on) .ls-ev__stem {
    opacity: 0;
  }
  .ls--live .ls-ev--up:not(.is-on) .ls-ev__lab {
    opacity: 0;
    transform: translateY(14px);
  }
  .ls--live .ls-ev--dn:not(.is-on) .ls-ev__lab {
    opacity: 0;
    transform: translateY(-14px);
  }
  .ls--live .ls-head {
    left: calc(100% * var(--p));
    right: auto;
    top: 120px;
    bottom: 10px;
    width: 2px;
    height: auto;
    background: linear-gradient(transparent, var(--lp-text) 18%, var(--lp-text) 82%, transparent);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
  }
  .ls--live .is-done .ls-head {
    opacity: 1;
  }
  .ls--live .ls-head::after {
    right: auto;
    left: -32px;
    top: auto;
    bottom: -34px;
    width: 66px;
    padding: 5px 0;
    text-align: center;
    font-size: 13px;
  }
  .ls-tally {
    margin-top: 44px;
  }
  .ls-tally li {
    max-width: none;
    font-size: 15px;
  }
  .ls-tally b {
    font-size: 56px;
  }

  /* 2: layers left, labels right with leader lines */
  .ls-anat {
    grid-template-columns: 520px 1fr;
    gap: 40px;
    margin-top: 0;
  }
  .ls-stack {
    --flat: 215px;
    height: 700px;
  }
  .ls-layer {
    left: 120px;
    width: 440px;
    height: 270px;
    border-radius: 22px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.55);
  }
  .ls-layer--1 {
    --top: 20px;
  }
  .ls-layer--2 {
    --top: 150px;
  }
  .ls-layer--3 {
    --top: 280px;
  }
  .ls-layer--4 {
    --top: 410px;
  }
  .ls-seal {
    inset: 30px 100px;
    border-width: 3px;
    font-size: 22px;
  }
  .ls-qr {
    left: 34px;
    top: 34px;
    width: 200px;
    height: 200px;
    gap: 3px;
  }
  .ls-code {
    right: 30px;
    top: 96px;
    font-size: 40px;
  }
  .ls-hash {
    inset: 26px;
    font-size: 15px;
  }
  .ls-rows {
    inset: 26px;
    gap: 12px;
  }
  .ls-rows u {
    height: 22px;
    border-radius: 6px;
  }
  .ls-calls {
    position: relative;
    height: 700px;
  }
  .ls-call {
    position: absolute;
    left: 0;
    right: 0;
    display: block;
    padding: 0 0 0 170px;
    border: 0;
    opacity: var(--o, 1);
    transform: translateX(calc((1 - var(--o, 1)) * 30px));
  }
  .ls-call:nth-child(1) {
    top: 108px;
  }
  .ls-call:nth-child(2) {
    top: 238px;
  }
  .ls-call:nth-child(3) {
    top: 368px;
  }
  .ls-call:nth-child(4) {
    top: 498px;
  }
  .ls-call > b {
    position: absolute;
    left: -4px;
    top: 13px;
    width: 9px;
    height: 9px;
    font-size: 0;
  }
  .ls-call::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 150px;
    border-top: 1px dashed #52525b;
  }
  .ls-call__n {
    display: block;
    font-family: var(--ls-mono);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-muted);
  }
  .ls-call h3 {
    margin: 6px 0;
    font-size: 30px;
    letter-spacing: -0.03em;
  }
  .ls-call p {
    max-width: 430px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }

  /* 3: type left, ticket right */
  .ls-once {
    display: grid;
    grid-template-columns: 1fr 640px;
    gap: 40px;
    align-items: center;
  }
  .ls-ticket {
    --w: 400px;
    --stub: 190px;
    --gap: 32px;
    --drop: 34px;
    --h: 290px;
    height: 420px;
    margin-top: 0;
  }
  .ls-piece {
    top: 60px;
  }
  .ls-piece small {
    font-size: 12px;
    letter-spacing: 0.14em;
  }
  .ls-piece--main {
    padding: 30px 34px;
    border-radius: 26px 0 0 26px;
  }
  .ls-piece--stub {
    padding: 30px 22px;
    border-radius: 0 26px 26px 0;
  }
  .ls-piece--stub strong {
    margin: 6px 0 20px;
    font-size: 22px;
  }
  .ls-perf {
    width: 14px;
    background-size: 14px 22px;
    background-image: radial-gradient(circle at 50% 8px, var(--lp-bg) 5px, transparent 5.5px);
  }
  .ls-piece--main .ls-perf {
    right: -7px;
  }
  .ls-piece--stub .ls-perf {
    left: -7px;
  }
  .ls-ticket__who {
    margin: 6px 0 22px;
    font-size: 30px;
  }
  .ls-ticket__code {
    font-size: 46px;
  }
  .ls-ticket__code::after {
    left: -8px;
    right: -8px;
    height: 5px;
  }
  .ls-ticket__meta {
    margin-top: 26px;
    gap: 34px;
    font-size: 15px;
  }
  .ls-stamp {
    right: 30px;
    top: 84px;
    bottom: auto;
    padding: 10px 18px;
    border-width: 3px;
    border-radius: 10px;
    font-size: 20px;
  }

  /* 4: plan left, people right */
  .ls-plan__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
    gap: 64px;
    align-items: center;
    margin-top: 56px;
  }
  .ls-person {
    display: block;
    padding: 22px 0;
  }
  .ls-person small {
    display: block;
    width: auto;
    margin-bottom: 8px;
    font-size: 13px;
  }
  .ls-person strong {
    font-size: 26px;
    letter-spacing: -0.03em;
  }

  /* 5: the leaves swing sideways */
  .ls-final .lp-kicker {
    margin-bottom: 50px;
  }
  .ls-gate {
    flex-direction: row;
    justify-content: center;
  }
  .ls-leaf {
    font-size: min(13.2vw, 190px);
  }
  .ls-leaf--a {
    transform: perspective(1400px) rotateY(calc(26deg * var(--open, 1)));
    transform-origin: 0 50%;
  }
  .ls-leaf--b {
    transform: perspective(1400px) rotateY(calc(-26deg * var(--open, 1)));
    transform-origin: 100% 50%;
  }
  .ls-gap {
    flex: none;
    width: calc(280px * var(--open, 1));
    height: 360px;
  }
  .ls-gap::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(
      transparent,
      var(--lp-go) 25%,
      transparent 40%,
      transparent 60%,
      var(--lp-go) 75%,
      transparent
    );
    box-shadow: 0 0 40px 6px rgba(74, 222, 128, 0.35);
  }
  .ls-final__join {
    margin-top: 50px;
    font-size: 17px;
  }
}

/* Wide AND tall AND motion welcome: hold each section while it plays. */
@media (min-width: 1100px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .ls--live .ls-tall {
    height: 230vh;
    padding: 0;
  }
  .ls--live .ls-tall > .ls-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 0 var(--lp-pad);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .ls--live .ls-tall > .ls-once {
    display: grid;
    align-content: center;
  }
  .ls--live .ls-final > .ls-pin {
    padding: 0;
  }
}
