@font-face {
    font-family: 'League Spartan';
    src: url('league-spartan-800.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
:root {
    color-scheme: dark;
    --ink: #0a0b0b;
    --paper: #f1f3f2;
    --muted: #aebbb3;
    --line: #29342e;
    --accent: #54e3ac;
    --forest: #123e32;
    --display: 'League Spartan', 'Arial Narrow', system-ui, sans-serif;
    --body: 'Instrument Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: .99; letter-spacing: -.06em; text-wrap: balance; }
h1 { font-size: clamp(3.45rem, 9vw, 9.5rem); font-weight: 800; }
h2 { font-size: clamp(2.6rem, 5.8vw, 6rem); font-weight: 800; }
h3 { font-size: clamp(2.5rem, 5.2vw, 5.25rem); font-weight: 800; }
em { color: var(--accent); font-style: normal; }
p { text-wrap: pretty; }
.shell { width: min(100% - clamp(2.25rem, 9vw, 11rem), 84rem); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: .5rem; z-index: 5; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { transform: none; }
.header { position: relative; z-index: 2; border-bottom: 1px solid #ffffff20; background: #0d100f; }
.header-home { position: absolute; inset: 0 0 auto; background: linear-gradient(#0a0b0be6, #0a0b0b2b); }
.topbar { display: flex; min-height: 5.5rem; align-items: center; justify-content: space-between; gap: .3rem 1rem; }
.logo { flex: 0 0 auto; }
.logo img { max-width: 100%; height: auto; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem clamp(.8rem, 2.8vw, 2.6rem); }
nav a { color: #e5eae7; font-size: .95rem; font-weight: 650; text-decoration: none; }
nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .75rem 1.15rem; border: 1px solid transparent; font-size: .95rem; font-weight: 730; line-height: 1.3; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.button.primary { background: var(--accent); color: #08120e; }
.button.primary:hover { background: var(--paper); }
.button.outline { border-color: #a0b4a693; background: #0a0b0b57; color: var(--paper); }
.button.outline:hover { border-color: var(--accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--accent); font-size: .875rem; font-weight: 720; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 1.55rem; height: 1px; background: currentColor; flex: none; }
.lead { max-width: 42ch; color: #dee6e0; font-size: clamp(1rem, 1.75vw, 1.25rem); }
.hero { position: relative; isolation: isolate; overflow: hidden; background-color: #111b15; }
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: url('estadio-noche.webp') center 54% / cover no-repeat; }
.hero::after {
    background: linear-gradient(90deg, #080c0a 0%, #080c0ae5 26%, #080c0a48 62%, transparent 85%),
        linear-gradient(0deg, var(--ink), transparent 26%);
}
.hero-inner { min-height: clamp(41rem, 53vw, 58rem); display: flex; align-items: center; padding-block: 9rem 4.5rem; }
.hero h1 { margin-block: 1.15rem 1.4rem; }
.hero .actions, .article-hero .actions { margin-top: 1.8rem; }
.hero-copy { animation: enter .7s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(.7rem); } to { opacity: 1; transform: translateY(0); } }

.products { padding-block: clamp(1.5rem, 5vw, 5rem) clamp(3rem, 7vw, 7rem); }
.product { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: clamp(1.55rem, 6vw, 7rem); padding-block: clamp(2rem, 5vw, 4.6rem); border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.product.ingame { grid-template-columns: 1.35fr 1fr; --accent: #9cd5b9; }
.product-copy h2 { margin-block: .85rem 1rem; }
.product-copy > p:not(.eyebrow) { max-width: 42ch; color: var(--muted); }
.product-copy .button { margin-top: 1.4rem; }
.product-frame { position: relative; isolation: isolate; aspect-ratio: 1.62; overflow: hidden; display: grid; align-items: end; background: #0d100f; border: 1px solid #35443b; }
.product-frame > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.product-frame::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a100d 1%, #0a100de0 23%, #0a100d0d 70%), linear-gradient(0deg, #0a100df2, transparent 49%); }
.product-frame figcaption { padding: clamp(.9rem, 2.5vw, 2.3rem); }
.product-frame figcaption :is(span, small) { display: block; color: #dde5e0; font-size: .875rem; }
.product-frame figcaption span { color: var(--accent); font-weight: 700; }
.product-frame figcaption strong { display: block; margin-block: .45rem; font: 800 clamp(1.8rem, 4.6vw, 4.4rem)/.92 var(--display); letter-spacing: -.055em; }
.scouting-frame > img { filter: saturate(.1); object-position: 65% center; }
.scouting-frame::after { content: ''; position: absolute; inset: .65rem; pointer-events: none; border: 1px solid #a6b8ae27; }
.ingame-frame > img { object-position: center 64%; filter: saturate(.72); }

.editorial, .archive { --accent: #efcf81; }
.editorial { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.4rem; margin-bottom: 1.55rem; }
.section-head h2 { font-size: clamp(2.25rem, 4.7vw, 4.8rem); }
.text-link { color: var(--accent); }
.feature { position: relative; isolation: isolate; min-height: clamp(29rem, 47vw, 46rem); display: flex; align-items: end; overflow: hidden; background: #151613; }
.feature-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.feature::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #090b0af5 0%, #090b0aba 25%, transparent 72%), linear-gradient(0deg, #090b0a 0%, #090b0abe 18%, transparent 73%); }
.feature-copy { max-width: 43rem; padding-block: 4rem clamp(2.75rem, 6vw, 6rem); }
.feature-copy :is(h2, h3) { margin-block: .75rem 1.1rem; }
.feature-copy p:not(.eyebrow) { max-width: 51ch; color: #d7dfd9; }
.feature-copy .button { margin-top: 1.3rem; }

.footer { border-top: 1px solid var(--line); }
.footer .shell { min-height: 6rem; padding-block: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.4rem; color: var(--muted); font-size: .9rem; }
.footer .shell > a:last-child:not(.logo) { margin-left: auto; }
.archive { min-height: calc(100vh - 11.5rem); }
.archive-intro { padding-block: clamp(2.75rem, 7vw, 6.5rem); }
.archive h1 { font-size: clamp(2.8rem, 7.8vw, 7.9rem); }
.archive h1 span { color: var(--accent); }
.archive .lead { margin-top: .75rem; }

.article-hero {
    --accent: #efcf81;
    min-height: clamp(32rem, 49vw, 49rem);
    display: grid;
    align-items: end;
    background: linear-gradient(90deg, #080a09f5, #080a09bf 29%, transparent 78%),
        linear-gradient(0deg, var(--ink) 1%, #080a0966 50%, #080a0929),
        url('centenario.webp') center 44% / cover no-repeat, #101612;
    padding-block: clamp(3rem, 9vw, 8rem) clamp(2.75rem, 6vw, 6rem);
    border-bottom: 1px solid var(--line);
}
.article-hero h1 { margin-block: .85rem 1.1rem; font-size: clamp(2.85rem, 7vw, 7rem); max-width: 15ch; }
.article-hero .lead { color: var(--paper); font-weight: 680; }
.byline { color: var(--muted); margin-top: .4rem; font-size: .9rem; }
.article-body { --accent: #efcf81; padding-block: clamp(2.75rem, 7vw, 6.25rem); }
.analysis { max-width: 57rem; margin-inline: auto; }
.analysis h2 { margin-bottom: 1rem; font-size: clamp(2.25rem, 4.5vw, 4.4rem); }
.analysis p { color: #d1dcd6; font-size: 1.1rem; max-width: 71ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: clamp(1.5rem, 4vw, 2.8rem); border-block: 1px solid var(--line); background: #111511; }
.stats div { display: flex; flex-direction: column-reverse; gap: .5rem; padding: clamp(.7rem, 2.25vw, 1.8rem); }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { color: var(--muted); font-size: .9rem; }
.stats dd { color: var(--accent); font: 800 clamp(1.6rem, 4vw, 3.8rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.gallery { margin-top: clamp(3rem, 7vw, 6rem); scroll-margin-top: 1rem; }
.slides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; padding: 0; margin: 0; list-style: none; }
.slides li:first-child { grid-column: span 2; grid-row: span 2; }
.slides a { display: flex; flex-direction: column; height: 100%; background: #101511; border: 1px solid var(--line); text-decoration: none; }
.slides a:hover { border-color: var(--accent); }
.slides img { width: 100%; height: auto; aspect-ratio: 16/9; }
.slides li:first-child img { flex: 1; object-fit: cover; }
.slides span { padding: .66rem .8rem; font-size: .9rem; font-weight: 620; }
.viewer { width: min(75rem, calc(100% - 1rem)); max-height: 96dvh; padding: 0; background: #0a0b0b; color: var(--paper); border: 1px solid #69786d; }
.viewer::backdrop { background: #000e; }
.viewer-head, .viewer-nav { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem .75rem; }
.viewer-head h3 { font-size: 1.1rem; letter-spacing: 0; }
.viewer-image { width: 100%; height: auto; max-height: 73dvh; object-fit: contain; }
.viewer button { color: var(--paper); background: var(--forest); border: 1px solid #4e7e6a; padding: .55rem .75rem; min-height: 2.75rem; font: inherit; cursor: pointer; }
.viewer button:disabled { opacity: .48; cursor: default; }
.report-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: clamp(1rem, 4vw, 2rem); margin-top: 3rem; border-block: 1px solid var(--line); }
.report-end h2 { font-size: 1.85rem; margin-bottom: .35rem; }
.report-end p { color: var(--muted); }

@media (max-width: 48rem) {
    .topbar { min-height: 4.5rem; flex-wrap: wrap; padding-block: .55rem; }
    .topbar .logo img { width: 114px; }
    nav a { font-size: .875rem; }
    .hero::before { background-position: 79% center; }
    .hero::after { background: linear-gradient(0deg, var(--ink), #080c0ad6 26%, #080c0a14 78%), linear-gradient(90deg, #080c0ab0, transparent); }
    .hero-inner { min-height: 41rem; min-height: clamp(35rem, 90svh, 47rem); align-items: end; padding-block: 7.5rem 2.75rem; }
    .hero h1 { margin-block: .75rem 1rem; }
    .hero .actions, .article-hero .actions { margin-top: 1.2rem; }
    .product, .product.ingame { grid-template-columns: minmax(0, 1fr); }
    .ingame .product-copy { grid-row: 1; }
    .feature { min-height: 31rem; }
    .feature-image { object-position: 56% center; }
    .feature::before { background: linear-gradient(0deg, #090b0a 1%, #090b0ad4 33%, #090b0a26 75%), linear-gradient(90deg, #090b0a8f, transparent); }
    .article-hero { background-position: center, center, 59% center; }
    .slides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .slides li:first-child { grid-row: auto; }
    .slides li:first-child img { flex: initial; }
}
@media (max-width: 26rem) {
    .topbar .logo img { width: 92px; }
    nav { gap: .2rem .6rem; }
    nav a { font-size: .8125rem; }
    .eyebrow { letter-spacing: .08em; }
    .stats dt { font-size: .8125rem; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
