/* Rising rounded bars, adapted from the supplied Young Leaders brandbook. */
.brand-steps{display:flex;align-items:flex-end;gap:8px;flex-shrink:0}
.brand-steps>i{display:block;flex:1;min-width:0;border-radius:999px;background:var(--step-color);transform-origin:center bottom}
.brand-steps>i:nth-child(1){--step:0;height:22%;--step-color:#d2dcff}
.brand-steps>i:nth-child(2){--step:1;height:37%;--step-color:#b9caff}
.brand-steps>i:nth-child(3){--step:2;height:52%;--step-color:#9db4ff}
.brand-steps>i:nth-child(4){--step:3;height:67%;--step-color:#6f8dff}
.brand-steps>i:nth-child(5){--step:4;height:82%;--step-color:#2f5bff}
.brand-steps>i:nth-child(6){--step:5;height:97%;--step-color:#9db4ff}
.hero-brand-art{position:absolute;top:52px;right:8%;width:clamp(190px,22vw,320px);height:clamp(190px,23vw,320px);z-index:0;opacity:.38;pointer-events:none;transform:translate3d(var(--brand-x,0),var(--brand-y,0),0);transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.brand-steps-hero{width:100%;height:100%;gap:clamp(8px,1vw,15px)}
.brand-steps-hero>i{animation:brand-rise-in .95s cubic-bezier(.2,.7,.2,1) calc(var(--step) * 75ms) both}
.brand-steps-small{width:49px;height:31px;gap:3px}
.brand-steps-small>i:nth-child(6){--step-color:#14214d}
.footer-heading{display:flex;align-items:center;justify-content:space-between;gap:48px;margin-top:24px;padding-bottom:43px;border-bottom:1px solid #ffffff1c}
.footer-heading .footer-title{flex:1;margin:0;padding:0;border:0}
.brand-steps-footer{width:200px;height:138px;gap:10px;align-self:flex-end}
.brand-steps-footer>i{opacity:.8}
.js-motion .brand-steps-footer.is-visible>i{animation:brand-rise-in .8s cubic-bezier(.2,.7,.2,1) calc(var(--step) * 65ms) both}

/* The quote indicator is also a direct author selector. */
.quote-progress{display:flex;gap:0;align-items:flex-end}
.quote-progress button{display:flex;align-items:flex-end;justify-content:center;width:29px;height:44px;padding:5px 0;border-radius:8px}
.quote-progress button>span{display:block;width:7px;height:calc(12px + var(--quote-step) * 9px);border-radius:999px;background:#d7e0fb;transform-origin:bottom;transition:background .2s,transform .2s}
.quote-progress button:nth-child(1){--quote-step:0}
.quote-progress button:nth-child(2){--quote-step:1}
.quote-progress button:nth-child(3){--quote-step:2}
.quote-progress button[aria-pressed=true]>span{background:var(--blue)}
.quote-progress button:hover>span,.quote-progress button:focus-visible>span{background:var(--blue);transform:scaleY(1.12)}
.quote-progress button:focus-visible{outline-offset:0}

/* Existing date tabs echo the same rising silhouette. */
.day-tab-dot{top:auto;bottom:23px;width:6px;height:var(--day-rise,12px);border-radius:999px;background:#e0e6f3;transform-origin:bottom;transition:background .2s,transform .25s}
.day-tabs button:nth-child(1){--day-rise:12px}
.day-tabs button:nth-child(2){--day-rise:16px}
.day-tabs button:nth-child(3){--day-rise:20px}
.day-tabs button:nth-child(4){--day-rise:24px}
.day-tabs button:nth-child(5){--day-rise:28px}
.day-tabs button[aria-selected=true] .day-tab-dot{background:var(--blue)}
.day-tabs button:hover .day-tab-dot,.day-tabs button:focus-visible .day-tab-dot{background:#9db4ff;transform:scaleY(1.15)}
.brand-mark rect{transform-box:fill-box;transform-origin:center bottom}
.brand:hover .brand-mark rect,.brand:focus-visible .brand-mark rect{animation:brand-logo-rise .55s ease both}
.brand:hover .brand-mark rect:nth-child(2),.brand:focus-visible .brand-mark rect:nth-child(2){animation-delay:65ms}
.brand:hover .brand-mark rect:nth-child(3),.brand:focus-visible .brand-mark rect:nth-child(3){animation-delay:130ms}

/* Gentle emphasis on surfaces; content remains stationary inside the cards. */
@media(hover:hover) and (pointer:fine){
  .country-card{transition:background .25s,border-color .25s,box-shadow .25s}
  .country-card:hover{background:#fff;border-color:#b6c7fc;box-shadow:0 10px 30px #2f5bff0c}
  .country-card-host:hover{background:#e8eeff}
  .country-flag{transition:transform .3s}
  .country-card:hover .country-flag{transform:translateY(-3px)}
  .news-card:hover .news-image-arrow{background:var(--blue);color:#fff}
  .news-image-arrow{transition:background .2s,color .2s}
}
@keyframes brand-rise-in{from{opacity:0;transform:scaleY(.18) translateY(8px)}to{opacity:1;transform:scaleY(1) translateY(0)}}
@keyframes brand-logo-rise{0%{transform:scaleY(1)}35%{transform:scaleY(.65)}100%{transform:scaleY(1)}}
@media(max-width:1024px){.hero-brand-art{right:6%;top:40px;width:210px;height:220px}.brand-steps-footer{width:160px;height:115px;gap:8px}.footer-heading{gap:30px}}
@media(max-width:767px){.hero-brand-art{display:none}.brand-steps-small{width:43px;height:28px}.footer-heading{gap:22px;padding-bottom:28px}.brand-steps-footer{width:90px;height:86px;gap:5px}.footer-heading .footer-title{font-size:32px;letter-spacing:-1px}.day-tab-dot{right:12px;bottom:19px;width:5px}.quote-progress button{width:27px}}
@media(max-width:374px){.brand-steps-footer{width:72px;height:74px;gap:4px}.footer-heading{gap:16px}.footer-heading .footer-title{font-size:29px}}
@media(prefers-reduced-motion:reduce){.hero-brand-art{transform:none}.country-card:hover .country-flag,.quote-progress button:hover>span,.quote-progress button:focus-visible>span,.day-tabs button:hover .day-tab-dot,.day-tabs button:focus-visible .day-tab-dot{transform:none}.brand-steps>i{opacity:1}}
@media print{.hero-brand-art,.brand-steps{display:none!important}}
