/* DEATH FURY website. Colours, fonts and components follow docs/design/12-vizualny-styl.md (Wasteland, R148). */

@font-face {
  font-family: "Big Shoulders Stencil";
  src: url("/fonts/big-shoulders-stencil-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("/fonts/permanent-marker-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --kost: #f1e6cf;
  --dim: #c9b597;
  --olej: #17110c;
  --olej-deep: #0e0a07;
  --hrdza: #7a3417;
  --okr: #b86b2a;
  --piesok: #d39a58;
  --tyrkys: #3f8d88;
  --vystraha: #c8261a;
  --note-ink: #8f1a10;
  --line: rgba(241, 230, 207, 0.16);

  --f-display: "Big Shoulders Stencil", Impact, "Arial Narrow", sans-serif;
  --f-ui: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-note: "Permanent Marker", "Barlow Condensed", cursive;

  --gutter: 16px;
  --section: clamp(64px, 9vw, 120px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--olej);
  color: var(--kost);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--kost); text-underline-offset: 0.18em; }
a:hover { color: var(--piesok); }
:focus-visible { outline: 3px solid var(--kost); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1212px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--kost);
  color: var(--olej);
  font-weight: 700;
}
.skip:focus { top: 16px; }

/* ---------- Shared components ---------- */

/* Section heading: stencil type on a black brush stroke with a red stroke under it, like the logo. */
.heading {
  position: relative;
  display: inline-block;
  margin: 0 0 clamp(28px, 4vw, 44px) -0.35em;
  padding: 0.2em 0.6em 0.16em;
  background: url("/img/brush-black.webp") center / 100% 100% no-repeat;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.heading::after {
  content: "";
  position: absolute;
  left: 0.5em;
  right: 0.3em;
  bottom: -0.2em;
  height: 0.24em;
  background: url("/img/brush-red-thin.webp") center / 100% 100% no-repeat;
}

/* Small tin plate label. */
.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0.75em 0.25em;
  background: linear-gradient(rgba(14, 10, 7, 0.35), rgba(14, 10, 7, 0.55)), url("/img/plate.webp") center / 400px auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 -2px 0 rgba(0, 0, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.45);
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kost);
}
.dot {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--vystraha);
  box-shadow: 0 0 0 2px rgba(200, 38, 26, 0.25);
}
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: blink 1.6s steps(1, end) infinite; }
}
@keyframes blink { 50% { opacity: 0.25; } }

/* Rusty tin plate with rivets and a bevelled bottom edge (doc 12, secondary panel). */
.card-wrap { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55)); }
.plate {
  position: relative;
  background: linear-gradient(rgba(23, 17, 12, 0.42), rgba(23, 17, 12, 0.62)), url("/img/plate.webp") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 -3px 0 rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
}
.plate::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.55) 0 1.6px, rgba(0, 0, 0, 0.7) 2.6px, transparent 3.8px) left top / 10px 10px no-repeat,
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.55) 0 1.6px, rgba(0, 0, 0, 0.7) 2.6px, transparent 3.8px) right top / 10px 10px no-repeat,
    radial-gradient(circle at 0 100%, rgba(255, 255, 255, 0.55) 0 1.6px, rgba(0, 0, 0, 0.7) 2.6px, transparent 3.8px) left bottom / 10px 10px no-repeat,
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.55) 0 1.6px, rgba(0, 0, 0, 0.7) 2.6px, transparent 3.8px) right bottom / 10px 10px no-repeat;
}

.icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--kost);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* The host's note: a scrap of paper with tape, marker in dark red (doc 12, component 10). */
.note {
  position: relative;
  display: inline-block;
  padding: 0.35em 0.9em 0.25em;
  background: linear-gradient(180deg, #efe3c8, #e3d3b1);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.5);
  color: var(--note-ink);
  font-family: var(--f-note);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  white-space: nowrap;
  transform: rotate(-4deg);
}
.note::before {
  content: "";
  position: absolute;
  left: 18%;
  top: -0.45em;
  width: 3.2em;
  height: 0.8em;
  background: rgba(214, 200, 160, 0.78);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transform: rotate(3deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(640px, min(100svh, 58vw));
  padding-block: 40px 56px;
  overflow: hidden;
}
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 50%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 10, 7, 0.5) 0, rgba(14, 10, 7, 0) 25%),
    linear-gradient(0deg, var(--olej) 0, rgba(23, 17, 12, 0) 18%),
    linear-gradient(90deg, rgba(14, 10, 7, 0.9) 0, rgba(14, 10, 7, 0.7) 30%, rgba(14, 10, 7, 0.18) 52%, rgba(14, 10, 7, 0) 64%);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero__logo { margin: 4px 0 0 -12px; }
.hero__logo img { width: min(400px, 66vw); }
.hero__kicker {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__kicker span { display: block; }
/* Platform names keep their own spelling in the all-caps labels. */
.tag.tag--ios,
.platform__name.platform__name--ios { text-transform: none; }
.hero__lead {
  max-width: 34ch;
  font-size: 1.375rem;
  color: var(--kost);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 6px;
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }

/* Red brush stroke with stencil type: the page's single main accent. */
.stamp {
  padding: 0.4em 1.1em 0.32em;
  background: url("/img/brush-red.webp") center / 100% 100% no-repeat;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(60, 8, 4, 0.55);
}

.note--hero {
  position: absolute;
  right: 6%;
  bottom: 9%;
}

/* ---------- The show ---------- */

.show {
  position: relative;
  isolation: isolate;
  padding-block: var(--section);
  background-position: 70% 50%;
  background-size: cover;
  background-image:
    linear-gradient(90deg, rgba(14, 10, 7, 0.95) 0, rgba(14, 10, 7, 0.9) 48%, rgba(14, 10, 7, 0.6) 78%, rgba(14, 10, 7, 0.45) 100%),
    url("/img/grid-2000.webp");
}
.show__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 48px;
  align-items: start;
}
.show__inner .heading { justify-self: start; }
.show__text { display: grid; gap: 1em; max-width: 60ch; }
.show__text .big {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.show__text strong { font-weight: 700; letter-spacing: 0.04em; }
.fact {
  margin-top: 40px;
  padding: 26px 30px 30px;
  max-width: 420px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
}
.fact__label {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}
.fact__text {
  margin-top: 6px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.1;
}

/* ---------- Features ---------- */

.features { padding-block: var(--section); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}
.card {
  height: 100%;
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.card p { font-size: 1.15rem; line-height: 1.45; }

/* ---------- Weather ---------- */

.weather {
  position: relative;
  padding-block: var(--section);
  background: linear-gradient(180deg, var(--olej) 0, var(--olej-deep) 50%, var(--olej) 100%);
}
.split { margin: 0; }
.split__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(0, 0, 0, 0.55);
}
.split__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.split__img--storm { clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); }
/* The seam between the two weathers. */
.split__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--kost);
  clip-path: polygon(57.7% 0, 58.3% 0, 42.3% 100%, 41.7% 100%);
}
.split__label { position: absolute; top: 16px; z-index: 1; }
.split__label--sun { left: 16px; }
.split__label--storm { right: 16px; }
.split figcaption {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--dim);
  font-size: 1.15rem;
}
.note--weather {
  display: block;
  width: max-content;
  margin: 28px 0 0 auto;
  transform: rotate(3deg);
}

/* ---------- Screens ---------- */

.screens { padding-block: var(--section); }
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 28px 24px;
}
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  aspect-ratio: 1163 / 538;
  object-fit: cover;
  background: var(--olej-deep);
  box-shadow: 0 0 0 1px var(--line), 0 16px 36px rgba(0, 0, 0, 0.5);
}
.shots figcaption {
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.disclaimer {
  margin-top: 32px;
  color: var(--dim);
  font-size: 1.05rem;
}

/* ---------- Coming to ---------- */

.coming {
  padding-block: var(--section);
  background:
    linear-gradient(180deg, var(--olej) 0, rgba(23, 17, 12, 0.72) 30%, rgba(23, 17, 12, 0.72) 70%, var(--olej) 100%),
    url("/img/keyart-storm-1400.webp") 50% 40% / cover;
}
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
}
.platform {
  height: 100%;
  padding: 26px 24px 30px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}
.platform__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.platform__sub {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.coming__text {
  margin-top: 34px;
  font-size: 1.375rem;
  max-width: 48ch;
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 40px calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--olej-deep);
  font-size: 1.05rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer__emblem { width: 64px; height: 64px; flex: none; }
.footer__small { margin-top: 4px; color: var(--dim); font-size: 0.95rem; }

/* ---------- 404 ---------- */

.lost {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}
.lost .heading { margin: 12px 0 8px -0.35em; }

/* ---------- Wider screens ---------- */

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .hero__logo img { width: 400px; }
  .show__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .show__inner .heading { grid-column: 1 / -1; }
  .fact { margin-top: 8px; }
  .split__frame { aspect-ratio: 2400 / 1108; }
}

/* ---------- Narrow screens ---------- */

@media (max-width: 899px) {
  .hero {
    justify-content: flex-end;
    min-height: 100svh;
    padding-block: 28px 40px;
  }
  .hero__art { object-position: 60% 50%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(14, 10, 7, 0.55) 0, rgba(14, 10, 7, 0.25) 30%, rgba(14, 10, 7, 0.82) 62%, var(--olej) 100%);
  }
  .hero__content { gap: 14px; }
  .hero__lead { font-size: 1.25rem; }
  .note--hero { right: 16px; top: 18%; bottom: auto; }
  .show {
    background-image:
      linear-gradient(rgba(14, 10, 7, 0.9), rgba(14, 10, 7, 0.9)),
      url("/img/grid-1000.webp");
  }
  .note--weather { margin-right: 4px; }
}

@media (max-width: 420px) {
  .hero__kicker { font-size: 1rem; letter-spacing: 0.14em; }
  .chip, .tag { font-size: 0.9375rem; letter-spacing: 0.16em; }
  .stamp { font-size: 1.3rem; }
}
