/* sponsors.html: every sponsor tier, the trusted partners and a "become a sponsor" card.
   The tiers and partner cards are the home page's (sponsors.css, partners.css). */
.sps-wall .partners{margin-top:72px}
.spk-intro{padding-top:20px}

/* ---------- Motion (js/sections/sponsor-motion.js) ----------
   Only when the script adds .sps-motion (never with "reduce motion").
   The `scale`/`translate` properties are used, not `transform`, so the
   hover lift and the right-to-left lines of sponsors.css keep working. */

/* 1. A tier enters: badge pops, lines draw outward, logos rise one by one */
.sps-motion .swall .sw-pill{opacity:0;scale:.55}
.sps-motion .swall .sw-line{scale:0 1;transform-origin:right center}
.sps-motion .swall .sw-line:last-child{transform-origin:left center}
html[dir="rtl"] .sps-motion .swall .sw-line{transform-origin:left center}
html[dir="rtl"] .sps-motion .swall .sw-line:last-child{transform-origin:right center}
.sps-motion .swall .sw-sub{opacity:0;translate:0 10px}
.sps-motion .swall .sw-logos>*,.sps-motion .ptier .p-slots>*{opacity:0;translate:0 34px;scale:.82}
.sps-motion .ptier{opacity:0;translate:0 30px}

.sps-motion .swall.is-in .sw-pill{opacity:1;scale:1;animation:sps-pop .75s cubic-bezier(.2,1.5,.35,1) backwards}
.sps-motion .swall.is-in .sw-line{transition:scale .9s cubic-bezier(.2,.8,.2,1) .2s;scale:1 1}
.sps-motion .swall.is-in .sw-sub{transition:opacity .6s ease .35s,translate .6s ease .35s;opacity:1;translate:0 0}
/* backwards, not both: once in place, the logo's own hover styles apply again */
.sps-motion .swall.is-in .sw-logos>*,.sps-motion .ptier.is-in .p-slots>*{opacity:1;translate:0 0;scale:1;animation:sps-rise .8s cubic-bezier(.2,.9,.25,1.12) backwards;animation-delay:calc(min(var(--i,0),14) * 75ms + 380ms)}
.sps-motion .ptier.is-in{transition:opacity .7s ease,translate .7s cubic-bezier(.2,.8,.2,1);opacity:1;translate:0 0}
@keyframes sps-pop{0%{opacity:0;scale:.55}70%{opacity:1;scale:1.08}100%{opacity:1;scale:1}}
@keyframes sps-rise{0%{opacity:0;translate:0 34px;scale:.82;filter:blur(6px)}100%{opacity:1;translate:0 0;scale:1;filter:blur(0)}}

/* 2. A soft light sweeps across each logo in turn; Diamond breathes */
.sps-motion .swall .sw-logos>.p-logo{position:relative;overflow:hidden}
.sps-motion .swall .sw-logos>.p-logo::before{content:"";position:absolute;inset:-2px;z-index:3;pointer-events:none;border-radius:inherit;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.08) 42%,rgba(255,255,255,.42) 50%,rgba(255,255,255,.08) 58%,transparent 70%);translate:-130% 0}
.sps-motion .swall.is-in .sw-logos>.p-logo::before{animation:sps-shine 7s ease-in-out infinite;animation-delay:calc(var(--i,0) * .45s + 1.6s)}
.sps-motion .swall.tc-dia.is-in .sw-logos>.p-logo::before{background:linear-gradient(105deg,transparent 28%,rgba(201,241,255,.12) 40%,rgba(255,255,255,.62) 50%,rgba(201,241,255,.12) 60%,transparent 72%);animation-duration:5.5s}
@keyframes sps-shine{0%{translate:-130% 0}22%{translate:130% 0}100%{translate:130% 0}}
.sps-motion .swall.tc-dia.is-in .sw-pill{animation:sps-pop .75s cubic-bezier(.2,1.5,.35,1) backwards,sps-glow 3.2s ease-in-out 1s infinite}
@keyframes sps-glow{0%,100%{filter:brightness(1) drop-shadow(0 0 0 #67D4F500)}50%{filter:brightness(1.12) drop-shadow(0 0 14px #67D4F5AA)}}

/* 3. With a mouse: the logo tilts towards the pointer and a light follows it */
.sps-motion .swall .sw-logos>.p-logo::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .25s;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.28),transparent 55%)}
@media (hover:hover) and (pointer:fine){
  .sps-motion .swall .sw-logos>.p-logo:hover{transform:perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-6px)}
  .sps-motion .swall .sw-logos>.p-logo:hover::after{opacity:1}
}

/* Each edition's heading and count above its wall (owner, 24 Nov 2026) */
.sps-head{margin-bottom:34px}
.sps-wall .partners .tiers{margin-top:34px}

/* The invitation to sponsor iSmile 2027 (owner, 24 Nov 2026). Dark in both
   themes: the copy and two buttons on one side, the five levels as coloured
   badges stepping down on the other. */
.sps-cta{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,56px);
  margin-top:72px;padding:clamp(28px,4.5vw,52px);border-radius:28px;border:1px solid rgba(127,214,210,.25);color:#fff;
  background:radial-gradient(70% 90% at 100% 0%,rgba(22,166,161,.32),transparent 65%),linear-gradient(135deg,var(--navy-2),var(--navy) 60%,#0E5F63);box-shadow:0 36px 70px -46px rgba(0,0,0,.85)}
.sps-cta::before{content:"";position:absolute;z-index:-1;inset-block-start:-40%;inset-inline-end:-12%;width:min(460px,60%);aspect-ratio:1;border-radius:50%;border:1px solid rgba(127,214,210,.14);box-shadow:0 0 0 36px rgba(127,214,210,.04),0 0 0 72px rgba(127,214,210,.025)}
.sps-cta-copy{display:grid;gap:12px;justify-items:start}
.sps-cta-chip{margin:0;padding:6px 13px;border-radius:999px;background:rgba(22,166,161,.2);border:1px solid rgba(127,214,210,.35);color:#BDF1ED;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
html[dir="rtl"] .sps-cta-chip{letter-spacing:0}
.sps-cta h2{margin:0;font-size:clamp(26px,3.2vw,38px);line-height:1.12;letter-spacing:-.02em;color:#fff;text-wrap:balance}
.sps-cta-text{margin:0;max-width:52ch;color:#CBE2E4;font-size:16px;line-height:1.6}
.sps-cta-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.sps-cta-actions .btn{min-height:50px;padding-inline:24px;gap:8px}
.sps-cta-ghost{color:#fff;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.06)}
.sps-cta-ghost:hover{border-color:#fff;background:rgba(255,255,255,.12)}
html[dir="rtl"] .sps-cta-actions .btn svg{transform:scaleX(-1)}
.sps-tiers{list-style:none;margin:0;padding:0;display:grid;gap:10px;justify-items:end}
html[dir="rtl"] .sps-tiers{justify-items:start}
.sps-tier{display:inline-flex;align-items:center;gap:10px;width:var(--w);padding:11px 18px;border-radius:999px;font-size:15px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:#0B1F27;background:linear-gradient(90deg,var(--a),var(--b));box-shadow:0 10px 24px -14px var(--b)}
html[dir="rtl"] .sps-tier{letter-spacing:0}
.sps-tier svg{width:18px;height:18px;flex:none}
.sps-tier.t-dia{--w:100%;--a:#C9F1FF;--b:#2B9BD8}
.sps-tier.t-plat{--w:90%;--a:#FFFFFF;--b:#9AACBA}
.sps-tier.t-gold{--w:80%;--a:#FFE7A3;--b:#E0A82E}
.sps-tier.t-silver{--w:70%;--a:#E6EEF2;--b:#A3B3BE}
.sps-tier.t-bronze{--w:60%;--a:#F3CDB1;--b:#C97A4C}
@media (max-width:760px){.sps-cta{grid-template-columns:1fr}.sps-tiers{justify-items:stretch}.sps-tier{width:auto}}
