/* =========================================================
   Nick Scotney · itsnockdj
   One page, two identities. body[data-side] = gate | dev | nock
   ========================================================= */

:root {
  /* Developer palette — calm, paper and ink */
  --dev-bg: #f6f5f1;
  --dev-surface: #ffffff;
  --dev-ink: #16181d;
  --dev-muted: #5d636f;
  --dev-line: #e3e1da;
  --dev-accent: #0f766e;
  --dev-accent-soft: #e2f1ef;

  /* Music palette — lifted from the nock artwork */
  --nock-bg: #07041a;
  --nock-surface: rgba(255, 255, 255, 0.045);
  --nock-ink: #f1ecff;
  --nock-muted: #a9a0cc;
  --nock-line: rgba(196, 167, 255, 0.16);
  --nock-violet: #a855f7;
  --nock-pink: #e879f9;
  --nock-cyan: #38d6f5;

  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --font-display: "Space Grotesk", var(--font-sans);
  --topbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--font-mono); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Theme switching */
body[data-side="dev"]  { --bg: var(--dev-bg);  --ink: var(--dev-ink);  --muted: var(--dev-muted);  --line: var(--dev-line); }
body[data-side="nock"],
body[data-side="gate"] { --bg: var(--nock-bg); --ink: var(--nock-ink); --muted: var(--nock-muted); --line: var(--nock-line); }

.side { display: none; }
body[data-side="dev"]  #dev,
body[data-side="nock"] #nock { display: block; animation: rise .6s var(--ease) both; }
body:not([data-side="gate"]) .gate { display: none; }
body[data-side="gate"] main,
body[data-side="gate"] .footer { display: none; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ===================== Top bar ===================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 16px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.topbar__home {
  justify-self: start;
  font-family: var(--font-mono); font-weight: 600; font-size: 14px;
  text-decoration: none; letter-spacing: .04em; opacity: .8;
}
.topbar__home span { opacity: .4; margin: 0 2px; }
.topbar__home:hover { opacity: 1; }

.switch {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}
.switch__tab {
  position: relative; z-index: 1;
  border: 0; background: none; cursor: pointer;
  padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.switch__tab[aria-selected="true"] { color: #fff; }
.switch__tab:focus-visible { outline: 2px solid var(--nock-cyan); outline-offset: 2px; }
#tab-nock { font-family: var(--font-display); letter-spacing: .02em; }
.switch__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px); border-radius: 999px;
  opacity: 0;
  transition: transform .45s var(--ease), background .45s var(--ease), opacity .3s;
}
body[data-side="dev"]  .switch__pill { opacity: 1; background: var(--dev-ink); transform: translateX(0); }
body[data-side="nock"] .switch__pill {
  opacity: 1; transform: translateX(100%);
  background: linear-gradient(90deg, var(--nock-violet), var(--nock-cyan));
  box-shadow: 0 0 18px rgba(168, 85, 247, .55);
}

/* ===================== Gate (landing) ===================== */
.gate {
  display: flex; min-height: calc(100svh - var(--topbar-h));
}
.gate__half {
  flex: 1; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 6px; padding: 48px clamp(24px, 6vw, 80px);
  border: 0; cursor: pointer; text-align: left;
  transition: flex .7s var(--ease);
}
.gate__half:hover, .gate__half:focus-visible { flex: 1.35; outline: none; }
.gate__half--dev {
  background: var(--dev-bg); color: var(--dev-ink);
  background-image:
    linear-gradient(var(--dev-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dev-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.gate__half--nock {
  color: var(--nock-ink);
  background:
    radial-gradient(circle at 70% 30%, rgba(168,85,247,.35), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(56,214,245,.25), transparent 50%),
    var(--nock-bg);
}
.gate__avatar {
  position: absolute; right: -8%; bottom: -8%;
  width: min(70%, 520px); opacity: .35; border-radius: 50%;
  mask-image: radial-gradient(circle, #000 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.gate__half--nock:hover .gate__avatar { opacity: .6; transform: scale(1.05) rotate(-3deg); }
.gate__half > span { position: relative; }
.gate__kicker { font-family: var(--font-mono); font-size: 14px; opacity: .65; }
.gate__title { font-size: clamp(40px, 6.5vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.gate__half--nock .gate__title {
  font-family: var(--font-display);
  background: linear-gradient(90deg, #fff, var(--nock-pink) 50%, var(--nock-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(168,85,247,.45));
}
.gate__sub { font-size: 18px; opacity: .75; }
.gate__cta {
  margin-top: 24px; font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid currentColor;
  transition: background .3s, color .3s;
}
.gate__half--dev:hover .gate__cta { background: var(--dev-ink); color: var(--dev-bg); border-color: var(--dev-ink); }
.gate__half--nock:hover .gate__cta { background: var(--nock-ink); color: var(--nock-bg); }

/* ===================== Shared bits ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line);
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }

/* ===================== Developer side ===================== */
.side--dev { padding-bottom: 40px; }
.dev-hero { padding: clamp(56px, 10vw, 120px) 0 56px; max-width: 760px; }
.dev-hero__kicker { color: var(--dev-accent); margin: 0 0 12px; font-size: 14px; }
.dev-hero__name { font-size: clamp(44px, 8vw, 84px); line-height: 1; letter-spacing: -.035em; margin: 0; }
.dev-hero__role { font-family: var(--font-mono); font-size: clamp(17px, 2.2vw, 21px); color: var(--dev-muted); margin: 16px 0 0; }
.caret { display: inline-block; width: .55em; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: var(--dev-accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dev-hero__lede { font-size: 18px; color: var(--dev-muted); margin: 24px 0 32px; max-width: 60ch; }
.dev-hero__links { display: flex; flex-wrap: wrap; gap: 10px; }
.side--dev .btn { background: var(--dev-surface); }
.side--dev .btn:hover { border-color: var(--dev-ink); }
.side--dev .btn--solid { background: var(--dev-ink); color: var(--dev-bg); border-color: var(--dev-ink); }
.side--dev .btn--solid svg { fill: none; }
.side--dev .btn--solid:hover { background: var(--dev-accent); border-color: var(--dev-accent); }

.dev-block { padding: 48px 0; border-top: 1px solid var(--dev-line); }
.dev-block__h { font-size: 28px; letter-spacing: -.02em; margin: 0 0 28px; display: flex; align-items: baseline; gap: 14px; }
.dev-block__h .mono { font-size: 14px; color: var(--dev-accent); font-weight: 600; }

.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.skills__group { background: var(--dev-surface); border: 1px solid var(--dev-line); border-left: 4px solid var(--dev-accent); border-radius: var(--radius); padding: 20px; }
.skills__group h3 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--dev-muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--font-mono); font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--dev-accent-soft); color: var(--dev-accent); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__item {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  padding: 24px 0; border-bottom: 1px dashed var(--dev-line);
}
.timeline__item:last-child { border-bottom: 0; }
.timeline__when { margin: 4px 0 0; font-size: 13px; color: var(--dev-muted); }
.timeline__role { margin: 0; font-size: 20px; }
.timeline__org { margin: 2px 0 10px; color: var(--dev-accent); font-weight: 600; }
.timeline__where { color: var(--dev-muted); font-weight: 400; font-size: 14px; }
.timeline__desc { margin: 0; color: var(--dev-muted); max-width: 65ch; }
.timeline__desc + .timeline__points { margin-top: 10px; }
.timeline__points { max-width: 68ch; }
.timeline__points { margin: 0; padding-left: 18px; color: var(--dev-muted); }
.timeline__points li + li { margin-top: 4px; }

.dev-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 40px 0 0; }
.dev-stats div { border-left: 2px solid var(--dev-accent); padding-left: 14px; }
.dev-stats dt { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.dev-stats dd { margin: 0; font-size: 13px; color: var(--dev-muted); }

.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.project {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: var(--dev-surface); border: 1px solid var(--dev-line); border-left: 4px solid var(--dev-accent); border-radius: var(--radius); padding: 20px;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.project:hover { transform: translateY(-3px); border-color: var(--dev-accent); box-shadow: 0 10px 30px -18px rgba(15,118,110,.6); }
.project__top { display: flex; justify-content: space-between; font-size: 12px; color: var(--dev-muted); }
.project__lang { color: var(--dev-accent); font-weight: 600; }
.project strong { font-size: 17px; }
.project > span:last-child { font-size: 14px; color: var(--dev-muted); }

.dev-contact p { color: var(--dev-muted); max-width: 60ch; }
.contact-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(24px, 4vw, 36px);
  background: var(--dev-surface); border: 1px solid var(--dev-line); border-left: 4px solid var(--dev-accent);
  border-radius: var(--radius);
}
.contact-cta > div { flex: 1 1 380px; }
.contact-cta .btn { flex: none; padding: 14px 22px; font-size: 15px; }
.dev-contact .contact-cta__title { margin: 0 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--dev-ink); }
.dev-contact .contact__lead { margin: 0; font-size: 16px; }
.dev-contact .btn--solid svg { fill: currentColor; } /* LinkedIn icon is a filled glyph */
.dev-contact__aside { margin-top: 28px; font-size: 14px; }
.dev-contact .dev-contact__aside a { color: var(--nock-violet); font-weight: 600; text-decoration: none; }

/* ===================== Music side ===================== */
.side--nock { padding-bottom: 48px; }
.nock-hero { position: relative; padding-bottom: 24px; }
.nock-hero__banner {
  height: clamp(160px, 26vw, 300px);
  background-size: cover; background-position: center;
  mask-image: linear-gradient(#000 55%, transparent);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 50% { filter: saturate(1.35) brightness(1.15); } }
.nock-hero__inner {
  display: flex; align-items: flex-end; gap: 28px;
  margin-top: clamp(-110px, -10vw, -60px); position: relative;
}
.nock-hero__avatar {
  width: clamp(110px, 16vw, 168px); height: auto; aspect-ratio: 1; border-radius: 24px; flex: none;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 6px var(--nock-bg), 0 0 50px rgba(168,85,247,.55);
}
.nock-hero__kicker { margin: 0; color: var(--nock-cyan); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nock-hero__name {
  margin: 2px 0 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(56px, 10vw, 112px); line-height: .9; letter-spacing: -.04em;
  background: linear-gradient(90deg, #fff 10%, var(--nock-pink) 55%, var(--nock-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nock-hero__handle { margin: 6px 0 0; font-family: var(--font-mono); color: var(--nock-muted); }
.genres { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.genres li {
  font-size: 13px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--nock-line); background: rgba(168,85,247,.12);
}

.socials {
  list-style: none; padding: 0; margin: 12px 0 32px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.socials a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px;
  background: var(--nock-surface); border: 1px solid var(--nock-line);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.socials svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.socials a:hover, .socials a:focus-visible {
  transform: translateY(-3px); outline: none;
  border-color: var(--brand); background: color-mix(in srgb, var(--brand) 18%, transparent);
  box-shadow: 0 8px 28px -8px var(--brand);
}

.card {
  background: var(--nock-surface); border: 1px solid var(--nock-line);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 28px);
}
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card__more { font-size: 13px; color: var(--nock-muted); text-decoration: none; }
.card__more:hover { color: var(--nock-cyan); }
.nock-h { font-family: var(--font-display); font-size: 22px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.card__head .nock-h { margin: 0; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--nock-pink); box-shadow: 0 0 0 0 var(--nock-pink); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.nock-grid { display: grid; gap: 20px; }

.nock-live { border-color: rgba(145,70,255,.6); box-shadow: 0 0 40px -12px rgba(145,70,255,.7); }
.live-dot--red { background: #ff3b5c; box-shadow: 0 0 0 0 #ff3b5c; }
.nock-live__player { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.nock-live__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nock-live__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
#twitch-uptime:not(:empty)::after { content: " · "; }
.nock-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.nock-about__body { display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: center; }
.nock-about__text { columns: 2; column-gap: 40px; }
.nock-about__text .nock-about__lead { column-span: all; }
.nock-about__text p:last-child { margin-bottom: 0; }
/* Right column matches the height of the Latest set card; the SoundCloud player soaks up the difference */
.nock-side { display: flex; flex-direction: column; gap: 20px; }
.nock-release { flex: 1; display: flex; flex-direction: column; }
.nock-release .soundcloud-frame { flex: 1; min-height: 300px; height: auto; }
.nock-about p { color: var(--nock-muted); margin: 0 0 14px; }
.nock-about__lead { font-size: 20px; color: var(--nock-ink) !important; font-weight: 600; }
.nock-about__sign { color: var(--nock-ink) !important; font-weight: 600; }
.stat-row { display: grid; gap: 12px; }
.stat-link { text-decoration: none; transition: border-color .2s, background .2s; }
.stat-link:hover { border-color: #9146ff !important; background: rgba(145,70,255,.2) !important; }
.stat-row div, .stat-row .stat-link { display: block; padding: 14px; border-radius: 12px; background: rgba(168,85,247,.1); border: 1px solid var(--nock-line); }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--nock-cyan); line-height: 1.1; }
.stat-row span { font-size: 13px; color: var(--nock-muted); }

.latest-set__title { margin: 0; font-weight: 600; font-size: 17px; }
.latest-set__meta { margin: 2px 0 12px; font-size: 13px; color: var(--nock-muted); }
.mixcloud-frame, .soundcloud-frame { display: block; border: 0; border-radius: 10px; background: rgba(0,0,0,.3); }

.tracklist { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--nock-line); }
.tracklist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.tracklist__h { margin: 0; font-family: var(--font-display); font-size: 16px; }
.tracklist__count { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--nock-muted); margin-left: 6px; }
.tracklist__list { list-style: none; margin: 0; padding: 0; counter-reset: trk var(--start, 0); }
.tracklist__list li {
  counter-increment: trk;
  display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: baseline;
  padding: 7px 0; border-bottom: 1px solid rgba(196,167,255,.08); font-size: 14px;
}
.tracklist__list li::before { content: counter(trk, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--nock-violet); }
.tracklist__track { min-width: 0; }
.tracklist__artist { color: var(--nock-ink); font-weight: 600; }
.tracklist__title { color: var(--nock-muted); }
.tracklist__time { font-family: var(--font-mono); font-size: 11px; color: var(--nock-muted); opacity: .8; }
.tracklist__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.tracklist__more > ol { overflow: hidden; }
.tracklist.is-open .tracklist__more { grid-template-rows: 1fr; }
.tracklist__toggle {
  margin-top: 12px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: 10px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--nock-ink);
  background: rgba(168,85,247,.1); border: 1px solid var(--nock-line);
  transition: background .2s, border-color .2s;
}
.tracklist__toggle:hover { background: rgba(168,85,247,.2); border-color: var(--nock-violet); }
.tracklist__toggle:focus-visible { outline: 2px solid var(--nock-cyan); outline-offset: 2px; }
.tracklist__toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tracklist.is-open .tracklist__toggle svg { transform: rotate(180deg); }

.recent__h { margin-top: 24px; }
.recent { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--nock-line); }
.recent li a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--nock-line);
  text-decoration: none; font-size: 14px;
}
.recent li a:hover .recent__name { color: var(--nock-cyan); }
.recent__date { color: var(--nock-muted); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }

.shows { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.upcoming { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.upcoming li a, .upcoming li > div {
  display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: 12px; text-decoration: none;
  border: 1px solid var(--nock-line); background: rgba(255,255,255,.03);
  transition: border-color .2s, background .2s;
}
.upcoming li a:hover { border-color: var(--nock-violet); background: rgba(168,85,247,.12); }
.upcoming__date {
  display: grid; place-items: center; padding: 6px 0; border-radius: 10px; line-height: 1.1;
  background: linear-gradient(160deg, rgba(168,85,247,.35), rgba(56,214,245,.18));
}
.upcoming__date small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--nock-muted); }
.upcoming__date strong { font-family: var(--font-display); font-size: 22px; }
.upcoming__name { display: block; font-weight: 600; }
.upcoming__when { display: block; font-size: 13px; color: var(--nock-muted); }
.upcoming__soon { color: var(--nock-cyan); font-weight: 600; }
.upcoming__empty { margin: 0; color: var(--nock-muted); font-size: 14px; }
.upcoming__empty a { color: var(--nock-cyan); }
.shows a {
  position: relative; display: block; height: 100%; padding: 16px 40px 16px 16px;
  border-radius: 12px; border: 1px solid var(--nock-line); text-decoration: none;
  background: linear-gradient(135deg, rgba(168,85,247,.14), rgba(56,214,245,.06));
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.shows a:hover, .shows a:focus-visible {
  outline: none; transform: translateY(-3px);
  border-color: var(--nock-violet); box-shadow: 0 8px 28px -10px rgba(168,85,247,.7);
}
.shows strong { display: block; }
.shows span { font-size: 13px; color: var(--nock-muted); }
.shows .shows__go {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: var(--nock-violet); transition: transform .25s var(--ease), color .25s;
}
.shows a:hover .shows__go { color: var(--nock-cyan); transform: translate(4px, -50%); }
.btn--glow {
  color: #fff; border: 0;
  background: linear-gradient(90deg, var(--nock-violet), #6d5dfc 50%, var(--nock-cyan));
  box-shadow: 0 6px 30px -6px rgba(168,85,247,.7);
}

/* ===================== Footer ===================== */
.footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer__swap a { text-decoration: none; }
.footer__swap a:hover { color: var(--ink); }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .nock-media, .nock-about__body, .shows { grid-template-columns: 1fr; }
  .nock-about__text { columns: 1; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .socials { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  :root { --topbar-h: 58px; }
  .topbar { grid-template-columns: auto 1fr; gap: 12px; padding: 0 12px; }
  .topbar__spacer { display: none; }
  .switch { justify-self: end; }
  .switch__tab { padding: 7px 12px; font-size: 13px; }
  .gate { flex-direction: column; }
  .gate__half { min-height: 50%; padding: 36px 24px; }
  .gate__half:hover { flex: 1; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; }
  .nock-hero__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .socials li:last-child { grid-column: span 2; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *:not(.caret), *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* The terminal caret only fades on/off (no movement), so keep it blinking. */
}
