/*
 * NOWON Band - Tour page
 * Loaded after style.css on tour.html only.
 *
 * TABLE OF CONTENTS
 *  01. Next show
 *  02. All dates: tickets
 *  03. Route map
 *  04. The show
 *  05. Past shows
 *  06. Media queries
 */

/* ==========================================================================
   01. Next show
   ========================================================================== */
/* The design sets no line height on most of these blocks (Montserrat "normal"). */
.tnext,
.tdates,
.troute,
.tshow,
.tpast {
  line-height: 1.22;
}

.tnext__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 40px;
}

.tnext__when {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .3em;
}

.tnext__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: end;
  gap: 48px clamp(32px, 4vw, 80px);
  margin-top: 36px;
}

.tnext__where,
.tnext__side {
  min-width: 0;
}

.tnext__city {
  color: var(--acc);
  font-weight: 900;
  font-size: clamp(84px, 15vw, 230px);
  line-height: .8;
  letter-spacing: -.06em;
}

.tnext__venue {
  margin-top: 22px;
  font-weight: 200;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -.03em;
}

.tnext__addr {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.tnext__cd {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tnext__cell {
  padding: 18px 0 14px;
  border: 1px solid rgba(245, 237, 216, .14);
  border-radius: 12px;
  text-align: center;
}

.tnext__num {
  display: block;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.tnext__unit {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .25em;
}

.tnext__facts {
  margin: 22px 0 0;
  border-top: 2px solid var(--cream);
}

.tnext__fact {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.tnext__fact dt {
  color: var(--acc);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
}

.tnext__fact dd {
  margin: 0;
  font-weight: 600;
}

.tnext__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
}

.tnext__btn {
  height: 56px;
  padding: 0 30px;
  letter-spacing: .2em;
}

.tnext__note {
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
}

/* ==========================================================================
   02. All dates: tickets
   ========================================================================== */
.tdates .section-head,
.troute .section-head,
.tshow .section-head,
.tpast .section-head {
  margin-bottom: 56px;
}

.tdates__filters {
  margin-bottom: 28px;
}

.tdates__filter {
  letter-spacing: .2em;
}

.tdates__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
  perspective: 1400px;
}

.tix {
  position: relative;
  display: flex;
  height: 300px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .2s ease-out;
}

.tix.is-tilting {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
}

.tix[hidden] {
  display: none;
}

.tix__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 16px;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px rgba(245, 237, 216, .14);
  transition: box-shadow .25s ease;
}

.tix:hover .tix__body,
.tix:focus-within .tix__body {
  box-shadow: inset 0 0 0 1.5px var(--acc), 0 26px 50px rgba(0, 0, 0, .6);
}

.tix.is-torn .tix__body {
  box-shadow: inset 0 0 0 1.5px var(--acc);
}

.tix--sold .tix__body {
  color: var(--muted);
}

.tix--sold .tix__row {
  color: var(--muted);
}

.tix__row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--acc);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.tix__date {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.tix__dd {
  display: block;
  color: transparent;
  font-weight: 800;
  font-size: 116px;
  line-height: .8;
  letter-spacing: 0;
  -webkit-text-stroke: 1.5px var(--acc);
  transition: color .25s ease;
}

.tix:hover .tix__dd,
.tix:focus-within .tix__dd,
.tix.is-torn:not(.tix--sold) .tix__dd {
  color: var(--acc);
}

.tix__mon {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .2em;
}

.tix__city {
  position: relative;
  margin-top: 14px;
  overflow: hidden;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tix__venue {
  position: relative;
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tix__foot {
  position: relative;
  display: block;
  margin-top: auto;
}

.tix__status {
  display: block;
  overflow: hidden;
  color: var(--acc);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .2em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tix--sold .tix__status {
  color: var(--muted);
}

.tix__bar {
  margin-top: 8px;
}

.tix__perf {
  position: relative;
  z-index: 1;
  width: 0;
  border-left: 2px dashed var(--bg);
}

.tix__perf::before,
.tix__perf::after {
  content: "";
  position: absolute;
  left: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
}

.tix__perf::before {
  top: -9px;
}

.tix__perf::after {
  bottom: -9px;
}

.tix__stub {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 76px;
  padding: 16px 0;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: var(--acc);
  color: var(--ink);
  font-family: var(--font);
  transform-origin: 0 100%;
  transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .3s ease, background-color .2s ease;
}

.tix:hover .tix__stub,
.tix__stub:focus-visible {
  background: var(--cream);
  transform: rotate(5deg) translate(4px, 1px);
}

.tix--sold .tix__stub {
  background: var(--surface);
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--line-3);
}

.tix.is-torn .tix__stub {
  opacity: .7;
  transform: translate(16px, 22px) rotate(17deg);
}

.tix__cta {
  display: block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .25em;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.tix__code {
  display: block;
  width: 44px;
  height: 70px;
  background: repeating-linear-gradient(0deg, currentColor 0 2px, transparent 2px 5px, currentColor 5px 6px, transparent 6px 10px, currentColor 10px 13px, transparent 13px 15px);
}

.tix__stamp {
  position: absolute;
  left: 40px;
  top: 118px;
  z-index: 3;
  display: block;
  padding: 6px 12px;
  border: 2px solid var(--cream);
  border-radius: 6px;
  background: rgba(18, 17, 16, .7);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .14em;
  pointer-events: none;
  transform: rotate(-12deg);
}

.tdates__torn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 30px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 2px solid var(--cream);
}

.tdates__sum {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  min-width: 0;
}

.tdates__label {
  color: var(--acc);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
}

.tdates__n {
  font-weight: 700;
  font-size: 18px;
}

.tdates__total {
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -.04em;
}

.tdates__list {
  color: var(--muted);
  font-size: 14px;
}

.tdates__checkout {
  height: 52px;
  padding: 0 28px;
  box-shadow: inset 0 0 0 1.5px rgba(245, 237, 216, .4);
  font-size: 11px;
  letter-spacing: .2em;
}

.tdates__checkout:hover {
  color: var(--cream);
}

.tdates__checkout.is-on {
  background: var(--acc);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--acc);
}

/* ==========================================================================
   03. Route map
   Dots, legs and labels are placed by tour.js (px from latitude / longitude).
   ========================================================================== */
.troute__wrap {
  position: relative;
}

.troute__map {
  position: relative;
  height: 640px;
  overflow: hidden;
  border: 1px solid rgba(245, 237, 216, .14);
  border-radius: 14px;
  background: repeating-linear-gradient(0deg, rgba(245, 237, 216, .05) 0 1px, transparent 1px 97px), repeating-linear-gradient(90deg, rgba(245, 237, 216, .05) 0 1px, transparent 1px 97px), #161514;
}

.troute__seg {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  display: block;
  width: var(--w, 0);
  height: 0;
  border-top: 2px dashed rgba(245, 237, 216, .3);
  transform: rotate(var(--a, 0deg));
  transform-origin: 0 50%;
}

.troute__seg.is-done {
  border-top: 2px solid var(--acc);
}

.troute__km {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  display: block;
  padding: 2px 6px;
  background: #161514;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.troute__km.is-done {
  color: var(--acc);
}

.troute__stop {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: -9px;
  padding: 0;
  border: 2px solid rgba(245, 237, 216, .6);
  border-radius: 50%;
  background: #161514;
  transition: border-color .2s ease, background-color .2s ease;
}

.troute__stop.is-reached {
  border-color: var(--acc);
}

.troute__stop.is-past {
  background: color-mix(in srgb, var(--acc) 45%, #161514);
}

.troute__name {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--cream);
  white-space: nowrap;
  pointer-events: none;
  transition: color .2s ease;
}

.troute__no {
  color: var(--acc);
  font-family: var(--mono);
  font-size: 10px;
}

.troute__city {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
}

.troute__name.is-on {
  color: var(--acc);
}

.troute__name.is-on .troute__city {
  font-weight: 900;
}

.troute__map.is-compact .troute__km,
.troute__map.is-compact .troute__name {
  display: none;
}

.troute__map.is-compact .troute__name.is-on {
  display: flex;
}

@keyframes troute-ping {
  0% {
    opacity: .9;
    transform: scale(.5);
  }

  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}

.troute__van {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  z-index: 3;
  width: 30px;
  height: 30px;
  margin: -15px;
  pointer-events: none;
  transition: left 1s cubic-bezier(.5, 0, .2, 1), top 1s cubic-bezier(.5, 0, .2, 1);
}

.troute__van::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--acc);
  border-radius: 50%;
  animation: troute-ping 1.6s ease-out infinite;
}

.troute__van::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 24px var(--acc);
}

.troute__north {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
}

.troute__scale {
  position: absolute;
  left: 20px;
  bottom: 16px;
  display: block;
  width: var(--sw, 218px);
  padding-top: 6px;
  border-top: 2px solid var(--muted);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.troute__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: var(--pw, 520px);
  padding: 36px 40px 36px 60px;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, transparent, var(--bg) 22%);
}

.troute__tag {
  color: var(--acc);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
}

.troute__big {
  margin-top: 14px;
  font-size: var(--nfs, 230px);
  line-height: .78;
}

.troute__head {
  margin-top: 18px;
  font-weight: 900;
  font-size: var(--cfs, 96px);
  line-height: .9;
  letter-spacing: -.05em;
  white-space: nowrap;
}

.troute__venue {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.troute__space {
  flex: 1;
  min-height: 24px;
}

.troute__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 237, 216, .14);
}

.troute__stats dt {
  color: var(--muted);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .2em;
  white-space: nowrap;
}

.troute__stats dd {
  margin: 8px 0 0;
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
}

.troute__progress {
  height: 3px;
}

.troute__fill {
  transition: none;
}

.troute__fill.is-running {
  transition: width .25s linear;
}

.troute__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.troute__arrows {
  display: flex;
  gap: 10px;
}

.troute__arrow {
  width: 48px;
  height: 48px;
  box-shadow: inset 0 0 0 1px rgba(245, 237, 216, .4);
  font-size: 14px;
}

.troute__cta {
  flex: none;
  padding: 0 22px;
  font-size: 11px;
  letter-spacing: .2em;
}

/* ==========================================================================
   04. The show
   ========================================================================== */
@keyframes tshow-sway {
  from {
    transform: rotate(-7deg);
  }

  to {
    transform: rotate(7deg);
  }
}

.tshow__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(400px, 31vw, 440px);
  padding: clamp(20px, 2.5vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(245, 237, 216, .14);
  border-radius: 14px;
  background: #0b0a09;
}

.tshow__house {
  position: absolute;
  inset: 0;
  background: var(--cream);
  opacity: var(--house, .1);
  transition: opacity .8s ease;
}

.tshow__cone {
  position: absolute;
  top: -30px;
  width: 26%;
  height: 120%;
  background: linear-gradient(var(--acc), transparent 88%);
  opacity: var(--op, 0);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  transition: opacity .8s ease;
  animation: tshow-sway 5s ease-in-out infinite alternate;
}

.tshow__cone--0 {
  left: 10%;
}

.tshow__cone--1 {
  left: 37%;
  animation-duration: 6s;
  animation-delay: -1.3s;
}

.tshow__cone--2 {
  left: 64%;
  animation-duration: 7s;
  animation-delay: -2.6s;
}

.tshow__top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 30px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
}

.tshow__now {
  color: var(--acc);
}

.tshow__next {
  color: var(--muted);
}

.tshow__time {
  position: relative;
  color: var(--cream);
  -webkit-text-fill-color: transparent;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  font-size: clamp(100px, 17.4vw, 250px);
  line-height: .8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tshow__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}

.tshow__song {
  min-width: 0;
}

.tshow__songlabel {
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
}

.tshow__songname {
  margin-top: 10px;
  color: var(--cream);
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: .95;
  letter-spacing: -.045em;
}

.tshow__time::before,
.tshow__songname.is-empty::before {
  content: attr(data-text);
}

.tshow__songname.is-empty {
  color: var(--cream);
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0;
  -webkit-text-stroke: 1.5px rgba(245, 237, 216, .5);
}

.tshow__meters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.tshow__meter {
  width: 150px;
}

.tshow__mrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.tshow__mlabel {
  color: var(--muted);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .2em;
  white-space: nowrap;
}

.tshow__mval {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.tshow__mbar {
  margin-top: 8px;
  background: rgba(245, 237, 216, .2);
}

.tshow__line {
  margin-top: 34px;
  padding: 0 clamp(14px, 2.8vw, 40px);
}

.tshow__track {
  position: relative;
  height: 110px;
  cursor: ew-resize;
  touch-action: pan-y;
}

.tshow__blocks {
  display: flex;
  height: 64px;
}

.tshow__block {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
  padding: 0 8px;
  overflow: hidden;
  border: 1px solid rgba(245, 237, 216, .2);
  border-left-width: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: background-color .3s ease, color .3s ease;
}

.tshow__block--0 {
  flex-grow: 60;
  border-left-width: 1px;
}

.tshow__block--1 {
  flex-grow: 35;
}

.tshow__block--2 {
  flex-grow: 25;
}

.tshow__block--3 {
  flex-grow: 75;
}

.tshow__block--4 {
  flex-grow: 30;
}

.tshow__block--5 {
  flex-grow: 15;
}

.tshow__block.is-past {
  background: var(--acc-22);
  color: var(--cream);
}

.tshow__block.is-on {
  background: var(--acc);
  color: var(--ink);
}

.tshow__short {
  display: none;
}

.tshow__tick {
  position: absolute;
  top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  pointer-events: none;
}

.tshow__tick::before {
  content: "";
  flex: none;
  width: 2px;
  height: 10px;
  margin-bottom: 8px;
  background: var(--muted);
}

.tshow__tick--0 {
  left: 0;
}

.tshow__tick--1 {
  left: 25%;
}

.tshow__tick--2 {
  left: 50%;
}

.tshow__tick--3 {
  left: 75%;
}

.tshow__tick--4 {
  left: 100%;
}

.tshow__head {
  position: absolute;
  left: var(--x, 0);
  top: -12px;
  width: 16px;
  height: 88px;
  margin-left: -8px;
  pointer-events: none;
  transition: left .35s linear;
}

.tshow__head::before,
.tshow__head::after {
  content: "";
  position: absolute;
  background: var(--cream);
}

.tshow__head::before {
  left: 7px;
  top: 0;
  width: 2px;
  height: 100%;
}

.tshow__head::after {
  left: 0;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.tshow__text {
  max-width: 760px;
  min-height: 2.7em;
  margin-top: 26px;
  font-weight: 300;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.35;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

/* ==========================================================================
   05. Past shows
   ========================================================================== */
.tpast__chart {
  --H: clamp(300px, calc(31.818vw - var(--pad) * .63636), 420px);
  --yfs: clamp(120px, calc(22.727vw - var(--pad) * .45455), 300px);
  --nfs: clamp(18.7px, calc(2.8333vw - var(--pad) * .056667), 34px);
  --nfs-on: clamp(35.2px, calc(5.3333vw - var(--pad) * .106667), 64px);
  --pos: 43.75%;
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
}

.tpast__ghost {
  position: absolute;
  left: clamp(26%, var(--pos), 74%);
  top: 0;
  font-size: var(--yfs);
  line-height: .8;
  white-space: nowrap;
  -webkit-text-stroke-color: var(--acc-45);
  pointer-events: none;
  transform: translateX(-50%);
  transition: left .3s ease-out;
}

.tpast__bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: var(--H);
  border-bottom: 2px solid var(--cream);
}

.tpast__col {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  height: 100%;
}

.tpast__n {
  display: block;
  color: var(--cream);
  font-weight: 900;
  font-size: var(--nfs);
  line-height: 1.1;
  letter-spacing: -.04em;
  transition: font-size .25s ease;
}

.tpast__col.is-on .tpast__n {
  color: var(--acc);
  font-size: var(--nfs-on);
}

.tpast__col.is-empty .tpast__n {
  color: var(--muted);
}

.tpast__bar {
  position: relative;
  display: block;
  height: calc(6px + var(--n, 0) * (var(--H) - 130px) / 86);
  margin-top: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 237, 216, .4);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  transition: background-color .25s ease;
}

.tpast__col.is-empty .tpast__bar {
  border-color: rgba(245, 237, 216, .15);
}

.tpast__col.is-done .tpast__bar {
  border-color: var(--acc);
  background: color-mix(in srgb, var(--acc) 24%, transparent);
}

.tpast__col.is-on .tpast__bar {
  border-color: var(--acc);
  background: var(--acc);
}

.tpast__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .15em;
  white-space: nowrap;
}

.tpast__col.is-on .tpast__tag {
  color: var(--ink);
}

.tpast__labels {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.tpast__year {
  flex: 1;
  min-width: 0;
  color: var(--cream);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.02em;
}

.tpast__year.is-empty {
  color: var(--muted);
}

.tpast__year.is-on {
  color: var(--acc);
  font-weight: 900;
}

.tpast__short {
  display: none;
}

.tpast__head {
  position: absolute;
  left: var(--pos);
  top: calc(var(--yfs) * .8 + 10px);
  bottom: 34px;
  width: 2px;
  margin-left: -1px;
  background: var(--cream);
  pointer-events: none;
  transition: left .2s ease-out;
}

.tpast__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: end;
  gap: 36px 60px;
  margin-top: 40px;
}

.tpast__about {
  min-width: 0;
}

.tpast__label {
  color: var(--acc);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
}

.tpast__name {
  margin-top: 12px;
  font-weight: 900;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: .9;
  letter-spacing: -.045em;
}

.tpast__note {
  max-width: 520px;
  min-height: 3.2em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.tpast__totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tpast__total {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-3);
}

.tpast__value {
  color: var(--acc);
  font-weight: 900;
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: .85;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

.tpast__what {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .2em;
}

/* ==========================================================================
   06. Media queries
   ========================================================================== */
@media (max-width: 1319px) {
  .tshow__long {
    display: none;
  }

  .tshow__short {
    display: inline;
  }
}

@media (max-width: 1279px) {
  .tdates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1259px) {
  .tpast__tag {
    display: none;
  }
}

@media (max-width: 1199px) {
  .troute__panel {
    position: relative;
    width: 100%;
    padding: 28px 0 0;
    border-radius: 0;
    background: none;
  }
}

@media (max-width: 920px) {
  .tpast__bars,
  .tpast__labels {
    gap: 6px;
  }
}

@media (max-width: 699px) {
  .tshow__short {
    display: none;
  }

  .tshow__block.is-on .tshow__short {
    display: inline;
  }
}

@media (max-width: 669px) {
  .tpast__year {
    font-size: 13px;
  }

  .tpast__full {
    display: none;
  }

  .tpast__short {
    display: inline;
  }
}

@media (max-width: 639px) {
  .tdates__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 559px) {
  .tnext__city {
    font-size: min(84px, 18vw);
  }

  .tnext__fact {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 13px 8px;
  }

  .tnext__num {
    font-size: 30px;
  }

  .tshow__time {
    font-size: 22vw;
  }

  .tpast__chart {
    --yfs: 26vw;
  }

  .tpast__value {
    font-size: 32px;
  }
}

@media (max-width: 359px) {
  .tix__dd {
    font-size: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tix,
  .tix__stub,
  .troute__van,
  .tshow__head,
  .tpast__ghost,
  .tpast__head {
    transition: none;
  }

  .tshow__cone,
  .troute__van::before {
    animation: none;
  }
}
