/* ==========================================================================
   Echo Signal — site styles
   Single stylesheet, no build step, no external font or CSS dependencies.
   Sections: tokens, reset, splash, layout, nav, components, pages, utilities.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  /* Surface ramp — near-black with a cold violet cast rather than pure grey. */
  --bg:        #08080a;
  --bg-raised: #0e0e12;
  --bg-inset:  #131319;

  /* Ink ramp */
  /* Contrast ratios below are measured against --bg-raised (#0e0e12), the
     worst case, since cards sit on it. All clear WCAG AA (4.5:1) for normal
     text — --ink-faint is used at small sizes for badges and meta, so it
     cannot be dimmer than this however much the mood might want it to be. */
  --ink:       #e4e0da;  /* headings / primary   14.9:1 */
  --ink-body:  #b8b3bd;  /* body copy             9.4:1 */
  --ink-muted: #8d8798;  /* secondary meta        5.6:1 */
  --ink-faint: #7e788b;  /* badges, captions      4.5:1 */

  /* The logo is strictly monochrome — light mark on dark ground — so the brand
     furniture stays greyscale. The accent is reserved for interactive state
     only, and is drawn from the cold blue stage/night lighting that runs
     through the band photography and album art. */
  --accent:      #8fb6da;
  --accent-dim:  #5f7f9e;
  --accent-glow: rgba(143, 182, 218, 0.10);

  /* Brand marks — never tinted. */
  --logo: #f2f0ec;

  /* Lockup proportions, measured off the printed shirt artwork: the wordmark's
     cap height is ~21% of the mark's diameter, sitting ~6% below it. A heavy
     grotesque caps at roughly 0.72em, so font-size ≈ 0.21 / 0.72 of the mark.
     Anywhere the mark and wordmark appear together, size the type from the
     mark using these — never pick a font-size independently, or the two drift
     out of balance the way they did before the logo viewBox was trimmed. */
  --lockup-word: 0.30;   /* wordmark font-size ÷ mark size */
  --lockup-gap:  0.06;   /* space beneath the mark ÷ mark size */

  --line:        rgba(228, 224, 218, 0.10);
  --line-strong: rgba(228, 224, 218, 0.20);

  /* Type — system stacks only; zero webfont requests. */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --measure: 68ch;
  --wrap-max: 1080px;
  --section-y: clamp(3.5rem, 9vw, 7rem);

  --radius: 2px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font);
  font-size: clamp(1.075rem, 1rem + 0.2vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--ink); }

/* Focus: always visible, never removed. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}
:focus:not(:focus-visible) { outline: none; }

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

/* --- Utilities ---------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100%;
  z-index: 999;
  padding: 0.7rem 1.1rem;
  background: var(--bg-inset);
  color: var(--ink);
  border: 1px solid var(--accent);
  text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap-max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.note {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-muted);
  border-left: 2px solid var(--line-strong);
  padding-left: 1rem;
  margin: 1.75rem 0 0;
}

/* ==========================================================================
   Splash
   Hidden by default. Only shown when JS confirms it is safe and wanted, so
   no-JS and reduced-motion users get the normal site with zero flash.
   ========================================================================== */
#splash { display: none; }

.splash-on #splash {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  will-change: opacity;
  animation: splash-out 0.8s linear both;
}

.splash-on #splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.splash-on #splash { --mark: 66vw; }

.splash-mark-wrap {
  position: relative;
  z-index: 1;
  animation: splash-mark-wrap .8s cubic-bezier(0.12, 0.0, 0.08, 1) both;
}

.splash-on #splash .splash-mark {
  width: var(--mark);
  height: auto;
  animation: splash-mark .8s cubic-bezier(0.12, 0.0, 0.08, 1) both;
}

/* Note: deliberately no `overflow: hidden` on body here. The splash is a
   fixed full-viewport layer, so it already covers the page; locking scroll
   would strand the user if the animation never fired. */
/* .splash-on .site-header,
.splash-on .site-main { animation: fade-up 0.6s var(--ease) 1.25s both; } */

@keyframes splash-mark {
  0% { opacity: 0; transform: scale(0.82); }
  20% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.2); }
}

@keyframes splash-mark-wrap {
  0% { transform: scale(0.82); filter: none; }
  20% { transform: scale(1); filter: none; }
  100% { transform: scale(2.2); filter: none; }
}
@keyframes splash-out {
  0% { opacity: 1; visibility: visible; }
  50% { opacity: 1; visibility: visible; }
  72% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes splash-overlay-fade {
  0% { opacity: 1; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes splash-mark-wrap {
  0% { transform: scale(0.82); filter: none; }
  50% { transform: scale(1); filter: none; }
  100% { transform: scale(3); filter: none; }
}

@keyframes splash-mark {
  0% { opacity: 0; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   Header / navigation
   No JS. On narrow screens the list scrolls horizontally instead of
   collapsing into a toggle, which keeps every link reachable by keyboard.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 10, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand { --mark: 34px; }
.brand__mark { width: var(--mark); height: var(--mark); flex-shrink: 0; }
/* Heavy, tight, all caps, as printed. Sized from the mark rather than chosen
   independently — though held slightly above the strict lockup ratio, which
   would put this at ~10px and make the site title uncomfortably small beside
   the nav links. */
.brand__word {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { color: #fff; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 1.9rem);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav__list::-webkit-scrollbar { display: none; }

.nav__list a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

@media (max-width: 800px) {
  .site-header__inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .hamburger {
    display: inline-flex;
    margin-left: auto;
  }

  .top-menu {
    order: 3;
    width: 100%;
  }

  .nav__list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 0.75rem;
    overflow: visible;
  }

  .nav__list a {
    padding: 0.55rem 0;
    border-bottom: 0;
  }

  .menu-toggle:checked ~ .top-menu .nav__list {
    display: flex;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(4rem, 14vh, 8rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, var(--accent-glow), transparent 70%),
    var(--bg);
  overflow: hidden;
}

/* Mark and wordmark are one lockup, so both derive from a single size — see
   --lockup-word above. Capped against viewport width because the wordmark,
   which scales with the mark, is what would overflow first. */
.hero { --mark: min(34vw, 240px); }

.hero__mark {
  width: var(--mark);
  height: auto;
  margin-inline: auto;
}

.hero__title {
  margin: calc(var(--mark) * var(--lockup-gap)) 0 0;
  font-size: calc(0.6 * var(--mark) * var(--lockup-word));
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--logo);
  line-height: 1.05;
}

.hero__tagline {
  margin: 1.5rem auto 0;
  max-width: 46ch;
  color: var(--ink-muted);
}

.hero__meta {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ==========================================================================
   Buttons / link-tree
   ========================================================================== */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { border-color: var(--accent); background: var(--accent-glow); color: var(--ink); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #14101c; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #14101c; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Link-tree grid on the home page */
.linktree {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.linktree a {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1.35rem 1.5rem;
  background: var(--bg-raised);
  text-decoration: none;
  color: var(--ink-body);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.linktree a:hover { background: var(--bg-inset); color: var(--ink); }
.linktree svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.linktree .linktree__label {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.linktree .linktree__sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-faint);
}

/* ==========================================================================
   Page shell / section headings
   ========================================================================== */
.site-main { display: block; }
.section { padding-block: var(--section-y); }
.section + .section { padding-top: 0; }

.page-head {
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.page-head p {
  max-width: var(--measure);
  margin-bottom: 0;
  color: var(--ink-muted);
}

.section__title {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.prose { max-width: var(--measure); }
.prose p { color: var(--ink-body); }

/* ==========================================================================
   Members
   ========================================================================== */
.members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 205px), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.member {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  padding: 1.4rem 1.3rem;
}
.member__name { margin: 0 0 0.3rem; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.member__role {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}
.member--former .member__name { color: var(--ink-muted); }
.member__tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.8rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
}

/* Influence tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.tags li {
  padding: 0.3rem 0.8rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

/* ==========================================================================
   Releases
   ========================================================================== */
.releases { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.release {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-raised);
}
.release__art {
  width: 84px; height: 84px;
  object-fit: cover;
  background: var(--bg-inset);
  border: 1px solid var(--line);
}
.release__title { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 500; }
.release__title a { color: var(--ink); text-decoration: none; }
.release__title a:hover { color: var(--accent); text-decoration: underline; }
.release__meta { margin: 0; font-size: 0.95rem; color: var(--ink-muted); }
.release__badge {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}

/* Track list inside a <details> so it costs nothing until opened. */
.release__tracks { margin-top: 0.9rem; }
.release__tracks summary {
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dim);
  padding: 0.2rem 0;
}
.release__tracks summary:hover { color: var(--accent); }
.release__tracks ol {
  margin: 0.75rem 0 0;
  padding-left: 1.4rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.release__tracks li { padding: 0.15rem 0; }
/* Track rows carry a duration when one is published; the name and time sit at
   opposite ends with the time tabular so the column stays aligned. */
.release__tracks li:has(.track-len) {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.release__tracks .track-len {
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .release { grid-template-columns: 64px 1fr; }
  .release__art { width: 64px; height: 64px; }
  .release__badge { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   Shows
   ========================================================================== */
.shows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }

.show {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 1.25rem;
  padding: 1.35rem 1.25rem;
  background: var(--bg-raised);
}
.show__date { text-align: center; }
.show__month {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.show__day { display: block; font-size: 1.6rem; font-weight: 300; color: var(--ink); line-height: 1.1; }
.show__year { display: block; font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--ink-faint); }
.show__venue { margin: 0 0 0.2rem; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.show__place { margin: 0; font-size: 0.95rem; color: var(--ink-muted); }
.show__bill { margin: 0.35rem 0 0; font-size: 0.95rem; color: var(--ink-faint); }
.show__badge {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
  align-self: start;
}
.show__flyer { margin-top: 0.9rem; }
.show__flyer img { width: 100%; max-width: 220px; border: 1px solid var(--line); }

.empty {
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--ink-muted);
}
.empty strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 0.4rem; }

@media (max-width: 560px) {
  .show { grid-template-columns: 64px 1fr; }
  .show__badge { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery a {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  transition: border-color 0.18s var(--ease);
}
.gallery a:hover { border-color: var(--accent-dim); }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease), opacity 0.18s var(--ease);
}
.gallery a:hover img { transform: scale(1.03); }


/* --- Lightbox (native <dialog>) ----------------------------------------- */
#lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#lightbox::backdrop { background: rgba(4, 4, 6, 0.93); }

.lightbox__inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(1rem, 5vw, 3rem);
}
#lightbox img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
}
.lightbox__caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 60ch;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 1;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { border-color: var(--accent); background: var(--bg-inset); }

.lightbox__close {
  top: 1rem; right: 1rem;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Step controls. Hidden by JS when there is only one image to look at. */
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* On narrow screens the arrows would sit on top of the image, so drop them to
   the bottom corners where the caption area gives them room. */
@media (max-width: 600px) {
  .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
}

/* ==========================================================================
   Connect
   ========================================================================== */
.connect {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.connect a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  height: 100%;
  background: var(--bg-raised);
  text-decoration: none;
  color: var(--ink-body);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.connect a:hover { background: var(--bg-inset); color: var(--ink); }
.connect svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.connect__label { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.1em; }
.connect__handle { display: block; margin-top: 0.1rem; font-size: 0.75rem; color: var(--ink-faint); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: var(--section-y);
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.95rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }

/* --- Forced-colors / high-contrast -------------------------------------- */
@media (forced-colors: active) {
  .btn, .linktree a, .connect a, .member, .release, .show { border: 1px solid CanvasText; }
  .nav__list a[aria-current="page"] { border-bottom: 2px solid Highlight; }
}
