/* paraguayrallychallenge.com. The site wears the game's UI: tokens and proportions follow Assets/Prc/UI/Prc.uss
   (ink ground, cream plates with a thick ink border, gold focus band, Bungee caps, condensed tabular numbers). */
@font-face { font-family: Bungee; src: url(fonts/Bungee-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Archivo; src: url(fonts/Archivo-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo Condensed"; src: url(fonts/Archivo-CondensedSemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --crema: #f4ead3; --tinta: #1f1a17; --tinta-2: #2c2622; --oro: #e0a82e; --roja: #b8432a;
  --linea: #d6c7a8; --gris-texto: #5f564e; --gris-oro: #45392c; --gris-escena: #c2b6a2;
  --s-roja: #b8432a; --s-empedrado: #6f6a70; --s-ripio: #a89a84; --s-talco: #e2d2a8; --s-arena: #d9b46a;
  --pad: clamp(20px, 5vw, 72px);
  --cond: "Archivo Condensed", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--tinta); scrollbar-color: var(--oro) var(--tinta); }
body { font: 18px/1.55 Archivo, system-ui, sans-serif; color: var(--crema); background: var(--tinta); -webkit-font-smoothing: antialiased; }
::selection { background: var(--oro); color: var(--tinta); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }
h1, h2, h3 { font-family: Bungee, sans-serif; font-weight: 400; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.75rem); }
p { max-width: 62ch; text-wrap: pretty; }
.num { font-family: var(--cond); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* header: the game's menu row */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 var(--pad); background: var(--tinta); border-bottom: 2px solid #000; }
.lockup { display: inline-flex; flex-direction: column; align-items: center; padding: 5px 10px 4px; background: var(--crema); border: 3px solid var(--tinta); outline: 2px solid var(--crema); border-radius: 9px; color: var(--tinta); text-decoration: none; line-height: 1; }
.lockup b { font: 400 21px/1 Bungee; color: var(--roja); letter-spacing: .04em; }
.lockup i { display: block; width: 100%; height: 3px; margin: 3px 0; background: var(--oro); }
.lockup span { font: 600 11px/1 var(--cond); color: var(--tinta); letter-spacing: .04em; white-space: nowrap; }
.menu { display: flex; align-self: stretch; margin-left: 8px; font: 600 17px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.menu a { display: flex; align-items: center; padding: 0 16px; white-space: nowrap; text-decoration: none; color: var(--gris-escena); border-left: 1px solid #3a322c; }
.menu a:last-child { border-right: 1px solid #3a322c; }
.menu a[aria-current] { background: var(--oro); color: var(--tinta); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
/* a statement, not a control: plain text, no frame */
.steam { font: 600 15px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--gris-escena); white-space: nowrap; }
.strip, .menu .foot { display: none; }
.soc { display: flex; gap: 4px; }
.soc a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; color: var(--crema); }
.soc a:hover { color: var(--oro); }
.soc svg { width: 32px; height: 32px; fill: currentColor; }
footer .soc { margin-left: -10px; }
#burger { display: none; font: 600 16px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--tinta); background: var(--oro); border: 3px solid #000; border-radius: 8px; padding: 10px 14px; }
/* HUD progress line (static in the comp) */
.prog { position: sticky; top: 68px; z-index: 4; height: 6px; background: #000; }
.prog i { display: block; height: 100%; width: 0; background: var(--oro); }

/* hero */
.hero { position: relative; height: calc(100vh - 74px); min-height: 640px; max-height: 900px; overflow: hidden; }
.hero > picture, .hero > picture img { position: absolute; inset: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,26,23,.94) 0%, rgba(31,26,23,.82) 30%, rgba(31,26,23,0) 62%), linear-gradient(0deg, rgba(31,26,23,.55), rgba(31,26,23,0) 30%); }
.hero .say { position: absolute; z-index: 1; left: var(--pad); bottom: 64px; width: min(640px, 46vw); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); color: #fff; margin-bottom: 22px; }
.hero p { font-size: 1.25rem; line-height: 1.45; color: var(--crema); max-width: 34ch; }
.acts { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 22px; font: 600 20px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-radius: 8px; border: 3px solid #000; background: var(--oro); color: var(--tinta); }
.btn.alt { background: transparent; color: var(--crema); border-color: var(--crema); }
.hero .plat { display: flex; flex-wrap: wrap; gap: 4px 22px; max-width: none; font: 600 16px/1.4 var(--cond); letter-spacing: .07em; text-transform: uppercase; color: var(--gris-escena); }
.hero .plat b { color: #fff; font-weight: 600; }

/* stage sheet plate */
.sheet { background: var(--crema); color: var(--tinta); border: 3px solid var(--tinta); border-radius: 10px; padding: 16px 18px 14px; width: 340px; }
.sheet .lab { font: 600 14px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--gris-texto); }
.sheet .nm { display: block; font: 400 1.3rem/1.15 Bungee; margin: 7px 0 8px; }
.sheet .km { font: 600 1.6rem/1 var(--cond); font-variant-numeric: tabular-nums; }
.sheet .km small { font-size: 1rem; color: var(--gris-texto); margin-left: 8px; letter-spacing: .04em; }
.surf { display: flex; height: 14px; margin: 12px 0 7px; border: 2px solid var(--tinta); border-radius: 4px; overflow: hidden; }
.surf i { display: block; }
.surf i + i { border-left: 2px solid var(--tinta); }
.sheet .leg { font: 600 15px/1.3 var(--cond); color: var(--gris-texto); letter-spacing: .02em; }
.hero .sheet { position: absolute; z-index: 1; right: var(--pad); bottom: 64px; }

/* bands */
.band { padding: clamp(64px, 8vw, 112px) var(--pad); }
.band.crema { background: var(--crema); color: var(--tinta); }
.band.crema p { color: #3a322c; }
.lede { font-size: 1.2rem; margin-top: 18px; }
.tally { margin-top: 26px; font: 600 1.35rem/1.3 var(--cond); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.tally span + span::before { content: "·"; margin: 0 .6em; color: var(--roja); }

/* video */
.vid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 16px; margin-top: 40px; }
.clip { position: relative; border: 3px solid #000; border-radius: 10px; overflow: hidden; background: #000; }
.clip.big { aspect-ratio: 16/9; grid-row: span 2; }
.clip.sm { aspect-ratio: 16/8.8; }
.clip .play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; background: var(--oro); color: var(--tinta); border: 3px solid #000; border-radius: 8px; font: 600 17px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.clip.sm .play { padding: 6px 10px; font-size: 14px; left: 10px; bottom: 10px; }
.tri { width: 0; height: 0; border: 7px solid transparent; border-left: 11px solid var(--tinta); border-right: 0; }
.note { margin-top: 18px; color: var(--gris-escena); font-size: 1rem; }

/* regions */
.region { position: relative; height: min(78vh, 700px); min-height: 520px; overflow: hidden; border-top: 3px solid #000; }
.region > picture, .region > picture img { position: absolute; inset: 0; }
.region::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,26,23,.9) 0%, rgba(31,26,23,.45) 34%, rgba(31,26,23,0) 60%); }
.region .in { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); bottom: 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.region.flip .in { flex-direction: row-reverse; }
.region .txt h3 { font-size: clamp(3rem, 8.4vw, 6rem); color: #fff; line-height: .9; }
.region .txt p { margin-top: 14px; font-size: 1.2rem; line-height: 1.45; max-width: 36ch; color: var(--crema); }
.region.flip .txt { text-align: right; }
.region.flip .txt p { margin-left: auto; }
.region .txt h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); color: #fff; }
.region .txt a { color: #fff; text-underline-offset: 4px; }
.region .figs { width: 340px; flex: none; border-color: #000; }
.region.plain { height: min(56vh, 520px); min-height: 340px; }
.region.plain::after { background: linear-gradient(0deg, rgba(31,26,23,.5), rgba(31,26,23,0) 40%); }
.region.plain .in { justify-content: flex-end; }

/* hour and weather */
.hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.hours figure { position: relative; height: 380px; border: 3px solid #000; border-radius: 10px; overflow: hidden; }
.hours figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(0deg, rgba(31,26,23,.92), rgba(31,26,23,0)); font: 600 17px/1.3 var(--cond); letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.hours figcaption small { display: block; font-size: 14px; color: var(--gris-escena); letter-spacing: .04em; }
.hours figcaption small + small { color: #fff; opacity: .72; }

/* modes: the title menu */
.modes { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; margin-top: 44px; }
.mlist { list-style: none; padding: 0; border-top: 1px solid #4a4038; }
.mlist li { display: grid; grid-template-columns: 11.5rem 1fr; gap: 14px; align-items: baseline; padding: 15px 16px; border-bottom: 1px solid #4a4038; }
.mlist b { font: 400 1.2rem/1.1 Bungee; color: #fff; }
.mlist span { color: var(--gris-escena); font-size: 1rem; line-height: 1.4; }
.mlist li.on { background: var(--oro); color: var(--tinta); border-color: var(--oro); border-radius: 7px; }
.mlist li.on b { color: var(--tinta); }
.mlist li.on span { color: var(--gris-oro); }
.mshot { position: relative; border: 3px solid #000; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10.4; }
.mshot .sheet { position: absolute; right: 18px; bottom: 18px; width: 300px; }

/* made in */
.made { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.made ul { list-style: none; padding: 0; border-top: 2px solid var(--tinta); }
.made li { padding: 12px 2px; border-bottom: 1px solid var(--linea); font-size: 1.05rem; }
.made li b { font: 600 1.2rem/1 var(--cond); margin-right: 8px; }

/* second story */
.second { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.door { position: relative; display: block; height: 320px; border: 3px solid #000; border-radius: 10px; overflow: hidden; text-decoration: none; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,26,23,.93) 8%, rgba(31,26,23,.2) 70%); }
.door .in { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; }
.door h3 { font-size: 1.5rem; color: #fff; }
.door p { margin-top: 8px; font-size: 1rem; color: var(--crema); max-width: 44ch; }
.st { display: inline-block; font: 600 13px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border: 2px solid currentColor; border-radius: 5px; }
.door .st { position: absolute; z-index: 1; top: 16px; left: 16px; background: var(--crema); color: var(--tinta); border-color: var(--tinta); }

footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding: 32px var(--pad); background: #000; color: var(--gris-escena); font-size: .95rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 600 16px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
footer nav a { text-decoration: none; color: var(--crema); padding: 14px 0; }
footer .end { margin-left: auto; text-align: right; }


/* intro bands: copy left, a stage-sheet of real figures right */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
.figs { background: var(--crema); color: var(--tinta); border: 3px solid var(--tinta); border-radius: 10px; padding: 6px 20px; }
.band:not(.crema) .figs { border-color: #000; }
.figs div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--linea); }
.figs div:last-child { border-bottom: 0; }
.figs dt { font: 600 1.05rem/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--gris-texto); }
.figs dd { font: 600 1.7rem/1 var(--cond); font-variant-numeric: tabular-nums; text-align: right; }
.figs dd small { font-size: 1rem; color: var(--gris-texto); margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.chips li { font: 600 15px/1 var(--cond); letter-spacing: .07em; text-transform: uppercase; padding: 8px 11px; border: 2px solid var(--gris-escena); border-radius: 6px; color: var(--crema); }

/* cars: one ficha plate per car, a row per era */
.era { margin-top: 56px; }
.era > header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; padding-bottom: 12px; border-bottom: 3px solid var(--tinta); }
.era h3 { font-size: 1.7rem; }
.era .yrs { font: 600 1.3rem/1 var(--cond); color: var(--roja); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.era header p { margin-left: auto; font-size: 1.05rem; color: var(--gris-texto); }
.roster { display: grid; gap: 16px; margin-top: 18px; padding: 0; list-style: none; }
.roster.n3 { grid-template-columns: repeat(3, 1fr); }
.roster.n4 { grid-template-columns: repeat(4, 1fr); }
.roster.n5 { grid-template-columns: repeat(6, 1fr); }
.roster.n5 li { grid-column: span 2; }
.roster.n5 li:nth-child(-n+2) { grid-column: span 3; }
.roster li { display: flex; flex-direction: column; border: 3px solid var(--tinta); border-radius: 10px; overflow: hidden; background: var(--tinta); color: var(--crema); }
.roster picture { display: block; aspect-ratio: 3/2; flex: 1; }
.ficha { padding: 10px 14px 11px; background: var(--oro); color: var(--tinta); border-top: 3px solid var(--tinta); }
.ficha b { display: block; font: 400 1.12rem/1.15 Bungee; }
.ficha span { display: block; margin-top: 3px; font: 600 1rem/1.2 var(--cond); color: var(--gris-oro); letter-spacing: .03em; font-variant-numeric: tabular-nums; }

/* closing: a wide still, then the plain statement on ink */
.close > picture { display: block; height: min(46vh, 440px); border-top: 3px solid #000; border-bottom: 3px solid #000; }
.close .in { padding: clamp(48px, 6vw, 88px) var(--pad) clamp(64px, 8vw, 104px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.close h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.close p { margin-top: 18px; font-size: 1.2rem; }
.close .acts { margin: 0; flex-direction: column; align-items: stretch; }
.close .acts .btn { justify-content: center; }
.follow { display: grid; gap: 12px; }
.follow a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 18px 0 14px; background: var(--crema); color: var(--tinta); border: 3px solid #000; border-radius: 8px; text-decoration: none; }
.follow a:hover, .btn:hover { filter: brightness(1.08); }
.follow a { min-height: 76px; }
.follow svg { width: 44px; height: 44px; flex: none; fill: currentColor; }
/* on the cream cards the glyphs wear their own colours */
.follow .b-yt { fill: #f00; }
.follow .b-ig { fill: #d6249f; }
.follow .b-tt { fill: #000; }
.follow .b-wa { fill: #1fa855; }
.follow b { display: block; font: 600 18px/1.1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.follow small { display: block; font-size: 15px; line-height: 1.25; color: var(--gris-texto); }
.mail { margin-top: 22px; font-size: 1.05rem; color: var(--gris-escena); }
.mail a { color: #fff; text-underline-offset: 4px; }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
button.play { cursor: pointer; }
.clip.playing .play { display: none; }

/* secondary pages */
.hero.sub h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.hero.sub .say > p:not(.plat) { max-width: 40ch; }
/* the scrim is a bottom-left panel, so the top of the still stays clean */
.hero.sub::after { background: radial-gradient(ellipse 62% 92% at 0% 100%, rgba(31,26,23,.96) 0%, rgba(31,26,23,.9) 48%, rgba(31,26,23,0) 100%), linear-gradient(0deg, rgba(31,26,23,.5), rgba(31,26,23,0) 28%); }
h3.sub { margin-top: 48px; font-size: 1.3rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 3px solid currentColor; }
.stats div { padding: 18px 28px 4px 0; }
.stats div + div { padding-left: 28px; border-left: 1px solid var(--linea); }
.stats b { display: block; font: 600 3rem/1 var(--cond); font-variant-numeric: tabular-nums; }
.stats p { margin-top: 8px; font-size: 1.0625rem; line-height: 1.4; }
.stats small { display: block; margin-top: 6px; font: 600 15px/1.3 var(--cond); letter-spacing: .03em; color: var(--gris-texto); }

/* sponsor spaces: a ladder of partner categories; each category shows its own stills and lists its spots */
.space { display: flex; flex-direction: column; margin: 0; min-width: 0; border: 3px solid var(--tinta); border-radius: 10px; overflow: hidden; background: var(--tinta); }
.space picture { display: block; flex: 1 0 auto; aspect-ratio: var(--r); }
.space figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--crema); border-top: 3px solid var(--tinta); }
.space figcaption b { font: 400 1rem/1.1 Bungee; }
.space figcaption span { font: 600 16px/1.1 var(--cond); color: var(--gris-texto); letter-spacing: .04em; text-align: right; }
.ladder { margin-top: 8px; }
.lvl { display: grid; grid-template-columns: 5fr 7fr; grid-template-areas: "head shots" "what shots"; grid-template-rows: auto 1fr; gap: 20px 44px; padding: 36px 0; border-top: 3px solid var(--tinta); }
.lvl:first-child { border-top: 0; padding-top: 20px; }
.lvl:last-child { padding-bottom: 8px; }
.lvl > header { grid-area: head; }
.lvl > .shots { grid-area: shots; align-self: start; }
.lvl > .what { grid-area: what; }
.lvl.full { grid-template-columns: 1fr; grid-template-areas: "head" "shots" "what"; }
.lvl .n { font: 600 16px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--roja); }
.lvl h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 8px 0 12px; }
.lvl header p:last-child { margin-top: 14px; font-size: 1.125rem; max-width: 52ch; }
.shots { display: flex; flex-wrap: wrap; gap: 14px; }
.shots .space { flex: var(--r) 1 0; }
.shots .space.wide { flex: 1 1 100%; }
/* the boot card is drawn here, in the game's plate style, because its capture carries the project's old name;
   960px matches the widest TU MARCA still it sits under */
.space.boot-card { max-width: 960px; }
.boot { flex: 1 0 auto; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 16px; background: var(--tinta); }
.boot div { display: grid; justify-items: center; gap: clamp(8px, 1.2vw, 14px); padding: clamp(14px, 2.4vw, 28px) clamp(16px, 4vw, 48px); background: var(--crema); color: var(--tinta); border: 4px solid #000; border-radius: 12px; }
.boot b { font: 400 clamp(1.6rem, 5vw, 3.6rem)/1 Bungee; letter-spacing: .03em; }
.boot i { width: 100%; height: 6px; background: var(--oro); }
.boot span { font: 600 clamp(13px, 1.7vw, 20px)/1.1 var(--cond); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.shots.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.shots.duo .space { max-width: none !important; margin-bottom: 6px; }
.spots { list-style: none; padding: 0; border-top: 2px solid var(--tinta); }
.spots li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.spots b { font: 600 1.15rem/1.2 var(--cond); letter-spacing: .03em; text-transform: uppercase; }
.spots span { grid-column: 1 / -1; font-size: 1rem; line-height: 1.4; color: #3a322c; }
.tag { display: inline-block; font: 600 13px/1 var(--cond); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border: 2px dashed var(--tinta); border-radius: 5px; color: var(--tinta); white-space: nowrap; }
.tag.ok { border-style: solid; background: var(--tinta); color: var(--crema); }
.what > p { margin-top: 14px; font-size: 1rem; }
.lvl.full .what { max-width: 70ch; }
.ask { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font: 600 17px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; text-underline-offset: 5px; }
.demo .key { margin-top: 10px; flex-wrap: wrap; gap: 6px 10px; color: var(--gris-texto); }

/* formats: one silhouette per shape, and a bar for how much of the screen width it takes when seen */
.fmts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; padding: 0; list-style: none; }
.fmt { background: var(--crema); color: var(--tinta); border: 3px solid #000; border-radius: 10px; padding: 12px 16px 16px; }
.fmt svg { display: block; width: 100%; height: auto; margin-bottom: 8px; background: #eadfc4; border-radius: 6px; }
.fmt .k { fill: var(--tinta); } .fmt .g { fill: var(--oro); stroke: var(--tinta); stroke-width: 1; } .fmt .c { fill: #7d7265; }
.fmt .p { fill: var(--crema); stroke: var(--tinta); stroke-width: 1.5; } .fmt .p0 { fill: var(--crema); } .fmt .r { fill: var(--roja); }
.fmt .gr { fill: none; stroke: var(--tinta); stroke-width: 1.5; }
.fmt text { font-family: var(--cond); font-weight: 600; fill: var(--tinta); text-anchor: middle; dominant-baseline: central; }
.fmt h3 { font-size: 1.05rem; }
.fmt p { margin-top: 5px; font-size: 1rem; line-height: 1.4; color: #3a322c; }
.meter { height: 14px; margin-top: 12px; border: 2px solid var(--tinta); border-radius: 4px; background: #fffaf0; overflow: hidden; }
.meter i { display: block; height: 100%; min-width: 4px; background: var(--oro); border-right: 2px solid var(--tinta); }
.meter.est i { background: repeating-linear-gradient(135deg, var(--oro) 0 5px, #fffaf0 5px 9px); }
.fmt .m { font: 600 16px/1.3 var(--cond); letter-spacing: .02em; color: var(--gris-texto); }
.fmt .m b { font-size: 1.35rem; color: var(--tinta); font-variant-numeric: tabular-nums; }

/* rubros: a directory, one line per rubro */
.dir { margin-top: 36px; padding: 0; list-style: none; border-top: 3px solid var(--tinta); }
.dir li { display: grid; grid-template-columns: 1.15fr 2fr 1.1fr 1.9fr; gap: 6px 28px; padding: 13px 0; border-bottom: 1px solid var(--linea); align-items: baseline; }
.dir .hd { font: 600 15px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--gris-texto); padding: 10px 0; }
.dir b { font: 600 1.2rem/1.2 var(--cond); letter-spacing: .03em; text-transform: uppercase; }
.dir p { font-size: 1rem; line-height: 1.45; max-width: none; }
.dir .niv { font: 600 1.05rem/1.25 var(--cond); letter-spacing: .03em; color: var(--roja); }

/* status key */
.keylist { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 22px; padding: 0; list-style: none; }
.keylist li { display: flex; align-items: center; gap: 10px; font-size: 1rem; }

/* institutions: numbered arguments on ink, and the three regions in one strip */
.argwrap { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; margin-top: 40px; align-items: start; }
.args { list-style: none; padding: 0; counter-reset: a; border-top: 1px solid #4a4038; }
.args li { counter-increment: a; display: grid; grid-template-columns: 3.4rem 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid #4a4038; }
.args li::before { content: counter(a); grid-row: span 3; font: 600 2.6rem/.95 var(--cond); color: var(--oro); font-variant-numeric: tabular-nums; }
.args h3 { font-size: 1.25rem; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.args p { grid-column: 2; font-size: 1.0625rem; max-width: 60ch; }
.args small { grid-column: 2; font: 600 15px/1.35 var(--cond); letter-spacing: .02em; color: var(--gris-escena); }
.argshot { position: sticky; top: 100px; margin: 0; border: 3px solid #000; border-radius: 10px; overflow: hidden; background: #000; }
.argshot picture { display: block; aspect-ratio: 4/3; }
.argshot figcaption { padding: 10px 14px; background: var(--crema); color: var(--gris-texto); border-top: 3px solid #000; font: 600 16px/1.3 var(--cond); letter-spacing: .02em; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #000; border-top: 3px solid #000; border-bottom: 3px solid #000; }
.trio figure { position: relative; height: min(60vh, 520px); min-height: 360px; margin: 0; overflow: hidden; }
.trio picture, .trio img { position: absolute; inset: 0; }
.trio figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 24px 22px; background: linear-gradient(0deg, rgba(31,26,23,.92), rgba(31,26,23,0)); }
.trio b { display: block; font: 400 clamp(1.8rem, 3.4vw, 3rem)/1 Bungee; color: #fff; }
.trio span { display: block; margin-top: 8px; font-size: 1.0625rem; color: var(--crema); }
.demo { margin-top: 36px; padding: 20px; border: 3px dashed var(--tinta); border-radius: 12px; }
.demo > p { display: flex; gap: 14px; align-items: center; max-width: none; font-size: 1rem; }
.demo > p .tag { margin-right: -6px; }
.st { white-space: nowrap; background: var(--crema); color: var(--tinta); border-color: var(--tinta); }
.st.ok { background: var(--tinta); color: var(--crema); }
.st.talk { background: var(--oro); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.cols.two { grid-template-columns: repeat(2, 1fr); }
.plate { display: flex; flex-direction: column; align-items: flex-start; background: var(--crema); color: var(--tinta); border: 3px solid var(--tinta); border-radius: 10px; padding: 20px 20px 18px; }
.band:not(.crema) .plate { border-color: #000; }
.plate h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.plate .st + h3 { margin-top: 14px; }
.plate p, .plate li { font-size: 1.0625rem; line-height: 1.5; color: #3a322c; }
.plate p + p, .say p + p { margin-top: .7em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plate ul { margin: 10px 0 0; padding-left: 1.1em; }
.plate .quote { margin-top: auto; padding-top: 16px; font: 600 1.05rem/1.2 var(--cond); letter-spacing: .05em; text-transform: uppercase; color: var(--tinta); }
.rows { margin-top: 32px; border-top: 3px solid currentColor; }
.rows div { display: grid; grid-template-columns: 15rem 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.band:not(.crema) .rows div { border-color: #4a4038; }
.rows dt { font: 600 1.15rem/1.3 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.rows dd { font-size: 1.02rem; max-width: 70ch; }
.tablewrap { margin-top: 32px; overflow-x: auto; border: 3px solid var(--tinta); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--crema); color: var(--tinta); }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--linea); }
thead th { font: 600 1rem/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; background: var(--tinta); color: var(--crema); }
tbody th { font-weight: 400; }
tr:last-child > * { border-bottom: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.legend button { font: 600 16px/1 var(--cond); letter-spacing: .07em; text-transform: uppercase; min-height: 44px; padding: 0 14px; border: 2px solid var(--gris-escena); border-radius: 7px; background: transparent; color: var(--crema); cursor: pointer; }
.legend button[aria-pressed=true] { background: var(--oro); color: var(--tinta); border-color: #000; }
/* the calendar is one plate, a row per date; gold is the focus colour, so only the filtered rows wear it */
#cal { margin-top: 18px; padding: 0; list-style: none; background: var(--crema); color: var(--tinta); border: 3px solid #000; border-radius: 10px; overflow: hidden; }
#cal li { display: grid; grid-template-columns: 12rem 13rem 1fr 7rem; gap: 4px 20px; align-items: baseline; padding: 13px 18px; border-bottom: 1px solid var(--linea); transition: opacity .16s, background-color .16s; }
#cal li:last-child { border-bottom: 0; }
#cal li.dim { opacity: .35; }
#cal li.on { background: var(--oro); }
#cal .when, #cal .kind { font: 600 16px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--gris-texto); }
#cal .kind { text-align: right; }
#cal h3 { font-size: 1.05rem; }
#cal p { font-size: 1rem; line-height: 1.45; color: #3a322c; max-width: none; }
#cal li.on .when, #cal li.on .kind, #cal li.on p { color: var(--gris-oro); }
.packs { display: none; }
.packs h4 { font: 400 1.2rem/1.1 Bungee; margin-bottom: 6px; }
.packs dl { align-self: stretch; }
.packs dl div { padding: 9px 0; border-top: 1px solid var(--linea); }
.packs dt { font: 600 15px/1.25 var(--cond); letter-spacing: .05em; text-transform: uppercase; color: var(--gris-texto); }
.packs dd { font-size: 1.0625rem; }
.fine { margin-top: 26px; font-size: .95rem; line-height: 1.5; color: var(--gris-escena); max-width: 90ch; }
.band.crema .fine { color: var(--gris-texto); }
.sources { padding: 28px var(--pad); background: #000; color: var(--gris-escena); font-size: .9rem; line-height: 1.5; border-bottom: 1px solid #2c2622; }
.sources p { max-width: 110ch; }
h2 + .lede { max-width: 62ch; }

/* measured: six nav entries, the lockup, the Steam line and two icons need up to 1470px in one row at full size;
   from 1281 to 1560 the row is tightened instead of dropping the Steam line */
@media (max-width: 1560px) {
  .top { gap: 14px; }
  .menu { margin-left: 0; font-size: 16px; letter-spacing: .04em; }
  .menu a { padding: 0 9px; }
  .top .right { gap: 10px; }
  .soc { gap: 0; }
  .top .right .soc a { width: 44px; }
  .top .right .soc svg { width: 28px; height: 28px; }
  .steam { font-size: 14px; letter-spacing: .05em; }
}
@media (max-width: 1280px) {
  .top { gap: 28px; }
  .top .right { gap: 18px; }
  .steam { font-size: 15px; letter-spacing: .08em; }
  #burger { display: block; position: relative; z-index: 7; }
  .menu { position: fixed; z-index: 6; inset: 0; margin: 0; padding: 84px 20px 28px; flex-direction: column; align-self: auto; background: var(--tinta); visibility: hidden; opacity: 0; transition: opacity .16s, visibility .16s; font-size: 24px; letter-spacing: .06em; overflow-y: auto; }
  .menu.open { visibility: visible; opacity: 1; }
  .menu a { min-height: 60px; border: 0; border-bottom: 1px solid #4a4038; color: var(--crema); padding: 0 12px; }
  .menu a:last-child { border-right: 0; }
  .menu a[aria-current] { border-radius: 7px; }
  .menu .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; margin-top: auto; padding: 28px 12px 0; }
  .menu .foot .steam { flex: 1 1 100%; margin-bottom: 8px; font-size: 17px; }
  .menu .foot .soc { margin-left: -10px; }
  .menu .foot a { min-height: 56px; width: 56px; padding: 0; border: 0; color: var(--crema); }
  .menu .foot .soc svg { width: 36px; height: 36px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 1100px) {
  .lvl { grid-template-columns: 1fr; grid-template-areas: "head" "shots" "what"; }
  .fmts { grid-template-columns: repeat(3, 1fr); }
  .dir li { grid-template-columns: 1fr 1.6fr; }
  .dir .hd { display: none; }
  .dir b { grid-column: 1 / -1; }
  .dir .niv { grid-row: 2; grid-column: 1; }
  .dir .lugar { grid-row: 2; grid-column: 2; }
  .dir .camp { grid-column: 2; color: var(--gris-texto); }
  .dir .camp::before { content: "En el campeonato: "; font: 600 15px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
  #cal li { grid-template-columns: 11rem 1fr 7rem; }
  #cal p { grid-column: 2 / -1; }
  #cal .kind { grid-row: 1; grid-column: 3; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .top .right .soc, .top .right .steam { display: none; }
  /* the header row has no room for the Steam line beside the lockup and the menu button: it gets its own line */
  .strip { display: block; max-width: none; padding: 9px 20px; background: #000; text-align: center; }
  .top { height: 64px; gap: 12px; }
  .lockup { padding: 3px 8px; }
  .lockup b { font-size: 17px; }
  .lockup i { margin: 2px 0; }
  .lockup span { font-size: 10px; }
  .prog { top: 64px; }
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  .hero > picture { position: relative; display: block; height: 300px; }
  .hero::after { inset: 0 0 auto 0; height: 300px; background: linear-gradient(0deg, rgba(31,26,23,1) 0%, rgba(31,26,23,0) 45%); }
  .hero .say { position: relative; left: auto; bottom: auto; width: auto; padding: 0 20px 8px; margin-top: -34px; }
  .hero h1 { font-size: 2.35rem; }
  .hero p { font-size: 1.1rem; max-width: none; }
  .btn { flex: 1 1 100%; justify-content: center; }
  .hero .sheet { position: relative; right: auto; bottom: auto; margin: 22px 20px 32px; width: auto; }
  .vid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .clip.big { grid-column: 1 / -1; grid-row: auto; }
  .clip.sm .play { padding: 6px 9px; font-size: 14px; left: 8px; bottom: 8px; }
  .region { height: auto; min-height: 0; background: var(--tinta); }
  .region > picture { position: relative; display: block; aspect-ratio: 4/3; }
  .region::after, .region.plain::after { inset: 0 0 auto 0; aspect-ratio: 4/3; background: linear-gradient(0deg, rgba(31,26,23,.9) 0%, rgba(31,26,23,0) 34%); }
  .region .in, .region.flip .in { position: relative; left: auto; right: auto; bottom: auto; flex-direction: column; align-items: stretch; gap: 18px; padding: 0 20px 36px; margin-top: -52px; }
  .region.plain { height: auto; min-height: 0; }
  .region.plain::after { background: none; }
  .region.plain .in { margin-top: 0; padding-top: 14px; }
  .region .figs { width: auto; }
  .region.flip .txt { text-align: left; }
  .region.flip .txt p { margin-left: 0; }
  .region .txt h3 { font-size: 3.1rem; }
  .region .txt p { font-size: 1.05rem; }
  .sheet { width: auto; }
  .hours { grid-template-columns: 1fr 1fr; }
  .hours figure { height: 230px; }
  .modes, .made, .second, .intro, .close .in, .cols, .cols.two, .argwrap { grid-template-columns: 1fr; gap: 24px; }
  .era header p { margin-left: 0; flex-basis: 100%; }
  .roster.n3, .roster.n4, .roster.n5 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .roster.n5 li, .roster.n5 li:nth-child(-n+2) { grid-column: auto; }
  .roster.n3 li:first-child, .roster.n5 li:first-child { grid-column: 1 / -1; }
  .ficha { padding: 8px 10px 9px; }
  .ficha b { font-size: .92rem; }
  .ficha span { font-size: .88rem; }
  .stats { grid-template-columns: 1fr; }
  .stats div, .stats div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--linea); }
  .stats b { font-size: 2.6rem; }
  .rows div { grid-template-columns: 1fr; gap: 4px; }
  .demo { padding: 14px 12px; }
  .demo > p { align-items: flex-start; flex-direction: column; gap: 8px; }
  .demo > p.key { flex-direction: row; align-items: center; }
  .lvl { padding: 28px 0; }
  .shots .space { flex-basis: 100%; }
  .shots.duo { grid-template-columns: 1fr; }
  .fmts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fmt { padding: 8px 10px 12px; }
  .dir li { grid-template-columns: 1fr; gap: 4px; }
  .dir .niv, .dir .lugar, .dir .camp { grid-row: auto; grid-column: 1; }
  #cal li { grid-template-columns: 1fr auto; padding: 12px 14px; }
  #cal .when { grid-column: 1; }
  #cal .kind { grid-row: 1; grid-column: 2; }
  #cal h3, #cal p { grid-column: 1 / -1; }
  .keylist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .keylist li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .argshot { position: static; }
  .args li { grid-template-columns: 2.6rem 1fr; }
  .trio { grid-template-columns: 1fr; }
  .trio figure { height: 240px; min-height: 0; }
  .trio figcaption { padding: 60px 20px 16px; }
  .close > picture { height: 240px; }
  .mlist li { grid-template-columns: 1fr; gap: 4px; padding: 13px 12px; }
  .mshot { aspect-ratio: auto; overflow: visible; border: 0; }
  .mshot picture { display: block; aspect-ratio: 16/10; border: 3px solid #000; border-radius: 10px; overflow: hidden; }
  .mshot .sheet { position: relative; right: auto; bottom: auto; width: auto; margin-top: 12px; }
  .door { height: 280px; }
  footer .end { margin-left: 0; text-align: left; }
}
/* under 700px a table with four columns cannot be read: packages become one plate each, requests one block per institution */
@media (max-width: 700px) {
  .tablewrap.wide { display: none; }
  .packs { display: grid; gap: 14px; margin-top: 20px; }
  .tablewrap.stack { border: 0; border-radius: 0; overflow: visible; }
  .stack table, .stack tbody, .stack tr, .stack th, .stack td { display: block; }
  .stack table { background: none; }
  .stack thead { display: none; }
  .stack tr { background: var(--crema); border: 3px solid var(--tinta); border-radius: 10px; padding: 14px 16px 16px; }
  .stack tr + tr { margin-top: 14px; }
  .stack th, .stack td { padding: 0; border: 0; }
  .stack tbody th { font: 400 1.1rem/1.15 Bungee; margin-bottom: 4px; }
  .stack td { margin-top: 10px; font-size: 1.0625rem; }
  .stack td::before { content: attr(data-l); display: block; font: 600 15px/1.3 var(--cond); letter-spacing: .05em; text-transform: uppercase; color: var(--gris-texto); }
  .stack td:last-child::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
