:root {
  --bg: #070707;
  --panel: #100c0d;
  --ink: #f2efef;
  --soft: #cbc6c7;
  --muted: #a09899;
  --line: #2e2326;
  --signal: #ff1f2d;
  --red: #c40016;
  --red-deep: #6f000c;
  --glow: rgba(255, 31, 45, .5);
  --on-signal: #0a0a0a;
  --gutter: clamp(16px, 3vw, 40px);
  --display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(70% 55% at 85% -8%, rgba(196, 0, 22, .24), transparent 72%) no-repeat fixed, radial-gradient(55% 45% at 0% 100%, rgba(196, 0, 22, .12), transparent 70%) no-repeat fixed, var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); overflow-x: hidden; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--on-signal); }

.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; background: var(--signal); color: var(--on-signal); }
.skip:focus { top: 12px; }
.demo { padding: 6px var(--gutter); background: var(--red-deep); color: #fff; font: 500 12px/1.4 var(--mono); text-align: center; }

/* Keycap */
.cap { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 30px; padding: 0 9px; border: 1px solid #5a5355; border-bottom-width: 3px; border-radius: 5px; background: #191516; font: 600 12px/1 var(--mono); }
.cap--del { background: var(--red); border-color: var(--signal); color: #fff; box-shadow: 0 0 14px var(--glow); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 7, 7, .93); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; }
.logo { display: inline-flex; flex: none; }
.logo img { width: auto; height: 50px; object-fit: contain; transition: filter .15s; }
.logo:hover img { filter: drop-shadow(0 0 8px var(--signal)); }
.top nav { display: flex; gap: clamp(18px, 3vw, 40px); font: 500 13px/1 var(--mono); text-transform: uppercase; }
.top nav a { padding: 8px 0; color: var(--muted); border-bottom: 2px solid transparent; transition: color .15s; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.top nav a[aria-current] { border-color: var(--signal); }
.menu { display: none; min-height: 40px; padding: 0 14px; background: none; border: 1px solid var(--line); border-radius: 5px; font: 500 12px/1 var(--mono); text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { padding-top: clamp(16px, 2.4vw, 32px); }
.keys { display: grid; grid-template-columns: 1.28fr 1fr 1fr; gap: clamp(5px, 1vw, 14px); }
.key { position: relative; display: flex; align-items: flex-end; min-width: 0; height: clamp(150px, 31vw, 430px); padding: clamp(8px, 1.3vw, 20px); overflow: hidden; background: linear-gradient(180deg, #1f1a1b, #110d0e); border: 1px solid #4f474a; border-bottom: clamp(6px, 1vw, 13px) solid #352c2f; border-radius: clamp(7px, 1vw, 16px); cursor: pointer; text-align: left; transition: transform .07s, border-bottom-width .07s, background .12s, color .12s, box-shadow .12s; }
.key:hover { border-color: var(--signal); box-shadow: 0 0 26px rgba(255, 31, 45, .28); }
.key:active, .key[aria-pressed="true"] { transform: translateY(clamp(3px, .55vw, 7px)); border-bottom-width: clamp(2px, .4vw, 5px); }
.key[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); box-shadow: 0 0 44px var(--glow); }
.key--del { background: linear-gradient(180deg, #62000b, #e00019); border-color: var(--signal); border-bottom-color: #7d000d; color: #fff; box-shadow: 0 0 34px rgba(255, 31, 45, .32); }
.key--del[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); box-shadow: 0 0 44px var(--glow); }
.key__name { font-family: var(--display); font-size: clamp(50px, 15.2vw, 236px); font-stretch: 62%; font-weight: 900; line-height: .78; letter-spacing: -.012em; text-transform: uppercase; }
.key__role { position: absolute; top: clamp(8px, 1.2vw, 18px); right: clamp(8px, 1.2vw, 18px); font: 500 clamp(9px, 1vw, 13px)/1 var(--mono); text-transform: uppercase; opacity: .75; }
.key.is-hit .key__name { animation: hit .2s ease-out; }
@keyframes hit { from { opacity: .45; } to { opacity: 1; } }
.seq { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; margin-top: 12px; }
.seq i { height: 6px; background: var(--line); }
.seq i:nth-child(4n + 1) { background: #575153; }
.seq i.is-on { background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-block: 20px 28px; }
.hero__foot > p:first-child { max-width: 36ch; font-size: clamp(19px, 1.9vw, 27px); font-weight: 500; line-height: 1.2; }
.hint { color: var(--muted); font: 400 12px/1.8 var(--mono); text-align: right; }
kbd { padding: 2px 6px; border: 1px solid #5a5355; border-bottom-width: 2px; border-radius: 3px; color: var(--ink); font: inherit; }

/* Ticker */
.ticker { overflow: hidden; background: var(--red); color: #fff; font: 600 13px/1 var(--mono); text-transform: uppercase; white-space: nowrap; }
.ticker > div { display: inline-flex; padding-block: 11px; animation: run 42s linear infinite; }
.ticker span { padding-right: 56px; }
@keyframes run { to { transform: translateX(-50%); } }

/* Lead */
.lead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: clamp(24px, 3vw, 44px); padding-top: clamp(32px, 4vw, 56px); }
.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.cover svg, .cover img { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
a:hover > .cover svg, a:hover > .cover img { transform: scale(1.035); }
.lead__main .cover { aspect-ratio: 16 / 9; }
.lead__txt { padding-top: 16px; }
.lead__txt h2 { max-width: 19ch; margin-block: 8px 12px; font-family: var(--display); font-size: clamp(38px, 5.4vw, 84px); font-stretch: 68%; font-weight: 800; line-height: .94; text-transform: uppercase; }
.lead__txt > p:last-child { max-width: 62ch; color: var(--soft); font-size: 19px; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font: 400 12px/1.4 var(--mono); text-transform: uppercase; }
.meta span { color: var(--signal); }
.latest > h2 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); font: 600 13px/1 var(--mono); text-transform: uppercase; }
.latest > a { display: block; padding-block: 16px; border-bottom: 1px solid var(--line); }
.latest h3 { margin-top: 6px; font-size: 20px; font-weight: 600; line-height: 1.18; }
.latest a:hover h3, .card a:hover h3 { color: var(--signal); }

/* Sekce */
.block { padding-top: clamp(56px, 7vw, 104px); }
.block--tight { padding-top: 16px; }
.sec { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.sec h2 { font-family: var(--display); font-size: clamp(34px, 4.2vw, 64px); font-stretch: 66%; font-weight: 800; line-height: 1; text-transform: uppercase; }
.sec > a { margin-left: auto; color: var(--muted); font: 500 12px/1.3 var(--mono); text-align: right; text-transform: uppercase; }
.sec > a:hover { color: var(--signal); }
.phead { padding-top: clamp(32px, 5vw, 72px); padding-bottom: 28px; }
.phead h1 { margin-top: 14px; font-family: var(--display); font-size: clamp(68px, 15vw, 230px); font-stretch: 62%; font-weight: 900; line-height: .84; text-transform: uppercase; }
.phead > p { max-width: 42ch; margin-top: 18px; color: var(--soft); font-size: clamp(19px, 2vw, 25px); line-height: 1.25; }

/* Karty */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.card .cover { margin-bottom: 12px; }
.card h3 { margin-top: 7px; font-size: clamp(22px, 2vw, 28px); font-weight: 650; line-height: 1.1; transition: color .15s; }
.card__ex { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.45; }

/* Akce */
.events { border-top: 1px solid var(--line); }
.sec + .events { border-top: 0; margin-top: -24px; }
.event { display: grid; grid-template-columns: 130px minmax(0, 1fr) 220px 120px; align-items: center; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.event__date b { display: block; font-family: var(--display); font-size: 58px; font-stretch: 62%; font-weight: 900; line-height: .9; }
.event__date span { color: var(--muted); font: 400 12px/1 var(--mono); text-transform: uppercase; }
.event__main h3 { font-family: var(--display); font-size: clamp(27px, 3vw, 44px); font-stretch: 70%; font-weight: 800; line-height: 1; text-transform: uppercase; }
.event__main p { margin-top: 7px; color: var(--soft); }
.event__place { color: var(--muted); font: 400 12px/1.6 var(--mono); }
.events--past { opacity: .62; }
.events--past .event { grid-template-columns: 130px minmax(0, 1fr) 220px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; background: var(--red); border-radius: 4px; color: #fff; font: 600 12px/1 var(--mono); text-transform: uppercase; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--off, .btn--off:hover { background: none; border: 1px solid var(--line); color: var(--muted); }
.empty { padding-block: 24px; color: var(--muted); }

/* Mixy */
.mixes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.mix { display: flex; flex-direction: column; min-width: 0; padding: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s; }
a.mix:hover { border-color: var(--signal); }
.mix__top { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font: 400 11px/1 var(--mono); }
.wave { display: flex; align-items: center; gap: 2px; height: 110px; margin-block: 18px; }
.wave i { flex: 1; min-width: 1px; background: #bdb8b9; }
.wave i:nth-child(3n) { background: var(--signal); }
.mix h3 { font-size: 21px; font-weight: 650; line-height: 1.12; }
.mix p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.mix__go { margin-top: 16px; color: var(--signal); font: 500 11px/1 var(--mono); text-transform: uppercase; }
div.mix .mix__go { color: var(--muted); }

/* Filtry */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.filters button { min-height: 40px; padding: 0 14px; background: none; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font: 500 12px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.filters button:hover { color: var(--ink); border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Článek */
.post { padding-top: clamp(32px, 5vw, 64px); }
.post header { max-width: 1120px; }
.post h1 { margin-block: 12px 18px; font-family: var(--display); font-size: clamp(44px, 7.4vw, 116px); font-stretch: 66%; font-weight: 900; line-height: .92; text-transform: uppercase; overflow-wrap: anywhere; }
.post__lead { max-width: 44ch; font-size: clamp(21px, 2.2vw, 29px); font-weight: 500; line-height: 1.22; }
.post__by { margin-block: 16px 28px; color: var(--muted); font: 400 12px/1 var(--mono); text-transform: uppercase; }
.post > .cover { aspect-ratio: 21 / 9; }
.post__body { max-width: 68ch; margin: clamp(32px, 4vw, 56px) auto 0; font-size: 20px; line-height: 1.6; }
.post__body p + p { margin-top: 1.1em; }

/* O nás */
.about { display: grid; gap: 18px; max-width: 980px; margin-left: 0; color: var(--soft); font-size: 20px; }
.about__big { color: var(--ink); font-size: clamp(27px, 3.5vw, 48px); font-weight: 600; line-height: 1.08; }
.contact { font-family: var(--display); font-size: clamp(30px, 6vw, 88px); font-stretch: 68%; font-weight: 800; overflow-wrap: anywhere; }
.contact:hover { color: var(--signal); }

/* Patička */
.foot { margin-top: clamp(72px, 9vw, 130px); padding-block: 24px; border-top: 1px solid var(--line); overflow: hidden; }
.foot__mark { font-family: var(--display); font-size: 18vw; font-stretch: 62%; font-weight: 900; line-height: .86; text-transform: uppercase; white-space: nowrap; }
.foot__row { display: flex; justify-content: space-between; gap: 32px; margin-top: 24px; }
.foot__brand { display: flex; align-items: center; gap: 18px; }
.foot__brand img { flex: none; width: auto; height: 86px; object-fit: contain; }
.foot__brand p { max-width: 38ch; color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; font: 500 12px/1.5 var(--mono); text-transform: uppercase; }
.foot__links a:hover { color: var(--signal); }
.foot__copy { margin-top: 20px; color: var(--muted); font: 400 11px/1 var(--mono); }
@media (min-width: 1560px) { .foot__mark { font-size: 286px; } }

/* Tablet */
@media (max-width: 1080px) {
  .lead { grid-template-columns: 1fr; }
  .mixes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event { grid-template-columns: 96px minmax(0, 1fr) 150px; }
  .event .btn { grid-column: 2 / -1; justify-self: start; }
  .events--past .event { grid-template-columns: 96px minmax(0, 1fr) 150px; }
}

/* Mobil */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu { display: inline-flex; align-items: center; }
  .top nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; padding: 4px var(--gutter) 12px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 15px; }
  .top nav.is-open { display: flex; }
  .top nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top nav a[aria-current] { border-bottom-color: var(--signal); }
  .hero__foot { display: block; }
  .hint { display: none; }
  .grid { grid-template-columns: 1fr; }
  .event, .events--past .event { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 14px; align-items: start; }
  .event__date b { font-size: 44px; }
  .event__date span { font-size: 10px; }
  .event__place { grid-column: 2; }
  .event .btn { grid-column: 2; }
  .foot__row { display: block; }
  .foot__links { justify-content: flex-start; margin-top: 16px; }
  .post > .cover { aspect-ratio: 16 / 10; }
  .post__body { font-size: 18px; }
}
@media (max-width: 460px) {
  .mixes { grid-template-columns: 1fr; }
  .wave { height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
