:root {
  color-scheme: dark;
  --ink: #101213;
  --panel: #191c1d;
  --paper: #fff6e6;
  --text: #f1eee8;
  --muted: #aeb0ac;
  --gold: #ffc547;
  --coral: #f28282;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(24px, 5.15vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; font-family: var(--body); background: var(--ink); color: var(--text); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-width { width: min(100%, 1580px); padding-inline: var(--gutter); margin: 0 auto; }
.skip-link { position: fixed; top: -70px; left: 12px; z-index: 120; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 12; background: #101213; border-bottom: 1px solid #30312f; }
.header-inner { height: 66px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { height: 34px; min-width: 46px; padding: 0 6px; display: inline-flex; justify-content: center; align-items: center; transform: skewX(-10deg); background: var(--gold); color: #131413; clip-path: polygon(0 0,100% 0,100% 75%,84% 100%,0 100%); }
.brand-mark b { font: 900 31px/.88 var(--display); letter-spacing: -2px; transform: translate(-1px,-1px); }
.brand-name { font: 900 32px/.9 var(--display); color: var(--paper); transform: skew(-6deg); }
.site-nav { display: flex; align-items: stretch; height: 100%; gap: clamp(20px, 2.7vw, 46px); margin-left: auto; }
.site-nav a { position: relative; display: flex; align-items: center; font-size: 13px; font-weight: 650; color: #bdbfba; }
.site-nav a::after { content: ""; position: absolute; bottom: 12px; inset-inline: 0; height: 2px; transform: scaleX(0); background: var(--gold); transition: transform .18s; }
.site-nav a[aria-current], .site-nav a:hover { color: var(--paper); }
.site-nav a[aria-current]::after { transform: scaleX(1); }
.sound-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #444542; background: #1a1c1c; border-radius: 5px; padding: 0 13px; min-height: 36px; font: 650 12px/1 var(--body); }
.sound-button .icon { width: 17px; height: 17px; color: var(--gold); }
.sound-button[aria-pressed="false"] .icon { color: #c9c9c2; }
.sound-button:hover { border-color: #9c947c; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #101919; }
.hero-picture, .hero-picture img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture { z-index: -3; display: block; }
.hero-picture img { object-fit: cover; object-position: 54% 20%; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgba(8,17,19,.91) 0%, rgba(9,17,18,.83) 18%, rgba(8,15,17,.59) 33%, rgba(8,15,17,.05) 54%, transparent 68%), linear-gradient(0deg, rgba(8,13,15,.38), transparent 25%); }
.hero-inner { min-height: clamp(465px, 37.4vw, 658px); display: flex; align-items: center; }
.hero-copy { padding: 36px 0 40px; position: relative; width: min(48%, 620px); }
.hero-kicker, .kicker { display: flex; align-items: center; gap: 10px; font: 700 13px/1.1 var(--display); letter-spacing: 2.25px; text-transform: uppercase; }
.hero-kicker { color: #ffe4a4; margin: 0 0 17px; }
.crew-stars { display: flex; align-items: center; gap: 2px; color: var(--gold); }
.crew-stars svg { width: 14px; height: 14px; }
.kicker-line { width: 21px; height: 1px; background: #b9984f; }
.hero h1 { width: fit-content; margin: 0; font: 900 clamp(108px, 11.9vw, 186px)/.83 var(--display); letter-spacing: -.035em; color: var(--paper); transform: skew(-5deg); transform-origin: 0 100%; text-shadow: 3px 4px 0 rgba(13,15,15,.74); white-space: nowrap; }
.hero h1 > span { color: var(--gold); }
.hero-subtitle { margin: 23px 0 24px; color: var(--paper); font-size: clamp(16px, 1.35vw, 21px); line-height: 1.55; }
.hero-subtitle span { display: inline-block; }
.hero-subtitle span + span { color: #ffe4a4; font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 49px; padding: 0 23px; border-radius: 4px; font: 700 16px/1 var(--body); transition: background .15s, border-color .15s, transform .15s; }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--gold); color: #16160f; border: 1px solid var(--gold); }
.btn-primary:hover { background: #ffd46e; border-color: #ffd46e; transform: translateY(-1px); }
.btn-primary .icon { width: 17px; height: 17px; }
.btn-ghost { background: rgba(16,22,23,.68); color: var(--paper); border: 1px solid #77796e; }
.btn-ghost:hover { background: #242a28; border-color: #b4ad97; transform: translateY(-1px); }
.location { position: absolute; right: max(var(--gutter), calc((100vw - 1580px)/2 + var(--gutter))); bottom: 23px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255,243,214,.33); border-radius: 3px; background: rgba(13,19,19,.78); color: #fff0d8; padding: 6px 9px; font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: 1.08px; }
.location .icon { width: 14px; height: 14px; color: var(--gold); }
.section { padding-top: clamp(31px, 3.1vw, 56px); padding-bottom: clamp(35px, 3.65vw, 65px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.kicker { margin: 0 0 7px; font-size: 11px; color: var(--gold); }
.slash-mark { height: 11px; width: 15px; display: inline-block; transform: skew(-23deg); background: repeating-linear-gradient(90deg,var(--gold) 0 3px,transparent 3px 5px); }
.section h2, .help-dialog h2 { margin: 0; color: var(--paper); font: 900 clamp(37px, 3.0vw, 54px)/1.05 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.section h2::before { content: ""; display: inline-block; width: 15px; height: .67em; margin: 0 14px 0 3px; transform: skew(-18deg); background: repeating-linear-gradient(90deg,var(--gold) 0 4px,transparent 4px 7px); }
.poster-link { display: flex; align-items: center; gap: 8px; color: #c4c4b9; font-size: 12px; font-weight: 550; white-space: nowrap; }
.poster-link .icon { width: 16px; height: 16px; color: var(--gold); }
.crew-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(14px, 1.45vw, 25px); }
#ciekurkalns { scroll-margin-top: 88px; }
.mission-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; background: var(--panel); border: 1px solid #393a36; border-radius: 6px; }
.mission-card:focus-within { border-color: #aa8a4f; }
.card-art { position: relative; min-height: clamp(230px, 25vw, 350px); background: #282d2a; border-inline-end: 1px solid #393a36; }
.card-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.card-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.card-badge, .done-tag { display: inline-flex; align-items: center; gap: 3px; padding: 5px 8px; border: 1px solid #454339; border-radius: 2px; color: #ffe09b; background: #13181aeb; text-transform: uppercase; font: 700 11px/1 var(--display); letter-spacing: 1.25px; }
.done-tag { color: #142015; background: #a7e6bb; border-color: #a7e6bb; }
.done-tag .icon { width: 12px; height: 12px; }
.card-info { display: flex; align-items: center; justify-content: space-between; padding: clamp(18px, 3vw, 44px); gap: 12px; text-align: left; border: 0; background: transparent; }
.card-info:hover { background: #202221; }
.card-info:focus-visible { outline-offset: -4px; }
.card-lines { display: flex; flex-direction: column; gap: 7px; }
.card-lines strong { color: var(--paper); font: 900 clamp(32px, 4vw, 62px)/.95 var(--display); letter-spacing: -.025em; }
.card-lines > span { color: #e2e0d5; font-size: clamp(14px, 1.6vw, 20px); line-height: 1.45; }
.crew-card p { color: #c0c1b9; font-size: 13px; line-height: 1.45; }
.best { color: var(--gold); font-size: 13px; }
.card-play { display: inline-grid; place-items: center; flex: none; width: clamp(38px, 4.4vw, 58px); aspect-ratio: 1; color: var(--ink); background: var(--gold); border-radius: 50%; transition: background .15s; }
.card-play .icon { width: 19px; height: 19px; }
.card-info:hover .card-play { background: #ffd46e; }
.crew-section { background: #151819; border-block: 1px solid #2e312e; }
.crew-section .section { padding-top: clamp(30px, 2.7vw, 48px); }
.poster-link { min-height: 38px; border-bottom: 1px solid #646253; }
.poster-link:hover { color: var(--gold); }
.crew-card { display: grid; grid-template-columns: clamp(83px, 7.5vw, 119px) 1fr; align-items: center; gap: clamp(12px, 1.3vw, 22px); }
.crew-card > img { display: block; border: 1px solid #454139; border-radius: 4px; width: 100%; height: auto; }
.crew-card .role { font: 700 11px/1 var(--display); text-transform: uppercase; letter-spacing: 1.75px; color: var(--gold); }
.crew-card h3 { font: 700 clamp(25px, 2.1vw, 37px)/1.1 var(--display); margin: 2px 0 5px; letter-spacing: -.02em; color: var(--paper); }
.crew-card p { margin: 0; max-width: 26ch; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; color: #aaada6; font-size: 12px; }
.footer-inner span:first-child { font: 700 16px/1 var(--display); letter-spacing: .4px; text-transform: uppercase; }
.footer-inner b { color: var(--gold); }
.help-dialog { width: min(440px, calc(100% - 28px)); max-height: min(90vh, 660px); border: 1px solid #5a5a4e; border-top: 4px solid var(--gold); border-radius: 6px; margin: auto; padding: 0; background: #1b2020; color: var(--paper); }
.help-dialog::backdrop { background: rgba(4,8,9,.83); }
.help-inner { padding: 33px 27px 27px; }
.help-dialog h2 { font-size: 45px; }
.close-dialog { display: grid; place-items: center; position: absolute; right: 13px; top: 13px; width: 38px; height: 38px; border: 1px solid #4d514a; border-radius: 3px; background: transparent; }
.close-dialog .icon { width: 16px; height: 16px; }
.help-intro, .help-row p { margin: 12px 0; color: #d4d4ca; font-size: 14px; line-height: 1.55; }
.help-row { display: flex; align-items: start; gap: 13px; padding: 14px 0; border-top: 1px solid #41443e; }
.help-row > .icon { margin-top: 4px; color: var(--gold); width: 23px; height: 23px; }
.help-row h3 { margin: 0; font: 700 23px/1.1 var(--display); }
.help-row p { margin: 4px 0 0; }
kbd { padding: 0 3px; font-size: .95em; color: #fff4d6; }
.help-dialog .btn { width: 100%; margin-top: 5px; }
@media (min-width: 1750px) { .hero-picture img { object-position: center 25%; } }
@media (max-width: 950px) and (min-width: 701px) {
  .hero-copy { width: 49%; }
  .hero-picture img { object-position: 61% top; }
  .hero-shade { background: linear-gradient(90deg,#0d191bec, #0d191bbf 28%, #0d191b22 55%, transparent 76%); }
  .hero h1 { font-size: clamp(94px, 13vw, 123px); }
  .crew-card { grid-template-columns: 68px 1fr; gap: 9px; }
  .crew-card p { font-size: 12px; }
}
@media (max-width: 700px) {
  :root { --gutter: clamp(18px, 5.1vw, 32px); }
  html { scroll-padding-top: 68px; }
  .header-inner { height: 56px; gap: 12px; }
  .brand { gap: 7px; }
  .brand-mark { min-width: 37px; height: 29px; padding: 0 5px; }
  .brand-mark b { font-size: 26px; }
  .brand-name { font-size: 26px; }
  .site-nav { gap: clamp(12px, 3.3vw, 24px); }
  .site-nav a { min-height: 44px; font-size: 12px; }
  .site-nav a::after { bottom: 9px; }
  .site-nav a:first-child { display: none; }
  .sound-button { width: 38px; min-height: 39px; padding: 0; }
  .sound-button span { display: none; }
  .hero-picture { height: clamp(260px, 66.5vw, 398px); -webkit-mask-image: linear-gradient(to bottom,#000 0 65%,rgba(0,0,0,.9) 79%,transparent); mask-image: linear-gradient(to bottom,#000 0 65%,rgba(0,0,0,.9) 79%,transparent); }
  .hero-picture img { object-position: center 8%; }
  .hero-shade { background: linear-gradient(0deg,#101919 0%, #101919 7%,rgba(16,25,25,.96) 31%,rgba(16,25,25,.78) 44%,rgba(16,25,25,.03) 73%); }
  .hero-inner { min-height: 0; display: block; }
  .hero-copy { width: 100%; padding: clamp(177px, 45vw, 286px) 0 27px; }
  .hero-kicker { color: #ffe4a4; font-size: 11px; gap: 8px; letter-spacing: 1.9px; margin-bottom: 12px; }
  .crew-stars { gap: 1px; }
  .crew-stars svg { width: 12px; height: 12px; }
  .kicker-line { width: 15px; }
  .hero h1 { font-size: clamp(80px, 20vw, 118px); text-shadow: 2px 3px 0 #162022; }
  .hero-subtitle { font-size: 16px; margin: 15px 0 18px; line-height: 1.45; }
  .hero-actions { gap: 9px; }
  .btn { min-height: 45px; padding: 0 17px; font-size: 14px; }
  .btn .icon { width: 17px; height: 17px; }
  .btn-primary .icon { width: 15px; height: 15px; }
  .location { top: 11px; right: 11px; bottom: auto; padding: 5px 7px; font-size: 10px; letter-spacing: .7px; }
  .location .icon { width: 12px; height: 12px; }
  .hero { border-bottom: 1px solid #333a35; }
  .section { padding-top: 27px; padding-bottom: 30px; }
  .section-heading { align-items: center; gap: 10px; margin-bottom: 15px; }
  .section h2 { font-size: clamp(29px,6.9vw,40px); }
  .section h2::before { width: 11px; height: .65em; margin-right: 8px; margin-left: 1px; background: repeating-linear-gradient(90deg,var(--gold) 0 3px,transparent 3px 5px); }
  .mission-card { grid-template-columns: 1fr; }
  .card-art { border-inline-end: 0; border-bottom: 1px solid #393a36; }
  .card-info { padding: 17px; }
  .crew-grid { grid-template-columns: 1fr; gap: 0; }
  .crew-card { grid-template-columns: 75px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid #373a34; }
  .crew-card:first-child { padding-top: 2px; }
  .crew-card:last-child { padding-bottom: 0; border-bottom: 0; }
  .crew-card h3 { font-size: 25px; margin: 1px 0 4px; }
  .crew-card p { max-width: 42ch; font-size: 13px; }
  .poster-link { font-size: 11px; gap: 4px; }
  .poster-link .icon { width: 14px; height: 14px; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; column-gap: 16px; row-gap: 3px; padding-block: 15px; min-height: 56px; font-size: 10px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 9px; }
  .site-nav { gap: 12px; }
  .sound-button { width: 35px; }
  .crew-section .section-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
