/* The fixture and its two messages form one illustration. Container units keep
   their type, clearances and shadows in proportion at every breakpoint. */
.match-scene {
  position: relative;
  align-self: center;
  width: min(100%, 560px);
  min-width: 0;
  margin: 0 auto 76px;
  container-type: inline-size;
  isolation: isolate;
}

.scene-canvas {
  position: relative;
  aspect-ratio: 1.22;
}

.scene-canvas::before,
.scene-canvas::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.scene-canvas::before {
  inset: -6% -2%;
  background: radial-gradient(ellipse, #3f916447, transparent 70%),
              radial-gradient(circle, #9edca44a 1px, transparent 1.5px);
  background-size: auto, 16px 16px;
  mask-image: radial-gradient(ellipse, #000 30%, transparent 72%);
}

.scene-canvas::after {
  inset: 10% 1% 9% 6%;
  z-index: -1;
  border: 1px solid #99dca538;
  border-radius: 50%;
  transform: rotate(-21deg);
  box-shadow: 0 0 0 3cqw #8cd39c07, 0 0 0 8cqw #8cd39c04;
}

.match-card {
  --tilt: -5deg;
  --lift: -1.4cqw;
  position: absolute;
  top: 20%;
  left: 4%;
  width: 70%;
  padding: 2cqw;
  border: 1px solid #eaffd6;
  border-radius: 3.5cqw;
  background: #f1f6ed;
  color: #143d32;
  box-shadow: 0 6cqw 11cqw -3cqw #00130fc2, inset 0 0 0 1px #fff;
  transform: rotate(var(--tilt));
}

.match-card-head,
.match-card-foot,
.channel-heading,
.sms-card {
  display: flex;
  align-items: center;
}

.match-card-head {
  gap: 1.5cqw;
  padding: 0.4cqw 0.7cqw 2cqw;
  font-size: max(11px, 2.6cqw);
}

.match-card-head > i,
.channel-icon {
  display: grid;
  place-items: center;
  border-radius: 1.6cqw;
  background: #d8efa6;
  color: #174e3c;
}

.match-card-head > i { width: 5.8cqw; aspect-ratio: 1; }

.pitch-panel {
  padding: 2cqw 3cqw 3cqw;
  border-radius: 1.9cqw;
  color: #f6ffed;
  background: repeating-linear-gradient(90deg, #ffffff05 0 12.5%, transparent 12.5% 25%),
              linear-gradient(125deg, #28694d, #123f31);
}

.pitch-title {
  margin-bottom: 1.7cqw;
  font: 800 max(17px, 4.6cqw)/1.2 var(--font-heading);
  letter-spacing: -.05em;
}

.pitch {
  position: relative;
  height: 21cqw;
  color: #c8edcf70;
  border: 1px solid;
  background: linear-gradient(90deg, transparent calc(50% - .5px), currentColor 50%, transparent calc(50% + .5px));
}

.pitch-box, .pitch-circle {
  position: absolute;
  top: 50%;
  border: 1px solid;
  translate: 0 -50%;
}
.pitch-box { width: 13%; height: 58%; }
.home-box { left: -1px; }
.away-box { right: -1px; }
.pitch-circle { left: 50%; height: 42%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; }
.player { position: absolute; width: 2.4cqw; aspect-ratio: 1; border-radius: 50%; background: #d5f893; box-shadow: 0 0 0 3px #cffcb01c; }
.player-a { left: 15%; top: 55%; }
.player-b { left: 31%; top: 18%; }
.player-c { left: 39%; top: 65%; }
.player-d, .player-e, .player-f { background: #eff5de; }
.player-d { left: 57%; top: 32%; }
.player-e { left: 72%; top: 68%; }
.player-f { left: 84%; top: 23%; }

.match-card-foot { gap: 1.4cqw; padding: 1.9cqw .7cqw 0; font-size: max(10px, 2.2cqw); font-weight: 700; }
.channel-card { position: absolute; border-radius: 2.6cqw; box-shadow: 0 3cqw 7cqw #00181059; transform: rotate(var(--tilt)); }
.channel-card strong { font: 800 max(13px, 3.2cqw)/1.3 var(--font-heading); letter-spacing: -.035em; }

.sms-card {
  --tilt: 3deg;
  --lift: -2.1cqw;
  top: 3%;
  right: 4%;
  gap: 1.8cqw;
  padding: 2.1cqw 3cqw 2.1cqw 2cqw;
  background: #eff8df;
  border: 1px solid #fff;
  color: #13392d;
}
.channel-icon { width: 7.5cqw; aspect-ratio: 1; font-size: 3.8cqw; }
.sms-card small { display: block; font-size: max(10px, 2.15cqw); color: #45604c; }
.whatsapp-card {
  --tilt: 4deg;
  --lift: -1.7cqw;
  right: 0;
  bottom: 2%;
  width: 43%;
  padding: 2.5cqw;
  color: #f5ffeb;
  background: linear-gradient(135deg, #285949, #143d32);
  border: 1px solid #83bd8c7a;
}
.channel-heading { gap: 1.6cqw; }
.channel-heading i { color: #c4f680; font-size: 3.9cqw; }
.message-bubble { width: fit-content; margin-top: 1.6cqw; padding: 1.6cqw 2cqw; background: #d7efb8; color: #18382b; border-radius: 0 1.6cqw 1.6cqw; font-size: max(11px, 2.45cqw); line-height: 1.45; }
.match-scene figcaption { display: flex; justify-content: space-between; gap: .5rem; margin-top: 2.3cqw; padding-top: .7rem; border-top: 1px solid #b6e7b62d; font-size: .75rem; color: #c9d8cc; }
.match-scene figcaption span { color: #a6bcaf; }

.hero-bottom { z-index: 4; pointer-events: none; }
.hero-bottom > :is(a, button) { pointer-events: auto; }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  border: 0;
  padding: 0 .4rem;
  background: transparent;
  color: #c8dccb;
  font: 600 .82rem/1.3 var(--font-body);
  letter-spacing: 0;
}
.motion-toggle i { color: var(--lime); font-size: 1rem; }
.motion-toggle:hover { color: white; }
.motion-toggle[hidden] { display: none; }

.button-lime { position: relative; isolation: isolate; }
.button-lime::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 12px #bcf37278, 0 3px 29px #a3e95347;
  opacity: .5;
}
.button-lime:is(:hover, :focus-visible) {
  color: #09261b;
  background: #dcff9e;
  box-shadow: 0 0 0 2px #d5ff9963, 0 0 24px #b8f3646b;
}
.button-outline:is(:hover, :focus-visible) { box-shadow: 0 0 22px #b8f36444; }

@keyframes breathe {
  0%, 100% { transform: translateY(0) rotate(var(--tilt)) scale(1); }
  50% { transform: translateY(var(--lift)) rotate(var(--tilt)) scale(1.017); }
}
@keyframes breathe-light {
  0%, 100% { opacity: .35; }
  50% { opacity: .95; }
}
@keyframes workflow-signal {
  0%, 76%, 100% { transform: scaleX(0); opacity: 0; }
  10% { opacity: 1; }
  56% { transform: scaleX(1); opacity: 1; }
  74% { transform: scaleX(1); opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-scroll-scene] { --body-travel: calc((var(--scene-progress, .5) - .5) * clamp(32px, 7vw, 66px)); }
  .brief-underlay, .message-orbit { translate: 0 calc(var(--body-travel) * .7); }
  .brief-sheet, .message-phone { transform: translateY(calc(var(--body-travel) * -.6)); }
  .workflow-art::before { translate: 0 var(--body-travel); }
  .workflow-art span:first-child { transform: translateX(calc(var(--body-travel) * .7)); }
  .workflow-art span:last-child { transform: translateX(calc(var(--body-travel) * -.7)); }
  /* Scroll changes the gap between layers. The breathing keyframes and
     pointer tilt keep their own transforms, and controls stay in place. */
  .motion-enabled:not([data-motion-paused]) :is(.home-hero, .product-hero) { overflow: clip; }
  .motion-enabled:not([data-motion-paused]) .scene-track {
    display: flow-root;
    min-width: 0;
    --scroll-depth: calc(var(--scene-progress, 0) * min(24vw, 128px));
  }
  .motion-enabled:not([data-motion-paused]) .scene-track::after {
    content: "";
    display: block;
    height: clamp(190px, 39svh, 340px);
  }
  .motion-enabled:not([data-motion-paused]) .scene-track > figure {
    position: sticky;
    top: max(7rem, 10svh);
  }
  .motion-enabled:not([data-motion-paused]) .scene-track .scene-canvas::before,
  .studio-halo { translate: 0 calc(var(--scroll-depth, 0px) * .48); }
  .board-low { --scroll-lift: calc(var(--scroll-depth, 0px) * .24); }
  .board-mid { --scroll-lift: calc(var(--scroll-depth, 0px) * -.18); }
  .board-top { --scroll-lift: calc(var(--scroll-depth, 0px) * -.65); }
  .match-card { translate: calc(var(--scroll-depth, 0px) * -.11) calc(var(--scroll-depth, 0px) * .20); }
  .sms-card { translate: calc(var(--scroll-depth, 0px) * -.74) calc(var(--scroll-depth, 0px) * -.34); }
  .whatsapp-card { translate: calc(var(--scroll-depth, 0px) * -.20) calc(var(--scroll-depth, 0px) * -.74); }

  .motion-enabled .match-card,
  .motion-enabled .channel-card { animation: breathe 6s ease-in-out infinite; }
  .motion-enabled .sms-card { animation-duration: 5.3s; animation-delay: -2s; }
  .motion-enabled .whatsapp-card { animation-duration: 6.5s; animation-delay: -4.3s; }
  .motion-enabled .button-lime::before { animation: breathe-light 4s ease-in-out infinite; }
  .motion-enabled .workflow-line::after {
    content: "";
    display: block;
    height: 2px;
    background: #68a572;
    transform-origin: left;
    animation: workflow-signal 6s ease-in-out infinite both;
  }
  .workflow-row:nth-of-type(3) .workflow-line::after { animation-delay: .7s; }
  .workflow-row:nth-of-type(4) .workflow-line::after { animation-delay: 1.4s; }
  :is([data-motion-paused], [data-motion-idle]) :is(.match-card, .channel-card),
  :is([data-motion-paused], [data-motion-idle]) .workflow-line::after,
  :is([data-motion-paused], [data-motion-idle]) .button-lime::before { animation-play-state: paused !important; }
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .motion-enabled:not([data-motion-paused]) .product-hero .hero-copy {
    align-self: start;
    position: sticky;
    top: 5rem;
    margin-top: clamp(0rem, 2vw, 2rem);
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .motion-enabled:not([data-motion-paused]) .scene-track {
    --scroll-depth: calc(var(--scene-progress, 0) * min(20vw, 90px));
  }
}

@media (max-width: 991px) {
  .match-scene { margin: 1rem auto 1.75rem; max-width: 470px; }
}
@media (max-width: 575px) {
  .match-scene { margin-top: .5rem; }
  .match-scene figcaption { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover, .round-link:hover, .service-card:hover { transform: none; }
}
html[data-motion-paused] { scroll-behavior: auto; }
html[data-motion-paused] .reveal { opacity: 1; transform: none; transition: none; }
html[data-motion-paused] :is(.button, .service-card, .round-link):hover { transform: none; }

/* Entrances run once. Resting accents run only while their panel is on screen. */
@keyframes sheet-arrives {
  from { opacity: .2; translate: 0 28px; rotate: -3deg; }
}
@keyframes index-arrives { from { opacity: .2; translate: 36px 0; } }
@keyframes pitch-arrives { from { opacity: .2; transform: perspective(900px) rotateY(17deg) scale(.94); } }
@keyframes stack-arrives { from { opacity: .2; transform: perspective(900px) rotateY(17deg) scale(.94); } }
@keyframes section-arrives { from { opacity: .25; translate: 0 22px; } }
@keyframes folio-float { to { translate: 3px -12px; rotate: .5deg; } }
@keyframes folio-fan { to { rotate: -11deg; transform: translate(-5px, 6px); } }
@keyframes handset-rock { from { rotate: -2deg; } to { rotate: 2deg; } }
@keyframes process-card-drift {
  from { translate: var(--drift-from) 0; }
  to { translate: var(--drift-to) 0; }
}
@keyframes route-hop { to { translate: 0 -7px; } }
@keyframes route-pulse {
  0%, 12% { opacity: 0; transform: translateX(-32px) scaleX(.25); }
  35%, 65% { opacity: 1; }
  90%, 100% { opacity: 0; transform: translateX(32px) scaleX(.8); }
}
@keyframes receipt-scan { to { transform: translateX(28px); opacity: .35; } }
@keyframes crest-float { to { transform: translateY(-10px) rotate(3deg); } }
@keyframes icon-orbit { to { transform: rotate(360deg); } }
@keyframes load-sweep { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
@keyframes menu-arrive { from { opacity: .12; translate: 16px 0; } }
html[data-motion-paused] :is(.navigation-panel, .offcanvas-backdrop) { transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .motion-enabled:not([data-motion-paused]) :is(.menu-glyph,.menu-route strong) { transition: transform .22s ease-out; }
  .motion-enabled:not([data-motion-paused]) .menu-trigger:is(:hover,:focus-visible) .menu-glyph { transform: rotate(45deg); }
  .motion-enabled:not([data-motion-paused]) .menu-route:is(:hover,:focus-visible) strong { transform: translateX(4px); }
  .motion-enabled:not([data-motion-paused]) .navigation-panel:is(.showing,.show) .menu-route { animation: menu-arrive .38s ease-out backwards; }
  .motion-enabled:not([data-motion-paused]) .navigation-panel:is(.showing,.show) .menu-route:nth-child(2) { animation-delay: 55ms; }
  .motion-enabled:not([data-motion-paused]) .navigation-panel:is(.showing,.show) .menu-route:nth-child(3) { animation-delay: 110ms; }
  .motion-enabled:not([data-motion-paused]) .site-header { transition: background-color .55s ease, padding .55s cubic-bezier(.2,.8,.2,1); }
  .motion-enabled:not([data-motion-paused]) .nav-bar { transition: min-height .55s cubic-bezier(.2,.8,.2,1), background-color .55s ease, border-color .55s ease, box-shadow .55s ease; }
  .motion-enabled:not([data-motion-paused]) .wordmark { transition: transform .55s cubic-bezier(.2,.8,.2,1), color .55s ease; }
  .motion-enabled:not([data-motion-paused]) .brand-symbol, .motion-enabled:not([data-motion-paused]) .brand-dot { transition: background-color .55s ease, color .55s ease; }
  .motion-enabled:not([data-motion-paused]) .desktop-links a { transition: color .55s ease; }
  .motion-enabled:not([data-motion-paused]) .nav-project, .motion-enabled:not([data-motion-paused]) .menu-trigger { transition: background-color .55s ease, color .55s ease, border-color .55s ease; }
  html[data-loading].motion-enabled:not([data-motion-paused]) .site-header::after {
    content: ""; position: absolute; pointer-events: none; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--lime)); transform-origin: left;
    animation: load-sweep 1.4s ease-in-out infinite alternate;
  }
  .motion-enabled:not([data-motion-paused]) :is(.offering[data-in-view] .cap-icon, .app-card[data-in-view] .app-icon) { position: relative; }
  .motion-enabled:not([data-motion-paused]) :is(.offering[data-in-view] .cap-icon, .app-card[data-in-view] .app-icon)::after {
    content: ""; position: absolute; width: 29px; height: 29px; border-radius: 50%;
    background: radial-gradient(circle at 50% 2px, #477855 1.6px, transparent 2.2px);
    animation: icon-orbit 5s linear infinite;
  }
  .js-motion [data-enter].is-visible { animation: section-arrives .65s cubic-bezier(.18,.75,.2,1) backwards; }
  .js-motion [data-enter="unfold"].is-visible { animation-name: stack-arrives; animation-duration: .85s; }
  .js-motion [data-enter="matchday"].is-visible { animation-name: pitch-arrives; animation-duration: .85s; }
  .js-motion [data-enter="folio"].is-visible { animation-name: sheet-arrives; }
  .js-motion [data-enter="index"].is-visible { animation: none; }
  .js-motion [data-enter="index"].is-visible a { animation: index-arrives .54s cubic-bezier(.18,.75,.2,1) backwards; }
  .js-motion [data-enter="index"].is-visible a:nth-child(2) { animation-delay: 80ms; }
  .js-motion [data-enter="index"].is-visible a:nth-child(3) { animation-delay: 160ms; }
  .js-motion [data-enter]:focus-within, .js-motion [data-enter="index"] a:focus-visible { animation: none; }

  .motion-enabled:not([data-motion-paused]) [data-in-view] > .brief-sheet { animation: folio-float 3.2s ease-in-out infinite alternate; }
  .motion-enabled:not([data-motion-paused]) [data-in-view] > .brief-underlay { animation: folio-fan 4s ease-in-out infinite alternate; }
  .motion-enabled:not([data-motion-paused]) [data-in-view] > .message-phone { animation: handset-rock 3.5s ease-in-out infinite alternate; }
  .motion-enabled .about-hero[data-in-view] .process-art > span {
    animation: process-card-drift var(--drift-duration) ease-in-out var(--drift-delay) infinite alternate;
  }
  .motion-enabled .process-art > span:nth-of-type(1) { --drift-from: -14px; --drift-to: 12px; --drift-duration: 5.2s; --drift-delay: -1.1s; }
  .motion-enabled .process-art > span:nth-of-type(2) { --drift-from: 13px; --drift-to: -13px; --drift-duration: 6.1s; --drift-delay: -3.4s; }
  .motion-enabled .process-art > span:nth-of-type(3) { --drift-from: -10px; --drift-to: 15px; --drift-duration: 4.6s; --drift-delay: -2.2s; }
  html[data-motion-paused] .process-art > span { animation-play-state: paused !important; }
  .motion-enabled:not([data-motion-paused]) .workflow-art[data-in-view] span { animation: route-hop 2.5s ease-in-out infinite alternate; }
  .motion-enabled:not([data-motion-paused]) .workflow-art[data-in-view] span:last-child { animation-delay: -2.5s; }
  .motion-enabled:not([data-motion-paused]) .workflow-art[data-in-view]::after {
    content: ""; pointer-events: none; position: absolute; top: 49%; left: 42%; width: 22%; height: 2px;
    background: linear-gradient(90deg, transparent, #d7ffaa); animation: route-pulse 3.2s ease-in-out infinite;
  }
  .motion-enabled:not([data-motion-paused]) .counter-console[data-in-view] .counter-head::after {
    content: ""; order: 1; width: 32px; height: 12px; margin-right: 32px;
    background: repeating-linear-gradient(90deg, #b1dd96 0 2px, transparent 2px 5px);
    animation: receipt-scan 2.4s ease-in-out infinite alternate;
  }
  .counter-head small { order: 2; }
  .motion-enabled:not([data-motion-paused]) .feature-banner[data-in-view] .pitch-emblem i { animation: crest-float 3.2s ease-in-out infinite alternate; }
  html[data-tab-hidden] *, html[data-tab-hidden] *::before, html[data-tab-hidden] *::after { animation-play-state: paused !important; }
}
