/* Barbados 60 & 5: original artwork, national pride, the Cup's blue and gold.
   Decoration stays inside this banner or the unused desktop gutters. */
.tpc-anniversary-strip {
  box-sizing: border-box; position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center;
  gap: 12px 16px; width: min(1240px, calc(100% - 2rem)); margin: .8rem auto 1.2rem;
  padding: 18px 18px 14px; border: 1px solid var(--cup-yellow, #f1c30b);
  border-radius: 24px; color: #fff;
  background: radial-gradient(ellipse at 100% 0%, #f1c30b30, transparent 52%),
    linear-gradient(120deg, var(--cup-blue, #001e8e), var(--cup-blue-deep, #00145f) 65%, #000d40);
  box-shadow: 0 12px 34px #00145f20, inset 0 1px 0 #fff3;
}
.tpc-anniversary-strip::before, .tpc-anniversary-strip::after {
  content: ''; position: absolute; pointer-events: none; z-index: -1;
}
/* Gold ribbon and engraved sunburst echo a ceremonial pennant. */
.tpc-anniversary-strip::before {
  inset: 0 0 auto; height: 5px;
  background: linear-gradient(90deg, var(--cup-yellow), #fff0 28%, var(--cup-yellow) 70%, #fff3);
}
.tpc-anniversary-strip::after {
  width: 420px; height: 420px; right: -220px; top: -180px;
  border: 1px solid #f1c30b40; border-radius: 50%;
  box-shadow: 0 0 0 28px #f1c30b07, 0 0 0 29px #f1c30b25,
    0 0 0 60px #f1c30b07, 0 0 0 61px #f1c30b18;
}
.tpc-anniversary-mark {
  box-sizing: border-box; position: relative; display: grid; place-items: center;
  width: 64px; padding: 6px; background: #fff;
  border: 2px solid var(--cup-yellow, #f1c30b); border-radius: 14px;
  box-shadow: 0 0 0 5px #f1c30b18, 0 8px 22px #000d403d;
}
.tpc-anniversary-mark img, .tpc-anniversary-plaque-art img {
  display: block; width: 100%; height: auto; object-fit: contain;
  filter: none; mix-blend-mode: normal;
}
.tpc-anniversary-copy { min-width: 0; position: relative; }
.tpc-anniversary-eyebrow {
  display: block; margin-bottom: 7px; color: #f8e185; font-size: .6rem;
  font-weight: 800; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase;
}
.tpc-anniversary-copy strong {
  display: block; color: #fff; font-size: clamp(1.42rem, 5.7vw, 2rem);
  font-weight: 900; line-height: 1.04; letter-spacing: -.04em;
}
.tpc-anniversary-copy strong > span { display: block; }
.tpc-anniversary-copy strong > span:last-child { color: var(--cup-yellow, #f1c30b); }
.tpc-anniversary-message { margin: 8px 0 0; color: #e4eaff; font-size: .75rem; font-weight: 500; line-height: 1.45; }
.tpc-anniversary-milestones {
  position: relative; grid-column: 1 / -1; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  padding-top: 12px; border-top: 1px solid #f1c30b55;
}
.tpc-anniversary-milestone { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tpc-anniversary-milestone + .tpc-anniversary-milestone { border-left: 1px solid #ffffff2e; padding-left: 12px; }
.tpc-anniversary-milestone b { color: var(--cup-yellow, #f1c30b); font-size: 1.9rem; font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.tpc-anniversary-milestone > span { color: #fff; font-size: .7rem; line-height: 1.4; max-width: 96px; }
@media (max-width: 359px) {
  .tpc-anniversary-milestone { display: grid; gap: 4px; }
}
.tpc-anniversary-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.tpc-anniversary-confetti > span {
  position: absolute; left: var(--x); top: 0; width: 5px; height: 100%;
}
.tpc-anniversary-confetti > span::before {
  content: ''; position: absolute; left: 0; top: var(--y); width: 100%; height: var(--piece-height, 10px);
  background: var(--piece-color, var(--cup-yellow, #f1c30b)); opacity: .6; transform: rotate(var(--turn));
}
.tpc-anniversary-confetti > span:nth-child(1) { --x: 3%; --y: 14%; --turn: -30deg; --duration: 11s; --delay: -1s; --drift: 18px; }
.tpc-anniversary-confetti > span:nth-child(2) { --x: 9%; --y: 85%; --turn: 45deg; --duration: 14s; --delay: -8s; --drift: -14px; }
.tpc-anniversary-confetti > span:nth-child(3) { --x: 16%; --y: 6%; --turn: 60deg; --duration: 10s; --delay: -4s; --drift: 12px; --piece-height: 5px; }
.tpc-anniversary-confetti > span:nth-child(4) { --x: 23%; --y: 90%; --turn: -40deg; --duration: 13s; --delay: -11s; --drift: -20px; --piece-color: #fff; }
.tpc-anniversary-confetti > span:nth-child(5) { --x: 30%; --y: 12%; --turn: 35deg; --duration: 12s; --delay: -6s; --drift: 16px; }
.tpc-anniversary-confetti > span:nth-child(6) { --x: 36%; --y: 86%; --turn: 75deg; --duration: 15s; --delay: -3s; --drift: -12px; }
.tpc-anniversary-confetti > span:nth-child(7) { --x: 42%; --y: 25%; --turn: -55deg; --duration: 11s; --delay: -9s; --drift: 20px; --piece-color: #fff; }
.tpc-anniversary-confetti > span:nth-child(8) { --x: 48%; --y: 74%; --turn: 30deg; --duration: 14s; --delay: -5s; --drift: -18px; --piece-height: 5px; }
.tpc-anniversary-confetti > span:nth-child(9) { --x: 54%; --y: 36%; --turn: -20deg; --duration: 13s; --delay: -2s; --drift: 14px; }
.tpc-anniversary-confetti > span:nth-child(10) { --x: 60%; --y: 58%; --turn: 65deg; --duration: 10s; --delay: -7s; --drift: -16px; }
.tpc-anniversary-confetti > span:nth-child(11) { --x: 66%; --y: 19%; --turn: -45deg; --duration: 15s; --delay: -12s; --drift: 12px; --piece-color: #fff; }
.tpc-anniversary-confetti > span:nth-child(12) { --x: 72%; --y: 78%; --turn: 40deg; --duration: 12s; --delay: -3s; --drift: -20px; --piece-height: 5px; }
.tpc-anniversary-confetti > span:nth-child(13) { --x: 78%; --y: 44%; --turn: -65deg; --duration: 14s; --delay: -10s; --drift: 18px; }
.tpc-anniversary-confetti > span:nth-child(14) { --x: 84%; --y: 8%; --turn: 20deg; --duration: 11s; --delay: -5s; --drift: -12px; --piece-color: #fff; }
.tpc-anniversary-confetti > span:nth-child(15) { --x: 90%; --y: 64%; --turn: -35deg; --duration: 13s; --delay: -7s; --drift: 14px; }
.tpc-anniversary-confetti > span:nth-child(16) { --x: 96%; --y: 30%; --turn: 55deg; --duration: 12s; --delay: -10s; --drift: -18px; --piece-height: 5px; }
.tpc-anniversary-rails { display: none; }
body.tpc-site-dark-mode .tpc-anniversary-strip {
  border-color: var(--cup-yellow, #f1c30b);
  box-shadow: 0 12px 34px #0008, 0 0 30px #f1c30b0a, inset 0 1px 0 #fff3;
}
/* Homepage masthead; match pages retain a more compact treatment. */
@media (min-width: 768px) {
  .tpc-anniversary-strip { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 24px; padding: 18px 28px; }
  .tpc-anniversary-copy strong { font-size: 1.6rem; }
  .tpc-anniversary-copy strong > span { display: inline; }
  .tpc-anniversary-copy strong > span + span::before { content: ' '; }
  .tpc-anniversary-eyebrow { font-size: .6rem; }
  .tpc-anniversary-message { font-size: .75rem; }
  .tpc-anniversary-milestones { grid-column: auto; width: 210px; padding: 0 0 0 22px; border-top: 0; border-left: 1px solid #f1c30b55; gap: 18px; }
  .tpc-anniversary-milestone { display: grid; gap: 6px; align-content: center; }
  .tpc-anniversary-milestone + .tpc-anniversary-milestone { padding-left: 18px; }
  .tpc-anniversary-milestone b { font-size: 2.4rem; }
  .tpc-anniversary-milestone > span { font-size: .7rem; }
  .tpc-anniversary-home { grid-template-columns: 100px minmax(0, 1fr) auto; padding: 26px 32px; gap: 30px; }
  .tpc-anniversary-home .tpc-anniversary-mark { width: 100px; padding: 9px; border-radius: 20px; }
  .tpc-anniversary-home .tpc-anniversary-copy strong { font-size: clamp(2.1rem, 3.5vw, 3.1rem); }
  .tpc-anniversary-home .tpc-anniversary-copy strong > span { display: block; }
  .tpc-anniversary-home .tpc-anniversary-copy strong > span + span::before { content: none; }
  .tpc-anniversary-home .tpc-anniversary-eyebrow { font-size: .65rem; margin-bottom: 10px; }
  .tpc-anniversary-home .tpc-anniversary-message { font-size: .8rem; }
  .tpc-anniversary-home .tpc-anniversary-milestone b { font-size: 3.4rem; }
}
@media (min-width: 1100px) {
  .tpc-anniversary-home { padding: 28px 48px; gap: 40px; }
  .tpc-anniversary-home .tpc-anniversary-milestones { width: 276px; padding-left: 36px; gap: 26px; }
  .tpc-anniversary-home .tpc-anniversary-milestone + .tpc-anniversary-milestone { padding-left: 26px; }
  .tpc-anniversary-home .tpc-anniversary-milestone b { font-size: 4.2rem; }
  .tpc-anniversary-home .tpc-anniversary-milestone > span { font-size: .75rem; }
}
/* Non-interactive ceremonial pennants only in spare 1240px-layout gutters.
   80px at 1440px, rising to 128px as the gutter widens. */
@media (min-width: 1440px) {
  .tpc-anniversary-rails { display: block; pointer-events: none; --anniversary-rail-width: clamp(80px, calc(80px + (100vw - 1440px) * .2), 128px); }
  .tpc-anniversary-plaque {
    box-sizing: border-box; position: fixed; top: 50%; transform: translateY(-50%); z-index: 0;
    display: grid; justify-items: center; gap: 7px; width: var(--anniversary-rail-width); padding: 12px 7px 22px;
    background: linear-gradient(145deg, var(--cup-blue), var(--cup-blue-deep));
    border-top: 3px solid var(--cup-yellow); border-radius: 12px 12px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 10px), 0 100%);
    pointer-events: none; user-select: none;
  }
  .tpc-anniversary-plaque-left { left: calc((100% - 1240px) / 4 - var(--anniversary-rail-width) / 2); }
  .tpc-anniversary-plaque-right { right: calc((100% - 1240px) / 4 - var(--anniversary-rail-width) / 2); }
  .tpc-anniversary-plaque-art { display: block; width: 100%; padding: 6px; border-radius: 8px; background: #fff; box-sizing: border-box; border: 1px solid var(--cup-yellow); }
  .tpc-anniversary-plaque-kicker { color: #fff; font-size: .5rem; font-weight: 800; letter-spacing: .12em; }
  .tpc-anniversary-plaque-year { color: var(--cup-yellow); font-weight: 900; font-size: 1.15rem; line-height: 1; }
  .tpc-anniversary-plaque-foot { color: #fff; font-size: .43rem; letter-spacing: .1em; font-weight: 700; }
}
@media (min-width: 1680px) {
  .tpc-anniversary-plaque { padding: 16px 10px 28px; gap: 10px; }
  .tpc-anniversary-plaque-kicker { font-size: .64rem; }
  .tpc-anniversary-plaque-year { font-size: 1.5rem; }
  .tpc-anniversary-plaque-foot { font-size: .55rem; }
}
/* Full-height tracks make the fall responsive without layout reads or timers.
   Negative phases keep the shower continuous, including the very first frame. */
@media (prefers-reduced-motion: no-preference) {
  .tpc-anniversary-confetti > span { animation: tpc-anniversary-fall var(--duration) linear var(--delay) infinite; }
  .tpc-anniversary-confetti > span::before { top: 0; animation: tpc-anniversary-twirl 4s linear var(--delay) infinite; }
}
@keyframes tpc-anniversary-fall {
  0% { opacity: 0; transform: translate3d(0, -16px, 0); }
  10% { opacity: 1; }
  50% { transform: translate3d(var(--drift), 50%, 0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(0, calc(100% + 16px), 0); }
}
@keyframes tpc-anniversary-twirl {
  0% { transform: rotate(var(--turn)) rotateY(0deg); }
  100% { transform: rotate(calc(var(--turn) + 360deg)) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tpc-anniversary-confetti > span, .tpc-anniversary-confetti > span::before { animation: none; }
}
@media print {
  .tpc-anniversary-strip, .tpc-anniversary-rails { display: none !important; }
}
