/* Hejnał - the landing page.
   The identity is docs/BRANDING.md: six glasses and the came. Gold is the one
   thing that matters on a screen (the wordmark and the lit store pane). Panes
   are the main menu's gold-and-lead pills, 9-sliced exactly as the game slices
   them (plates.css: a 24 px band of a 120 px pill). */

@font-face { font-family: 'Cinzel'; font-weight: 400; font-display: swap;
  src: url(../fonts/cinzel-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-weight: 400; font-display: swap;
  src: url(../fonts/cinzel-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap;
  src: url(../fonts/cinzel-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap;
  src: url(../fonts/cinzel-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Marcellus'; font-weight: 400; font-display: swap;
  src: url(../fonts/marcellus-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Marcellus'; font-weight: 400; font-display: swap;
  src: url(../fonts/marcellus-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cobalt: #0B2F6B;
  --emerald: #0F5B46;
  --violet: #5B2C83;
  --ember: #D64B1F;
  --gold: #E3B448;
  --pale: #B7C6D9;
  --came: #0A0A0C;
  --letter: #e2cf9d;          /* parchment gold: the menu's lettering, unlit */
  --letter-bright: #f3e4b8;
  --night: #05070d;
  --ink: #dfe6ef;             /* running text: pale glass, lifted for reading */
  --dim: #93a3b8;
  --display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --lower: 'Marcellus', Georgia, 'Times New Roman', serif;
  --ui: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --hair: rgba(227, 180, 72, 0.45);
  --pane-band: 10px;           /* the plate's lead-and-gold band on screen */
  --wrap: min(1240px, calc(100vw - 48px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 17px/1.65 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--letter); }
:focus-visible { outline: 2px solid var(--pale); outline-offset: 3px; }
html[lang='bg'] { --display: 'Cinzel', 'Times New Roman', Georgia, serif; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--came); color: var(--letter); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- top bar ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px max(20px, env(safe-area-inset-left)) 10px max(20px, env(safe-area-inset-right));
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.top.is-solid {
  background: rgba(5, 7, 13, 0.86);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 2px 0 var(--came), 0 3px 0 rgba(227, 180, 72, 0.22);
}
.top__mark { width: 118px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.top.is-solid .top__mark { opacity: 1; transform: none; pointer-events: auto; }
.top__nav { display: flex; gap: 26px; margin-left: 8px; }
.top__nav a, .top__get {
  font-family: var(--display); font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--letter); text-decoration: none; text-shadow: 0 1px 3px #000;
}
.top__nav a:hover { color: var(--letter-bright); }
.top__side { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 2px solid var(--came); border-radius: 12px 4px 12px 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(227, 180, 72, .28); background: rgba(5, 7, 13, .55); }
.lang button {
  font: 600 12px/1 var(--ui); letter-spacing: .08em; color: var(--pale);
  background: none; border: 0; padding: 9px 10px; min-width: 40px; min-height: 36px; cursor: pointer;
}
.lang button + button { border-left: 1px solid rgba(183, 198, 217, .18); }
.lang button[aria-pressed='true'] { background: rgba(183, 198, 217, .9); color: var(--came); }
.top__get {
  border: solid transparent; border-width: 7px 22px;
  border-image: url(../img/plate-m.png) 24 60 / 7px 22px / 0 stretch;
  padding: 2px 4px; min-height: 40px; display: inline-flex; align-items: center;
}
.top__get:hover { color: var(--letter-bright); }

/* ---------- panes (store buttons) ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.pane {
  --t: var(--pane-band);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  height: calc(var(--t) * 7); min-width: 232px;
  border: solid transparent;
  border-width: var(--t) calc(var(--t) * 3.5);
  border-image: url(../img/plate-l.png) 24 60 / var(--t) calc(var(--t) * 3.5) / 0 stretch;
  padding: 0 6px;
  color: var(--letter); text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .6);
  transition: color .15s ease, transform .15s ease;
}
.pane::before {
  content: ''; position: absolute; z-index: -1; border-radius: 999px;
  inset: calc(var(--t) * -0.35) calc(var(--t) * -2.4);
  background: rgba(5, 7, 13, .55);
  transition: background .15s ease, box-shadow .15s ease;
}
.pane:hover { color: var(--letter-bright); transform: translateY(-1px); }
.pane:hover::before { background: rgba(11, 47, 107, .7); }
.pane span { display: grid; line-height: 1.12; text-align: left; }
.pane small { font: 600 11px/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.pane b { font: 400 21px/1.15 var(--display); letter-spacing: .05em; }
.pane__glyph { width: 24px; height: 24px; fill: currentColor; flex: none; }
/* The lit pane: the one gold thing after the wordmark. */
.pane--lit { color: var(--came); text-shadow: 0 1px 0 rgba(255, 244, 200, .5); }
.pane--lit::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 55%),
    linear-gradient(90deg, #c8772a 0%, #ecbf5c 16%, #f7d987 50%, #ecbf5c 84%, #c8772a 100%);
  box-shadow: 0 0 30px rgba(227, 180, 72, .45);
}
.pane--lit:hover { color: var(--came); }
.pane--lit:hover::before { background:
    linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 55%),
    linear-gradient(90deg, #d0812f 0%, #f2c862 16%, #fbe29a 50%, #f2c862 84%, #d0812f 100%);
  box-shadow: 0 0 42px rgba(227, 180, 72, .6); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; background: #03050a;
  isolation: isolate;
}
.hero__plate {
  position: absolute; inset: -4% 0 -4% auto; z-index: -3;
  /* fitted to height and anchored right, like the game's menu: the plate's
     quiet left field fades into the near-black page */
  width: max(100%, calc(100svh * 1.62));
  background: url(../img/plate-menu.webp) right center / auto 100% no-repeat;
  will-change: transform;
}
.hero__moon {
  position: absolute; z-index: -2; pointer-events: none;
  right: calc(min(100vw, 100svh * 1.5) * 0.12); top: 21%;
  width: 26vmin; height: 26vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 170, .35) 0%, rgba(255, 220, 140, .1) 38%, transparent 70%);
  mix-blend-mode: screen; animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, .92) 0%, rgba(3, 5, 10, .55) 32%, rgba(3, 5, 10, 0) 55%),
    linear-gradient(0deg, var(--night) 0%, rgba(5, 7, 13, 0) 22%),
    linear-gradient(180deg, rgba(3, 5, 10, .55) 0%, rgba(3, 5, 10, 0) 16%);
}
.hero__body {
  width: var(--wrap); margin: 0 auto; padding: 120px 0 110px;
}
.hero__mark { margin: 0; width: min(560px, 46vw); filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .75)); }
.hero__mark img { width: 100%; }
.hero__lead {
  max-width: 30ch; margin: 22px 0 34px;
  font: 400 clamp(20px, 1.9vw, 26px)/1.42 var(--lower); color: var(--ink);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}
html[lang='bg'] .hero__lead { font-family: Georgia, 'Times New Roman', serif; }
.hero__meta {
  margin: 26px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  font: 600 12px/1.4 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.hero__meta i { font-style: normal; font-size: 8px; color: rgba(183, 198, 217, .5); }
.hero__down {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  width: 34px; height: 54px; border: 2px solid rgba(183, 198, 217, .4); border-radius: 18px 18px 18px 18px;
}
.hero__down span { position: absolute; left: 50%; top: 10px; width: 4px; height: 10px; margin-left: -2px; border-radius: 2px; background: var(--pale); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(20px); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(72px, 9vw, 130px) 0; }
.sec__head { width: var(--wrap); margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; }
.sec__lead { max-width: 60ch; margin: 18px auto 0; color: var(--dim); font-size: 18px; }
.glass {
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(5, 7, 13, .72), rgba(5, 7, 13, .38) 100%),
    url(../img/glass-field.webp) center / cover no-repeat, var(--night);
}
.glass::before, .glass::after {
  /* the came band that closes a glass field top and bottom */
  content: ''; position: absolute; left: 0; right: 0; height: 4px;
  background: var(--came); box-shadow: 0 1px 0 rgba(227, 180, 72, .25), 0 -1px 0 rgba(227, 180, 72, .25);
}
.glass::before { top: 0; } .glass::after { bottom: 0; }

.title {
  margin: 0; font: 400 clamp(32px, 4.4vw, 58px)/1.08 var(--display);
  text-transform: uppercase; letter-spacing: .06em; color: var(--letter);
  text-shadow: 0 2px 0 var(--came), 0 0 24px rgba(0, 0, 0, .6);
  display: inline-flex; align-items: center; gap: .55em;
}
.title::before, .title::after {
  content: ''; width: clamp(28px, 6vw, 90px); height: 9px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 9'%3E%3Cpath d='M0 4.5h70' stroke='%230A0A0C' stroke-width='3'/%3E%3Cpath d='M0 4.5h70' stroke='%23E3B448' stroke-opacity='.55' stroke-width='1'/%3E%3Cpath d='M76 4.5l6.5-4 6.5 4-6.5 4z' fill='%23D64B1F' stroke='%230A0A0C' stroke-width='1.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.title::before { transform: scaleX(-1); }
.title--left::before { display: none; }

/* ---------- windows (video frames) ---------- */
.window {
  position: relative; width: var(--wrap); margin: 0 auto;
  border: 3px solid var(--came);
  border-radius: 28px 10px 28px 10px;
  box-shadow: inset 0 0 0 1px var(--hair), 0 0 0 1px rgba(227, 180, 72, .18), 0 30px 80px -20px rgba(0, 0, 0, .9);
  background: #000; overflow: hidden;
}
.window--wide { aspect-ratio: 16 / 9; max-width: 1180px; }
.sec--trailer { padding-top: clamp(40px, 6vw, 80px); }
.sec--trailer::before {
  content: ''; position: absolute; inset: 18% 0 auto; height: 70%; z-index: -1;
  background: radial-gradient(60% 60% at 50% 50%, rgba(11, 47, 107, .55), transparent 70%);
}

/* A video slot: poster, play ring, title. site.js swaps in the player. */
.reel { position: relative; width: 100%; height: 100%; margin: 0; }
.reel__poster, .reel__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel__btn {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px;
  width: 100%; border: 0; padding: 0; background: linear-gradient(0deg, rgba(3, 5, 10, .78), rgba(3, 5, 10, .12) 55%, rgba(3, 5, 10, .28));
  color: var(--letter); cursor: pointer; font: inherit;
}
.reel__btn[disabled] { cursor: default; }
.reel__ring {
  width: clamp(68px, 9vw, 108px); aspect-ratio: 1;
  border: 9px solid transparent; border-image: url(../img/plate-round.png) 30 / 9px / 0 stretch;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 7, 13, .7) 55%, rgba(5, 7, 13, 0) 72%);
  transition: transform .2s ease, background .2s ease;
}
.reel__ring svg { width: 38%; fill: var(--letter); translate: 8% 0; filter: drop-shadow(0 1px 1px #000); }
.reel__btn:not([disabled]):hover .reel__ring { transform: scale(1.06); background: radial-gradient(circle, rgba(227, 180, 72, .95) 55%, rgba(227, 180, 72, 0) 72%); }
.reel__btn:not([disabled]):hover .reel__ring svg { fill: var(--came); filter: none; }
.reel__label {
  font: 400 clamp(17px, 1.8vw, 24px)/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase;
  text-shadow: 0 2px 6px #000; padding: 0 16px; text-align: center;
}
.reel__soon {
  font: 600 12px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--pale);
  padding: 8px 14px; border: 2px solid var(--came); border-radius: 12px 4px; background: rgba(5, 7, 13, .7);
  box-shadow: inset 0 0 0 1px rgba(183, 198, 217, .25);
}
.reel__btn[disabled] .reel__ring { opacity: .5; }

.reels {
  width: var(--wrap); margin: 0 auto;
  display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  align-items: start;
}
.reels .window { width: 100%; aspect-ratio: 16 / 9; border-radius: 22px 8px 22px 8px; }
.reels .window--tall { aspect-ratio: 9 / 16; grid-row: span 2; }
.reels .window:nth-child(3n+2) { border-radius: 8px 22px 8px 22px; }
.reels .reel__label { font-size: clamp(15px, 1.4vw, 19px); }
.reels .reel__ring { width: 68px; }
.reel__desc { position: absolute; left: 16px; right: 16px; bottom: 14px; margin: 0; color: var(--dim); font-size: 14px; text-align: center; pointer-events: none; }

/* ---------- story ---------- */
.story {
  width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); align-items: end; }
.arch {
  margin: 0; position: relative;
  border: 4px solid var(--came);
  border-radius: 50% 50% 10px 26px / 30% 30% 10px 26px;
  overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: inset 0 0 0 1px var(--hair), 0 0 0 1px rgba(227, 180, 72, .25), 0 40px 90px -30px #000;
}
.arch--emil { border-radius: 50% 50% 26px 10px / 30% 30% 26px 10px; transform: translateY(-34px); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  /* light passing through the glass */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 236, 190, .16) 45%, transparent 60%);
  background-size: 250% 100%; animation: sweep 9s ease-in-out infinite;
}
.arch--emil::after { animation-delay: 1.4s; }
@keyframes sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -60% 0; } }
.arch figcaption {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 1;
  --t: 7px;
  border: solid transparent; border-width: var(--t) calc(var(--t) * 3.2);
  border-image: url(../img/plate-m.png) 24 60 / var(--t) calc(var(--t) * 3.2) / 0 stretch;
  padding: 1px 6px; min-width: 7.5em; text-align: center;
  font: 400 clamp(15px, 1.4vw, 19px)/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--letter); background: radial-gradient(closest-side, rgba(5, 7, 13, .85), rgba(5, 7, 13, .55));
  border-radius: 999px; text-shadow: 0 1px 2px #000;
}
.story__text p { margin: 0 0 1.05em; max-width: 58ch; font-size: 18px; }
.story__text .title { margin-bottom: 26px; }
.story__text .story__first { font: 400 clamp(20px, 1.6vw, 23px)/1.5 var(--lower); color: var(--letter-bright); }
html[lang='bg'] .story__text .story__first { font-family: Georgia, 'Times New Roman', serif; }

/* ---------- collage: GTA's cover grid in leaded glass ---------- */
.collage {
  width: var(--wrap); margin: 0 auto;
  display: grid; gap: 10px; padding: 10px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 236px);
  background: var(--came);
  border-radius: 30px 10px 30px 10px;
  box-shadow: 0 0 0 1px rgba(227, 180, 72, .3), 0 40px 100px -30px #000;
}
.tile {
  position: relative; overflow: hidden; margin: 0; isolation: isolate;
  background: #0b0f1c; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .5s ease; filter: saturate(1.04) brightness(.92); }
.tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(3, 5, 10, .9) 0%, rgba(3, 5, 10, .35) 34%, rgba(3, 5, 10, 0) 58%);
}
.tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 238, 200, .22) 48%, transparent 62%) 140% 0 / 260% 100% no-repeat;
  transition: background-position 1.1s ease;
}
.tile:hover img { transform: scale(1.045); filter: saturate(1.12) brightness(1.06); }
.tile:hover::after { background-position: -40% 0; }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px 20px; }
.tile__cap h3 {
  margin: 0 0 6px; font: 400 clamp(20px, 2vw, 30px)/1.1 var(--display); letter-spacing: .07em; text-transform: uppercase;
  color: var(--letter); text-shadow: 0 2px 0 var(--came), 0 0 18px rgba(0, 0, 0, .8);
}
.tile__cap p { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.45; color: rgba(223, 230, 239, .88); text-shadow: 0 1px 3px #000; }
.tile--chase { grid-column: span 8; grid-row: span 2; border-radius: 22px 6px 6px 6px; }
.tile--trumpeter { grid-column: span 4; border-radius: 6px 22px 6px 6px; }
.tile--cellars { grid-column: span 4; }
.tile--cellars img { object-position: 50% 96%; }
.tile--trumpeter img { object-position: 28% 22%; }
.tile--race img { object-position: 50% 62%; }
.tile--chase img { object-position: 40% 50%; }
.tile--bike { grid-column: span 4; grid-row: span 2; }
.tile--bike img { object-position: 38% 50%; }
.tile--race { grid-column: span 8; }
.tile--artel { grid-column: span 4; border-radius: 6px 6px 6px 22px; }
.tile--rynek { grid-column: span 4; border-radius: 6px 6px 22px 6px; }
.tile--rynek img { object-position: 80% 45%; }
.tile--chase .tile__cap h3, .tile--race .tile__cap h3 { font-size: clamp(24px, 2.8vw, 40px); }

/* ---------- features ---------- */
.feats {
  width: var(--wrap); margin: 0 auto; padding: 0; list-style: none;
  display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feat {
  position: relative; padding: 28px 26px 26px 26px;
  border: 2px solid var(--came);
  border-radius: 24px 8px 24px 8px;
  background: linear-gradient(160deg, rgba(11, 47, 107, .34), rgba(5, 7, 13, .72) 70%);
  box-shadow: inset 0 0 0 1px rgba(227, 180, 72, .2);
  backdrop-filter: blur(2px);
}
.feat:nth-child(even) { border-radius: 8px 24px 8px 24px; }
.feat h3 { margin: 14px 0 8px; font: 400 21px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--letter); }
.feat p { margin: 0; color: rgba(223, 230, 239, .82); font-size: 16px; line-height: 1.55; }
.lozenge { width: 64px; height: 64px; }
.lozenge .lz { stroke: var(--came); stroke-width: 2.5; }
.lozenge .gl { fill: none; stroke: var(--pale); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- download ---------- */
.sec--get { overflow: hidden; }
.sec--get::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 28% 50%, rgba(11, 47, 107, .55), transparent 70%), radial-gradient(40% 50% at 80% 70%, rgba(91, 44, 131, .25), transparent 70%);
}
.get { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.get__art {
  margin: 0; aspect-ratio: 1; border: 4px solid var(--came); overflow: hidden;
  border-radius: 46% 46% 46% 46% / 46% 46% 46% 46%;
  box-shadow: inset 0 0 0 1px var(--hair), 0 0 0 1px rgba(227, 180, 72, .3), 0 0 120px rgba(11, 47, 107, .7);
  max-width: 440px; justify-self: center; width: 100%;
}
.get__art img { width: 100%; height: 100%; object-fit: cover; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) rotate(-1deg); } to { transform: scale(1.1) rotate(1.5deg); } }
.get__body > p { max-width: 52ch; font-size: 18px; margin: 22px 0 30px; }
.get__note { margin-top: 26px; color: var(--dim); font-size: 14px; max-width: 56ch; }

/* ---------- footer ---------- */
.foot {
  position: relative; text-align: center; padding: 54px 20px calc(44px + env(safe-area-inset-bottom));
  border-top: 4px solid var(--came); box-shadow: 0 -1px 0 rgba(227, 180, 72, .25);
  background: #03050a;
}
.foot__mark { width: 150px; margin: 0 auto 18px; opacity: .9; }
.foot__links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.foot__links a { font-family: var(--display); letter-spacing: .1em; text-transform: uppercase; font-size: 14px; text-decoration: none; padding: 10px 0; }
.foot__links a:hover { color: var(--letter-bright); }
.foot__small { color: var(--dim); font-size: 13px; margin: 14px 0 0; }

/* ---------- gallery page ---------- */
.sec--subhead { padding: calc(110px + env(safe-area-inset-top)) 0 clamp(48px, 6vw, 80px); }
.sec--subhead .sec__lead { color: var(--ink); }
.sec--clips, .sec--shots { padding-top: clamp(56px, 7vw, 100px); padding-bottom: 0; }
.sec--back { padding: clamp(64px, 8vw, 110px) 0; }
.stores--center { justify-content: center; }
.clips {
  width: var(--wrap); margin: 0 auto;
  display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.clip { width: 100%; aspect-ratio: 16 / 9; margin: 0; }
.clip:nth-child(4n+2), .clip:nth-child(4n+3) { border-radius: 10px 28px 10px 28px; }
.clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__open { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.clip__cap, .shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  padding: 34px 18px 14px; text-align: left;
  font: 400 clamp(14px, 1.3vw, 18px)/1.25 var(--display); letter-spacing: .06em; text-transform: uppercase;
  color: var(--letter); text-shadow: 0 1px 3px #000;
  background: linear-gradient(0deg, rgba(3, 5, 10, .85), rgba(3, 5, 10, 0));
}
.shots {
  width: var(--wrap); margin: 0 auto;
  display: grid; gap: 10px; padding: 10px; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--came); border-radius: 26px 10px 26px 10px;
  box-shadow: 0 0 0 1px rgba(227, 180, 72, .3), 0 40px 100px -30px #000;
}
.shot {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; margin: 0;
  border: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: #0b0f1c;
  box-shadow: inset 0 0 0 1px var(--hair); font: inherit;
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.shot { isolation: isolate; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.04); filter: brightness(1.08); }
.shot__cap { opacity: 0; transition: opacity .25s; font-size: 14px; }
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; }
.shots .shot:first-child { border-top-left-radius: 20px; }
.shots .shot:nth-child(3) { border-top-right-radius: 20px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  background: rgba(3, 5, 10, .94); backdrop-filter: blur(6px);
  padding: max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
}
.lightbox[hidden] { display: none; }
.lb-open, .lb-open body { overflow: hidden; }
.lightbox__frame { margin: 0; display: grid; gap: 12px; justify-items: center; min-width: 0; }
.lightbox__media { width: 100%; display: grid; place-items: center; }
.lightbox__media img, .lightbox__media video {
  max-width: 100%; max-height: calc(100svh - 120px); width: auto; height: auto;
  border: 3px solid var(--came); border-radius: 18px 6px 18px 6px;
  box-shadow: inset 0 0 0 1px var(--hair), 0 0 0 1px rgba(227, 180, 72, .3), 0 30px 80px #000;
  background: #000;
}
.lightbox__media video { width: min(100%, 1280px); }
.lightbox__cap { font: 400 15px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--letter); text-align: center; white-space: pre; }
.lightbox__close, .lightbox__nav {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--came);
  background: rgba(11, 47, 107, .55); color: var(--letter); font: 400 30px/1 var(--display);
  box-shadow: inset 0 0 0 1px rgba(227, 180, 72, .35); cursor: pointer; justify-self: center;
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(11, 47, 107, .9); color: var(--letter-bright); }
.lightbox__close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; font-size: 28px; }

/* ---------- home: gallery teaser ---------- */
.teaser {
  width: var(--wrap); margin: 0 auto;
  display: grid; gap: 10px; padding: 10px; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--came); border-radius: 26px 10px 26px 10px;
  box-shadow: 0 0 0 1px rgba(227, 180, 72, .3), 0 40px 100px -30px #000;
}
.teaser .shot:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 20px 6px 6px 6px; }
.teaser .shot { cursor: pointer; }
.teaser video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.teaser__more { display: flex; justify-content: center; margin-top: 30px; }
.pane--plain { min-width: 0; }
.pane--plain b { font-size: 18px; }

@media (max-width: 1020px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .clips { grid-template-columns: 1fr; gap: 14px; }
  .shots { gap: 6px; padding: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px 6px 18px 6px; }
  .shot__cap { opacity: 1; font-size: 11px; padding: 22px 8px 8px; }
  .teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; }

  .lightbox { grid-template-columns: 1fr; padding-left: 6px; padding-right: 6px; }
  .lightbox__nav { display: none; }
  .lightbox__cap { white-space: normal; font-size: 13px; }
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .top__nav { display: none; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage { grid-auto-rows: clamp(170px, 26vw, 260px); }
  .tile--chase, .tile--race { grid-column: span 12; }
  .tile--trumpeter, .tile--cellars, .tile--artel, .tile--rynek { grid-column: span 6; }
  .tile--bike { grid-column: span 12; grid-row: span 1; }
}
@media (max-width: 760px) {
  :root { --wrap: calc(100vw - 32px); --pane-band: 9px; }
  body { font-size: 16px; }
  .top { padding: 8px 12px; gap: 10px; }
  .top__mark { width: 96px; }
  .top__side { gap: 10px; }
  .lang button { min-width: 36px; padding: 9px 7px; }
  .hero { align-items: flex-end; }
  .hero__plate { inset: 0; width: 100%; background: url(../img/plate-menu-tall.webp) 50% 0 / cover no-repeat; }
  .hero__moon { right: 9%; top: 15%; width: 40vmin; height: 40vmin; }
  .hero__shade { background: linear-gradient(0deg, var(--night) 0%, rgba(5, 7, 13, .9) 34%, rgba(5, 7, 13, .2) 62%, rgba(5, 7, 13, .45) 100%); }
  .hero__body { padding: 0 0 92px; text-align: center; }
  .hero__mark { width: min(86vw, 420px); margin: 0 auto; }
  .hero__lead { margin: 14px auto 26px; font-size: 19px; }
  .stores { justify-content: center; }
  .hero__meta { justify-content: center; font-size: 11px; }
  .pane { min-width: 0; width: min(100%, 300px); justify-content: center; }
  .story { grid-template-columns: 1fr; }
  .duo { max-width: 460px; width: 100%; justify-self: center; }
  .arch--emil { transform: translateY(-18px); }
  .collage { gap: 7px; padding: 7px; border-radius: 22px 8px 22px 8px; grid-auto-rows: 64vw; }
  .collage .tile { grid-column: span 12; grid-row: span 1; }
  .tile__cap { padding: 14px 16px 16px; }
  .tile__cap p { font-size: 14px; }
  .feats { grid-template-columns: 1fr; gap: 14px; }
  .feat { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 20px 18px; }
  .feat .lozenge { width: 56px; height: 56px; grid-row: span 2; }
  .feat h3 { margin: 4px 0 6px; font-size: 18px; }
  .get { grid-template-columns: 1fr; text-align: center; }
  .get__art { max-width: 260px; }
  .get .title--left::before { display: block; }
  .get__body > p, .get__note { margin-left: auto; margin-right: auto; }
  .story__text .title { display: flex; justify-content: center; }
  .story__text .title--left::before { display: block; }
  .window { border-radius: 18px 6px 18px 6px; }
  .reels .window--tall { grid-row: auto; max-width: 360px; justify-self: center; }
}
@media (max-width: 380px) {
  .top__get { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
