/* pontardawerfc.com: the kick-off opening, the hero's motion, What's On and
   the club's updates (2026-10-15). Loaded after site.css. Everything here is
   decoration on a page that is already complete: with no script, reduced
   motion or a crawler, none of it runs and nothing is hidden. */

/* --- Kick-off opening (5.7s) --------------------------------------------------
   The owner, 2026-10-15: "5-6 second loading motion animation, properly".
     0.0  floodlights flicker on, the pitch draws itself, loading starts
     0.9  the posts rise; the ball waits on its kicking tee
     1.8  the kick: the ball spins away between the posts, over the bar
     2.9  converted: a gold flash and confetti
     3.3  the crest flips in, with a shine and rings
     4.1  PONTARDAWE RFC, letter by letter; loading reaches 100%
     5.2  the curtain splits and the page, drawn all along underneath, shows
   Once per visit; Skip or a tap ends it; never for reduced motion or a
   crawler. Only html.kick-on (set in the head) shows any of it. */
.kick { display: none; }
html.kick-on .kick {
  --T: 5.2s;
  display: block; position: fixed; inset: 0; z-index: 300; overflow: hidden; cursor: pointer; color: #fff;
  background: radial-gradient(1200px 800px at 50% 110%, #5a0000 0%, #2a0000 45%, #0c0101 100%);
  animation: kick-out .5s cubic-bezier(.7, 0, .3, 1) var(--T) forwards;
}
html.kick-on.kick-skip .kick { animation: kick-out .3s ease forwards; }

/* Floodlights */
.kick-light { position: absolute; top: -10%; width: 70vmax; height: 90vmax; opacity: 0; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255, 244, 214, .22) 175deg, rgba(255, 255, 255, .34) 180deg, rgba(255, 244, 214, .22) 185deg, transparent 200deg);
  animation: kick-flood 1s steps(1) .1s forwards, kick-sway 6s ease-in-out 1.1s infinite alternate; }
.kick-light.l1 { left: -18vmax; transform-origin: 50% 0; rotate: -24deg; }
.kick-light.l2 { right: -18vmax; transform-origin: 50% 0; rotate: 24deg; animation-delay: .32s, 1.3s; }
.kick-light::before { content: ""; position: absolute; left: 50%; top: 9%; width: 70px; height: 26px; translate: -50% 0; border-radius: 10px;
  background: radial-gradient(circle, #fff 0 30%, #ffe9b0 60%, transparent 72%); box-shadow: 0 0 60px 30px rgba(255, 240, 200, .55); }
@keyframes kick-flood { 0% { opacity: .6; } 12% { opacity: 0; } 24% { opacity: .9; } 34% { opacity: .2; } 46%, 100% { opacity: 1; } }
@keyframes kick-sway { to { rotate: var(--sw, -20deg); } }
.kick-light.l2 { --sw: 20deg; }

/* The pitch, drawn in perspective */
.kick-pitch { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; opacity: .9; }
.kick-pitch path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: kick-draw 1.1s cubic-bezier(.3, .7, .2, 1) forwards; }
.kick-pitch path:nth-child(2) { animation-delay: .12s; }
.kick-pitch path:nth-child(3) { animation-delay: .24s; stroke-width: 1.4; stroke: rgba(255, 255, 255, .3); }
.kick-pitch path:nth-child(4) { animation-delay: .34s; stroke-width: 1.2; stroke: rgba(255, 255, 255, .25); }
.kick-pitch path:nth-child(5) { animation-delay: .44s; stroke-width: 1; stroke: rgba(255, 255, 255, .2); }
.kick-pitch .turf { fill: url(#kick-turf); stroke: none; stroke-dasharray: none; animation: kick-turf .9s ease forwards; opacity: 0; }
@keyframes kick-turf { to { opacity: 1; } }
@keyframes kick-draw { to { stroke-dashoffset: 0; } }

/* Posts, ball and tee */
.kick-stage { position: absolute; left: 50%; top: 50%; width: min(560px, 92vw); aspect-ratio: 1; translate: -50% -54%;
  transform: perspective(900px) rotateX(var(--kx, 0deg)) rotateY(var(--ky, 0deg)); transition: transform .25s ease-out; }
.kick-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kick-posts { transform-box: fill-box; transform-origin: 50% 100%; animation: kick-rise .7s cubic-bezier(.2, 1.3, .4, 1) .9s both, kick-fade .5s ease 3.2s forwards; }
.kick-posts path { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .5)); }
.kick-posts .pad { stroke: #c41414; stroke-width: 12; }
@keyframes kick-rise { from { transform: scaleY(0); opacity: 0; } }
@keyframes kick-fade { to { opacity: 0; transform: scale(1.4); } }
.kick-tee { fill: #f2c14e; transform-box: fill-box; transform-origin: 50% 100%; animation: kick-pop .35s cubic-bezier(.2, 1.4, .4, 1) 1.15s both, kick-gone .3s ease 2.1s forwards; }
@keyframes kick-pop { from { transform: scale(0); } }
@keyframes kick-gone { to { opacity: 0; } }
.kick-trail { fill: none; stroke: url(#kick-trail); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: kick-trail 1.05s cubic-bezier(.25, .6, .3, 1) 1.85s forwards; }
@keyframes kick-trail { 75% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 0; } }
.kick-ball { transform-box: fill-box; transform-origin: center; animation:
    kick-place .45s cubic-bezier(.2, 1.3, .4, 1) 1.2s both,
    kick-wind .3s ease-in-out 1.6s,
    kick-flight 1.05s cubic-bezier(.3, .55, .35, 1) 1.85s forwards; }
.kick-ball ellipse { fill: #fff; stroke: #8f0000; stroke-width: 3; }
.kick-ball path { stroke: #8f0000; stroke-width: 2.6; fill: none; stroke-linecap: round; }
@keyframes kick-place { from { transform: translateY(-60px) scale(.4); opacity: 0; } }
@keyframes kick-wind { 50% { transform: rotate(-8deg) translateX(-4px); } }
@keyframes kick-flight {
  0% { transform: translate(0, 0) rotate(0) scale(1); }
  45% { transform: translate(-20px, -200px) rotate(-400deg) scale(.62); }
  85% { opacity: 1; }
  100% { transform: translate(0, -262px) rotate(-760deg) scale(.26); opacity: 0; }
}

/* Converted! */
.kick-flash { position: absolute; left: 50%; top: 22%; width: 10px; height: 10px; border-radius: 50%; translate: -50% -50%; opacity: 0;
  background: #fff; box-shadow: 0 0 80px 60px rgba(242, 193, 78, .8), 0 0 220px 140px rgba(232, 49, 47, .45); animation: kick-flash .9s ease-out 2.85s forwards; }
@keyframes kick-flash { 0% { opacity: 0; scale: .2; } 18% { opacity: 1; scale: 1.6; } 100% { opacity: 0; scale: 3; } }
.kick-confetti { position: absolute; left: 50%; top: 22%; width: 0; height: 0; }
.kick-confetti i { position: absolute; width: 10px; height: 16px; border-radius: 2px; background: var(--c); opacity: 0;
  animation: kick-confetti 1.5s cubic-bezier(.15, .8, .3, 1) calc(2.9s + var(--i) * 12ms) forwards; }
@keyframes kick-confetti {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(0) rotate(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(540deg) translateY(60px); }
}
.kick-cheer { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font: 700 clamp(1.4rem, 5vw, 2.6rem)/1 "Oswald", Impact, sans-serif; letter-spacing: .4em; text-transform: uppercase; color: #f2c14e; opacity: 0; text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
  animation: kick-cheer 1s cubic-bezier(.2, 1.2, .4, 1) 2.95s forwards; }
@keyframes kick-cheer { 0% { opacity: 0; transform: scale(.5); } 25% { opacity: 1; transform: scale(1.08); } 75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.2) translateY(-20px); } }

/* The crest */
.kick-crest-wrap { position: absolute; left: 50%; top: 42%; width: min(240px, 46vw); aspect-ratio: 400 / 496; translate: -50% -50%; perspective: 800px; }
.kick-ring { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 2px solid rgba(242, 193, 78, .7); opacity: 0;
  animation: kick-ring 1.4s ease-out 3.4s forwards; }
.kick-ring.r2 { border-color: rgba(255, 255, 255, .5); border-style: dashed; animation-delay: 3.6s; }
@keyframes kick-ring { 0% { opacity: 0; scale: .4; } 30% { opacity: 1; } 100% { opacity: .35; scale: 1; } }
.kick-crest { position: relative; width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7));
  animation: kick-flip 1s cubic-bezier(.2, 1.1, .3, 1) 3.3s forwards; }
.kick-crest img { width: 100%; height: 100%; object-fit: contain; }
.kick-crest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0;
  -webkit-mask: url(/img/crest-256.webp) center / contain no-repeat; mask: url(/img/crest-256.webp) center / contain no-repeat; animation: kick-shine 1s ease-in-out 4.2s forwards; }
@keyframes kick-flip { 0% { opacity: 0; transform: rotateY(-180deg) scale(.3); } 40% { opacity: 1; } 100% { opacity: 1; transform: rotateY(0) scale(1); } }
@keyframes kick-shine { to { background-position: -50% 0; } }

/* The name, letter by letter */
.kick-word { position: absolute; left: 0; right: 0; top: calc(42% + min(160px, 31vw)); text-align: center; margin: 0; font: 600 clamp(1.5rem, 5.6vw, 2.8rem)/1 "Oswald", Impact, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.kick-word span { display: inline-block; opacity: 0; animation: kick-letter .5s cubic-bezier(.2, 1.3, .4, 1) calc(4.05s + var(--i) * 45ms) forwards; }
.kick-word small { display: block; margin-top: 12px; font: 700 clamp(.62rem, 1.8vw, .8rem)/1 "Montserrat", sans-serif; letter-spacing: .4em; color: #f2c14e; opacity: 0; animation: kick-sub .6s ease 4.7s forwards; }
@keyframes kick-letter { from { opacity: 0; transform: translateY(26px) rotateX(80deg); } to { opacity: 1; transform: none; } }
@keyframes kick-sub { from { opacity: 0; letter-spacing: .9em; } to { opacity: 1; } }

/* Loading */
.kick-load { position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); width: min(320px, 70vw); translate: -50% 0; text-align: center; font: 700 .72rem/1 "Montserrat", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.kick-bar { display: block; height: 3px; margin-bottom: 10px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.kick-bar::before { content: ""; display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #c41414, #f2c14e); animation: kick-bar var(--T) cubic-bezier(.4, .1, .3, 1) forwards; }
@keyframes kick-bar { to { transform: scaleX(1); } }
.kick-skip { position: absolute; right: max(18px, env(safe-area-inset-right)); top: max(18px, env(safe-area-inset-top)); padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .25); color: #fff; font: 700 .8rem/1 "Montserrat", sans-serif; letter-spacing: .08em; cursor: pointer; }
.kick-skip:hover { background: rgba(255, 255, 255, .12); }

/* The curtain: the screen splits from the middle */
@keyframes kick-out { to { clip-path: inset(50% 0 50% 0); visibility: hidden; } }

/* --- Hero ------------------------------------------------------------------- */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero-canvas.on { opacity: 1; }
.hero-title { font-size: clamp(2.6rem, 7.4vw, 5.6rem); }
.ht-line { display: block; overflow: hidden; padding-bottom: .04em; }
.ht-line > span { display: inline-block; }
.js .ht-line > span { animation: ht-up .9s cubic-bezier(.2, .9, .2, 1) backwards; }
.js .ht-line:nth-child(2) > span { animation-delay: .1s; }
.js .ht-line:nth-child(3) > span { animation-delay: .2s; }
html.kick-on .ht-line > span { animation-delay: 5.45s; }
html.kick-on .ht-line:nth-child(2) > span { animation-delay: 5.55s; }
html.kick-on .ht-line:nth-child(3) > span { animation-delay: 5.65s; }
.ht-line.hl > span { background: linear-gradient(90deg, #fff 0%, #ffd2cc 30%, #f2c14e 50%, #ffd2cc 70%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: ht-up .9s cubic-bezier(.2, .9, .2, 1) .1s backwards, shine 5s linear infinite; }
html.kick-on .ht-line.hl > span { animation-delay: 5.55s, 0s; }
@keyframes ht-up { from { transform: translateY(105%) skewY(4deg); } }

.hero-badge { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; transform-style: preserve-3d; }
.hero-badge picture { transform: translateZ(40px); }
.orbit { position: absolute; inset: -6%; width: 112%; height: 112%; overflow: visible; pointer-events: none; }
.orbit-path { fill: none; stroke: rgba(242, 193, 78, .28); stroke-width: 1; stroke-dasharray: 2 7; }
.orbit-ball { offset-path: path("M100 4 a96 96 0 1 1 -0.1 0"); offset-rotate: auto 90deg; animation: orbit 9s linear infinite; }
.orbit-ball ellipse { fill: #fff; stroke: #c41414; stroke-width: 1.6; }
.orbit-ball path { stroke: #c41414; stroke-width: 1.2; fill: none; }
@keyframes orbit { to { offset-distance: 100%; } }

.hero-match { display: inline-grid; grid-template-columns: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; margin-top: 26px; padding: 12px 18px 12px 14px; border-radius: 16px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .7); transition: transform .25s ease, background .25s ease; position: relative; overflow: hidden; }
.hero-match::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .16) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 4s ease-in-out 2s infinite; }
.hero-match:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .14); }
.hm-label { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #f2c14e; }
.hm-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: live 1.6s ease-out infinite; }
.hero-match b { font: 600 1.25rem/1.15 "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.hm-when { grid-column: 1; font-size: .88rem; opacity: .88; }
.hm-count { grid-column: 2; grid-row: 2 / 4; align-self: center; font: 700 .85rem/1.2 "Montserrat", sans-serif; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); text-align: center; white-space: nowrap; }
.hm-count:empty { display: none; }
@keyframes sweep { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes live { to { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }

/* --- Next match, highlighted ------------------------------------------------- */
.next-match { padding: clamp(46px, 7vw, 84px) 0; }
.nm-stripes { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-14deg, transparent 0 46px, rgba(255, 255, 255, .045) 46px 92px); animation: stripes 22s linear infinite; }
@keyframes stripes { to { background-position: 0 -920px; } }
.next-grid { position: relative; display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.next-match.has-poster .next-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.nm-poster { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .12); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, -6deg)); transition: transform .3s ease-out; }
.nm-poster img { width: 100%; height: auto; }
.nm-poster-tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(6px); }
.nm-clock { display: flex; justify-content: center; gap: 10px; margin: 18px 0 6px; }
.nm-clock .box { min-width: 70px; padding: 12px 8px 10px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.nm-clock .box b { display: block; font: 600 clamp(1.8rem, 4.6vw, 2.6rem)/1 "Oswald", sans-serif; font-variant-numeric: tabular-nums; }
.nm-clock .box b.tick { animation: tick .45s ease; }
.nm-clock .box small { display: block; margin-top: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.nm-clock .kicked { font: 600 1.6rem/1 "Oswald", sans-serif; text-transform: uppercase; color: #f2c14e; }
@keyframes tick { from { transform: translateY(-30%); opacity: .2; } }

/* Next to the poster the team names get less room: they shrink, not break. */
@media (min-width: 761px) {
  .next-match.has-poster .nm-side { font-size: clamp(.95rem, 1.9vw, 1.6rem); }
  .next-match.has-poster .nm-side b { overflow-wrap: normal; }
}

/* --- What's on: event tiles -------------------------------------------------- */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.ev-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; margin-bottom: 22px; align-items: start; }
.ev-grid-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-tile { position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); transition: transform .25s ease-out, box-shadow .3s ease; }
.ev-tile:hover { --lift: -4px; box-shadow: var(--shadow-lg); }
.ev-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
/* Each poster at its own shape: they are full of dates and prices, so none is cropped. */
.ev-poster { position: relative; overflow: hidden; background: #1a0303; }
.ev-poster img { width: 100%; height: auto; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.ev-tile:hover .ev-poster img { transform: scale(1.06); }
.ev-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(20, 3, 3, .55)); pointer-events: none; }
.ev-date { position: absolute; left: 12px; top: 12px; z-index: 1; display: grid; place-items: center; width: 58px; height: 62px; border-radius: 14px; background: #fff; color: var(--red); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); text-transform: uppercase; }
.ev-date b { font: 600 1.6rem/1 "Oswald", sans-serif; }
.ev-date span { font-size: .7rem; font-weight: 800; letter-spacing: .14em; margin-top: -6px; }
.ev-soon { position: absolute; right: 12px; top: 12px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(232, 49, 47, 0); } 0% { box-shadow: 0 0 0 0 rgba(232, 49, 47, .55); } }
.ev-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ev-body h3 { font-size: 1.3rem; margin-bottom: .4em; }
.ev-big .ev-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.ev-kind { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); }
.ev-meta { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.ev-body .more { margin-top: auto; padding-top: 10px; }
@media (prefers-color-scheme: dark) { .ev-kind { color: #ff8a83; } }
.whats-on-home { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.lotto-call { margin-top: 28px; background: linear-gradient(135deg, #2a0000, #5a0000); color: #fff; border: 0; }
.lotto-call a { color: #f2c14e; }
.lotto-call .tile-ic { background: rgba(242, 193, 78, .16); color: #f2c14e; }

/* --- An update's own page ---------------------------------------------------- */
.event-box { display: flex; gap: 18px; align-items: center; margin: 0 0 26px; padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.event-box .ev-date { position: static; flex: none; }
.event-box.is-next { background: linear-gradient(135deg, #8f0000, #2a0000); color: #fff; border: 0; }
.event-box.is-next .ev-kind { color: #f2c14e; }
.event-box h2 { font-size: 1.3rem; margin: 0 0 4px; }
.event-box p { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: .95rem; }
.article-img { max-width: 640px; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 28px 0; }
.article-gallery figure { margin: 0; }
.article-gallery img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; height: auto; }

/* --- The season timeline ----------------------------------------------------- */
.season-sec { background: var(--paper-2); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.filter-chips button { font: 700 .88rem/1 "Montserrat", sans-serif; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.filter-chips button:hover { transform: translateY(-2px); }
.filter-chips button[aria-pressed="true"] { background: var(--grad-btn); color: #fff; border-color: transparent; }
.season { --sp: 0; list-style: none; margin: 0; padding: 0 0 0 42px; position: relative; display: grid; gap: 18px; }
.season::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.season::after { content: ""; position: absolute; left: 15px; top: 8px; width: 3px; border-radius: 3px; height: calc((100% - 16px) * var(--sp)); background: linear-gradient(var(--red-3), var(--red)); }
.season-item { position: relative; }
.season-item[hidden] { display: none !important; }
.season-dot { position: absolute; left: -42px; top: 14px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--card); color: var(--red-2); border: 3px solid var(--red-2); }
.season-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s; }
.season-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.season-card h3 { font-size: 1.15rem; margin: 0 0 .3em; }
.season-card p { margin: 0; font-size: .93rem; }
.season-card .meta { margin-bottom: 4px; }
.season-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.tag-match { background: rgba(196, 20, 20, .12); color: var(--red-2); }
.tag-event { background: rgba(242, 193, 78, .22); color: #8a5a00; }
.tag-juniors, .tag-touch { background: rgba(29, 122, 70, .14); color: var(--ok); }
@media (prefers-color-scheme: dark) { .tag-event { color: var(--gold); } .tag-juniors, .tag-touch { color: #7fdba7; } }

/* --- Moving a little more -------------------------------------------------- */
.reveal-on .ev-tile.reveal:not(.in) { transform: translateY(40px) scale(.96); }
.reveal-on .season-item.reveal:not(.in) { transform: translateX(-30px); }

/* --- Phones, iPads and desktops ---------------------------------------------
   An iPad (768 to 1080px wide) gets the desktop's layouts, two columns side
   by side; only its menu folds into the burger. Phones get one column. */
@media (min-width: 761px) and (max-width: 1080px) {
  .hero-in { grid-template-columns: 1.2fr .8fr; text-align: left; }
  .hero-badge { order: 0; width: min(300px, 34vw); justify-self: center; }
  .split-in, .members-in, .visit-in, .order-band-in, .fixtures-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tiles, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ev-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ev-grid-side { grid-template-columns: minmax(0, 1fr); }
}
/* Ten links fit on one line from 1241px; below that they fold into the burger. */
.nav a { white-space: nowrap; }
@media (min-width: 1241px) { .nav a { padding: 10px 9px; font-size: .9rem; } }
@media (max-width: 1240px) { .burger { display: block; } .nav a { font-size: 1.05rem; } }
@media (max-width: 980px) and (min-width: 761px) { .ev-grid-side .ev-tile:nth-child(n+3) { display: none; } }
@media (max-width: 760px) {
  .next-match.has-poster .next-grid { grid-template-columns: minmax(0, 1fr); }
  .nm-poster { max-width: 420px; margin-inline: auto; width: 100%; }
  .ev-grid, .ev-feature, .ev-grid-side { grid-template-columns: minmax(0, 1fr); }
  .hero-match { display: grid; width: 100%; }
  .hero-badge { width: 128px; margin-bottom: -6px; }
  .orbit { inset: -10%; width: 120%; height: 120%; }
  .nm-clock { gap: 6px; }
  .nm-clock .box { min-width: 0; flex: 1; padding: 10px 4px 8px; }
  .season { padding-left: 34px; }
  .season::before, .season::after { left: 11px; }
  .season-dot { left: -34px; width: 26px; height: 26px; border-width: 2px; }
  .season-dot svg { width: 14px; height: 14px; }
  .season-card { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .season-card p:not(.meta) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .event-box { flex-direction: row; padding: 14px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .nm-clock .box small { letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  .kick, html.kick-on .kick { display: none !important; }
  .hero-canvas { display: none; }
  .hero-badge, .ev-tile, .nm-poster { transform: none !important; }
}

/* The scroll cue sat under the stats card, which overlaps the hero's last
   48px (the owner's iPad, 2026-10-15). It sits above the card on a desktop;
   on an iPad or a phone the next-match card is already there, so it goes. */
.scroll-cue { bottom: 76px; }
@media (max-width: 1080px), (max-height: 760px) { .scroll-cue { display: none; } }

/* --- The members' card button, top right (2026-10-15) ----------------------
   A drawn members' card that tilts toward a finger or the pointer, catches
   the light every few seconds and keeps a slow glow. Below 1241px it is the
   icon alone, round; on a desktop the word Members sits beside it. */
.head-cta { position: relative; overflow: hidden; isolation: isolate; gap: 8px; }
.head-cta .head-cta-ic { display: inline-grid !important; place-items: center; perspective: 120px; }
.head-cta svg { width: 22px; height: 17px; overflow: visible; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); transform-style: preserve-3d; }
.hc-card { fill: rgba(255, 255, 255, .14); stroke: #fff; stroke-width: 2; }
.hc-chip { fill: #f2c14e; }
.hc-line { stroke: rgba(255, 255, 255, .85); stroke-width: 2; stroke-linecap: round; fill: none; }
.hc-dot { fill: #f2c14e; transform-box: fill-box; transform-origin: center; animation: hc-dot 2.4s ease-in-out infinite; }
@keyframes hc-dot { 50% { transform: scale(.55); opacity: .6; } }
.head-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: hc-shine 4.5s ease-in-out 1s infinite; }
@keyframes hc-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.head-cta:hover svg, .head-cta:focus-visible svg { transform: rotateY(-28deg) rotateX(14deg) scale(1.18); }
.head-cta:active svg { transform: rotateY(-180deg) scale(1.1); transition-duration: .25s; }
.head-cta:active { transform: scale(.94); }
@media (max-width: 1240px) {
  .head-cta { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; animation: hc-glow 3s ease-in-out infinite; }
  .head-cta .head-cta-text { display: none !important; }
  .head-cta svg { width: 24px; height: 18px; }
}
@keyframes hc-glow { 0%, 100% { box-shadow: 0 8px 20px -8px rgba(196, 20, 20, .9), 0 0 0 0 rgba(242, 193, 78, .0); } 50% { box-shadow: 0 8px 22px -6px rgba(232, 49, 47, 1), 0 0 0 6px rgba(242, 193, 78, .14); } }
@media (prefers-reduced-motion: reduce) { .head-cta, .head-cta::after, .hc-dot { animation: none !important; } }

/* The tilted ticker was clipped at its corners and hidden under the next
   section on a wide iPad (the owner, 2026-10-15): it is wider than the
   screen, so the tilt never shows an edge, and drawn above its neighbours. */
.ticker { position: relative; z-index: 3; width: 110%; margin-left: -5%; margin-bottom: 18px; transform: rotate(-1.2deg); }
.ticker + .next-match, .ticker + section { margin-top: -14px; padding-top: calc(clamp(46px, 7vw, 84px) + 14px); }

/* --- Ponty Kicks, highlighted on the home page and What's On -------------- */
.play-band { position: relative; overflow: hidden; color: #fff; padding: clamp(40px, 6vw, 72px) 0; background: radial-gradient(700px 400px at 20% 50%, rgba(46, 125, 50, .45), transparent 70%), linear-gradient(135deg, #0d2a12 0%, #123d18 40%, #3a0000 100%); border-radius: 0; }
.ev-feature + .play-band, .section .play-band { border-radius: var(--radius); margin: 28px 0; }
.play-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 255, 255, .035) 60px 120px); }
.play-in { position: relative; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 50px); align-items: center; }
.play-art svg { width: min(240px, 100%); margin-inline: auto; overflow: visible; }
.pb-post { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.pb-trail { fill: none; stroke: #f2c14e; stroke-width: 3; stroke-dasharray: 6 8; opacity: .8; animation: pb-trail 1.2s linear infinite; }
.pb-ball { offset-path: path("M30 196 Q 80 110 110 64"); offset-rotate: 0deg; animation: pb-kick 2.6s cubic-bezier(.3, .6, .3, 1) infinite; }
.pb-ball ellipse { fill: #fff; stroke: #8f0000; stroke-width: 2; }
.pb-ball path { stroke: #8f0000; stroke-width: 1.6; fill: none; }
@keyframes pb-kick { 0% { offset-distance: 0%; transform: rotate(0) scale(1.2); opacity: 0; } 8% { opacity: 1; } 80% { offset-distance: 100%; transform: rotate(-540deg) scale(.6); opacity: 1; } 100% { offset-distance: 100%; transform: rotate(-600deg) scale(.5); opacity: 0; } }
@keyframes pb-trail { to { stroke-dashoffset: -28; } }
.play-copy h2 { margin-bottom: .3em; }
.play-copy .kicker { color: #f2c14e; background: rgba(255, 255, 255, .08); padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); }
@media (max-width: 760px) { .play-in { grid-template-columns: minmax(0, 1fr); text-align: left; } .play-art svg { width: 150px; margin: 0; } }

.play-art { position: relative; }
.play-icon { position: absolute; left: 6%; top: 4%; width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7); transform: rotate(-8deg); animation: float 5s ease-in-out infinite; }
@media (max-width: 760px) { .play-icon { width: 60px; height: 60px; left: 150px; } }

/* --- Find us: the satellite map, directions for each device, what's on offer */
.sat-map { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.sat-frame { aspect-ratio: 4 / 3; position: relative; }
.sat-frame .map-card { height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.sat-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.sat-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; }
.dir-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dir-pick .btn small { font-size: .7rem; font-weight: 700; opacity: .85; margin-left: 2px; }
.dir-other { font-size: .85rem; font-weight: 700; }
/* Apple by default; Google on Android. */
.dir-google, .dir-other-apple { display: none !important; }
.os-android .dir-google, .os-android .dir-other-apple { display: inline-flex !important; }
.os-android .dir-apple, .os-android .dir-other-google { display: none !important; }
.offers-head { margin-top: 42px; }
.offers { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.offers li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.offers .tile-ic { width: 42px; height: 42px; border-radius: 12px; margin: 0; flex: none; }
.offers b { display: block; font: 600 1.05rem/1.2 "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.offers span:not(.tile-ic) { font-size: .88rem; color: var(--muted); }
@media (max-width: 1080px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .offers { grid-template-columns: minmax(0, 1fr); } }

/* --- From the archive: the old site's squads, fixtures and sponsors ---------- */
.arch-h3 { margin-top: 36px; }
.arch-squad, .arch-coaches, .arch-sponsors { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.arch-coaches, .arch-sponsors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.arch-squad li, .arch-coaches li, .arch-sponsors li { padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.arch-squad b, .arch-coaches b, .arch-sponsors b { display: block; font: 600 1.02rem/1.25 "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.arch-squad span, .arch-coaches span, .arch-sponsors span { font-size: .86rem; color: var(--muted); }
.arch-team { margin: 0 0 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 4px 14px; }
.arch-team summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; font: 600 1.2rem/1.2 "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .02em; list-style: none; }
.arch-team summary::-webkit-details-marker { display: none; }
.arch-team summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; color: var(--red-2); transition: transform .25s; }
.arch-team[open] summary::after { transform: rotate(45deg); }
.arch-team summary small, .arch-team summary .muted { font: 500 .82rem/1.2 "Montserrat", sans-serif; text-transform: none; letter-spacing: 0; color: var(--muted); }
.arch-team .tile-ic { width: 34px; height: 34px; border-radius: 10px; margin: 0; }
.arch-table td, .arch-table th { white-space: nowrap; }
.arch-table th[scope="row"] { white-space: normal; }
@media (max-width: 1080px) { .arch-squad { grid-template-columns: repeat(3, minmax(0, 1fr)); } .arch-coaches, .arch-sponsors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .arch-squad { grid-template-columns: repeat(2, minmax(0, 1fr)); } .arch-coaches, .arch-sponsors { grid-template-columns: minmax(0, 1fr); } }
.timeline.arch-news b { font-size: 1rem; line-height: 1.5; }
