/* =====================================================================
   Global Collect homepage: page-specific styles (single stylesheet)
   ---------------------------------------------------------------------
   Load ONCE, after the AEM clientlibs (base hero / accordion / buttons).
   Merged from: hero-home.css, travel-digital.css, travel-digital-line.css,
   technological-power.css, trajectory.css, logo-scroll.css
   + inline <style> blocks from the button-group and image embeds.

   Breakpoints (keep in sync with the JS files):
     Desktop  >= 1016px
     Tablet    678px – 1015px   (max-width: 1015px)
     Mobile   <= 677.98px       (max-width: 677.98px)
     Travel line visible >= 1220px

   Contents
     1. Hero
     2. Button group + team images (moved from inline <style>)
     3. Travel & Digital
     4. Technological power
     5. Trajectory
     6. Logo carousel
   ===================================================================== */


/* =====================================================================
   1. HERO  (.hero-home)
   Desktop height is 810px. Both art layers are 3449 × 810 and share a
   centre; hero-home.js inserts the SVG line between them via z-index.
   ===================================================================== */
   .heroimage.hero-home { width: 100%; max-width: none; }

   .hero-home .cmp-hero-image__wrapper.image-background {
     --hero-art-scale: 1;
     box-sizing: border-box; position: relative; isolation: isolate;
     display: block; width: 100%; height: 810px; min-height: 810px;
     padding: 0; overflow: hidden;
     background: linear-gradient(0deg, rgba(133,189,230,1) 0%, rgba(75,163,224,1) 13%, rgba(0,116,187,1) 40%, rgba(3,68,142,1) 79%);
   }
   
   .hero-home .hero-home__art {
     position: absolute; bottom: var(--hero-art-bottom, 0px); left: var(--hero-art-center, 50%);
     width: 3449px; height: 810px; max-width: none;
     transform: translateX(-50%) scale(var(--hero-art-scale));
     transform-origin: bottom center; pointer-events: none;
     background-size: 3449px 810px; background-repeat: no-repeat;
   }
   .hero-home .hero-home__art--back  { z-index: 0; background-image: none; }
   .hero-home .hero-home__line       { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; pointer-events: none; }
   .hero-home .hero-home__line path  { fill: none; stroke: #FEB850; stroke-width: 6px; stroke-linecap: square; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
   .hero-home .hero-home__art--front { z-index: 2; background-image: none; }
   
   /* Desktop + tablet artwork: kept inside this media query so mobile does not download it. */
   @media (min-width: 678px) {
     .hero-home .hero-home__art--back  { background-image: url("/content/dam/global-collect/homepage/new-assets/hero_right.png"); }
     .hero-home .hero-home__art--front { background-image: url("/content/dam/global-collect/homepage/new-assets/hero_left.png"); }
   }
   
   /* Figma: 693px text block, 48/56px heading, 24px CTA gap. */
   .hero-home .cmp-hero-image__wrapper.image-background .cmp-hero-image__text {
     position: relative; z-index: 3; box-sizing: border-box;
     width: min(693px, calc(100% - 48px)); max-width: 693px;
     margin: 0; padding: 170px 0 0;
     margin-left: max(24px, calc((100% - 1224px) / 2));
     display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
     text-align: left; color: #fff;
   }
   .hero-home .cmp-hero-image__heading {
     margin: 0; color: #fff; font-family: "Plus Jakarta Sans", sans-serif;
     font-size: 48px; line-height: 56px; font-weight: 500; letter-spacing: 0;
     width: 100%; text-wrap: initial;
   }
   .hero-home .cmp-hero-image__cta.button {
     margin: 0; background: #081c33; color: #fff; border: 1px solid #081c33;
     font-size: 16px; line-height: 24px; padding: 8px 16px; min-height: 44px;
   }
   .hero-home .cmp-hero-image__cta.button:hover { background: #193c61; border-color: #193c61; }
   .hero-home .cmp-hero-image__cta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
   
   /* Tablet */
   @media (max-width: 1015px) {
     .hero-home .cmp-hero-image__wrapper.image-background {
       height: 552px; min-height: 552px;
       --hero-art-scale: .7061728395;
       --hero-art-center: calc(100% - 440px);
       --hero-art-bottom: -70px;
     }
     .hero-home .cmp-hero-image__wrapper.image-background .cmp-hero-image__text {
       width: min(385px, calc(100% - 32px)); margin-left: 16px; padding-top: 112px;
     }
     .hero-home .cmp-hero-image__heading { font-size: 32px; line-height: 36px; }
     .hero-home .hero-home__line path { stroke-width: 4px; }
   }
   
   /* Mobile */
   @media (max-width: 677.98px) {
     .hero-home .cmp-hero-image__wrapper.image-background {
       height: auto; min-height: 600px;
       aspect-ratio: 25 / 37;
       --hero-art-scale: .7283950617;
       --hero-art-center: calc(100% - 235px);
       --hero-art-bottom: -50px;
     }
     .hero-home .cmp-hero-image__wrapper.image-background .cmp-hero-image__text {
       width: min(211px, calc(100% - 32px)); margin-left: 16px; padding-top: 84px; gap: 16px;
     }
     /* No back image on mobile; only the mobile artwork is requested. */
     .hero-home .hero-home__art--back { display: none; background-image: none; }
     .hero-home .hero-home__art--front {
       background: url("/content/dam/global-collect/homepage/new-assets/hero-mobile.png") no-repeat top right;
       background-size: cover;
       top: 0; right: 0; bottom: 0; left: 0;
       width: 100%; height: 100%;
       transform: none;
     }
     /* Hero line hidden on mobile */
     .hero-home .hero-home__line { display: none !important; }
   }
   
   @media (prefers-reduced-motion: reduce) {
     .hero-home * { transition: none !important; }
   }
   @media (forced-colors: active) {
     .hero-home .hero-home__line { display: none !important; }
     .hero-home .cmp-hero-image__cta.button { border-color: ButtonText; }
   }
   
   
   /* =====================================================================
      2. BUTTON GROUP + TEAM IMAGES
      Moved from the inline <style> blocks in the embed components.
      Delete those inline <style> blocks once this file is live.
      ===================================================================== */
   .button-group {
     display: flex; justify-content: center; align-items: center;
     gap: 30px; flex-wrap: wrap;
   }
   
   .hero-home__image { max-width: 1440px; margin: 0 auto; }
   .hero-home__image img { display: block; width: 100%; height: auto; }
   
   .human-partnership__image { max-width: 1100px; margin: 0 auto; }
   .human-partnership__image img { display: block; width: 100%; height: auto; }
   
   @media (max-width: 600px) {
     .button-group { flex-direction: column; }
   }
   
   
   /* =====================================================================
      3. TRAVEL & DIGITAL  (.travel-digital)
      Figma 1440px canvas. Grid: 18 columns, 24px padding, 32px gap,
      38 × 38 symbol. Horizontal repeat (1392 + 32) / 18 = 79.111111px;
      vertical repeat 38 + 32 = 70px. Pattern is anchored to the design centre.
      ===================================================================== */
   .travel-digital {
     --pattern-x: calc(50% - 656.444444px);
     position: relative; isolation: isolate;          /* for the decorative line */
     box-sizing: border-box; width: 100%; max-width: none;
     color: #fff; background-color: #081c33;
     background-image: linear-gradient(#081c33, #081c33), url("/content/dam/global-collect/homepage/new-assets/travel-digital-pattern.svg");
     background-size: 100% 36px, 79.111111px 70px;     /* keep repeat size + 36px origin */
     background-position: left top, var(--pattern-x) 36px;
     background-repeat: no-repeat, repeat;
     padding: 102px 24px 100px;
   }
   .travel-digital__inner { position: relative; z-index: 1; max-width: 1224px; margin-inline: auto; }
   
   /* Title (24 + 48) + 24px gap + 64px text; minimum frame height 182px. */
   .travel-digital__intro {
     box-sizing: border-box; max-width: 909px; min-height: 182px;
     margin: 0 auto 102px; text-align: center; background: #081c33;
   }
   .travel-digital .travel-digital__eyebrow {
     color: #fff; font-size: 16px; line-height: 24px; font-weight: 500; margin: 0;
   }
   .travel-digital #industry-heading {
     color: #fff; font-size: 40px; line-height: 48px; font-weight: 500; margin: 0 0 24px;
   }
   .travel-digital .travel-digital__claim {
     color: #fff; font-size: 24px; line-height: 32px; font-weight: 500;
     max-width: 800px; margin: 0 auto;
   }
   
   .travel-digital .industry-group { width: 100%; max-width: 1224px; margin-inline: auto; }
   .travel-digital .industry-group + .industry-group { margin-top: 32px; }
   /* Headings at y=386 and y=946: centred on pattern rows (405 and 965). */
   .travel-digital .industry-group__heading {
     box-sizing: border-box; display: flex; align-items: center;
     color: #fff; background: #081c33; font-size: 32px; line-height: 36px;
     font-weight: 500; width: fit-content; min-width: 117px; max-width: 100%;
     min-height: 38px; margin: 0 0 32px;
   }
   
   .travel-digital .accordion { float: none; width: 100%; }
   .travel-digital .industry-group .accordion-gc {
     width: 100%; max-width: 100%; margin-inline: auto; background: #081c33;
   }
   
   /* Visible inset focus indicator, without clipping. */
   .travel-digital .accordion-gc__item:has(.accordion-gc__trigger:focus-visible) { outline: none; box-shadow: inset 0 0 0 3px #fff; }
   .travel-digital .accordion-gc__trigger:focus-visible { outline: 3px solid #fff; outline-offset: -5px; border-radius: 16px; }
   .travel-digital a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
   
   /* Decorative line (travel-digital-line-v2.js): no layout impact, no clicks. */
   .travel-digital__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 0; }
   .travel-digital__line-path { fill: none; stroke: #FEB850; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
   
   /* Line only shown at >= 1220px (visible at exactly 1220px). Same gate as the JS.
      !important stops inline styles from the script showing it again. */
   @media (max-width: 1219.98px) {
     .travel-digital__line { display: none !important; }
   }
   
   @media (max-width: 1114px) {
     .travel-digital { --pattern-x: 24px; }
   }
   
   /* Desktop only: accordion height */
   @media (min-width: 1016px) {
     .travel-digital .accordion-gc__list { height: 45.8rem; }
   }
   
   /* Tablet + mobile: typography and spacing */
   @media (max-width: 1015px) {
     .travel-digital__intro { min-height: 0; max-width: 600px; margin-bottom: 102px; }
     .travel-digital #industry-heading { font-size: 24px; line-height: 32px; }
     .travel-digital .travel-digital__claim { font-size: 16px; line-height: 24px; }
     .travel-digital .industry-group__heading { font-size: 20px; line-height: 24px; min-height: 24px; margin-bottom: 24px; }
     .travel-digital .accordion-gc__list { gap: 24px; }
     .travel-digital .accordion-gc__item { min-width: 0; }
   }
   
   /* Tablet only: horizontal accordion keeps a fixed height */
   @media (min-width: 678px) and (max-width: 1015px) {
     .travel-digital .accordion-gc__list { height: 416px; }
   }
   
   /* Mobile: all six cards stacked and visible */
   @media (max-width: 677.98px) {
     .travel-digital {
        padding: 80px 16px 70px;
        background-image: none;   /* no pattern on mobile, only the background color */
     }
     .travel-digital__intro { margin-bottom: 70px; }
     .travel-digital .industry-group__heading { margin-bottom: 16px; }
   
     .travel-digital .accordion-gc__list {
       flex-direction: column;
       /* !important: overrides a base accordion height rule (source still to be
          identified in DevTools). Removing it brings back the mobile overlap. */
       height: auto !important;
       max-height: none !important;   /* TODO: test without !important */
       gap: 16px;
       overflow: visible;
     }
     .travel-digital .accordion-gc__item,
     .travel-digital .accordion-gc__item.is-expanded { flex: 0 0 auto; min-height: 350px; }
     .travel-digital .accordion-gc__body { padding: 0 24px 24px; }
     .travel-digital .accordion-gc__icon { background: #fff; }
     .travel-digital .accordion-gc__view-icon,
     .travel-digital .accordion-gc__trigger { display: none; }
     .travel-digital .accordion-gc__title { font-size: 24px; line-height: 32px; margin-bottom: 8px; }
     .travel-digital .accordion-gc__description { display: block; }
     .travel-digital .accordion-gc__cta { display: inline-flex; min-height: 44px; }
   }
   
   @media (prefers-reduced-motion: reduce) {
     .travel-digital *, .travel-digital *::before, .travel-digital *::after {
       transition: none !important; animation: none !important; scroll-behavior: auto !important;
     }
   }
   
   /* Line hidden in high-contrast mode and for users who reduce motion */
   @media (forced-colors: active), (prefers-reduced-motion: reduce) {
     .travel-digital__line { display: none !important; }
   }
   
   
   /* =====================================================================
      4. TECHNOLOGICAL POWER  (.technological-power)
      Keep the SVG inline. Animation delays are baked into the SVG; keep the
      250ms dot reveal in sync with the SVG timeline.
      Static by default (no JS = fully visible map).
      ===================================================================== */
   .technological-power {
     scroll-margin-top: 84px; width: 100%; max-width: none; overflow: hidden;
     color: #fff; background: linear-gradient(180deg, #081c33 0%, #061622 55%, #000 100%);
     padding: 64px 0 0;
   }
   .technological-power__intro   { width: calc(100% - 48px); max-width: 800px; margin: 0 auto; text-align: center; }
   .technological-power__eyebrow { font-size: 16px; line-height: 24px; margin: 0; }
   .technological-power h2       { font-size: 40px; line-height: 48px; font-weight: 500; color: #fff; margin: 0 0 24px; }
   .technological-power__claim   { font-size: 24px; line-height: 32px; margin: 0; }
   
   .technological-power__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
   .technological-power__actions a {
     display: inline-flex; align-items: center; justify-content: center; gap: 16px;
     min-height: 44px; padding: 8px 20px; border: 1px solid #fff; border-radius: 32px;
     color: #fff; font-size: 16px; line-height: 24px; text-decoration: none;
   }
   .technological-power__actions .technological-power__primary { background: #feb850; border-color: #feb850; color: #081c33; }
   .technological-power__actions a:hover { text-decoration: underline; }
   .technological-power__actions a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
   
   .technological-power__map { width: 100%; max-width: 1440px; margin: 0 auto; }
   .tech-map       { width: 100%; height: auto; display: block; overflow: visible; fill: #feb850; }
   .tech-map__line { fill: none; stroke: #feb850; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
   
   /* Animation states (set by technological-power.js) */
   .technological-power.is-pending .tech-map__dot  { opacity: 0; }
   .technological-power.is-pending .tech-map__line { opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; }
   .technological-power.is-playing .tech-map__dot {
     animation: tech-map-reveal .25s ease-out var(--delay) both;
     transform-box: fill-box; transform-origin: center;
   }
   .technological-power.is-playing .tech-map__line {
     stroke-dasharray: 1;
     animation: tech-map-draw var(--duration) linear var(--delay) both;
   }
   @keyframes tech-map-reveal {
     from { opacity: 0; transform: scale(0); }
     to   { opacity: 1; transform: scale(1); }
   }
   /* Hides round-cap dots before each stroke starts. */
   @keyframes tech-map-draw {
     0%   { opacity: 0; stroke-dashoffset: 1; }
     .1%  { opacity: 1; }
     100% { opacity: 1; stroke-dashoffset: 0; }
   }
   
   /* Tablet */
   @media (max-width: 1015px) {
     .technological-power        { padding-top: 48px; }
     .technological-power h2     { font-size: 24px; line-height: 32px; }
     .technological-power__claim { font-size: 20px; line-height: 28px; }
     .technological-power__intro { max-width: 680px; }
   }
   
   /* Mobile */
   @media (max-width: 677.98px) {
     .technological-power          { padding-top: 40px; }
     .technological-power__intro   { width: calc(100% - 32px); }
     .technological-power__claim   { font-size: 16px; line-height: 24px; }
     .technological-power__actions { flex-direction: column; align-items: center; }
     .technological-power__primary { order: -1; }
     .technological-power__map     { margin-top: 24px; }
   }
   
   @media (prefers-reduced-motion: reduce) {
     .technological-power .tech-map__dot  { animation: none !important; opacity: 1 !important; transform: none !important; }
     .technological-power .tech-map__line { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
   }
   @media (forced-colors: active) {
     .technological-power__map { display: none; }
     .technological-power__actions a { border-color: LinkText; }
   }
   
   
   /* =====================================================================
      5. TRAJECTORY  (.trajectory)
      Figma 9414-7916: 1440 × 588, yellow stop at 53.06%, then white.
      ===================================================================== */
   .trajectory {
     position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box;
     width: 100%; min-height: 588px; padding: 64px 24px 92px;
     background: linear-gradient(180deg, #feb850 53.06%, #fff 100%);
     color: #081c33; scroll-margin-top: 84px;
   }
   .trajectory__inner {
     position: relative; max-width: 1224px; margin: auto;
     display: grid; grid-template-columns: 433fr 431fr 249fr; column-gap: 4.534%; align-items: start;
   }
   .trajectory__copy  { position: relative; z-index: 2; text-align: center; padding-top: 24px; }
   .trajectory h2     { font-size: 40px; line-height: 48px; font-weight: 700; color: #081c33; margin: 0 0 24px; }
   .trajectory__claim { font-size: 24px; line-height: 32px; margin: 0 0 24px; }
   
   .trajectory a.trajectory__cta {
     display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
     box-sizing: border-box; padding: 8px 20px; border: 1px solid #081c33; border-radius: 32px;
     background: #081c33; color: #fff; font-size: 16px; line-height: 24px; text-decoration: none;
   }
   .trajectory a.trajectory__cta:hover { background: #193c61; color: #fff; text-decoration: underline; }
   .trajectory__cta:focus-visible { outline: 3px solid #081c33; outline-offset: 5px; }
   
   .trajectory__image {
     position: relative; z-index: 2; display: block; width: 100%; height: auto;
     aspect-ratio: 1; object-fit: cover; border-radius: 24px;
   }
   .trajectory__side { position: relative; }
   /* Used by trajectory.js for geometry and the visibility trigger. */
   .trajectory__arrow-anchor { position: absolute; top: 336px; right: 50px; width: 94px; height: 90px; pointer-events: none; }
   
   .trajectory__line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden; }
   /* Round caps overlap at the shared endpoint so both paths form a seamless corner. */
   .trajectory__line path { fill: none; stroke: #081c33; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
   
   /* Animation states (set by trajectory.js) */
   .trajectory.is-pending .trajectory__line { visibility: hidden; }
   .trajectory.is-playing .trajectory__line path {
     stroke-dasharray: 1;
     animation: trajectory-draw var(--duration) linear var(--delay) both;
   }
   @keyframes trajectory-draw {
     0%   { opacity: 0; stroke-dashoffset: 1; }
     .1%  { opacity: 1; }
     100% { opacity: 1; stroke-dashoffset: 0; }
   }
   
   /* Tablet */
   @media (max-width: 1015px) {
     .trajectory               { padding: 48px 24px 72px; }
     .trajectory__inner        { max-width: 720px; grid-template-columns: 1.5fr 1fr; gap: 32px; }
     .trajectory__copy         { grid-column: 1 / -1; padding-top: 0; max-width: 520px; margin: 0 auto; }
     .trajectory h2            { font-size: 32px; line-height: 40px; }
     .trajectory__claim        { font-size: 20px; line-height: 28px; }
     .trajectory__arrow-anchor { top: calc(100% + 32px); right: 24px; }
   }
   
   /* Mobile */
   @media (max-width: 677.98px) {
     .trajectory               { padding: 40px 16px 80px; }
     .trajectory__inner        { gap: 24px 16px; }
     .trajectory h2            { font-size: 24px; line-height: 32px; }
     .trajectory__claim        { font-size: 16px; line-height: 24px; }
     .trajectory__image        { border-radius: 16px; }
     .trajectory__arrow-anchor { width: 64px; height: 62px; right: 8px; top: calc(100% + 24px); }
     .trajectory__line path    { stroke-width: 4; }
   }
   
   @media (prefers-reduced-motion: reduce) {
     .trajectory .trajectory__line      { visibility: visible !important; }
     .trajectory .trajectory__line path { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
   }
   @media (forced-colors: active) {
     .trajectory__line { display: none; }
     .trajectory a.trajectory__cta { border-color: LinkText; }
   }
   
   
   /* =====================================================================
      6. LOGO CAROUSEL  (.logo-carousel)
      ===================================================================== */
   .logo-carousel {
     --speed: 100s;          /* loop duration (higher = slower) */
     --gap: 8rem;            /* space between logos */
     --logo-height: 36px;
     --logo-max-width: 140px;
     --hover-blur: 10px;     /* blur strength on hover */
   
     position: relative !important;  /* anchors the overlay link */
     max-width: 1200px;
     margin: 0 auto;
     padding: 1rem 0;
   }
   
   /* Viewport: clips and fades the edges */
   .logo-carousel__viewport {
     overflow: hidden;
     padding: calc(var(--hover-blur) * 3) 0;   /* room for the blur to fade out */
     -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
             mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
   }
   
   /* Track: scrolls left */
   .logo-carousel__track {
     display: flex; align-items: center; width: max-content;
     margin: 0; padding: 0; list-style: none;
     animation: logo-scroll var(--speed) linear infinite;
     transition: filter 0.4s ease, opacity 0.4s ease;
   }
   
   /* Logos: natural width + equal spacing (margin, not gap, keeps the loop seamless) */
   .logo-carousel__item {
     flex: 0 0 auto; display: flex; align-items: center;
     margin: 0 var(--gap) 0 0; padding: 0;
   }
   .logo-carousel__item img {
     display: block; height: var(--logo-height); width: auto;
     max-width: var(--logo-max-width); object-fit: contain;
     filter: grayscale(100%); opacity: 0.8;
   }
   
   /* Moving -50% shifts exactly one full set */
   @keyframes logo-scroll {
     from { transform: translateX(0); }
     to   { transform: translateX(-50%); }
   }
   
   /* Overlay link: covers the whole carousel, hidden by default */
   .logo-carousel .logo-carousel__cta {
     position: absolute !important;
     inset: 0 !important;
     z-index: 2;
     display: flex !important; align-items: center; justify-content: center;
     margin: 0; padding: 0; background: transparent;
     text-decoration: none !important;
     opacity: 0 !important; visibility: hidden;
     transition: opacity 0.4s ease, visibility 0.4s ease;
   }
   
   /* CTA text and arrow stay black in every state */
   .logo-carousel .logo-carousel__cta,
   .logo-carousel .logo-carousel__cta:link,
   .logo-carousel .logo-carousel__cta:visited,
   .logo-carousel .logo-carousel__cta:hover,
   .logo-carousel .logo-carousel__cta:focus,
   .logo-carousel .logo-carousel__cta:active,
   .logo-carousel .logo-carousel__cta-label { color: #000 !important; }
   
   .logo-carousel .logo-carousel__cta-label {
     display: inline-flex; align-items: center; gap: 0.5rem;
     font-family: inherit; font-size: 1.8rem; font-weight: 600;
     line-height: 1.2; letter-spacing: -0.01em;
     transform: translateY(6px);
     transition: transform 0.4s ease;
   }
   
   /* Text arrow (→) */
   .logo-carousel .logo-carousel__cta-arrow {
     display: inline-block;
     transition: transform 0.3s ease;
   }
   
   /* Hover: only on mouse/trackpad devices, above mobile width */
   @media (hover: hover) and (pointer: fine) and (min-width: 678px) {
     .logo-carousel:hover .logo-carousel__track {
       filter: blur(var(--hover-blur)); opacity: 0.6; animation-play-state: paused;
     }
     .logo-carousel:hover .logo-carousel__cta { opacity: 1 !important; visibility: visible; }
     .logo-carousel:hover .logo-carousel__cta-label { transform: translateY(0); }
     .logo-carousel:hover .logo-carousel__cta-arrow { transform: translateX(4px); }
   }
   
   /* Keyboard focus: works on all devices, not triggered by taps */
   .logo-carousel:has(.logo-carousel__cta:focus-visible) .logo-carousel__track {
     filter: blur(var(--hover-blur)); opacity: 0.6; animation-play-state: paused;
   }
   .logo-carousel:has(.logo-carousel__cta:focus-visible) .logo-carousel__cta { opacity: 1 !important; visibility: visible; }
   .logo-carousel:has(.logo-carousel__cta:focus-visible) .logo-carousel__cta-label { transform: translateY(0); }
   .logo-carousel:has(.logo-carousel__cta:focus-visible) .logo-carousel__cta-arrow { transform: translateX(4px); }
   
   .logo-carousel .logo-carousel__cta:focus-visible {
     outline: 2px solid #000; outline-offset: 4px; border-radius: 8px;
   }
   
   /* Tablet */
   @media (max-width: 1015px) {
     .logo-carousel { --gap: 4rem; }
     .logo-carousel .logo-carousel__cta-label { font-size: 1.5rem; }
   }
   
   /* Mobile */
   @media (max-width: 677.98px) {
     .logo-carousel { --gap: 2.5rem; --logo-height: 28px; }
     .logo-carousel .logo-carousel__cta-label { font-size: 1.25rem; }
   }
   
   @media (prefers-reduced-motion: reduce) {
     .logo-carousel__track { animation: none; }
   }
   @media (forced-colors: active) {
     .logo-carousel .logo-carousel__cta-label { color: LinkText !important; }
   }
   
   /* Mobile/touch override: no hover effect, one tap opens the link.
      Keep this block at the end of the file. */
   @media (max-width: 677.98px), (hover: none), (pointer: coarse) {
     .logo-carousel.logo-carousel.logo-carousel .logo-carousel__track {
       filter: none !important;
       opacity: 1 !important;
       animation-play-state: running !important;
     }
     .logo-carousel.logo-carousel.logo-carousel .logo-carousel__cta {
       opacity: 0 !important;
       visibility: visible !important;
       -webkit-tap-highlight-color: transparent;
     }
   }