/* ==================================================
   BEIRAMÁQUINA v2 — EMISSORA
   dark editorial rules · video hero/footer · static cuts
   Fraunces + Space Mono
   ================================================== */
:root {
  --bg: #0e0d0b;
  --bone: #ece5d7;
  --dim: #968f81;
  --pink: #eb31c5;
  --cream: #f0d29c;
  --rule: rgba(236,229,215,.92);
  --rule-soft: rgba(236,229,215,.22);
  --serif: 'Fraunces', serif;
  --mono: 'Space Mono', monospace;
  --gut: clamp(20px, 4.8vw, 66px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; }
.pink { color: var(--pink); }
::selection { background: var(--pink); color: #000; }

.grain {
  position: absolute; inset: 0;
  background-image: url('../shared/assets/tex_grain.png');
  background-size: 260px;
  opacity: .07; mix-blend-mode: screen;
  pointer-events: none;
  animation: grainBoil .56s steps(1) infinite;
}
@keyframes grainBoil {
  0%    { background-position:   0px   0px; }
  12.5% { background-position: -13px   7px; }
  25%   { background-position:   9px -18px; }
  37.5% { background-position: -22px  -5px; }
  50%   { background-position:  17px  14px; }
  62.5% { background-position:  -8px  21px; }
  75%   { background-position:  24px -11px; }
  87.5% { background-position: -19px -23px; }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* static cut canvas */
#static {
  position: fixed; inset: 0; z-index: 200;
  width: 100vw; height: 100vh;
  opacity: 0; pointer-events: none;
  mix-blend-mode: screen;
}

/* CRT scanlines + tube vignette (from the rádio fantasma) */
.scanlines {
  position: fixed; inset: 0; z-index: 190;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.30) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  opacity: .55;
}
.vignette {
  position: fixed; inset: 0; z-index: 191;
  pointer-events: none;
  background: radial-gradient(ellipse 110% 105% at 50% 50%, transparent 58%, rgba(0,0,0,.5) 100%);
}
@media (prefers-reduced-motion: reduce) { .scanlines { display: none; } }

/* rolling tube sweep — one slow bright band, barely there */
.scanlines::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 26vh;
  background: linear-gradient(to bottom, transparent, rgba(236,229,215,.045), transparent);
  animation: sweep 7.5s linear infinite;
}
@keyframes sweep { from { top: -30vh; } to { top: 110vh; } }
@media (prefers-reduced-motion: reduce) { .scanlines::after { animation: none; opacity: 0; } }

/* ---------- chrome ---------- */
/* soft scrim under the difference-blended bar so section rules
   passing beneath it never collide with the nav */
.bar-scrim {
  position: fixed; inset: 0 0 auto 0; z-index: 59;
  height: 108px; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(14,13,11,.94) 0%, rgba(14,13,11,.88) 46%, rgba(14,13,11,0) 100%);
}
@media (max-width: 620px) { .bar-scrim { height: 132px; } }

.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 14px var(--gut);
  mix-blend-mode: difference; color: #fff;
}
@media (max-width: 620px) {
  .bar { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px var(--gut) 12px; }
  .bar-nav { gap: 16px; flex-wrap: wrap; }
}
.bar-word {
  font-size: 11.5px; letter-spacing: .16em; text-transform: lowercase;
  opacity: .85; transition: opacity .22s ease;
}
.bar-word:hover { opacity: 1; }
.bar-nav { display: flex; gap: 16px; }
.bar-nav a { position: relative; padding: 5px 6px; }
.bar-nav a::after {
  content: ''; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .3s cubic-bezier(.6,.05,.3,1);
}
.bar-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* botão de idioma */
.lang-toggle {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 4px 9px;
  line-height: 1;
  opacity: .75;
  transition: opacity .22s ease, background .22s ease, color .22s ease;
}
.lang-toggle:hover, .lang-toggle:focus-visible { opacity: 1; background: rgba(255,255,255,.18); }

/* alvos de toque: em telas sem cursor, tudo que é clicável ganha
   área suficiente sem mudar o desenho (só cresce o padding) */
@media (pointer: coarse) {
  .bar-nav { gap: 10px; }
  .bar-nav a { padding: 11px 7px; }
  .bar-word { padding: 10px 0; }
  .lang-toggle { padding: 8px 11px; }
  .vid-arrow { width: 42px; height: 42px; }
  .foot-links a { padding: 10px 0; }
  .sec-rule a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .lb-close { padding: 10px 0 10px 14px; margin: -10px 0; }
  .rel-stream { padding: 15px 14px; }
  .tr-btn { min-height: 56px; }
}

/* alvo mínimo de 24px em qualquer ponteiro (WCAG 2.5.8) */
.bar-word { display: inline-block; padding: 4px 0; }
.sec-rule a { display: inline-block; padding: 5px 0; margin: -5px 0; }
.foot-links a { display: inline-block; padding: 4px 0; }

/* foco visível e consistente para navegação por teclado */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex; flex-direction: column;
  padding: 88px var(--gut) 22px;
  border-bottom: 2px solid var(--rule);
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}
.hero-unicorn { position: absolute; inset: 0; }
.hero-unicorn > div { width: 100%; height: 100%; }
.hero-unicorn canvas { width: 100% !important; height: 100% !important; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,13,11,.88) 0%, rgba(14,13,11,.28) 42%, rgba(14,13,11,.30) 100%);
}
.hero-row, .hero-foot {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--rule);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
@media (max-width: 620px) {
  .hero-row span:nth-child(2), .hero-foot span:nth-child(3) { display: none; }
  .hero-sig { width: min(300px, 78vw, 34vh); }
  /* as duas pontas têm de caber numa linha só */
  .hero-row, .hero-foot { font-size: 10px; letter-spacing: .03em; gap: 10px; }
  .hero-row span, .hero-foot span { white-space: nowrap; }
}
@media (max-width: 380px) {
  .hero-row, .hero-foot { font-size: 9px; letter-spacing: .02em; }
}
.hero-foot { border-bottom: 0; border-top: 1px solid var(--rule); padding: 13px 0 0; margin-top: auto; }
.hero-core {
  position: relative; z-index: 3;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 0;
}
.hero-title { display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-weight: 620;
  font-variation-settings: 'opsz' 144;
  /* escala por largura E altura para a composição inteira caber na dobra */
  font-size: clamp(38px, min(9.6vw, 11vh), 138px);
  line-height: .88;
  letter-spacing: -.025em;
  text-transform: uppercase;
  /* --sp is driven by scroll velocity in JS: chromatic split */
  --sp: 0px;
  text-shadow:
    0 2px 30px rgba(0,0,0,.45),
    var(--sp) 0 rgba(235,49,197,.55),
    calc(var(--sp) * -1) 0 rgba(240,210,156,.45);
}
.ht-line {
  display: block; overflow: hidden; text-align: center;
  /* espaço para os acentos não serem cortados pela máscara do reveal */
  padding-top: .14em; margin-top: -.14em;
}
.ht-line.it { font-style: italic; font-weight: 350; }
.hero-sig {
  /* sobreposta ao BEIRAMÁQUINA tipográfico */
  position: absolute;
  left: 50%; top: 50%;
  width: min(580px, 64vw, 56vh);
  transform: translate(-50%, -52%) rotate(-4deg);
  z-index: 5;
  pointer-events: none;
}
.hero-sig svg { filter: drop-shadow(0 6px 30px rgba(0,0,0,.72)); }

/* ---------- section rules (the divider system) ---------- */
.sec-rule {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 15px var(--gut);
  border-bottom: 1px solid var(--rule);
  color: var(--dim);
}

/* ---------- releases ---------- */
.rel { border-bottom: 2px solid var(--rule); }

.rel-title-band {
  padding: 26px 0 20px;
  overflow: hidden;
  user-select: none;
}
.rel-tape { display: flex; width: max-content; will-change: transform; }
.rel-title {
  flex: 0 0 auto;
  font-size: clamp(38px, 6vw, 96px);
  font-weight: 540;
  font-variation-settings: 'opsz' 144;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-transform: uppercase;
  padding-right: .5em;
  white-space: nowrap;
}
.rel-title em { font-style: italic; font-weight: 330; }
.rel-title i { font-style: normal; color: var(--dim); font-weight: 380; font-size: .5em; vertical-align: .28em; padding: 0 .12em; }


/* glitch tear as a release title enters */
.rel-title.tear { animation: tear .42s steps(3) 1; }
@keyframes tear {
  0%   { transform: none; }
  30%  { transform: translateX(-7px) skewX(2.2deg); text-shadow: 6px 0 rgba(235,49,197,.7), -6px 0 rgba(240,210,156,.5); }
  60%  { transform: translateX(5px) skewX(-1.4deg); text-shadow: -4px 0 rgba(235,49,197,.6), 4px 0 rgba(240,210,156,.4); }
  100% { transform: none; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .rel-title.tear { animation: none; } }

.rel-grid {
  display: grid; grid-template-columns: minmax(300px, 42%) 1fr;
  margin-top: 26px;
  border-top: 1px solid var(--rule);
}
.rel-left {
  position: relative;
  padding: 26px var(--gut) 40px;
  border-right: 1px solid var(--rule);
}
.rel-left .sticky { position: sticky; top: 24px; }

/* capa: fantasma cromático no hover */
.rel-cover { position: relative; }
.rel-cover img { width: 100%; }
.rel-cover .ghost {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; mix-blend-mode: screen;
  transform: translateX(4px);
  filter: hue-rotate(45deg);
  transition: opacity .35s ease;
  pointer-events: none;
}
.rel-cover:hover .ghost { opacity: .45; }

/* bandcamp player themed to the panel: dark bgcol + accent linkcol are set
   on the embed URL (data.js); here it gets the matching frame */
.rel-player {
  margin-top: 22px;
  position: relative;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.rel-player iframe {
  width: 100%; border: 0; background: transparent; display: block;
}
.rel-stream {
  display: block;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid var(--rule-soft);
  color: var(--bone);
  text-align: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.rel-stream:hover { background: var(--bone); color: var(--bg); border-color: var(--bone); }
.rel-credits { margin-top: 18px; font-family: var(--mono); font-size: 11px; line-height: 1.75; color: var(--dim); }
.rel-credits p + p { margin-top: 9px; }

/* track rows */
.rel-right { display: flex; flex-direction: column; }
.tr-head {
  display: grid; grid-template-columns: 64px 1fr 96px;
  padding: 12px var(--gut) 12px clamp(16px, 2.4vw, 34px);
  border-bottom: 1px solid var(--rule);
  color: var(--dim);
}
.tr-row { border-bottom: 1px solid var(--rule-soft); }
.tr-row:last-child { border-bottom: 0; }
.tr-btn {
  display: grid; grid-template-columns: 64px 1fr 96px;
  align-items: baseline;
  width: 100%; text-align: left;
  padding: 19px var(--gut) 19px clamp(16px, 2.4vw, 34px);
  transition: background .25s ease;
}
.tr-btn .num { font-family: var(--mono); font-size: 11px; color: var(--dim); transition: color .25s; }
.tr-btn .name {
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 480;
  font-variation-settings: 'opsz' 60;
  transition: color .25s, font-style 0s;
}
.tr-btn .tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--dim); text-align: right; transition: color .25s; }
.tr-btn:hover, .tr-row.open .tr-btn { background: rgba(236,229,215,.05); }
.tr-btn:hover .name, .tr-row.open .name { font-style: italic; }
.tr-btn:hover .num, .tr-btn:hover .tag,
.tr-row.open .num, .tr-row.open .tag { color: var(--cream); }

.tr-panel { overflow: hidden; height: 0; }
.tr-panel-inner { padding: 6px var(--gut) 30px clamp(80px, 7vw, 98px); max-width: 900px; }
.tr-lyrics { columns: 2; column-gap: 44px; }
.tr-lyrics p {
  break-inside: avoid;
  font-style: italic; font-weight: 360;
  font-size: 15.5px; line-height: 1.68;
  white-space: pre-line;
  margin-bottom: 13px;
}
.tr-lyrics .inst { font-style: normal; color: var(--dim); }
.tr-cr { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; line-height: 1.7; color: var(--dim); white-space: pre-line; }
.tr-video { max-width: 520px; margin-bottom: 14px; }
.tr-video iframe { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--rule-soft); background: #000; }

@media (max-width: 900px) {
  .rel-grid { grid-template-columns: 1fr; }
  .rel-left { border-right: 0; border-bottom: 1px solid var(--rule); }
  .rel-left .sticky { position: static; }
  .tr-lyrics { columns: 1; }
  .tr-panel-inner { padding-left: var(--gut); }
}

/* ---------- vídeos: trilho horizontal ---------- */
.videos { border-bottom: 2px solid var(--rule); position: relative; }
.videos .sec-rule { gap: 20px; }

.vid-nav { display: flex; align-items: center; gap: 10px; }
.vid-arrow {
  width: 30px; height: 30px;
  border: 1px solid var(--rule-soft);
  color: var(--bone);
  font-family: var(--mono); font-size: 12px; line-height: 1;
  display: grid; place-items: center;
  transition: background .22s ease, color .22s ease, border-color .22s ease, opacity .22s ease;
}
.vid-arrow:hover:not(:disabled) { background: var(--bone); color: var(--bg); border-color: var(--bone); }
.vid-arrow:disabled { opacity: .25; cursor: default; }
.vid-count {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em;
  color: var(--dim); min-width: 56px; text-align: center;
  font-variant-numeric: tabular-nums;
}

.vid-rail {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--gut);
  padding: 26px var(--gut) 34px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline: none;
}
.vid-rail::-webkit-scrollbar { display: none; }
.vid-rail:focus-visible { box-shadow: inset 0 0 0 1px var(--rule-soft); }

.vid {
  flex: 0 0 clamp(224px, 23vw, 296px);
  scroll-snap-align: start;
  padding: 0 18px 0 0;
  margin-right: 18px;
  text-align: left;
  border-right: 1px solid var(--rule-soft);
}
.vid:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.vid-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--rule-soft);
}
.vid-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(.82);
  transition: filter .45s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.vid:hover .vid-frame img,
.vid:focus-visible .vid-frame img { filter: grayscale(.1) contrast(1.02) brightness(1); transform: scale(1.05); }

/* solid disc keeps the glyph readable over any thumbnail */
.vid-play {
  position: absolute; left: 11px; bottom: 11px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bone); color: var(--bg);
  display: grid; place-items: center;
  font-size: 10px; padding-left: 2px;
  transition: transform .3s ease, background .3s ease;
}
.vid:hover .vid-play { transform: scale(1.08); background: #fff; }

.vid-title {
  margin-top: 13px;
  font-size: 15.5px; line-height: 1.3; font-weight: 470;
  font-variation-settings: 'opsz' 40;
  transition: font-style 0s;
}
.vid:hover .vid-title { font-style: italic; }
.vid-meta {
  margin-top: 7px;
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 10px; color: var(--dim);
}
.vid-empty { padding: 40px var(--gut); font-family: var(--mono); font-size: 12px; color: var(--dim); }

@media (max-width: 700px) {
  .videos .sec-rule { flex-wrap: wrap; row-gap: 12px; }
  .vid { flex-basis: 74vw; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8,7,6,.95);
  display: grid; place-items: center;
  padding: var(--gut);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lb-inner { width: min(1060px, 100%); }
.lb-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid var(--rule-soft);
}
.lb-head p { color: var(--bone); }
.lb-head p em {
  display: block; margin-top: 6px;
  font-family: var(--serif); font-size: 14px; font-style: italic;
  text-transform: none; letter-spacing: 0; color: var(--dim);
}
.lb-close { color: var(--dim); transition: color .22s ease; white-space: nowrap; }
.lb-close:hover { color: var(--pink); }
.lb-frame { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--rule-soft); }
.lb-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- bio: página de revista ---------- */
.bio { border-bottom: 2px solid var(--rule); position: relative; }
.bio-cols { display: block; }
.bio-col[hidden] { display: none; }

/* mesma gramática de grade dos discos: coluna de dados + corpo do texto */
.bio-col {
  display: grid;
  grid-template-columns: minmax(190px, 24%) 1fr;
}

.bio-aside {
  padding: 40px var(--gut) 60px;
  border-right: 1px solid var(--rule);
}
.bio-aside .sticky { position: sticky; top: 96px; }
.bio-aside .lang-tag {
  font-size: 11px; color: var(--pink);
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.bio-meta { font-size: 10.5px; line-height: 1.9; color: var(--bone); }
.bio-meta.dim { color: var(--dim); }
.bio-glyph {
  margin-top: 26px;
  font-family: var(--mono); font-size: 12px; line-height: 1.5;
  color: var(--rule-soft); letter-spacing: .12em;
}

.bio-body {
  padding: 40px var(--gut) 70px;
  columns: 2;
  column-gap: clamp(28px, 3.6vw, 60px);
  column-rule: 1px solid var(--rule-soft);
  orphans: 3; widows: 3;
}
.bio-body p {
  margin-bottom: 16px;
  font-weight: 380; font-size: 16px; line-height: 1.62;
  color: #d9d2c4;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.bio-body p:last-child { margin-bottom: 0; }

/* capitular da abertura */
.bio-body .lede::first-letter {
  font-size: 4.1em; float: left; line-height: .82;
  padding: 5px 10px 0 0; font-weight: 620; color: var(--pink);
}

/* citação atravessa as duas colunas, como quebra de matéria */
.bio-body .pull {
  column-span: all;
  margin: 12px 0 26px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-style: italic;
  font-size: clamp(22px, 2.9vw, 40px);
  line-height: 1.18; font-weight: 380;
  font-variation-settings: 'opsz' 120;
  color: var(--bone);
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 1000px) {
  .bio-col { grid-template-columns: 1fr; }
  .bio-aside {
    border-right: 0; border-bottom: 1px solid var(--rule);
    padding-bottom: 26px;
  }
  .bio-aside .sticky { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
  .bio-aside .lang-tag { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .bio-glyph { display: none; }
}
@media (max-width: 700px) {
  .bio-body { columns: 1; padding-top: 32px; }
  .bio-body p { text-align: left; }
}


/* ---------- footer ---------- */
.foot {
  position: relative;
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 60px var(--gut) 18px;
}
.foot-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9);
}
.foot-scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 55%, rgba(14,13,11,.42) 0%, rgba(14,13,11,.85) 100%);
}
.foot-core { position: relative; z-index: 3; margin: auto 0; }
.foot-mail {
  display: inline-block;
  font-size: clamp(28px, 5.6vw, 92px);
  font-weight: 560;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -.03em;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
  transition: color .3s ease;
}
.foot-mail em { font-style: italic; font-weight: 340; }
.foot-mail:hover { color: var(--pink); }
.foot-links {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center;
  margin: 34px auto 0; max-width: 680px;
  padding: 14px 20px;
}
/* leito escuro atrás dos links: o vídeo do rodapé é claro em alguns
   quadros e os nomes das plataformas sumiam contra ele */
.foot-links::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(8,7,6,.72) 0%, rgba(8,7,6,0) 100%);
  pointer-events: none;
}
.foot-links a {
  position: relative;
  font-size: 12px;
  color: var(--bone);
  text-shadow: 0 1px 3px rgba(0,0,0,.95), 0 2px 14px rgba(0,0,0,.8);
  transition: color .25s ease;
}
.foot-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px;
  background: currentColor; opacity: .28;
  transition: opacity .25s ease;
}
.foot-links a:hover, .foot-links a:focus-visible { color: var(--pink); }
.foot-links a:hover::after { opacity: 1; }
.foot-rule {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--rule);
  padding-top: 13px;
  color: var(--dim);
}

/* ---------- reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); }
  .rv.in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.22,.9,.28,1), transform .9s cubic-bezier(.22,.9,.28,1); }
}
