/* ============================================================
   Sampoll /sweepstakes 2026 — extends the home-2026 design system.
   Loaded AFTER home-2026.css (+ blog-2026.css via BaseLayout);
   uses its :root tokens (--ink, --blue, --yellow, --paper, --line,
   --font-*, --radius…). Only sweepstakes-specific sp-sweep-*
   classes live here — never restyle sp-* classes owned elsewhere.
   ============================================================ */

/* ---------- hero: take a number ---------- */

.sp-sweep-hero {
  padding: 64px 0 72px;
}

.sp-sweep-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 24px 56px;
  align-items: center;
}

.sp-sweep-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 7.2vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0.004em;
  max-width: 16ch;
  text-wrap: balance;
}

.sp-sweep-hero__copy h1 em {
  font-style: normal;
  color: var(--blue);
}

.sp-sweep-hero__sub {
  margin-top: 22px;
  font-size: 1.14rem;
  color: var(--text-soft);
  max-width: 54ch;
}

.sp-sweep-hero__sub strong {
  color: var(--ink);
  font-weight: 700;
}

.sp-sweep-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 12px;
}

.sp-sweep-hero__channels {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

/* ---------- hero scene: serving sign, dispenser, the list ---------- */

.sp-sweep-scene {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.sp-sweep-serving {
  background: var(--ink);
  border: 1px solid #3a3b42;
  border-radius: var(--radius);
  padding: 12px 26px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(22, 23, 26, 0.25);
}

.sp-sweep-serving__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9a9ca3;
}

.sp-sweep-serving__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--red);
  text-shadow: 0 0 14px rgba(224, 69, 43, 0.55);
  font-variant-numeric: tabular-nums;
}

.sp-sweep-dispenser {
  position: relative;
  margin-bottom: 56px;
  filter: drop-shadow(0 12px 18px rgba(22, 23, 26, 0.28));
}

/* Clip window under the slot: a feeding ticket emerges from behind it */
.sp-sweep-ticketslot {
  position: absolute;
  top: 102px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: 92px;
  overflow: hidden;
  pointer-events: none;
}

.sp-sweep-ticket {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 150px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 3px 3px 0 0;
  padding: 8px 10px 12px;
  font-family: var(--font-mono);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 95% 100%, 90% calc(100% - 5px), 85% 100%, 80% calc(100% - 5px), 75% 100%, 70% calc(100% - 5px), 65% 100%, 60% calc(100% - 5px), 55% 100%, 50% calc(100% - 5px), 45% 100%, 40% calc(100% - 5px), 35% 100%, 30% calc(100% - 5px), 25% 100%, 20% calc(100% - 5px), 15% 100%, 10% calc(100% - 5px), 5% 100%, 0 calc(100% - 5px));
}

.sp-sweep-ticket__no {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sp-sweep-ticket__hint {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
  color: rgba(22, 23, 26, 0.72);
}

.has-anim .sp-sweep-ticket--pop {
  animation: sp-sweep-feed 0.6s cubic-bezier(0.34, 1.3, 0.5, 1);
}

@keyframes sp-sweep-feed {
  from {
    transform: translate(-50%, -84px) rotate(-2deg);
  }
  to {
    transform: translate(-50%, 0) rotate(-2deg);
  }
}

.sp-sweep-serving__num {
  display: block;
}

.has-anim .sp-sweep-tick {
  animation: sp-sweep-tickin 0.35s ease-out;
}

@keyframes sp-sweep-tickin {
  from {
    transform: translateY(-6px);
    opacity: 0.2;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.has-anim .sp-sweep-rowin {
  animation: sp-sweep-rowin 0.45s ease-out;
}

@keyframes sp-sweep-rowin {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sp-sweep-list {
  margin-top: 8px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px 18px;
  width: min(300px, 88vw);
  box-shadow: 0 14px 34px rgba(22, 23, 26, 0.18);
  font-family: var(--font-mono);
}

.sp-sweep-list__head {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 8px;
}

.sp-sweep-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-sweep-list li {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 6px 0;
  border-top: 1px dashed var(--line);
  white-space: nowrap;
}

.sp-sweep-list__foot {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--blue);
  font-weight: 700;
  margin: 8px 0 0;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}

/* ---------- how to run a sweepstakes: ticket steps ---------- */

.sp-sweep-how {
  padding: 96px 0;
}

.sp-sweep-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-sweep-step {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  transform: rotate(var(--tilt, 0deg));
  box-shadow: 0 10px 24px rgba(22, 23, 26, 0.1);
}

.sp-sweep-step__no {
  display: inline-block;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.sp-sweep-step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.22rem;
  line-height: 1.1;
  margin: 0 0 8px;
}

.sp-sweep-step p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.sp-sweep-step a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.sp-sweep-step a:hover {
  color: var(--blue-deep);
}

.sp-sweep-samrow {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ---------- own the list: belt band ---------- */

.sp-sweep-own {
  position: relative;
  background: var(--ink);
  background-image: var(--belt-rib);
  padding: 96px 0;
}

.sp-sweep-own::before,
.sp-sweep-own::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--steel-rail);
}

.sp-sweep-own::before {
  top: 0;
}

.sp-sweep-own::after {
  bottom: 0;
  transform: scaleY(-1);
}

.sp-sweep-own__head {
  max-width: 720px;
  margin-bottom: 40px;
}

.sp-sweep-own__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--white);
  text-wrap: balance;
}

.sp-sweep-own__head h2 em {
  font-style: normal;
  color: var(--yellow);
}

.sp-sweep-own__head p {
  margin-top: 14px;
  font-size: 1.06rem;
  color: #c9cbd2;
  max-width: 58ch;
}

.sp-sweep-own__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 26px;
  align-items: stretch;
}

.sp-sweep-own__panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sp-sweep-own__panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.35rem;
  line-height: 1.1;
  margin: 0 0 10px;
}

.sp-sweep-own__panel--feed {
  background: #232429;
  border: 1px solid #3a3b42;
}

.sp-sweep-own__panel--feed h3 {
  color: var(--white);
}

.sp-sweep-own__panel--feed > p {
  color: #9a9ca3;
  font-size: 0.98rem;
}

.sp-sweep-own__feedgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.sp-sweep-own__tile {
  background: #2a2c31;
  border-radius: 8px;
  padding: 18px 10px;
  font-family: var(--font-mono);
  /* 0.62rem is the documented Label floor; #9a9ca3 on #2a2c31 clears 4.5:1
     (was 0.6rem / #85878d at 3.9:1). Matches the /dtc tile grid. */
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: #9a9ca3;
  text-align: center;
}

.sp-sweep-own__tile b {
  display: block;
  width: 20px;
  height: 20px;
  background: #3a3b42;
  border-radius: 50%;
  margin: 0 auto 8px;
}

/* "Your post" stays clearly brighter than the five dead tiles — the tiles were
   lifted to #9a9ca3 for AA, which would otherwise flatten the asymmetry. */
.sp-sweep-own__tile--you {
  border: 1.5px dashed #c9cbd2;
  color: var(--white);
}

.sp-sweep-own__panel--counter {
  background: var(--white);
  box-shadow: 0 0 0 4px var(--yellow), 0 24px 50px rgba(0, 0, 0, 0.5);
}

.sp-sweep-own__panel--counter h3 {
  color: var(--ink);
}

.sp-sweep-own__panel--counter > p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.sp-sweep-own__card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 18px;
}

.sp-sweep-own__cardhead {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 16px;
}

.sp-sweep-own__cardrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
}

.sp-sweep-own__cardrow + .sp-sweep-own__cardrow {
  border-top: 1px solid var(--line);
}

.sp-sweep-own__cardrow svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- one entry, itemized ---------- */

.sp-sweep-data {
  padding: 96px 0;
}

.sp-sweep-data__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px 64px;
  align-items: center;
}

.sp-sweep-data__copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.sp-sweep-data__copy h2 em {
  font-style: normal;
  color: var(--blue);
}

.sp-sweep-data__copy > p {
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--text-soft);
  max-width: 58ch;
}

.sp-sweep-data__copy > p strong {
  color: var(--ink);
}

.sp-sweep-data__points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.sp-sweep-data__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}

.sp-sweep-data__points svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.sp-sweep-data__points span {
  color: var(--text-soft);
}

.sp-sweep-data__points strong {
  color: var(--ink);
}

.sp-sweep-data__receiptwrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.sp-sweep-clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 16px;
  background: var(--steel-rail);
  border-radius: 4px;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(22, 23, 26, 0.35);
}

/* ---------- two lanes + proof ---------- */

.sp-sweep-lanes {
  padding: 96px 0 40px;
}

.sp-sweep-lanes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.sp-sweep-proof {
  padding: 56px 0 96px;
}

.sp-sweep-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.sp-sweep-proof__note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  max-width: 72ch;
}

.sp-sweep-proof__note a {
  color: var(--blue);
}

/* ---------- faq ---------- */

.sp-sweep-faq {
  padding: 0 0 96px;
}

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .sp-sweep-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sp-sweep-scene {
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .sp-sweep-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .sp-sweep-own__grid,
  .sp-sweep-data__grid,
  .sp-sweep-lanes__grid,
  .sp-sweep-proof__grid {
    grid-template-columns: 1fr;
  }

  .sp-sweep-data__grid {
    gap: 56px;
  }
}

@media (max-width: 560px) {
  .sp-sweep-hero {
    padding: 48px 0 64px;
  }

  .sp-sweep-how,
  .sp-sweep-data,
  .sp-sweep-own {
    padding: 72px 0;
  }

  .sp-sweep-steps {
    grid-template-columns: 1fr;
  }

  .sp-sweep-hero__actions .sp-btn {
    width: 100%;
    justify-content: center;
  }

  .sp-sweep-serving__num {
    font-size: 2.1rem;
  }

  .sp-sweep-list li {
    white-space: normal;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .has-anim .sp-sweep-ticket--pop,
  .has-anim .sp-sweep-tick,
  .has-anim .sp-sweep-rowin {
    animation: none;
  }
}
