/* The catalog and both cloud layers share a fixed scene below the copy. */
.band { position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(180deg, var(--paper) 0%, var(--wheat) 46%, var(--wheat-2) 70%, var(--paper) 100%); }
.band__copy { position: relative; z-index: 5; padding-top: var(--studio-padding, 110px); display: grid; justify-items: center; gap: 16px; text-align: center; }
.band__line { margin: 0; font: 300 clamp(34px, 4.3vw, 62px)/1.06 var(--serif); letter-spacing: -0.028em; text-wrap: balance; }
.band__sub { margin: 0; max-width: 62ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); text-wrap: balance; }
.band__sub a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .band__sub a:hover { text-decoration-color: var(--ink); } }
.band__scene { --cloudline: 174px; position: relative; height: 490px; margin-top: clamp(38px, 6vw, 74px); pointer-events: none;
  mask-image: linear-gradient(#000 58%, rgba(0, 0, 0, .55) 78%, transparent); }
.band__haze { position: absolute; left: 0; right: 0; top: 34%; height: 26%; z-index: 1; background: radial-gradient(60% 100% at 50% 100%, rgba(236, 238, 241,.85), rgba(236, 238, 241,0) 70%); }

/* Anchor the far lane at the top so perspective does not change the gap above it. */
.band__floor { position: absolute; z-index: 2; inset: 0; perspective: 1100px; perspective-origin: 50% 0; }
.band__plane { position: absolute; left: -30%; right: -30%; top: 0; display: flex; flex-direction: column; gap: 26px;
  transform-origin: 50% 0;
  transform: translate3d(calc(var(--px, 0) * -14px), 0, -160px) rotateX(43deg);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000000 24%, #000000 76%, transparent 96%); mask-image: linear-gradient(90deg, transparent 4%, #000000 24%, #000000 76%, transparent 96%); }
.band__row { overflow: visible; }
.band__track { display: flex; width: max-content; animation: bandDrift calc(150s + var(--k) * 22s) linear infinite; }
.band__cycle { flex: none; display: flex; gap: 18px; padding-inline-end: 18px; }
.band__row:nth-child(even) .band__track { animation-direction: reverse; }
.band__row:nth-child(1) .band__track { margin-left: -120px; } .band__row:nth-child(3) .band__track { margin-left: -60px; } .band__row:nth-child(4) .band__track { margin-left: -190px; } .band__row:nth-child(6) .band__track { margin-left: -90px; }
@keyframes bandDrift { to { transform: translate3d(calc(-100% / var(--cycles)), 0, 0); } }
.band.is-off .band__track { animation-play-state: paused; }

.plate { flex: none; display: grid; grid-template-columns: 30px auto; column-gap: 12px; row-gap: 3px; align-items: center; min-width: 236px; padding: 14px 20px 14px 16px; border-radius: 14px;
  background: var(--linen); box-shadow: inset 0 0 0 1px rgba(31, 33, 36,.08), 0 2px 0 rgba(255, 255, 255,.8) inset, 0 22px 30px -22px rgba(50, 52, 55,.55); }
.plate__mark { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.plate__mark img, .plate__mark .mono-mark { width: 17px; height: 17px; }
.plate__name { font: 500 14.5px/1.2 var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate__meta { display: flex; gap: 10px; font: 400 12px/1.3 var(--sans); color: var(--ink-3); white-space: nowrap; }
.plate__meta em { font: 500 12px/1 var(--mono); font-style: normal; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* The low bank covers the base of the last lane while the nearer clouds drift across it. */
.band__cl { z-index: 3; --h: 300px; --ratio: 2.883; position: absolute; left: 0; right: 0; height: var(--h); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000000 var(--soft, 12%)); mask-image: linear-gradient(180deg, transparent 0%, #000000 var(--soft, 12%)); }
.band__cl i { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + var(--h) * var(--ratio));
  background: var(--img) var(--bx, 0px) 0 / auto 100% repeat-x; animation: bandCloud var(--dur, 160s) linear infinite; will-change: transform; }
@keyframes bandCloud { to { transform: translate3d(calc(var(--h) * var(--ratio) * -1), 0, 0); } }
.band__cl--mid { --img: url(../images/sea-strip.webp); --h: 385px; top: var(--cloudline); --bx: -900px; --dur: 190s; --soft: 17%; }
.band__cl--near { z-index: 4; --img: url(../images/heap-strip.webp); --ratio: 2.7; --h: 435px; top: calc(var(--cloudline) - 28px); --soft: 22%; --bx: -200px; --dur: 120s; }
.band.is-off .band__cl i { animation-play-state: paused; }

@media (max-width: 640px) {
  .band__scene { --cloudline: 138px; height: 435px; }
  .band__floor { perspective: 760px; }
  .band__cl--mid { --h: 360px; }
  .band__cl--near { --h: 380px; }
  .band__plane { left: -90%; right: -90%; gap: 16px; }
  .plate { min-width: 0; padding: 12px 16px 12px 14px; }
}
