/* Hallmark · shape: Roster Stage, video-led · genre: playful · theme: Sticker (deal: manual, recoloured to the game's grey, yellow and cut-in red) · job: try (vitrine, no download yet) · draw: manual
 * hero: Stage · nav: slab, wordmark and five links · footer: mast · imagery: the product, clips recorded with Godot Movie Maker (finished fighters only) and the fighters' own sprites · signature: the five finished fighters filmed in duel, picked like the select screen
 * axes: light/display-heavy/chromatic-yellow · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, the user asked for more content, so the page runs past the word budget; every added block is a real clip or the game's own text */
/* waive 58: user asked to "show more"; ~900 words, each block carries a clip or the in-game move text. waive 83: picture share above a third, the product is a video game and the user asked for clips */
/* answered F13: fonts: Archivo Expanded Black (free stand-in for the game's Horizon), Gabarito SemiBold; Gabarito ships one weight so body and labels share 600 */
@import url("./tokens.css");
@import url("./base.css");

body { font-weight: 600; }
.pixel { image-rendering: pixelated; }

.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-modal); background: var(--color-accent); color: var(--color-ink); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- Nav: a slab like the in-game HUD ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-ink); color: var(--color-paper-3); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 68px; }
.nav__mark { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-accent); text-decoration: none; }
.nav__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__links a { text-decoration: none; font-size: var(--text-md); padding: var(--space-xs) 0; border-bottom: 3px solid transparent; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav__links a:hover { border-bottom-color: var(--color-accent); color: var(--color-white); }
.nav__links a:active { color: var(--color-accent); }
.nav a:focus-visible { outline-color: var(--color-accent); }
html { scroll-padding-top: 96px; }

/* ---------- Shared pieces ---------- */
h1, h2, h3 { text-transform: uppercase; line-height: 1.02; }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head--split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--gap-columns); align-items: end; }
.lead { color: var(--color-ink-2); }

.diecut { border: 6px solid var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.diecut--photo { border-radius: 22px; overflow: hidden; background: var(--color-slot); }
.frame { position: relative; aspect-ratio: 16 / 9; }
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.clip { position: relative; margin: 0; }
.clip__toggle { position: absolute; right: var(--space-md); bottom: var(--space-md); z-index: var(--z-raised); padding: var(--space-2xs) var(--space-md); border: 3px solid var(--color-white); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper-3); font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), translate var(--dur-micro) var(--ease-out); }
.clip__toggle:hover { background: var(--color-ink-2); }
.clip__toggle:active { translate: 1px 1px; }
.clip__toggle:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.tag { display: inline-block; margin: 0; padding: var(--space-xs) var(--space-md); border: 4px solid var(--color-white); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); font-size: var(--text-sm); }
.tag--red { background: var(--color-accent-2); color: var(--color-accent-2-ink); }

kbd { display: inline-grid; place-items: center; min-width: 2.4em; height: 2.4em; padding: 0 0.5em; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-accent); font-family: var(--font-display); font-size: var(--text-sm); }

.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-size: var(--text-md); color: var(--color-ink); text-decoration: none; box-shadow: inset 0 0 0 3px var(--color-ink); transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); }
.btn:active { translate: 1px 1px; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 5px var(--color-white), 5px 6px 0 5px var(--color-ink); }
.btn--primary:hover { background: var(--color-accent-deep); translate: 0 -2px; }
.btn--primary:active { translate: 4px 5px; box-shadow: 0 0 0 5px var(--color-white), var(--shadow-press); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 8px; }

figcaption { font-size: var(--text-md); color: var(--color-ink-2); }
figcaption b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--text-lg); color: var(--color-ink); margin-bottom: var(--space-2xs); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-2xl) var(--space-3xl); min-height: min(calc(100dvh - 68px), 960px); display: grid; align-items: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); }
.title { font-size: min(var(--text-display), 5rem); max-width: 9ch; color: var(--color-accent); -webkit-text-stroke: 0.09em var(--color-ink); paint-order: stroke fill; text-shadow: 0.06em 0.07em 0 var(--color-ink); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-sm); }
.clip--hero .frame { rotate: 1.5deg; }
.clip__tag { position: absolute; left: -18px; top: -22px; rotate: -5deg; z-index: var(--z-raised); }

/* ---------- Match: bento of moments ---------- */
.match { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-paper-2); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.tile { margin: 0; display: grid; gap: var(--space-md); align-content: start; position: relative; }
.tile--a { grid-column: span 7; }
.tile--b { grid-column: span 5; }
.tile--c { grid-column: span 5; }
.tile--fact { grid-column: span 7; align-content: center; padding: var(--space-2xl); border: 6px solid var(--color-white); border-radius: var(--radius-card); background: var(--color-accent); box-shadow: var(--shadow-card); rotate: -1deg; }
.tile--a .frame { rotate: -1deg; }
.tile--b .frame { rotate: 1.5deg; }
.fact__big { font-family: var(--font-display); text-transform: uppercase; font-size: var(--text-section); line-height: 1.02; margin-bottom: var(--space-lg); max-width: 16ch; }
.tile--fact p:not(.fact__big) { max-width: 44ch; font-size: var(--text-lg); }

/* ---------- Fighters ---------- */
.fighters { padding-block: var(--section-gap) var(--section-gap); }
.picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.pick { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs); border: 4px solid var(--color-white); border-radius: var(--radius-card); background: var(--color-paper-3); color: var(--color-ink); box-shadow: var(--shadow-card); cursor: pointer; text-align: left; font-size: var(--text-md); transition: translate var(--dur-micro) var(--ease-out), rotate var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.pick img { width: 56px; height: 56px; border-radius: 10px; flex: none; background: var(--color-paper-2); }
.pick span { min-width: 0; overflow-wrap: break-word; line-height: 1.15; }
.pick:hover { translate: 0 -2px; rotate: -1deg; }
.pick:active { translate: 3px 4px; box-shadow: var(--shadow-press); }
.pick[aria-selected="true"] { background: var(--color-accent); }
.pick:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }

.fighter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl) var(--space-3xl); align-items: center; }
.fighter + .fighter { margin-top: var(--section-gap-s); }
.js .fighter + .fighter { margin-top: 0; }
.fighter__media { position: relative; padding-bottom: var(--space-xl); }
.fighter__media .frame { rotate: -1deg; }
.fighter__sticker { position: absolute; right: -24px; bottom: -8px; z-index: var(--z-raised); height: 46%; width: auto; filter: drop-shadow(4px 0 0 var(--color-white)) drop-shadow(-4px 0 0 var(--color-white)) drop-shadow(0 4px 0 var(--color-white)) drop-shadow(0 -4px 0 var(--color-white)) drop-shadow(5px 6px 0 var(--color-ink)); pointer-events: none; }
.fighter__sticker--tall { height: 62%; }
.fighter__body { display: grid; gap: var(--space-lg); }
.fighter__body h3 { font-size: var(--text-section); max-width: 14ch; }
.fighter__desc { color: var(--color-ink-2); max-width: 46ch; font-size: var(--text-lg); }
.facts { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.facts li { padding: var(--space-2xs) var(--space-md); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 2px var(--color-ink); font-size: var(--text-sm); }
.passive { max-width: 46ch; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper-3); box-shadow: var(--shadow-hud); }
.passive b { display: block; color: var(--color-accent); font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--text-sm); margin-bottom: var(--space-2xs); }

.kit { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.kit li { display: grid; grid-template-rows: 150px auto; gap: var(--space-md); padding: var(--space-lg); border: 6px solid var(--color-white); border-radius: var(--radius-card); background: var(--color-paper-3); box-shadow: var(--shadow-card); }
.kit li:nth-child(odd) { rotate: -1deg; }
.kit li:nth-child(even) { rotate: 1deg; }
.kit li > img { width: 100%; height: 150px; object-fit: contain; }
.kit__noart { display: grid; place-items: center; height: 150px; font-family: var(--font-display); font-size: 4.5rem; color: var(--color-ink); }
.kit__name { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-lg); color: var(--color-ink); margin-bottom: var(--space-xs); }
.kit li p:not(.kit__name) { color: var(--color-ink-2); }
.kit__ult { background: var(--color-accent) !important; }
.kit__ult kbd { background: var(--color-accent-2); color: var(--color-accent-2-ink); }

/* ---------- Ultimes ---------- */
.ultimes { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-paper-2); }
.ult-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.ult { margin: 0; display: grid; gap: var(--space-md); align-content: start; position: relative; grid-column: span 3; }
.ult--lead { grid-column: span 12; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: var(--gap-columns); align-items: end; }
.ult--lead figcaption { font-size: var(--text-lg); }
.ult--lead figcaption b { font-size: var(--text-section); line-height: 1.02; margin-bottom: var(--space-md); }
.ult:nth-child(even) .frame { rotate: 1.5deg; }
.ult:nth-child(odd):not(.ult--lead) .frame { rotate: -1.5deg; }

/* ---------- Ink band: controls ---------- */
.band { padding-block: var(--section-gap-s); }
.band--ink { background: var(--color-ink); color: var(--color-paper-3); }
.statement { font-size: var(--text-display-s); max-width: 22ch; color: var(--color-paper-3); }
.pad { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.pad li { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-ink-2); box-shadow: var(--shadow-hud); font-size: var(--text-lg); }
.pad li:nth-child(odd) { rotate: -1.5deg; }
.pad li:nth-child(even) { rotate: 1.5deg; }
.pad kbd { background: var(--color-accent); color: var(--color-ink); font-size: var(--text-md); }
.band__note { margin-top: var(--space-2xl); color: var(--color-paper-2); }

/* ---------- Modes ---------- */
.modes { padding-block: var(--section-gap) var(--section-gap); }
.table-wrap { overflow-x: auto; border: 6px solid var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); background: var(--color-paper-3); }
.table-wrap:focus-visible, .rail:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: var(--text-md); }
th, td { text-align: left; padding: var(--space-md) var(--space-lg); vertical-align: middle; }
thead th { background: var(--color-ink); color: var(--color-paper-3); font-size: var(--text-sm); font-weight: 600; }
tbody tr + tr > * { border-top: var(--rule-bar) dashed var(--color-paper-2); }
tbody th { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--text-md); white-space: nowrap; }
tbody tr { height: 68px; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; margin-top: var(--space-3xl); }
.split .frame { rotate: 1.5deg; }
.split__text { display: grid; gap: var(--space-lg); }
.split__text h3 { font-size: var(--text-section); }
.split__text p { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 40ch; }

/* ---------- La Une ---------- */
.une { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-paper-2); }
.une__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.une__text { display: grid; gap: var(--space-lg); }
.une__text p:not(.lead) { color: var(--color-ink-2); max-width: 46ch; }
.une .frame { rotate: -2deg; }

/* ---------- Screens: rail ---------- */
.ecrans { padding-block: var(--section-gap) var(--section-gap); }
.rail { display: flex; gap: var(--gap-columns); margin: 0; padding: var(--space-md) max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))) var(--space-2xl); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.rail li { flex: 0 0 min(640px, 82vw); scroll-snap-align: start; }
.rail figure { margin: 0; display: grid; gap: var(--space-md); }
.rail img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 6px solid var(--color-white); border-radius: 22px; box-shadow: var(--shadow-card); background: var(--color-slot); }
.rail li:nth-child(odd) img { rotate: -1deg; }
.rail li:nth-child(even) img { rotate: 1deg; }

/* ---------- Footer: mast ---------- */
.foot { background: var(--color-ink); color: var(--color-paper-3); padding-block: var(--space-3xl) var(--space-2xl); }
.foot__mark { margin: 0; font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 6.5rem); line-height: 1; color: var(--color-accent); text-transform: uppercase; overflow-wrap: break-word; min-width: 0; }
.foot__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-bar) dashed var(--color-muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.foot__links a { text-decoration: none; border-bottom: 3px solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.foot__links a:hover { border-bottom-color: var(--color-accent); }
.foot a:focus-visible { outline-color: var(--color-accent); }
.foot__legal { color: var(--color-paper-2); font-size: var(--text-sm); max-width: 60ch; justify-self: end; }

/* ---------- Narrower screens ---------- */
@media (max-width: 75rem) {
  .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ult { grid-column: span 6; }
}
@media (max-width: 60rem) {
  .nav__links { gap: var(--space-md); }
  .hero { min-height: 0; }
  .hero__grid, .fighter, .une__grid, .head--split, .foot__row, .split, .ult--lead { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .tile--a, .tile--b, .tile--c, .tile--fact { grid-column: span 12; }
  .picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pad { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__legal { justify-self: start; }
  .nav { position: static; }
}
@media (max-width: 40rem) {
  .nav__row { flex-wrap: wrap; padding-block: var(--space-sm); }
  .picker, .pad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit { grid-template-columns: minmax(0, 1fr); }
  .ult { grid-column: span 12; }
  .tile--fact { padding: var(--space-xl); }
}
