/* ---------- Intro: the fogged window ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: radial-gradient(ellipse at 50% 55%, #140509 0%, #030304 64%);
  transition: opacity 1.2s ease, visibility 1.2s;
}
/* with the live window behind it the entrance is only a light vignette over the glass */
.has-gl .intro { background: radial-gradient(ellipse at 50% 42%, transparent 45%, rgba(3, 3, 4, .6) 100%); }
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
/* the page waits behind the glass until you come in, then shows through as the fog settles */
body.is-locked main { opacity: 0; pointer-events: none; }
.intro.is-leaving > * { opacity: 0 !important; transition: opacity .45s ease; }

.intro__meta {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  color: var(--fg-2);
}
/* the finger writes the name on the glass (bg-shader); the heading is there for screen readers and for
   browsers without WebGL */
.intro__name {
  position: absolute;
  top: 36%;
  left: 0;
  right: 0;
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: min(19vw, 30vh);
  line-height: 1;
  text-align: center;
  color: rgba(242, 238, 233, .8);
  transform: translateY(-50%);
}
.has-gl .intro__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.intro__sub {
  position: absolute;
  top: 50%;
  left: var(--gutter);
  right: var(--gutter);
  color: var(--fg-2);
  font-size: clamp(15px, 1.3vw, 19px);
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
  opacity: 0;
  animation: rise 1s var(--ease) 2.4s forwards;
}
.intro__actions {
  position: absolute;
  top: 57%;
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.intro__btn {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 8, 12, .62), rgba(10, 8, 12, .2) 72%);
  color: var(--fg);
  opacity: 0;
  animation: rise 1s var(--ease) 2.6s forwards;
  transition: transform .35s var(--ease), background-color .3s;
}
.intro__btn::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(var(--red-rgb), .22);
  animation: breathe 2.4s ease-in-out infinite;
  pointer-events: none;
}
.intro__btn:hover { transform: scale(1.05); background-color: rgba(var(--red-rgb), .12); }
.intro__btn:active { transform: scale(.97); }
.intro__btn-label { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: .05em; }
.intro__btn-sub { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--red); }
html:not(.has-gl) .intro__btn { border: 1px solid rgba(var(--red-rgb), .7); }

.intro__alt {
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 13px;
  opacity: 0;
  animation: rise 1s var(--ease) 3.3s forwards;
  transition: color .3s;
}
.intro__alt:hover { color: var(--fg); }

.intro__status {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(max(22px, env(safe-area-inset-bottom)) + 34px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  min-height: 1.6em;
  color: var(--fg-2);
  font-size: 12.5px;
}
.intro__status span { display: inline-flex; align-items: center; gap: 8px; animation: rise .7s var(--ease) both; }
.intro__status span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(var(--red-rgb), .8); }
.intro__status .is-bad::before { background: var(--amber); box-shadow: none; }
.intro__hint {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: max(22px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  opacity: 0;
  animation: rise 1s var(--ease) 3.6s forwards;
}
/* very low windows: keep only the name and the way in */
@media (max-height: 540px) {
  .intro__status, .intro__hint { display: none; }
}
@media (max-width: 760px) {
  .intro__name { top: 33%; }
  .intro__sub { top: 42%; }
  .intro__actions { top: 49%; }
  .intro__btn { width: 124px; height: 124px; }
  .intro__btn-label { font-size: 30px; }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px;
  background: linear-gradient(to bottom, rgba(5, 5, 7, .85), transparent);
  transform: translateY(-100%);
  transition: transform .9s var(--ease) .4s, opacity .6s;
}
body.is-live .topbar { transform: none; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--f-name); font-size: 20px; letter-spacing: .08em; }
.brand__owl {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px rgba(var(--red-rgb), .8), 0 0 16px rgba(var(--red-rgb), .35);
  transition: transform .5s var(--ease);
}
.brand:hover .brand__owl { transform: rotate(-12deg) scale(1.08); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2);
  transition: color .3s;
}
.nav a:hover { color: var(--red); }
.topbar__status { color: var(--muted); display: flex; align-items: center; }

.topbar__progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 10px rgba(var(--red-rgb), .8);
  will-change: transform;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--gutter) calc(var(--hud-h) + 44px);
}

.hero__kicker { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: var(--fg-2); }
.hero__greet::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; vertical-align: .12em; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(var(--red-rgb), .9); animation: breathe 2s ease-in-out infinite; }
.hero__door { color: var(--red); font-size: 13px; transition: opacity .6s; }
.hero__door.is-open { opacity: 0; }

.hero__stage { position: relative; margin: clamp(22px, 4.5vh, 48px) 0 clamp(30px, 5vh, 60px); }

.hero__name {
  --ab: 0;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-name);
  font-weight: 400;
  font-size: clamp(56px, 20vw, 340px);
  line-height: .92;
  letter-spacing: 0;
  text-transform: uppercase;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.hero__name span {
  position: relative;
  z-index: 0;
  display: inline-block;
  cursor: pointer;
  transform-origin: 50% 100%;
  will-change: transform;
}
/* chromatic split: static colour copies slid by transform, no text-shadow repaint */
.hero__name span::before,
.hero__name span::after {
  content: attr(data-l);
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: min(1, calc(var(--ab) * .2));
  pointer-events: none;
  will-change: transform, opacity;
}
.hero__name span::before { color: rgba(var(--red-rgb), .95); transform: translateX(calc(var(--ab) * -1px)); }
.hero__name span::after { color: rgba(255, 180, 90, .75); transform: translateX(calc(var(--ab) * 1px)); }
.hero__name span.is-hit { color: var(--red); transition: color 0s; }
.hero__name span:not(.is-hit) { transition: color .6s; }

.hero__scope {
  position: absolute;
  z-index: 0;
  left: calc(var(--gutter) * -1);
  width: calc(100% + var(--gutter) * 2);
  top: 50%;
  height: 120%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* three short tips under the name */
.hero__tips {
  position: absolute;
  right: 0;
  bottom: -36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--muted);
}
.hero__tips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__tips svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hint-touch { display: none; }
@media (hover: none) {
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: end;
}
.hero__lead { font-size: clamp(24px, 2.5vw, 38px); line-height: 1.15; letter-spacing: -.015em; font-weight: 600; max-width: 22ch; color: var(--fg); }
.hero__lead-sub { margin: 14px 0 10px; color: var(--muted); font-size: 14px; }
.hero__projects { display: grid; max-width: 560px; border-top: 1px solid var(--line); }
.hero__projects a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease), color .3s;
}
.hero__projects b { font-family: var(--f-display); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: .02em; }
.hero__projects span { color: var(--muted); font-size: 14px; }
.hero__projects svg { width: 18px; height: 18px; align-self: center; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.hero__projects a:hover { padding-left: 10px; color: var(--red); }
.hero__projects a:hover span { color: var(--fg-2); }
.hero__projects a:hover svg { transform: translateX(6px); }

.hero__side { display: grid; gap: 16px; justify-items: stretch; width: min(100%, 470px); justify-self: end; }
.hero__cta { display: flex; gap: 10px; }
.hero__cta .btn { flex: 1 1 auto; gap: 8px; padding: 0 16px; letter-spacing: .1em; white-space: nowrap; }
.hero__cta .btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* the song on the first screen: cover, what is playing, one big button */
.mini {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas: "cover meta play" "bar bar bar" "time time time";
  align-items: center;
  gap: 10px 14px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(242, 238, 233, .1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 20, 28, .78), rgba(9, 8, 12, .86));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.mini__cover { grid-area: cover; position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #0d0b10; box-shadow: 0 0 0 1px rgba(242, 238, 233, .1); }
.mini__cover canvas, .mini__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini__cover img { opacity: 0; transition: opacity .6s; }
.mini__cover.has-art img { opacity: 1; }
.mini.is-playing .mini__cover:not(.has-art) canvas { animation: spin 5s linear infinite; }
.mini__meta { grid-area: meta; display: grid; gap: 2px; min-width: 0; }
.mini__state { color: var(--red); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; }
.mini__title { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__artist { color: var(--muted); font-size: 13px; }
.mini__play {
  grid-area: play;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #ff5b67, var(--red) 55%, #b50f1d);
  box-shadow: 0 10px 26px rgba(var(--red-rgb), .45), 0 0 0 calc(var(--beat) * 7px) rgba(var(--red-rgb), .16);
  transition: transform .25s var(--ease);
}
.mini__play:hover { transform: scale(1.07); }
.mini__play svg { width: 22px; height: 22px; fill: currentColor; }
.mini__play .icon-pause, .mini.is-playing .mini__play .icon-play { display: none; }
.mini.is-playing .mini__play .icon-pause { display: block; }
.mini__bar { grid-area: bar; position: relative; height: 4px; border-radius: 4px; background: rgba(242, 238, 233, .12); overflow: hidden; }
.mini__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), #ff5a50); transform-origin: 0 50%; transform: scaleX(0); }
.mini__time { grid-area: time; display: flex; align-items: center; justify-content: space-between; margin-top: -2px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini__time .track__eq { height: 14px; }

/* ---------- Bands: three rows, each in a frame of drops drawn by the shader ---------- */
.bands__list { display: grid; gap: clamp(30px, 4vw, 56px); }
.band {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
  padding: clamp(32px, 3.8vw, 50px) clamp(26px, 3.4vw, 52px);
}
.band--bass { --v: var(--bass); }
.band--mid { --v: var(--mid); }
.band--high { --v: var(--high); }
/* the middle row steps in a little: an uneven rhythm, not a template grid */
.band--mid .band__body { padding-left: clamp(0px, 7vw, 110px); }
.band__side { display: grid; gap: 12px; }
/* a live picture of the band: speaker cone, voice line or cymbal sparks (js/bandviz.js) */
.band__viz { display: block; width: 100%; height: clamp(130px, 12.5vw, 190px); }
.band__range { font-size: 13px; color: var(--muted); }
.band__range b { margin-right: 6px; color: var(--red); font-weight: 600; }
.band__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 3.6vw, 54px); line-height: 1; text-transform: uppercase; }
.band__text { max-width: 60ch; margin: 14px 0 12px; color: var(--fg-2); font-size: clamp(16px, 1.2vw, 18px); }
.band__stack { color: var(--muted); font-size: 14px; }
.band__stack a { color: var(--fg-2); border-bottom: 1px solid rgba(var(--red-rgb), .5); transition: color .3s, border-color .3s; }
.band__stack a:hover { color: var(--red); border-color: var(--red); }

/* ---------- Contact ---------- */
.contact { padding-top: clamp(56px, 9vh, 112px); padding-bottom: clamp(64px, 10vh, 120px); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

/* incoming call: rings when the block comes into view */
.incoming {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: clamp(40px, 7vw, 120px);
  padding: 44px 28px 30px;
  text-align: center;
}
/* the frame is the phone's body: it buzzes and rings out in waves of its own shape */
.incoming__frame {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(242, 238, 233, .14);
  border-radius: 36px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(var(--red-rgb), .12), transparent 60%),
    linear-gradient(180deg, rgba(24, 19, 27, .72), rgba(8, 7, 11, .82));
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .5s, box-shadow .5s;
}
.incoming__frame i {
  position: absolute;
  inset: -1px;
  border: 1.5px solid rgba(var(--red-rgb), .55);
  border-radius: inherit;
  opacity: 0;
}
.incoming.is-ringing .incoming__frame i { animation: frame-ring 2.1s cubic-bezier(.2, .6, .3, 1) infinite; }
.incoming.is-ringing .incoming__frame i:nth-child(2) { animation-delay: .35s; }
@keyframes frame-ring { 0% { transform: scale(1); opacity: .8; } 55%, 100% { transform: scale(1.14, 1.09); opacity: 0; } }
.incoming.is-ringing { animation: phone-buzz 2.1s linear infinite; }
@keyframes phone-buzz {
  0%, 18%, 100% { transform: none; }
  2%, 8%, 14% { transform: translate(-2px, 0) rotate(-.6deg); }
  5%, 11%, 17% { transform: translate(2px, 0) rotate(.6deg); }
}
.incoming.is-call .incoming__frame {
  border-color: rgba(var(--red-rgb), .45);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 calc(12px + var(--bass) * 40px) rgba(var(--red-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.incoming.is-ended .incoming__frame { border-color: rgba(242, 238, 233, .08); }
/* a capsule sits on the top edge of the frame, like a notch */
.incoming__pill {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(242, 238, 233, .14);
  border-radius: 999px;
  background: #0c0a10;
  color: var(--fg-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  transform: translate(-50%, -50%);
}
.incoming__pill b { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.incoming.is-ringing .incoming__pill b { background: var(--red); animation: breathe 1s ease-in-out infinite; }
.incoming.is-call .incoming__pill b { background: #4ade80; }
.incoming__ava {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ff6a74, #c3121f 58%, #3d0710);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 70px rgba(var(--red-rgb), .28);
  transform: scale(calc(1 + var(--beat) * .035));
  transition: filter .6s, opacity .6s;
}
.incoming__ava span { position: relative; font-family: var(--f-name); font-size: 62px; line-height: 1; color: #fff; }
.incoming__ava img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), .85), 0 0 0 7px rgba(var(--red-rgb), .16);
}
.incoming__ava i {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(var(--red-rgb), .7);
  border-radius: 50%;
  opacity: 0;
}
.incoming.is-ringing .incoming__ava i { animation: callwave 2.1s cubic-bezier(.2, .6, .3, 1) infinite; }
.incoming.is-ringing .incoming__ava i:nth-child(2) { animation-delay: .7s; }
.incoming.is-ringing .incoming__ava i:nth-child(3) { animation-delay: 1.4s; }

.incoming.is-ended .incoming__ava { filter: saturate(.2) brightness(.7); }
@keyframes callwave { from { transform: scale(1); opacity: .85; } to { transform: scale(2.15); opacity: 0; } }
@keyframes buzz {
  0%, 22%, 100% { transform: none; }
  3%, 9%, 15% { transform: translateX(-3px) rotate(-4deg); }
  6%, 12%, 18% { transform: translateX(3px) rotate(4deg); }
}
.incoming__who { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.incoming__state { min-height: 1.5em; color: var(--muted); font-size: 14px; }
.incoming.is-ringing .incoming__state { color: var(--fg-2); }
.incoming__actions { display: flex; gap: clamp(36px, 4vw, 56px); margin-top: 18px; }
.incoming__btn { display: grid; justify-items: center; gap: 8px; color: var(--fg-2); font-size: 13px; }
.incoming__ic {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transition: transform .25s var(--ease), box-shadow .3s;
}
.incoming__ic svg { width: 26px; height: 26px; fill: currentColor; }
.incoming__btn--decline .incoming__ic { background: var(--red); color: #fff; }
.incoming__btn--decline .incoming__ic svg { transform: rotate(135deg); }
.incoming__btn--answer .incoming__ic { background: var(--fg); color: #0b0a0f; }
.incoming__btn:hover .incoming__ic { transform: scale(1.08); }
.incoming.is-ringing .incoming__btn--answer .incoming__ic { animation: answer 1.05s ease-in-out infinite; }
@keyframes answer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 238, 233, .35); }
  50% { box-shadow: 0 0 0 12px rgba(242, 238, 233, 0); }
}
.incoming:not(.is-ringing):not(.is-call) .incoming__btn--decline { opacity: .35; pointer-events: none; }
.incoming .incoming__eq { display: none; height: 16px; margin-left: 10px; vertical-align: middle; }
.incoming.is-call .incoming__eq { display: inline-flex; }
.incoming.is-call .incoming__btn--answer { display: none; }
.incoming.is-call .incoming__ava { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 calc(6px + var(--bass) * 14px) rgba(var(--red-rgb), .14), 0 24px 70px rgba(var(--red-rgb), .35); }
.incoming.is-call .incoming__state { color: var(--fg); font-variant-numeric: tabular-nums; }
.incoming__state { font-variant-numeric: tabular-nums; }
.contact__recents { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.contact__badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(var(--red-rgb), .55);
}
.contact__badge.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.contact__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(60px, 12vw, 200px);
  line-height: .9;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.contact__lead { color: var(--fg-2); font-size: clamp(17px, 1.6vw, 21px); margin-bottom: clamp(32px, 5vw, 56px); }

.calls { display: grid; border-top: 1px solid var(--line); }
.call {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.call__main {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  min-width: 0;
  padding: clamp(18px, 2.2vw, 30px) 4px;
}
.call__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--red-rgb), .12);
  color: var(--red);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.call__icon svg { width: 24px; height: 24px; fill: currentColor; }
.call__arcs { stroke: #140b10; stroke-width: 1.7; stroke-linecap: round; }
.call:hover .call__icon { background: var(--red); color: #fff; transform: scale(1.06); }
/* the name is an outline; on hover it fills left to right like a line of the song being sung */
.call__name {
  flex: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 6.2vw, 100px);
  line-height: .95;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(242, 238, 233, .55);
  background: linear-gradient(90deg, transparent 33.4%, var(--red) 35.5%, var(--red) 64.5%, transparent 66.6%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position .8s var(--ease), -webkit-text-stroke-color .4s;
}
.call:hover .call__name, .call__main:focus-visible .call__name { background-position: 50% 0; -webkit-text-stroke-color: var(--red); }
.calls.is-sung .call__name { animation: sing 1.5s var(--ease) backwards; animation-delay: calc(var(--k, 0) * .45s + .2s); }
@keyframes sing {
  0% { background-position: 100% 0; }
  45%, 62% { background-position: 50% 0; -webkit-text-stroke-color: var(--red); }
  100% { background-position: 0% 0; }
}
.call__count {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 13px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  align-self: flex-start;
  margin-top: 6px;
}
.call__count[hidden] { display: none; }
.call__go { flex: none; display: grid; color: var(--red); opacity: 0; transform: translate(-12px, 12px); transition: opacity .4s, transform .5s var(--ease); }
.call__go svg { width: clamp(24px, 2.4vw, 38px); height: clamp(24px, 2.4vw, 38px); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.call:hover .call__go { opacity: 1; transform: none; }
.call__info { display: grid; justify-items: end; gap: 6px; margin-left: auto; min-width: 0; text-align: right; }
.call__handle { font-family: var(--f-mono); color: var(--fg-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.call__time { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 12px; }
.call__miss { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.call--answered .call__time { color: var(--muted); }
.call.is-logged .call__info { animation: logged .9s var(--ease); }
@keyframes logged { 30% { transform: translateX(-6px); color: #fff; } }
.call__copy {
  margin-left: clamp(14px, 2vw, 28px);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  transition: color .3s, border-color .3s, background-color .3s;
}
.call__copy:hover { color: var(--fg); border-color: rgba(var(--red-rgb), .6); background: rgba(var(--red-rgb), .12); }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px var(--gutter) calc(var(--hud-h) + 36px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
/* keyboard hints mean nothing on a phone */
@media (hover: none) {
  .footer__keys { display: none; }
}

/* ---------- Cover in the player ---------- */
.hud__cover {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d0b10;
  box-shadow: 0 0 0 1px rgba(242, 238, 233, .1);
}
.hud__cover canvas, .hud__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hud__cover img { opacity: 0; transition: opacity .6s; }
.hud__cover.has-art img { opacity: 1; }
.hud.is-playing .hud__cover:not(.has-art) canvas { animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

/* concert mode: the "now playing" card takes over, the bottom player steps away */
body.is-concert .hud { opacity: 0; pointer-events: none; transform: translate(-50%, 160%); transition: transform .6s var(--ease), opacity .4s; }

/* ---------- Subtitles: the song's current line above the player ---------- */
.subs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--hud-h) + max(12px, env(safe-area-inset-bottom)) + 22px);
  z-index: 35;
  height: 0;
  pointer-events: none;
}
.subs__line {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max-content;
  max-width: min(92vw, 900px);
  padding: 8px 18px 9px;
  border-radius: 14px;
  background: rgba(8, 7, 11, .86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(242, 238, 233, .06);
  font-family: var(--f-body);
  font-weight: 800;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -.01em;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity .35s ease, transform .5s var(--ease);
  cursor: pointer;
}
.subs__line.is-in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.subs__line.is-out { opacity: 0; transform: translate(-50%, -18px); }
.subs .kw {
  --f: 0;
  background: linear-gradient(90deg, #fff 0 47%, rgba(242, 238, 233, .42) 53% 100%);
  background-size: 200% 100%;
  background-position: calc((1 - var(--f)) * 100%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.is-concert .subs { display: none; }
.hud__subs {
  display: none;
  flex: none;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  color: var(--muted);
  transition: color .3s, border-color .3s;
}
body.has-lyrics .hud__subs { display: block; }
.hud__subs.is-on { color: var(--fg); border-color: rgba(242, 238, 233, .45); }

/* ---------- HUD player ---------- */
.hud {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(calc(100% - 24px), 1100px);
  height: var(--hud-h);
  padding: 0 10px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(22, 19, 28, .94), rgba(10, 9, 14, .94));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  transform: translate(-50%, 160%);
  transition: transform 1s var(--ease) .6s;
}
body.is-live .hud { transform: translate(-50%, 0); }
.hud::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 44px rgba(var(--red-rgb), .45);
  opacity: calc(var(--beat) * .6);
  pointer-events: none;
  will-change: opacity;
}

.hud__play {
  flex: none;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #0a0000;
  transition: background-color .3s, transform .2s;
}
.hud__play:hover { background: var(--fg); }
.hud__play:active { transform: scale(.94); }
.hud__play svg { width: 20px; height: 20px; fill: currentColor; }
.hud__play .icon-pause { display: none; }
.hud.is-playing .icon-play { display: none; }
.hud.is-playing .icon-pause { display: block; }

.hud__meta { display: grid; min-width: 0; width: 160px; flex: none; line-height: 1.25; }
.hud__title { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud__artist { color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hud__wave { flex: 1; min-width: 60px; height: 36px; cursor: pointer; touch-action: none; border-radius: 6px; }
.hud__time { flex: none; color: var(--muted); font-size: 11px; letter-spacing: .06em; min-width: 92px; text-align: center; }

.hud__vol { flex: none; display: flex; align-items: center; }
.hud__vol input { width: 84px; accent-color: var(--red); }

.hud__door, .hud__load {
  flex: none;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  color: var(--muted);
  transition: color .3s, border-color .3s;
}
.hud__door.is-on { color: var(--red); border-color: rgba(var(--red-rgb), .5); }
.hud__load { display: none; color: var(--amber); border-color: rgba(255, 180, 90, .5); }
.hud.is-missing .hud__load { display: block; }
.hud__concert {
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--fg-2);
  transition: color .3s, border-color .3s;
}
.hud__concert svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hud__concert:hover { color: var(--red); border-color: rgba(var(--red-rgb), .5); }
.hud__spec { flex: none; width: 72px; height: 32px; }

/* ---------- Drop + toast + Luna ---------- */
.drop {
  position: fixed; inset: 12px;
  z-index: 70;
  display: grid; place-items: center;
  padding: 24px;
  border: 2px dashed rgba(var(--red-rgb), .8);
  border-radius: 24px;
  background: rgba(5, 5, 7, .8);
  backdrop-filter: blur(6px);
  color: var(--red);
  text-align: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.drop.is-on { opacity: 1; visibility: visible; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--hud-h) + 28px);
  z-index: 80;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid rgba(var(--red-rgb), .5);
  border-radius: 12px;
  background: rgba(12, 11, 16, .94);
  color: var(--fg);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.luna {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  top: 76px;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: min(340px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(160, 130, 255, .45);
  border-radius: 16px 16px 16px 4px;
  background: linear-gradient(135deg, rgba(40, 26, 70, .95), rgba(14, 10, 26, .95));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(140, 110, 255, .25);
  transform: translateX(calc(100% + 40px));
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.luna.is-on { transform: none; }
.luna__ava {
  flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d9ccff, #7b5cff 60%, #2a1a5e);
  color: #120a2a;
  font-weight: 700;
}
.luna__text { font-size: 14px; line-height: 1.45; color: #e9e3ff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hud__vol, .hud__spec { display: none; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .topbar__status { margin-left: auto; }
  .hero { padding-top: 84px; }
  .hero__kicker { flex-direction: column; gap: 6px; }
  .hero__row { grid-template-columns: 1fr; }
  .hero__side { width: 100%; justify-self: stretch; }
  .hero__cta .btn { flex: 1; padding: 0 12px; letter-spacing: .08em; font-size: 11px; white-space: nowrap; }
  .hero__tips { position: static; justify-content: flex-start; margin-top: 16px; gap: 6px 16px; font-size: 12px; }
  .hero__stage { margin-bottom: 26px; }
  .hero__lead { font-size: 24px; }
  .hero__projects a { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .hero__projects b { font-size: 18px; }
  .hero__projects span { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .band { grid-template-columns: 1fr; gap: 10px; padding: 28px 20px 26px; }
  .band--mid .band__body { padding-left: 0; }
  .band__viz { height: 120px; }
  .call__main { flex-wrap: wrap; gap: 8px 14px; padding: 18px 0; }
  .call__icon { width: 44px; height: 44px; }
  .call__name { font-size: clamp(34px, 10vw, 48px); }
  .call__go { display: none; }
  .call__info { width: 100%; justify-items: start; margin-left: 58px; text-align: left; }
  .call__copy { position: relative; width: 44px; height: 44px; margin-left: 8px; padding: 0; font-size: 0; }
  .call__copy::before {
    content: "";
    position: absolute; left: 50%; top: 50%;
    width: 13px; height: 13px;
    margin: -5px 0 0 -8px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    box-shadow: 4px -4px 0 -1.5px var(--bg), 4px -4px 0 0 currentColor;
  }
  .hud { gap: 8px; }
  .hud__meta { width: auto; flex: 0 1 108px; }
  .hud__time, .hud__door { display: none; }
  .hud__cover { display: none; }
  .hud__subs { width: 36px; padding: 0; font-size: 0; }
  .hud__subs::before { content: "Аа"; font-size: 12px; letter-spacing: 0; text-transform: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .contact__main { display: contents; }
  .contact__recents { order: 1; }
  .contact__title { order: 2; }
  .contact__lead { order: 3; margin-bottom: 0; }
  .incoming {
    order: 4;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 4px 18px;
    margin-top: 12px;
    padding: 26px 18px 18px;
    text-align: left;
  }
  .incoming__frame { border-radius: 26px; }
  .incoming__ava { grid-row: span 3; width: 76px; height: 76px; margin: 0; }
  .incoming__ava span { font-size: 36px; }
  .incoming__who { font-size: 20px; }
  .incoming__actions { gap: 22px; margin-top: 8px; }
  .incoming__btn { grid-auto-flow: column; align-items: center; gap: 8px; }
  .incoming__ic { width: 46px; height: 46px; }
  .incoming__ic svg { width: 20px; height: 20px; }
  .calls { order: 5; }
  .subs__line { font-size: clamp(17px, 4.6vw, 21px); padding: 6px 14px; }
  .footer { flex-direction: column; }
  .luna { top: auto; bottom: calc(var(--hud-h) + 28px); }
}
