/* flicco.io's home page: a games shop under floodlights (the owner's mock-up, 2026-10-30). A dark navy
   ground so the clips carry the colour; the featured game takes turns and lights the page behind it in
   its own colour; every game is a clip tile straight on the page, with no box round it; the Play buttons
   are Flicco's yellow. One dark look, on purpose, and the only one: the top bar, the menu, the footer and
   the forms are drawn here too. */

@font-face { font-family: 'Archivo'; font-weight: 700 900; font-stretch: 100% 125%; font-display: swap; src: url(/site/fonts/archivo-latin-wide-bold.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 300 900; font-display: swap; src: url(/site/fonts/figtree-latin-wght-normal.woff2) format('woff2'); }
/* (the wordmark's own) */
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url(/site/fonts/baloo-2-latin-800-normal.woff2) format('woff2'); }

:root {
  --bg: #071422;
  --floodlight: #14385e;
  --surface: #0e2034;
  --surface-2: #163150;
  --line: #213d5c;
  --text: #eef4fb;
  --muted: #97afc8;
  --sun: #ffd84a;
  --sun-hi: #ffe582;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-hi: rgba(255, 255, 255, 0.18);
  --glass-line: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.55);
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --turn: 9s;
  --club: #ffd84a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; overflow-x: hidden;
  background: radial-gradient(1100px 560px at 50% -200px, var(--floodlight), transparent 70%) no-repeat, var(--bg);
  color: var(--text); font: 500 16px/1.55 var(--font); font-synthesis: none; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 118%; letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 14px; border-radius: 10px; background: var(--sun); color: var(--bg); font-weight: 800; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap, .top-in, .foot-in {
  max-width: 1240px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* --- shared pieces --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 12px;
  background: var(--sun); color: var(--bg); font: 800 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 150ms, transform 150ms var(--ease);
}
.btn svg { width: 13px; height: 13px; fill: currentColor; }
.btn:hover { background: var(--sun-hi); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn.glass { background: var(--glass); color: var(--text); box-shadow: inset 0 0 0 1px var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.glass:hover { background: var(--glass-hi); }
.btn-small { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; }
.chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--sun); color: var(--bg);
  font: 800 11px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 800 12px/1 var(--font); letter-spacing: 0.09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--club); }
.more { font-weight: 700; text-decoration: none; color: var(--text); }
.more::after { content: " \2192"; color: var(--muted); }
.more:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* --- the wordmark --- */
.flicco-mark { position: relative; display: inline-block; white-space: nowrap; font-family: 'Baloo 2', ui-rounded, system-ui, sans-serif; font-weight: 800;
  line-height: 1; letter-spacing: -0.02em; padding: 0.28em 0.12em 0 0.1em; color: #fff4df; }
.flicco-mark .word { position: relative; z-index: 2; display: block; -webkit-text-stroke: 0.075em #2a2620;
  paint-order: stroke fill; text-shadow: 0 0.06em 0 #2a2620, 0 0.16em 0.3em rgba(0, 0, 0, 0.25); }
.flicco-mark .i { position: relative; display: inline-block; }
.flicco-mark .dot { position: absolute; width: 0.36em; height: 0.36em; left: 50%; top: -0.04em; transform: translateX(-46%) rotate(-18deg); }
.flicco-mark .swipe { position: absolute; z-index: 1; left: 0; top: 0; width: 2.731em; height: 1.512em; overflow: visible; }
.flicco-mark .swipe path { fill: none; stroke: #fff4df; stroke-width: 0.05; stroke-linecap: round; stroke-dasharray: 0 0.1; }

/* --- the top bar: the site's own links, on glass --- */
.top {
  position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid var(--glass-line);
  background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; margin-top: -6px; font-size: 30px; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 10px; }
.links ul, .menu ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.links a, .menu a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 15px; text-decoration: none; transition: color 150ms, background-color 150ms; }
.links a:hover, .menu a:hover, .links a[aria-current="page"], .menu a[aria-current="page"] { color: var(--text); background: var(--glass); }
.top .btn { background: var(--glass); color: var(--text); box-shadow: inset 0 0 0 1px var(--glass-line); }
.top .btn:hover { background: var(--glass-hi); }
.menu { display: none; }
@media (max-width: 860px) {
  .links { display: none; }
  .menu { display: block; }
  .menu summary { display: grid; place-content: center; gap: 5px; width: 44px; height: 40px; border-radius: 10px; background: var(--glass);
    box-shadow: inset 0 0 0 1px var(--glass-line); cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 200ms var(--ease), opacity 200ms; }
  .menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu[open] summary span:nth-child(2) { opacity: 0; }
  .menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu ul { position: absolute; left: 16px; right: 16px; top: calc(64px + env(safe-area-inset-top, 0px)); flex-direction: column; padding: 8px;
    border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 24px 44px -18px var(--shadow); }
  .menu a { padding: 12px 16px; border-radius: 10px; font-size: 18px; color: var(--text); }
}
@media (max-width: 400px) { .top .btn { padding: 0 12px; } }

/* --- the featured game: a big screen, and three picks that take turns --- */
.hero { position: relative; overflow: clip; padding-block: 28px 36px; }
/* (the light behind the screen takes the featured game's colour) */
.glow {
  position: absolute; left: 50%; top: -160px; width: min(1100px, 130vw); height: 560px; translate: -50% 0; border-radius: 50%;
  background-color: var(--club); opacity: 0.2; filter: blur(110px); pointer-events: none; transition: background-color 900ms var(--ease);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
/* (the slides share one place on the stage, so it keeps the height of the tallest as they turn) */
.stage { position: relative; display: grid; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 40px 70px -40px var(--shadow); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--glass-line); pointer-events: none; }
.slide { position: relative; grid-area: 1 / 1; min-width: 0; }
.slide[hidden] { display: block; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) { .js .slide:not([hidden]) { animation: show 450ms var(--ease); } }
@keyframes show { from { opacity: 0; } }
.screen { position: absolute; inset: 0; }
.screen video, .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.screen::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 50%, transparent) 36%, transparent 62%),
    linear-gradient(to right, color-mix(in srgb, var(--bg) 72%, transparent) 0%, transparent 58%);
}
.hero-copy { position: absolute; z-index: 2; left: 0; bottom: 0; display: grid; gap: 14px; justify-items: start; max-width: 620px; padding: 36px 40px; }
.hero-copy h2 { font-size: clamp(34px, 5vw, 64px); }
.hero-copy .line { font-size: 18px; max-width: 44ch; }
.hero-copy .acts { margin-top: 6px; }
.where { color: var(--muted); font-size: 14px; font-weight: 600; }

.picks { display: grid; gap: 8px; align-content: start; }
.pick {
  position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px;
  border: 0; border-radius: 14px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; overflow: hidden;
  transition: background-color 200ms;
}
.pick:hover { background: var(--surface); }
.pick[aria-pressed="true"] { background: var(--surface-2); }
.pick img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.pick b { display: block; font-weight: 800; font-size: 16px; line-height: 1.2; }
.pick small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 600; }
/* (the bar under the featured pick fills while it's on; when it's full the next one comes on) */
.bar { position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; }
.bar span { display: block; height: 100%; background: var(--sun); transform-origin: left; }
.pick[aria-pressed="true"] .bar { opacity: 1; }
.turning .pick[aria-pressed="true"] .bar span { animation: turn var(--turn) linear forwards; }
@keyframes turn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* (pointing at the featured game, or moving round it with the keyboard, holds the turns) */
.hero:focus-within .bar span { animation-play-state: paused !important; }
@media (hover: hover) { .hero:hover .bar span { animation-play-state: paused !important; } }
/* (without the script there are no turns: the first game, on its own) */
html:not(.js) .picks { display: none; }
html:not(.js) .hero-grid { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero { padding-top: 16px; }
  .stage { aspect-ratio: auto; border-radius: 18px; }
  .screen { position: relative; aspect-ratio: 16 / 9; }
  .screen::after { background: linear-gradient(to top, var(--surface) 0%, transparent 45%); }
  .hero-copy { position: static; padding: 2px 18px 22px; gap: 12px; }
  .hero-copy .line { font-size: 16px; }
  .pick { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px 8px 12px; }
  .pick b { font-size: 13px; }
  .pick small { display: none; }
  .bar { left: 8px; right: 8px; }
}

/* --- sections --- */
.section { padding-block: 40px; }
.head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.head h2 { font-size: clamp(26px, 3vw, 34px); }

.filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); }
.filters button {
  height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: 700 14px/1 var(--font); cursor: pointer; transition: color 150ms, background-color 150ms;
}
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.filters button span { margin-left: 2px; opacity: 0.6; font-variant-numeric: tabular-nums; }
html:not(.js) .filters { display: none; }

/* --- the games: a clip tile each, straight on the page; the next tile waits for the next game --- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .tiles { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
/* (three that belong together stay three as long as they'll fit, with no hole in a row of two) */
@media (min-width: 541px) { .tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: grid; grid-template-rows: auto 1fr; gap: 14px; min-width: 0; }
.tile[hidden], .next[hidden] { display: none; }
.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--surface);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.thumb video, .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .chip { position: absolute; z-index: 1; top: 10px; left: 10px; }
.tile:hover .thumb, .tile:focus-within .thumb, .tile.playing .thumb {
  transform: translateY(-4px); box-shadow: 0 0 0 2px var(--club), 0 24px 44px -18px color-mix(in srgb, var(--club) 75%, transparent);
}
.clip {
  position: absolute; z-index: 1; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 60%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity 200ms;
}
.clip svg { width: 11px; height: 11px; fill: var(--text); margin-left: 2px; }
.tile.playing .clip { opacity: 0; }
/* (the buttons sit at the foot of each tile, so they line up along a row whatever the line's length) */
.tile-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tile h3 { font-size: 22px; font-stretch: 112%; }
.tile .line { color: var(--muted); font-size: 15px; }
.tile .acts { margin-top: auto; padding-top: 6px; }
@media (prefers-reduced-motion: reduce) { .thumb { transition: none; } }

.next {
  display: grid; place-content: center; justify-items: center; gap: 10px; min-height: 220px; padding: 24px; text-align: center;
  border: 2px dashed var(--line); border-radius: 16px; color: var(--muted);
}
.next b { color: var(--text); font: 800 20px/1.15 var(--display); font-stretch: 112%; }

/* --- today (a row of cards; one fills it) --- */
.today { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 22px; }
.day { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 12px; border-radius: 20px; background: var(--surface); }
.day:only-child { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; }
.day .pic { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 14px; overflow: hidden; }
.day .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.day .pic .chip { position: absolute; top: 10px; left: 10px; }
.day .txt { display: grid; gap: 8px; justify-items: start; min-width: 0; padding-right: 10px; }
.day h3 { font-size: 22px; font-stretch: 112%; }
.day p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.day .acts { margin-top: 6px; }
@media (max-width: 560px) { .day, .day:only-child { grid-template-columns: minmax(0, 1fr); gap: 16px; } .day .txt { padding: 2px 6px 8px; } }

/* --- the deep game: the full career, over a picture of a grown club --- */
.feature { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 480px; border-radius: 24px; overflow: hidden; background: var(--bg); }
.feature > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; display: block; }
.feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 86%, transparent) 34%, transparent 74%),
    linear-gradient(0deg, color-mix(in srgb, var(--club) 26%, transparent), transparent 60%);
}
.feature-copy { display: grid; gap: 16px; justify-items: start; max-width: 560px; min-width: 0; padding: 48px; }
.feature h2 { font-size: clamp(34px, 4.4vw, 56px); }
.lede { font-size: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--club); rotate: 45deg; translate: 0 -1px; }
.feature .acts { margin-top: 8px; }
@media (max-width: 820px) {
  .feature { display: block; min-height: 0; background: var(--surface); }
  .feature > img { position: relative; height: auto; aspect-ratio: 16 / 10; }
  .feature::before { inset: 0 0 auto; aspect-ratio: 16 / 10; background: linear-gradient(0deg, var(--surface) 0%, transparent 50%); }
  .feature-copy { padding: 4px 22px 26px; }
  .lede { font-size: 16px; }
}

/* --- a page of its own (a game's, schools', the studio's): the same bands and tiles, and what follows --- */
.manager { --club: #22a046; }
.football { --club: #e63946; }
.britannia, .schools { --club: #6b8fd6; }
.feature h1 { font-size: clamp(36px, 5vw, 64px); }
.feature .line { color: var(--muted); }
.feature.band h2 { font-size: clamp(26px, 3vw, 38px); }
/* (what a section opens with, when it isn't beside a picture) */
.intro { display: grid; gap: 12px; justify-items: start; max-width: 64ch; margin-bottom: 24px; }
.intro h2 { font-size: clamp(26px, 3vw, 34px); }
.intro .line { color: var(--muted); }
/* (a page that's only this: in the middle of what's left of the screen, with the footer at the foot of it) */
.intro h1 { font-size: clamp(34px, 5vw, 56px); }
.intro.center { justify-items: center; margin: 0 auto; text-align: center; }
.intro.center .acts { justify-content: center; margin-top: 8px; }
.missing { display: flex; flex-direction: column; min-height: 100svh; }
.missing main { flex: 1; display: grid; align-items: center; }
/* (the picture behind the first band can be dragged from one time to another, so nothing over it takes the drag but the links) */
.feature.town { min-height: clamp(480px, 46vw, 580px); }
.feature.aside { min-height: clamp(480px, 42vw, 540px); }
.feature > .compare { position: absolute; inset: 0; z-index: -2; }
@media (min-width: 821px) {
  .feature.town .feature-copy { pointer-events: none; }
  .feature.town .feature-copy a { pointer-events: auto; }
  .feature.town::before {
    pointer-events: none;
    background:
      linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 36%, transparent 56%),
      linear-gradient(0deg, color-mix(in srgb, var(--club) 22%, transparent), transparent 40%);
  }
  /* (a band with its words on the left, and what's going on to the right of them) */
  .feature.band .feature-copy { max-width: 500px; padding-block: 36px; }
  .feature.band::before {
    background:
      linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 32%, transparent 52%),
      linear-gradient(0deg, color-mix(in srgb, var(--club) 26%, transparent), transparent 60%);
  }
  .manager .feature.band > img { object-position: 50% 55%; }
  /* (a picture with the play in the middle of its frame: moved over, clear of the words, and what's on the left of it under them) */
  .feature.aside > img { left: auto; right: 0; width: 72%; object-position: 100% 50%; }
  .feature.aside::before {
    background:
      linear-gradient(90deg, var(--bg) 30%, color-mix(in srgb, var(--bg) 95%, transparent) 45%, transparent 56%),
      linear-gradient(0deg, color-mix(in srgb, var(--club) 20%, transparent), transparent 36%);
  }
}
@media (max-width: 820px) {
  .feature > .compare { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .feature.town::before { display: none; }
  .feature.town .feature-copy { padding-top: 18px; }
  .manager .feature.band > img { aspect-ratio: 1600 / 940; }
}
/* (both buttons on one row on a phone, and a little less between the sections) */
@media (max-width: 480px) {
  .feature .acts { gap: 10px; }
  .feature .acts .btn { padding: 0 16px; }
}
@media (max-width: 680px) { body:not(.home) .section { padding-block: 26px; } }

/* (before and after: what matters turned to the right, clear of the words, and the labels staying with the line between them) */
.compare { --rest: 62; --at: calc(var(--rest) * 1%); position: relative; overflow: hidden; background: var(--surface); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.compare img, .feature.turned > img { transform: scaleX(-1); }
.compare img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--at)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--at); width: 0; }
.compare .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.45); }
.compare .knob {
  position: absolute; top: 50%; left: 0; width: 48px; height: 48px; translate: -50% -50%; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: var(--sun); color: var(--bg); box-shadow: 0 8px 24px var(--shadow); cursor: ew-resize; transition: scale 160ms var(--ease);
}
.compare .knob svg { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compare .knob:active { scale: 0.94; }
.compare .tag {
  position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 72%, transparent); color: var(--text); font: 800 13px/1.2 var(--font); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.compare .tag.l { right: calc(100% - var(--at) + 10px); }
.compare .tag.r { left: calc(var(--at) + 10px); }
@media (max-width: 400px) { .compare .tag { top: 10px; padding: 5px 9px; font-size: 12px; } }
.compare.easing .after { transition: clip-path 700ms var(--ease); }
.compare.easing .handle { transition: left 700ms var(--ease); }
.compare.easing .tag.l { transition: right 700ms var(--ease); }
.compare.easing .tag.r { transition: left 700ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .compare .knob { transition: none; } }

/* (the game's own screens, in tiles two to a row: they want the width) */
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .tiles.two { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
.shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--glass-line); }
.tiles.two h2 { font-size: clamp(22px, 2.4vw, 28px); font-stretch: 112%; }
.tiles.two .line { max-width: 62ch; text-wrap: pretty; }

/* (the phone's screens beside what's said about them, cut at the same place; two to a row on a phone) */
.phones { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 20px 36px; align-items: center; }
.phones .txt { display: grid; gap: 12px; justify-items: start; }
.phones h2 { font-size: clamp(26px, 3vw, 34px); }
.phones .line { color: var(--muted); }
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.screens figure { display: grid; align-content: start; gap: 10px; margin: 0; min-width: 0; }
.screens img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--glass-line), 0 24px 44px -24px var(--shadow); }
.screens figcaption { color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.3; }
@media (max-width: 960px) { .phones { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }

/* (the climb: the six divisions in order, and the same ground at the bottom and the top of them) */
.climb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px 36px; align-items: center; }
.climb .txt { display: grid; gap: 14px; justify-items: start; }
.climb h2 { font-size: clamp(26px, 3vw, 34px); }
.climb .line { color: var(--muted); max-width: 58ch; }
.climb .line a { color: var(--text); }
.ladder { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; line-height: 1; }
.ladder li { padding: 8px 12px; border-radius: 999px; background: var(--surface-2); }
.ladder li:last-child { color: var(--sun); font-weight: 800; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pair img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--surface); }
.pair.same img { aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 860px) { .climb { grid-template-columns: minmax(0, 1fr); } }
.notes.row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: 24px; }
.notes.row .note { align-content: start; }
@media (min-width: 761px) { .notes.row .note + .note { border-top: 0; } }
.notes.row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .notes.row, .notes.row.two { grid-template-columns: minmax(0, 1fr); } }

/* (how it works, and the questions) */
.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px 36px; align-items: start; }
.help .side { display: grid; gap: 20px; }
.help h2 { font-size: clamp(26px, 3vw, 34px); }
.pane { display: grid; gap: 10px; justify-items: start; padding: 24px; border-radius: 20px; background: var(--surface); }
.pane h3 { font-size: 24px; font-stretch: 112%; }
.pane .line { color: var(--muted); font-size: 15px; }
.faq { display: grid; gap: 8px; }
.faq-item { border-radius: 14px; background: var(--surface); }
.faq-item summary { position: relative; padding: 15px 48px 15px 18px; font-weight: 800; line-height: 1.3; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; color: var(--sun); font-size: 24px; font-weight: 700; line-height: 1; transition: rotate 200ms var(--ease); }
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item summary:hover { color: var(--sun-hi); }
.faq-item p { padding: 0 18px 18px; color: var(--muted); font-size: 15px; max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }
@media (max-width: 860px) { .help { grid-template-columns: minmax(0, 1fr); } }

/* (words to read, a page of them: one column, the text a little softer than its headings, so they can be found) */
.prose { max-width: 620px; color: color-mix(in srgb, var(--text) 78%, var(--muted)); font-size: 17px; font-weight: 400; line-height: 1.65; }
.prose h1, .prose h2, .prose strong { color: var(--text); }
.prose h1 { margin-block: 14px; font-size: clamp(34px, 5vw, 52px); }
.prose h2 { margin-block: 40px 10px; font-size: clamp(22px, 2.4vw, 26px); font-stretch: 112%; line-height: 1.15; }
.prose .small { margin-bottom: 28px; }
.prose strong { font-weight: 700; }
.prose p + p, .prose ul + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 20px; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--text); text-decoration-color: var(--sun); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--sun-hi); text-decoration-thickness: 2px; }

/* --- learning: Flicco Britannia, and what it's made to do in class --- */
.learn { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.notes { border-radius: 20px; background: var(--surface); padding: 4px 22px; }
.note { display: grid; row-gap: 5px; padding-block: 18px; }
.note + .note { border-top: 1px solid var(--line); }
.note small { color: var(--muted); font-weight: 800; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; }
.note b { font-weight: 800; font-size: 17px; line-height: 1.3; }
.note span { color: var(--muted); font-size: 15px; }
.note a { color: var(--text); }
.note .ticks { gap: 8px; margin-top: 4px; font-size: 15px; }
.note .ticks b { color: var(--text); font-size: inherit; }
a.note { text-decoration: none; }
a.note:hover b { color: var(--sun-hi); }
.learn h2 { font-size: clamp(26px, 3vw, 34px); }
@media (max-width: 860px) { .learn { grid-template-columns: minmax(0, 1fr); } }

/* --- the news: the site's sign-up --- */
#news { padding-top: 64px; }
.news {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px 32px; align-items: center;
  padding: 34px 230px 34px 36px; border-radius: 24px;
  background: radial-gradient(520px 260px at 88% 100%, color-mix(in srgb, var(--sun) 16%, transparent), transparent 70%), var(--surface);
}
.news .cheer { position: absolute; right: 30px; bottom: 0; width: 190px; height: auto; pointer-events: none; filter: drop-shadow(0 12px 18px var(--shadow)); }
.news h2 { font-size: clamp(24px, 2.6vw, 30px); }
.news h2 + p { color: var(--muted); margin-top: 8px; }
.news form { display: grid; gap: 12px; }
.news .row { display: flex; flex-wrap: wrap; gap: 10px; }
.news input[type=email] {
  flex: 1 1 200px; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--text); font: 600 16px var(--font);
}
.news input[type=email]::placeholder { color: var(--muted); }
.news input[type=email]:focus-visible { outline: 0; border-color: var(--sun); }
.agree { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; font-weight: 600; }
.agree input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sun); }
.small { color: var(--muted); font-size: 13px; }
.small a { color: var(--text); }
.form-err { color: #ff9b8a; font-weight: 700; font-size: 15px; }
.form-err:empty { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: none; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); color: var(--muted); }
.form-done:focus { outline: none; }
.form-done strong { display: block; margin-bottom: 2px; color: var(--text); font: 800 20px/1.2 var(--display); font-stretch: 112%; }
form.sent > :not(.form-done) { display: none; }
form.sent .form-done { display: block; }
/* (the news without the footballer cheering beside it, on the history pages) */
.news.plain { padding-right: 36px; }
@media (max-width: 900px) {
  .news, .news.plain { grid-template-columns: minmax(0, 1fr); padding: 30px 22px 26px; }
  .news .cheer { bottom: auto; top: -74px; right: 8px; width: 132px; }
  .news:not(.plain) h2 { padding-right: 112px; }
}

/* --- the forms with more to them than an email: a school's interest, and a message to the studio --- */
.sheet { display: grid; gap: 14px; min-width: 0; padding: 24px; border-radius: 20px; background: var(--surface); }
.sheet .btn { justify-self: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .sheet legend { padding: 0; font-weight: 700; font-size: 15px; }
.field label .small { font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--text); font: 600 16px var(--font);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--sun); }
.field select { padding-right: 40px; appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2397afc8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px, var(--bg); }
.field textarea { height: auto; min-height: 120px; padding-block: 12px; line-height: 1.4; resize: vertical; }
.sheet fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.sheet legend { margin-bottom: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: block; padding: 11px 14px; border-radius: 999px; background: var(--surface-2); font-size: 15px; font-weight: 700; line-height: 1; transition: background-color 150ms, color 150ms; }
.opt input:checked + span { background: var(--sun); color: var(--bg); }
.opt input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .opt span { transition: none; } }

/* --- the footer: the site's links, and the fair-play line --- */
.foot { margin-top: 24px; padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 600; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.foot .logo { font-size: 34px; }
.foot-brand p { margin-top: 10px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot h2 { margin-bottom: 12px; color: var(--text); font: 800 12px/1 var(--font); letter-spacing: 0.09em; text-transform: uppercase; }
.foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.foot .fair { float: right; color: var(--text); }
@media (max-width: 760px) {
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .fair { float: none; display: block; margin-top: 8px; }
}
