/* Vilehead site v5: dark, bone-white, lava yellow-orange (colours of the Antumbra logos); every product has its own --accent */
:root {
  --bg: #0b0908;
  --bg2: #15100e;
  --card: #1a1412;
  --bone: #efe6cf;
  --bone-dim: #b9ad94;
  --gold: #ff7f11;
  --gold-bright: #ffa83a;
  --gold-dark: #8a2f04;
  --line: #3a2a24;
  --bar-h: 64px;
  --dock-h: 58px;
  --head: "IM Fell English SC", Georgia, serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); scroll-padding-bottom: var(--dock-h); scroll-snap-type: y mandatory; }
/* every page piece fills the space between the two bars and snaps into place */
.hero, .shelf, .plain { scroll-snap-align: start; scroll-snap-stop: always; }
:root { --view-h: calc(100vh - var(--bar-h) - var(--dock-h)); }
@supports (height: 100svh) { :root { --view-h: calc(100svh - var(--bar-h) - var(--dock-h)); } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font: 17px/1.6 var(--body);
  padding-bottom: var(--dock-h);
}
/* film grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* delicate scanlines over the whole page: light gold lines blended with soft-light, so text stays readable */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 91;
  background: repeating-linear-gradient(180deg, rgba(255, 172, 92, .22) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}
a { color: var(--bone); }
img { max-width: 100%; display: block; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(14px, 4vw, 48px);
  background: rgba(11, 9, 8, .78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 42, 36, .7);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 38px; height: 38px; }
.brand span { font: 26px var(--head); letter-spacing: .06em; text-transform: uppercase; }
.bar nav { display: flex; gap: clamp(6px, 2vw, 24px); overflow-x: auto; scrollbar-width: none; }
.bar nav a {
  position: relative; padding: 8px 6px;
  text-decoration: none; color: var(--bone-dim); white-space: nowrap;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px;
  transition: color .2s;
}
.bar nav a::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.bar nav a:hover, .bar nav a.active { color: var(--bone); }
.bar nav a.active::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: calc(100vh - var(--dock-h));
  display: grid; place-items: center;
  padding: calc(var(--bar-h) + 20px) clamp(18px, 4vw, 56px) 70px;
  background:
    radial-gradient(ellipse at 30% 40%, #451a02 0%, transparent 60%),
    radial-gradient(ellipse at 50% 120%, #2e0d01 0%, transparent 55%);
}
@supports (height: 100svh) { .hero { height: calc(100svh - var(--dock-h)); } }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; }
/* side fireflies: one fixed layer behind all sections; the hero's own background covers it */
.side-embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 1; }
/* logo on the left, the text next to it (Radek 2026-10-25) */
.hero-inner {
  position: relative; width: 100%; max-width: 1180px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hero-logo { width: min(320px, 28vw, 46vh); margin: 0; }
/* round logo (hero and About): breathes, with a thin pulsing lightsaber rim, white core fading into gold-orange (Radek 2026-10-25) */
.coin { position: relative; animation: breathe 6s ease-in-out infinite; }
.coin img { width: 100%; height: auto; display: block; }
.coin::after {
  content: ""; position: absolute; inset: 3.7%; border-radius: 50%; pointer-events: none;  /* coin edge: radius ~0.463 of the box */
  box-shadow:
    0 0 0 1px rgba(255, 252, 240, .9), 0 0 3px 1px rgba(255, 246, 225, .85),
    0 0 8px 2px rgba(255, 176, 60, .7), 0 0 18px 4px rgba(255, 110, 10, .42),
    inset 0 0 3px 1px rgba(255, 246, 225, .55), inset 0 0 9px 2px rgba(255, 140, 25, .32);
  animation: saber 2.6s ease-in-out infinite;
}
@keyframes saber {
  0%, 100% { opacity: 1; }
  45% { opacity: .5; }
  52% { opacity: .72; }  /* tiny hum flicker */
  58% { opacity: .55; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 24px rgba(255, 112, 10, .34)); }
  50% { transform: scale(1.025); filter: drop-shadow(0 0 46px rgba(255, 120, 10, .62)); }
}
.hero h1 {
  font: clamp(52px, min(8vw, 13vh), 104px)/1 var(--head);
  letter-spacing: .08em; margin: 0 0 10px; text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 120, 20, .28);
}
.hero p { margin: 0; color: var(--bone-dim); font-size: 19px; }
.hero .hi { color: var(--bone); font-style: italic; font-size: 21px; margin-bottom: 4px; }
.hero .welcome { margin-bottom: clamp(16px, 3.5vh, 30px); }

/* product icons: click = jump to the product, hover = shine sweep + grow */
.hicons { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hicons-group { display: flex; flex-wrap: wrap; gap: 14px; }
.hicons-group + .hicons-group { padding-left: 28px; border-left: 1px solid var(--line); }
.hicon { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 72px; text-decoration: none; }
.hicon-img {
  position: relative; overflow: hidden; display: block;
  width: 64px; height: 64px; border-radius: 16px;
  background-color: #000; background-size: cover; background-repeat: no-repeat;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .6);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s;
}
.hicon-img::after {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%);
  transform: translateX(-110%); pointer-events: none;
}
.hicon-name {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--bone-dim);
  text-align: center; line-height: 1.2; transition: color .2s;
}
.hicon:hover .hicon-img, .hicon:focus-visible .hicon-img {
  transform: scale(1.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .7), 0 0 22px color-mix(in srgb, var(--accent) 60%, transparent);
}
.hicon:hover .hicon-img::after, .hicon:focus-visible .hicon-img::after { transform: translateX(110%); transition: transform .7s ease; }
.hicon:hover .hicon-name, .hicon:focus-visible .hicon-name { color: var(--bone); }
/* catchy one-liner that pops up under the hovered icon */
.hicon { position: relative; }
.hicon-tip {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 5;
  width: max-content; max-width: 230px; padding: 8px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 600; font-style: italic; line-height: 1.35; text-align: center; color: var(--bone);
  background: rgba(14, 10, 6, .94); border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .7), 0 0 18px color-mix(in srgb, var(--accent) 25%, transparent);
  opacity: 0; transform: translate(-50%, -6px); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.hicon-tip::before {
  content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  background: inherit; border-left: inherit; border-top: inherit; transform: rotate(45deg);
}
.hicon:hover .hicon-tip, .hicon:focus-visible .hicon-tip { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .hicon-tip { display: none; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0;
  display: block; width: 26px; height: 42px;
  border: 2px solid var(--bone-dim); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--bone); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- section titles ---------- */
.plain h2, .shelf-label {
  font: clamp(40px, min(7vw, 10vh), 80px)/1 var(--head); letter-spacing: .08em; margin: 0;
}
/* VHS wobble like ScreenMod's Video tape: thin horizontal rows jump sideways (SVG filter #wobble, app.js reseeds it) */
.hero h1 .t, h2 .t { display: inline-block; filter: url(#wobble); }
@media (prefers-reduced-motion: reduce) { .hero h1 .t, h2 .t { filter: none; } }
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* blinking DOS cursor after the hero name and every section title */
.cur { animation: blink 1.06s linear infinite; }
@keyframes blink { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
h2 .t { padding-left: .5em; }  /* balances the cursor on the right, so the word stays centred */
/* flourishes on both sides of a section title */
.orn { width: min(150px, 12vw); height: auto; vertical-align: middle; margin: 0 .3em; fill: #ffa040; stroke: #ffa040;
  filter: drop-shadow(0 0 5px rgba(255, 120, 15, .6)); overflow: visible; }
.orn.r { transform: scaleX(-1); }
.plain h2::after, .shelf-label::after {
  content: ""; display: block; width: 120px; height: 3px; margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- product backgrounds (live layers behind every card) ---------- */
.bg { position: absolute; inset: 0; z-index: -2; background: #000; }
.bg-video video, .bg-img, .bg-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-video video { object-fit: cover; }
.bg-img, .bg-slide { background-size: cover; background-position: center; }
.bg-img { animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.12) translate(-1.5%, -1%); } to { transform: scale(1) translate(0, 0); } }
.bg-slide { opacity: 0; animation: slides 24s infinite; }
.bg-slide:nth-child(2) { animation-delay: 6s; }
.bg-slide:nth-child(3) { animation-delay: 12s; }
.bg-slide:nth-child(4) { animation-delay: 18s; }
.bg-slide:only-child { opacity: 1; animation: kenburns 28s ease-in-out infinite alternate; filter: blur(6px); }
@keyframes slides {
  0% { opacity: 0; transform: scale(1.1); }
  6%, 25% { opacity: 1; }
  33%, 100% { opacity: 0; transform: scale(1); }
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }

.tag { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; }
.platforms li {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.platforms .ico { width: 15px; height: 15px; color: var(--accent); }
.desc { color: var(--bone); opacity: .88; margin: 0 0 min(24px, 2.6vh); max-width: 52ch; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 10px; text-decoration: none;
  font-weight: 800; font-size: 15px; letter-spacing: .03em; color: #0b0908;
  background: var(--accent, var(--gold));
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent, var(--gold)) 35%, transparent);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.store .ico { width: 20px; height: 20px; }
a.store:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 10px 32px color-mix(in srgb, var(--accent, var(--gold)) 55%, transparent); }
.store.off {
  background: rgba(24, 20, 18, .88); color: rgba(185, 173, 148, .55); box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .1); cursor: not-allowed;
}
/* screenshot frame */
.frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 60px color-mix(in srgb, var(--accent) 18%, transparent);
  cursor: zoom-in;
}
.frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity .7s, transform 6s ease-out;
}
.frame img.on { opacity: 1; transform: scale(1); }
.frame .nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--bone);
  background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .2s, background .2s;
}
.frame .nav .ico { width: 26px; height: 26px; }
.frame .prev { left: 12px; } .frame .next { right: 12px; }
.frame:hover .nav, .frame .nav:focus-visible { opacity: 1; }
@media (hover: none) { .frame .nav { opacity: .8; } }
.frame .nav:hover { background: color-mix(in srgb, var(--accent) 70%, #000); }
/* ---------- shelves (Software, Games): 4 cards on one screen (desktop), 2 per screen (phone) ---------- */
.shelf { min-height: var(--view-h); display: grid; align-items: center; }
.shelf-wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: min(18px, 2vh) clamp(14px, 2.5vw, 40px); }
.shelf-label { text-align: center; margin-bottom: clamp(12px, 2.4vh, 24px); font-size: clamp(36px, min(5vw, 7vh), 60px); }
/* flex, not grid: a shelf with 3 games keeps the 4-column card size and sits centred */
.cards { --cols: 4; --gap: clamp(12px, 1.4vw, 22px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.card {
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  display: flex; flex-direction: column; gap: clamp(8px, 1.5vh, 12px);
  padding: clamp(12px, 2vh, 16px) 16px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 65%, transparent);
  /* glowing frame: brighter since 2026-10-25 (Radek), much stronger on hover */
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 26px color-mix(in srgb, var(--accent) 30%, transparent),
              inset 0 0 18px color-mix(in srgb, var(--accent) 14%, transparent);
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), border-color .3s, box-shadow .3s;
}
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* hover: grows a little + the same shine sweep as the hero icons */
.card::after {
  content: ""; position: absolute; inset: -30%; z-index: 5; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 236, 190, .16) 50%, transparent 60%);
  transform: translateX(-100%);
}
.card:hover {
  z-index: 2; transform: scale(1.035);
  border-color: color-mix(in srgb, var(--accent) 100%, #fff 25%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .7), 0 0 0 1px var(--accent),
              0 0 22px color-mix(in srgb, var(--accent) 75%, transparent), 0 0 70px color-mix(in srgb, var(--accent) 42%, transparent),
              inset 0 0 26px color-mix(in srgb, var(--accent) 28%, transparent);
}
.card:hover::after { transform: translateX(100%); transition: transform .9s ease; }
.card.ping { animation: ping 1.4s ease-out; }
@keyframes ping { 0%, 30% { box-shadow: 0 0 0 3px var(--accent), 0 0 60px color-mix(in srgb, var(--accent) 60%, transparent); } }
.card-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 6, 5, .55) 0%, rgba(8, 6, 5, .8) 45%, rgba(8, 6, 5, .93) 100%);
}
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.soon-badge {
  padding: 3px 9px; white-space: nowrap; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); background: rgba(0, 0, 0, .6); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
}
.card-head { display: flex; align-items: center; gap: 12px; }
.card-logo { width: 52px; height: 52px; flex: none; border-radius: 12px; object-fit: cover; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 45%, transparent)); }
.card .tag { font-size: 11px; }
.card h3 { margin: 0; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.1; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.card-mid { display: flex; flex-direction: column; gap: 12px; }
.card .frame { cursor: pointer; border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, .6); }
.card .frame .nav { width: 34px; height: 34px; }
.card .frame .nav .ico { width: 20px; height: 20px; }
.card .frame .prev { left: 8px; } .card .frame .next { right: 8px; }
.card .desc {
  margin: 0; font-size: 14.5px; line-height: 1.5; max-width: none;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
/* low windows (1080p at 125%, laptops): smaller text so a shelf still fits one screen */
@media (max-height: 820px) and (min-width: 701px) {
  .card .desc { font-size: 13.5px; line-height: 1.42; -webkit-line-clamp: 5; line-clamp: 5; }
  .card h3 { font-size: clamp(18px, 1.5vw, 22px); }
  .card-logo { width: 44px; height: 44px; }
}
.card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.card .platforms { margin: 0; }
.card .platforms li { padding: 3px 9px; font-size: 12px; }
.card .stores { gap: 6px; }
.card .store { padding: 7px 10px; gap: 6px; font-size: 12px; border-radius: 8px; }
.card .store .ico { width: 15px; height: 15px; }

/* live effect layers on product backgrounds */
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx-rim::before {
  content: ""; position: absolute; inset: 4%; border-radius: 18px; padding: 10px;
  background: conic-gradient(from var(--a, 0deg), #ff3ea5, #7a5cff, #2de2e6, #ffe14d, #ff3ea5);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: blur(6px) drop-shadow(0 0 22px #ff3ea5);
  animation: spin 6s linear infinite, beat .9s ease-in-out infinite;
}
@keyframes beat { 0%, 100% { opacity: .55; } 35% { opacity: 1; } }
.fx-crt {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .38) 0 2px, transparent 2px 4px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .65) 100%);
  animation: flicker 4s steps(2) infinite;
}
.fx-crt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18%;
  background: linear-gradient(180deg, transparent, rgba(125, 255, 176, .07), transparent);
  animation: roll 7s linear infinite;
}
@keyframes flicker { 0%, 93%, 100% { opacity: 1; } 96% { opacity: .8; } }
@keyframes roll { from { top: -20%; } to { top: 110%; } }
.bg-crt .bg-img { filter: saturate(1.2) contrast(1.05); }
.bg-wave { background: radial-gradient(ellipse at 70% 50%, #0d2a33 0%, #05080b 70%); }
.bg-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-wave line { stroke: #ff3b4e; stroke-width: 2; stroke-dasharray: 10 10; opacity: .7; }
.bg-wave path { fill: none; stroke: var(--accent); stroke-width: 4; filter: drop-shadow(0 0 8px var(--accent)); }
.bg-wave .w1 { animation: slide 3s linear infinite; }
.bg-wave .w2 { animation: slide 5s linear infinite reverse; opacity: .35; }
@keyframes slide { to { transform: translateX(-400px); } }

/* ---------- plain sections ---------- */
.plain {
  max-width: 900px; margin: 0 auto; padding: min(40px, 4vh) clamp(18px, 4vw, 40px);
  min-height: var(--view-h); display: flex; flex-direction: column; justify-content: center;
}
.plain h2 { text-align: center; margin-bottom: min(40px, 4vh); }
.about { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; }
.about-logo { position: relative; width: 160px; }
.about-logo .coin { z-index: 1; }
/* drops from the About logo: canvas behind the coin, reaching well below it */
.about-logo .drips { position: absolute; left: -70%; top: -20%; width: 240%; height: 320%; z-index: 0; pointer-events: none; }
.about p { color: var(--bone-dim); margin: 0 0 min(12px, 1.4vh); font-size: clamp(15px, 2.5vh, 18px); }
.about .lead { font: clamp(24px, 4vh, 30px)/1.2 var(--head); letter-spacing: .04em; color: var(--bone); margin-bottom: 14px; }
.about .outro { color: var(--bone); font-style: italic; margin-top: 18px; }
/* text links: bright bold, no underline (Radek 2026-10-25: an underline looks like Chrome's spell-check mark) */
.about a {
  color: var(--gold-bright); font-weight: 700; text-decoration: none;
  transition: color .2s, text-shadow .2s;
}
.about a:hover, .about a:focus-visible { color: #fff2c8; text-shadow: 0 0 12px rgba(255, 150, 40, .75); }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: min(10px, 1.1vh);
  background: rgba(26, 20, 18, .6); transition: border-color .2s;
}
.faq details[open] { border-color: var(--gold-dark); }
/* 8 questions: two columns on wide screens, so the section still fits one low window (1366x680) */
@media (min-width: 901px) {
  .faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; align-items: start; }
}
.faq summary {
  cursor: pointer; list-style: none; padding: min(14px, 1.5vh) 20px; font-weight: 700;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--bone-dim); }
.contact { text-align: center; }
.contact p { color: var(--bone-dim); }
.contact-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 20px 0; }
.contact .store { --accent: var(--gold); }
.todo { font-size: 14px; opacity: .7; }

/* ---------- bottom dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  height: var(--dock-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(14px, 4vw, 48px);
  background: rgba(11, 9, 8, .82); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(58, 42, 36, .7);
}
.socials { display: flex; gap: clamp(6px, 2vw, 18px); }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  color: var(--bone-dim); transition: color .2s, background .2s, transform .2s;
}
.socials a .ico { width: 22px; height: 22px; }
.socials a:hover { color: var(--bone); background: rgba(255, 127, 17, .24); transform: translateY(-3px); }
.dock small { position: absolute; right: clamp(14px, 4vw, 48px); color: var(--bone-dim); opacity: .6; font-size: 12px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(0, 0, 0, .92); cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img, .lightbox video { max-width: 94vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 80px #000; }
.lightbox video { width: min(94vw, 160vh); cursor: auto; }
.lightbox [hidden] { display: none; }
/* "Watch trailer" on a card: opens the trailer big, with sound */
.gallery { position: relative; }
.watch {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 9px; border-radius: 999px; cursor: pointer;
  font: 800 12px var(--body); letter-spacing: .04em; color: #0b0908;
  background: var(--accent); border: 0;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform .2s, filter .2s;
}
.watch .ico { width: 16px; height: 16px; }
.watch:hover { transform: scale(1.06); filter: brightness(1.12); }
.lb-close {
  position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%;
  font-size: 30px; color: var(--bone); background: rgba(255, 255, 255, .1); cursor: pointer;
}

/* ---------- product sheet (modal dialog): page dims, the sheet fades in over half a second ---------- */
html:has(dialog.pm[open]) { overflow: hidden; }
.pm {
  width: min(1180px, 94vw); max-height: 90vh; max-height: 90svh; padding: min(clamp(18px, 2.6vw, 34px), 3.6vh); overflow: auto;
  color: var(--bone); background: linear-gradient(180deg, #1c1411, #110c0a);
  border: 1px solid color-mix(in srgb, var(--accent) 80%, transparent); border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .8), 0 0 0 1px var(--accent), 0 0 40px color-mix(in srgb, var(--accent) 45%, transparent),
              inset 0 0 40px color-mix(in srgb, var(--accent) 12%, transparent);
  scrollbar-color: var(--gold-dark) transparent;
}
.pm[open] { animation: pmIn .5s ease both; }
.pm::backdrop { background: rgba(5, 3, 2, .82); backdrop-filter: blur(4px); }
.pm[open]::backdrop { animation: pmFade .5s ease both; }
.pm.closing { animation: pmOut .25s ease both; }
.pm.closing::backdrop { animation: pmFade .25s ease reverse both; }
@keyframes pmIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pmOut { to { opacity: 0; transform: translateY(10px) scale(.99); } }
@keyframes pmFade { from { opacity: 0; } to { opacity: 1; } }
.pm-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--bone); background: rgba(255, 255, 255, .08);
  transition: background .2s;
}
.pm-close:hover { background: color-mix(in srgb, var(--accent) 55%, #000); }
/* sizes follow the window height, so a sheet never needs a scrollbar (Radek 2026-10-25) */
.pm-head { display: flex; align-items: center; gap: 18px; margin-bottom: min(20px, 2.2vh); padding-right: 52px; }
.pm-logo { width: min(84px, 10vh); height: min(84px, 10vh); flex: none; border-radius: 18px; object-fit: cover;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 55%, transparent)); }
.pm-head h3 { margin: 2px 0 4px; font: clamp(28px, 3vw, 40px)/1.05 var(--body); font-weight: 800; }
.pm-pitch { margin: 0; color: var(--bone-dim); font-style: italic; }
.pm-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.pm-stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.pm-stage img, .pm-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pm-stage [hidden] { display: none; }
.pm-thumbs { display: flex; gap: 8px; margin-top: min(10px, 1.2vh); }
.pm-th {
  position: relative; flex: 0 1 108px; min-width: 0; aspect-ratio: 16 / 9;  /* shrink to fit one row, no scrollbar */ padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: #000; opacity: .6; transition: opacity .2s, border-color .2s;
}
.pm-th img { width: 100%; height: 100%; object-fit: cover; }
.pm-th .ico { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; color: #fff; filter: drop-shadow(0 0 6px #000); }
.pm-th:hover { opacity: 1; }
.pm-th.on { opacity: 1; border-color: var(--accent); }
.pm-text p { margin: 0 0 min(12px, 1.3vh); color: var(--bone); opacity: .9; font-size: clamp(14px, 1.95vh, 17px); line-height: 1.5; }
.pm-feat { margin: 4px 0 min(18px, 2vh); padding-left: 20px; }
.pm-feat li { margin-bottom: min(6px, .6vh); color: var(--bone-dim); font-size: clamp(13.5px, 1.8vh, 16px); line-height: 1.45; }
.pm-feat li::marker { color: var(--accent); }
/* Type + Platforms sit in the header, right side, where there was empty space (Radek 2026-10-25) */
.pm-info { display: grid; grid-template-columns: auto auto; gap: 6px 16px; margin: 0 0 0 auto; padding: 12px 16px; flex: none; max-width: 42%;
  border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.pm-info dt { color: var(--bone-dim); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; align-self: center; }
.pm-info dd { margin: 0; }
.pm .stores { gap: 8px; justify-content: center; }
.pm .store { padding: 10px 14px; font-size: 13.5px; }
@media (max-width: 900px) {
  .pm-head { flex-wrap: wrap; }
  .pm-info { margin: 0; max-width: none; flex: 1 1 100%; }
  .pm-body { grid-template-columns: 1fr; }
  .pm-logo { width: 60px; height: 60px; }
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- small screens ---------- */
@media (max-width: 1099px) {
  .cards { --cols: 2; }
}
@media (max-width: 900px) {
  .hero { height: auto; min-height: calc(100svh - var(--dock-h)); padding-bottom: 80px; }
  .hero-inner { grid-template-columns: 110px minmax(0, 1fr); gap: 18px 20px; }
  .hero-logo { width: 110px; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); }
  .hero .hi { font-size: 17px; }
  .hero .welcome { grid-column: 1 / -1; font-size: 17px; margin: 0; }
  .hero-text { display: contents; }
  .hero-text h1 { grid-column: 2; align-self: end; margin: 0; }
  .hero-text .hi { grid-column: 2; align-self: start; }
  .hero-inner > .hero-logo { grid-row: 1 / span 2; }
  .hicons { grid-column: 1 / -1; gap: 14px 20px; }
  .hicons-group + .hicons-group { padding-left: 0; border-left: 0; }
  .shelf-wrap { padding: 16px 14px; }
  html { scroll-snap-type: y proximity; }
  .hero, .shelf, .plain { scroll-snap-stop: normal; }
  .dock small { display: none; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about-logo { margin: 0 auto; width: 120px; }
  .orn { width: 14vw; }
}
@media (max-width: 700px) {
  /* phones: one column, a compact card is about half a screen, so two fit */
  .cards { --cols: 1; }
  .shelf { scroll-snap-align: none; }
  .card { scroll-snap-align: start; padding: 12px; gap: 10px; }
  .card-logo { width: 40px; height: 40px; }
  .card-mid { flex-direction: row; align-items: flex-start; }
  .card-mid .gallery { flex: 0 0 46%; }
  .card .desc { font-size: 13.5px; line-height: 1.45; }
  .card-foot { gap: 8px; }
  .card .store { padding: 6px 8px; font-size: 11.5px; }
}
@media (max-width: 600px) {
  :root { --bar-h: 56px; }
  .bar { padding: 0 10px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { display: none; }
  .bar nav { gap: 2px; }
  .bar nav a { font-size: 11px; letter-spacing: .03em; padding: 8px 4px; }
  .bar nav a::after { left: 4px; right: 4px; }
  .socials a { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
