/* ==========================================================================
   FRAMEBASE — curated moving images
   A responsive, card-based video library.
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-soft: #111113;
  --bg-raised: #171719;
  --paper: #f2eee4;
  --paper-soft: #d6d1c6;
  --muted: #8e8b84;
  --muted-dark: #79766f;
  --line: rgba(242, 238, 228, 0.13);
  --line-strong: rgba(242, 238, 228, 0.28);
  --acid: #d8ff3f;
  --ink: #0b0b0c;
  --header-h: 78px;
  --shell: min(1440px, calc(100vw - 80px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --font-sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", "Liberation Mono", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 60% 42% at 84% 2%, rgba(216, 255, 63, 0.055), transparent 72%),
    var(--bg);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

main {
  display: block;
}

img,
video,
svg {
  display: block;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* --------------------------------------------------------------------------
   Shared type, buttons, icons
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--acid);
  flex: 0 0 auto;
}

.eyebrow--dark {
  color: rgba(11, 11, 12, 0.55);
}

.eyebrow--dark .eyebrow__line {
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 48px;
  padding: 0 21px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  border-color: var(--paper);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.btn--primary:hover {
  border-color: var(--paper);
  background: var(--paper);
}

.btn--primary:hover svg {
  transform: translateY(2px);
}

.btn--outline {
  border-color: var(--line-strong);
}

.btn--outline:hover {
  background: rgba(242, 238, 228, 0.06);
  border-color: var(--paper);
}

.btn--header {
  height: 38px;
  padding: 0 15px;
  font-size: 11px;
}

.btn--header:hover svg {
  transform: translate(2px, -2px);
}

.btn--text {
  gap: 12px;
  padding: 0 4px;
  border-color: transparent;
  color: var(--paper-soft);
  font-weight: 500;
}

.btn--text:hover {
  border-color: transparent;
  color: var(--paper);
}

.btn--text small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.round-play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.round-play svg {
  width: 12px;
  height: 12px;
  margin-left: 1px;
  fill: currentColor;
  stroke: none;
}

.btn--text:hover .round-play {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--paper-soft);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.icon-button:hover {
  border-color: var(--line);
  background: rgba(242, 238, 228, 0.04);
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.86);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  width: max-content;
}

.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--paper);
  transition: transform 0.55s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(90deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__text strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.1;
}

.brand__text strong span {
  color: var(--acid);
}

.brand__text small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 31px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.25s ease;
}

.main-nav a sup {
  margin-left: 3px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 7px;
  vertical-align: super;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--paper);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 23px;
}

.menu-toggle.is-open span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  z-index: 55;
  padding: 8px 20px 30px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.4s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mobile-nav > a span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.mobile-nav__foot {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.82fr);
  align-items: end;
  gap: clamp(44px, 6.2vw, 100px);
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(68px, 7.4vw, 104px);
}

.hero__copy {
  min-width: 0;
  padding-bottom: 8px;
  animation: hero-in 1s var(--ease) both;
}

.hero h1 {
  margin: 25px 0 27px;
  color: var(--paper);
  font-size: clamp(52px, 7.1vw, 108px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero h1 span {
  position: relative;
  color: var(--acid);
  white-space: nowrap;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  top: 0.05em;
  right: -0.38em;
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  background: var(--acid);
}

.hero__lead {
  max-width: 432px;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 36px;
}

.hero__stats {
  display: flex;
  max-width: 565px;
  margin-top: clamp(45px, 6vw, 68px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero__stats > div {
  min-width: 118px;
  margin-right: 34px;
  padding-right: 34px;
  border-right: 1px solid var(--line);
}

.hero__stats > div:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.hero__stats dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.hero__stats dd {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.hero__stats dd sup {
  margin-left: 2px;
  color: var(--acid);
  font-size: 12px;
  vertical-align: super;
}

.hero__stats .stat-text {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.hero__feature {
  position: relative;
  min-width: 0;
  animation: hero-in 1s 0.15s var(--ease) both;
}

.hero__feature::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(216, 255, 63, 0.27);
  pointer-events: none;
}

.feature-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
}

.feature-card__link {
  display: block;
}

.feature-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #101012;
}

.feature-card__media img,
.feature-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__media img {
  z-index: 1;
  transition: transform 1.2s var(--ease);
}

.feature-card__video {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.feature-card.is-playing .feature-card__video {
  opacity: 1;
}

.feature-card__link:hover .feature-card__media img {
  transform: scale(1.035);
}

.feature-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(4, 4, 5, 0.42) 0%, transparent 27%, transparent 46%, rgba(4, 4, 5, 0.9) 100%),
    linear-gradient(90deg, rgba(4, 4, 5, 0.12), transparent 42%);
  pointer-events: none;
}

.feature-card__top {
  position: absolute;
  top: 17px;
  right: 17px;
  left: 17px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.feature-card__top span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-card__top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 3px rgba(216, 255, 63, 0.15);
}

.feature-card__play {
  position: absolute;
  right: 18px;
  bottom: 92px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.28);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.45s var(--ease);
}

.feature-card__play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}

.feature-card__link:hover .feature-card__play {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
  transform: scale(1.07);
}

.feature-card__content {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 4;
}

.feature-card__tags {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
}

.feature-card__tags span {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.feature-card__content h2 {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.feature-card__content p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.feature-card__content p span {
  margin: 0 4px;
  color: var(--acid);
}

.feature-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.feature-card__caption span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--paper-soft);
}

.feature-card__caption svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 0.3s var(--ease);
}

.feature-card__link:hover .feature-card__caption svg {
  transform: translate(2px, -2px);
}

.orbit {
  position: absolute;
  top: -72px;
  right: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--paper-soft);
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}

.orbit text {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 1.25px;
}

.orbit > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 228, 0.018);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 31px;
  padding: 16px 0;
  padding-right: 31px;
}

.ticker__group span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ticker__group b {
  margin-left: 7px;
  color: var(--acid);
  font-weight: 400;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Library
   -------------------------------------------------------------------------- */

.library {
  padding-top: clamp(78px, 8.2vw, 112px);
  padding-bottom: clamp(80px, 9vw, 120px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: 40px;
  margin-bottom: 37px;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(42px, 4.8vw, 69px);
  font-weight: 750;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.section-head__desc {
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.filter span {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  transition: color 0.25s ease;
}

.filter svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.filter:hover {
  border-color: var(--line);
  color: var(--paper);
}

.filter.is-active {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.filter.is-active span {
  color: rgba(11, 11, 12, 0.52);
}

.filter--fav.is-active {
  border-color: var(--acid);
  background: var(--acid);
}

.toolbar__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 256px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: rgba(242, 238, 228, 0.025);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.search:focus-within {
  border-color: var(--acid);
  background: rgba(216, 255, 63, 0.035);
}

.search__icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-size: 11px;
}

.search input::placeholder {
  color: var(--muted-dark);
}

.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search kbd {
  padding: 2px 5px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.35;
}

.search:focus-within kbd {
  display: none;
}

.search__clear {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--muted);
}

.search__clear:hover {
  background: var(--line);
  color: var(--paper);
}

.search__clear svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.select-wrap {
  position: relative;
  flex: 0 0 auto;
}

.select-wrap select {
  width: 119px;
  height: 38px;
  padding: 0 31px 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  appearance: none;
  background: rgba(242, 238, 228, 0.025);
  color: var(--paper-soft);
  font-size: 11px;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.select-wrap select:hover {
  border-color: var(--line-strong);
}

.select-wrap select:focus-visible {
  border-color: var(--acid);
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 11px;
  width: 12px;
  height: 12px;
  pointer-events: none;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transform: translateY(-50%);
}

.select-wrap option {
  background: var(--bg-soft);
  color: var(--paper);
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0 1px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.results-hint {
  display: flex;
  align-items: center;
  gap: 7px;
}

.results-hint i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 20px;
  padding-top: 16px;
}

.asset-card {
  position: relative;
  min-width: 0;
}

.asset-grid.is-initial .asset-card {
  animation: card-in 0.75s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 42ms);
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.asset-card__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: border-color 0.35s ease;
}

.asset-card__frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  height: 2px;
  background: var(--asset-accent, var(--acid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.asset-card:hover .asset-card__frame {
  border-color: var(--line-strong);
}

.asset-card:hover .asset-card__frame::after {
  transform: scaleX(1);
}

.asset-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.asset-card__img,
.asset-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-card__img {
  z-index: 1;
  transition: transform 0.9s var(--ease), opacity 0.4s ease;
}

.asset-card__video {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.asset-card.is-playing .asset-card__video {
  opacity: 1;
}

.asset-card:hover .asset-card__img {
  transform: scale(1.035);
}

.asset-card__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(4, 4, 5, 0.45), transparent 28%, transparent 55%, rgba(4, 4, 5, 0.54)),
    radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(4, 4, 5, 0.12));
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.asset-card.is-playing .asset-card__shade {
  opacity: 0.35;
}

.asset-card__num {
  position: absolute;
  top: 11px;
  left: 12px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.asset-card__favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(8, 8, 9, 0.35);
  color: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s var(--ease);
}

.asset-card__favorite svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: fill 0.25s ease;
}

.asset-card__favorite:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.06);
}

.asset-card__favorite.is-active {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.asset-card__favorite.is-active svg {
  fill: currentColor;
}

.asset-card__hover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(8, 8, 9, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.asset-card__hover .hover-play {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  transform: scale(0.82);
  transition: transform 0.45s var(--ease);
}

.asset-card__hover .hover-play svg {
  width: 13px;
  height: 13px;
  margin-left: 1px;
  fill: currentColor;
  stroke: none;
}

.asset-card__hover span {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.asset-card:hover .asset-card__hover {
  opacity: 1;
}

.asset-card:hover .hover-play {
  transform: scale(1);
}

.asset-card.is-playing .asset-card__hover {
  opacity: 0;
}

.asset-card__badges {
  position: absolute;
  right: 11px;
  bottom: 10px;
  left: 11px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.asset-card__badge {
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 9, 0.28);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  line-height: 1.2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.asset-card__badge--live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-color: rgba(216, 255, 63, 0.42);
  color: var(--acid);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.asset-card__badge--live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.asset-card.is-playing .asset-card__badge--live {
  opacity: 1;
}

.asset-card__body {
  padding-top: 13px;
}

.asset-card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.asset-card__title {
  overflow: hidden;
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-card__en {
  flex: 0 0 auto;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

.asset-card:hover .asset-card__en {
  color: var(--asset-accent, var(--acid));
}

.asset-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.055em;
}

.asset-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.asset-card__cat i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--asset-accent, var(--acid));
}

.asset-card__meta .divider {
  color: var(--muted-dark);
}

.asset-card__downloads {
  margin-left: auto;
  color: var(--muted-dark);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  border: 1px solid var(--line);
  text-align: center;
}

.empty-state__mark {
  margin-bottom: 13px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 36px;
  line-height: 1;
}

.empty-state h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.empty-state p {
  margin: 7px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.library__more {
  display: flex;
  justify-content: center;
  padding-top: 49px;
}

.load-more {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--paper-soft);
  font-size: 11px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.load-more:hover {
  border-color: var(--paper);
  background: rgba(242, 238, 228, 0.04);
  color: var(--paper);
}

.load-more__plus {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.load-more__plus svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.load-more small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.load-more:disabled {
  opacity: 0.5;
}

.noscript {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */

.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(242, 238, 228, 0.025), transparent 44%),
    var(--bg);
}

.manifesto__inner {
  padding-top: clamp(64px, 7.2vw, 92px);
  padding-bottom: clamp(64px, 7.2vw, 92px);
}

.manifesto__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.manifesto__index {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.manifesto__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.64fr);
  gap: 60px;
  padding-top: 42px;
}

.manifesto__body h2 {
  font-size: clamp(38px, 4.9vw, 72px);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.manifesto__body h2 span {
  color: var(--acid);
}

.manifesto__copy {
  align-self: end;
}

.manifesto__copy > p {
  max-width: 370px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.manifesto__copy ul {
  display: flex;
  gap: 37px;
  margin-top: 37px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.manifesto__copy li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.manifesto__copy strong {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.manifesto__copy li span {
  color: var(--muted-dark);
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.newsletter {
  background: var(--acid);
  color: var(--ink);
}

.newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 60px;
  padding-top: clamp(58px, 6.4vw, 84px);
  padding-bottom: clamp(58px, 6.4vw, 84px);
}

.newsletter h2 {
  margin-top: 18px;
  font-size: clamp(39px, 4.5vw, 65px);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.newsletter__form-wrap {
  align-self: end;
  max-width: 430px;
}

.newsletter__form-wrap > p {
  margin-bottom: 24px;
  color: rgba(11, 11, 12, 0.65);
  font-size: 12px;
  line-height: 1.8;
}

.newsletter__form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(11, 11, 12, 0.52);
}

.newsletter__form input {
  min-width: 0;
  flex: 1;
  height: 53px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.newsletter__form input::placeholder {
  color: rgba(11, 11, 12, 0.46);
}

.newsletter__form button {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(11, 11, 12, 0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.newsletter__form button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--acid);
}

.newsletter__form button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.newsletter__note {
  display: block;
  margin-top: 11px;
  color: rgba(11, 11, 12, 0.43);
  font-size: 9px;
}

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

.site-footer {
  padding-top: clamp(64px, 7vw, 93px);
  padding-bottom: 27px;
  background: var(--bg);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 0.72fr);
  gap: 42px;
  padding-bottom: clamp(55px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.footer__wordmark {
  color: var(--paper);
  font-size: clamp(46px, 5.5vw, 81px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.footer__wordmark span {
  color: var(--acid);
}

.footer__wordmark sup {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: top;
}

.footer__tagline {
  margin-top: 26px;
  color: var(--muted);
  font-size: 11px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 5px;
}

.footer__col > p {
  margin-bottom: 9px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.footer__col a,
.footer__col span {
  color: var(--muted);
  font-size: 11px;
  transition: color 0.25s ease;
}

.footer__col a:hover {
  color: var(--acid);
}

.footer__col--meta a {
  color: var(--paper-soft);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 23px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.footer__bottom div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__bottom a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer__bottom a:hover {
  color: var(--acid);
}

/* --------------------------------------------------------------------------
   Preview modal
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 5, 0.83);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(310px, 0.72fr);
  width: min(1120px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  border: 1px solid var(--line-strong);
  background: #111113;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  transform: translateY(24px) scale(0.985);
  transition: transform 0.45s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__dialog::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.modal__dialog::-webkit-scrollbar-track {
  background: #111113;
}

.modal__dialog::-webkit-scrollbar-thumb {
  border: 2px solid #111113;
  border-radius: 8px;
  background: #3b3a37;
}

.modal__media {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 310px;
  background: #030304;
}

.modal__media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #030304;
}

.modal__media-label {
  position: absolute;
  top: 15px;
  left: 16px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal__close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.55);
  color: var(--paper);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.3s var(--ease);
}

.modal__close:hover {
  background: var(--acid);
  color: var(--ink);
  transform: rotate(90deg);
}

.modal__close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.modal__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 43px 29px 28px;
}

.modal__info h2 {
  margin-top: 15px;
  font-size: clamp(31px, 3vw, 45px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.modal__en {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.modal__desc {
  margin-top: 23px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 17px;
}

.modal__tags span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--paper-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.modal__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
  margin-top: 25px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.modal__specs > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.modal__specs dt {
  margin-bottom: 3px;
  color: var(--muted-dark);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.modal__specs dd {
  overflow: hidden;
  color: var(--paper-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal__actions {
  display: flex;
  gap: 7px;
  margin-top: 24px;
}

.modal__actions .btn {
  height: 44px;
  flex: 1;
  padding: 0 12px;
  font-size: 11px;
}

.modal__actions .btn svg {
  width: 14px;
  height: 14px;
}

.modal__favorite {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 10px;
  transition: color 0.25s ease;
}

.modal__favorite:hover {
  color: var(--paper);
}

.modal__favorite svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: fill 0.25s ease;
}

.modal__favorite.is-active {
  color: var(--acid);
}

.modal__favorite.is-active svg {
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  bottom: 27px;
  left: 50%;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}

.toast::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .asset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: minmax(0, 1.13fr) minmax(330px, 0.8fr);
    gap: 52px;
  }

  .orbit {
    right: 8px;
  }
}

@media (max-width: 1020px) {
  :root {
    --shell: calc(100vw - 56px);
  }

  .main-nav {
    gap: 21px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(48px, 7.5vw, 78px);
  }

  .hero__stats > div {
    min-width: 95px;
    margin-right: 22px;
    padding-right: 22px;
  }

  .hero__stats dd {
    font-size: 22px;
  }

  .hero__stats .stat-text {
    font-size: 17px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 25px;
  }

  .manifesto__body {
    gap: 36px;
  }

  .footer__top {
    grid-template-columns: 1.2fr repeat(3, 0.72fr);
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-search {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 55px;
    padding-bottom: 72px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(58px, 11vw, 94px);
  }

  .hero__stats {
    max-width: 520px;
  }

  .hero__feature {
    width: min(100%, 540px);
    margin-inline: auto;
  }

  .orbit {
    top: -62px;
    right: 6px;
    width: 72px;
    height: 72px;
  }

  .orbit > span {
    width: 27px;
    height: 27px;
    font-size: 12px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head__desc {
    max-width: 440px;
  }

  .toolbar {
    align-items: flex-start;
  }

  .toolbar__tools {
    width: 100%;
  }

  .search {
    flex: 1;
    width: auto;
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
  }

  .manifesto__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .manifesto__copy {
    max-width: 500px;
  }

  .newsletter__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .newsletter__form-wrap {
    max-width: 100%;
  }

  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer__col--meta {
    grid-column: 2 / 4;
  }

  .modal__dialog {
    grid-template-columns: 1fr;
    max-height: 91vh;
  }

  .modal__media video {
    aspect-ratio: 16 / 9;
  }

  .modal__info {
    padding: 29px 24px 25px;
  }

  .modal__info h2 {
    margin-top: 11px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 36px);
    --header-h: 67px;
  }

  .header__inner {
    gap: 10px;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
  }

  .brand__text strong {
    font-size: 12px;
  }

  .brand__text small {
    font-size: 6px;
  }

  .btn--header {
    display: none;
  }

  .header__actions {
    gap: 1px;
  }

  .mobile-nav {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    gap: 48px;
    padding-top: 43px;
    padding-bottom: 61px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .eyebrow__line {
    width: 19px;
  }

  .hero h1 {
    margin-top: 21px;
    margin-bottom: 23px;
    font-size: clamp(46px, 13.6vw, 68px);
    letter-spacing: -0.08em;
  }

  .hero__lead {
    max-width: 350px;
    font-size: 12px;
    line-height: 1.9;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    margin-top: 29px;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__actions .btn--text {
    justify-content: flex-start;
    height: 44px;
    padding-left: 0;
  }

  .hero__stats {
    margin-top: 39px;
    padding-top: 17px;
  }

  .hero__stats > div {
    min-width: 0;
    flex: 1;
    margin-right: 12px;
    padding-right: 12px;
  }

  .hero__stats dt {
    font-size: 8px;
  }

  .hero__stats dd {
    font-size: 19px;
  }

  .hero__stats .stat-text {
    font-size: 14px;
  }

  .hero__feature {
    width: calc(100% - 6px);
    margin-left: 6px;
  }

  .hero__feature::before {
    inset: 9px -9px -9px 9px;
  }

  .orbit {
    display: none;
  }

  .feature-card__content {
    right: 15px;
    bottom: 16px;
    left: 15px;
  }

  .feature-card__content h2 {
    font-size: 30px;
  }

  .feature-card__play {
    right: 15px;
    bottom: 83px;
    width: 48px;
    height: 48px;
  }

  .feature-card__top {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .feature-card__caption {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 7px;
  }

  .library {
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .section-head {
    margin-bottom: 27px;
  }

  .section-head h2 {
    margin-top: 12px;
    font-size: 42px;
  }

  .section-head__desc {
    font-size: 11px;
  }

  .toolbar {
    padding: 12px 0;
    gap: 13px;
  }

  .filters {
    width: calc(100vw - 36px);
    flex-wrap: nowrap;
    gap: 3px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
    height: 32px;
    padding-inline: 9px;
    font-size: 10px;
  }

  .filter span {
    font-size: 7px;
  }

  .toolbar__tools {
    gap: 6px;
  }

  .search {
    height: 36px;
  }

  .search kbd {
    display: none;
  }

  .select-wrap select {
    width: 96px;
    height: 36px;
    padding-left: 10px;
    font-size: 10px;
  }

  .results-bar {
    padding-top: 13px;
    font-size: 8px;
  }

  .asset-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 13px;
  }

  .asset-card__frame {
    aspect-ratio: 4 / 3;
  }

  .asset-card__title {
    font-size: 16px;
  }

  .asset-card__body {
    padding-top: 12px;
  }

  .asset-card__meta {
    font-size: 8px;
  }

  .library__more {
    padding-top: 37px;
  }

  .manifesto__inner {
    padding-top: 53px;
    padding-bottom: 55px;
  }

  .manifesto__head {
    padding-bottom: 20px;
  }

  .manifesto__body {
    padding-top: 29px;
    gap: 26px;
  }

  .manifesto__body h2 {
    font-size: clamp(37px, 10.5vw, 54px);
  }

  .manifesto__copy > p {
    font-size: 11px;
  }

  .manifesto__copy ul {
    gap: 20px;
    margin-top: 27px;
    padding-top: 17px;
  }

  .manifesto__copy strong {
    font-size: 12px;
  }

  .manifesto__copy li span {
    font-size: 8px;
  }

  .newsletter__inner {
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .newsletter h2 {
    margin-top: 13px;
    font-size: 43px;
  }

  .newsletter__form-wrap > p {
    margin-bottom: 17px;
    font-size: 11px;
  }

  .newsletter__form input {
    height: 47px;
    font-size: 12px;
  }

  .newsletter__form button {
    width: 37px;
    height: 37px;
  }

  .site-footer {
    padding-top: 51px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 37px 24px;
    padding-bottom: 48px;
  }

  .footer__brand {
    grid-column: 1 / 3;
  }

  .footer__wordmark {
    font-size: 62px;
  }

  .footer__tagline {
    margin-top: 20px;
  }

  .footer__col--meta {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding-top: 19px;
    font-size: 6px;
  }

  .footer__bottom div {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .modal {
    padding: 10px;
  }

  .modal__dialog {
    max-height: 94vh;
  }

  .modal__media {
    min-height: 0;
  }

  .modal__media video {
    aspect-ratio: 16 / 9;
  }

  .modal__info {
    padding: 25px 18px 22px;
  }

  .modal__info h2 {
    font-size: 34px;
  }

  .modal__desc {
    margin-top: 17px;
    font-size: 10px;
  }

  .modal__specs {
    margin-top: 20px;
  }

  .modal__actions {
    flex-direction: column;
    margin-top: 19px;
  }

  .modal__actions .btn {
    flex: none;
  }

  .toast {
    bottom: 18px;
    width: max-content;
    max-width: calc(100vw - 36px);
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker__track,
  .orbit svg {
    animation: none !important;
  }

  .asset-card__video,
  .feature-card__video {
    display: none;
  }

  .asset-card__hover {
    opacity: 0 !important;
  }
}

/* ==========================================================================
   Multi-page SEO layout additions
   ========================================================================== */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.breadcrumbs a:hover {
  color: var(--acid);
}

.breadcrumbs i {
  color: var(--muted-dark);
  font-style: normal;
}

.breadcrumbs span[aria-current="page"] {
  color: var(--paper-soft);
}

.page-hero {
  padding-top: clamp(40px, 5vw, 68px);
  padding-bottom: clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumbs {
  margin-bottom: clamp(30px, 4vw, 52px);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 48px;
}

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1;
}

.page-hero__aside p {
  max-width: 480px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.page-hero__count,
.page-hero__meta {
  display: block;
  margin-top: 18px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.page-hero__meta {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.listing {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(68px, 8vw, 110px);
}

.listing .asset-grid {
  padding-top: 16px;
}

.listing .section-head {
  margin-bottom: 30px;
}

.home-category-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
}

.home-category-row .filter {
  text-decoration: none;
}

.home-category-row .filter--all {
  color: var(--acid);
}

.home-more {
  display: flex;
  justify-content: center;
  padding-top: 47px;
}

.home-more .load-more {
  text-decoration: none;
}

.home-more .load-more span {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 13px;
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tag-strip__label {
  margin-right: 4px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.tag-strip a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.tag-strip a span {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 7px;
}

.tag-strip a:hover {
  border-color: var(--accent, var(--acid));
  color: var(--paper);
}

.tag-strip__all {
  margin-left: auto;
  border-color: transparent !important;
  color: var(--acid) !important;
  font-family: var(--font-mono);
  font-size: 8px !important;
}

.asset-card__title a {
  color: inherit;
  transition: color 0.25s ease;
}

.asset-card__title a:hover {
  color: var(--acid);
}

.asset-card__cat {
  color: inherit;
  transition: color 0.25s ease;
}

.asset-card__cat:hover {
  color: var(--paper);
}

.asset-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.asset-card__tags a {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.asset-card__tags a:hover {
  color: var(--acid);
}

.section-link {
  align-self: end;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.section-link:hover {
  color: var(--paper);
}

.toolbar--simple {
  justify-content: space-between;
}

.toolbar--simple .filters {
  flex: 0 0 auto;
}

.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.tag-links a {
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.tag-links a:hover {
  border-color: var(--line-strong);
  color: var(--paper);
}

/* Category hub */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  display: block;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: border-color 0.35s ease, transform 0.45s var(--ease);
}

.category-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.category-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.category-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(4, 4, 5, 0.64));
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.category-card:hover .category-card__media img {
  transform: scale(1.035);
}

.category-card__count {
  position: absolute;
  right: 12px;
  bottom: 11px;
  z-index: 1;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 9, 0.3);
  color: var(--paper-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.category-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 17px 0;
}

.category-card__body h2 {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.category-card__body p {
  margin-top: 5px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.category-card__arrow {
  color: var(--acid);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.category-card:hover .category-card__arrow {
  transform: translate(3px, -3px);
}

.category-card__desc {
  padding: 13px 17px 19px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.category-hub {
  padding-top: 29px;
  padding-bottom: clamp(70px, 8vw, 110px);
}

/* Tag hub */

.tag-hub {
  padding-top: 29px;
  padding-bottom: clamp(70px, 8vw, 110px);
}

.tag-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tag-index__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.tag-index__item:hover {
  border-color: var(--line-strong);
  color: var(--paper);
}

.tag-index__item.is-featured {
  border-color: rgba(216, 255, 63, 0.22);
  background: rgba(216, 255, 63, 0.035);
}

.tag-index__name {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.tag-index__item.is-featured .tag-index__name::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--acid);
  vertical-align: 2px;
}

.tag-index__count {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tag-hub__note {
  max-width: 680px;
  margin-top: 26px;
  color: var(--muted-dark);
  font-size: 10px;
  line-height: 1.8;
}

/* Detail page */

.detail-page {
  padding-top: 34px;
  padding-bottom: clamp(64px, 8vw, 110px);
}

.detail-page > .breadcrumbs {
  margin-bottom: 22px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.detail-media {
  position: relative;
  border: 1px solid var(--line-strong);
  background: #030304;
}

.detail-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #030304;
}

.detail-media__label {
  position: absolute;
  top: 14px;
  left: 15px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.detail-panel {
  padding-top: 4px;
}

.detail-panel h1 {
  margin-top: 14px;
  font-size: clamp(39px, 4.4vw, 64px);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.detail-panel__en {
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.detail-panel__en span {
  color: var(--acid);
}

.detail-panel__desc {
  margin-top: 21px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.detail-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 17px;
}

.detail-panel__tags a,
.detail-aside .detail-panel__tags a {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--paper-soft);
  font-family: var(--font-mono);
  font-size: 8px;
}

.detail-panel__tags a:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin-top: 23px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

.detail-specs > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.detail-specs dt {
  margin-bottom: 3px;
  color: var(--muted-dark);
  font-size: 8px;
}

.detail-specs dd {
  overflow: hidden;
  color: var(--paper-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-actions {
  display: flex;
  gap: 7px;
  margin-top: 21px;
}

.detail-actions .btn {
  flex: 1;
  height: 45px;
  padding-inline: 12px;
  font-size: 11px;
}

.detail-actions .btn svg {
  width: 14px;
  height: 14px;
}

.detail-category {
  display: inline-block;
  margin-top: 17px;
  color: var(--muted);
  font-size: 10px;
  transition: color 0.25s ease;
}

.detail-category:hover {
  color: var(--acid);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.6fr);
  gap: clamp(30px, 5vw, 80px);
  margin-top: clamp(50px, 6vw, 78px);
  padding-top: 37px;
  border-top: 1px solid var(--line);
}

.detail-content__main h2 {
  margin: 19px 0 12px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.detail-content__main h2:first-of-type {
  margin-top: 15px;
}

.detail-content__main p {
  max-width: 650px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.detail-aside {
  align-self: start;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: rgba(242, 238, 228, 0.018);
}

.detail-aside h2 {
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.detail-aside dl {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.detail-aside dl > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-aside dt {
  color: var(--muted-dark);
  font-size: 8px;
}

.detail-aside dd,
.detail-aside dd a {
  color: var(--paper-soft);
  font-size: 10px;
  line-height: 1.6;
}

.detail-aside__category {
  transition: color 0.25s ease;
}

.detail-aside__category:hover {
  color: var(--acid) !important;
}

.detail-aside__tags a {
  display: inline-block;
  margin: 0 7px 6px 0;
  padding: 2px 5px;
  border: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.detail-aside__tags a:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.detail-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.detail-pager a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 0;
  transition: color 0.25s ease;
}

.detail-pager a:last-child {
  text-align: right;
}

.detail-pager span {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
}

.detail-pager strong {
  color: var(--paper-soft);
  font-size: 14px;
  font-weight: 500;
}

.detail-pager a:hover strong {
  color: var(--acid);
}

.related-section {
  margin-top: clamp(56px, 7vw, 90px);
  padding-top: 31px;
  border-top: 1px solid var(--line);
}

.related-section .section-head {
  margin-bottom: 27px;
}

.related-section .section-head h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3.4vw, 47px);
}

.asset-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Pagination */

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-top: 45px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.pagination a:hover {
  border-color: var(--line-strong);
  color: var(--paper);
}

.pagination .is-current {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.pagination__arrow {
  padding-inline: 14px !important;
}

/* 404 */

.not-found {
  min-height: 64vh;
  padding-top: clamp(70px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 150px);
}

.not-found h1 {
  margin: 23px 0 22px;
  font-size: clamp(58px, 9vw, 132px);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.94;
}

.not-found h1 span {
  color: var(--acid);
}

.not-found > p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

/* Responsive additions */

@media (max-width: 1020px) {
  .page-hero__grid {
    gap: 30px;
  }

  .tag-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }
}

@media (max-width: 900px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-hero__aside {
    max-width: 540px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    padding-top: 0;
  }

  .detail-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-aside {
    max-width: 440px;
  }

  .asset-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tag-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar--simple {
    align-items: flex-start;
  }

  .toolbar--simple .tag-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .page-hero {
    padding-top: 33px;
    padding-bottom: 30px;
  }

  .page-hero .breadcrumbs {
    margin-bottom: 27px;
  }

  .page-hero h1 {
    margin-top: 12px;
    font-size: clamp(42px, 13vw, 64px);
  }

  .page-hero__aside p {
    font-size: 11px;
  }

  .listing {
    padding-top: 22px;
    padding-bottom: 65px;
  }

  .home-category-row {
    flex-wrap: nowrap;
    width: calc(100vw - 36px);
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .home-category-row::-webkit-scrollbar {
    display: none;
  }

  .home-category-row .filter {
    flex: 0 0 auto;
  }

  .tag-strip {
    margin-top: 32px;
  }

  .tag-strip__all {
    margin-left: 0;
  }

  .category-grid,
  .tag-index {
    grid-template-columns: 1fr;
  }

  .category-card__body h2 {
    font-size: 23px;
  }

  .category-hub,
  .tag-hub {
    padding-top: 22px;
    padding-bottom: 65px;
  }

  .tag-index__item {
    min-height: 53px;
  }

  .detail-page {
    padding-top: 25px;
  }

  .detail-panel h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .detail-panel__desc {
    font-size: 11px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions .btn {
    flex: none;
  }

  .detail-content {
    margin-top: 43px;
    padding-top: 28px;
  }

  .detail-content__main h2 {
    font-size: 24px;
  }

  .detail-aside {
    max-width: 100%;
  }

  .detail-pager {
    grid-template-columns: 1fr;
    margin-top: 39px;
  }

  .detail-pager a:last-child {
    text-align: left;
  }

  .related-section {
    margin-top: 50px;
  }

  .asset-grid--related {
    grid-template-columns: 1fr;
  }

  .pagination {
    padding-top: 32px;
  }

  .not-found {
    padding-top: 78px;
  }

  .not-found h1 {
    font-size: clamp(55px, 16vw, 86px);
  }

  .not-found__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .not-found__actions .btn {
    justify-content: center;
  }
}

/* About page */

.about-page {
  padding-top: clamp(34px, 4vw, 50px);
  padding-bottom: clamp(70px, 8vw, 110px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.5fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.about-prose h2 {
  margin: 34px 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.about-prose h2:first-of-type {
  margin-top: 18px;
}

.about-prose p {
  max-width: 660px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.about-facts {
  display: flex;
  flex-direction: column;
  padding: 9px 0 0;
  border-top: 1px solid var(--line);
}

.about-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.about-facts span {
  color: var(--muted-dark);
  font-size: 9px;
}

.about-facts strong {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.about-facts__text {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.about-facts a {
  color: var(--paper-soft);
  font-size: 10px;
  text-align: right;
  word-break: break-all;
}

.about-facts a:hover {
  color: var(--acid);
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-cta p {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-facts {
    max-width: 480px;
  }
}

@media (max-width: 620px) {
  .about-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-cta .btn {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   9:16 vertical media layout
   ========================================================================== */

.asset-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px 16px;
}

.asset-grid--index,
.asset-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asset-card__frame {
  aspect-ratio: 9 / 16;
}

.asset-card__title {
  font-size: 14px;
}

.asset-card__body {
  padding-top: 11px;
}

.asset-card__tags {
  gap: 5px;
}

.hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 360px);
  gap: clamp(42px, 6vw, 92px);
}

.hero__feature {
  width: 100%;
  max-width: 360px;
  justify-self: end;
}

.feature-card__media {
  aspect-ratio: 9 / 16;
}

.feature-card__content h2 {
  font-size: clamp(25px, 2.25vw, 33px);
}

.feature-card__play {
  bottom: 88px;
}

.detail-hero {
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
}

.detail-media {
  width: 100%;
  max-width: 380px;
}

.detail-media video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.category-card__media {
  aspect-ratio: 4 / 5;
}

@media (max-width: 1280px) {
  .asset-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .asset-grid--index,
  .asset-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(270px, 330px);
  }
}

@media (max-width: 1024px) {
  .asset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .asset-grid--index,
  .asset-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 305px);
    gap: 34px;
  }

  .hero__feature {
    max-width: 305px;
  }

  .detail-hero {
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  }

  .detail-media {
    max-width: 340px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__feature {
    width: min(100%, 350px);
    max-width: 350px;
    margin-inline: auto;
    justify-self: center;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-media {
    max-width: 420px;
    margin-inline: auto;
  }

  .asset-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .asset-grid,
  .asset-grid--index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 10px;
  }

  .asset-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-card__frame {
    aspect-ratio: 9 / 16;
  }

  .asset-card__title {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .asset-card__en {
    display: none;
  }

  .asset-card__meta {
    gap: 5px;
    margin-top: 6px;
    font-size: 7px;
  }

  .asset-card__meta .divider,
  .asset-card__meta > span:not(.asset-card__downloads) {
    display: none;
  }

  .asset-card__downloads {
    margin-left: auto;
  }

  .asset-card__tags {
    margin-top: 7px;
  }

  .asset-card__tags a {
    font-size: 6px;
  }

  .asset-card__tags a:nth-child(n + 3) {
    display: none;
  }

  .asset-card__num {
    top: 8px;
    left: 8px;
    font-size: 7px;
  }

  .asset-card__favorite {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
  }

  .asset-card__favorite svg {
    width: 12px;
    height: 12px;
  }

  .asset-card__badges {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .asset-card__badge {
    padding: 3px 5px;
    font-size: 6px;
  }

  .asset-card__hover .hover-play {
    width: 38px;
    height: 38px;
  }

  .asset-card__hover span {
    font-size: 6px;
    letter-spacing: 0.06em;
  }

  .hero__feature {
    width: calc(100% - 6px);
    max-width: 370px;
    margin-left: 6px;
  }

  .detail-media {
    max-width: 100%;
  }

  .detail-media video {
    aspect-ratio: 9 / 16;
  }

  .detail-panel h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .category-card__media {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 360px) {
  .asset-grid,
  .asset-grid--index,
  .asset-grid--related {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .feature-card__content h2 {
    font-size: 30px;
  }
}

/* Home gallery: 4-up for a balanced 8-card edit */
.asset-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .asset-grid--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .asset-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .asset-grid--home {
    grid-template-columns: 1fr;
  }
}

/* Header search feedback */
.search.is-highlighted {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(216, 255, 63, 0.16);
  animation: search-pulse 0.75s var(--ease);
}

@keyframes search-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-2px);
  }
}

/* ==========================================================================
   Search page + list-to-search form
   ========================================================================== */

.search--page-link {
  width: 310px;
}

.search__submit {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-left: 1px solid var(--line);
  color: var(--acid);
}

.search__submit svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 0.25s var(--ease);
}

.search__submit:hover svg {
  transform: translateX(2px);
}

.search-page {
  padding-top: 34px;
  padding-bottom: clamp(70px, 8vw, 110px);
}

.search-page > .breadcrumbs {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.search-page__head h1 {
  margin-top: 15px;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1;
}

.search-page__intro {
  max-width: 580px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.search-page__form {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 66px;
  max-width: 880px;
  margin-top: 31px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--line-strong);
  border-bottom-color: var(--acid);
  background: rgba(242, 238, 228, 0.025);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.search-page__form:focus-within {
  border-color: var(--acid);
  background: rgba(216, 255, 63, 0.035);
}

.search-page__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.search-page__form input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-size: 17px;
}

.search-page__form input::placeholder {
  color: var(--muted-dark);
}

.search-page__form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-page__clear {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--muted);
}

.search-page__clear:hover {
  background: var(--line);
  color: var(--paper);
}

.search-page__clear svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.search-page__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0 17px;
  border-radius: 2px;
  background: var(--acid);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.search-page__submit:hover {
  background: var(--paper);
}

.search-page__submit svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.search-page__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 17px;
}

.search-page__categories .filter {
  height: 35px;
}

.search-page__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.search-page__bar > p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.asset-grid--search {
  padding-top: 22px;
}

.asset-grid.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.search-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin-top: 22px;
  border: 1px solid var(--line);
  text-align: center;
}

.search-state[hidden] {
  display: none;
}

.search-state__dot {
  width: 8px;
  height: 8px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--acid);
  animation: search-dot 1.1s ease-in-out infinite;
}

@keyframes search-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.search-state__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 20px;
}

.search-state h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.search-state p {
  margin: 7px 0 19px;
  color: var(--muted);
  font-size: 11px;
}

.search-state .btn {
  height: 40px;
}

.search-page__noscript {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.search-page__noscript a {
  color: var(--acid);
}

.pagination button {
  display: grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.pagination button:hover {
  border-color: var(--line-strong);
  color: var(--paper);
}

.pagination .pagination__gap {
  min-width: 16px;
  padding: 0;
  border-color: transparent;
  color: var(--muted-dark);
}

@media (max-width: 900px) {
  .search--page-link {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .search-page {
    padding-top: 25px;
    padding-bottom: 65px;
  }

  .search-page > .breadcrumbs {
    margin-bottom: 26px;
  }

  .search-page__head h1 {
    margin-top: 12px;
    font-size: clamp(45px, 13vw, 62px);
  }

  .search-page__intro {
    font-size: 11px;
  }

  .search-page__form {
    height: 54px;
    gap: 8px;
    margin-top: 22px;
    padding: 0 8px 0 12px;
  }

  .search-page__icon {
    width: 15px;
    height: 15px;
  }

  .search-page__form input {
    font-size: 13px;
  }

  .search-page__submit {
    height: 36px;
    padding: 0 11px;
    font-size: 10px;
  }

  .search-page__submit svg {
    width: 12px;
    height: 12px;
  }

  .search-page__categories {
    flex-wrap: nowrap;
    width: calc(100vw - 36px);
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .search-page__categories::-webkit-scrollbar {
    display: none;
  }

  .search-page__categories .filter {
    flex: 0 0 auto;
    height: 32px;
  }

  .search-page__bar {
    align-items: flex-start;
    gap: 10px;
    margin-top: 21px;
  }

  .search-page__bar .select-wrap select {
    width: 118px;
    height: 35px;
    font-size: 10px;
  }

  .asset-grid--search {
    padding-top: 16px;
  }

  .search-state {
    min-height: 240px;
  }

  .search-state h2 {
    font-size: 20px;
  }

  .search-state p {
    padding-inline: 20px;
  }
}

/* ==========================================================================
   Media types: video / image / audio
   ========================================================================== */

.home-type-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.home-type-row__label {
  margin-right: 3px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.home-type-row .filter {
  text-decoration: none;
}

.hover-play--link svg {
  fill: none !important;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.feature-card--image .feature-card__play svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.detail-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #030304;
}

.detail-media--audio {
  overflow: hidden;
}

.detail-media--audio::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(3, 3, 4, 0.82));
  pointer-events: none;
}

.detail-media--audio .detail-audio {
  position: absolute;
  right: 12px;
  bottom: 13px;
  left: 12px;
  z-index: 3;
  width: calc(100% - 24px);
}

.detail-media--audio .detail-media__label {
  z-index: 4;
}

.detail-media--image .detail-media__label {
  z-index: 2;
}

.asset-card--audio .asset-card__hover .hover-play,
.asset-card--image .asset-card__hover .hover-play {
  background: var(--acid);
  color: var(--ink);
}

.asset-card--audio .asset-card__badge,
.asset-card--image .asset-card__badge {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 620px) {
  .home-type-row {
    flex-wrap: nowrap;
    width: calc(100vw - 36px);
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .home-type-row::-webkit-scrollbar {
    display: none;
  }

  .home-type-row .filter {
    flex: 0 0 auto;
  }
}

/* ==========================================================================
   Audio list cards
   ========================================================================== */

.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audio-card {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 24px 24px 22px;
  border: 1px solid rgba(244, 241, 232, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 255, 63, 0.06), transparent 48%),
    linear-gradient(145deg, #131314 0%, #0a0a0b 100%);
  color: var(--paper);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  animation: card-in 0.7s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms);
}

.audio-card:hover {
  border-color: rgba(216, 255, 63, 0.32);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.audio-card__head {
  display: flex;
  align-items: flex-start;
}

.audio-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.audio-card__title a {
  color: inherit;
  text-decoration: none;
}

.audio-card__title a:hover {
  color: var(--acid);
}

.audio-card__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
}

.audio-card__download {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--acid);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.audio-card__download:hover {
  background: #e7ff78;
  transform: translateY(-1px);
}

.audio-card__favorite {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(244, 241, 232, 0.24);
  border-radius: 10px;
  background: rgba(244, 241, 232, 0.04);
  color: rgba(244, 241, 232, 0.55);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.audio-card__favorite svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.audio-card__favorite:hover,
.audio-card__favorite.is-active {
  border-color: rgba(216, 255, 63, 0.6);
  background: rgba(216, 255, 63, 0.1);
  color: var(--acid);
}

.audio-card__favorite.is-active svg {
  fill: currentColor;
}

.audio-card__player {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.audio-card__play {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.audio-card__play:hover {
  background: #ffffff;
  transform: scale(1.04);
}

.audio-card__play svg {
  width: 17px;
  height: 17px;
}

.audio-card.is-playing .audio-card__play {
  background: var(--acid);
}

.audio-card__track {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(244, 241, 232, 0.18);
  cursor: pointer;
}

.audio-card__track:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

.audio-card__progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: inherit;
  background: var(--acid);
}

.audio-card__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  transform: translate(-50%, -50%);
  transition: left 0.12s linear;
}

.audio-card__time {
  flex: 0 0 auto;
  min-width: 42px;
  color: rgba(244, 241, 232, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: right;
}

.audio-card audio {
  display: none;
}

@media (max-width: 1100px) {
  .audio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .audio-grid {
    grid-template-columns: 1fr;
  }

  .audio-card {
    min-height: 210px;
    padding: 22px 20px 20px;
  }

  .audio-card__title {
    font-size: 19px;
  }
}

/* ==========================================================================
   Readability pass: lift the small UI type scale across the site
   ========================================================================== */

body {
  font-size: 15px;
}

.skip-link,
.btn,
.main-nav a,
.mobile-nav > a,
.search input,
.select-wrap select,
.load-more,
.section-link,
.category-card__desc,
.about-prose p,
.detail-content__main p,
.detail-panel__desc,
.search-page__intro {
  font-size: 15px;
}

.btn--header,
.eyebrow,
.hero__stats dt,
.feature-card__top,
.feature-card__tags span,
.feature-card__content p,
.feature-card__caption,
.filter,
.search kbd,
.results-bar,
.asset-card__meta,
.asset-card__hover span,
.footer__tagline,
.footer__col a,
.footer__col span,
.toast,
.breadcrumbs,
.page-hero__aside p,
.page-hero__count,
.page-hero__meta,
.tag-strip a,
.category-card__count,
.category-card__body p,
.tag-index__count,
.tag-hub__note,
.detail-media__label,
.detail-panel__en,
.detail-panel__tags a,
.detail-specs dt,
.detail-actions .btn,
.detail-category,
.detail-aside dt,
.detail-aside dd,
.detail-aside dd a,
.detail-pager span,
.about-facts span,
.about-facts a,
.search-page__submit,
.search-page__bar > p,
.search-state p,
.search-page__noscript,
.audio-card__time,
.modal__desc,
.modal__actions .btn,
.modal__favorite {
  font-size: 13px;
}

.brand__text strong {
  font-size: 15px;
}

.brand__text small,
.main-nav a sup,
.mobile-nav > a span,
.mobile-nav__foot,
.btn--text small,
.orbit text,
.ticker__group span,
.filter span,
.asset-card__num,
.asset-card__badge,
.asset-card__en,
.asset-card__tags a,
.tag-strip__label,
.tag-strip a span,
.tag-strip__all,
.tag-links a,
.home-type-row__label,
.manifesto__index,
.manifesto__copy li span,
.footer__col > p,
.footer__bottom,
.modal__media-label,
.modal__en,
.modal__tags span,
.modal__specs dt,
.modal__specs dd,
.pagination a,
.pagination span,
.pagination button,
.search-page__bar .select-wrap select {
  font-size: 11px;
}

.asset-card__badge {
  font-size: 10px;
}

.asset-card__tags a,
.tag-strip a span,
.home-type-row__label {
  font-size: 10px;
}

.hero__lead {
  font-size: 15px;
}

.section-head__desc,
.manifesto__copy > p,
.newsletter__form-wrap > p,
.newsletter__form input,
.not-found > p:not(.eyebrow),
.about-facts a,
.detail-specs dd {
  font-size: 14px;
}

.detail-specs dd,
.detail-aside dd,
.detail-aside dd a {
  font-size: 14px;
}

@media (max-width: 700px) {
  .hero__lead,
  .section-head__desc,
  .manifesto__copy > p,
  .newsletter__form-wrap > p,
  .about-prose p,
  .detail-content__main p,
  .search-page__intro {
    font-size: 14px;
  }

  .main-nav a {
    font-size: 13px;
  }
}

.asset-card__meta {
  flex-wrap: wrap;
  row-gap: 3px;
}

.btn {
  font-size: 14px;
}

.btn--header {
  font-size: 13px;
}

.load-more {
  font-size: 14px;
}

.section-link {
  font-size: 13px;
}

.search input,
.select-wrap select {
  font-size: 14px;
}

.category-card__desc {
  font-size: 13px;
}

.detail-panel__desc,
.search-page__intro,
.page-hero__aside p {
  font-size: 14px;
}

@media (max-width: 700px) {
  .asset-card__meta {
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .results-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .results-hint {
    font-size: 12px;
  }
}

.asset-card__badge,
.asset-card__tags a,
.tag-strip a span {
  font-size: 11px;
}

.asset-card[hidden],
.audio-card[hidden] {
  display: none !important;
}

/* Media list page: reduce hero title, increase category filter readability */
.page-hero h1 {
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.06em;
}

.filters {
  gap: 6px;
}

.filter {
  height: 42px;
  padding: 0 18px;
  gap: 8px;
  font-size: 16px;
}

.filter span {
  font-size: 13px;
}

@media (max-width: 700px) {
  .page-hero h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .filter {
    height: 40px;
    padding: 0 15px;
    font-size: 15px;
  }

  .filter span {
    font-size: 12px;
  }
}

/* Media list search hero */
.media-search-hero {
  padding-top: clamp(30px, 4vw, 50px);
  padding-bottom: clamp(34px, 4.5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.media-search-hero .breadcrumbs {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.media-search {
  display: flex;
  width: 100%;
  max-width: 1180px;
  height: 78px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--bg-soft);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.media-search:focus-within {
  border-color: var(--acid);
  box-shadow: 0 0 0 1px var(--acid);
}

.media-search__icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  margin-left: 24px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.media-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 20px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.media-search input::placeholder {
  color: var(--muted-dark);
}

.media-search input::-webkit-search-cancel-button {
  display: none;
}

.media-search__submit {
  display: inline-flex;
  height: calc(100% - 16px);
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  background: var(--acid);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.media-search__submit:hover {
  background: #e7ff78;
}

.media-search__submit svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.media-search-hero__hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 700px) {
  .media-search {
    height: 60px;
  }

  .media-search__icon {
    width: 21px;
    height: 21px;
    margin-left: 16px;
  }

  .media-search input {
    padding: 0 12px;
    font-size: 16px;
  }

  .media-search__submit {
    height: calc(100% - 12px);
    margin-right: 6px;
    padding: 0 16px;
    font-size: 14px;
  }

  .media-search-hero__hint {
    font-size: 13px;
  }
}

.search-page__head .search-page__form {
  margin-top: 0;
}

/* Detail page: smaller title, specs removed */
.detail-panel h1 {
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

@media (max-width: 700px) {
  .detail-panel h1 {
    font-size: clamp(24px, 7vw, 32px);
  }
}

.detail-panel h1 {
  font-size: clamp(24px, 2vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

@media (max-width: 700px) {
  .detail-panel h1 {
    font-size: clamp(22px, 6vw, 28px);
  }
}

.detail-content__main[data-protected-content] {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Detail content is a single readable column; material info lives in the top panel */
.detail-content {
  grid-template-columns: 1fr;
  gap: 0;
}

.detail-content__main p {
  max-width: 100%;
}

.detail-aside--panel {
  margin-top: 20px;
}

@media (min-width: 1100px) {
  .detail-content__main {
    max-width: 100%;
  }
}

.brand__logo {
  display: block;
  width: auto;
  height: 42px;
}

@media (max-width: 700px) {
  .brand__logo {
    height: 36px;
  }
}
.brand__logo {
  height: 48px;
}

@media (max-width: 700px) {
  .brand__logo {
    height: 40px;
  }
}

/* Mobile floating quick actions: back / refresh / home */
.mobile-dock {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  width: 52px;
  height: 52px;
  user-select: none;
}

.mobile-dock__toggle {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  cursor: grab;
  touch-action: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.mobile-dock__toggle:active,
.mobile-dock.is-dragging .mobile-dock__toggle {
  cursor: grabbing;
  transform: scale(0.96);
}

.mobile-dock__toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mobile-dock__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  width: 148px;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(13, 13, 14, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transform-origin: bottom right;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  backdrop-filter: blur(14px);
}

.mobile-dock.is-open .mobile-dock__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-dock.is-down .mobile-dock__menu {
  top: calc(100% + 10px);
  bottom: auto;
  transform-origin: top right;
  transform: translateY(-6px);
}

.mobile-dock.is-down.is-open .mobile-dock__menu {
  transform: translateY(0);
}

.mobile-dock.is-left .mobile-dock__menu {
  right: auto;
  left: 0;
  transform-origin: bottom left;
}

.mobile-dock__action {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--paper-soft);
  font-family: var(--font-sans);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.mobile-dock__action:hover,
.mobile-dock__action:focus-visible {
  background: rgba(242, 238, 228, 0.08);
  color: var(--paper);
  outline: none;
}

.mobile-dock__action svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--acid);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

@media (max-width: 900px) {
  .mobile-dock {
    display: block;
  }
}

/* Compact draggable mobile dock: three icon-only buttons */
.mobile-dock {
  position: fixed;
  top: 50%;
  right: 14px;
  bottom: auto;
  display: none;
  width: 46px;
  height: auto;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(13, 13, 14, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  transform: translateY(-50%);
  z-index: 90;
  user-select: none;
  touch-action: none;
  backdrop-filter: blur(14px);
}

.mobile-dock.is-dragging {
  cursor: grabbing;
}

.mobile-dock__button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--paper-soft);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mobile-dock__button:hover,
.mobile-dock__button:focus-visible {
  background: var(--acid);
  color: var(--ink);
  outline: none;
}

.mobile-dock__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (max-width: 900px) {
  .mobile-dock {
    display: flex;
  }
}

/* Custom centered play button for detail video */
.detail-video {
  position: relative;
}

.detail-video video {
  display: block;
}

.detail-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.detail-play:hover {
  background: #e7ff78;
  transform: translate(-50%, -50%) scale(1.05);
}

.detail-play svg {
  width: 30px;
  height: 30px;
  margin-left: 3px;
  fill: currentColor;
  stroke: none;
}

.detail-video.is-playing .detail-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 700px) {
  .detail-play {
    width: 64px;
    height: 64px;
  }

  .detail-play svg {
    width: 24px;
    height: 24px;
  }
}
.detail-play svg {
  width: 40px;
  height: 40px;
  margin-left: 4px;
}

.detail-video__pause-hit {
  display: none;
}

.detail-video.is-playing .detail-video__pause-hit {
  position: absolute;
  inset: 0 0 52px;
  z-index: 2;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 700px) {
  .detail-play svg {
    width: 32px;
    height: 32px;
    margin-left: 3px;
  }
}

/* Optional video hint from Excel "视频提示" column */
.detail-media.has-video-note .detail-media__label {
  display: none;
}

.detail-video__hint {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 4;
  max-width: calc(100% - 28px);
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(9, 27, 13, 0.78);
  color: #f1f7e9;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (max-width: 700px) {
  .detail-video__hint {
    top: 10px;
    max-width: calc(100% - 20px);
    padding: 7px 12px;
    font-size: 11px;
  }
}

.detail-video__hint {
  width: max-content;
  box-sizing: border-box;
}
.detail-video__hint {
  font-size: 13px;
}

@media (max-width: 700px) {
  .detail-video__hint {
    font-size: 12px;
  }
}

/* Mobile detail video: 65% of the visible viewport height */
@media (max-width: 700px) {
  .detail-hero--video .detail-media {
    width: 100%;
    max-width: none;
  }

  .detail-hero--video .detail-video {
    height: 65vh;
    height: 65dvh;
  }

  .detail-hero--video .detail-video video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

/* Mobile detail video: show the full frame, scale by height, center it */
@media (max-width: 700px) {
  .detail-hero--video .detail-video {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: #030304;
  }

  .detail-hero--video .detail-video video {
    width: auto;
    max-width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
}

/* Mobile video: remove the outer media frame border */
@media (max-width: 700px) {
  .detail-hero--video .detail-media {
    border: 0;
    background: transparent;
  }
}

/* Mobile detail: tighter top area and single-line truncated title */
@media (max-width: 700px) {
  .detail-page {
    padding-top: 10px;
  }

  .detail-page > .breadcrumbs {
    flex-wrap: nowrap;
    min-width: 0;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .detail-page > .breadcrumbs a,
  .detail-page > .breadcrumbs i {
    flex: 0 0 auto;
  }

  .detail-page > .breadcrumbs span[aria-current="page"] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .detail-hero {
    gap: 14px;
  }

  .detail-panel h1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* Prevent long mobile titles/breadcrumbs from widening the page */
@media (max-width: 700px) {
  html,
  body {
    overflow-x: hidden;
  }

  .detail-page,
  .detail-hero,
  .detail-panel,
  .detail-media,
  .detail-video,
  .detail-page > .breadcrumbs {
    min-width: 0;
    max-width: 100%;
  }

  .detail-hero > * {
    min-width: 0;
  }

  .detail-panel h1 {
    width: 100%;
    max-width: 100%;
  }
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    height: calc(58px + env(safe-area-inset-bottom));
    align-items: flex-start;
    justify-content: space-around;
    padding: 3px 6px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(12, 12, 13, 0.97);
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav a {
    display: flex;
    min-width: 0;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 54px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1;
    text-decoration: none;
  }

  .mobile-bottom-nav img {
    width: 23px;
    height: 23px;
    object-fit: contain;
    opacity: 0.58;
    transition: opacity 0.2s var(--ease);
  }

  .mobile-bottom-nav a.is-active {
    color: var(--acid);
  }

  .mobile-bottom-nav a.is-active img {
    opacity: 1;
  }

  .mobile-bottom-nav a:active {
    color: var(--paper);
  }
}

/* Mobile: download actions sit directly below the video */
@media (max-width: 700px) {
  .detail-hero > .detail-actions {
    width: 100%;
    margin-top: 0;
  }
}

/* Mobile: bottom navigation replaces the long footer */
@media (max-width: 900px) {
  .site-footer {
    display: block;
    padding-top: 0;
  }

  .footer__top {
    display: none;
  }

  .footer__bottom {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 16px 0 8px;
  }

  .footer__bottom div {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .footer__bottom {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .footer__bottom div {
    flex-wrap: nowrap;
    gap: 0;
  }

  .footer__bottom div > span {
    display: none;
  }
}

/* Compact mobile media-list header */
@media (max-width: 700px) {
  .media-search-hero {
    padding-top: 10px;
    padding-bottom: 14px;
  }

  .media-search-hero .breadcrumbs {
    margin-bottom: 10px;
  }

  .media-search {
    height: 54px;
  }

  .media-search__icon {
    width: 20px;
    height: 20px;
    margin-left: 14px;
  }

  .media-search input {
    padding: 0 10px;
    font-size: 15px;
  }

  .media-search__submit {
    height: calc(100% - 10px);
    margin-right: 5px;
    padding: 0 16px;
    font-size: 14px;
    gap: 6px;
  }

  .media-search__submit svg {
    width: 15px;
    height: 15px;
  }

  .media-search-hero__hint {
    display: none;
  }

  .listing {
    padding-top: 10px;
  }

  .toolbar {
    gap: 10px 16px;
    padding: 10px 0;
  }
}

/* Mobile media list: hide the count/detail hint bar */
@media (max-width: 900px) {
  .results-bar {
    display: none;
  }
}

/* Desktop home hero: tighter vertical rhythm */
@media (min-width: 901px) {
  .hero {
    gap: clamp(36px, 5vw, 72px);
    padding-top: clamp(36px, 4vw, 56px);
    padding-bottom: clamp(42px, 4.5vw, 64px);
  }

  .hero h1 {
    margin: 18px 0 20px;
    font-size: clamp(48px, 5.8vw, 84px);
  }

  .hero__actions {
    margin-top: 26px;
  }

  .hero__stats {
    margin-top: clamp(28px, 3.5vw, 38px);
    padding-top: 18px;
  }
}

@media (min-width: 901px) {
  .hero {
    align-items: start;
  }
}

/* Desktop hero: three compact video cards in one row */
@media (min-width: 901px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .hero__feature {
    width: 100%;
    max-width: 760px;
    justify-self: end;
  }

  .hero__feature-row {
    display: grid;
    width: 100%;
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-left: auto;
  }
}

.hero-mini {
  min-width: 0;
}

.hero-mini__link {
  display: block;
}

.hero-mini__media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #101012;
}

.hero-mini__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.hero-mini__link:hover .hero-mini__media img {
  transform: scale(1.035);
}

.hero-mini__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.25), transparent 35%, rgba(5, 5, 6, 0.94));
  pointer-events: none;
}

.hero-mini__top {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.hero-mini__top span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-mini__top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
}

.hero-mini__play {
  position: absolute;
  right: 10px;
  bottom: 54px;
  z-index: 4;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--paper);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero-mini__play svg {
  width: 13px;
  height: 13px;
  margin-left: 1px;
  fill: currentColor;
  stroke: none;
}

.hero-mini__link:hover .hero-mini__play {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.hero-mini__content {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 3;
}

.hero-mini__meta {
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
}

.hero-mini__meta b {
  margin: 0 3px;
  color: var(--acid);
  font-weight: 400;
}

.hero-mini__content h2 {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
  .hero__feature-row {
    display: grid;
    width: 100%;
    max-width: 360px;
    grid-template-columns: 1fr;
    margin-inline: auto;
  }

  .hero-mini:nth-child(n + 2) {
    display: none;
  }
}

/* Desktop library section: tighter spacing */
@media (min-width: 901px) {
  .hero {
    padding-bottom: clamp(28px, 3vw, 40px);
  }

  .library {
    padding-top: clamp(44px, 4.5vw, 64px);
    padding-bottom: clamp(56px, 6vw, 80px);
  }

  .section-head {
    gap: 24px;
    margin-bottom: 20px;
  }

  .section-head h2 {
    margin-top: 8px;
    font-size: clamp(38px, 4vw, 54px);
  }

  .home-type-row {
    margin-bottom: 4px;
  }

  .home-category-row {
    margin-bottom: 12px;
  }
}

/* Mobile home: compact stats and library intro */
@media (max-width: 900px) {
  .hero__stats {
    margin-top: 16px;
    padding-top: 12px;
  }

  .library {
    padding-top: 30px;
    padding-bottom: 48px;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .section-head h2 {
    margin-top: 6px;
    font-size: 34px;
  }

  .section-head__desc {
    padding-bottom: 0;
    font-size: 11px;
    line-height: 1.65;
  }

  .home-type-row {
    margin-bottom: 4px;
  }

  .home-category-row {
    margin-bottom: 10px;
  }
}

/* Desktop adjacent pager thumbnails */
.detail-pager a {
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.detail-pager__thumb {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #101012;
  border: 1px solid var(--line);
}

.detail-pager a:hover .detail-pager__thumb {
  border-color: rgba(216, 255, 63, 0.45);
}

.detail-pager strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
  .detail-pager__thumb {
    height: 140px;
  }
}

.detail-pager__thumb {
  object-fit: contain;
  object-position: center;
}
