/* Sponsors page (sp-*) */
.sp {
  --navy: #0a1530; --navy2: #12275a; --royal: #243f7c; --gold: #f5b800; --gold2: #ffd84d; --gold-deep: #c9961a;
  --ink: #0f1b33; --mute: #5a6a88; --line: #dfe6f2; --edge: #c7d5ee; --sky: #eef3fb; --red: #c8283c;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); overflow-x: clip;
}
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp h2, .sp p, .sp ul { margin: 0; }
.sp ul { list-style: none; padding: 0; }
.sp a { text-decoration: none; color: inherit; }
.sp-wrap { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.sp a:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: .6rem; }

/* Intro */
.sp-intro { display: grid; gap: .9rem; padding: 2rem 0 1rem; justify-items: center; text-align: center; }
.sp-thanks { max-width: 40rem; font-size: 1.05rem; line-height: 1.7; color: var(--mute); }
.sp-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.sp-jump a { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .4rem .95rem; border: 1.5px solid var(--edge); border-radius: 99px; background: #fff; font-size: .88rem; font-weight: 600; color: var(--royal); transition: all .2s ease; }
.sp-jump a:hover { background: var(--navy); border-color: var(--navy); color: var(--gold2); transform: translateY(-2px); }
.sp-count { font-size: .9rem; color: var(--mute); }
.sp-count b { font: 700 1.2rem/1 Poppins, Inter, sans-serif; color: var(--navy); margin-right: .2rem; }

/* Sections */
.sp-sec { padding: clamp(2rem, 5vw, 3.4rem) 0; scroll-margin-top: 5rem; }
.sp-sec--title { position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: radial-gradient(42rem 18rem at 85% -10%, rgba(245,184,0,.24), transparent 60%), radial-gradient(36rem 20rem at 0% 110%, rgba(76,124,230,.3), transparent 60%), linear-gradient(135deg, #0a1530 0%, #12275a 55%, #1b3a82 100%);
}
.sp-sec--title::before { content: "\2660  \2665  \2666  \2663"; position: absolute; z-index: -1; right: 4%; bottom: -1.2rem; font-size: clamp(5rem, 14vw, 11rem); letter-spacing: .6em; line-height: 1; color: rgba(255,255,255,.05); white-space: nowrap; animation: sp-drift 24s ease-in-out infinite alternate; }
@keyframes sp-drift { to { transform: translateX(-3rem); } }
.sp-sec--bodies { background: linear-gradient(180deg, var(--sky), #fff); }

.sp-head { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem .9rem; margin-bottom: 1.6rem; }
.sp-suit { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; font-size: 1.3rem; line-height: 1; color: var(--gold2); background: linear-gradient(145deg, var(--navy2), var(--navy)); box-shadow: 0 0 0 2px rgba(245,184,0,.55); }
.sp-head h2 { font: 700 clamp(1.4rem, 3.4vw, 2rem)/1.2 Poppins, Inter, sans-serif; color: var(--navy); }
.sp-sec--title .sp-head h2 { color: #fff; }
.sp-head h2::after { content: ""; display: block; width: 3rem; height: 3px; margin-top: .5rem; border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold2)); }
.sp-badge { margin-left: auto; padding: .28rem .75rem; border-radius: 99px; background: var(--sky); color: var(--royal); font-size: .78rem; font-weight: 700; }
.sp-sec--title .sp-badge { background: rgba(255,255,255,.12); color: var(--gold2); }

/* Grids */
.sp-grid { display: grid; gap: 1.1rem; }
.sp-grid--title { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.4rem; }
.sp-grid--associate { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); }
.sp-grid--partner { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.sp-grid--bodies { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.sp-grid li { display: flex; }

/* Cards */
.sp-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; width: 100%;
  padding: 1.4rem 1.2rem 1.2rem; overflow: hidden; text-align: center; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 1.1rem;
  box-shadow: 0 18px 36px -28px rgba(10,21,48,.7);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
a.sp-card { cursor: pointer; }
.sp-card::after { /* shine sweep */
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(245,184,0,.26), transparent); transform: skewX(-18deg); transition: left .75s ease;
}
.sp-card:hover { transform: translateY(-7px); border-color: var(--gold); box-shadow: 0 28px 44px -26px rgba(10,21,48,.75), 0 0 0 1px rgba(245,184,0,.45); }
.sp-card:hover::after { left: 135%; }
.sp-card:active { transform: translateY(-2px); }

.sp-logo { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; padding: .7rem; border-radius: .8rem; background: #fff; }
.sp-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.sp-card:hover .sp-logo img { transform: scale(1.07); }
.sp-mono { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; font: 700 1.3rem/1 Poppins, Inter, sans-serif; color: var(--gold2); background: linear-gradient(145deg, var(--navy2), var(--navy)); box-shadow: 0 0 0 2px rgba(245,184,0,.55); }
.sp-name { font: 700 1rem/1.3 Poppins, Inter, sans-serif; color: var(--navy); }
.sp-visit { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--royal); opacity: .75; transition: opacity .2s, gap .2s; }
.sp-visit i { font-style: normal; transition: transform .25s ease; }
.sp-card:hover .sp-visit { opacity: 1; }
.sp-card:hover .sp-visit i { transform: translateX(4px); }

/* Title sponsors: bigger, gold framed */
.sp-card--title { padding: 1.6rem 1.4rem 1.4rem; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--gold2), var(--gold-deep) 50%, var(--gold2)) border-box; box-shadow: 0 26px 50px -28px rgba(0,0,0,.8); }
.sp-card--title .sp-logo { aspect-ratio: 16 / 10; background: linear-gradient(180deg, #fff, #f6f8fd); box-shadow: inset 0 0 0 1px var(--line); }
.sp-card--title .sp-name { font-size: 1.15rem; }
.sp-ribbon { position: absolute; top: .9rem; left: -2.2rem; width: 8.6rem; padding: .22rem 0; transform: rotate(-35deg); text-align: center; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: linear-gradient(135deg, var(--gold2), var(--gold)); box-shadow: 0 4px 10px -4px rgba(0,0,0,.5); }

/* Associate */
.sp-card--associate { padding: 1.1rem 1rem 1rem; gap: .6rem; }
.sp-card--associate .sp-logo { aspect-ratio: 3 / 2; background: var(--sky); }
.sp-card--associate .sp-name { font-size: .92rem; }

/* Partners / media */
.sp-card--partner { flex-direction: row; text-align: left; justify-content: flex-start; gap: 1rem; padding: 1rem 1.1rem; flex-wrap: wrap; }
.sp-card--partner .sp-logo { width: 6.5rem; aspect-ratio: 1; flex: none; background: var(--sky); }
.sp-card--partner .sp-name { flex: 1 1 8rem; }
.sp-card--partner .sp-visit { flex-basis: 100%; }

/* Governing bodies */
.sp-card--body { flex-direction: row; justify-content: flex-start; gap: 1rem; text-align: left; padding: 1rem 1.1rem; }
.sp-logo--sm { width: 5rem; aspect-ratio: 1; flex: none; background: var(--sky); padding: .5rem; }
.sp-card--body .sp-mono { width: 3.2rem; height: 3.2rem; font-size: 1rem; }
.sp-body-txt { display: grid; gap: .15rem; min-width: 0; }
.sp-body-txt small { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9a6f0a; }
.sp-body-txt b { font: 700 1rem/1.3 Poppins, Inter, sans-serif; color: var(--navy); }

/* Become a sponsor */
.sp-cta {
  position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: .9rem; text-align: center; color: #fff;
  padding: clamp(2rem, 6vw, 3.4rem) 1.4rem; border-radius: 1.4rem;
  background: radial-gradient(34rem 14rem at 50% -30%, rgba(245,184,0,.3), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy2));
  box-shadow: 0 30px 56px -34px rgba(10,21,48,.9), inset 0 0 0 1px rgba(245,184,0,.3);
}
.sp-cta h2 { font: 700 clamp(1.4rem, 3.6vw, 2.1rem)/1.25 Poppins, Inter, sans-serif; color: #fff; }
.sp-cta p { max-width: 36rem; line-height: 1.7; color: rgba(255,255,255,.85); }
.sp-cta-suits { display: flex; gap: .8rem; font-size: 1.6rem; color: var(--gold2); }
.sp-cta-suits i { font-style: normal; animation: sp-bob 3.2s ease-in-out infinite; }
.sp-cta-suits i:nth-child(2) { animation-delay: .25s; color: #ff8a97; }
.sp-cta-suits i:nth-child(3) { animation-delay: .5s; color: #ff8a97; }
.sp-cta-suits i:nth-child(4) { animation-delay: .75s; }
@keyframes sp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.sp-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: .4rem; }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .65rem 1.4rem; border-radius: .75rem; border: 1.5px solid transparent; font: 600 .95rem/1.1 Inter, system-ui, sans-serif; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.sp-btn:hover { transform: translateY(-2px); }
.sp-btn--gold { color: var(--navy); background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 12px 22px -14px rgba(245,184,0,.95), inset 0 1px 0 rgba(255,255,255,.5); }
.sp-btn--line { color: #fff; border-color: rgba(245,184,0,.6); background: rgba(255,255,255,.06); }
.sp-btn--line:hover { background: rgba(255,255,255,.16); border-color: var(--gold2); }
.sp-cta a:focus-visible, .sp-sec--title a:focus-visible { outline-color: var(--gold2); }

/* Scroll reveal: only items below the fold are hidden, and only once the script runs */
.sp-rv.sp-pre { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.sp-rv.sp-pre.sp-in { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .sp-badge { margin-left: 0; }
  .sp-card--partner .sp-logo { width: 5rem; }
  .sp-ribbon { top: .8rem; left: -2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sp *, .sp *::before, .sp *::after { animation: none !important; transition: none !important; }
  .sp-rv.sp-pre { opacity: 1; transform: none; }
}
