/* The homepage only: the line over the aircraft, the truck and the map. Loaded after site.css, which still holds the rest of the homepage. */

/* a line over the aircraft: the film waits there for half a beat (js/main.js, airLine) */
@media (min-width: 801px) and (min-aspect-ratio: 1/1) { .scale-hook .beat--air .say, .scale-wall .beat--air .say { max-width: 7.4em; } }
/* 8.27 beats of scroll, 85.8vh each, and the window itself (SPAN in js/main.js) */
.live .film { height: 810vh; }

/* the hero's words: the rate, and a number that grows (js/scale.js) */
.beat--hero::before { content: ""; position: absolute; inset: 0; opacity: var(--shade, 1); background: linear-gradient(0deg, rgb(6 12 22 / .88), rgb(6 12 22 / .62) 26%, rgb(6 12 22 / 0) 62%); }
.scale { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: calc(1.6rem + min(2.2vw, 5vh) + var(--bar)); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.scale__line { order: 1; flex: none; max-width: 6.6em; margin-bottom: .16em; font-size: clamp(1.7rem, 3.5vw, 4.4rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; text-align: right; }
/* hero 2's sentence, in the middle at the bottom: ICLASS successfully completes / 43,200 deliveries / every day */
.live.scale-wall .scale { inset: auto 0 calc(min(2.6vw, 5.4vh) + var(--bar) + env(safe-area-inset-bottom)); display: grid; place-content: center; }
.live.scale-wall .beat--hero::before { background: linear-gradient(0deg, rgb(6 12 22 / .9), rgb(6 12 22 / .66) 30%, rgb(6 12 22 / .12) 66%, rgb(6 12 22 / .12)); }
.scale__count { text-align: center; white-space: nowrap; }
.scale__n { display: flex; align-items: baseline; justify-content: center; gap: min(1.5vw, 3.4vh); margin: min(.9vw, 1.9vh) 0 min(1.2vw, 2.6vh); line-height: .76; color: var(--yellow); }
.scale__n b { font-size: min(7.6vw, 17.5vh); font-weight: 900; font-stretch: 112%; letter-spacing: -.015em; }
.scale__n i { font-size: min(3.1vw, 7vh); font-style: normal; font-weight: 700; letter-spacing: -.04em; }
.scale__say, .scale__when { display: block; overflow: hidden; padding-bottom: .14em; font-size: clamp(1.125rem, min(1.85vw, 4.1vh), 2.5rem); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; color: var(--white); }
.scale__when span { display: block; }
.live :is(.scale__line, .scale__count) { transition: opacity .8s, translate .9s var(--out); }
.is-opening :is(.scale__line, .scale__count) { opacity: 0; translate: 0 .5em; }
.live .scale__all { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html:not(.live) .scale__count { display: none; }
html:not(.live) .scale__all { display: grid; gap: .5rem; font-size: clamp(1.1rem, 1.7vw, 2rem); font-weight: 600; line-height: 1; }
html:not(.live) .scale__all b { font-size: 2em; font-weight: 800; letter-spacing: -.045em; color: var(--yellow); }
.live.scale-wall .hero__grab { display: none !important; }
.live.hero-crane .hero__pause { right: calc(var(--gut) - 1rem); top: 50%; bottom: auto; margin-top: .6rem; }
/* index.html's hook: its words are in the pictures (js/crane.js), and the headline is for screen readers, search and calm mode */
.live.scale-hook .beat--hero::before { content: none; }
.live.scale-hook .scale { display: block; bottom: calc(1.5rem + var(--bar) + env(safe-area-inset-bottom)); }
.live.scale-hook .scale__count { display: none; }
/* pendulum.html: the sentence is in the pictures (js/pendulum.js), and the headline is for screen readers, search and calm mode */
.live.scale-swing .beat--hero::before { content: none; }
.live .scale__line { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html:not(.live).scale-swing .scale__line { max-width: 13em; text-align: left; }
/* the story's figures */
.say--sum { max-width: 9.4em; }
.say--sum b { display: block; margin: .02em 0 .1em -.03em; font-size: 1.72em; font-weight: 900; font-stretch: 112%; line-height: .9; letter-spacing: -.05em; white-space: nowrap; color: var(--yellow); }
@media (min-width: 801px) and (min-aspect-ratio: 1/1) { .beat[data-beat="2"] .say--sum { bottom: 8vh; } }      /* clear of the yellow container */
/* for comparing: it goes with the two that are not chosen */
.pick { display: none; }
.live .pick { position: absolute; z-index: 3; right: calc(var(--gut) - 1rem); top: 50%; translate: 0 -100%; display: grid; font-size: .8125rem; font-weight: 600; text-align: center; }
.pick span { padding-bottom: .4rem; }
.pick a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: rgb(13 13 13 / .6); }
.pick a:hover { color: var(--yellow); }
:is(.scale-hook .pick a:nth-of-type(1), .scale-wall .pick a:nth-of-type(2)) { background: var(--yellow); color: var(--ink); }
.live .pick[hidden] { display: none; }

@media (max-width: 800px), (max-aspect-ratio: 1/1) {
  .scale { display: block; bottom: calc(1.5rem + 2.2vw + var(--bar) + env(safe-area-inset-bottom)); }
  .scale__line { max-width: 9em; margin: 0 0 min(6vw, 3.4vh); font-size: min(8.2vw, 5vh); text-align: left; }
  .scale__n { display: block; margin: min(3vw, 1.8vh) 0 min(3.6vw, 2.2vh); }
  .scale__n b { display: block; font-size: min(17vw, 12vh); }
  .scale__n i { display: block; margin-top: .34em; font-size: min(7.4vw, 5vh); line-height: 1; }
  .scale__say, .scale__when { font-size: min(5vw, 3.1vh); }
  .beat--hero::before { background: linear-gradient(0deg, rgb(6 12 22 / .92), rgb(6 12 22 / .74) 34%, rgb(6 12 22 / 0) 68%); }
  .live.hero-crane .hero__pause { right: calc(var(--gut) - .9rem); bottom: calc(.15rem + 2.2vw + min(26vw, 17.5vh) + var(--bar) + env(safe-area-inset-bottom)); top: auto; margin: 0; }
  .live .pick { top: 42%; }
  .live.hero-crane.scale-swing .hero__pause { top: 42%; bottom: auto; margin-top: .4rem; }
  .say--sum b { font-size: 1.45em; }
  .live.hero-crane:is(.scale-hook, .scale-wall) .hero__pause { top: 42%; bottom: auto; margin-top: .4rem; }
  html:not(.live) .scale__all { margin-top: 1rem; }
  html:not(.live) .beat--hero .beat__still img { object-position: 69% 50%; }
}
.beat--air .say { left: var(--gut); top: 17vh; max-width: 6.9em; }

/* the light sections are a drawing sheet (--sheet is in site.css) */
.pus__title, .daas { isolation: isolate; }
.pus__over { margin-bottom: clamp(1rem, 2vw, 2.2rem); font-size: clamp(1.2rem, 2vw, 2.4rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.pus__way { display: block; margin-bottom: .6em; font-size: max(1.125rem, .46em); font-style: normal; line-height: 1.1; letter-spacing: -.02em; color: var(--yellow); }
@media (max-height: 500px) { .live .pus__step { padding-bottom: calc(1.1rem + var(--bar)); } }      /* a phone on its side: clear of the route */
.pus__title .giant { letter-spacing: -.035em; }      /* the letters stay apart */
.daas { position: relative; }
:is(.pus__title, .daas, .five__pin)::before { content: ""; position: absolute; inset: 0 0 0 -1px; z-index: -1; background: var(--sheet) 0 0 / 25% 22rem; pointer-events: none; }

/* 4. distribution as a service: one truck. Yellow is the part Iclass runs */
@media (min-width: 801px) { .daas .giant > span { white-space: nowrap; } }
@media (min-width: 801px) { .daas .giant > span { white-space: nowrap; } }
.daas--haul { padding-bottom: clamp(4rem, 8vw, 8rem); }
.daas--haul .daas__lead { max-width: 21em; margin: clamp(2.2rem, 4vw, 4rem) 0 0; text-wrap: balance; }
.daas--haul .for { margin-top: clamp(3rem, 5vw, 5rem); }
.haul { margin-inline: calc(-1 * var(--gut)); }
.haul__pin { position: relative; overflow: clip; }
.live .haul { height: 300vh; }
/* under the truck the sheet moves back as the page is scrolled, so that the truck drives. It moves a whole number of tiles: the lines meet */
.live .haul__pin { background: var(--paper); }
.haul__sheet { position: absolute; inset: 0 auto 0 -1px; width: 200%; background: var(--sheet) 0 0 / 12.5% 22rem; will-change: transform; }
html:not(.live) .haul__sheet { display: none; }
/* under the truck the sheet moves back as the page is scrolled, so that the truck drives. It moves a whole number of tiles: the lines meet */
.live .haul__pin { background: var(--paper); }
.haul__sheet { position: absolute; inset: 0 auto 0 -1px; width: 200%; background: var(--sheet) 0 0 / 12.5% 22rem; will-change: transform; }
html:not(.live) .haul__sheet { display: none; }
.live .haul__pin { position: sticky; top: 0; height: 100vh; }
.haul__yard { --w: min(93vw, 190svh); position: absolute; left: 50%; top: 17svh; width: var(--w); margin-left: calc(var(--w) / -2); will-change: transform; }
.haul__truck { position: relative; aspect-ratio: 1540 / 356; will-change: transform; }
.haul__truck--b { position: absolute; left: 0; right: 0; top: 108%; }
.haul__truck img { position: absolute; inset: 0; width: 100%; height: 100%; }
.haul__says { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(2.6rem + var(--bar)); }
.live .haul__says li { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; visibility: hidden; }
.haul__says a { display: grid; grid-template-columns: auto minmax(0, 26em); justify-content: space-between; align-items: baseline; gap: .4rem 2rem; }
.haul__says b { font-size: clamp(2rem, 5vw, 6rem); font-weight: 600; letter-spacing: -.042em; line-height: 1; }
.haul__says span { font-size: clamp(1.0625rem, 1.5vw, 1.8rem); font-weight: 500; line-height: 1.32; text-wrap: balance; }
@media (hover: hover) { .haul__says a:hover b { background: linear-gradient(var(--yellow), var(--yellow)) 0 96% / 100% .14em no-repeat; } }
/* what the two colours mean */
.haul__key { position: absolute; left: var(--gut); bottom: calc(2.6rem + var(--bar) + clamp(2rem, 5vw, 6rem) + 2.5rem); z-index: 1; display: flex; gap: .4rem 1.5rem; font-weight: 600; line-height: 1.3; }
.haul__key span::before { content: ""; display: inline-block; width: .82em; height: .82em; margin-right: .5em; vertical-align: -.06em; background: var(--ink); }
.haul__key span + span::before { background: var(--yellow); }
html:not(.live) .haul__key { display: none; }
/* standing still: the whole truck in yellow, then the four ways as a list */
html:not(.live) .haul__yard { position: relative; left: auto; top: auto; margin: 3rem auto; }
html:not(.live) .haul__truck--b { display: none; }
html:not(.live) .haul__says { position: static; display: grid; gap: 1.6rem; padding-inline: var(--gut); }

/* 5. Nigeria: a region lights up when the visitor points at it, or at its name */
.ng { background: var(--navy); color: var(--white); }
.ng__pin { position: relative; display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); overflow: clip; }
/* it scrolls by like any other section, and then holds for a moment while the map turns into the next one */
.live .ng__pin { position: sticky; top: var(--stick, 0px); }
.live .ng__hold { height: 85vh; height: 85svh; }
.ng__text { display: grid; align-content: center; padding-left: var(--gut); }
.figs { margin-top: clamp(1.8rem, 4vw, 4rem); }
.figs div { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 1.5rem; padding: .35rem 0; }
.figs dd { flex: none; width: 3.9em; font-size: clamp(2.3rem, 3.9vw, 4.3rem); font-weight: 800; font-stretch: 115%; letter-spacing: -.05em; line-height: 1.05; color: var(--yellow); }
.figs dt { max-width: 17em; }
.figs .tick dd { width: auto; min-width: 3.9em; white-space: nowrap; }      /* after some weeks it is in the millions */
.ng__name { font-size: 31px; font-weight: 700; letter-spacing: -.02em; text-anchor: middle; dominant-baseline: middle; fill: var(--navy); opacity: 0; pointer-events: none; }
.ng__name.is-on { opacity: 1; transition: opacity .2s .1s; }
.ng__note { margin-top: 1.6rem; font-size: .875rem; color: #b4bfce; }
/* the map is as large as the window's height, or its column, allows. The names stand in the corner that the country leaves free */
.ng__stage { --h: 100vh; position: relative; display: grid; align-items: center; justify-items: end; min-height: var(--h); padding-right: var(--gut); }
@supports (height: 100svh) { .ng__stage { --h: max(100svh, 34rem); } }
.ng__stage svg { position: relative; width: min(100%, var(--h) * 1.155); height: auto; overflow: visible; }
.ng__stage svg path { fill: rgb(255 255 255 / .05); stroke: rgb(255 255 255 / .42); stroke-width: 1.2; stroke-linejoin: round; cursor: pointer; transition: fill .3s; }
.ng__stage svg path.on { fill: var(--yellow); stroke: var(--navy); }
.ng__stage svg .ng__all { fill: var(--yellow); stroke: none; opacity: 0; pointer-events: none; transition: none; }
.ng__areas { position: absolute; z-index: 1; right: var(--gut); bottom: 2.6rem; display: flex; flex-direction: column; align-items: flex-end; transition: opacity .25s; }
.ng__areas button { padding: .25rem 0; font-weight: 600; font-size: .9375rem; line-height: 1.3; border-bottom: 2px solid transparent; opacity: .8; }
.ng__areas button:is(:hover, .is-on, [aria-pressed="true"]) { opacity: 1; border-color: var(--yellow); }
.ng__stage.is-flood { z-index: 1; pointer-events: none; }
.is-flood svg { z-index: 2; }
.is-flood .ng__areas { opacity: 0; }
/* without scripts there is no map to point at */
html:not([class]) .ng__pin { display: block; padding-bottom: 4.5rem; }
html:not([class]) .ng__text { padding: 4.5rem var(--gut) 0; }
html:not([class]) .ng__stage { display: none; }

/* 6. the map's yellow has become this section's ground */
.live .ng + .go { margin-top: -1px; padding-top: clamp(2rem, 4vw, 4rem); }

/* upright screens: the truck points up the screen, and the names stand under the map */
@media (max-width: 800px), (max-aspect-ratio: 1/1) {
  .live .beat--air .say { top: auto; bottom: calc(2.4rem + var(--bar) + env(safe-area-inset-bottom)); right: var(--gut); text-align: left; font-size: min(10.4vw, 6.4vh); max-width: 9em; }
  :is(.pus__title, .daas, .five__pin)::before { background-size: 50% 20rem; }
  .haul__sheet { inset: -100% 0 0 -1px; width: auto; background-size: 50% 25%; }
  :is(.pus__title, .daas)::before { background-size: 50% 20rem; }
  .haul__sheet { inset: -100% 0 0 -1px; width: auto; background-size: 50% 25%; }
  .haul__yard { --w: 60svh; left: 50%; top: calc(5svh + var(--w) / 2); margin-left: calc(var(--w) / -2); margin-top: calc(var(--w) * -.1156); }
  .live .haul__yard { rotate: -90deg; }
  .haul__says { bottom: calc(1.6rem + var(--bar) + env(safe-area-inset-bottom)); }
  .haul__says a { grid-template-columns: 1fr; }
  .haul__says b { font-size: min(9.4vw, 4rem); }
  html:not(.live) .haul__yard { --w: 92vw; margin: 2rem auto; }

  .haul__key { top: 13svh; bottom: auto; flex-direction: column; font-size: .9375rem; }

  .live .beat--air::before { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgb(4 20 31 / .95) 25%, rgb(4 20 31 / .82) 62%, rgb(4 20 31 / 0)); }       /* the aircraft is white, and so are the words */
  .live .ng + .go { margin-top: -42vh; }           /* it comes up over the yellow as soon as there is nothing else (FLOOD in js/home.js) */
  .ng__pin { display: block; }
  .ng__text { padding: clamp(4.5rem, 8vw, 8rem) var(--gut) 0; }
  .figs dd { width: 3.5em; }
  .figs .tick dd { min-width: 3.5em; }
  .ng__name { display: none; }      /* too small to read: the names below the map light up */
  .ng__stage { display: block; justify-items: normal; min-height: 0; padding: 2.6rem .6rem calc(1.8rem + var(--bar)); }
  .ng__stage svg { width: 100%; }
  .ng__areas { position: static; flex-flow: row wrap; align-items: baseline; gap: 0 1.1rem; margin-top: 1.1rem; padding: 0 calc(var(--gut) - .6rem); }
  .ng__areas button { padding: .55rem 0; }
}

/* the preloader, after Terminal Industries': pale ground, lines that draw themselves, and the hero through an opening that grows.
   Here the parcel rides in and becomes the logo's diamond, the rest of the logo comes out from behind it, and the opening is its chevron.
   js/loader.js adds .is-open. 1 unit of --n is 1 of the logo's drawing */
.load { display: none; }
.is-loading .load { --n: calc(clamp(12.5rem, 19vw, 23rem) / 806); position: fixed; inset: 0; z-index: 60; display: block; overflow: hidden; background: var(--paper); --logo-a: var(--ink); touch-action: none; }
.load__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgb(13 13 13 / .24); }
.load__lines path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; animation: load-draw 1.7s .1s cubic-bezier(.5,0,.15,1) both; }
.load__lines path:nth-child(even) { animation-delay: .25s; }
.load__lines--tall { display: none; }
@media (max-aspect-ratio: 4/5) { .load__lines { display: none; } .load__lines--tall { display: block; } .load__box { --from: -1000px; } }
.load__way { position: absolute; left: 0; top: calc(50% - .5px); width: 50%; height: 1px; background: rgb(13 13 13 / .24); animation: load-way 1s .05s cubic-bezier(.6,0,.2,1) both; }
.load__logo { position: absolute; left: 50%; top: 50%; width: calc(806 * var(--n)); height: calc(217 * var(--n)); translate: -50% -50%; overflow: visible; }
.load__a { fill: var(--logo-a); animation: load-out .5s .95s cubic-bezier(.2,.8,.2,1) both; }
.load__b { fill: var(--logo-b); animation: load-out .55s 1.05s cubic-bezier(.2,.8,.2,1) both; }
.load__all { animation: load-centre .8s 1.05s cubic-bezier(.65,0,.15,1) both; }
.load__box { animation: load-ride .9s .05s cubic-bezier(.3,0,.15,1) both, load-ink .3s 1s both; }
.load__word { animation: load-word .65s 1.25s cubic-bezier(.4,0,.1,1) both; }
@keyframes load-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes load-way { 0% { clip-path: inset(0 100% 0 0); } 60% { clip-path: inset(0); } 100% { clip-path: inset(0 0 0 100%); } }
@keyframes load-ride { from { transform: translateX(var(--from, -2250px)); } to { transform: none; } }      /* px here are the logo's units: from beyond the left edge */
@keyframes load-ink { from { fill: var(--yellow); } to { fill: var(--logo-a); } }
@keyframes load-out { from { transform: translateX(-100px); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes load-centre { from { transform: translateX(361.8px); } to { transform: none; } }      /* the diamond in the middle, then the whole logo */
@keyframes load-word { from { clip-path: inset(0 63% 0 37%); } to { clip-path: inset(0 0 0 37%); } }      /* the 37% is the mark, drawn apart */
/* a hole in the sheet, pointed like the logo's chevron and at its angle throughout: first a band over the logo, then past the edges of the window */
.load.is-open { animation: load-open 1.35s both; pointer-events: none; }
.load.is-open .load__logo { opacity: 0; transition: opacity .12s .34s; }
@keyframes load-open {
  0% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 0 0); animation-timing-function: cubic-bezier(.6,0,.2,1); }
  42% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 12% calc(50% - 6.5svh), calc(88% - 6.5svh) calc(50% - 6.5svh), 88% 50%, calc(88% - 6.5svh) calc(50% + 6.5svh), 12% calc(50% + 6.5svh), calc(12% + 6.5svh) 50%, 12% calc(50% - 6.5svh), 0 0); animation-timing-function: cubic-bezier(.7,0,.2,1); }
  100% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, -56svh -5svh, calc(100% + 1svh) -5svh, calc(100% + 56svh) 50%, calc(100% + 1svh) 105svh, -56svh 105svh, -1svh 50%, -56svh -5svh, 0 0); }
}

/* abroad: a low strip above the footer, the words on the left and the whole map on the right */
.abroad { position: relative; display: grid; align-items: center; height: clamp(18rem, 46svh, 32rem); overflow: clip; background: var(--navy); color: var(--white); }
.abroad .routes { position: absolute; right: 0; top: -7%; width: auto; height: 112%; aspect-ratio: 16 / 9; -webkit-mask: linear-gradient(90deg, transparent, #000 22%); mask: linear-gradient(90deg, transparent, #000 22%); }
.abroad .routes__way { stroke-width: 6; }
.abroad .routes__box { stroke: var(--white); stroke-width: 10; }
.abroad__text { position: relative; z-index: 1; padding: 0 var(--gut); }
.abroad__over { margin-bottom: .8rem; font-size: clamp(1.0625rem, 1.5vw, 1.8rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.abroad .title { max-width: 11.5em; margin-bottom: 1.6rem; font-size: clamp(1.8rem, min(3.1vw, 6.6svh), 4rem); }
.abroad .title span { white-space: nowrap; transition: color .5s; }
.abroad .title .is-on, html:not(.live) .abroad .title span { color: var(--yellow); }

/* what clients say: one at a time (js/voices.js) */
.voices { position: relative; isolation: isolate; padding: clamp(4rem, 6.6vw, 7rem) var(--gut) clamp(3.6rem, 6vw, 6.4rem); background: var(--paper); }
.voices::before { content: ""; position: absolute; inset: 0 0 0 -1px; z-index: -1; background: var(--sheet) 0 0 / 25% 22rem; pointer-events: none; }
.voices__h { font-size: clamp(1.0625rem, 1.5vw, 1.8rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.voices__list { display: grid; margin-top: clamp(1.6rem, 3vw, 3.2rem); }
.voices blockquote { margin: 0; }
.voices blockquote p { max-width: 19.5em; font-size: clamp(1.9rem, min(4.5vw, 8.6svh), 5.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -.042em; text-wrap: pretty; }
.voices blockquote.is-long p { max-width: 26em; font-size: clamp(1.5rem, min(3.3vw, 6.4svh), 4.2rem); line-height: 1.1; letter-spacing: -.036em; text-wrap: balance; }
.voices blockquote p span { white-space: nowrap; }      /* no break at a hyphen */
.voices blockquote footer { margin-top: clamp(1.8rem, 2.8vw, 3rem); font-size: clamp(1rem, 1.25vw, 1.4rem); color: #55554f; }
.voices blockquote b { display: block; font-weight: 600; color: var(--ink); }
.voices:not(.is-one) blockquote + blockquote { margin-top: 3.4rem; }
.voices:not(.is-one) .voices__turn, .voices:not(:has(blockquote + blockquote)) .voices__turn { display: none; }      /* with one testimonial there is nothing to turn to */
.is-one blockquote { grid-area: 1 / 1; visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.is-one .is-on { visibility: visible; }
.live .is-one .is-on footer { animation: voice-in .7s .35s both; }
.live .is-one .is-on p span { animation: voice-ink .55s calc(var(--i) * 38ms) both; }
.live .is-waiting.is-one .is-on :is(footer, p span) { animation-play-state: paused; }
@keyframes voice-in { from { opacity: 0; } }
@keyframes voice-ink { from { color: #c9c7bf; } to { color: var(--ink); } }
.voices__turn { position: absolute; right: var(--gut); bottom: clamp(3.6rem, 6vw, 6.4rem); display: flex; align-items: center; gap: .5rem; }
.voices__turn span { margin-right: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.voices__turn button { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; background: var(--ink); color: var(--white); transition: background .25s, color .25s; }
.voices__turn button:hover { background: var(--yellow); color: var(--ink); }
.voices__turn svg { width: .75rem; fill: none; stroke: currentColor; stroke-width: 2.4; }
@media (max-width: 800px), (max-aspect-ratio: 1/1) {
  .abroad { display: flex; flex-direction: column; align-items: stretch; height: auto; padding-bottom: 2.6rem; }
  .abroad .routes { position: static; width: 112%; height: auto; margin: -2% 0 .4rem -8%; -webkit-mask: none; mask: none; }
  .abroad .title { font-size: min(8.4vw, 3.4rem); margin-bottom: 1.3rem; }
  .voices::before { background-size: 50% 20rem; }
  .voices:has(blockquote + blockquote) { padding-bottom: 8.4rem; }
  .voices blockquote p { font-size: min(8.4vw, 5rem); }
  .voices blockquote.is-long p { font-size: min(6.6vw, 3.6rem); }
  .voices__turn { bottom: 3rem; left: var(--gut); right: auto; }
  .voices__turn span { order: 3; margin: 0 0 0 .7rem; }
}
