@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url(assets/fonts/inter-400-750-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url(assets/fonts/inter-400-750-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url(assets/fonts/inter-400-750-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url(assets/fonts/inter-400-750-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/spectral-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/spectral-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/spectral-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/spectral-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/spectral-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/spectral-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/spectral-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/spectral-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/spectral-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/spectral-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/spectral-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/spectral-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  color-scheme: light dark;
  --paper: #f5eee4;
  --surface: #fffaf2;
  --ink: #2b211d;
  --muted: #5c4d43;
  --line: #dac9b8;
  --accent: #913a25;
  --control-line: #a79480;
  --tag-paper: #eee5d8;
  --tag-ink: #54483c;
  --copper: #ffae7f;
  --copper-light: #ffc19c;
  --stage: #211512;
  --stage-ink: #fff4e7;
  --stage-muted: #ecd3c3;
  --stage-line: #775043;
  --frame-radius: 9px;
  --display: Spectral, Georgia, serif;
  --header: 70px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: calc(var(--header) + 12px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171211;
    --surface: #221a17;
    --ink: #f8ecdf;
    --muted: #d5bfb0;
    --line: #594035;
    --accent: #ffb28b;
    --control-line: #9a7767;
    --tag-paper: #372923;
    --tag-ink: #f0d8c8;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:where(main, section, article, footer, .story)[tabindex="-1"]:focus { outline: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 4.9vw, 4.85rem); line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.55rem); line-height: 1.05; }
h3 { line-height: 1.15; }
p { line-height: 1.6; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.fallback { padding-block: 36px; }
.visually-hidden, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 8; top: 8px; left: 8px; width: auto; height: auto; clip-path: none; background: white; padding: 10px; }

.site-header { position: sticky; top: 0; z-index: 4; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { min-height: var(--header); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 1.37rem; line-height: 1; white-space: nowrap; }
.brand-mark { width: 39px; height: 39px; object-fit: contain; flex: none; }
.bar nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--accent); }
.masthead :focus-visible, .site-footer :focus-visible { outline-color: var(--copper-light); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.15rem); max-width: 55ch; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 5px; font: 600 .87rem/1.3 Inter, system-ui, sans-serif; cursor: pointer; }
.primary { color: #fffaf3; background: #8b301e; border-color: #8b301e; }
.primary:hover { background: #6e2719; border-color: #6e2719; }
.secondary { color: var(--ink); background: transparent; }
.secondary:hover { background: var(--tag-paper); border-color: var(--control-line); }
.text-link, .card-link { color: var(--accent); font-size: .86rem; font-weight: 650; }
.text-link:hover, .card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header { color: #fff1e5; background: #190e0d; border: 0; }
.site-header .bar nav a:hover, .site-header .bar nav a[aria-current] { color: var(--copper-light); }
.site-header :focus-visible { outline-color: var(--copper-light); }
.masthead {
  position: relative;
  overflow: clip;
  color: var(--stage-ink);
  background: #191311;
}
.showcase-controls, .showcase-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.showcase-controls { padding-top: clamp(12px, 2vw, 28px); }
.showcase-nav { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 3vw, 46px); }
.showcase-link, .showcase-end a, .showcase-arrows button {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #dbc8bd;
  font-size: .88rem;
  font-weight: 650;
}
.showcase-link[aria-selected="true"], .showcase-link:hover, .showcase-end a:hover { color: #fff7ed; }
.showcase-link[aria-selected="true"]::after {
  content: '';
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  background: var(--copper);
}
.showcase-stage { position: relative; }
.showcase-slides { position: relative; overflow: clip; touch-action: pan-y pinch-zoom; }
.showcase-slides[data-dragging] { user-select: none; }
.showcase-slides[data-dragging] .story { will-change: translate; }
.story[data-preview] { position: absolute; z-index: 1; inset: 0 0 auto; margin: 0; pointer-events: none; }
.showcase-count {
  position: absolute;
  inset: -44px max(24px, calc((100% - 1200px) / 2)) auto auto;
  display: grid;
  align-items: center;
  height: 44px;
  color: #dbc8bd;
  font: 650 .8rem/1 Inter, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.showcase-arrows { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.showcase-arrows button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  justify-content: center;
  width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid #fff0e43d;
  border-radius: 50%;
  background: #201514e8;
  color: #fff5ed;
  box-shadow: 0 4px 16px #11090750;
  font: 1.3rem Inter, system-ui, sans-serif;
  cursor: pointer;
  pointer-events: auto;
}
.showcase-arrows [data-slide-step="-1"] { left: max(8px, calc((100% - 1356px) / 2)); }
.showcase-arrows [data-slide-step="1"] { right: max(8px, calc((100% - 1356px) / 2)); }
.showcase-arrows button:hover { background: #513328; border-color: var(--copper-light); }
.showcase-slides:has(.story[role='tabpanel']) .story-layout {
  width: min(1200px, calc(100% - 124px));
  cursor: grab;
}
.showcase-slides[data-dragging] .story-layout { cursor: grabbing; }
.story-scene img { -webkit-user-drag: none; }
.showcase-end { justify-content: flex-start; padding-bottom: clamp(12px, 2vw, 28px); }
.showcase-end a:hover { text-decoration: underline; text-underline-offset: 4px; }
.film-play-icon {
  border-block: 5px solid transparent;
  border-left: 8px solid var(--copper-light);
}
.story {
  --story-accent: #ffc6e5;
  scroll-margin-top: 74px;
  --story-glow: #68345769;
  background: radial-gradient(ellipse at 75% 55%, var(--story-glow), transparent 60%);
}
.story-arbihunter { --story-accent: #d0e596; --story-glow: #4865296b; }
.story-neantik { --story-accent: #c7c4ff; --story-glow: #332e6d99; }
.story-vision { --story-accent: #e7b9ff; --story-glow: #69498885; }
.story-affiliate-awards { --story-accent: #ffd489; --story-glow: #79393994; }
.story-affiliate-awards h2 { max-width: 9ch; font-size: clamp(3.2rem, 6vw, 6rem); }
.story + .story { margin-top: 18px; }
.story[role="tabpanel"] { margin-top: 0; }
.story-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(20px, 4vw, 65px);
  min-height: clamp(415px, 40vw, 590px);
  padding-block: clamp(18px, 3vw, 44px);
}
.story-role { color: var(--story-accent); font-size: .75rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.story h2 { font-size: clamp(3rem, 7vw, 7.5rem); line-height: .95; margin-block: 10px 14px; }
.story-arbihunter h2 { font-size: clamp(2.7rem, 5.7vw, 6.35rem); }
.story-vision h2 { font-size: clamp(2.7rem, 6vw, 6.5rem); }
.verse { white-space: pre-line; }
.story-verse { margin-top: 12px; color: var(--stage-muted); font-size: clamp(.91rem, 1.45vw, 1.12rem); font-weight: 550; line-height: 1.55; }
.story .actions { gap: 4px 16px; }
.story .primary { border: 0; color: #221714; background: var(--story-accent); }
.story .primary:hover { background: #fff6ef; }
.story .secondary { border: 0; padding-inline: 0; color: var(--story-accent); }
.story .secondary:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.story a:focus-visible, .story summary:focus-visible { outline-color: var(--story-accent); }
.story-note, .story-app { color: var(--stage-muted); max-width: 44ch; font-size: .85rem; margin-top: 8px; }
.story-app summary { color: var(--story-accent); font-weight: 650; cursor: pointer; min-height: 44px; padding-block: 11px; }
.story-note .text-link, .story-app .text-link { color: var(--story-accent); }
.story-app .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.story-scene {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: clamp(270px, 31vw, 470px);
  touch-action: pan-y pinch-zoom;
}
.story-backdrop { width: 100%; height: 100%; object-fit: cover; }
.story-neantik .story-backdrop { object-position: center; }
.story-art, .story-inset {
  position: absolute;
  z-index: 1;
  width: auto;
  height: 89%;
  max-width: 50%;
  top: 50%;
  left: 59%;
  translate: -50% -50%;
  rotate: -7deg;
  border-radius: 7% / 3.3%;
  box-shadow: 0 16px 36px #1105158c;
}
.story-inset { z-index: 0; height: 62%; left: 77%; top: 53%; rotate: 11deg; }
.story-arbihunter .story-art { left: 62%; rotate: 8deg; height: 90%; }
.story-vision .story-scene { background: radial-gradient(ellipse at center, #ae80d369, transparent 68%); }
.story-vision .story-art { left: 50%; height: 94%; rotate: -9deg; }
.story-affiliate-awards .story-backdrop { object-position: 46% 58%; }
.story-affiliate-awards .story-art { left: 26%; height: 87%; rotate: -7deg; }
.story-kabanchik {
  --story-accent: #ffba90;
  background:
    radial-gradient(ellipse at 73% 48%, #53281fcc, transparent 47%),
    radial-gradient(ellipse at 64% 73%, #2f201a, transparent 70%),
    #191311;
}
.story-kabanchik .story-scene { display: grid; place-items: center; }
.boar-media {
  position: relative;
  width: min(100%, calc(clamp(270px, 31vw, 470px) * 4 / 3));
  aspect-ratio: 4 / 3;
  mask-image: radial-gradient(ellipse 50% 52% at 50% 50%, #000 62%, #000e 73%, transparent 100%);
  pointer-events: none;
}
.boar-media .story-backdrop, .boar-gesture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.boar-gesture { opacity: 0; }
.boar-gesture.is-playing { opacity: 1; }
.boar-replay {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff0e43d;
  border-radius: 50%;
  color: #ffe5d1;
  background: #201514e8;
  font-size: 1.3rem;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .boar-replay { display: none; } }

.editorial-body { padding-top: clamp(52px, 7vw, 104px); }
.section { margin-top: clamp(80px, 9vw, 145px); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 9px 18px; margin-bottom: 17px; }
.catalog-head .section-title { margin-bottom: 0; }
.catalog-section-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.catalog-controls { display: grid; gap: 10px; margin-top: 18px; padding-bottom: 14px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.pill { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: .88rem; font-weight: 650; }
.pill:is(:hover, .active) { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.search-row { position: relative; width: min(100%, 480px); }
.search-row span {
  position: absolute;
  top: 15px;
  left: 4px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  pointer-events: none;
}
.search-row span::after { content: ''; position: absolute; width: 7px; height: 2px; background: var(--muted); top: 11px; left: 10px; rotate: 45deg; }
.search-row input { width: 100%; min-width: 0; min-height: 46px; border: 0; border-bottom: 1px solid var(--control-line); border-radius: 0; background: transparent; color: var(--ink); font: inherit; padding: 9px 8px 9px 33px; }
.search-row input::placeholder { color: var(--muted); }
.mobile-filters { display: none; }
.catalog-status { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.catalog-status button { padding: 0 4px; min-height: 44px; margin-block: -10px; border: 0; background: none; cursor: pointer; }
#result-count { color: var(--muted); font-size: .81rem; white-space: nowrap; }
.catalog-more { display: flex; margin: 16px 0 0; padding-inline: 0; border: 0; color: var(--accent); }
.catalog-more:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.related-results { margin-top: 12px; padding-block: 12px; }
.related-results p { font-weight: 650; }
.related-results ul { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; margin: 2px 0 0; list-style: none; }
.related-results a { display: inline-flex; align-items: center; min-height: 44px; }
.empty { padding: 18px 0 0; color: var(--muted); }
.empty p { margin-bottom: 8px; }

.grid { border-bottom: 1px solid var(--line); }
.card {
  display: grid;
  grid-template-columns: minmax(190px, 1.15fr) minmax(0, 1.55fr) minmax(144px, .65fr);
  align-items: center;
  gap: 16px 26px;
  padding-block: 19px;
  border-top: 1px solid var(--line);
}
.card-top { display: flex; align-items: center; min-width: 0; gap: 13px; }
.card-category { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 4px; }
.project-icon, .monogram { width: 46px; height: 46px; object-fit: contain; border-radius: 9px; flex: none; }
.project-icon[src$="catalog-cpa-tg.png"] { background: #f0e6db; padding: 5px; }
.monogram { display: grid; place-items: center; background: var(--tag-paper); color: var(--accent); font-weight: 700; }
.card h3 { font-size: clamp(1.04rem, 1.75vw, 1.28rem); overflow-wrap: anywhere; }
.card p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.card-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.tags { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.tag { color: var(--muted); font-size: .76rem; }
.project-status { font-weight: 650; color: var(--accent); }
.card-actions { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.card-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .85rem; }
.publisher-intro { max-width: 690px; margin-bottom: 19px; }
.publisher-intro .lead { margin-top: 10px; }
.archive-note { margin-bottom: 17px; }

.site-footer {
  --footer-ink: #fff1e5;
  --footer-muted: #d4bfb2;
  --footer-accent: #ffb58f;
  margin-top: clamp(72px, 7vw, 110px);
  color: var(--footer-ink);
  background: #201311;
}
.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr) minmax(0, .8fr);
  align-items: start;
  gap: 18px clamp(18px, 4vw, 58px);
  padding-block: clamp(30px, 4vw, 52px) 20px;
}
.footer-signoff h2 { font-size: clamp(1.6rem, 3vw, 2.9rem); }
.footer-signoff p { margin-top: 8px; color: var(--footer-muted); font-size: .87rem; }
.duty-scene {
  position: relative;
  isolation: isolate;
  width: min(100%, 216px);
  aspect-ratio: 3 / 2;
  margin-bottom: 12px;
}
.duty-scene img { width: 100%; height: 100%; object-fit: cover; }
.duty-stamp {
  position: absolute;
  inset: 0;
  clip-path: polygon(78.2% 65.1%, 79.1% 63.7%, 82.2% 63.4%, 84.1% 65.2%, 84.8% 67.8%, 84.1% 69.4%, 83.1% 69.2%, 82.7% 73.2%, 83.4% 73.7%, 87.3% 74.6%, 87.3% 80.3%, 86.4% 81.3%, 84.4% 81.8%, 75.7% 80.4%, 75.7% 74.4%, 79.8% 72.7%, 79.8% 70.6%, 78.4% 69.2%, 78% 67.2%);
}
.duty-ink {
  position: absolute;
  left: 57%;
  top: 76%;
  padding: 1px 2px;
  border: 1px solid currentColor;
  color: #832a1b;
  font: 750 .39rem/1.1 Inter, system-ui, sans-serif;
  text-transform: uppercase;
  transform: rotate(5deg) skewX(-12deg);
}
#duty-pick { color: var(--footer-accent); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.footer-layout h3 { font-size: .93rem; margin-bottom: 7px; }
.footer-layout :is(a, button) {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  color: var(--footer-muted);
  font: 550 .87rem/1.4 Inter, system-ui, sans-serif;
  text-align: start;
  cursor: pointer;
}
.footer-layout :is(a, button):hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-pick p { color: var(--footer-muted); font-size: .87rem; }
.footer-pick a, .footer-layout .footer-top { color: var(--footer-accent); font-weight: 650; }
.footer-top { grid-column: 1 / -1; justify-self: end; }
.pass-dialog { box-sizing: border-box; width: min(100% - 24px, 620px); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: clamp(12px, 3vw, 23px); border: 1px solid #a56c55; border-radius: 15px; color: #fff4e7; background: #251512; }
.pass-dialog::backdrop { background: #100907cb; }
body:has(.pass-dialog[open], .film-dialog[open]) { overflow: hidden; }
.film-dialog { width: min(calc(100% - 20px), 1040px); max-width: none; max-height: calc(100dvh - 14px); margin: auto; padding: clamp(9px, 2vw, 18px); border: 1px solid #825443; border-radius: 16px; background: #211412; color: #fff4e7; }
.film-dialog::backdrop { background: #100907df; }
.film-dialog :focus-visible { outline-color: #ffbd91; }
.film-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.film-head h2 { font-size: clamp(1.3rem, 5vw, 2.25rem); }
.film-head form { flex: none; }
.film-dialog video { display: block; width: 100%; height: auto; max-height: calc(100dvh - 148px); aspect-ratio: 16 / 9; object-fit: contain; border-radius: 8px; background: #08070a; }
.film-error { margin-top: 8px; }
.film-error a { text-decoration: underline; }
.film-description summary { display: flex; align-items: center; min-height: 44px; color: #ffd0ae; cursor: pointer; }
.film-description summary::before { content: '+'; margin-right: 8px; }
.film-description[open] summary::before { content: '−'; }
.film-description p { max-width: 72ch; font-size: .91rem; }
.pass-dialog :focus-visible { outline-color: #ffbd91; }
.pass-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pass-head h2 { font-size: clamp(1.55rem, 4vw, 2.4rem); }
.pass-close { width: 44px; height: 44px; border: 1px solid #9a6552; border-radius: 50%; background: transparent; color: #fff4e7; font-size: 1.5rem; cursor: pointer; }
.pass-ticket { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(200px, 48vw, 300px); padding: clamp(15px, 3vw, 28px); border: 1px solid #c0795a; border-radius: 8px; background: radial-gradient(ellipse at 78% 55%, #743224, #291614 72%); }
.pass-copy { position: relative; z-index: 1; width: 55%; }
.pass-brand { color: #ffccad; font-size: clamp(.63rem, 1.7vw, .84rem); font-weight: 650; line-height: 1.3; }
.pass-verdict { margin-top: 16px; font: 600 clamp(1.35rem, 4vw, 2.35rem)/1.03 var(--display); }
.pass-boar { position: absolute; width: 65%; height: 91%; right: -8%; bottom: 5%; object-fit: contain; filter: drop-shadow(0 10px 13px #140b09a8); }
.pass-seal { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 4px 9px; border: 1px solid #ef9266; transform: rotate(-8deg); color: #ffe1ca; background: #57271fea; text-transform: uppercase; font: 700 .69rem/1.3 Inter, sans-serif; }
.pass-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.pass-actions .secondary { color: #ffe0cc; border-color: #9a6552; }
.pass-actions .secondary:hover, .pass-close:hover { background: #563124; }
.pass-actions [aria-disabled="true"] { opacity: .55; cursor: wait; }
.pass-feedback { min-height: 1.4em; margin-top: 8px; color: #ffccad; font-size: .83rem; }
@media (orientation: landscape) and (max-height: 480px) {
  .pass-dialog { width: min(100% - 16px, 570px); max-height: calc(100dvh - 12px); padding: 8px 12px; }
  .pass-head { margin-bottom: 4px; }
  .pass-head h2 { font-size: 1.45rem; }
  .pass-ticket { min-height: 112px; padding: 8px 13px; }
  .pass-verdict { margin-top: 7px; font-size: 1.35rem; }
  .pass-boar { right: -2%; }
  .pass-actions { margin-top: 6px; }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .card { gap: 13px 18px; }
}
@media (max-width: 700px) {
  :root { --header: 57px; }
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 1.05rem; gap: 5px; white-space: normal; }
  .brand span { max-width: 17ch; text-wrap: balance; }
  .bar nav { flex: none; gap: 10px; }
  .brand-mark { width: 29px; height: 29px; }
  .bar { gap: 8px; }
  .bar nav a { font-size: .76rem; }
  .bar .featured-nav { display: none; }
  .showcase-controls { padding-top: 6px; gap: 2px 8px; }
  .showcase-nav { gap: 0 clamp(7px, 2vw, 16px); }
  .showcase-link { font-size: .78rem; }
  .showcase-slides:has(.story[role='tabpanel']) .story-layout { width: calc(100% - 32px); }
  .showcase-arrows {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    justify-items: center;
    margin-inline: 16px;
    pointer-events: auto;
  }
  .showcase-arrows button { position: static; transform: none; }
  .showcase-count { position: static; font-size: .72rem; }
  .story-kabanchik {
    background:
      radial-gradient(ellipse at 50% 74%, #53281fcc, transparent 62%),
      #191311;
  }
  .boar-media { width: min(100%, calc(clamp(158px, 27svh, 245px) * 4 / 3)); }
  .boar-replay { right: 2px; bottom: 0; }
  .showcase-end { justify-content: space-between; gap: 8px; padding-bottom: 9px; }
  .showcase-end a { font-size: .81rem; }
  .story[role="tabpanel"] { scroll-margin-top: 144px; }
  .story-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 14px; padding-block: 17px 5px; }
  .story h2 { font-size: clamp(2.9rem, 12vw, 4.7rem); margin-block: 8px 11px; }
  .story-arbihunter h2 { font-size: clamp(2.6rem, 10.5vw, 4.7rem); }
  .story-vision h2 { font-size: clamp(2.25rem, 9vw, 4.7rem); }
  .story-affiliate-awards h2 { max-width: none; font-size: clamp(2.15rem, 8.6vw, 4.7rem); }
  .story .actions { margin-top: 10px; }
  .story-scene { height: clamp(158px, 27svh, 245px); }
  .story-inset { left: 74%; }
  .editorial-body { padding-top: 52px; }
  .catalog-section-links .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .catalog-controls { margin-top: 2px; }
  .catalog-controls .filter-row { display: none; }
  .mobile-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mobile-filters label { display: grid; min-width: 0; gap: 2px; color: var(--muted); font-size: .78rem; font-weight: 650; }
  .mobile-filters select { width: 100%; min-width: 0; min-height: 44px; border: 0; border-bottom: 1px solid var(--control-line); border-radius: 0; background: transparent; color: var(--ink); font: 400 1rem Inter, system-ui, sans-serif; }
  .card { grid-template-columns: 1fr; gap: 8px; padding-block: 15px; }
  .card-bottom { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0 15px; }
  .card-link { margin-block: -4px; }
  .footer-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'signoff signoff' 'links links' 'pick top';
    gap: 18px 10px;
  }
  .footer-layout :is(a, button) { min-height: 44px; }
  .footer-signoff { grid-area: signoff; }
  .duty-scene { width: min(100%, 175px); }
  .footer-links { grid-area: links; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .footer-links > div:first-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links h3 { grid-column: 1 / -1; margin-bottom: 1px; }
  .footer-pick { grid-area: pick; }
  .footer-top { grid-area: top; align-self: end; white-space: nowrap; }
}
@media (max-width: 470px) {
  .showcase-nav { display: grid; grid-template-columns: repeat(3, max-content); column-gap: clamp(10px, 5vw, 26px); }
  .showcase-link { justify-self: start; }
}
@media (max-width: 350px) {
  .bar { width: calc(100% - 24px); gap: 6px; }
  .bar nav { gap: 7px; }
  .bar nav a { font-size: .72rem; }
  .showcase-controls { width: calc(100% - 20px); gap: 0 4px; }
  .showcase-nav { flex: 1; gap: 0 6px; }
  .showcase-link { font-size: .72rem; }
  .story[role="tabpanel"] { scroll-margin-top: 144px; }
}
@media (orientation: landscape) and (max-height: 480px) {
  .story-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; }
  .story-scene { height: clamp(165px, 56svh, 250px); }
  .boar-media { width: min(100%, calc(clamp(165px, 56svh, 250px) * 4 / 3)); }
  .story h2 { font-size: clamp(2.6rem, 7vw, 4rem); }
  .story-arbihunter h2 { font-size: clamp(2.35rem, 6vw, 3.5rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .showcase-slides:not([data-dragging], [data-skip-enter]) .story[role='tabpanel']:not([hidden]) .story-scene { animation: story-enter 260ms ease-out; }
  .card-link span { transition: transform 160ms ease; }
  .card-link:is(:hover, :focus-visible) span { transform: translate(2px, -2px); }
}
@keyframes story-enter {
  from { opacity: .72; transform: translateX(8px); }
}
