/* Masta Sports: mastasports.com
   Brand: Masta Blue #85A9FF, Masta Navy #212030, Masta Green #00513E, Light Grey #EBEBEB.
   Type: Athletic Pro (headings) / Futura (body). Oswald and Jost stand in until licensed files are added. */

:root {
  --blue: #85A9FF;
  --ink: #212030;
  --green: #00513E;
  --bg: #EBEBEB;
  --white: #FFFFFF;
  --muted: #4A4A5C;
  --caption: #5A5A6E;
  --soft: #D6D6DC;
  --line: #C9C9D1;
  --panel: #2B2B40;
  --head: "Athletic Pro", "Oswald", "Arial Narrow", sans-serif;
  --body: "Futura", "Jost", system-ui, sans-serif;
  --pad: 64px;
  --inset: 16px;
  --radius: 8px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --pattern: none; /* the logo pattern was retired 2 Oct 2026: every background is plain */
  --pattern-light: none;
}
@media (max-width: 1100px) { :root { --pad: 40px; --inset: 12px; } }
@media (max-width: 640px)  { :root { --pad: 20px; --inset: 8px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 500; line-height: 1.05; }
h2 { font-size: clamp(36px, 4.4vw, 64px); }
h3 { font-size: clamp(26px, 2.6vw, 36px); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--blue); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }

.wrap { padding-left: var(--pad); padding-right: var(--pad); max-width: 1440px; margin: 0 auto; }
.section { padding-top: 96px; padding-bottom: 24px; }
@media (max-width: 640px) { .section { padding-top: 56px; } }
.muted { color: var(--muted); }
.grey { color: #8A8A99; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); }
.lead { font-size: clamp(17px, 1.4vw, 20px); }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; max-width: 100%; min-height: 48px; padding: 14px 22px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 700; font-size: 16px; cursor: pointer; transition: transform 160ms var(--ease-out), opacity 200ms ease, background-color 200ms ease; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { opacity: .88; } }
.btn-blue { background: var(--blue); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-ghost { border-color: rgba(235,235,235,.4); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { padding: var(--inset); }
.hero-inner { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink) var(--pattern); color: var(--white); padding: 28px 32px 48px; min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hero-inner.green { background: var(--green) var(--pattern-light); }
.hero-inner.tall { min-height: min(900px, calc(100vh - 32px)); }
@media (max-width: 640px) { .hero-inner { padding: 18px 18px 32px; min-height: 540px; } }
.hero-title { font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: .95; font-size: clamp(44px, 7.4vw, 110px); max-width: 16ch; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.hero-foot > p { max-width: 400px; color: var(--soft); }
.hero .eyebrow { color: var(--blue); }
.hero-inner.green .eyebrow { color: #BFD9FF; }

/* header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 5; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo svg { width: 44px; height: 44px; }
.logo .bar { width: 2px; height: 38px; background: var(--bg); }
.logo .word { display: flex; flex-direction: column; font-family: var(--head); font-weight: 600; font-size: 19px; line-height: .98; letter-spacing: .5px; }
.nav { display: flex; gap: 4px; padding: 5px; border-radius: var(--radius); background: rgba(235,235,235,.12); border: 1px solid rgba(235,235,235,.16); }
.nav a { padding: 10px 18px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--bg); }
.nav a[aria-current="page"] { background: var(--white); color: var(--ink); font-weight: 600; }
@media (hover: hover) { .nav a:not([aria-current]):hover { background: rgba(235,235,235,.14); } }
.head-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: var(--radius); border: 1px solid rgba(235,235,235,.4); background: transparent; color: var(--white); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1180px) {
  .nav, .head-actions .contact-link { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) { .head-actions .btn { display: none; } .logo svg { width: 38px; height: 38px; } .logo .word { font-size: 16px; } }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--ink) var(--pattern); color: var(--white); padding: 26px var(--pad) 32px; display: none; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--head); font-size: clamp(38px, 8vw, 60px); font-weight: 500; line-height: 1.1; padding: 6px 0; border-bottom: 1px solid rgba(235,235,235,.14); }
.mobile-menu nav a[aria-current="page"] { color: var(--blue); }
body.menu-open { overflow: hidden; }

/* home hero */
.big-word { font-family: var(--head); font-weight: 700; color: var(--blue); line-height: .8; font-size: min(230px, calc((100vw - 64px) / 3.15)); letter-spacing: -2px; margin: 0; white-space: nowrap; display: flex; flex-direction: column; gap: .04em; }
.big-word span:last-child { color: transparent; -webkit-text-stroke: 3px var(--blue); }
@media (max-width: 640px) { .big-word span:last-child { -webkit-text-stroke-width: 2px; } }
.hero-side { width: 420px; max-width: 100%; display: flex; flex-direction: column; gap: 22px; }
.hero-side p, .hero-headline { margin: 0; font-family: var(--body); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 600; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 6px; background: rgba(235,235,235,.12); color: var(--bg); font-size: 13px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.float-wrap { position: absolute; right: 56px; top: 116px; width: 560px; height: 400px; }
.float { position: absolute; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 10px; }
.float.live { left: 0; top: 0; width: 300px; }
.float.checkin { left: 330px; top: 40px; width: 220px; }
.float.pay { left: 330px; top: 200px; width: 230px; }
.float .big { font-family: var(--head); font-size: 34px; font-weight: 700; line-height: 1; }
.float .sub { font-size: 13px; color: var(--caption); margin-top: -4px; }
.float.card { left: 120px; top: 112px; padding: 0; background: none; box-shadow: none; }
@media (min-width: 1400px) and (max-height: 860px) { .float.card { display: none; } }
.float-small { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--caption); }
.score { display: flex; justify-content: space-between; align-items: center; font-family: var(--head); }
.score b { font-size: 34px; }
.score span { font-size: 18px; font-weight: 600; }
.progress { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--green); }
@media (max-width: 1399px), (max-height: 819px) {
  .float-wrap { position: relative; left: auto; right: auto; top: auto; width: auto; height: auto; display: flex; gap: 12px; }
  .float { position: static; box-shadow: none; flex: 1; }
  .float.card { display: none; }
}
@media (max-width: 640px) { .float.checkin, .float.pay { display: none; } }

/* player cards */
.pcard { position: relative; width: 190px; height: 262px; flex-shrink: 0; border-radius: var(--radius); padding: 18px; perspective: 900px; }
.pcard[class] { background: none; border: 0; }
.pc-face { position: absolute; inset: 0; border-radius: inherit; border: 3px solid var(--pc-bd); background: var(--pc-bg); color: var(--pc-fg); padding: inherit; display: flex; flex-direction: column; justify-content: space-between; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 650ms var(--ease-out); }
.pc-back { transform: rotateY(180deg); justify-content: flex-start; gap: 12px; }
.pc-back .bk { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.pc-back .bk div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 25%, transparent); padding-bottom: 5px; }
.pc-back .bk span { font-weight: 500; }
.pcard.flip .pc-front { transform: rotateY(-180deg); }
.pcard.flip .pc-back { transform: rotateY(0); }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pc-front { transform: rotateY(-180deg); } .pcard:hover .pc-back { transform: rotateY(0); } }
.pcard .ovr { font-family: var(--head); font-size: 50px; font-weight: 700; line-height: 1; }
.pcard .pos { font-size: 13px; font-weight: 700; letter-spacing: 1px; display: block; }
.pcard .nm { font-family: var(--head); font-size: 20px; font-weight: 600; text-align: center; }
.pcard .st { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 10px; font-size: 13px; font-weight: 600; }
.t-bronze { --pc-bg: #A9713F; --pc-bd: #C98E57; --pc-fg: var(--ink); background: var(--pc-bg); border-color: var(--pc-bd); color: var(--pc-fg); }
.t-silver { --pc-bg: #B9BDC6; --pc-bd: #DADDE3; --pc-fg: var(--ink); background: var(--pc-bg); border-color: var(--pc-bd); color: var(--pc-fg); }
.t-gold { --pc-bg: #C9A24A; --pc-bd: #E6C574; --pc-fg: var(--ink); background: var(--pc-bg); border-color: var(--pc-bd); color: var(--pc-fg); }
.t-obsidian { --pc-bg: #111116; --pc-bd: #C9A24A; --pc-fg: #E6C574; background: var(--pc-bg); border-color: var(--pc-bd); color: var(--pc-fg); }
.fan { display: flex; justify-content: center; padding: 20px 0; }
.fan .pcard + .pcard { margin-left: -40px; }
.fan .pcard:nth-child(1) { transform: rotate(-8deg); }
.fan .pcard:nth-child(2) { transform: rotate(-3deg); }
.fan .pcard:nth-child(3) { transform: rotate(2deg); }
.fan .pcard:nth-child(4) { transform: rotate(7deg); }
@media (max-width: 640px) { .fan .pcard { width: 120px; height: 168px; padding: 12px; } .fan .pcard .ovr { font-size: 34px; } .fan .pcard .nm { font-size: 14px; } .fan .pcard .st { font-size: 11px; } .fan .pcard + .pcard { margin-left: -52px; } }

/* statement + numbers */
.statement { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.18; font-weight: 600; max-width: 1000px; margin-left: auto; }
.numbers { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: end; margin-top: 64px; }
.numbers .big { font-family: var(--head); font-weight: 700; font-size: clamp(72px, 8vw, 120px); line-height: .9; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat-row > div { border-top: 4px solid var(--blue); padding-top: 20px; }
.stat-row b { display: block; font-family: var(--head); font-size: clamp(44px, 4vw, 56px); line-height: 1; margin-bottom: 8px; }
@media (max-width: 1100px) { .numbers { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

/* cards + grids */
.card { background: var(--white); border-radius: var(--radius); padding: 32px; }
.card.dark { background: var(--ink); color: var(--white); }
.card.dark .muted { color: var(--soft); }
.card.green { background: var(--green); color: var(--white); }
@media (max-width: 640px) { .card { padding: 22px; } }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.tag { align-self: flex-start; display: inline-block; padding: 6px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: 1px; background: var(--bg); color: var(--ink); }
.dark .tag { background: rgba(235,235,235,.14); color: var(--white); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row h2 { max-width: 760px; }

/* product tabs */
.tabs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; }
.tabs-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.tab-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tab-hint svg { color: var(--green); flex-shrink: 0; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.tablist button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.tablist .tab-num { font-size: 12px; font-weight: 700; color: var(--muted); }
@media (hover: hover) { .tablist button:hover { border-color: var(--ink); } }
.tablist button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tablist button[aria-selected="true"] .tab-num { color: var(--blue); }
.tab-timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.tablist.auto button[aria-selected="true"] .tab-timer { animation: tab-timer 6000ms linear both; }
@keyframes tab-timer { to { transform: scaleX(1); } }
.tab-count { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.stage { position: relative; min-height: 620px; border-radius: var(--radius); background: var(--ink) var(--pattern); display: flex; flex-direction: column; justify-content: center; padding: 40px 32px 32px; min-width: 0; }
.stage .quote { color: var(--white); margin-top: 32px; }
.stage .quote p { font-size: clamp(20px, 2vw, 28px); line-height: 1.25; font-weight: 600; margin-bottom: 16px; }
.stage .quote small { color: #B8B8C6; font-size: 14px; }
.panel-body { width: 100%; display: flex; justify-content: center; }
.panel-body[hidden] { display: none; }
@media (max-width: 1100px) { .tabs-wrap { grid-template-columns: 1fr; } .stage { min-height: 0; padding: 32px 24px; } }
@media (max-width: 640px) { .stage { padding: 24px 16px; } }

/* app mocks */
.mock { width: 100%; max-width: 420px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.mock .row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--bg); font-size: 15px; gap: 12px; }
.mock .title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mock .title span:first-child { font-family: var(--head); font-size: 24px; font-weight: 600; }
.mock-list { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.mock-list .mock { gap: 6px; }
.mock.locked { background: var(--soft); color: #3A3A4C; }
.toggle { width: 44px; height: 24px; border-radius: 12px; background: var(--green); flex-shrink: 0; }
.toggle.off { background: var(--line); }
.controller { width: 100%; max-width: 480px; background: #14141F; border: 6px solid #3A3A4C; border-radius: 12px; padding: 18px; color: var(--white); display: flex; flex-direction: column; gap: 14px; }
.controller .zones { display: flex; gap: 12px; }
.controller .zones span { flex: 1; padding: 22px 0; border-radius: 6px; text-align: center; font-weight: 700; font-size: 14px; background: #3A3A4C; }
.controller .zones span:first-child { background: var(--blue); color: var(--ink); }

/* communities accordion */
.spaces { display: flex; gap: 12px; min-height: 480px; }
.space { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; overflow: hidden; border: 0; text-decoration: none; gap: 24px; transition: flex-grow 600ms var(--ease-out), background-color 300ms ease, transform 300ms var(--ease-out);  border-radius: var(--radius); background: var(--ink); color: var(--white); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; cursor: pointer; transition: background-color 200ms ease; }
.space:nth-child(2), .space:nth-child(4) { background: #2B2B40; }
.space:nth-child(3) { background: #34344C; }
.space.open { flex-grow: 3.4; background: var(--green); }
.space .n { padding: 7px 12px; border-radius: 6px; background: rgba(235,235,235,.14); font-size: 14px; font-weight: 700; }
.space-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.space .arrow { width: 40px; height: 40px; border-radius: 6px; border: 1px solid rgba(235,235,235,.3); display: inline-flex; align-items: center; justify-content: center; transform: rotate(-45deg); transition: transform 400ms var(--ease-out), background-color 300ms ease, color 300ms ease; }
.space.open .arrow { transform: none; background: var(--white); color: var(--green); border-color: var(--white); }
.space-main { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.space .name { display: block; font-family: var(--head); font-size: 30px; font-weight: 700; line-height: 1; }
.space .ghost { position: absolute; z-index: -1; right: -12px; bottom: -40px; font-family: var(--head); font-weight: 700; font-size: 240px; line-height: 1; color: rgba(235,235,235,.06); transform: translateY(40px); opacity: 0; transition: transform 700ms var(--ease-out), opacity 500ms ease; pointer-events: none; }
.space.open .ghost { transform: none; opacity: 1; }
@media (min-width: 1321px) {
  .space:not(.open) .name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 28px; white-space: nowrap; }
  .space.open .name { animation: rise 450ms var(--ease-out) both; }
}
.space.open .name { font-size: 56px; }
.space .body, .space .go { display: none; color: #D8EAE4; max-width: 440px; }
.space.open .body { display: block; }
.space .go { font-weight: 700; font-size: 15px; color: var(--white); margin-top: 6px; padding: 10px 16px; border-radius: 6px; border: 1px solid rgba(235,235,235,.4); transition: background-color 200ms ease, color 200ms ease; }
.space.open .go { display: inline-flex; animation: rise 450ms var(--ease-out) 120ms both; }
.space.open .body { animation: rise 450ms var(--ease-out) 60ms both; }

@media (hover: hover) { .space:hover .go { background: var(--white); color: var(--ink); } }
.space:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 1320px) {
  .spaces { flex-direction: column; min-height: 0; }
  .space, .space.open { flex: none; gap: 16px; }
  .space .body { display: block; }
  .space .go { display: inline-flex; }
  .space .arrow { transform: none; }
  @media (hover: hover) { .space:hover { transform: translateY(-4px); } }
  .space.open .name, .space .name { font-size: 36px; font-weight: 700; }
}

/* sports */
.sports { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.sports .card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 420px; }
.sport-name { font-family: var(--head); font-size: 64px; font-weight: 700; line-height: 1; }
.vote { display: flex; flex-wrap: wrap; gap: 8px; }
.vote a { padding: 10px 14px; border-radius: 6px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
@media (hover: hover) { .vote a:hover { border-color: var(--ink); } }
@media (max-width: 1100px) { .sports { grid-template-columns: 1fr 1fr; } .sports > :first-child { grid-column: 1 / -1; } .sports .card { min-height: 0; } }
@media (max-width: 640px) { .sports { grid-template-columns: 1fr; } }

/* data in motion band */
.motion { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 48px; align-items: center; padding: 64px; overflow: hidden; }
.motion h2 { font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 7vw, 96px); line-height: .95; }
.motion .fan .pcard { width: 190px; height: 266px; }
@media (max-width: 1320px) { .motion { grid-template-columns: minmax(0, 1fr); padding: 40px; } }
@media (max-width: 900px) { .motion .fan .pcard { width: 150px; height: 210px; } .motion .fan .pcard .ovr { font-size: 40px; } }
@media (max-width: 640px) { .motion { padding: 24px; } }

/* quotes */
blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
figure { margin: 0; }
figure.card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }

/* forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { min-height: 50px; padding: 12px 16px; border: 1px solid var(--soft); border-radius: 6px; background: var(--white); font-size: 16px; }
.form textarea { resize: vertical; }
.form .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .form .pair { grid-template-columns: 1fr; } }
.form .hp, .newsletter .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 640px); justify-content: space-between; gap: 48px; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; } }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 640px) { .details { grid-template-columns: 1fr; gap: 18px; } }
.details span { display: block; font-size: 14px; font-weight: 700; color: var(--caption); }
.notice { padding: 14px 16px; border-radius: 6px; background: #D8EAE4; color: var(--green); font-weight: 600; }

/* feature rows (product page) */
.feature { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 64px; align-items: stretch; }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.feature.flip .copy { order: 2; }
.feature .copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.feature .num { display: flex; align-items: baseline; gap: 16px; }
.feature .num b { font-family: var(--head); font-size: 88px; font-weight: 500; line-height: .85; }
.feature .num i { font-size: 17px; font-weight: 700; color: var(--green); }
.feature .panel { min-height: 560px; border-radius: var(--radius); background: var(--ink) var(--pattern); display: flex; align-items: center; justify-content: center; padding: 40px; }
.feature .panel.green { background: var(--green) var(--pattern-light); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.ticks li::before { content: "✓ "; color: var(--green); }
@media (max-width: 1100px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; } .feature.flip .copy { order: 0; } .feature .panel { min-height: 0; padding: 40px 24px; } }
.steps .card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 300px; }
.steps b { font-family: var(--head); font-size: 64px; font-weight: 500; line-height: 1; }
@media (max-width: 640px) { .steps .card { min-height: 0; } }

/* linking diagram */
.link-diagram { display: flex; flex-direction: column; align-items: center; }
.link-diagram .node { padding: 18px 22px; border-radius: var(--radius); background: var(--bg); text-align: center; }
.link-diagram .node small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--green); }
.link-diagram .node strong { font-family: var(--head); font-size: 22px; font-weight: 600; }
.link-diagram .league { background: var(--ink); color: var(--white); }
.link-diagram .league small { color: var(--blue); }
.link-diagram .stem { width: 0; height: 40px; border-left: 3px dashed var(--blue); }
.link-diagram .kids { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .link-diagram .kids { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 1100px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* rows with rules (about) */
.ruled > div { display: grid; grid-template-columns: 110px minmax(0, 420px) minmax(0, 1fr); gap: 32px; padding: 36px 0; border-top: 4px solid var(--blue); }
.ruled > div:last-child { border-bottom: 4px solid var(--blue); }
.ruled b { font-family: var(--head); font-size: 72px; font-weight: 500; line-height: .85; }
.ruled.two > div { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
@media (max-width: 1100px) { .ruled > div, .ruled.two > div { grid-template-columns: 1fr; gap: 14px; } .ruled b { font-size: 56px; } }
.values { background: var(--blue); color: var(--ink); }
.values ul { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 44px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tiers > div { display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 600; }
.tiers .swatch { width: 180px; max-width: 100%; aspect-ratio: 180 / 250; border-radius: var(--radius); border: 3px solid; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 52px; font-weight: 700; }
@media (max-width: 640px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 10px 14px; border-radius: 6px; background: var(--bg); font-weight: 600; }
.team img, .team .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); border-radius: var(--radius) var(--radius) 0 0; background: var(--soft); }
.team .card { padding: 0; overflow: hidden; }
.team .card div { padding: 18px; }

/* footer */
.site-foot { padding: var(--inset); margin-top: 96px; }
.foot-inner { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--green) var(--pattern-light); color: var(--white); padding: 56px 40px 36px; display: flex; flex-direction: column; gap: 56px; }
@media (max-width: 640px) { .foot-inner { padding: 32px 18px 18px; gap: 36px; } }
.newsletter { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 520px; text-align: center; }
.newsletter .box { display: flex; gap: 8px; padding: 6px; border-radius: var(--radius); background: rgba(255,255,255,.14); width: 100%; }
.newsletter input { flex: 1; min-width: 0; height: 46px; border: 0; border-radius: 6px; padding: 0 14px; background: var(--white); color: var(--ink); font-size: 16px; }
.newsletter button { height: 46px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--blue); color: var(--ink); font-weight: 700; cursor: pointer; }
.foot-card { border-radius: var(--radius); background: rgba(33,32,48,.55); padding: 40px; display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 640px) { .foot-card { padding: 22px; } }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-top p { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; font-weight: 600; max-width: 520px; margin-bottom: 24px; }
.foot-links { display: grid; grid-template-columns: repeat(4, auto); gap: 24px clamp(24px, 4vw, 64px); }
.foot-links div { display: flex; flex-direction: column; gap: 12px; }
.foot-links strong { font-size: 15px; }
.foot-links a { color: var(--soft); font-size: 15px; }
@media (hover: hover) { .foot-links a:hover { color: var(--white); } }
@media (max-width: 640px) { .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-word { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.2); padding-top: 28px; }
.foot-word span:first-child { font-family: var(--head); font-weight: 700; color: var(--blue); line-height: .8; font-size: min(170px, calc((100vw - 210px) / 6.2)); letter-spacing: -1px; white-space: nowrap; }
@media (max-width: 640px) { .foot-word span:first-child { font-size: calc((100vw - 110px) / 6.2); } }
.foot-word small { color: var(--soft); font-size: 14px; }

/* blog */
.featured { display: grid; grid-template-columns: 720px 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.featured .ph { min-height: 420px; background: var(--soft); }
.featured > div:last-child { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
@media (max-width: 1100px) { .featured { grid-template-columns: 1fr; } .featured .ph { min-height: 260px; } .featured > div:last-child { padding: 28px; } }
.empty { padding: 48px; text-align: center; border-radius: var(--radius); background: var(--white); }

/* client logo strip */
/* Client logos: one ink colour, one of each, lifting on hover. */
.clients { list-style: none; margin: 0; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 56px; }
.client { display: flex; align-items: center; justify-content: center; }
.client img { height: 84px; width: auto; max-width: 100%; opacity: .72; transition: opacity 250ms ease, transform 350ms var(--ease-out); }
@media (hover: hover) { .client:hover img { opacity: 1; transform: translateY(-6px) scale(1.06); } }
.client span { font-family: var(--head); font-size: 28px; font-weight: 600; line-height: 1.1; color: var(--ink); }
@media (max-width: 900px) { .clients { justify-content: center; gap: 32px 48px; } .client img { height: 64px; } }
.community { scroll-margin-top: 24px; transition: box-shadow 300ms ease; }
.community:target { box-shadow: 0 0 0 4px var(--blue); }

/* ---------- containment: nothing spills out of its box ---------- */
/* Words never split: text wraps only between whole words, and headings are sized so every word fits. */
h1, h2, h3, p, li, blockquote, figcaption, label, .lead, .name, .sport-name, .client span, .cname { hyphens: manual; overflow-wrap: normal; word-break: normal; }
h1, h2, h3, .hero-title, .cname, .sport-name { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
.details a { overflow-wrap: anywhere; }
.card, .mock, .stage, .panel, .feature > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .sports > *, .contact-grid > *, .hero-foot > *, .tabs-wrap > * { min-width: 0; }
.hero-side { flex: 0 1 420px; }
.fan { max-width: 100%; }
.panel-body { flex-direction: column; align-items: center; }
@media (max-width: 380px) {
  .fan .pcard { width: 100px; height: 140px; padding: 10px; }
  .fan .pcard .ovr { font-size: 28px; }
  .fan .pcard .st { display: none; }
  .fan .pcard + .pcard { margin-left: -44px; }
  .tiers .swatch { font-size: 40px; }
}
@media (max-width: 1100px) and (min-width: 641px) { .sports .card .sport-name { font-size: 52px; } }

/* ---------- motion ---------- */
/* Page-load entrance for the hero: plays once, CSS so it stays smooth while fonts and images load. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.site-head { animation: rise 500ms var(--ease-out) both; }
.big-word span { display: block; animation: wipe 900ms var(--ease-in-out) 120ms both; }
.big-word span:last-child { animation-delay: 320ms; }
.hero-foot .eyebrow, .hero-title { animation: rise 600ms var(--ease-out) 80ms both; }
.hero-side > *, .hero-foot > .lead, .hero-foot > p { animation: rise 600ms var(--ease-out) both; }
.hero-side > :nth-child(1) { animation-delay: 300ms; }
.hero-side > :nth-child(2), .hero-foot > .lead, .hero-foot > p { animation-delay: 360ms; }
.hero-side > :nth-child(3) { animation-delay: 420ms; }
.float { animation: pop 600ms var(--ease-out) backwards; }
.float.live { animation-delay: 450ms; }
.float.checkin { animation-delay: 540ms; }
.float.pay { animation-delay: 600ms; }
.float.card { animation-delay: 630ms; }
.float .progress i { transform-origin: left center; animation: fill 900ms var(--ease-out) 900ms both; }
.mock .progress i { transform-origin: left center; }
.tabs-wrap > .in .mock .progress i { animation: fill 900ms var(--ease-out) 300ms both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Scroll reveal: marketing page, fires once per element. Only hidden when JS is running. */
.js main :is(.head-row, .statement, .numbers, .grid-2 > *, .grid-3 > *, .grid-4 > *, .clients > *, .sides > *, .feat-list > *, .tiers > *, .spaces > *, .sports > *, .feature > *, .tabs-wrap > *, .ruled > div, .values, .motion > .stack, .contact-grid > *, .split > *) { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js main :is(.head-row, .statement, .numbers, .grid-2 > *, .grid-3 > *, .grid-4 > *, .clients > *, .sides > *, .feat-list > *, .tiers > *, .spaces > *, .sports > *, .feature > *, .tabs-wrap > *, .ruled > div, .values, .motion > .stack, .contact-grid > *, .split > *).in { opacity: 1; transform: none; }

/* Player cards fan out from a stack when they scroll in. */

.js .fan .pcard { opacity: 0; transition: transform 700ms var(--ease-out), opacity 400ms var(--ease-out); }
.js .fan .pcard:nth-child(1) { transform: translateX(60px) rotate(0deg); }
.js .fan .pcard:nth-child(2) { transform: translateX(20px) rotate(0deg); }
.js .fan .pcard:nth-child(3) { transform: translateX(-20px) rotate(0deg); }
.js .fan .pcard:nth-child(4) { transform: translateX(-60px) rotate(0deg); }
.js .fan.in .pcard { opacity: 1; }
.js .fan.in .pcard:nth-child(1) { transform: rotate(-8deg); transition-delay: 0ms; }
.js .fan.in .pcard:nth-child(2) { transform: rotate(-3deg); transition-delay: 60ms; }
.js .fan.in .pcard:nth-child(3) { transform: rotate(2deg); transition-delay: 120ms; }
.js .fan.in .pcard:nth-child(4) { transform: rotate(7deg); transition-delay: 180ms; }


/* Tab switch: the incoming panel and copy settle in; transitions so rapid clicks retarget instead of restarting. */
.panel-body, [data-copy] { transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
@starting-style { .panel-body { opacity: 0; transform: translateY(8px); } [data-copy] { opacity: 0; } }
.tablist button { transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.tablist button:active, .space:active, .vote a:active, .menu-btn:active { transform: scale(.97); }
.vote a, .menu-btn { transition: transform 160ms var(--ease-out), border-color 200ms ease; }

/* Community cards: layout swaps instantly (no width animation), the revealed copy fades in. */



/* Mobile menu: fades in, links follow in a short stagger. */
.mobile-menu { transition: opacity 250ms var(--ease-out); }
@starting-style { .mobile-menu.open { opacity: 0; } }
.mobile-menu nav a { transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
@starting-style { .mobile-menu.open nav a { opacity: 0; transform: translateY(10px); } }
.mobile-menu nav a:nth-child(2) { transition-delay: 30ms; }
.mobile-menu nav a:nth-child(3) { transition-delay: 60ms; }
.mobile-menu nav a:nth-child(4) { transition-delay: 90ms; }
.mobile-menu nav a:nth-child(5) { transition-delay: 120ms; }
.mobile-menu nav a:nth-child(6) { transition-delay: 150ms; }

/* Hover lifts: gated to real pointers so taps don't leave cards stuck. */
.client { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .client:hover { transform: translateY(-3px); } }

/* Reduced motion: keep the fades that explain changes, drop the movement. */
@media (prefers-reduced-motion: reduce) {
  .site-head, .hero-foot .eyebrow, .hero-title, .hero-side > *, .hero-foot > .lead, .hero-foot > p, .float { animation: fade 200ms ease both; animation-delay: 0ms; }
  .big-word span { animation: none; }
  .float .progress i, .mock .progress i { animation: none; }
  .js main :is(.head-row, .statement, .numbers, .grid-2 > *, .grid-3 > *, .grid-4 > *, .clients > *, .sides > *, .feat-list > *, .tiers > *, .spaces > *, .sports > *, .feature > *, .tabs-wrap > *, .ruled > div, .values, .motion > .stack, .contact-grid > *, .split > *) { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .js .fan .pcard, .js .fan.in .pcard { transition: opacity 300ms ease; transition-delay: 0ms; }
  .js .fan .pcard:nth-child(1) { transform: rotate(-8deg); }
  .js .fan .pcard:nth-child(2) { transform: rotate(-3deg); }
  .js .fan .pcard:nth-child(3) { transform: rotate(2deg); }
  .js .fan .pcard:nth-child(4) { transform: rotate(7deg); }
  .panel-body, [data-copy], .space .body, .mobile-menu nav a { transition: opacity 200ms ease; }
  .btn:active, .tablist button:active, .space:active, .vote a:active, .menu-btn:active { transform: none; }
  @media (hover: hover) and (pointer: fine) { .client:hover { transform: none; } }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* phones: the four-card fan drops to three smaller cards so it fits the box */
@media (max-width: 640px) {
  .fan .pcard, .motion .fan .pcard { width: 108px; height: 152px; padding: 10px; }
  .fan .pcard .ovr, .motion .fan .pcard .ovr { font-size: 30px; }
  .fan .pcard .nm { font-size: 13px; }
  .fan .pcard .st { font-size: 10px; gap: 1px 4px; }
  .fan .pcard + .pcard { margin-left: -36px; }
  .motion .fan .pcard:first-child:not(:last-child):nth-last-child(4) { display: none; }
}
@media (max-width: 360px) { .fan .pcard, .motion .fan .pcard { width: 96px; height: 136px; } .fan .pcard .st { display: none; } }
.cname { font-family: var(--head); font-size: clamp(32px, 9vw, 44px); font-weight: 700; line-height: 1; }
/* real app screenshots: top half only, in a phone frame that fades out at the bottom */
.phone { position: relative; width: min(300px, 80%); aspect-ratio: 780 / 844; flex-shrink: 0; padding: 9px 9px 0; border-radius: 38px 38px 0 0; background: #111116; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px 30px 0 0; background: var(--bg); }
.phone.land { width: min(600px, 100%); aspect-ratio: 1688 / 390; border-radius: 26px 26px 0 0; }
.phone.land img { border-radius: 18px 18px 0 0; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
@media (max-width: 640px) { .phone { width: min(260px, 84%); border-radius: 32px 32px 0 0; padding: 7px 7px 0; } .phone img { border-radius: 26px 26px 0 0; } .phone.land { width: 100%; border-radius: 16px 16px 0 0; padding: 6px 6px 0; } .phone.land img { border-radius: 11px 11px 0 0; } }.feature .panel { min-height: 440px; align-items: flex-end; padding: 56px 40px 0; overflow: hidden; }
.feature .panel .phone { width: min(340px, 86%); }
.feature .panel .phone.land { width: min(640px, 100%); }
@media (max-width: 1100px) { .feature .panel { min-height: 0; padding: 40px 24px 0; } }
/* hyphenated words (bank-transfer, 49–69) wrap as one unit */
.nw { white-space: nowrap; }

/* statement words go from grey to black as the sentence scrolls into view */
.statement.inkable .w { color: #8A8A99; transition: color 250ms ease; }
.statement.inkable .w.on { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .statement.inkable .w { transition: none; } }

/* ---------- Audit round: more motion, sticky header, scroll progress, back to top ---------- */

/* Hero widgets open up on hover to show the detail behind them. */
.float { transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.float .more { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: -10px; transition: grid-template-rows 450ms var(--ease-out), opacity 300ms ease; }
.float .more > div { overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.float .more > div > :first-child { margin-top: 6px; }
.float .kv { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-top: 7px; border-top: 1px solid var(--bg); }
.float .kv span { color: var(--caption); }
.float .kv.ok b { color: var(--green); }
.float .poss { height: 6px; border-radius: 3px; background: #E2B6B6; overflow: hidden; }
.float .poss i { display: block; height: 100%; background: var(--blue); }
.float .faces { display: flex; }
.float .faces span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--white); }
.float .faces span + span { margin-left: -8px; }
.float .faces span:last-child { background: var(--green); }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #00513E; margin-right: 6px; vertical-align: 1px; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,81,62,.5); } 100% { box-shadow: 0 0 0 8px rgba(0,81,62,0); } }
@media (hover: hover) and (pointer: fine) {
  .float:hover { z-index: 6; transform: translateY(-6px) scale(1.04); box-shadow: 0 32px 60px -20px rgba(0,0,0,.6); }
  .float:hover .more { grid-template-rows: 1fr; opacity: 1; }
  .float.card:hover { box-shadow: none; }
}

/* Player card fans: the card under the pointer straightens, lifts and turns over. */
.js .fan.in .pcard:hover:not(#_) { z-index: 3; transform: translateY(-18px) rotate(0deg) scale(1.06); transition-delay: 0ms; }

/* Tier swatches: lift with a sheen passing over. */
.tiers .swatch { position: relative; overflow: hidden; transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.tiers .swatch::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.45) 50%, transparent 58%); transform: translateX(-70%); transition: transform 800ms var(--ease-out); }
@media (hover: hover) { .tiers > div:hover .swatch { transform: translateY(-10px) rotate(-2deg) scale(1.04); box-shadow: 0 24px 40px -18px rgba(0,0,0,.45); } .tiers > div:hover .swatch::after { transform: translateX(70%); } }

/* Cards that lift a little under the pointer. */
.sports > .card, .steps .card, .community, .ctile { transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out); }
@media (hover: hover) { .sports > .card:hover, .steps .card:hover, .community:hover, a.ctile:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(33,32,48,.45); } }

/* Let's talk: contact tiles and the start card. */
.ctiles { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.ctile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; }
.ctile .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 6px; background: var(--bg); color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.ctile .tx { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ctile small { font-size: 13px; font-weight: 700; color: var(--caption); text-transform: uppercase; letter-spacing: 1px; }
.ctile b { font-size: 20px; font-weight: 600; }
.ctile .go { color: var(--muted); transition: transform 300ms var(--ease-out); }
@media (hover: hover) { a.ctile:hover .go { transform: translateX(4px); color: var(--ink); } }
.cta-card { display: flex; flex-direction: column; gap: 16px; padding: 36px; background: var(--ink) var(--pattern); color: var(--white); }
.cta-card h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 700; }
.cta-card p { color: #C9C9D6; max-width: 420px; }

/* Sticky header: slides in once the page's own header has scrolled out of view. */
.sticky-head { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: var(--inset) var(--inset) 0; transform: translateY(calc(-100% - 12px)); transition: transform 400ms var(--ease-out); pointer-events: none; }
.sticky-head.show { transform: none; pointer-events: auto; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px 10px 18px; border-radius: var(--radius); background: rgba(33,32,48,.94); color: var(--white); box-shadow: 0 16px 36px -18px rgba(0,0,0,.6); }
@supports (backdrop-filter: blur(8px)) { .sticky-inner { background: rgba(33,32,48,.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); } }
.sticky-head .logo svg { width: 36px; height: 36px; }
.sticky-head .logo .bar { height: 30px; }
.sticky-head .logo .word { font-size: 16px; }
.sticky-head .btn { min-height: 42px; padding: 10px 18px; }
.sticky-head .nav a { padding: 8px 16px; }

/* Scroll progress, on the right-hand edge. */
.scroll-progress { position: fixed; z-index: 25; left: 8px; top: 25vh; height: 50vh; width: 4px; border-radius: 2px; background: rgba(33,32,48,.14); overflow: hidden; pointer-events: none; }
.scroll-progress i { display: block; width: 100%; height: 100%; background: var(--green); transform: scaleY(0); transform-origin: top; }
@media (max-width: 640px) { .scroll-progress { left: 3px; width: 3px; } }

/* Back to top. */
.to-top { position: fixed; z-index: 25; right: 22px; bottom: 22px; width: 52px; height: 52px; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 300ms ease, transform 400ms var(--ease-out), background-color 200ms ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (hover: hover) { .to-top:hover { background: var(--green); } .to-top:hover svg { animation: nudge 700ms var(--ease-out) infinite; } }
@keyframes nudge { 50% { transform: translateY(-3px); } }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }

@media (prefers-reduced-motion: reduce) {
  .pc-face, .float, .float .more, .tiers .swatch, .tiers .swatch::after, .space, .space .ghost, .space .arrow, .sticky-head, .to-top { transition: none; }
  .space.open .name, .space.open .go, .space.open .body, .pulse, .to-top:hover svg { animation: none; }
}

/* Where the widgets sit in a row (smaller screens), the detail drops down over the page instead of pushing it. */
@media (max-width: 1399px), (max-height: 819px) {
  .float-wrap { align-items: flex-start; z-index: 4; }
  .float:not(.card) { position: relative; }
  .float .more { position: absolute; left: 0; right: 0; top: calc(100% - 6px); margin-top: 0; background: var(--white); padding: 0 20px 14px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); }
}
@media (max-width: 1100px) { .float.checkin { display: none; } }

/* Card backs scale with the card: smaller cards show fewer rows. */
.pcard { container-type: inline-size; }
.pc-back .pos { font-size: 11px; }
.pc-back .bk { font-size: max(10px, 6.6cqw); gap: 5px; }
@container (max-width: 170px) { .pc-back .bk div:nth-child(n+4) { display: none; } }
@container (max-width: 125px) { .pc-back .bk div:nth-child(n+3) { display: none; } .pc-back .bk span { font-size: 9px; } }

/* Players and admins: two doors, each opening a panel. */
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.side { text-decoration: none; position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top top" "copy art"; gap: 28px 24px; align-items: end; min-height: 420px; padding: 28px; border: 0; border-radius: var(--radius); text-align: left; cursor: pointer; color: var(--white); font: inherit; transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.side-player { background: var(--ink) var(--pattern); }
.side-admin { background: var(--green) var(--pattern-light); }
.side-top { grid-area: top; align-self: start; display: flex; justify-content: space-between; align-items: center; }
.side .tag { padding: 7px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--blue); color: var(--ink); }
.side-admin .tag { background: var(--white); color: var(--green); }
.side .plus { position: relative; width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(235,235,235,.35); transition: transform 450ms var(--ease-out), background-color 300ms ease; }
.side .plus::before, .side .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.side .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.side-copy { grid-area: copy; display: flex; flex-direction: column; gap: 12px; }
.side-title { font-family: var(--head); font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: .95; text-transform: uppercase; }
.side-sub { color: #D5D5E0; max-width: 360px; }
.side-admin .side-sub { color: #D8EAE4; }
.side-cta { display: inline-flex; width: fit-content; margin-top: 8px; padding: 11px 16px; border-radius: 6px; border: 1px solid rgba(235,235,235,.45); font-weight: 700; font-size: 15px; transition: background-color 250ms ease, color 250ms ease; }
.side-art { grid-area: art; display: flex; align-items: flex-end; justify-content: center; transition: transform 600ms var(--ease-out); }
.side-art .pcard { width: 150px; height: 208px; padding: 14px; transform: rotate(6deg); transition: transform 600ms var(--ease-out); }
.side-art .pcard .ovr { font-size: 40px; }
.side-art .pcard .nm { font-size: 16px; }
.side-art .pcard .st { font-size: 11px; }
.mini-dues { width: 190px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; transform: rotate(-4deg); transition: transform 600ms var(--ease-out); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.md-row { display: flex; align-items: center; gap: 8px; transition: transform 450ms var(--ease-out); }
.md-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.md-row.off i { background: #C0392B; }
.md-row b { margin-left: auto; color: var(--green); }
.md-row.off b { color: #C0392B; }
.side:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (hover: hover) {
  .side:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(33,32,48,.7); }
  .side:hover .plus { transform: rotate(90deg); background: rgba(235,235,235,.14); }
  .side:hover .side-cta { background: var(--white); color: var(--ink); }
  .side-player:hover .side-art .pcard { transform: rotate(-3deg) translateY(-12px) scale(1.06); }
  .side-admin:hover .mini-dues { transform: rotate(0deg) translateY(-10px) scale(1.05); }
  .side-admin:hover .md-row:nth-child(1) { transform: translateX(6px); transition-delay: 0ms; }
  .side-admin:hover .md-row:nth-child(2) { transform: translateX(6px); transition-delay: 60ms; }
  .side-admin:hover .md-row:nth-child(3) { transform: translateX(6px); transition-delay: 120ms; }
  .side-admin:hover .md-row:nth-child(4) { transform: translateX(6px); transition-delay: 180ms; }
}
@media (max-width: 1100px) { .sides { grid-template-columns: 1fr; } .side { min-height: 0; } }
@media (max-width: 640px) {
  .side { grid-template-columns: 1fr; grid-template-areas: "top" "art" "copy"; padding: 22px; gap: 22px; }
  .side-art { justify-content: flex-start; }
}



/* Phone tile: one number, call or WhatsApp. */
.ctile-phone { flex-wrap: wrap; }
.ctile .acts { display: flex; gap: 8px; }
.ctile .mini { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 16px; border-radius: 6px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; transition: transform 250ms var(--ease-out), background-color 200ms ease; }
.ctile .mini.wa { background: var(--green); }
@media (hover: hover) { .ctile .mini:hover { transform: translateY(-3px); } }
@media (max-width: 480px) { .ctile .acts { width: 100%; padding-left: 64px; } }

@media (prefers-reduced-motion: reduce) {
  .side, .side-art, .side-art .pcard, .mini-dues, .md-row, .side .plus { transition: none; }
}

/* Feature lists on the For players / For admins pages. */
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat-list li { display: flex; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--white); transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out); }
.feat-list .ck { width: 34px; height: 34px; flex-shrink: 0; border-radius: 6px; background: var(--ink); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.feat-list.admin .ck { background: var(--green); color: var(--white); }
.feat-list b { display: block; font-size: 18px; margin-bottom: 4px; }
.feat-list li > span:last-child > span { font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (hover: hover) { .feat-list li:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(33,32,48,.45); } }
@media (max-width: 1100px) { .feat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feat-list { grid-template-columns: 1fr; } .feat-list li { padding: 20px; } }
.split-cta { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.hero-mock { width: 420px; max-width: 100%; }
.hero-mock .mock { box-shadow: 0 24px 48px -20px rgba(0,0,0,.45); }
.kinds { align-content: flex-start; }
.kinds a { background: var(--white); }
@media (hover: hover) { .kinds a:hover { border-color: var(--ink); transform: translateY(-3px); } }

/* Product dropdown in the header. */
.nav-drop { position: relative; display: flex; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > a svg { transition: transform 250ms var(--ease-out); }
.drop { position: absolute; z-index: 20; top: calc(100% + 10px); left: -5px; min-width: 210px; padding: 6px; border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 40px -16px rgba(0,0,0,.45); display: flex; flex-direction: column; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 200ms ease, transform 250ms var(--ease-out); }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav .drop a { color: var(--ink); padding: 11px 14px; border-radius: 6px; font-weight: 600; }
.nav .drop a:hover, .nav .drop a[aria-current="page"] { background: var(--bg); }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; transform: none; pointer-events: auto; }
.nav-drop:hover > a svg, .nav-drop:focus-within > a svg { transform: rotate(180deg); }
.mobile-menu nav a.sub { font-family: var(--body); font-size: clamp(18px, 4vw, 24px); font-weight: 600; padding: 10px 0 10px 22px; color: #C9C9D6; }

/* Communities page: Teams leads, across the full width. */
.community.wide { grid-column: 1 / -1; min-height: 280px !important; }

/* Home hero: the sports animation sits behind the words and widgets. */
.hero-anim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .2; }
.hero-inner > .site-head { z-index: 5; }
.hero-inner > .hero-foot { position: relative; z-index: 1; }
.float-wrap { z-index: 2; }

/* Home hero: plain background so the sports animation is what you see behind the words. */
.hero-inner.plain { background: var(--ink); }

/* Product: choose your side. A two-way switch with a sliding thumb, and a big summary panel for each side. */
.choose-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-bottom: 28px; }
.side-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(560px, 100%); margin: 0 auto 28px; padding: 6px; border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 30px -20px rgba(33,32,48,.5); }
.side-toggle button { position: relative; z-index: 1; min-height: 56px; border: 0; background: none; font: inherit; font-family: var(--head); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); cursor: pointer; transition: color 300ms ease; }
.side-toggle button[aria-selected="true"] { color: var(--white); }
.side-toggle .thumb { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 6px; background: var(--ink); transition: transform 450ms var(--ease-out), background-color 450ms ease; }
.side-toggle.admin .thumb { transform: translateX(100%); background: var(--green); }
.side-toggle button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.side-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; border-radius: var(--radius); color: var(--white); overflow: hidden; }
.side-panel[hidden] { display: none; }
.side-panel.player { background: var(--ink) var(--pattern); }
.side-panel.admin { background: var(--green) var(--pattern-light); }
.side-panel h3 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; line-height: .98; text-transform: uppercase; margin: 10px 0 14px; }
.side-panel .lead { color: #D5D5E0; max-width: 520px; }
.side-panel.admin .lead { color: #D8EAE4; }
.sp-copy { display: flex; flex-direction: column; }
.sp-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.sp-list li { display: flex; gap: 12px; }
.sp-list .ck { width: 28px; height: 28px; flex-shrink: 0; border-radius: 6px; background: var(--blue); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.side-panel.admin .sp-list .ck { background: var(--white); color: var(--green); }
.sp-list b { display: block; font-size: 16px; }
.sp-list li > span:last-child > span { font-size: 14px; color: #C9C9D6; line-height: 1.45; }
.side-panel.admin .sp-list li > span:last-child > span { color: #CDE5DC; }
.sp-art { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sp-art .fan .pcard { width: 200px; height: 276px; }
.sp-mocks { display: flex; flex-direction: column; gap: 12px; width: min(380px, 100%); }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip-stat { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 6px; background: rgba(235,235,235,.1); border: 1px solid rgba(235,235,235,.18); }
.chip-stat small { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #B8B8C6; }
.chip-stat b { font-family: var(--head); font-size: 24px; font-weight: 700; line-height: 1.1; }
/* switching sides: the new panel slides in from the side it was picked on, then its pieces follow */
.side-panel.enter-left { animation: sp-left 550ms var(--ease-out) both; }
.side-panel.enter-right { animation: sp-right 550ms var(--ease-out) both; }
@keyframes sp-left { from { opacity: 0; transform: translateX(-48px); } }
@keyframes sp-right { from { opacity: 0; transform: translateX(48px); } }
.side-panel.enter-left .sp-list li, .side-panel.enter-right .sp-list li, .side-panel.enter-left .chip-stat, .side-panel.enter-right .chip-stat { animation: rise 450ms var(--ease-out) both; animation-delay: calc(150ms + var(--i, 0) * 60ms); }
.side-panel.enter-left .sp-art > :first-child, .side-panel.enter-right .sp-art > :first-child { animation: pop 600ms var(--ease-out) 120ms both; }
@media (max-width: 1100px) { .side-panel { grid-template-columns: 1fr; padding: 36px; } .sp-art { order: -1; } }
@media (max-width: 640px) { .side-panel { padding: 24px; gap: 28px; } .sp-list { grid-template-columns: 1fr; } .sp-art .fan .pcard { width: 140px; height: 194px; } }
@media (prefers-reduced-motion: reduce) { .side-toggle .thumb { transition: none; } .side-panel.enter-left, .side-panel.enter-right, .side-panel .sp-list li, .side-panel .chip-stat, .side-panel .sp-art > :first-child { animation: none !important; } }

/* Legal pages: long plain text */
.card.legal { max-width: 820px; }
.card.legal h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 36px 0 12px; }
.card.legal p { margin: 0 0 14px; line-height: 1.6; }
.card.legal ul { margin: 0 0 16px; padding-left: 22px; }
.card.legal li { margin-bottom: 8px; line-height: 1.55; }

/* Cookie notice: a quiet note, not a blocking banner */
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--white); padding: 14px 16px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; line-height: 1.45; }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; }
.cookie-note a { color: var(--blue); text-decoration: underline; }
.cookie-note button { flex: 0 0 auto; background: var(--blue); color: var(--ink); border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 700; cursor: pointer; }
