/* ==========================================================================
   AUTODESTRUCTION — personal site
   Тёмная «стеклянная» тема в лавандовых тонах по референсу.
   ========================================================================== */

:root {
  --bg: #0b0a12;
  --bg-2: #13101d;
  --text: #eeecf6;
  --text-2: #d6d2e6;
  --muted: #a9a4bf;
  --dim: #77728d;
  --accent: #cbbdff;
  --accent-2: #a28ff2;
  --accent-glow: rgba(186, 166, 255, .5);
  --line: rgba(226, 218, 255, .13);
  --line-2: rgba(226, 218, 255, .24);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .022));
  --glass-strong: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  --radius: 22px;
  --f-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad-x: clamp(18px, 3.2vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: rgba(203, 189, 255, .35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ------------------------------------------------------------------ backdrop */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 68% 18%, rgba(132, 112, 214, .2), transparent 62%),
    radial-gradient(760px 560px at 8% 85%, rgba(98, 84, 170, .16), transparent 64%),
    radial-gradient(600px 420px at 96% 78%, rgba(150, 130, 230, .1), transparent 60%),
    linear-gradient(180deg, #0d0b16 0%, #0b0a12 55%, #09080f 100%);
  overflow: hidden;
}

/* лёгкое зерно, чтобы градиенты не «полосили» */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shards { position: absolute; inset: 0; width: 100%; height: 100%; }
.shard-group { transform-origin: center; }
.drift-1 { animation: drift 18s ease-in-out infinite alternate; }
.drift-2 { animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
.drift-3 { animation: drift 20s ease-in-out -3s infinite alternate; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(8px, -10px, 0); }
}

.spark {
  position: absolute;
  width: var(--s, 18px);
  height: var(--s, 18px);
  background: radial-gradient(circle, #fff 0 18%, rgba(230, 222, 255, .9) 30%, rgba(200, 186, 255, 0) 70%);
  clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%);
  filter: drop-shadow(0 0 6px rgba(220, 210, 255, .9));
  animation: twinkle var(--t, 4.5s) ease-in-out var(--d, 0s) infinite;
  opacity: .85;
}
.s1 { top: 22%; left: 3.5%;  --s: 34px; --t: 5s; }
.s2 { top: 64%; left: 30%;   --s: 16px; --t: 4s;  --d: -1.5s; }
.s3 { top: 15%; left: 47%;   --s: 14px; --t: 6s;  --d: -3s; }
.s4 { top: 9%;  left: 95%;   --s: 26px; --t: 5.5s; --d: -2s; }
.s5 { top: 38%; left: 97%;   --s: 14px; --t: 4.2s; --d: -.8s; }
.s6 { top: 46%; left: 9%;    --s: 12px; --t: 3.8s; --d: -2.4s; }
.s7 { top: 30%; left: 63%;   --s: 12px; --t: 5.2s; --d: -4s; }
.s8 { top: 90%; left: 78%;   --s: 18px; --t: 4.8s; --d: -1s; }

@keyframes twinkle {
  0%, 100% { transform: scale(.55) rotate(0deg); opacity: .35; }
  50%      { transform: scale(1) rotate(12deg); opacity: 1; }
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: relative;
  z-index: 20;
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px var(--pad-x) 0;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-star {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 10px rgba(210, 198, 255, .55));
  animation: star-breathe 6s ease-in-out infinite;
}

@keyframes star-breathe {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(8deg) scale(1.04); }
}

.brand-word {
  font: 600 19px/1 var(--f-display);
  letter-spacing: .02em;
  background: linear-gradient(180deg, #fff 0%, #d5cfe8 70%, #a8a1c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  font: 500 14px/1 var(--f-display);
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  color: var(--text-2);
  text-decoration: none;
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}

.nav a + a::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dim);
  transform: translateY(-50%);
}

.nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav a.is-active { color: #fff; background: rgba(203, 189, 255, .12); }

.ext { width: 12px; height: 12px; opacity: .7; }

.burger { display: none; }

/* ------------------------------------------------------------------ page */

.page {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 22px;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: clamp(380px, calc(100svh - 440px), 560px);
  display: flex;
  align-items: center;
  padding: 36px 0 30px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-roles {
  margin: 0 0 10px;
  font: 500 15px/1.2 var(--f-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero-roles i { font-style: normal; color: var(--dim); margin: 0 .35em; }

.hero-title {
  margin: 0;
  display: inline-block;
  font: 600 clamp(38px, 4.6vw, 70px)/1.04 var(--f-display);
  letter-spacing: -.005em;
  padding-right: .06em;
  background: linear-gradient(178deg, #ffffff 0%, #ece8f7 34%, #a39cbd 52%, #f4f1ff 70%, #bfb8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(160, 140, 255, .22));
}

.hero-sub {
  margin: 14px 0 30px;
  font: 400 clamp(19px, 1.9vw, 28px)/1.25 var(--f-body);
  color: var(--text-2);
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  height: calc(100% + 140px);
  left: 36%;
  right: calc(var(--pad-x) * -1);
  pointer-events: none;
  container-type: size;
}

.hero-photo {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
}

.hero-art {
  position: absolute;
  z-index: 3;
  right: -2.5%;
  top: 0;
  height: 76%;
  /* арт не должен заезжать на лицо: лицо заканчивается на ~0.74 высоты фото от левого края,
     арт шириной 0.892 своей высоты прижат к правому краю */
  height: max(0px, min(76cqh, calc((100cqw - 73.6cqh - 24px) / 0.892)));
  width: auto;
  max-width: none;
  filter: saturate(.9) drop-shadow(0 18px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 36px rgba(150, 130, 240, .22));
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 14px/1 var(--f-display);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn .ico { width: 22px; height: 22px; flex-shrink: 0; }
.btn .arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-glass {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, .14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -10px rgba(160, 140, 255, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 36px -10px rgba(170, 150, 255, .75); }

.btn-twitch { min-height: 56px; padding: 0 28px; }

.btn-primary {
  color: #120f1c;
  background: linear-gradient(180deg, #ffffff 0%, #e3dcff 55%, #c6b8ff 100%);
  box-shadow: inset 0 -2px 0 rgba(90, 70, 170, .25), 0 12px 32px -12px rgba(190, 170, 255, .9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 -2px 0 rgba(90, 70, 170, .25), 0 18px 40px -12px rgba(190, 170, 255, 1); }

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .03);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.btn-outline:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-outline .heart { width: 20px; height: 20px; color: #fff; }

.btn-wide { width: 100%; min-height: 60px; }

/* ------------------------------------------------------------------ cards */

.cards {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  margin-top: 6px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 136px;
  padding: 20px 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 40px -24px rgba(0, 0, 0, .8);
  text-decoration: none;
  isolation: isolate;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}

.card::before {
  /* блик по верхней кромке */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, .12), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: var(--glass-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 30px 50px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(203, 189, 255, .08), 0 0 40px -10px rgba(170, 150, 255, .35);
}

.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.card-ico { width: 34px; height: 34px; color: #f2efff; }
.card-num { font: 500 14px/1 var(--f-display); color: var(--text-2); letter-spacing: .04em; }

.card-title {
  font: 600 clamp(17px, 1.45vw, 21px)/1.1 var(--f-display);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
}
.card-sub { margin-top: 6px; padding-right: 44px; font-size: 14px; line-height: 1.35; color: var(--muted); }

.card-go {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  transition: background .25s, color .25s, transform .3s var(--ease);
}
.card-go svg { width: 18px; height: 18px; }
.card:hover .card-go { background: #fff; color: #120f1c; transform: translateX(2px); }

/* персонаж выглядывает из-за карточки */
.card-peek {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 100%;
  height: var(--peek-h, 190px);
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}
.card-peek img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--peek-w, 78%);
  max-width: none;
  transform: translate(-50%, 102%);
  transition: transform .6s var(--ease);
  filter: drop-shadow(0 -6px 18px rgba(0, 0, 0, .5));
}
.card:hover .card-peek img,
.card.is-pinged .card-peek img { transform: translate(-50%, var(--peek-y, 46%)); }

#card-about   { --peek-w: 104%; --peek-y: 38%; --peek-h: 150px; }
#card-career  { --peek-w: 80%;  --peek-y: 50%; }
#card-music   { --peek-w: 66%;  --peek-y: 62%; }
#card-support { --peek-w: 80%;  --peek-y: 50%; }

/* «пинг» — подсветка нужной области при клике в меню */
.is-pinged {
  border-color: rgba(214, 203, 255, .75) !important;
  animation: ping-glow 1.1s var(--ease) 2;
}
.is-pinged::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid rgba(214, 203, 255, .9);
  pointer-events: none;
  animation: ping-ring 1.1s var(--ease) 2;
}

@keyframes ping-glow {
  0%   { box-shadow: 0 0 0 0 rgba(190, 170, 255, .0), inset 0 1px 0 rgba(255, 255, 255, .15); }
  35%  { box-shadow: 0 0 46px 6px rgba(190, 170, 255, .55), inset 0 0 30px rgba(203, 189, 255, .18); }
  100% { box-shadow: 0 0 22px 0 rgba(190, 170, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .15); }
}
@keyframes ping-ring {
  0%   { transform: scale(1); opacity: .95; }
  100% { transform: scale(1.06, 1.18); opacity: 0; }
}

/* ------------------------------------------------------------------ connect */

.connect {
  position: relative;
  z-index: 3;
  margin-top: clamp(14px, 1.8vw, 22px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px 28px 22px 34px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .9);
  scroll-margin-bottom: 40px;
}

.connect-title {
  margin: 0 0 12px;
  font: 600 17px/1 var(--f-display);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #f1eeff;
}

.mail-row { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.mail-row .ico { width: 22px; height: 22px; color: #fff; flex-shrink: 0; }
.mail { font-size: 16px; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.mail:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }

.connect-socials {
  display: flex;
  gap: 14px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  min-height: 52px;
  align-items: center;
}

.round-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.round-ico svg { width: 22px; height: 22px; }
.round-ico:hover { transform: translateY(-3px); background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .06)); box-shadow: 0 10px 26px -8px rgba(180, 160, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }

.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.copy-btn svg { width: 18px; height: 18px; }
.copy-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: var(--line-2); }
.copy-btn.is-done { color: #b8f5cf; border-color: rgba(150, 240, 190, .5); }

.foot {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--dim);
}

/* ------------------------------------------------------------------ sheets (dialogs) */

dialog.sheet {
  width: min(1120px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
dialog.sheet-sm { width: min(940px, calc(100vw - 40px)); }

dialog.sheet::backdrop {
  background: rgba(7, 6, 12, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

dialog.sheet[open] .sheet-frame { animation: sheet-in .45s var(--ease); }
dialog.sheet[open]::backdrop { animation: fade-in .35s ease; }

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.sheet-frame {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 48px);
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(150, 130, 235, .16), transparent 60%),
    linear-gradient(180deg, rgba(27, 23, 41, .96), rgba(13, 11, 21, .97));
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .1);
  overflow: hidden;
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px 18px 26px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.sheet-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(203, 189, 255, .08);
  font: 600 14px/1 var(--f-display);
  color: var(--accent);
  flex-shrink: 0;
}

.sheet-title {
  margin: 0;
  font: 600 24px/1.1 var(--f-display);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.sheet-kicker { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.sheet-close {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .3s var(--ease);
}
.sheet-close svg { width: 20px; height: 20px; }
.sheet-close:hover { background: rgba(255, 255, 255, .14); transform: rotate(90deg); }

.sheet-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(203, 189, 255, .3) transparent;
}

.sheet-body { padding: 28px clamp(20px, 3vw, 36px) 34px; }

/* ------------------------------------------------------------------ prose */

.prose { font-size: 16px; line-height: 1.62; color: var(--text-2); }
.prose p { margin: 0 0 14px; }
.prose strong { color: #fff; font-weight: 700; }
.prose .hl {
  color: #fff;
  background: linear-gradient(180deg, transparent 58%, rgba(170, 150, 255, .38) 58%);
  padding: 0 2px;
}
.prose a:not(.btn):not(.tag-link) {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(203, 189, 255, .4);
  transition: border-color .2s, color .2s;
  word-break: break-word;
}
.prose a:not(.btn):not(.tag-link):hover { color: #fff; border-color: #fff; }

.prose .q {
  margin: 26px 0 12px;
  font: 600 15px/1.25 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.prose .q:first-child { margin-top: 0; }

.prose .lead { font-size: 17px; color: var(--text); }
.prose .note { font-size: 13px; color: var(--dim); }
.prose .rules {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 15px;
}
.prose .outro { font: 600 16px/1.4 var(--f-display); color: #fff; }

.tag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-bottom: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05);
  font: 600 12px/1 var(--f-display);
  letter-spacing: .12em;
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}
.tag-link:hover { background: rgba(255, 255, 255, .14); }

.phrases {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 16px;
}
.phrases-label { font-size: 14px; color: var(--muted); margin-right: 2px; }
.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(203, 189, 255, .2), rgba(203, 189, 255, .07));
  border: 1px solid rgba(203, 189, 255, .3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ about */

.about-top {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.about-gif {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), 0 0 0 4px rgba(203, 189, 255, .06);
  aspect-ratio: 16 / 9;
  background: #000;
}
.about-gif video { width: 100%; height: 100%; object-fit: cover; }
.about-gif figcaption {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 8, 16, .65);
  backdrop-filter: blur(6px);
  font: 700 11px/1 var(--f-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5c8a;
  box-shadow: 0 0 0 0 rgba(255, 92, 138, .7);
  animation: live 1.6s ease-out infinite;
}
@keyframes live {
  0%   { box-shadow: 0 0 0 0 rgba(255, 92, 138, .7); }
  100% { box-shadow: 0 0 0 8px rgba(255, 92, 138, 0); }
}

.art-about { width: 100%; max-width: 620px; justify-self: end; margin-bottom: -22px; }

.prose-cols { column-count: 2; column-gap: 48px; }
.prose-cols > * { break-inside: avoid; }
.prose-cols .q { break-after: avoid; }

/* ------------------------------------------------------------------ career */

.collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(70px, 8vw, 104px);
  gap: 10px;
  margin-bottom: 30px;
}
.collage .c {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #111;
}
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .4s;
  filter: saturate(.92);
}
.collage .c:hover img { transform: scale(1.04); filter: saturate(1.05); }
.c1 { grid-column: 1 / span 7; grid-row: span 3; }
.c2 { grid-column: 8 / span 5; grid-row: span 2; }
.c2 img { object-position: 45% 30%; }
.c3 { grid-column: 8 / span 5; grid-row: span 2; }
.c3 img { object-position: 50% 62%; }
.c4 { grid-column: 1 / span 4; grid-row: span 1; }
.c4 img { object-position: 50% 55%; }
.c5 { grid-column: 5 / span 3; grid-row: span 1; }

.career-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(203, 189, 255, .55), rgba(203, 189, 255, .12));
}
.timeline li {
  position: relative;
  padding: 0 0 18px 32px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--accent);
}
.timeline time {
  display: inline-block;
  margin-bottom: 4px;
  font: 600 12px/1 var(--f-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.timeline p { margin: 0; font-size: 15px; line-height: 1.58; color: var(--text-2); }

.timeline li.peak {
  margin-top: 4px;
  padding: 16px 16px 16px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(203, 189, 255, .16), rgba(203, 189, 255, .04));
  border: 1px solid rgba(203, 189, 255, .32);
}
.timeline li.peak::before {
  top: 21px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(203, 189, 255, .2), 0 0 18px rgba(203, 189, 255, .8);
}
.timeline li.peak p { color: #fff; }

.career-foot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 24px 26px 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--glass);
  overflow: hidden;
}
.career-foot-text { padding-bottom: 26px; }
.career-foot-text p { margin: 0 0 14px; color: var(--text-2); }
.career-foot .btn { text-transform: none; letter-spacing: 0; font-weight: 600; }
.art-career { width: 230px; flex-shrink: 0; margin-bottom: -2px; }

/* ------------------------------------------------------------------ split sheets: music / support / haters */

.sheet-split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.split-art { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.split-art::before {
  content: "";
  position: absolute;
  inset: 12% 6% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(170, 150, 255, .3), transparent);
  filter: blur(10px);
}
.split-art img { position: relative; max-height: 520px; width: auto; object-fit: contain; }

.eq { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-bottom: 16px; }
.eq i { width: 4px; height: 12px; border-radius: 2px; background: var(--accent); animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -.2s; }
.eq i:nth-child(2) { animation-delay: -.7s; }
.eq i:nth-child(3) { animation-delay: -.4s; }
.eq i:nth-child(4) { animation-delay: -.9s; }
.eq i:nth-child(5) { animation-delay: -.1s; }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 26px; } }

#sheet-music .lead { margin-bottom: 26px; }

.donate { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.donate-item {
  display: grid;
  gap: 12px;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
}
.donate-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.donate-name { font: 600 14px/1.2 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.donate-note { font-size: 13px; color: var(--muted); }
.badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(80, 200, 160, .14);
  border: 1px solid rgba(80, 200, 160, .35);
  color: #a6f0d3;
  font: 700 11px/1 var(--f-display);
  letter-spacing: .08em;
}
.donate-item .btn { justify-self: start; min-height: 44px; padding: 0 20px; }

.copy-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--line);
}
.copy-field code {
  flex: 1;
  font: 500 16px/1.4 ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: .04em;
  color: #fff;
  user-select: all;
}
.copy-field code.wrap { font-size: 13.5px; letter-spacing: .01em; word-break: break-all; }

.haters { align-items: start; }
.split-art.portrait { position: sticky; top: 0; align-self: start; }
.split-art.portrait::before { display: none; }
.split-art.portrait img {
  border-radius: 22px;
  max-height: 560px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 35%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 50% 35%, #000 55%, transparent 100%);
}

.point {
  margin: 18px 0 0;
  padding: 16px 18px 4px;
  border-radius: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  background: rgba(255, 255, 255, .025);
}
.point p { margin-bottom: 12px; font-size: 15px; }
.prose .point-claim { font: 600 16px/1.35 var(--f-display); color: #fff; }
.prose .alert { color: #fff; font-weight: 700; }

/* ------------------------------------------------------------------ toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(24, 20, 36, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
  font: 600 14px/1 var(--f-display);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .25s, transform .35s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1180px) {
  .site-header { gap: 20px; }
  .nav a { padding: 10px 10px; }
  .hero-visual { left: 30%; }
}

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-peek { display: none; }
  .hero { min-height: 460px; }
  .hero-visual { left: 26%; top: 34px; height: calc(100% + 60px); }
  .hero-art { right: -3%; top: 12%; }
  .connect { grid-template-columns: minmax(0, 1fr) auto; }
  .connect .btn-support { grid-column: 1 / -1; justify-self: start; }
  .career-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  .site-header { justify-content: space-between; padding-top: 16px; }

  .burger {
    display: inline-grid;
    align-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
  }
  .burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--pad-x);
    right: var(--pad-x);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--line-2);
    background: rgba(20, 17, 30, .94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav a { padding: 14px 16px; border-radius: 12px; }
  .nav a + a::before { display: none; }

  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 20px 0 8px;
  }
  .hero-copy { text-align: center; max-width: none; }
  .hero-sub { margin-bottom: 22px; }
  .hero-visual {
    position: relative;
    inset: auto;
    order: -1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
    mask-image: linear-gradient(180deg, #000 80%, transparent);
    height: min(86vw, 520px);
    margin: -10px calc(var(--pad-x) * -1) -40px;
  }
  .hero-photo { left: 50%; transform: translateX(-44%); height: 100%; }
  .hero-art { right: -6%; top: 18%; height: 74%; }
}

@media (max-width: 640px) {
  .brand-star { width: 38px; height: 38px; }
  .brand-word { font-size: 16px; }
  .hero-roles { font-size: 12px; letter-spacing: .06em; }
  .hero-visual { height: 100vw; margin-bottom: -56px; }
  .hero-photo { transform: translateX(-40%); }
  .hero-art { right: -14%; top: 30%; height: 62%; }
  .btn-twitch { width: 100%; }

  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { min-height: 0; padding: 16px 14px 54px; }
  .card-ico { width: 28px; height: 28px; }
  .card-sub { padding-right: 0; font-size: 13px; }
  .card-go { right: 12px; bottom: 12px; width: 30px; height: 30px; }

  .connect { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .connect-socials { padding-left: 0; border-left: 0; }
  .connect .btn-support { width: 100%; }
  .connect-title { font-size: 15px; letter-spacing: .26em; }

  dialog.sheet, dialog.sheet-sm {
    width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
  }
  .sheet-frame { max-height: 100dvh; height: 100%; border-radius: 0; border: 0; }
  .sheet-head { padding: 14px 14px 12px 16px; gap: 12px; }
  .sheet-num { width: 40px; height: 40px; border-radius: 12px; }
  .sheet-title { font-size: 20px; }
  .sheet-body { padding: 20px 16px 40px; }

  .about-top { grid-template-columns: 1fr; gap: 14px; }
  .art-about { justify-self: center; margin-bottom: -22px; }
  .prose-cols { column-count: 1; }

  .collage { grid-auto-rows: 64px; gap: 6px; }
  .c1 { grid-column: 1 / -1; grid-row: span 3; }
  .c2 { grid-column: 1 / span 6; grid-row: span 3; }
  .c3 { grid-column: 7 / span 6; grid-row: span 3; }
  .c4 { grid-column: 1 / span 6; grid-row: span 2; }
  .c5 { grid-column: 7 / span 6; grid-row: span 2; }

  .career-foot { flex-direction: column; align-items: stretch; padding: 20px 18px 0; }
  .career-foot-text { padding-bottom: 0; }
  .career-foot .btn { width: 100%; font-size: 12.5px; padding: 0 14px; }
  .art-career { width: 180px; align-self: center; }

  .sheet-split { grid-template-columns: 1fr; gap: 18px; }
  .split-art img { max-height: 300px; }
  .split-art.portrait { position: relative; }
  .split-art.portrait img { max-height: 340px; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 8.5vw; }
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 16px 16px 16px 14px;
  }
  .card-top { grid-row: 1 / span 2; grid-column: 1; margin: 0; justify-content: center; }
  .card-ico { width: 30px; height: 30px; }
  .card-num { display: none; }
  .card-title { grid-column: 2; align-self: end; font-size: 17px; }
  .card-sub { grid-column: 2; align-self: start; margin-top: 3px; }
  .card-go { position: static; grid-column: 3; grid-row: 1 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}
