/* John's rebuild of the sponsor page (31 Oct 2026): a centered hero like the calendar and the Conference & Expo, the ways to sponsor as tiles, the numbers and past sponsors, one short section per way in, and the sponsor book as the call to action. Loaded only by the sponsor page. */

/* Hero */
.sp2-hero .sp-top { min-height: calc(100svh - 4.5rem); justify-content: center; box-sizing: border-box; }
.sp-top .cal-off--top { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2vw, 1.5rem); width: min(100%, 62rem); margin: 0 0 clamp(1rem, 2.2vw, 1.6rem); font: 800 clamp(1.7rem, 4.4vw, 3.6rem)/1 var(--display); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); text-shadow: 0 0 26px rgb(34 184 176 / .35); }
.sp-top .cal-off--top b { font-weight: 800; white-space: nowrap; }
.sp-top .cal-off--top .ln { flex: 1; height: 2px; min-width: 1.5rem; background: linear-gradient(90deg, transparent, var(--teal)); }
.sp-top .cal-off--top .ln:last-child { background: linear-gradient(90deg, var(--teal), transparent); }
.sp-top h1.cal-logo { font-size: min(7vw, 6rem); }
.sp-top .cal-when { margin-top: clamp(.8rem, 1.6vw, 1.1rem); }
.sp-top .cal-line { max-width: none; margin-top: .6rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
@media (max-width: 30rem) { .sp-top .cal-off--top { letter-spacing: .08em; font-size: 8vw; font-stretch: 100%; } .sp-top .cal-off--top .ln { display: none; } .sp-top h1.cal-logo { font-size: 11vw; } }

/* ETHDenver pink buttons */
.btn.sp-ed { background: #EF3E9B; border: 1px solid #EF3E9B; color: #fff; }
.btn.sp-ed:hover { background: #F25FAD; border-color: #F25FAD; color: #fff; }

/* The ways to sponsor: five photo cards from past weeks, no icons and no heading (John, 1 Nov). Duotone at rest, full color on hover. */
.sp-tiles { list-style: none; margin: clamp(2rem, 4.5vh, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; width: min(100%, 68rem); }
.sp-tiles a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); color: #fff; text-decoration: none; isolation: isolate; }
.sp-tiles a > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.8); transform: scale(1.02); transition: filter .35s ease, transform .5s ease; z-index: -2; }
.sp-tiles a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 16 19 / .05) 30%, rgb(7 16 19 / .55) 62%, rgb(7 16 19 / .95)), linear-gradient(180deg, rgb(34 184 176 / .22), rgb(34 184 176 / .08)); mix-blend-mode: normal; transition: opacity .35s ease; }
.sp-tiles a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease; }
.sp-tiles b { position: absolute; left: .95rem; right: .95rem; bottom: 1.05rem; font: 800 clamp(1.05rem, 1.55vw, 1.4rem)/1.02 var(--display); font-stretch: 80%; text-transform: uppercase; text-align: left; letter-spacing: .01em; text-wrap: balance; text-shadow: 0 2px 14px rgb(0 0 0 / .6); }
.sp-tiles a:hover > img, .sp-tiles a:focus-visible > img { filter: none; transform: scale(1.07); }
.sp-tiles a:hover::after, .sp-tiles a:focus-visible::after { transform: scaleX(1); }
.sp-tiles a:hover, .sp-tiles a:focus-visible { border-color: var(--teal); }
.sp-tiles a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.sp-tiles .pk a::before { background: linear-gradient(180deg, rgb(7 16 19 / .05) 30%, rgb(26 8 22 / .6) 62%, rgb(20 6 18 / .96)), linear-gradient(180deg, rgb(239 62 155 / .3), rgb(239 62 155 / .1)); }
.sp-tiles .pk a::after { background: #EF3E9B; }
.sp-tiles .pk a:hover, .sp-tiles .pk a:focus-visible { border-color: #EF3E9B; }
.sp-tiles .ed-mk { position: absolute; top: .85rem; left: .9rem; width: 34%; }
.sp-tiles .ed-mk img { width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 10px rgb(0 0 0 / .5)); }
.sp-gen { margin: 1rem 0 0; font-size: .95rem; }
.sp-gen a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.sp-gen a:hover { color: var(--teal-ink); border-color: var(--teal); }
@media (max-width: 52rem) { .sp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .sp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-tiles li:last-child { grid-column: 1 / -1; } .sp-tiles li:last-child a { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .sp-tiles a > img, .sp-tiles a::after { transition: none; } }

/* The page menu sticks under the header (as on the Conference & Expo page) */
.cf-nav { position: sticky; top: var(--mast-h, 4.1rem); z-index: 15; background: rgb(7 16 19 / .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cf-nav ol { align-items: center; }
.cf-nav li.cf-nav-tix { margin-left: auto; }
.cf-nav li.cf-nav-tix a { padding: .5rem 1.2rem; margin: .45rem 0; border-radius: 2px; background: var(--teal); color: var(--night); }
.cf-nav li.cf-nav-tix a::before { color: var(--night); }
.cf-nav li.cf-nav-tix a:hover { background: #3FCDC4; color: var(--night); }
@media (max-width: 40rem) { .cf-nav li.cf-nav-tix { margin-left: 0; grid-column: 1 / -1; } .cf-nav li.cf-nav-tix a { justify-content: center; } }

/* The numbers and the walls */
.sp-feat, .sp-proof { scroll-margin-top: 3.8rem; }   /* land below the sticky menu */
/* Shorter laptop screens: square cards and a tighter top, so the hero still fits on one screen */
@media (min-width: 52.01rem) and (max-height: 820px) {
  .sp2-hero .sp-top { padding-top: 1rem; padding-bottom: 1rem; }
  .sp-top .cal-off--top { font-size: clamp(1.5rem, 3.6vw, 2.8rem); margin-bottom: .8rem; }
  .sp-top h1.cal-logo { font-size: min(6vw, 5rem); }
  .sp-tiles { margin-top: 1.5rem; width: min(100%, 60rem); }
  .sp-tiles a { aspect-ratio: 1 / 1; }
}

/* Nine seasons in Denver: the numbers over a crowd photo, counting up as they come into view (John, 1 Nov) */
.sp-proof { padding-top: 0; }
.sp-stats { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); isolation: isolate; border-bottom: 1px solid var(--line); }
.sp-stats-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) brightness(.55); }
.sp-stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 30% 40%, rgb(34 184 176 / .28), transparent 60%), linear-gradient(180deg, rgb(7 16 19 / .55), rgb(7 16 19 / .92)); }
.sp-stats h2 { margin: 0; font: 800 clamp(1rem, 1.6vw, 1.2rem)/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--teal-ink); }
.sp-stats h2 span { color: #fff; }
.sp-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2em .5em; margin-top: clamp(.75rem, 2vw, 1.25rem); }
.sp-big b { font: 800 clamp(4.5rem, 14vw, 11rem)/.85 var(--display); font-stretch: 75%; color: #fff; letter-spacing: -.01em; text-shadow: 0 0 50px rgb(34 184 176 / .45); font-variant-numeric: tabular-nums; }
.sp-big span { font: 800 clamp(1.6rem, 3.6vw, 3rem)/1 var(--display); font-stretch: 80%; text-transform: uppercase; color: var(--teal-ink); }
.sp-row4 { list-style: none; margin: clamp(1.75rem, 4vw, 2.75rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-row4 li { display: flex; flex-direction: column; gap: .4rem; padding: .25rem clamp(.75rem, 2.5vw, 1.75rem); border-left: 2px solid rgb(34 184 176 / .55); }
.sp-row4 b { font: 800 clamp(2.4rem, 5vw, 4rem)/.9 var(--display); font-stretch: 75%; color: #fff; font-variant-numeric: tabular-nums; }
.sp-row4 span { font: 650 clamp(1rem, 1.5vw, 1.2rem)/1.25 var(--display); color: #C9D6D4; }
@media (max-width: 44rem) { .sp-row4 { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; } }
.sp-proof .lwall { margin-top: clamp(2rem, 4vw, 3rem); }

/* One feature per way in: a photo and a short pitch, alternating sides, each with Get the sponsor book (John, 1 Nov) */
.sp-feat { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--line); }
.sp-feat:nth-of-type(even) { background: linear-gradient(180deg, rgb(34 184 176 / .045), transparent 70%); }
.sp-f { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.sp-feat.rev .sp-ph { order: 2; }
.sp-ph { position: relative; margin: 0; aspect-ratio: 16 / 11; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.sp-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05) brightness(.85); transition: filter .5s ease, transform .8s ease; z-index: -2; }
.sp-ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgb(34 184 176 / .28), transparent 55%), linear-gradient(0deg, rgb(7 16 19 / .55), transparent 45%); transition: opacity .5s ease; }
.sp-ph::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 4px; background: var(--teal); transition: width .5s ease; }
.sp-feat:hover .sp-ph > img { filter: none; transform: scale(1.04); }
.sp-feat:hover .sp-ph::before { opacity: .45; }
.sp-feat:hover .sp-ph::after { width: 100%; }
.sp-tx h2 { margin: 0 0 .8rem; font: 800 clamp(2.2rem, 4.4vw, 3.6rem)/.95 var(--display); font-stretch: 78%; text-transform: uppercase; text-wrap: balance; }
.sp-tx > p { margin: 0 0 1.1rem; max-width: 32em; color: var(--muted); font-size: 1.08rem; }
.sp-tx .ctas { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .65rem; }
.sp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sp-list li { padding: .8rem 0 .8rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; font-size: 1.04rem; color: var(--ink); }
.sp-list li::before { content: ""; position: absolute; left: .2rem; top: 1.3rem; width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg); }
/* ETHDenver 10: its own pink, and its logo on the photo */
.sp-feat.pk { background: linear-gradient(180deg, rgb(239 62 155 / .07), transparent 75%); }
.sp-feat.pk .sp-ph::before { background: linear-gradient(200deg, rgb(239 62 155 / .35), transparent 55%), linear-gradient(0deg, rgb(20 6 18 / .6), transparent 45%); }
.sp-feat.pk .sp-ph::after, .sp-feat.pk .sp-list li::before { background: #EF3E9B; }
.sp-feat.pk .sp-ph .ed-mk { position: absolute; top: 1rem; left: 1rem; width: 22%; }
.sp-feat.pk .sp-ph .ed-mk img { width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 12px rgb(0 0 0 / .55)); }
.sp-feat.pk h2 { color: #fff; }
.btn.btn--edl { background: transparent; border: 1px solid #EF3E9B; color: #F48CC2; }
.btn.btn--edl:hover { background: rgb(239 62 155 / .14); color: #F9B5D9; }
/* Promote an event: the four tiers as colored tags */
.sp-feat.cal .sp-list li { padding-left: 0; display: flex; align-items: baseline; gap: .9rem; color: var(--muted); }
.sp-feat.cal .sp-list li::before { display: none; }
.sp-feat.cal .t { flex: none; min-width: 6.4rem; padding: .28rem .6rem; font: 750 .78rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; text-align: center; border: 1px solid var(--line); color: var(--ink); }
.sp-feat.cal .t1 { background: #F3C892; border-color: #F3C892; color: #071013; }
.sp-feat.cal .t2 { background: var(--teal); border-color: var(--teal); color: #071013; }
.sp-feat.cal .t3 { border-color: var(--teal); color: var(--teal-ink); }
@media (max-width: 52rem) { .sp-f { grid-template-columns: 1fr; } .sp-feat.rev .sp-ph { order: 0; } }
@media (prefers-reduced-motion: reduce) { .sp-ph > img, .sp-ph::after { transition: none; } }
