/* Home page services showcase: consultancy journey, index ribbon and service tiles. */
.hero-news { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding-block: 6px; padding-inline: 6px 16px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 650; transition: transform .2s, box-shadow .2s; }
.hero-news b { padding: 3px 10px; color: var(--white); background: var(--navy); border-radius: 999px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hero-news i { font-style: normal; color: var(--teal); transition: transform .2s; }
.hero-news:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero-news:hover i { transform: translateX(3px); }
[dir="rtl"] .hero-news i { transform: scaleX(-1); }
[dir="rtl"] .hero-news:hover i { transform: scaleX(-1) translateX(3px); }

.services-showcase { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 90px; color: var(--ivory); background: radial-gradient(circle at 88% 0%, rgba(110, 192, 236, .24), transparent 45%), radial-gradient(circle at 0% 100%, rgba(63, 106, 178, .4), transparent 55%), var(--navy); }
.services-showcase::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.services-showcase::after { content: ""; position: absolute; z-index: -1; width: 640px; aspect-ratio: 1; inset-inline-end: -200px; top: -240px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255, 255, 255, .025), 0 0 0 180px rgba(255, 255, 255, .015); }
.services-showcase .eyebrow { color: var(--gold-light); }

.showcase-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 80px; align-items: end; }
.showcase-head h2 { font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.04; }
.showcase-head h2 em { color: var(--gold-light); }
.showcase-head .lead { margin: 0 0 30px; color: rgba(255, 255, 255, .72); }
.showcase-head .text-link { color: var(--ivory); }

.showcase-journey { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: start; margin-top: 85px; }
.journey-start, .journey-goal { padding: 14px 22px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 13px; white-space: nowrap; }
.journey-start span, .journey-goal span { display: block; color: var(--gold-light); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.journey-goal { color: var(--navy); background: var(--ivory); border-color: transparent; animation: journey-goal 2.8s ease-out infinite; }
.journey-goal span { color: var(--teal); }
.journey-track { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.journey-track::before, .journey-track::after { content: ""; position: absolute; inset-inline: 4%; top: 22px; height: 2px; }
.journey-track::before { background: rgba(255, 255, 255, .14); }
.journey-track::after { background: linear-gradient(90deg, var(--gold-light), var(--white)); transform-origin: left; transition: transform 2.4s cubic-bezier(.65, 0, .35, 1); }
[dir="rtl"] .journey-track::after { background: linear-gradient(270deg, var(--gold-light), var(--white)); transform-origin: right; }
.journey-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 6px; text-align: center; transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * .28s); }
.journey-track b { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); background: var(--gold-light); border: 1px solid transparent; border-radius: 50%; font: 400 14px var(--serif); transition: background .35s, color .35s, border-color .35s, transform .25s; transition-delay: inherit; }
.journey-track span { color: rgba(255, 255, 255, .86); font-size: 12px; line-height: 1.35; }
.journey-track li:hover b { transform: scale(1.14); transition-delay: 0s; }

/* The script arms the journey only when it can also reveal it; without it everything stays visible. */
.is-armed:not(.is-in) .journey-track::after { transform: scaleX(0); }
.is-armed:not(.is-in) .journey-track li { opacity: 0; transform: translateY(14px); }
.is-armed:not(.is-in) .journey-track b { color: var(--gold-light); background: var(--navy); border-color: rgba(255, 255, 255, .35); }

.showcase-ribbon-label { margin: 85px 0 0; color: rgba(255, 255, 255, .5); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.showcase-ribbon { margin-top: 16px; padding: 20px 0; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .12); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.showcase-ribbon-track { display: flex; width: max-content; animation: showcase-ribbon 40s linear infinite; }
.showcase-ribbon:hover .showcase-ribbon-track { animation-play-state: paused; }
.showcase-ribbon-track span { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; color: rgba(255, 255, 255, .84); font: 400 clamp(1.35rem, 2.3vw, 2.05rem) var(--serif); white-space: nowrap; }
.showcase-ribbon-track span::after { content: "✦"; color: var(--gold-light); font-size: .55em; }
[dir="rtl"] .showcase-ribbon-track { animation-name: showcase-ribbon-rtl; }

.showcase-offers { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); gap: 1px; margin-top: 70px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
.showcase-offers > * { min-height: 190px; padding: 26px; background: rgba(15, 38, 92, .94); }
.showcase-offers-intro h3 { margin: 0 0 18px; font-size: 1.6rem; line-height: 1.15; }
.showcase-offers-intro .text-link { color: var(--gold-light); font-size: 13px; }
.showcase-offer { display: flex; flex-direction: column; transition: background .25s, color .25s; }
.showcase-offer small { color: var(--gold-light); font: 400 14px var(--serif); }
.showcase-offer strong { margin-top: auto; font-size: 15px; font-weight: 700; line-height: 1.3; }
.showcase-offer em { margin-top: 6px; color: rgba(255, 255, 255, .55); font-size: 11px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.showcase-offer:hover { color: var(--navy); background: var(--ivory); }
.showcase-offer:hover small, .showcase-offer:hover em { color: var(--teal); }
.showcase-note { max-width: 720px; margin: 26px 0 0; color: rgba(255, 255, 255, .5); font-size: 12px; }

@keyframes journey-goal { 0% { box-shadow: 0 0 0 0 rgba(110, 192, 236, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(110, 192, 236, 0); } }
@keyframes showcase-ribbon { to { transform: translateX(-50%); } }
@keyframes showcase-ribbon-rtl { to { transform: translateX(50%); } }

@media (max-width: 1100px) {
    .showcase-head { grid-template-columns: 1fr; gap: 30px; }
    .showcase-journey { grid-template-columns: 1fr; justify-items: start; gap: 22px; margin-top: 60px; }
    .journey-track { grid-template-columns: 1fr; gap: 18px; width: 100%; }
    .journey-track::before, .journey-track::after, [dir="rtl"] .journey-track::after { inset-inline: 21px auto; top: 4px; bottom: 4px; width: 2px; height: auto; background: rgba(255, 255, 255, .14); }
    .journey-track::after, [dir="rtl"] .journey-track::after { background: linear-gradient(180deg, var(--gold-light), var(--white)); transform-origin: top; }
    .is-armed:not(.is-in) .journey-track::after { transform: scaleY(0); }
    .journey-track li { flex-direction: row; padding: 0; text-align: start; }
    .journey-track span { font-size: 14px; }
    .showcase-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase-offers-intro { grid-column: 1 / -1; min-height: auto; }
}

@media (max-width: 600px) {
    .services-showcase { padding: 80px 0 60px; }
    .showcase-offers { grid-template-columns: 1fr; }
    .showcase-offers > * { min-height: auto; }
    .showcase-offer strong { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-ribbon-track, .journey-goal { animation: none; }
    .journey-track li, .journey-track b, .journey-track::after { transition: none; }
}
