/* Technology synchronization cards and their decorative diagrams. */
#sync .sync-section-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 38px;
}
#sync .sync-section-intro h2 { margin: 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
#sync .sync-section-intro > div > p { margin: 0; font-size: 17px; line-height: 1.8; }
#sync .sync-explainer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#sync .sync-explainer {
  min-width: 0;
  padding: 28px;
  border: 1px solid #e3d5ec;
  border-radius: 21px;
  background: linear-gradient(145deg, #fff 0%, #fdfbff 100%);
}
#sync .sync-card-heading { display: flex; align-items: center; gap: 14px; }
#sync .sync-card-number {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #f1e8f8;
  color: #936aae;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
#sync .sync-card-heading h3 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
#sync .sync-illustration { display: block; width: 100%; aspect-ratio: 24 / 13; margin: 23px 0 22px; }
#sync .sync-illustration-svg { display: block; width: 100%; height: auto; overflow: visible; }
#sync .sync-card-copy p { margin: 0 0 13px; font-size: 15px; line-height: 1.8; }
#sync .sync-card-copy .sync-summary { color: #57366e; font-size: 16px; font-weight: 600; line-height: 1.65; }
#sync .sync-card-copy .sync-detail { margin-bottom: 0; padding-top: 12px; border-top: 1px solid #eee4f4; color: #8c749b; font-size: 13px; line-height: 1.75; }
#sync .sync-section-note { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; color: #8b749a; font-size: 13px; line-height: 1.8; }
#sync .sync-section-note a { text-decoration: underline; text-underline-offset: 4px; }

.sync-illustration .sync-motion { transform-box: fill-box; transform-origin: center; animation-play-state: running; }
.sync-illustration .sync-packet { animation: sync-record-delivery 10s linear infinite; animation-delay: var(--sync-delay, 0s); }
.sync-illustration .sync-ledger-row { animation: sync-ledger-inclusion 10s ease-in-out infinite; animation-delay: var(--sync-delay, 0s); }
.sync-illustration .sync-site-fill { animation: sync-reference-fill 10s ease-in-out infinite; animation-delay: var(--sync-delay, 0s); }
.sync-illustration .sync-growth-site { animation: sync-proposed-site 10s ease-in-out infinite; animation-delay: var(--sync-delay, 0s); }
@keyframes sync-record-delivery {
  0%, 8% { opacity: 0; transform: translate(0, 0); }
  17% { opacity: 1; }
  43% { opacity: 1; transform: translate(var(--sync-mx, 0px), var(--sync-my, 0px)); }
  69% { opacity: 1; }
  79%, 100% { opacity: 0; transform: translate(var(--sync-dx, 0px), var(--sync-dy, 0px)); }
}
@keyframes sync-ledger-inclusion {
  0%, 16%, 100% { opacity: .06; }
  34%, 49% { opacity: .48; }
  76% { opacity: .13; }
}
@keyframes sync-reference-fill {
  0%, 12%, 100% { opacity: .2; }
  35%, 79% { opacity: 1; }
  93% { opacity: .2; }
}
@keyframes sync-proposed-site {
  0%, 14%, 100% { opacity: .38; }
  36%, 80% { opacity: 1; }
  95% { opacity: .38; }
}
.sync-illustration:not([data-sync-active="true"]) .sync-motion,
.motion-paused .sync-illustration .sync-motion { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .sync-illustration .sync-motion { animation-play-state: paused !important; } }
@media (max-width: 1000px) {
  #sync .sync-section-intro { gap: 32px; }
  #sync .sync-explainer-grid { gap: 18px; }
  #sync .sync-explainer { padding: 24px; }
  #sync .sync-card-heading h3 { font-size: 21px; }
}
@media (max-width: 760px) {
  #sync .sync-section-intro { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-bottom: 29px; }
  #sync .sync-explainer-grid { grid-template-columns: minmax(0, 1fr); }
  #sync .sync-explainer { padding: 25px; }
}
@media (max-width: 420px) {
  #sync .sync-explainer { padding: 21px 18px 23px; border-radius: 18px; }
  #sync .sync-card-heading { gap: 11px; }
  #sync .sync-card-heading h3 { font-size: 20px; }
  #sync .sync-illustration { width: calc(100% + 12px); max-width: none; margin: 22px -6px; }
  #sync .sync-card-copy p { font-size: 15px; }
  #sync .sync-card-copy .sync-detail { font-size: 13px; }
}

/* Preserve explanatory lettering inside the card rather than shrinking it. */
#sync .sync-illustration { aspect-ratio: auto; container-type: inline-size; }
#sync .sync-art-scroll { width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; padding-block: 3px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #c9b3dc #f4eef8; }
#sync .sync-art-scroll:focus-visible { outline: 2px solid #9887ef; outline-offset: -2px; border-radius: 8px; }
#sync .sync-art-scroll .sync-illustration-svg { width: 100%; min-width: 384px; max-width: none; }
#sync .sync-scroll-hint { display: none; align-items: center; gap: 7px; margin: 9px 0 0; color: #806a91; font-size: 11px; line-height: 1.65; }
#sync .sync-scroll-hint>span { flex: none; color: #a374bd; font-size: 17px; }
@container (width < 384px) { #sync .sync-scroll-hint { display: flex; } }
