:root {
  color-scheme: dark;
  --bg: #181122;
  --bg-deep: #0d0912;
  --paper: #f4ecff;
  --paper-soft: rgba(244, 236, 255, 0.76);
  --ink: #171020;
  --line: rgba(232, 216, 255, 0.25);
  --lavender: #c9a7ff;
  --lavender-hot: #9f70ff;
  --violet: #6f4bb4;
  --mint: #8dffd6;
  --blue: #5ed7ff;
  --rose: #ff8bc6;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(145deg, rgba(111, 75, 180, 0.28), transparent 36%),
    linear-gradient(315deg, rgba(141, 255, 214, 0.08), transparent 35%),
    linear-gradient(135deg, var(--bg), var(--bg-deep));
  color: var(--paper);
}

body.language-tear main,
body.language-tear .site-header,
body.language-tear .site-footer {
  animation: crt-tear-body 420ms steps(2, end);
  will-change: transform, filter;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
}

.glitch-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

body.language-tear .glitch-overlay {
  display: block;
}

.glitch-overlay::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 16px,
      rgba(244, 236, 255, 0.16) 16px 18px,
      transparent 18px 34px
    );
  animation: crt-tear-scan 420ms steps(2, end);
  mix-blend-mode: screen;
}

.tear-line {
  position: absolute;
  left: -8vw;
  width: 116vw;
  height: 18px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 139, 198, 0.55), rgba(141, 255, 214, 0.36), transparent);
  filter: blur(0.9px);
  mix-blend-mode: screen;
  animation: crt-tear-line 420ms steps(2, end);
}

.tear-one {
  top: 15%;
  animation-delay: 20ms;
}

.tear-two {
  top: 34%;
  height: 12px;
  animation-delay: 70ms;
  animation-name: crt-tear-line-reverse;
}

.tear-three {
  top: 57%;
  height: 22px;
  animation-delay: 115ms;
}

.tear-four {
  top: 75%;
  height: 10px;
  animation-delay: 165ms;
  animation-name: crt-tear-line-reverse;
}

body::before {
  background:
    linear-gradient(118deg, transparent 0 12%, rgba(201, 167, 255, 0.11) 12% 18%, transparent 18% 100%),
    linear-gradient(24deg, transparent 0 58%, rgba(94, 215, 255, 0.08) 58% 64%, transparent 64% 100%),
    linear-gradient(152deg, transparent 0 72%, rgba(255, 139, 198, 0.09) 72% 77%, transparent 77% 100%);
}

body::after {
  opacity: 0.72;
  background:
    linear-gradient(108deg, transparent 0 66%, rgba(201, 167, 255, 0.14) 66% 72%, transparent 72% 100%),
    linear-gradient(18deg, transparent 0 9%, rgba(141, 255, 214, 0.09) 9% 16%, transparent 16% 100%);
}

a {
  color: inherit;
}

.grain-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid rgba(232, 216, 255, 0.14);
  background: rgba(17, 11, 24, 0.64);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 0 14px;
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 950;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 46px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(201, 167, 255, 0.2));
}

.main-nav {
  position: relative;
  gap: 6px;
  min-height: 46px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(232, 216, 255, 0.12);
  border-radius: 999px;
  background: rgba(244, 236, 255, 0.035);
}

.main-nav a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--paper-soft);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 180ms ease,
    font-size 180ms ease,
    transform 180ms ease;
}

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

.main-nav a.is-current {
  color: var(--paper);
  font-size: 1.06rem;
  font-weight: 950;
}

.nav-slider {
  position: absolute;
  top: 4px;
  left: 0;
  width: 0;
  height: calc(100% - 8px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 209, 240, 0.98), rgba(255, 139, 198, 0.72) 54%, rgba(185, 149, 255, 0.82)),
    linear-gradient(110deg, #ffd1f0, #ff8bc6 44%, #b995ff);
  box-shadow:
    0 0 24px rgba(255, 139, 198, 0.28),
    inset 0 0 0 1px rgba(244, 236, 255, 0.18);
  opacity: 0;
  transform: translateX(0);
  transition:
    width 180ms ease,
    transform 180ms ease,
    opacity 160ms ease;
}

.main-nav.is-tracking .nav-slider {
  transition:
    width 90ms ease,
    transform 34ms linear,
    opacity 90ms ease;
}

.main-nav.is-idle .nav-slider {
  background:
    linear-gradient(110deg, rgba(255, 209, 240, 0.42), rgba(255, 139, 198, 0.25) 42%, rgba(185, 149, 255, 0.32)),
    rgba(244, 236, 255, 0.055);
  box-shadow:
    0 0 22px rgba(201, 167, 255, 0.18),
    inset 0 0 0 1px rgba(244, 236, 255, 0.12);
}

.locale-toggle {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  min-height: 34px;
  padding: 3px;
  border: 1px solid rgba(232, 216, 255, 0.18);
  border-radius: 999px;
  background: rgba(244, 236, 255, 0.055);
}

.locale-toggle button {
  position: relative;
  z-index: 1;
  min-width: 34px;
  min-height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--paper-soft);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 950;
  cursor: pointer;
}

.locale-toggle button[aria-pressed="true"] {
  color: var(--ink);
}

.locale-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--rose), var(--lavender));
  transition: transform 180ms ease;
}

body[data-lang="en"] .locale-slider {
  transform: translateX(36px);
}

body[data-lang="en"] [data-locale-control="ru"],
body[data-lang="ru"] [data-locale-control="en"] {
  display: none !important;
}

main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
  gap: 34px;
  align-items: end;
  min-height: calc(100svh - 76px);
  padding: 50px 0 44px;
}

.live-news {
  display: grid;
  grid-template-columns: minmax(230px, 0.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px 0 18px;
}

.news-heading {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(255, 139, 198, 0.13), transparent 58%),
    rgba(244, 236, 255, 0.045);
}

.news-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.6rem);
  text-align: left;
}

.news-shell {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(130deg, rgba(201, 167, 255, 0.12), transparent 44%),
    linear-gradient(26deg, transparent 50%, rgba(141, 255, 214, 0.08) 50% 68%, transparent 68%),
    rgba(17, 11, 24, 0.42);
  box-shadow: 0 18px 54px rgba(8, 6, 12, 0.2);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--paper-soft);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.news-post {
  display: grid;
  align-self: start;
  gap: 10px;
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(232, 216, 255, 0.18);
  border-radius: 24px;
  background: rgba(244, 236, 255, 0.055);
  color: var(--paper);
  text-decoration: none;
}

.news-post:hover {
  border-color: rgba(255, 139, 198, 0.52);
  background: rgba(255, 139, 198, 0.095);
}

.news-source {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-post strong {
  font-size: 1.1rem;
  line-height: 1.05;
}

.news-reply {
  display: block;
  padding: 10px 12px;
  border-left: 3px solid var(--mint);
  border-radius: 12px 18px 18px 12px;
  background: rgba(141, 255, 214, 0.08);
  color: var(--paper-soft);
  font-size: 0.86rem;
  line-height: 1.35;
  text-decoration: none;
}

.news-reply b {
  color: var(--mint);
  font-weight: 950;
}

.news-image,
.news-media,
.news-gif {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(232, 216, 255, 0.18);
  border-radius: 18px;
  background: rgba(13, 9, 18, 0.5);
}

.news-image,
.news-video,
.news-gif {
  object-fit: cover;
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.news-gallery .news-image,
.news-gallery .news-media,
.news-gallery .news-gif {
  min-height: 116px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
}

.news-gallery[data-count="3"] > :first-child,
.news-gallery[data-count="5"] > :first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.news-link-preview {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-height: 82px;
  overflow: hidden;
  border: 1px solid rgba(232, 216, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(201, 167, 255, 0.15), transparent 70%),
    rgba(13, 9, 18, 0.42);
  color: var(--paper);
  text-decoration: none;
}

.preview-image {
  display: block;
  width: 88px;
  height: 100%;
  min-height: 82px;
  object-fit: cover;
  background: rgba(141, 255, 214, 0.14);
}

.preview-copy {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px 10px 0;
}

.preview-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.preview-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--paper-soft);
  font-size: 0.78rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.preview-site {
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-open {
  justify-self: start;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.news-audio {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(232, 216, 255, 0.18);
  border-radius: 18px;
  background: rgba(13, 9, 18, 0.5);
}

.news-audio span {
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-audio audio {
  width: 100%;
}

.news-post p {
  margin-bottom: 0;
  color: var(--paper-soft);
  font-size: 0.96rem;
  line-height: 1.42;
}

.skeleton-post span {
  width: 92px;
  height: 12px;
  border-radius: 999px;
  background: rgba(244, 236, 255, 0.18);
}

.kicker {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(4.4rem, 13vw, 10.4rem);
  font-weight: 950;
  line-height: 0.84;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lavender);
  text-shadow: 0 0 28px rgba(201, 167, 255, 0.2);
}

.hero-lead {
  max-width: 680px;
  color: var(--paper-soft);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.portrait-panel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(128deg, transparent 0 18%, rgba(168, 121, 255, 0.2) 18% 44%, transparent 44% 100%),
    linear-gradient(42deg, transparent 0 58%, rgba(141, 255, 214, 0.13) 58% 72%, transparent 72% 100%),
    linear-gradient(145deg, rgba(242, 234, 255, 0.15), rgba(242, 234, 255, 0.04));
  box-shadow: 0 28px 80px rgba(8, 6, 12, 0.42);
  isolation: isolate;
}

.portrait-panel::before,
.portrait-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.portrait-panel::before {
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(242, 234, 255, 0.16);
  border-radius: 24px;
}

.portrait-panel::after {
  right: -52px;
  top: 46px;
  width: 210px;
  height: 92px;
  border-radius: 999px 34px 999px 34px;
  background: rgba(141, 255, 214, 0.14);
  transform: rotate(-18deg);
}

.portrait-panel video {
  position: absolute;
  right: -34px;
  bottom: 54px;
  display: block;
  width: min(112%, 500px);
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.36));
}

.status-strip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 9, 18, 0.76);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.live-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(141, 255, 214, 0.14);
}

.ticker {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--lavender);
  color: var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: crawl 26s linear infinite;
}

.ticker-group {
  display: flex;
  flex: 0 0 auto;
}

.ticker span {
  padding: 16px 28px;
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 950;
  text-transform: uppercase;
}

.ticker span::after {
  margin-left: 28px;
  color: #3c235a;
  content: "/";
}

.about-section,
.work-section,
.evidence,
.links-section {
  padding: 92px 0;
}

.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.section-label span,
.evidence-copy > span {
  color: var(--rose);
  font-weight: 950;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.95;
  text-align: right;
  letter-spacing: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-layout p {
  min-height: 100%;
  margin-bottom: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(242, 234, 255, 0.045);
  color: var(--paper-soft);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.5;
}

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

.work-grid article {
  min-height: 318px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(242, 234, 255, 0.05);
  box-shadow: 0 18px 48px rgba(8, 6, 12, 0.16);
}

.work-grid article:nth-child(2) {
  transform: translateY(32px);
  background: rgba(201, 167, 255, 0.1);
}

.stamp {
  display: inline-flex;
  margin-bottom: 86px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1;
}

.work-grid p,
.evidence-copy p {
  color: var(--paper-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.evidence {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 36px;
  align-items: center;
}

.evidence-copy h2 {
  margin-top: 8px;
  text-align: left;
}

.evidence-copy p {
  max-width: 560px;
  font-size: 1.12rem;
}

.sticker-stack {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(150deg, rgba(201, 167, 255, 0.12), transparent 42%),
    linear-gradient(32deg, transparent 54%, rgba(141, 255, 214, 0.1) 54% 70%, transparent 70%),
    rgba(242, 234, 255, 0.045);
}

.shape {
  position: absolute;
  display: block;
  border: 1px solid rgba(242, 234, 255, 0.2);
  pointer-events: none;
}

.shape-one {
  left: 34px;
  top: 44px;
  width: 230px;
  height: 92px;
  border-radius: 999px 34px 999px 34px;
  background: rgba(201, 167, 255, 0.14);
  transform: rotate(-16deg);
}

.shape-two {
  right: 46px;
  top: 82px;
  width: 160px;
  height: 160px;
  border-radius: 44px;
  background: rgba(94, 215, 255, 0.1);
  transform: rotate(19deg);
}

.shape-three {
  left: 42%;
  bottom: 42px;
  width: 260px;
  height: 88px;
  border-radius: 42px 999px 42px 999px;
  background: rgba(255, 139, 198, 0.11);
  transform: rotate(10deg);
}

.sticker {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.34));
}

.sticker-one {
  top: 34px;
  left: 24px;
  z-index: 2;
  width: min(47%, 270px);
  transform: rotate(-10deg);
}

.sticker-two {
  right: -22px;
  top: 34px;
  z-index: 1;
  width: min(42%, 220px);
  opacity: 0.9;
  transform: rotate(10deg);
}

.sticker-three {
  left: 50%;
  bottom: -76px;
  z-index: 3;
  width: min(54%, 330px);
  transform: translateX(-50%);
}

.links-lead {
  max-width: 650px;
  margin: -12px 0 28px;
  color: var(--paper-soft);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.5;
}

.link-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}

.link-card,
.youtube-button summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  min-height: 178px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(244, 236, 255, 0.12), rgba(244, 236, 255, 0.04)),
    rgba(17, 11, 24, 0.36);
  color: var(--paper);
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(8, 6, 12, 0.18);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  animation: link-rise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.link-card {
  grid-column: span 2;
}

.youtube-button,
.youtube-single {
  grid-column: span 3;
}

.mail-card {
  grid-column: span 3;
}

.discord-card {
  text-align: left;
}

.link-board > :nth-child(1) summary,
.link-board > :nth-child(1).link-card {
  animation-delay: 40ms;
}

.link-board > :nth-child(2).link-card {
  animation-delay: 90ms;
}

.link-board > :nth-child(3).link-card {
  animation-delay: 140ms;
}

.link-board > :nth-child(4).link-card {
  animation-delay: 190ms;
}

.link-board > :nth-child(5).link-card {
  animation-delay: 240ms;
}

.link-board > :nth-child(6).link-card {
  animation-delay: 290ms;
}

.link-card:hover,
.link-card:focus-visible,
.youtube-button summary:hover,
.youtube-button summary:focus-visible {
  border-color: rgba(255, 139, 198, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 139, 198, 0.28), rgba(201, 167, 255, 0.18)),
    rgba(244, 236, 255, 0.08);
  color: var(--paper);
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(8, 6, 12, 0.28);
}

.link-card img,
.youtube-button img {
  order: 2;
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.92;
}

.link-card span,
.youtube-button summary span:not(.chevron) {
  display: grid;
  gap: 7px;
}

.link-card strong,
.youtube-button strong {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 0.95;
}

.link-card small,
.youtube-button small {
  color: var(--paper-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.youtube-button {
  position: relative;
  grid-column: span 3;
  border: 0;
}

.youtube-button summary {
  min-width: 100%;
  list-style: none;
}

.youtube-button summary::-webkit-details-marker {
  display: none;
}

.chevron {
  margin-left: auto;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.youtube-button[open] .chevron {
  transform: rotate(180deg);
}

.youtube-options {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 5;
  display: grid;
  gap: 8px;
  min-width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(17, 11, 24, 0.92);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.youtube-options a {
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

.youtube-options a:hover,
.youtube-options a:focus-visible {
  background: rgba(201, 167, 255, 0.16);
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 36px 0 calc(38px + env(safe-area-inset-bottom));
  color: rgba(244, 236, 255, 0.56);
  font-size: 0.9rem;
  font-weight: 800;
}

@keyframes crawl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

@keyframes link-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes crt-tear-body {
  0% {
    transform: translate3d(0, 0, 0);
    filter: none;
  }

  14% {
    transform: translate3d(-9px, 0, 0);
    filter: blur(1.4px) contrast(1.1) saturate(1.18);
  }

  27% {
    transform: translate3d(12px, 0, 0);
    filter: blur(3px) contrast(1.16) saturate(1.22);
  }

  38% {
    transform: translate3d(-5px, 0, 0);
    filter: blur(1.8px) hue-rotate(10deg) contrast(1.08);
  }

  55% {
    transform: translate3d(4px, 0, 0);
    filter: blur(0.8px) contrast(1.06);
  }

  72% {
    transform: translate3d(-2px, 0, 0);
    filter: blur(0.3px);
  }

  100% {
    transform: translate3d(0, 0, 0);
    filter: none;
  }
}

@keyframes crt-tear-scan {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  12% {
    opacity: 0.46;
    transform: translate3d(0, -12px, 0);
  }

  28% {
    opacity: 0.28;
    transform: translate3d(0, 8px, 0);
  }

  44% {
    opacity: 0.22;
    transform: translate3d(9px, 0, 0);
  }

  62% {
    opacity: 0.1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes crt-tear-line {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  18% {
    opacity: 0.95;
    transform: translate3d(-42px, 0, 0);
  }

  42% {
    opacity: 0.48;
    transform: translate3d(24px, 0, 0);
  }

  62% {
    opacity: 0.18;
    transform: translate3d(-12px, 0, 0);
  }
}

@keyframes crt-tear-line-reverse {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  18% {
    opacity: 0.72;
    transform: translate3d(36px, 0, 0);
  }

  42% {
    opacity: 0.36;
    transform: translate3d(-28px, 0, 0);
  }

  62% {
    opacity: 0.14;
    transform: translate3d(10px, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .ticker-track {
    animation: none !important;
    transform: none !important;
  }

  body.language-tear main,
  body.language-tear .site-header,
  body.language-tear .site-footer,
  .link-card,
  .youtube-button summary {
    animation: none !important;
    filter: none !important;
  }

  body.language-tear .glitch-overlay,
  body.language-tear .glitch-overlay::before,
  body.language-tear .tear-line {
    animation: none !important;
    display: none !important;
    opacity: 0 !important;
  }
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    gap: 16px;
  }

  .main-nav {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .about-layout,
  .live-news,
  .evidence {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(3.7rem, 17vw, 6.4rem);
  }

  .portrait-panel {
    min-height: 420px;
  }

  .portrait-panel video {
    right: -22px;
    width: min(104%, 480px);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-grid article:nth-child(2) {
    transform: none;
  }

  .sticker-stack {
    min-height: 430px;
  }

  .news-heading {
    min-height: auto;
  }

  .news-feed {
    grid-template-columns: 1fr;
  }

  .mail-card,
  .youtube-button,
  .youtube-single {
    grid-column: span 6;
  }

  .link-card {
    grid-column: span 3;
  }
}

@media (max-width: 620px) {
  .header-inner {
    display: grid;
    width: min(calc(100% - 24px), var(--max));
    padding-top: calc(12px + env(safe-area-inset-top));
  }

  .brand {
    justify-self: start;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav a {
    flex: 1;
    padding-inline: 10px;
    justify-content: center;
    text-align: center;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    transform: none;
  }

  .main-nav a.is-current {
    font-size: 1rem;
  }

  main {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero {
    gap: 24px;
    padding-top: 30px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(3.12rem, 18vw, 5rem);
    line-height: 0.9;
  }

  h1 span {
    -webkit-text-stroke-width: 1px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section-label {
    display: block;
  }

  h2 {
    text-align: left;
  }

  .about-section,
  .work-section,
  .evidence,
  .links-section {
    padding: 68px 0;
  }

  .live-news {
    padding-top: 22px;
  }

  .portrait-panel {
    min-height: 360px;
    border-radius: 28px;
  }

  .portrait-panel video {
    right: -34px;
    bottom: 58px;
    width: 116%;
  }

  .status-strip {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .work-grid article,
  .about-layout p,
  .sticker-stack {
    border-radius: 24px;
  }

  .sticker-stack {
    min-height: 370px;
  }

  .sticker-one {
    top: 24px;
    left: 10px;
    width: 52%;
  }

  .sticker-two {
    right: -26px;
    top: 28px;
    width: 43%;
  }

  .sticker-three {
    bottom: -58px;
    width: 60%;
  }

  .link-board {
    display: grid;
    grid-template-columns: 1fr;
  }

  .link-card,
  .youtube-button summary {
    grid-column: auto;
    width: 100%;
    justify-content: flex-start;
    min-height: 124px;
    padding: 20px;
    border-radius: 26px;
  }

  .youtube-options {
    position: static;
    margin-top: 8px;
  }
}
