/* Kafila: truck art colour, kept calm. Page styles. */
:root {
  --white: #ffffff;
  --ink: #11131c;
  --ink-2: #464b5a;
  --blue: #1d3b9a;
  --blue-deep: #162e7a;
  --night: #0b1433;
  --night-2: #16214a;
  --night-ink: #b4bdd6;
  --paper: #eef2f8;
  --rule: #d3dae6;
  --yellow: #f4c20d;
  --green: #12804a;
  --pink: #d63a75;
  --display: "Rozha One", "Times New Roman", serif;
  --text: "Encode Sans", system-ui, sans-serif;
  --urdu: "Gulzar", "Noto Nastaliq Urdu", serif;
  --gutter: 24px;
  --side: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 6px;
  --bar: 76px;
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='10' viewBox='0 0 32 10'%3E%3Crect width='32' height='10' fill='%231d3b9a'/%3E%3Cpath d='M0 10 8 1l8 9z' fill='%23f4c20d'/%3E%3Cpath d='M16 0l8 9 8-9z' fill='%23d63a75'/%3E%3Ccircle cx='8' cy='7' r='1.2' fill='%231d3b9a'/%3E%3Ccircle cx='24' cy='3' r='1.2' fill='%23ffffff'/%3E%3C/svg%3E");
}

html {
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--white);
  overflow-x: hidden;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
em,
i {
  font-style: normal;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.on-night :focus-visible,
.foot :focus-visible {
  outline-color: var(--yellow);
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 60;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--side) * 2);
  margin-inline: auto;
  padding-inline: var(--side);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.label {
  font-variation-settings: "wdth" 112;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.band {
  display: block;
  height: 10px;
  background: var(--band) repeat-x left center / 32px 10px;
  border-bottom: 2px solid var(--green);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 0.98;
}
p {
  margin: 0;
}

/* Buttons: rectangular boards with a chamak band that runs along the foot on hover */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.15s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 5px;
  background: var(--band) repeat-x left bottom / 16px 5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}
.btn:hover {
  background: var(--blue-deep);
}
.btn:hover::after,
.btn:focus-visible::after {
  transform: scaleX(1);
}
.btn:hover .arrow {
  transform: translateX(5px);
}
.btn:active {
  transform: scale(0.97);
}
.btn--light {
  background: var(--white);
  color: var(--blue);
}
.btn--light:hover {
  background: var(--paper);
}
.link {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.3s ease, text-underline-offset 0.3s ease;
}
.link:hover {
  text-underline-offset: 8px;
  text-decoration-color: var(--yellow);
}

/* Route bar navigation */
.bar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: var(--bar);
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.bar__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}
.mark svg {
  width: 22px;
  height: 22px;
}
.mark span {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
  padding-top: 3px;
}
.route {
  flex: 1;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.route__road {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: var(--rule);
}
.route__done {
  position: absolute;
  inset-inline-start: 0;
  bottom: -1px;
  height: 3px;
  width: 0;
  background: var(--blue);
}
.route ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}
.route li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.25s ease;
}
.route li a::before {
  content: "";
  width: 7px;
  height: 7px;
  background: transparent;
  border: 1.5px solid #aeb7ca;
  transform: rotate(45deg);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.route li a:hover,
.route li a[aria-current="true"] {
  color: var(--ink);
}
.route li a.is-passed::before {
  border-color: var(--blue);
  background: var(--blue);
}
.route li a[aria-current="true"]::before {
  border-color: var(--yellow);
  background: var(--yellow);
}
.route__truck {
  position: absolute;
  bottom: 2px;
  inset-inline-start: 0;
  width: 34px;
  height: 20px;
  pointer-events: none;
}
.route__road {
  display: none;
}
.bar__cta {
  min-height: 46px;
  font-size: 15px;
  padding: 0 20px;
}
.bar__menu {
  display: none;
}

/* Hero */
.hero {
  padding-top: calc(var(--bar) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(72px, 9vw, 136px);
}
.hero .grid {
  align-items: end;
  row-gap: 48px;
}
.hero__text {
  grid-column: 1 / span 8;
  padding-bottom: 8px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.hero__meta span + span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 22px;
  vertical-align: 2px;
  background: var(--yellow);
  transform: rotate(45deg);
}
.hero h1 {
  font-size: clamp(46px, 6.2vw, 108px);
}
.hero h1 .accent {
  color: var(--blue);
}
.hero__lede {
  margin-top: clamp(24px, 2.6vw, 36px);
  max-width: 31em;
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--ink-2);
}
.hero__act {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.hero__board {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 44em;
}
.hero__board strong {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hero__frame {
  grid-column: 9 / span 4;
  margin: 0;
  align-self: start;
  margin-top: 64px;
}
.hero h1 .ln {
  display: block;
}
.frame {
  position: relative;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame .band {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
}
.hero__frame .frame {
  aspect-ratio: 4 / 5.4;
}
.cap {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
}

/* Section heads */
.sec {
  padding-block: clamp(88px, 11vw, 168px);
}
.head {
  grid-column: 1 / span 7;
}
.head .label {
  display: flex;
  align-items: center;
  gap: 14px;
}
.head .label b {
  font-weight: 500;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.head h2 {
  margin-top: 22px;
  font-size: clamp(42px, 5.2vw, 84px);
}
.head p {
  margin-top: 24px;
  max-width: 31em;
  color: var(--ink-2);
  font-size: 18px;
}

/* Bilty desk */
.desk {
  border-top: 1px solid var(--rule);
}
.desk__body {
  margin-top: clamp(48px, 6vw, 88px);
  align-items: start;
  row-gap: 40px;
}
.composer {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--bar) + 32px);
}
.composer form {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s ease;
}
.composer form:focus-within {
  border-color: var(--blue);
}
.composer label {
  display: block;
  margin-bottom: 12px;
}
.composer input {
  flex: 1;
  min-width: 0;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
}
.composer input::placeholder {
  color: #5f6576;
}
.composer input:focus {
  outline: none;
}
.composer form .btn {
  margin: 5px;
  min-height: 48px;
  padding: 0 18px;
}
.starters {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--text);
  font-size: 15px;
  color: var(--ink);
  text-align: start;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.chip:hover {
  border-color: var(--blue);
  background: var(--paper);
}
.chip:active {
  transform: scale(0.97);
}
.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.steps li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-2);
}
.steps li b {
  display: block;
  font-weight: 500;
  color: var(--ink);
}
.steps .tick {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  position: relative;
}
.steps li.is-on .tick {
  border-color: var(--blue);
  border-top-color: transparent;
  animation: turn 0.8s linear infinite;
}
.steps li.is-done .tick {
  border-color: var(--green);
  background: var(--green);
  animation: none;
}
.steps li.is-done .tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@keyframes turn {
  to {
    transform: rotate(1turn);
  }
}
.note {
  margin-top: 28px;
  font-size: 17px;
  color: var(--ink);
  min-height: 1.5em;
}
.note .ru {
  display: block;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
}
.note[data-kind="fallback"] {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.follow {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* The bilty slip */
.slip-wrap {
  grid-column: 7 / span 6;
}
.slip {
  position: relative;
  background: var(--paper);
  border-radius: 0 0 var(--radius) var(--radius);
  font-variation-settings: "wdth" 92;
}
.slip__in {
  padding: clamp(22px, 2.6vw, 36px);
}
.slip__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--ink);
}
.slip__top h3 {
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1;
}
.slip__top h3 small {
  display: block;
  margin-top: 8px;
  font-family: var(--text);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-2);
}
.slip__no {
  text-align: end;
  font-size: 14px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.slip__no strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}
.fields div {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.fields div:nth-child(odd) {
  padding-inline-end: 16px;
}
.fields div:nth-child(even) {
  padding-inline-start: 16px;
  border-inline-start: 1px solid var(--rule);
}
.fields dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.fields dd {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.boards {
  margin-top: 26px;
}
.boards h4,
.split h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.boards ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.boards li {
  display: grid;
  grid-template-columns: 7.2em 1fr 6.4em;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.boards li .bar-x {
  height: 8px;
  border-radius: 2px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.boards li .bar-x .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: #8f9ab4;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.boards li .amt {
  text-align: end;
}
.boards li.is-best {
  font-weight: 500;
}
.boards li.is-best .bar-x .fill {
  background: var(--blue);
}
.boards li.is-off {
  color: #5f6576;
}
.boards li .tag {
  margin-inline-start: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.split {
  margin-top: 24px;
}
.split__bar {
  display: flex;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  gap: 2px;
}
.split__bar span {
  display: block;
  height: 100%;
  transition: flex-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.split__bar .s-net {
  background: var(--blue);
}
.split__bar .s-fr {
  background: var(--yellow);
}
.split__bar .s-co {
  background: var(--pink);
}
.split__bar .s-la {
  background: var(--green);
}
.split ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 14px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.split li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-inline-end: 7px;
  border-radius: 2px;
  background: var(--c);
}
.split li b {
  display: block;
  font-weight: 500;
  color: var(--ink);
}
.total {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1.5px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px 24px;
}
.total p {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 19em;
}
.total strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.stamp {
  flex: none;
  width: 112px;
  height: 112px;
  margin-inline-start: auto;
  margin-block: -18px -6px;
  color: #b8285e;
  transform: rotate(-10deg);
  opacity: 0.92;
}
.stamp svg {
  width: 100%;
  height: 100%;
}
.stamp text {
  font-family: var(--text);
  font-weight: 600;
  fill: currentColor;
}
.slip.is-busy .fields dd,
.slip.is-busy .boards,
.slip.is-busy .split,
.slip.is-busy .total strong {
  opacity: 0.25;
  transition: opacity 0.2s ease;
}

/* The night */
.night {
  background: var(--night);
  color: var(--white);
  position: relative;
}
.night .label {
  color: var(--night-ink);
}
.night .head p {
  color: var(--night-ink);
}
.night__stage {
  margin-top: clamp(48px, 6vw, 80px);
}
@media (min-width: 901px) {
  .kit-js:not(.is-static) .night__stage {
    min-height: calc(100vh - var(--bar) - 64px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 24px;
  }
}
.clock {
  grid-column: 1 / span 6;
}
.clock__time {
  font-family: var(--display);
  font-size: clamp(96px, 13vw, 200px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.clock__time span {
  color: var(--yellow);
}
.clock__where {
  margin-top: 20px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
}
.clock__what {
  margin-top: 12px;
  max-width: 27em;
  color: var(--night-ink);
  font-size: 18px;
}
.night__photo {
  grid-column: 7 / span 6;
  margin: 0;
}
.night__photo .frame {
  aspect-ratio: 16 / 11;
  background: var(--night-2);
}
.stops {
  position: relative;
  margin-top: clamp(40px, 5vw, 72px);
}
.stops__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gutter);
}
.stops__road {
  position: absolute;
  inset-inline: 0;
  top: 6px;
  border-top: 1px dashed #4a5683;
}
.stops__done {
  position: absolute;
  inset-inline-start: 0;
  top: 5px;
  height: 3px;
  width: 0;
  background: var(--yellow);
}
.stops__truck {
  position: absolute;
  top: -16px;
  inset-inline-start: 0;
  width: 34px;
  height: 20px;
  margin-inline-start: -2px;
}
.stops li {
  position: relative;
  padding-top: 28px;
  color: var(--night-ink);
  font-size: 15px;
  transition: color 0.3s ease;
}
.stops li::before {
  content: "";
  position: absolute;
  top: 1px;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #4a5683;
  background: var(--night);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.stops li b {
  display: block;
  font-weight: 500;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stops li.is-on::before,
.stops li.is-past::before {
  border-color: var(--yellow);
  background: var(--yellow);
}
.stops li .full {
  display: none;
}
.is-static .stops li .full {
  display: block;
  margin-top: 6px;
}

/* Growers */
.growers .grid {
  align-items: end;
  row-gap: 56px;
}
.figure {
  grid-column: 1 / span 6;
}
.figure__num {
  font-family: var(--display);
  font-size: clamp(110px, 16vw, 250px);
  line-height: 0.86;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.figure__num small {
  font-size: 0.32em;
  margin-inline-end: 0.12em;
  vertical-align: 0.9em;
}
.figure p {
  margin-top: 24px;
  max-width: 22em;
  font-size: clamp(19px, 1.6vw, 23px);
}
.figure .label {
  margin-top: 28px;
}
.voice {
  grid-column: 8 / span 5;
  margin: 0;
}
.voice .frame {
  aspect-ratio: 4 / 5;
  max-width: 420px;
}
.voice blockquote {
  margin: 28px 0 0;
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.5;
}
.voice figcaption {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
}
.voice figcaption b {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

/* Terms */
.terms {
  background: var(--paper);
}
.terms .grid {
  align-items: start;
  row-gap: 48px;
}
.terms__photo {
  grid-column: 1 / span 5;
  margin: 0;
}
.terms__photo .frame {
  aspect-ratio: 4 / 5;
}
.terms__body {
  grid-column: 7 / span 6;
}
.terms__body h2 {
  font-size: clamp(42px, 4.8vw, 76px);
}
.terms__body > p {
  margin-top: 24px;
  max-width: 30em;
  color: var(--ink-2);
  font-size: 18px;
}
.fare {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.fare caption {
  text-align: start;
  padding-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.fare th,
.fare td {
  text-align: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 400;
}
.fare thead th {
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1.5px solid var(--ink);
}
.fare td:last-child,
.fare th:last-child {
  text-align: end;
}
.fare tbody th {
  font-weight: 500;
}
.small {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.pay {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.pay p {
  font-size: 15px;
  color: var(--ink-2);
}

/* Footer: the back of the truck */
.foot {
  background: var(--blue);
  color: var(--white);
  position: relative;
}
.jhalar {
  position: absolute;
  inset-inline: 0;
  top: 16px;
  height: 56px;
  display: flex;
  justify-content: space-between;
  padding-inline: var(--side);
  overflow: hidden;
  pointer-events: none;
}
.jhalar__bumper {
  height: 14px;
  background: var(--ink);
  border-bottom: 2px solid var(--yellow);
}
.jhalar span {
  display: block;
  width: 12px;
  height: 56px;
  transform-origin: 50% 0;
  background: no-repeat center top / 12px 56px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='56' viewBox='0 0 12 56'%3E%3Cpath d='M6 0v30' stroke='%23c8d2f0' stroke-width='1.2' stroke-dasharray='2.4 1.6'/%3E%3Cpath d='M6 30c4 4 5 9 0 16-5-7-4-12 0-16z' fill='%23f4c20d'/%3E%3Ccircle cx='6' cy='50' r='2' fill='%23c8d2f0'/%3E%3C/svg%3E");
}
.jhalar span:nth-child(3n + 2) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='56' viewBox='0 0 12 56'%3E%3Cpath d='M6 0v24' stroke='%23c8d2f0' stroke-width='1.2' stroke-dasharray='2.4 1.6'/%3E%3Cpath d='M6 24c4 4 5 9 0 16-5-7-4-12 0-16z' fill='%23ffffff'/%3E%3Ccircle cx='6' cy='44' r='2' fill='%23c8d2f0'/%3E%3C/svg%3E");
}
.jhalar span:nth-child(3n) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='56' viewBox='0 0 12 56'%3E%3Cpath d='M6 0v28' stroke='%23c8d2f0' stroke-width='1.2' stroke-dasharray='2.4 1.6'/%3E%3Cpath d='M6 28c4 4 5 9 0 16-5-7-4-12 0-16z' fill='%23d63a75'/%3E%3Ccircle cx='6' cy='48' r='2' fill='%23c8d2f0'/%3E%3C/svg%3E");
}
.foot__main {
  padding-block: clamp(80px, 10vw, 150px) clamp(56px, 7vw, 96px);
  row-gap: 48px;
  align-items: end;
}
.foot__sign {
  grid-column: 1 / span 7;
}
.foot__sign [lang="ur"] {
  display: block;
  font-family: var(--urdu);
  font-size: clamp(72px, 10vw, 156px);
  line-height: 1.9;
  direction: rtl;
  text-align: left;
  color: var(--white);
  margin-bottom: -0.2em;
}
.foot__sign p {
  margin-top: 8px;
  font-size: clamp(20px, 1.8vw, 26px);
  max-width: 22em;
}
.foot__sign .btn {
  margin-top: 36px;
}
.foot__info {
  grid-column: 9 / span 4;
  display: grid;
  gap: 24px;
  font-size: 16px;
}
.foot__info .label {
  color: #c8d2f0;
  display: block;
  margin-bottom: 4px;
}
.foot__info a {
  color: var(--white);
  text-underline-offset: 4px;
}
.foot__base {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-block: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 14px;
  color: #c8d2f0;
}
.foot__base .ur-name {
  font-family: var(--urdu);
  font-size: 20px;
  line-height: 1;
  color: var(--white);
  margin-inline-start: 8px;
}
.foot .band {
  border-bottom: 0;
}

/* Phone and tablet */
@media (max-width: 1080px) {
  .route li a {
    font-size: 13px;
    padding-inline: 6px;
  }
}
@media (max-width: 900px) {
  :root {
    --bar: 64px;
  }
  .grid {
    column-gap: 16px;
  }
  .bar__in {
    gap: 12px;
  }
  .route {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 0;
  }
  .route ol {
    display: none;
  }
  .route.is-open ol {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--bar);
    inset-inline: 0;
    padding: 8px var(--side) 20px;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
  }
  .route.is-open li a {
    min-height: 54px;
    padding: 0;
    font-size: 18px;
    border-bottom: 1px solid var(--rule);
  }
  .route__truck {
    width: 28px;
    height: 16px;
  }
  .clock {
    display: none;
  }
  .bar__cta {
    margin-inline-start: auto;
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }
  .bar__cta .arrow {
    display: none;
  }
  .bar__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--white);
  }
  .bar__menu span,
  .bar__menu span::before {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    position: relative;
  }
  .bar__menu span::before {
    content: "";
    position: absolute;
    top: 6px;
  }
  .bar__menu span {
    transform: translateY(-3px);
  }
  .hero__text,
  .hero__frame,
  .head,
  .composer,
  .slip-wrap,
  .clock,
  .night__photo,
  .figure,
  .voice,
  .terms__photo,
  .terms__body,
  .foot__sign,
  .foot__info {
    grid-column: 1 / -1;
  }
  .hero__frame .frame {
    aspect-ratio: 4 / 3.4;
  }
  .composer {
    position: static;
  }
  .stops__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stops__road,
  .stops__done,
  .stops__truck {
    display: none;
  }
  .stops li {
    padding: 18px 0 18px 26px;
    border-top: 1px solid #26325e;
  }
  .stops li::before {
    top: 25px;
  }
  .stops li .full {
    display: block;
    margin-top: 4px;
  }
  .voice .frame {
    max-width: none;
    aspect-ratio: 4 / 4.2;
  }
  .terms__photo .frame {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 520px) {
  .hero__meta span + span::before {
    margin-inline-end: 12px;
  }
  .hero__meta {
    gap: 6px 12px;
  }
  .fields dd {
    font-size: 15px;
  }
  .fields div:nth-child(odd) {
    padding-inline-end: 10px;
  }
  .fields div:nth-child(even) {
    padding-inline-start: 10px;
  }
  .slip__top {
    flex-direction: column;
    gap: 10px;
  }
  .slip__no {
    text-align: start;
  }
  .slip__no strong {
    display: inline;
    margin-inline-end: 10px;
  }
  .boards li {
    grid-template-columns: 6.4em 1fr 5.6em;
    gap: 8px;
    font-size: 14px;
  }
  .split ul {
    grid-template-columns: 1fr 1fr;
  }
  .stamp {
    width: 92px;
    height: 92px;
    margin: 4px 0 0;
  }
  .fare {
    font-size: 15px;
  }
  .fare .km {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps li.is-on .tick {
    animation: none;
  }
  .btn,
  .btn::after,
  .btn .arrow,
  .route__truck {
    transition: none;
  }
}
