/* In figures: three tiles rise from left to right like the bars of the logo,
   and its red arrow draws itself across them. Counters in motion.js. */
.figs { padding-top: clamp(80px, 9vw, 130px); }
.rise { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; aspect-ratio: 2.1 / 1; }
.rise__head { position: absolute; left: 0; top: 0; z-index: 2; font: clamp(36px, 4vw, 54px)/1.12 var(--serif); color: var(--navy); }
.rise__bar {
  --cut: clamp(20px, 2.4vw, 40px);
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: clamp(16px, 1.8vw, 26px); color: #fff;
  clip-path: polygon(0 var(--cut), var(--cut) 0, 100% 0, 100% 100%, 0 100%);
}
.rise__bar--1 { height: 34%; background: #2a4269; }
.rise__bar--2 { height: 58%; background: var(--navy); }
.rise__bar--3 { height: 84%; background: var(--bold-blue, #2F4FA8); clip-path: polygon(0 33%, 100% 0, 100% 100%, 0 100%); }
.rise .rise__fig { font: clamp(48px, 6vw, 92px)/.9 var(--serif); color: #fff; letter-spacing: -1.5px; }
.rise .rise__bar--1 .rise__fig { font-size: clamp(36px, 4vw, 58px); }
.rise .rise__cap { font-size: 16px; font-weight: 500; line-height: 1.35; max-width: 24ch; color: rgb(255 255 255 / .9); }
.rise__arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.rise__arrow path { fill: none; stroke: var(--bold-red, #D7263D); stroke-width: 13; stroke-linejoin: miter; }
.rise__arrow--tall path { stroke-width: 30; }
.rise__tip { fill: var(--bold-red, #D7263D); }
.rise__arrow--tall { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js-motion [data-rise] .rise__bar { transform: scaleY(0); transform-origin: bottom; transition: transform 1000ms cubic-bezier(.19, 1, .22, 1); }
  .js-motion [data-rise] .rise__bar--2 { transition-delay: 120ms; }
  .js-motion [data-rise] .rise__bar--3 { transition-delay: 240ms; }
  .js-motion [data-rise].is-in .rise__bar { transform: none; }
  .js-motion [data-rise] .rise__arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1100ms cubic-bezier(.65, 0, .35, 1) 650ms; }
  .js-motion [data-rise].is-in .rise__arrow path { stroke-dashoffset: 0; }
  .js-motion [data-rise] .rise__tip { opacity: 0; transition: opacity 250ms ease 1700ms; }
  .js-motion [data-rise].is-in .rise__tip { opacity: 1; }
}
@media (max-width: 1000px) { .rise { aspect-ratio: 1.5 / 1; } .rise .rise__fig, .rise .rise__bar--1 .rise__fig { font-size: 44px; } }
@media (max-width: 700px) {
  .rise { aspect-ratio: .95 / 1; gap: 6px; margin-top: 56px; }
  .rise__head { top: -56px; }
  .rise__arrow--wide { display: none; }
  .rise__arrow--tall { display: block; }
  .rise .rise__fig, .rise .rise__bar--1 .rise__fig { font-size: 28px; }
  .rise .rise__cap { font-size: 13px; }
  .rise__bar { padding: 11px; gap: 6px; }
}
