/* Kickleton FC · The New Striker · audiobook microsite
   Matchday sticker-album identity: paper, navy, orange, lime, rain blue. */

@font-face { font-family: "Archivo Black"; src: url("fonts/archivo.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/firareg.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #1C2541;
  --navy-2: #26304f;
  --orange: #F0731F;
  --lime: #8CC63F;
  --rain: #5887BB;
  --red: #C8312B;
  --paper: #FEFCF5;
  --paper-2: #F4EEDD;
  --ink: #1C2541;
  --muted: #4A5370;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Fira Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --halftone: radial-gradient(circle, rgba(255,255,255,.07) 1.1px, transparent 1.3px) 0 0 / 9px 9px;
  --halftone-ink: radial-gradient(circle, rgba(28,37,65,.07) 1.1px, transparent 1.3px) 0 0 / 9px 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--navy); padding: .6rem 1rem; font-weight: 700; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: var(--paper); position: sticky; top: 0; z-index: 20; border-bottom: 4px solid var(--orange); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; }
.brand img { width: 40px; }
.nav { display: flex; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--lime); }

/* ---------- labels & buttons ---------- */
.label { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; }
.label::before { content: ""; display: inline-block; width: 22px; height: 3px; background: currentColor; vertical-align: middle; margin-right: .55rem; transform: translateY(-2px); }
.label--lime { color: var(--lime); }

.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--orange); color: var(--navy);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 1.05rem 1.6rem 1rem; font-size: 1.05rem;
  box-shadow: 6px 6px 0 var(--lime);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--lime); }
.btn:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--lime); }
.btn--big { font-size: 1.15rem; min-height: 60px; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--halftone); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; padding: 4.5rem 0 5rem; }
.kicker { font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(254,252,245,.75); }
.series { font-family: var(--display); text-transform: uppercase; color: var(--lime); font-size: 1.15rem; letter-spacing: .03em; margin-top: 1.4rem; }
.series span { color: var(--orange); margin: 0 .25rem; }
.hero h1 { font-size: clamp(3.4rem, 8.2vw, 6.6rem); color: var(--orange); text-transform: none; margin: .5rem 0 1.5rem; text-shadow: 4px 4px 0 rgba(0,0,0,.25); }
.hero__lead { font-size: 1.25rem; line-height: 1.5; max-width: 30ch; margin-bottom: 2.2rem; color: var(--paper); }
.facts { list-style: none; padding: 0; margin: 2.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(254,252,245,.2); }
.facts li { padding: 1rem 1.4rem 0 0; margin-right: 1.4rem; font-size: .95rem; color: rgba(254,252,245,.8); border-right: 1px solid rgba(254,252,245,.2); }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--display); font-weight: 400; color: var(--paper); font-size: 1.35rem; line-height: 1.1; }

.hero__art { margin: 0; position: relative; justify-self: end; width: min(100%, 470px); }
.hero__art picture { display: block; position: relative; border: 10px solid var(--paper); box-shadow: 14px 14px 0 var(--orange); transform: rotate(1.6deg); background: var(--paper); }
.hero__art img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 6%; }
.hero__art picture::after { content: ""; position: absolute; inset: 0; outline: 2px solid var(--navy); outline-offset: -6px; pointer-events: none; }
.hero__art figcaption { margin-top: 1.6rem; font-size: .8rem; letter-spacing: .06em; color: rgba(254,252,245,.65); text-align: right; }

/* ---------- book ---------- */
.book { padding: 6rem 0; background: var(--paper); position: relative; }
.book__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4.5rem; align-items: center; }
.book__cover { position: relative; max-width: 360px; justify-self: center; }
.book__cover::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--rain); background-image: var(--halftone); }
.book__cover img { position: relative; box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.book h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); color: var(--navy); margin-bottom: 1.4rem; max-width: 16ch; }
.synopsis { font-size: 1.2rem; line-height: 1.6; max-width: 54ch; margin-bottom: 2rem; }
.synopsis em { font-style: normal; font-weight: 700; color: var(--orange); }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 2rem; border-top: 3px solid var(--navy); border-bottom: 1px solid rgba(28,37,65,.25); }
.specs div { padding: .9rem .9rem .9rem 0; }
.specs div + div { padding-left: .9rem; border-left: 1px solid rgba(28,37,65,.2); }
.specs dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.specs dd { margin: .25rem 0 0; font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.series-note { color: var(--muted); max-width: 58ch; }
.series-note strong { color: var(--ink); }

/* ---------- listen / player ---------- */
.listen { background: var(--navy); color: var(--paper); padding: 6rem 0 5rem; position: relative; scroll-margin-top: 60px; }
.listen::before { content: ""; position: absolute; inset: 0; background: var(--halftone); pointer-events: none; }
.listen .wrap { position: relative; }
.listen__head { margin-bottom: 2.6rem; }
.listen h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--paper); }
.listen__tip { margin-top: .9rem; font-size: 1.15rem; color: rgba(254,252,245,.82); }

.player { display: grid; grid-template-columns: 1fr 1.05fr; border: 3px solid var(--paper); background: var(--paper); color: var(--ink); box-shadow: 12px 12px 0 var(--orange); }
.deck { padding: 2.2rem 2.2rem 2rem; background: var(--paper-2); background-image: var(--halftone-ink); display: flex; flex-direction: column; gap: 1.8rem; border-right: 3px solid var(--navy); }
.deck__now { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; }
.deck__now img { width: 64px; border: 2px solid var(--navy); }
.deck__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.deck__title { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.02; margin-top: .35rem; }
.deck__controls { display: flex; align-items: center; gap: 1.2rem; }
.ctl { width: 56px; height: 56px; display: grid; place-items: center; border: 3px solid var(--navy); background: var(--paper); color: var(--navy); cursor: pointer; padding: 0; }
.ctl svg { width: 24px; height: 24px; fill: currentColor; }
.ctl:hover { background: var(--navy); color: var(--paper); }
.ctl--play { width: 84px; height: 84px; background: var(--orange); border-color: var(--navy); box-shadow: 5px 5px 0 var(--navy); }
.ctl--play svg { width: 38px; height: 38px; }
.ctl--play:hover { background: var(--orange); color: var(--navy); transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--navy); }
.ctl--play .i-pause, .is-playing .ctl--play .i-play { display: none; }
.is-playing .ctl--play .i-pause { display: block; }

.deck__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; }
.time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .95rem; min-width: 3ch; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; --p: 0%; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(to right, var(--orange) var(--p), rgba(28,37,65,.18) var(--p)); border: 0; }
input[type=range]::-moz-range-track { height: 8px; background: rgba(28,37,65,.18); }
input[type=range]::-moz-range-progress { height: 8px; background: var(--orange); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -7px; background: var(--navy); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--navy); border-radius: 50%; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--navy); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--navy); border-radius: 50%; }

.deck__extra { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
.chip { font: 700 .9rem/1 var(--body); padding: .75rem 1rem; border: 2px solid var(--navy); background: var(--navy); color: var(--paper); cursor: pointer; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: .35rem; }
.chip span { font-weight: 400; opacity: .8; }
.chip--ghost { background: transparent; color: var(--navy); }
.chip:hover { background: var(--orange); color: var(--navy); border-color: var(--navy); }

.tracks { list-style: none; margin: 0; padding: .6rem 0; counter-reset: none; }
.tracks li + li { border-top: 1px solid rgba(28,37,65,.14); }
.tracks button { width: 100%; display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: .6rem; padding: .95rem 1.6rem; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); font: 700 1.05rem/1.25 var(--body); min-height: 56px; position: relative; }
.tracks .n { font-family: var(--display); font-weight: 400; font-size: 1.05rem; color: var(--rain); }
.tracks .d { font-weight: 400; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .95rem; }
.tracks button:hover { background: var(--paper-2); }
.tracks button[aria-current="true"] { background: var(--navy); color: var(--paper); }
.tracks button[aria-current="true"] .n { color: var(--orange); }
.tracks button[aria-current="true"] .d { color: var(--lime); }
.tracks button[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--orange); }

.lock-note { margin: 0; padding: .8rem 1rem; border-left: 6px solid var(--orange); background: var(--navy); color: var(--paper); font-weight: 700; font-size: .95rem; line-height: 1.35; }
.lock-note[hidden] { display: none; }
.lock-note.is-flash { animation: lockflash .9s ease-out; }
@keyframes lockflash { 0% { background: var(--orange); color: var(--navy); } 100% { background: var(--navy); color: var(--paper); } }
@media (prefers-reduced-motion: reduce) { .lock-note.is-flash { animation: none; } }
.chip[hidden] { display: none; }
.tracks button.is-locked .t, .tracks button.is-locked .n { opacity: .55; }
.tracks .lock { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tracks .lock svg { width: 14px; height: 14px; fill: currentColor; }
.ai-note { margin-top: 2.4rem; font-size: .9rem; color: rgba(254,252,245,.7); }

/* ---------- team ---------- */
.team { padding: 6rem 0 5rem; background: var(--paper); scroll-margin-top: 60px; }
.team__head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .2rem 3rem; margin-bottom: 3rem; }
.team__head .label { grid-column: 1 / -1; }
.team h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--navy); }
.team__head p:last-child { color: var(--muted); font-size: 1.1rem; padding-bottom: .4rem; }

.stickers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem 1.6rem; }
.sticker { background: #fff; border: 2px solid var(--navy); padding: 8px; position: relative; transition: transform .2s ease; }
.sticker:nth-child(odd) { transform: rotate(-.8deg); }
.sticker:nth-child(even) { transform: rotate(.7deg); }
.sticker:hover { transform: rotate(0) translateY(-4px); }
.sticker__img { aspect-ratio: 292 / 360; overflow: hidden; border: 2px solid var(--navy); background: var(--rain); }
.sticker__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sticker__band { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; background: var(--navy); color: var(--paper); padding: .6rem .7rem; margin-top: 6px; }
.num { grid-row: 1 / 3; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--orange); min-width: 1.4ch; text-align: center; }
.num--txt { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; writing-mode: horizontal-tb; min-width: 0; }
.name { font-family: var(--display); font-size: 1rem; line-height: 1.1; text-transform: uppercase; }
.pos { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.sticker p { font-size: .95rem; line-height: 1.45; padding: .8rem .3rem .3rem; color: var(--ink); }
.sticker--rival .sticker__band { background: var(--red); }
.sticker--rival .num, .sticker--rival .pos { color: var(--paper); }
.sticker--gus .sticker__band { background: var(--rain); }
.sticker--gus .num { color: var(--navy); }
.sticker--gus .pos { color: var(--navy); }

/* ---------- grown-ups ---------- */
.grownups { background: var(--paper-2); background-image: var(--halftone-ink); border-top: 3px solid var(--navy); padding: 3.6rem 0; }
.grownups__in { display: grid; grid-template-columns: .8fr 2fr; gap: 3rem; align-items: start; }
.grownups h2 { font-size: 1.9rem; color: var(--navy); }
.grownups ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2.4rem; }
.grownups li { padding-left: 1.2rem; border-left: 3px solid var(--orange); }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: rgba(254,252,245,.8); padding: 3rem 0 2.6rem; border-top: 6px solid var(--orange); font-size: .9rem; }
.foot__grid { display: grid; grid-template-columns: auto auto 1fr; gap: 2rem 3rem; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: .9rem; }
.foot__series { font-family: var(--display); text-transform: uppercase; color: var(--paper); font-size: 1.15rem; }
.foot__pub { letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; font-weight: 700; color: var(--lime); }
.foot__nav { display: flex; gap: 1.2rem; }
.foot__nav a { text-decoration: none; font-weight: 700; }
.foot__nav a:hover { color: var(--orange); }
.foot__legal { text-align: right; line-height: 1.5; font-size: .8rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .stickers { grid-template-columns: repeat(2, 1fr); }
  .player { grid-template-columns: 1fr; }
  .deck { border-right: 0; border-bottom: 3px solid var(--navy); }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__legal { text-align: left; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.6rem; padding: 2.4rem 0 3.6rem; }
  .hero__art { order: -1; justify-self: stretch; width: 100%; }
  .hero__art picture { transform: none; border-width: 6px; box-shadow: 8px 8px 0 var(--orange); }
  .hero__art img { aspect-ratio: 16 / 10; object-position: 50% 22%; }
  .hero__art figcaption { text-align: right; margin-top: .9rem; font-size: .7rem; }
  .hero h1 { margin-bottom: 1rem; }
  .hero__lead { margin-bottom: 1.6rem; }
  .book { padding: 4.2rem 0; }
  .book__grid { grid-template-columns: 1fr; gap: 3rem; }
  .book__cover { max-width: 250px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .specs div:nth-child(n+3) { border-top: 1px solid rgba(28,37,65,.2); }
  .grownups__in { grid-template-columns: 1fr; gap: 1.6rem; }
  .team__head { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .nav { gap: .9rem; }
  .nav a { font-size: .8rem; }
  .brand span { display: none; }
  .hero__lead { font-size: 1.12rem; }
  .btn--big { width: 100%; justify-content: center; }
  .facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin-top: 1.8rem; }
  .facts li { padding: .8rem 0 0; margin: 0; border: 0; font-size: .8rem; }
  .facts strong { font-size: 1.1rem; }
  .hero__grid { gap: 1.8rem; padding-top: 1.4rem; }
  .kicker { font-size: .72rem; }
  .series { margin-top: .8rem; font-size: 1rem; }
  .book__cover { max-width: 200px; }
  .deck__extra .chip { width: 100%; justify-content: center; }
  .chip span { display: none; }
  .listen, .team { padding: 4rem 0 3.4rem; }
  .player { box-shadow: 7px 7px 0 var(--orange); }
  .deck { padding: 1.5rem 1.2rem 1.4rem; gap: 1.4rem; }
  .deck__controls { justify-content: center; }
  .tracks button { padding: .85rem 1rem; grid-template-columns: 2.4rem 1fr auto; font-size: 1rem; }
  .stickers { gap: 1.6rem 1rem; }
  .sticker p { font-size: .86rem; }
  .name { font-size: .85rem; }
  .num { font-size: 1.5rem; }
  .grownups ul { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .stickers { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .sticker, .hero__art picture { transform: none !important; }
}
