:root {
  --red: #e11d2e;
  --red-hot: #ff2d44;
  --blue: #1f5eff;
  --ink: #08090c;
  --ink-2: #0e1016;
  --line: rgba(255, 255, 255, .1);
  --text: #f2f3f7;
  --muted: #9aa0ad;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.red { color: var(--red); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px var(--pad);
  background: linear-gradient(180deg, rgba(8, 9, 12, .94), rgba(8, 9, 12, .55) 70%, transparent);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .18em; font-size: 14px; }
.brand svg { width: 22px; height: 22px; fill: currentColor; }
.nav nav { display: flex; gap: 26px; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 16px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  transition: background .15s;
}
.nav-cta:hover { background: var(--red-hot); }

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/backdrops/hero.jpg") center 35% / cover no-repeat;
  transform: scale(1.03);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,12,.97) 0%, rgba(8,9,12,.78) 42%, rgba(8,9,12,.25) 78%),
    linear-gradient(0deg, var(--ink) 2%, rgba(8,9,12,.2) 46%, rgba(8,9,12,.15) 100%);
}
.web {
  position: absolute; top: -120px; right: -120px; width: min(58vw, 720px); aspect-ratio: 1;
  color: rgba(255, 255, 255, .16); opacity: .55; pointer-events: none;
}
.web svg { width: 100%; height: 100%; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
  width: 100%; padding: 0 var(--pad);
}
.eyebrow, .kicker {
  margin: 0 0 14px; font-size: 11px; font-weight: 700;
  letter-spacing: .28em; color: var(--muted);
}
.hero h1 {
  margin: 0; font-size: clamp(56px, 9vw, 132px); line-height: .86;
  font-weight: 800; letter-spacing: -.045em;
  text-shadow: 4px 0 0 rgba(31, 94, 255, .85), -4px 0 0 rgba(225, 29, 46, .85);
}
.hero h2 {
  margin: 22px 0 0; font-size: clamp(19px, 2.4vw, 30px); font-weight: 600;
  letter-spacing: .3em;
}
.lede { margin: 18px 0 0; max-width: 540px; color: #c9ccd6; font-size: clamp(14px, 1.3vw, 16px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.stats { display: flex; gap: clamp(28px, 5vw, 64px); margin: 52px 0 0; }
.stats dt { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1; }
.stats dd { margin: 6px 0 0; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.hero-fade { position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(0deg, var(--ink), transparent); }

.feature {
  position: relative; justify-self: end; width: min(430px, 100%); aspect-ratio: 4 / 5;
  padding: 0; border: 1px solid rgba(255, 255, 255, .2); background: var(--ink-2);
  overflow: hidden; text-align: left; transform: rotate(1.2deg);
  box-shadow: 16px 16px 0 rgba(225, 29, 46, .18), -14px -14px 0 rgba(31, 94, 255, .14);
  transition: transform .35s, box-shadow .35s;
}
.feature:hover, .feature:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 10px 10px 0 rgba(225, 29, 46, .3), -8px -8px 0 rgba(31, 94, 255, .24); outline: none; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature:hover img { transform: scale(1.05); }
.feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,9,12,.96) 4%, rgba(8,9,12,.35) 44%, rgba(225,29,46,.16) 90%);
}
.feature-tag, .feature-dur, .feature-play, .feature-meta { position: absolute; z-index: 2; }
.feature-tag {
  top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; background: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .18em;
}
.feature-tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.feature-dur {
  top: 16px; right: 16px; padding: 5px 9px;
  background: rgba(8, 9, 12, .7); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 11px; letter-spacing: .08em; backdrop-filter: blur(6px);
}
.feature-play {
  inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: rgba(225, 29, 46, .94); box-shadow: 0 12px 44px rgba(0, 0, 0, .55), 0 0 0 10px rgba(225, 29, 46, .16);
  transition: transform .25s, background .25s;
}
.feature-play::before {
  content: ""; position: absolute; left: 30px; top: 25px; width: 0; height: 0;
  border-left: 24px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.feature:hover .feature-play { transform: scale(1.08); background: var(--red-hot); }
.feature-meta { inset: auto 0 0; display: flex; flex-direction: column; gap: 4px; padding: 22px; }
.feature-cat { font-size: 10px; font-weight: 700; letter-spacing: .24em; color: var(--red); }
.feature-meta strong { font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -.02em; }
.feature-meta span:last-child { font-size: 11px; letter-spacing: .1em; color: var(--muted); }

.ticker { overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .5); background: var(--red); color: #08090c; }
.ticker-track {
  display: flex; width: max-content; align-items: center; gap: 28px;
  padding: 10px 0; animation: slide 38s linear infinite;
  font-size: 11px; font-weight: 800; letter-spacing: .26em; white-space: nowrap;
}
.ticker-track b { font-size: 9px; opacity: .55; }
@keyframes slide { to { transform: translateX(-50%); } }

.section { padding: clamp(64px, 8vw, 110px) var(--pad); scroll-margin-top: 72px; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 22px; margin-bottom: 26px;
}
.section h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.01em; }
.section-note { margin: 0; color: var(--muted); font-size: 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  padding: 8px 16px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-size: 13px; transition: .15s;
}
.chip span { opacity: .55; margin-left: 4px; font-size: 11px; }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .35); }
.chip.is-active { background: var(--text); border-color: var(--text); color: var(--ink); }

.video-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-card {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); background: var(--ink-2);
  text-align: left; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.video-card::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; z-index: 5;
  background: linear-gradient(90deg, var(--red), var(--blue));
  opacity: 0; transition: opacity .25s;
}
.video-card:hover, .video-card:focus-visible {
  transform: translateY(-6px); border-color: rgba(225, 29, 46, .6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55); outline: none;
}
.video-card:hover::after, .video-card:focus-visible::after { opacity: 1; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.video-card:hover .video-thumb img { transform: scale(1.07); filter: saturate(1.2) contrast(1.06); }
.video-thumb::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(225, 29, 46, .42), transparent 42%, rgba(31, 94, 255, .42));
  mix-blend-mode: screen; opacity: .5; transition: opacity .3s;
}
.video-card:hover .video-thumb::before { opacity: .95; }
.video-thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 9, 12, .88), transparent 58%);
}
.video-badge, .video-dur, .video-index, .video-play { position: absolute; z-index: 3; }
.video-badge {
  top: 12px; left: 12px; padding: 4px 8px;
  background: var(--red); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .18em;
}
.video-dur {
  right: 12px; bottom: 10px; padding: 3px 7px;
  background: rgba(8, 9, 12, .78); border: 1px solid rgba(255, 255, 255, .2);
  font-size: 10px; letter-spacing: .08em; backdrop-filter: blur(4px);
}
.video-index {
  top: 2px; right: 12px; font-size: 58px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .38);
  letter-spacing: -.04em; opacity: .85; pointer-events: none;
}
.video-play {
  inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8, 9, 12, .55); border: 1px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px); transform: scale(.9); transition: .25s;
}
.video-play::before {
  content: ""; width: 0; height: 0; margin-left: 3px;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.video-card:hover .video-play { transform: scale(1); background: var(--red); border-color: var(--red); }
.video-body { display: block; padding: 14px 16px 16px; }
.video-cat { display: block; font-size: 9px; font-weight: 800; letter-spacing: .24em; color: var(--red); }
.video-body h3 { margin: 5px 0 0; font-size: 16px; line-height: 1.4; font-weight: 700; }
.video-body p { margin: 3px 0 0; font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.masonry { columns: 4; column-gap: clamp(12px, 1.4vw, 20px); }
.art-card {
  display: block; width: 100%; margin: 0 0 clamp(12px, 1.4vw, 20px);
  padding: 0; border: 0; background: var(--ink-2);
  break-inside: avoid; position: relative; overflow: hidden; text-align: left;
}
.art-card img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.art-card:hover img, .art-card:focus-visible img { transform: scale(1.035); filter: brightness(.82); }
.art-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.art-overlay {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px;
  background: linear-gradient(0deg, rgba(8, 9, 12, .92), rgba(8, 9, 12, .45) 55%, transparent);
  opacity: 0; transform: translateY(8px); transition: .3s;
}
.art-card:hover .art-overlay, .art-card:focus-visible .art-overlay { opacity: 1; transform: none; }
.art-overlay h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.art-overlay p { margin: 3px 0 0; font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.art-index {
  position: absolute; top: 10px; left: 12px; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; color: rgba(255, 255, 255, .75);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}

.about { border-top: 1px solid var(--line); max-width: 900px; }
.about p:last-child { color: var(--muted); max-width: 760px; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 26px var(--pad); border-top: 1px solid var(--line);
  color: var(--muted); font-size: 11px; letter-spacing: .12em;
}

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 7, .92); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative; width: min(1100px, 100%); max-height: 92svh; overflow: auto;
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7);
}
.modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 36px; height: 36px; border: 0; background: rgba(8, 9, 12, .65); color: #fff;
  backdrop-filter: blur(6px);
}
.modal-close:hover { background: var(--red); }
.viewer { width: 100%; max-height: 68svh; object-fit: contain; background: #050608; }
.player { display: grid; place-items: center; background: #000; }
.player video { display: block; width: 100%; max-height: 72svh; background: #000; }
.modal-body { padding: 20px 24px 24px; }
.modal-meta { margin: 0 0 8px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .22em; }
.modal-body h2 { margin: 0; font-size: clamp(20px, 3vw, 30px); }
.modal-desc { margin: 10px 0 0; color: #c2c6d1; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .masonry { columns: 3; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero { padding-top: 132px; }
  .hero-grid { grid-template-columns: 1fr; }
  .feature { justify-self: start; width: min(420px, 100%); margin-top: 14px; }
  .hero h1 { font-size: clamp(52px, 14vw, 96px); }
}
@media (max-width: 640px) {
  .nav nav a:nth-child(3) { display: none; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding-top: 118px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(46px, 16vw, 72px); }
  .stats { gap: 26px; margin-top: 36px; }
  .video-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .modal-body { padding: 16px 18px 20px; }
}
@media (max-width: 420px) { .masonry { columns: 1; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .art-overlay { opacity: 1; transform: none; }
}
