/* =====================================================================
   Ag3nt supporters page · www.playag3nt.com/support (JOH-530)
   ---------------------------------------------------------------------
   "Tactics board": a full-size, 11-a-side pitch with the starting XI in a
   4-2-3-1 (JOH-548): No. 1 in goal, No. 11 up front, Ag3nt's crest painted
   in the centre circle. A lime passing move (one build-up, keeper to
   striker) draws as you scroll and the camera follows it across and down
   the pitch, stopping at each supporter's shirt while their card slides up.
   Number twelve and up sit on the bench, a grid of the same cards under the
   pitch. Same palette and type as the homepage, different design.
   Type:    Big Shoulders Display 800/900 + Plus Jakarta Sans 400-800
   Colour:  night/forest greens are the dark; lime is for action and the
            passing move; text on lime is night green.
   Rules:   no inline styles or scripts (strict CSP); motion is transform
            and opacity only, and stops for reduced motion / Save-Data
            (html.lite: the whole pitch is shown still, fully drawn).
   Without JavaScript the page is a plain team sheet: every card, every
   detail and every link is still there.
   ===================================================================== */

/* ---------- fonts (same files as the homepage) ---------- */
@font-face{font-family:"Big Shoulders Display";font-style:normal;font-weight:800 900;font-display:swap;
  src:url("fonts/big-shoulders-display-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400 800;font-display:swap;
  src:url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Ag3nt Display Fallback";font-weight:900;src:local("Arial Bold"),local("Arial-BoldMT");
  size-adjust:70%;ascent-override:140.6%;descent-override:30.4%;line-gap-override:0%}
@font-face{font-family:"Ag3nt Display Fallback";font-weight:800;src:local("Arial Bold"),local("Arial-BoldMT");
  size-adjust:65.7%;ascent-override:149.8%;descent-override:32.4%;line-gap-override:0%}
@font-face{font-family:"Ag3nt Display Fallback R";font-weight:900;src:local("Roboto Bold"),local("Roboto-Bold");
  size-adjust:75.1%;ascent-override:131%;descent-override:28.4%;line-gap-override:0%}
@font-face{font-family:"Ag3nt Display Fallback R";font-weight:800;src:local("Roboto Bold"),local("Roboto-Bold");
  size-adjust:70.4%;ascent-override:139.8%;descent-override:30.3%;line-gap-override:0%}
@font-face{font-family:"Ag3nt Body Fallback";font-weight:400 600;src:local("Arial"),local("ArialMT");
  size-adjust:103.2%;ascent-override:100.6%;descent-override:21.5%;line-gap-override:0%}
@font-face{font-family:"Ag3nt Body Fallback";font-weight:700 800;src:local("Arial Bold"),local("Arial-BoldMT");
  size-adjust:98.8%;ascent-override:105.1%;descent-override:22.5%;line-gap-override:0%}
@font-face{font-family:"Ag3nt Body Fallback R";font-weight:400 600;src:local("Roboto"),local("Roboto-Regular");
  size-adjust:104.3%;ascent-override:99.5%;descent-override:21.3%;line-gap-override:0%}
@font-face{font-family:"Ag3nt Body Fallback R";font-weight:700 800;src:local("Roboto Bold"),local("Roboto-Bold");
  size-adjust:105.2%;ascent-override:98.7%;descent-override:21.1%;line-gap-override:0%}

/* ---------- tokens (the homepage's) ---------- */
:root{
  color-scheme:dark;
  --night:#0B211B;--forest:#0F2D25;--forest-2:#1B4A3A;--lime:#C6F27E;--on-lime:#0B211B;
  --soft:#EEF5E6;--muted:#C9D8CF;--black:#020806;--chalk:#F4F7F2;--rule:rgba(238,245,230,.14);
  --display:"Big Shoulders Display","Ag3nt Display Fallback","Ag3nt Display Fallback R","Arial Narrow",sans-serif;
  --body:"Plus Jakarta Sans","Ag3nt Body Fallback","Ag3nt Body Fallback R",system-ui,-apple-system,"Segoe UI",sans-serif;
  --gut:clamp(16px,4.6vw,56px);
  --gl:max(var(--gut),env(safe-area-inset-left,0px));
  --gr:max(var(--gut),env(safe-area-inset-right,0px));
  --safe-t:env(safe-area-inset-top,0px);
  --safe-b:env(safe-area-inset-bottom,0px);
  --ease:cubic-bezier(.2,.8,.2,1);
  /* the card's gap from the bottom of the screen while it is pinned (support.js reads it back) */
  --pin-b:calc(12px + var(--safe-b));
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{background:var(--black);-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--night);color:var(--soft);font-family:var(--body);font-size:17px;line-height:1.55;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden;overflow-x:clip}
img,svg,picture{display:block;max-width:100%}
a{color:inherit;-webkit-tap-highlight-color:rgba(198,242,126,.18)}
a,button,summary{touch-action:manipulation}
button{font:inherit;color:inherit}
h1,h2,h3{margin:0;text-wrap:balance}
p{margin:0;text-wrap:pretty}
:focus-visible{outline:3px solid var(--lime);outline-offset:3px;border-radius:6px}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip{position:absolute;z-index:100;left:12px;top:-90px;padding:12px 16px;border-radius:12px;background:var(--lime);color:var(--on-lime);font-weight:800;text-decoration:none}
.skip:focus{top:calc(12px + var(--safe-t))}
.lime{color:var(--lime)}
.nowrap{white-space:nowrap}
.label{font-family:var(--body);font-size:13px;font-weight:700;line-height:1.35;letter-spacing:.12em;text-transform:uppercase}
.dash{display:flex;align-items:center;gap:10px}
.dash::before{content:"";flex:none;width:24px;height:2px;border-radius:2px;background:var(--lime)}
.key{display:inline-block;margin:0 2px;padding:3px 7px 2px;border:1.5px solid currentColor;border-radius:7px;font-size:.84em;font-weight:800;line-height:1.1;letter-spacing:.1em;vertical-align:.06em}
.bib{display:grid;place-items:center;flex:none;width:38px;height:42px;padding-top:5px;background:var(--lime);color:var(--on-lime);
  font-family:var(--display);font-weight:900;font-size:24px;line-height:1;
  clip-path:polygon(0 14%,26% 0,36% 12%,64% 12%,74% 0,100% 14%,100% 100%,0 100%);border-radius:0 0 6px 6px}

/* ---------- top bar ---------- */
.bar{position:absolute;z-index:30;top:0;left:0;right:0;max-width:1440px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:calc(var(--safe-t) + 12px) var(--gr) 0 var(--gl)}
.brand{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#fff;text-decoration:none;font-weight:800;font-size:22px;line-height:1;letter-spacing:-.03em}
.brand img{width:30px;height:30px}
.bar__cta{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid rgba(198,242,126,.62);
  background:rgba(11,33,27,.94);color:var(--lime);font-weight:800;font-size:15px;letter-spacing:-.005em;text-decoration:none;white-space:nowrap;transition:background-color .2s,color .2s}
.bar__cta:hover{background:var(--lime);color:var(--on-lime)}

/* ---------- INTRO ---------- */
.intro{position:relative;z-index:3;max-width:1280px;margin:0 auto;padding:calc(var(--safe-t) + 100px) var(--gr) 48px var(--gl)}
.intro__eyebrow{color:var(--lime)}
.intro__title{margin-top:14px;font-family:var(--display);font-weight:900;text-transform:uppercase;font-size:clamp(58px,17.4vw,148px);line-height:.84;color:#fff;text-wrap:initial}
.intro__title .ln{display:block}
.intro__title .ln--lime{color:var(--lime);text-shadow:0 0 60px rgba(198,242,126,.28)}
.intro__lede{margin-top:20px;max-width:28em;font-size:18px;line-height:1.5;color:var(--muted)}
.intro__lede strong{color:#fff}
.intro__help{margin-top:14px;max-width:30em;font-size:15px;line-height:1.5;color:var(--muted)}
.intro__help a{color:var(--soft);font-weight:700;text-decoration:underline;text-decoration-color:rgba(198,242,126,.5);text-underline-offset:4px}
.intro__help a:hover{color:var(--lime)}
.intro__help .key{font-size:.78em;padding:2px 5px 1px}
.intro__go{display:inline-flex;align-items:center;gap:10px;min-height:52px;margin-top:26px;padding:0 22px 0 16px;border-radius:999px;
  background:var(--lime);color:var(--on-lime);font-weight:800;font-size:17px;text-decoration:none;box-shadow:0 18px 44px -16px rgba(198,242,126,.62)}
.intro__go svg{width:22px;height:22px}
.intro__go:hover{transform:translateY(-1px)}

/* ---------- THE TEAM SHEET (cards) ---------- */
.spots{list-style:none;max-width:1280px;margin:0 auto;padding:8px var(--gr) 0 var(--gl);
  display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}
.pcard{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-areas:"face meta" "face name" "face role" "head head" "act act";
  column-gap:14px;padding:16px 16px 16px;border-radius:24px;border:1px solid rgba(238,245,230,.15);
  background:#0c271f linear-gradient(180deg,#143c31,#0c271f);box-shadow:0 26px 60px -26px rgba(0,0,0,.95)}
.pcard__face{grid-area:face;align-self:start;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;overflow:hidden;
  background:linear-gradient(160deg,#245d4b,#0f2d25);box-shadow:0 0 0 2px var(--lime)}
.pcard__face img{width:100%;height:100%;object-fit:cover}
.mono{display:grid;place-items:center;width:100%;height:100%;font-family:var(--display);font-weight:900;font-size:27px;line-height:1;letter-spacing:.02em;color:#fff}
.mono svg{width:24px;height:24px}
.pcard__meta{grid-area:meta;display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;font-size:12px;color:var(--muted)}
.pcard__num{color:var(--lime)}
.pcard__name{grid-area:name;margin-top:4px;font-family:var(--display);font-weight:800;text-transform:uppercase;font-size:clamp(30px,8.4vw,40px);line-height:.92;color:#fff}
.pcard__role{grid-area:role;margin-top:6px;font-size:14px;font-weight:700;line-height:1.35;color:var(--muted)}
.pcard__head{grid-area:head;margin-top:14px;font-size:16.5px;line-height:1.45;color:var(--soft)}
.more,.pcard__act{grid-area:act;margin-top:14px}
/* open spots: dashed, waiting for a name */
.spot--open .pcard{border:1.5px dashed rgba(198,242,126,.45);background:#0b251e linear-gradient(180deg,#143a2f,#0b251e)}
.spot--open .pcard__face{background:rgba(11,33,27,.6);box-shadow:none;border:2px dashed rgba(244,247,242,.55);color:rgba(244,247,242,.8)}
/* venues we work with: their own logo badge in a chalk ring */
.mono--word{font-size:17px;letter-spacing:.06em}
.spot--venue .pcard__face{background:var(--chalk);box-shadow:0 0 0 2px var(--chalk);color:var(--night)}
.spot--venue .pcard__face .mono{color:var(--night)}
.spot--venue .pcard__num{color:var(--chalk)}

/* the details: a plain disclosure without JavaScript; with it, a button opens the profile sheet */
.more summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;cursor:pointer;list-style:none;
  border:1.5px solid rgba(198,242,126,.6);color:var(--lime);font-weight:800;font-size:15.5px}
.more summary::-webkit-details-marker{display:none}
.more summary::after{content:"+";content:"+" / "";font-size:20px;line-height:1}
.more[open] summary::after{content:"\2212";content:"\2212" / ""}
.more__body{margin-top:14px}
.more__body p,.sheet__body p{font-size:16px;line-height:1.55;color:var(--muted)}
.more__body p+p,.sheet__body p+p{margin-top:10px}
.more__body h3,.sheet__body h3{margin:18px 0 6px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--lime)}
/* a player's quick facts, like the back of a sticker card */
.facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px 16px;margin:16px 0 4px;padding:14px 16px;border-radius:16px;
  border:1px solid rgba(198,242,126,.28);background:rgba(2,8,6,.32);align-items:baseline}
.facts dt{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--lime)}
.facts dd{margin:0;font-size:15.5px;line-height:1.45;color:var(--soft)}
.facts .ln{display:block}
.facts .ln+.ln{margin-top:4px}
/* a supporter's own photo inside their profile */
.pic{margin:16px 0 4px}
.pic img{width:100%;height:auto;border-radius:16px;box-shadow:0 0 0 1px rgba(238,245,230,.14)}
.ticks{list-style:none;margin:12px 0 0;padding:0}
.ticks li{position:relative;padding:7px 0 7px 30px;font-size:16px;line-height:1.45;color:var(--soft);border-top:1px solid var(--rule)}
.ticks li::before{content:"";position:absolute;left:4px;top:13px;width:12px;height:7px;border-left:2.5px solid var(--lime);border-bottom:2.5px solid var(--lime);transform:rotate(-45deg)}
.links{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.link{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px 0 16px;border-radius:999px;border:1.5px solid rgba(238,245,230,.32);
  background:rgba(2,8,6,.35);color:#fff;font-weight:800;font-size:15.5px;text-decoration:none;transition:border-color .2s,background-color .2s}
.link svg{flex:none;width:20px;height:20px}
.link:hover{border-color:var(--lime)}
.link--lime{border-color:var(--lime);background:var(--lime);color:var(--on-lime)}
.link--lime:hover{background:#d4f798}

/* card actions (support.js builds these from the details) */
.pcard__act{display:flex;flex-wrap:nowrap;gap:10px}
.act{display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:0 18px 0 16px;border-radius:999px;cursor:pointer;
  font-weight:800;font-size:15.5px;line-height:1.1;text-decoration:none;transition:transform .2s var(--ease),background-color .2s,border-color .2s}
.act svg{flex:none;width:19px;height:19px}
.act--main{flex:0 1 auto;min-width:0;justify-content:center;border:1.5px solid transparent;background:var(--lime);color:var(--on-lime)}
.act--main:hover{background:#d4f798}
.act--alt{border:1.5px solid rgba(238,245,230,.32);background:transparent;color:#fff}
.act--alt:hover{border-color:var(--lime)}
.act--icon{justify-content:center;width:46px;padding:0;border:1.5px solid rgba(238,245,230,.34);background:transparent;color:#fff}
.act--icon:hover{border-color:var(--lime);color:var(--lime)}
.act:active{transform:scale(.97)}

/* ---------- the bench (JOH-548): number twelve and up, under the pitch ----------
   support.js moves them here from the team sheet and shows the section; without JavaScript it stays hidden
   and every card is in the team sheet. The same cards, in a grid: one column on phones, up to four when wide. */
.bench{position:relative;padding:40px var(--gr) 8px var(--gl)}
.bench[hidden]{display:none}
.bench__head,.bench__list{max-width:1280px;margin-left:auto;margin-right:auto}
.bench__title{display:flex;align-items:center;gap:14px;font-family:var(--display);font-weight:900;text-transform:uppercase;
  font-size:clamp(48px,13.4vw,104px);line-height:.86;color:#fff}
/* the bench itself: a short lime plank in front of the word */
.bench__title::before{content:"";flex:none;width:clamp(28px,6vw,56px);height:clamp(10px,2vw,16px);border-radius:4px;background:var(--lime);
  box-shadow:0 10px 0 -4px rgba(198,242,126,.35)}
.bench__lede{margin-top:14px;max-width:30em;font-size:18px;line-height:1.5;color:var(--muted)}
.bench__list{list-style:none;margin-top:26px;margin-bottom:0;padding:0;display:grid;gap:18px;grid-template-columns:minmax(0,1fr)}
.bench__list>.spot{display:flex;min-width:0}
/* cards in a row share a height; the button stays at the bottom */
.bench__list .pcard{flex:1 1 auto;min-width:0;grid-template-rows:auto auto auto 1fr auto}

/* ---------- full time ---------- */
.goal{max-width:1280px;margin:0 auto;padding:44px var(--gr) 8px var(--gl)}
.goal__slate{color:var(--lime)}
.goal__title{margin-top:10px;font-family:var(--display);font-weight:900;text-transform:uppercase;line-height:.86;color:#fff;text-wrap:initial}
.goal__title .g{display:block;font-size:clamp(76px,26vw,220px);line-height:.8;color:var(--lime);text-shadow:0 0 70px rgba(198,242,126,.32)}
.goal__title .s{display:block;margin-top:10px;font-weight:800;font-size:clamp(28px,8vw,56px);line-height:.95;text-wrap:balance}
.goal__copy{margin-top:14px;max-width:28em;font-size:17.5px;line-height:1.5;color:var(--muted)}
.goal__go{display:inline-block;padding:12px 0;margin-top:6px;line-height:1.4;color:var(--lime);font-weight:800;font-size:17px;
  text-decoration:underline;text-decoration-color:rgba(198,242,126,.5);text-underline-offset:5px}
.goal__go svg{display:inline-block;width:20px;height:20px;margin-left:8px;vertical-align:-4px;transition:transform .2s var(--ease)}
.goal__go:hover svg{transform:translateX(3px)}

/* ---------- JOIN ---------- */
.join{position:relative;max-width:1280px;margin:0 auto;padding:84px var(--gr) 56px var(--gl)}
.join__eyebrow{color:var(--lime)}
.join__title{margin-top:12px;font-family:var(--display);font-weight:900;text-transform:uppercase;font-size:clamp(48px,13.4vw,104px);line-height:.86;color:#fff}
.join__lede{margin-top:16px;max-width:29em;font-size:18px;line-height:1.5;color:var(--muted)}
.join__grid{margin-top:26px;display:grid;gap:30px}
.kit{list-style:none;margin:0;padding:0;border-top:2px solid rgba(244,247,242,.8)}
.kit li{display:flex;align-items:center;gap:16px;min-height:66px;padding:10px 0;border-bottom:1px solid var(--rule);font-size:16.5px;line-height:1.4;color:var(--muted)}
.kit strong{color:#fff}
.cta{position:relative;display:flex;align-items:center;gap:12px;width:100%;max-width:420px;min-height:62px;
  padding:7px 20px 7px 7px;border-radius:999px;background:var(--lime);color:var(--on-lime);text-decoration:none;
  font-weight:800;font-size:17px;line-height:1.15;letter-spacing:-.01em;
  box-shadow:0 18px 44px -16px rgba(198,242,126,.62),inset 0 -2px 0 rgba(11,33,27,.16);transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.cta__icon{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--night);color:var(--lime)}
.cta__icon svg{width:24px;height:24px}
.cta__text{flex:1;min-width:0;text-wrap:balance}
.cta__arrow{flex:none;width:22px;height:22px;transition:transform .2s var(--ease)}
.cta:hover{transform:translateY(-2px);box-shadow:0 24px 50px -16px rgba(198,242,126,.72),inset 0 -2px 0 rgba(11,33,27,.16)}
.cta:hover .cta__arrow{transform:translateX(3px)}
.cta:active{transform:scale(.985)}
.cta:focus-visible{outline:3px solid var(--soft);outline-offset:4px;border-radius:999px}
.cta-note{margin-top:12px;max-width:30em;font-size:14.5px;line-height:1.5;color:var(--muted)}
.join__play{margin-top:26px;padding-top:18px;border-top:1px solid var(--rule);font-size:16px;color:var(--muted)}
.join__play a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--soft);font-weight:700;text-decoration:underline;text-decoration-color:rgba(198,242,126,.5);text-underline-offset:4px}
.join__play a svg{flex:none;width:20px;height:20px;color:var(--lime)}
.join__play a:hover{color:var(--lime)}

/* ---------- footer ---------- */
.foot{max-width:1280px;margin:0 auto;padding:36px var(--gr) calc(36px + var(--safe-b)) var(--gl);border-top:1px solid rgba(238,245,230,.1);display:grid;gap:12px;font-size:16px;color:var(--muted)}
.foot .brand{justify-self:start}
.foot ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px}
.foot a:not(.brand){display:inline-flex;align-items:center;min-height:44px;color:var(--soft);text-decoration:underline;text-decoration-color:rgba(198,242,126,.5);text-underline-offset:4px}
.foot a:not(.brand):hover{color:var(--lime)}
.foot__small{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}

/* ---------- the profile sheet (a native <dialog>) ---------- */
.sheet{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--soft);overflow:hidden}
.sheet:not([open]){display:none}
.sheet[open]{display:flex;align-items:flex-end;justify-content:center}
.sheet::backdrop{background:rgba(2,8,6,.8)}
.sheet__panel{display:flex;flex-direction:column;width:100%;max-width:560px;max-height:88vh;max-height:88svh;
  border:1px solid rgba(238,245,230,.15);border-bottom:0;border-radius:26px 26px 0 0;
  background:#0b241d linear-gradient(180deg,#153f33,#0b241d 55%);box-shadow:0 -30px 90px rgba(0,0,0,.6);padding-bottom:var(--safe-b)}
.sheet__bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 4px 20px}
.sheet__meta{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:12px;color:var(--muted)}
.sheet__meta .pcard__num{color:var(--lime)}
.sheet__close{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 18px 0 14px;border-radius:999px;border:1px solid rgba(238,245,230,.32);
  background:var(--forest);color:#fff;font-weight:700;font-size:16px;cursor:pointer}
.sheet__close svg{width:18px;height:18px}
.sheet__scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:10px 20px 26px}
.sheet__head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}
.sheet__face{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(160deg,#245d4b,#0f2d25);
  box-shadow:0 0 0 3px var(--lime),0 0 0 10px rgba(198,242,126,.14)}
.sheet__face img{width:100%;height:100%;object-fit:cover}
.sheet__face .mono{font-size:36px}
.sheet__face .mono svg{width:32px;height:32px}
.sheet.is-venue .sheet__face{background:var(--chalk);color:var(--night)}
.sheet.is-venue .sheet__face .mono{color:var(--night);font-size:22px}
.sheet.is-open-spot .sheet__face{background:rgba(11,33,27,.6);box-shadow:none;border:2px dashed rgba(198,242,126,.7);color:var(--lime)}
.sheet__name{font-family:var(--display);font-weight:900;text-transform:uppercase;font-size:clamp(38px,10.6vw,54px);line-height:.88;color:#fff}
.sheet__role{margin-top:6px;font-size:14.5px;font-weight:700;line-height:1.35;color:var(--muted)}
.sheet__headline{margin-top:18px;padding-top:16px;border-top:1px solid var(--rule);font-size:18px;line-height:1.45;color:#fff}
.sheet__body{margin-top:8px}
html.has-sheet{overflow:hidden}
/* Safari 15 ignores overflow:clip; without this the body becomes the scroller and the pinned pitch jumps */
html.has-sheet body{overflow:visible}
@media (prefers-reduced-motion:no-preference){
  html:not(.lite) .sheet[open] .sheet__panel{animation:sheetUp .42s var(--ease) both}
  html:not(.lite) .sheet[open]::backdrop{animation:fadeIn .3s ease both}
}
@keyframes sheetUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* =====================================================================
   THE PITCH (JavaScript on). The stage is pinned to the screen for the
   whole squad section; the intro, the cards and full time scroll over it.
   ===================================================================== */
.stage{display:none}
html.js .stage{display:block;position:sticky;z-index:0;top:0;height:100vh;height:100lvh;overflow:hidden;
  background:radial-gradient(120% 60% at 50% 0%,#12382d,var(--night) 70%)}
html.js .intro{margin-top:-100vh;margin-top:-100lvh;min-height:100vh;min-height:100lvh}
/* the words and cards scroll over the pitch; only they take taps, so the shirts underneath stay tappable */
html.js .intro,html.js .spots,html.js .spots .spot,html.js .goal{pointer-events:none}
html.js .intro>*,html.js .pcard,html.js .goal__inner{pointer-events:auto}
.stage__shade{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(11,33,27,.92) 0,rgba(11,33,27,.62) 34%,rgba(11,33,27,0) 62%)}
.cam{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}
.field{--fw:600px;--fh:900px;--nd:72px;position:relative;width:var(--fw);height:var(--fh);border-radius:22px;
  background:
    radial-gradient(70% 45% at 50% 50%,rgba(198,242,126,.06),transparent 70%),
    repeating-linear-gradient(180deg,#12392d 0,#12392d var(--stripe,60px),#0e3027 var(--stripe,60px),#0e3027 calc(var(--stripe,60px) * 2));
  /* the mowing stripes start on the goal line (support.js sets both) */
  background-position:0 0,0 var(--stripe-y,0px);
  box-shadow:0 0 0 1px rgba(238,245,230,.07),0 50px 120px -30px rgba(0,0,0,.9)}
.lines{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}
.lines path,.lines circle,.lines rect{fill:none;stroke-linecap:round;stroke-linejoin:round}
.lines .mk{stroke:rgba(244,247,242,.44);stroke-width:2}
.lines .mk-dot{fill:rgba(244,247,242,.6);stroke:none}
/* Ag3nt's crest painted in the centre circle (a stadium's centre logo): faint, under the lines, not a player */
.lines .badge-disc{fill:rgba(198,242,126,.05);stroke:rgba(244,247,242,.26);stroke-width:1.5}
.lines .badge{opacity:.34}
.lines .chalk{fill:rgba(244,247,242,.62);stroke:none;font-family:var(--body);font-weight:800;letter-spacing:.14em;text-transform:uppercase;transition:opacity .4s}
.lines .chalk.is-off{opacity:0}
.lines .net{stroke:rgba(244,247,242,.16);stroke-width:1}
.lines .ghost{stroke:rgba(244,247,242,.3);stroke-width:2;stroke-dasharray:1 9}
.lines .glow{stroke:rgba(198,242,126,.2);stroke-width:11}
.lines .pass{stroke:var(--lime);stroke-width:3}
.lines .ball{visibility:hidden}
.lines .goal-flash{fill:var(--lime);stroke:none;opacity:0;transition:opacity .5s}
.field.is-goal .lines .goal-flash{opacity:.22}

/* a shirt on the pitch */
.node{position:absolute;left:0;top:0;width:var(--nd);margin-left:calc(var(--nd) / -2);margin-top:calc(var(--nd) / -2);
  display:flex;flex-direction:column;align-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.node__face{position:relative;flex:none;width:var(--nd);height:var(--nd);border-radius:50%;display:grid;place-items:center;overflow:hidden;
  background:linear-gradient(160deg,#245d4b,#0f2d25);color:#fff;
  box-shadow:0 0 0 2px rgba(244,247,242,.8),0 12px 26px -8px rgba(0,0,0,.8);
  transition:box-shadow .45s var(--ease),transform .45s var(--ease),border-color .45s}
.node__face img{width:100%;height:100%;object-fit:cover}
.node .mono{font-size:calc(var(--nd) * .36)}
.node .mono svg{width:calc(var(--nd) * .34);height:calc(var(--nd) * .34)}
.node__num{position:absolute;top:calc(var(--nd) * -.08);left:calc(50% + var(--nd) * .24);display:grid;place-items:center;
  width:calc(var(--nd) * .36);height:calc(var(--nd) * .4);padding-top:calc(var(--nd) * .05);background:var(--chalk);color:var(--on-lime);
  font-family:var(--display);font-weight:900;font-size:calc(var(--nd) * .24);line-height:1;
  clip-path:polygon(0 14%,26% 0,36% 12%,64% 12%,74% 0,100% 14%,100% 100%,0 100%);border-radius:0 0 4px 4px;transition:background-color .45s}
.node__tag{margin-top:calc(var(--nd) * .14);padding:.28em .8em .3em;border-radius:999px;background:rgba(2,8,6,.82);color:#fff;
  font-weight:800;font-size:max(11px,calc(var(--nd) * .165));line-height:1.1;letter-spacing:.01em;white-space:nowrap;
  box-shadow:0 0 0 1px rgba(238,245,230,.12);transition:background-color .45s,color .45s,opacity .4s}
.node--open .node__face{background:rgba(11,33,27,.94);box-shadow:none;border:2px dashed rgba(244,247,242,.6);color:rgba(244,247,242,.82)}
.node--open .node__tag{background:rgba(2,8,6,.6);color:var(--muted)}
.node--venue .node__face{background:var(--chalk);color:var(--night)}
.node--venue .mono{color:var(--night)}
.node--venue .mono--word{font-size:calc(var(--nd) * .22)}
.node.is-lit .node__face{box-shadow:0 0 0 3px var(--lime),0 0 0 calc(var(--nd) * .12) rgba(198,242,126,.15),0 0 calc(var(--nd) * .45) rgba(198,242,126,.42)}
.node--open.is-lit .node__face{border-color:var(--lime);color:var(--lime);box-shadow:0 0 calc(var(--nd) * .4) rgba(198,242,126,.25)}
.node.is-lit .node__num{background:var(--lime)}
.node.is-on .node__face{transform:scale(1.12)}
.node.is-on .node__tag{background:var(--lime);color:var(--on-lime)}
.field.is-far .node__tag{opacity:0}
/* a small pitch where name tags would touch: only the current shirt's tag shows */
.field.is-crowded .node:not(.is-on) .node__tag{opacity:0}
.node:hover .node__face{transform:scale(1.06)}
.node.is-on:hover .node__face{transform:scale(1.14)}

/* the starting XI's cards scroll over the pitch, then pin to the bottom of the screen while the camera holds on that shirt */
html.js .spots{position:relative;z-index:2;display:block;max-width:none;padding:0 var(--gr) 0 var(--gl)}
html.js .spots .spot{display:flex;flex-direction:column;justify-content:flex-end;min-height:max(72vh,520px);min-height:max(72svh,520px);margin-top:max(44vh,300px);margin-top:max(44svh,300px)}
/* the intro has fully scrolled away before the first card pins */
html.js .spots .spot:first-child{margin-top:max(48vh,340px);margin-top:max(48svh,340px)}
html.js .spots .pcard{position:sticky;bottom:var(--pin-b);width:100%;max-width:460px;margin:0 auto;transition:opacity .25s linear}
html.js .more[hidden]{display:none}
html.js .goal{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;max-width:none;
  min-height:max(150vh,900px);min-height:max(150svh,900px);margin-top:max(40vh,280px);margin-top:max(40svh,280px);padding:0 var(--gr) 0 var(--gl)}
html.js .goal__inner{position:sticky;bottom:calc(20px + var(--safe-b));width:100%;max-width:560px;margin:0 auto;padding:22px 20px 18px;border-radius:26px;
  border:1px solid rgba(198,242,126,.32);background:#091e18 linear-gradient(180deg,#143c31,#091e18);box-shadow:0 26px 60px -26px rgba(0,0,0,.95)}
/* the bench scrolls up over the pitch: the grass fades out behind it, then it is solid, and the grass fades back
   in below it. The ball waits at the last shirt while it goes by; the extra room before full time is where the
   ball goes into the net. */
html.js .bench{z-index:2;margin-top:max(36vh,240px);margin-top:max(36svh,240px);padding-top:max(22vh,150px);padding-top:max(22svh,150px);
  padding-bottom:max(14vh,110px);padding-bottom:max(14svh,110px);
  background:linear-gradient(180deg,rgba(11,33,27,0) 0,rgba(11,33,27,.9) max(14vh,96px),var(--night) max(22vh,150px),
    var(--night) calc(100% - max(14vh,110px)),rgba(11,33,27,0) 100%)}
html.js .bench:not([hidden])+.goal{margin-top:max(64vh,420px);margin-top:max(64svh,420px)}
html.js .goal__title .g{font-size:clamp(70px,22vw,150px)}
html.js .goal__title .s{font-size:clamp(26px,7.4vw,42px)}
html.js .join{background:var(--night)}

/* reduced motion / Save-Data: the whole pitch, still and fully drawn */
html.lite .stage__shade{background:linear-gradient(180deg,rgba(11,33,27,.95) 0,rgba(11,33,27,.85) 55%,rgba(11,33,27,.2) 80%)}
html.lite .node__face,html.lite .node__tag,html.lite .node__num,html.lite .pcard{transition:none}
html.js.lite .spots .spot{min-height:0;margin-top:clamp(24px,6svh,60px)}
html.js.lite .spots .spot:first-child{margin-top:max(30vh,200px);margin-top:max(30svh,200px)}
html.js.lite .goal{min-height:0;margin-top:clamp(40px,10svh,120px);padding-bottom:24px}
html.js.lite .bench{margin-top:clamp(40px,10svh,120px);padding-top:110px;padding-bottom:90px;
  background:linear-gradient(180deg,rgba(11,33,27,0) 0,var(--night) 110px,var(--night) calc(100% - 90px),rgba(11,33,27,0) 100%)}
html.js.lite .bench:not([hidden])+.goal{margin-top:clamp(40px,10svh,120px)}

/* =================== BREAKPOINTS =================== */
@media (max-width:374px){
  .cta{gap:10px;padding-right:16px;font-size:16.5px}
  .cta__arrow{display:none}
  .pcard{grid-template-columns:52px minmax(0,1fr);column-gap:12px;padding:14px 14px 14px}
  .pcard__face{width:52px;height:52px}
  .mono{font-size:22px}
  .bar__cta{padding:0 14px;font-size:14px}
}
/* short phones: smaller cards so the pitch keeps room above them */
@media (max-height:700px) and (max-width:767px){
  html.js .goal__title .g{font-size:clamp(52px,11svh,120px)}
  html.js .goal__title .s{font-size:clamp(22px,4.6svh,34px)}
  html.js .goal__copy{display:none}
  html.js .goal__inner{padding:16px 18px 12px}
  /* a tighter intro, so the top of the pitch still peeks in under Kick off */
  .intro{padding-top:calc(var(--safe-t) + 84px);padding-bottom:28px}
  .intro__title{font-size:min(17.4vw,9.6svh)}
  .intro__lede{margin-top:14px;font-size:16px}
  .intro__help{margin-top:10px;font-size:14px}
  .intro__go{margin-top:16px;min-height:48px}
}
@media (max-height:700px){
  .pcard__head{margin-top:10px;font-size:15px}
  .pcard__name{font-size:clamp(28px,7.6vw,34px)}
  .more,.pcard__act{margin-top:10px}
  .act{min-height:44px}
}

/* the bench: two cards a row on tablets, three on laptops, four on big screens (each card stays about
   320px or wider, so "More about ..." fits on one line) */
@media (min-width:700px){
  .bench__list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:768px){
  .intro{padding-top:calc(var(--safe-t) + 120px)}
  .intro__lede{font-size:19.5px}
  .pcard{grid-template-columns:76px minmax(0,1fr);column-gap:18px;padding:20px 22px 20px}
  .pcard__face{width:76px;height:76px}
  .mono{font-size:31px}
  .sheet__panel{margin-bottom:auto;margin-top:auto;border-bottom:1px solid rgba(238,245,230,.15);border-radius:26px;max-height:min(86vh,780px);padding-bottom:0}
  .sheet[open]{align-items:center}
  .sheet__scroll{padding:12px 28px 30px}
  .sheet__bar{padding:16px 18px 4px 28px}
  .join__grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:56px}
  .bench__lede{font-size:19.5px}
  .foot{grid-template-columns:auto 1fr auto;align-items:center;gap:16px 40px}
}

/* Wide screens (and phones held sideways): the cards and words sit in a column on the left,
   and the camera keeps the shirt in the open space on the right. support.js uses the same query. */
@media (min-width:1024px),(orientation:landscape) and (min-width:560px) and (max-height:540px),(orientation:landscape) and (min-width:600px) and (min-aspect-ratio:4/3){
  html.js .intro{max-width:none;padding-left:var(--gl);padding-right:52%}
  html.js .intro__title{font-size:clamp(56px,7.4vw,128px)}
  html.js .stage__shade{background:linear-gradient(90deg,rgba(11,33,27,.88) 0,rgba(11,33,27,.55) 38%,rgba(11,33,27,0) 56%)}
  html.js .spots .pcard{max-width:min(440px,40vw);margin:0}
  html.js .goal__inner{max-width:min(520px,44vw);margin:0}
  html.js{--pin-b:calc(28px + var(--safe-b))}
}
@media (orientation:landscape) and (min-width:560px) and (max-height:540px){
  html.js .spots .spot{min-height:max(72svh,300px);margin-top:max(44svh,160px)}
  html.js .spots .spot:first-child{margin-top:max(48svh,200px)}
  html.js .goal{min-height:max(150svh,560px);margin-top:max(40svh,160px)}
  html.js .bench{margin-top:max(36svh,140px)}
  html.js .bench:not([hidden])+.goal{margin-top:max(64svh,240px)}
  html.js .spots .pcard{max-width:min(440px,46vw)}
  html.js .intro{padding-top:calc(var(--safe-t) + 70px);padding-bottom:24px}
  html.js .intro__title{font-size:clamp(40px,13vh,76px)}
  html.js .intro__lede{margin-top:12px;font-size:16px}
  html.js .intro__go{margin-top:14px}
  html.js .spots .pcard{grid-template-columns:48px minmax(0,1fr);column-gap:12px;padding:12px 14px}
  html.js .spots .pcard__face{width:48px;height:48px}
  html.js .spots .pcard .mono{font-size:20px}
  html.js .spots .pcard__name{font-size:28px}
  html.js .spots .pcard__head{margin-top:8px;font-size:14.5px}
  html.js .spots .pcard__act{margin-top:8px}
  html.js .spots .act{min-height:44px;font-size:14.5px}
  html.js .goal__title .g{font-size:64px}
  html.js .goal__title .s{font-size:24px}
  html.js .goal__copy{font-size:15px;margin-top:8px}
  html.js{--pin-b:calc(10px + var(--safe-b))}
}
@media (min-width:1024px){
  .intro__lede{font-size:20px}
  .join{padding-top:110px}
  html.js .spots .pcard{max-width:min(480px,38vw)}
  .pcard__name{font-size:clamp(36px,3.2vw,46px)}
  .pcard__head{font-size:17.5px}
  .bench__list .pcard__name{font-size:clamp(32px,2.6vw,40px)}
}
@media (min-width:1180px){
  .bench__list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1440px){
  html.js .intro{padding-left:calc((100vw - 1340px) / 2 + var(--gl))}
  html.js .spots,html.js .goal{padding-left:calc((100vw - 1340px) / 2 + var(--gl))}
  .bench{padding-left:calc((100vw - 1340px) / 2 + var(--gl));padding-right:calc((100vw - 1340px) / 2 + var(--gr))}
  .bench__head,.bench__list{max-width:none}
  html.js .join,html.js .foot{max-width:none;padding-left:calc((100vw - 1340px) / 2 + var(--gl));padding-right:calc((100vw - 1340px) / 2 + var(--gr))}
  .bar{max-width:none;padding-left:calc((100vw - 1340px) / 2 + var(--gl));padding-right:calc((100vw - 1340px) / 2 + var(--gr))}
}
/* big screens: the bench grid keeps its left edge in line with the page and runs on to the right gutter */
@media (min-width:1600px){
  .bench{padding-right:var(--gr)}
  .bench__list{grid-template-columns:repeat(4,minmax(0,1fr))}
}
