/* =========================================================
   Portefólio — drum machine
   Tokens de tema: escuro por defeito, claro via data-theme
   (ou pela preferência do sistema, se o JS não correr).
   ========================================================= */

:root {
  --font-lcd: 'VT323', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --font-label: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 9px;
  --gutter: clamp(16px, 3vw, 28px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --type-musica: #ff7a1a;
  --type-video: #2ec4b6;
  --type-fotografia: #b48cff;
}

/* ---------- Tema escuro ---------- */
:root,
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #111214;
  --bg-glow: #1d1e22;
  --panel: #1e1f22;
  --panel-2: #191a1d;
  --panel-edge: #050506;
  --panel-hi: rgba(255, 255, 255, 0.07);
  --ink: #ece8df;
  --ink-dim: #a7a399;
  --engrave: #8f8b83;
  --line: rgba(255, 255, 255, 0.09);
  --card: #232428;
  --card-2: #1b1c1f;
  --accent: #ff7a1a;
  --accent-2: #ff9a4d;
  --accent-ink: #1b0e04;
  --led-off: #3b3027;
  --led-on: #ff4f2a;
  --led-green: #61f28a;
  --lcd-bezel: #08080a;
  --lcd-bg: radial-gradient(120% 140% at 30% 0%, #2a1d08 0%, #170f04 60%, #120c03 100%);
  --lcd-flat: #1a1206;
  --lcd-ink: #ffb84d;
  --lcd-dim: rgba(255, 184, 77, 0.16);
  --lcd-glow: 0 0 6px rgba(255, 160, 50, 0.65), 0 0 18px rgba(255, 140, 30, 0.25);
  --pad-bezel: #0f1012;
  --pad-rubber: #3a3c41;
  --pad-rubber-2: #2b2d31;
  --pad-side: #17181b;
  --pad-ink: #d9d5cc;
  --knob-skirt: #1f2023;
  --knob-cap-1: #8b8e94;
  --knob-cap-2: #3b3d42;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75), 0 10px 20px -10px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 6px 16px -8px rgba(0, 0, 0, 0.7);
  --noise-opacity: 0.55;
}

/* ---------- Tema claro ---------- */
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #d8d2c6;
  --bg-glow: #ebe6dc;
  --panel: #ebe6dc;
  --panel-2: #e1dbcf;
  --panel-edge: #9e9586;
  --panel-hi: rgba(255, 255, 255, 0.75);
  --ink: #1f1e1b;
  --ink-dim: #57534b;
  --engrave: #6b665c;
  --line: rgba(30, 25, 15, 0.13);
  --card: #f5f2eb;
  --card-2: #ece7dd;
  --accent: #d9580a;
  --accent-2: #b94a06;
  --accent-ink: #fff7f0;
  --led-off: #b9b0a2;
  --led-on: #e8361a;
  --led-green: #1fa64a;
  --lcd-bezel: #2b2b2a;
  --lcd-bg: linear-gradient(170deg, #b9c5a6 0%, #a7b591 55%, #9dab87 100%);
  --lcd-flat: #a9b693;
  --lcd-ink: #1c2614;
  --lcd-dim: rgba(28, 38, 20, 0.1);
  --lcd-glow: none;
  --pad-bezel: #a8a092;
  --pad-rubber: #d8d4cb;
  --pad-rubber-2: #c4bfb4;
  --pad-side: #8f887b;
  --pad-ink: #2b2925;
  --knob-skirt: #2a2b2e;
  --knob-cap-1: #d4d6da;
  --knob-cap-2: #7d8086;
  --shadow: 0 30px 60px -24px rgba(60, 45, 20, 0.45), 0 10px 20px -12px rgba(60, 45, 20, 0.35);
  --shadow-sm: 0 6px 14px -8px rgba(60, 45, 20, 0.45);
  --noise-opacity: 0.35;
}

/* Sem JavaScript, segue a preferência do sistema. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #d8d2c6; --bg-glow: #ebe6dc; --panel: #ebe6dc; --panel-2: #e1dbcf; --panel-edge: #9e9586;
    --panel-hi: rgba(255, 255, 255, 0.75); --ink: #1f1e1b; --ink-dim: #57534b; --engrave: #6b665c;
    --line: rgba(30, 25, 15, 0.13); --card: #f5f2eb; --card-2: #ece7dd; --accent: #d9580a; --accent-2: #b94a06;
    --accent-ink: #fff7f0; --led-off: #b9b0a2; --led-on: #e8361a; --led-green: #1fa64a; --lcd-bezel: #2b2b2a;
    --lcd-bg: linear-gradient(170deg, #b9c5a6 0%, #a7b591 55%, #9dab87 100%); --lcd-flat: #a9b693;
    --lcd-ink: #1c2614; --lcd-dim: rgba(28, 38, 20, 0.1); --lcd-glow: none; --pad-bezel: #a8a092;
    --pad-rubber: #d8d4cb; --pad-rubber-2: #c4bfb4; --pad-side: #8f887b; --pad-ink: #2b2925;
    --knob-skirt: #2a2b2e; --knob-cap-1: #d4d6da; --knob-cap-2: #7d8086;
    --shadow: 0 30px 60px -24px rgba(60, 45, 20, 0.45), 0 10px 20px -12px rgba(60, 45, 20, 0.35);
    --shadow-sm: 0 6px 14px -8px rgba(60, 45, 20, 0.45); --noise-opacity: 0.35;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(1200px 700px at 50% 0%, var(--bg-glow), var(--bg) 70%) fixed, var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-label); font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
#app { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
#app.is-entering { animation: app-enter 0.28s ease-out; }
@keyframes app-enter { from { opacity: 0; transform: translateY(6px); } }

/* Superfície de painel com textura (pó/pintura) */
.textured { position: relative; isolation: isolate; }
.textured::before,
.machine::before,
.topbar::before,
.panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--noise); opacity: var(--noise-opacity); border-radius: inherit;
  mix-blend-mode: multiply;
}

/* LED genérico */
.led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--led-off);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s, box-shadow 0.2s;
}
.led--on, [aria-current='page'] > .led, [aria-pressed='true'] > .led {
  background: var(--led-on);
  box-shadow: 0 0 6px var(--led-on), 0 0 14px color-mix(in srgb, var(--led-on) 60%, transparent);
}
.led--power { background: var(--led-green); box-shadow: 0 0 6px var(--led-green); }

/* =========================================================
   PÁGINA INICIAL — a máquina
   ========================================================= */
.stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vh, 48px) 16px;
}

.machine {
  --pad-gap: clamp(10px, 1.8vw, 20px);
  position: relative;
  isolation: isolate;
  width: min(1000px, 100%, calc((100svh - 60px) * 1.42));
  min-width: 0;
  padding: clamp(18px, 3.2vw, 40px) clamp(16px, 3.4vw, 44px) clamp(14px, 2.4vw, 26px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--panel-hi), transparent 30%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow:
    inset 0 1px 0 var(--panel-hi),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25),
    0 0 0 1px var(--panel-edge),
    var(--shadow);
}

.screw {
  position: absolute; width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--knob-cap-1), var(--knob-cap-2) 70%);
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.5), 0 1px 1px var(--panel-hi);
}
.screw::after {
  content: ''; position: absolute; left: 2px; right: 2px; top: 50%; height: 2px; margin-top: -1px;
  background: rgba(0, 0, 0, 0.45); transform: rotate(var(--r, 35deg)); border-radius: 1px;
}
.screw--tl { left: 12px; top: 12px; }
.screw--tr { right: 12px; top: 12px; --r: -20deg; }
.screw--bl { left: 12px; bottom: 12px; --r: 70deg; }
.screw--br { right: 12px; bottom: 12px; --r: 10deg; }

.machine__brand {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-label); color: var(--engrave);
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px;
  margin: -4px 8px clamp(12px, 2vw, 20px);
}
.machine__model { font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: 0.08em; }
.machine__model span { color: var(--accent); }
.machine__power { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; }

.machine__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  margin-bottom: clamp(18px, 3vw, 34px);
}

/* ---------- LCD ---------- */
.lcd {
  min-width: 0;
  padding: 9px;
  border-radius: 12px;
  background: var(--lcd-bezel);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 1px 0 var(--panel-hi);
}
.lcd__glass {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  min-height: clamp(116px, 15vw, 150px);
  padding: 10px clamp(12px, 2vw, 20px) 10px;
  border-radius: 6px;
  background: var(--lcd-bg);
  color: var(--lcd-ink);
  font-family: var(--font-lcd);
  text-shadow: var(--lcd-glow);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2px;
}
.lcd__glass::before { /* reflexo do vidro */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 38%);
}
.lcd__glass::after { /* linhas de píxeis */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px);
  opacity: 0.6;
}
.lcd__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: clamp(17px, 2.2vw, 21px); line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.lcd__row--meta { opacity: 0.75; font-size: clamp(15px, 1.9vw, 18px); }
.lcd__name {
  margin: 0; font-weight: 400; line-height: 0.95; text-transform: uppercase;
  /* tamanho ajustado ao comprimento do nome (VT323 ≈ 0,43em por carácter) */
  font-size: clamp(18px, calc(100cqi / (max(var(--chars, 12), 9) * 0.45)), 62px);
  letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: clip;
}
.lcd__msg { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lcd__msg.is-value { color: var(--lcd-ink); }
.lcd__blink { display: inline-block; animation: lcd-blink 1.1s steps(1) infinite; }
@keyframes lcd-blink { 50% { opacity: 0.15; } }
.lcd__meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; flex: none; }
.lcd__meter i {
  width: 5px; height: 100%; background: currentColor; transform-origin: bottom;
  transform: scaleY(var(--v, 0.08)); opacity: 0.9; box-shadow: none;
}
.lcd__meter i:nth-child(n) { transition: transform 0.08s linear; }

/* ---------- Knobs ---------- */
.knobs { display: flex; gap: clamp(14px, 2.6vw, 30px); align-items: flex-start; }
.knob-unit { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.knob {
  --size: clamp(66px, 8.6vw, 92px);
  --rot: 0deg;
  position: relative;
  width: var(--size); height: var(--size);
  margin: 12px;
  border-radius: 50%;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.knob:focus-visible { outline: none; }
.knob:focus-visible .knob__skirt { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--accent), 0 6px 10px rgba(0, 0, 0, 0.5); }
.knob__scale {
  position: absolute; left: -22%; top: -22%; width: 144%; height: 144%; max-width: none;
  overflow: visible; pointer-events: none;
}
.knob__scale path { stroke: var(--engrave); stroke-width: 1.6; stroke-linecap: round; }
.knob__scale path.major { stroke: var(--ink-dim); stroke-width: 2.4; }
.knob__scale text { fill: var(--engrave); font-family: var(--font-label); font-size: 9px; text-anchor: middle; letter-spacing: 0.05em; }
.knob__skirt {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.07) 0 4deg, rgba(0, 0, 0, 0.25) 4deg 8deg),
    radial-gradient(circle at 50% 35%, #3a3c41, var(--knob-skirt) 70%);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5), 0 2px 0 rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(var(--rot));
}
.knob__cap {
  position: absolute; inset: 15%; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0 1px, rgba(0, 0, 0, 0.04) 1px 2px),
    radial-gradient(circle at 38% 28%, var(--knob-cap-1), var(--knob-cap-2) 75%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -2px 3px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.45);
  transform: rotate(var(--rot));
}
.knob__mark {
  position: absolute; left: 50%; top: 5%; width: 4px; height: 34%;
  margin-left: -2px; border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 70%, transparent);
}
.knob.is-turning { cursor: grabbing; }
.knob__label {
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--engrave);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.knob__icons { position: absolute; top: 0; left: -2px; right: -2px; display: flex; justify-content: space-between; pointer-events: none; }
.knob__icon { width: 14px; height: 14px; color: var(--engrave); opacity: 0.55; transition: opacity 0.2s, color 0.2s; }
.knob__icon svg { width: 100%; height: 100%; }
:root[data-theme='dark'] .knob__icon--dark,
:root[data-theme='light'] .knob__icon--light { opacity: 1; color: var(--accent); }
.knob-unit--theme .knob { cursor: pointer; }

/* ---------- Pads ---------- */
.pads {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pad-gap);
}
.pad {
  --channel: clamp(10px, 1.3vw, 14px);
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  background: var(--pad-bezel);
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.6), 0 1px 0 var(--panel-hi);
  color: var(--pad-ink);
  text-decoration: none;
  text-align: left;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.pad:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }

/* Fila de LEDs no canal entre a moldura e a borracha */
.pad__leds {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  animation: led-hue 1.6s linear infinite paused;
}
.pad__leds i {
  position: absolute;
  left: calc(var(--channel) / 2 + var(--x) * (100% - var(--channel)));
  top: calc(var(--channel) / 2 + var(--y) * (100% - var(--channel)));
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--led-off) 70%, #000);
}
.pad__leds i::after {
  content: ''; position: absolute; inset: -0.5px; border-radius: 50%;
  background: hsl(var(--h) 100% 64%);
  box-shadow: 0 0 5px 1px hsl(var(--h) 100% 58% / 0.95), 0 0 14px 2px hsl(var(--h) 100% 55% / 0.55);
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.pad.is-lit .pad__leds { animation-play-state: running; }
.pad.is-lit .pad__leds i::after { opacity: 1; transition-duration: 0.05s; }
@keyframes led-hue { to { filter: hue-rotate(360deg); } }

/* Borracha */
.pad__rubber {
  position: absolute; inset: var(--channel);
  border-radius: calc(var(--radius) - 5px);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.10), transparent 55%),
    linear-gradient(180deg, var(--pad-rubber), var(--pad-rubber-2));
  box-shadow:
    0 5px 0 var(--pad-side),
    0 9px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 4px rgba(0, 0, 0, 0.18);
  transform: translateY(-5px);
  transition: transform 0.2s cubic-bezier(0.34, 1.7, 0.55, 1), box-shadow 0.2s ease-out, filter 0.2s;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(8px, 1.2vw, 13px);
  overflow: hidden;
}
.pad__rubber::before { /* textura da borracha */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: var(--noise); opacity: 0.4; mix-blend-mode: multiply;
}
.pad:hover .pad__rubber { filter: brightness(1.06); }
.pad.is-pressed .pad__rubber {
  transform: translateY(0) scale(0.985);
  box-shadow:
    0 0 0 var(--pad-side),
    0 2px 3px rgba(0, 0, 0, 0.45),
    inset 0 2px 7px rgba(0, 0, 0, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  filter: brightness(0.93);
  transition-duration: 0.055s;
  transition-timing-function: ease-out;
}
.pad__num {
  font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; opacity: 0.6;
}
.pad__label {
  grid-row: 3;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  font-size: clamp(11px, 1.35vw, 14px); letter-spacing: 0.1em; line-height: 1.2;
  overflow-wrap: anywhere;
}
.pad__icon { grid-row: 2; align-self: center; justify-self: center; width: clamp(26px, 3.6vw, 38px); height: clamp(26px, 3.6vw, 38px); color: var(--accent); }
.pad__icon svg { width: 100%; height: 100%; }
.pad__icon .i-pause, .pad--play[aria-pressed='true'] .pad__icon .i-play { display: none; }
.pad--play[aria-pressed='true'] .pad__icon .i-pause { display: block; }
.pad__status {
  position: absolute; right: clamp(8px, 1.2vw, 13px); top: clamp(9px, 1.3vw, 14px);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--led-off); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s, box-shadow 0.2s;
}
.pad--play[aria-pressed='true'] .pad__status {
  background: var(--led-green);
  box-shadow: 0 0 6px var(--led-green), 0 0 14px color-mix(in srgb, var(--led-green) 60%, transparent);
}

.machine__foot {
  display: flex; align-items: center; gap: 16px;
  margin-top: clamp(14px, 2.4vw, 24px);
  font-family: var(--font-label); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--engrave);
}
.machine__hint { text-align: center; flex: none; max-width: 100%; }
.grille {
  flex: 1; height: 14px; min-width: 20px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.55) 1.6px, transparent 2px) 0 0 / 8px 7px;
  opacity: 0.7;
}

/* ---------- Máquina em ecrãs estreitos ---------- */
@media (max-width: 760px) {
  .machine__top { grid-template-columns: minmax(0, 1fr); }
  .knobs { justify-content: space-around; }
  .knob { --size: 64px; }
}
@media (max-width: 560px) {
  .stage { padding: 12px 10px 20px; align-items: start; }
  .machine { width: 100%; padding: 22px 14px 14px; }
  .pads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pad { aspect-ratio: 16 / 10; }
  .machine__brand { margin: -6px 10px 12px; gap: 8px; }
  .machine__tag { display: none; }
  .machine__foot .grille { display: none; }
  .machine__hint { flex: 1; font-size: 9.5px; }
  .knobs { gap: 4px; }
  .knob { --size: 58px; margin: 12px 10px; }
}

/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 30;
  isolation: isolate;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: 0 1px 0 var(--panel-edge), 0 8px 20px -14px rgba(0, 0, 0, 0.6), inset 0 1px 0 var(--panel-hi);
}
.topbar__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 10px var(--gutter);
}
.topbar__home { text-decoration: none; flex: 0 0 auto; min-width: 0; max-width: 40%; border-radius: 10px; }
.mini-lcd {
  display: flex; flex-direction: column; gap: 1px;
  padding: 6px 12px 6px; min-width: 0; max-width: 300px;
  background: var(--lcd-bg); color: var(--lcd-ink); text-shadow: var(--lcd-glow);
  font-family: var(--font-lcd); text-transform: uppercase; line-height: 1;
  border-radius: 7px;
  box-shadow: 0 0 0 4px var(--lcd-bezel), inset 0 1px 4px rgba(0, 0, 0, 0.35);
  margin: 4px;
}
.mini-lcd__sub { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; opacity: 0.8; letter-spacing: 0.08em; }
.mini-lcd__sub svg { width: 12px; height: 12px; }
.mini-lcd__name { font-size: 24px; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__home:hover .mini-lcd__sub { opacity: 1; }

.topnav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.topnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* Botões tipo tecla de borracha */
.mini-pad, .btn, .topnav__toggle, .transport, .pager__btn, .filter-btn {
  --key: var(--pad-rubber);
  --key-2: var(--pad-rubber-2);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px;
  border: 0; border-radius: 9px;
  background: linear-gradient(180deg, var(--key), var(--key-2));
  color: var(--pad-ink);
  font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2;
  box-shadow: 0 3px 0 var(--pad-side), 0 5px 9px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  transition: transform 0.15s cubic-bezier(0.34, 1.6, 0.55, 1), box-shadow 0.15s, filter 0.15s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mini-pad:hover, .btn:hover, .topnav__toggle:hover, .transport:hover, .pager__btn:hover, .filter-btn:hover { filter: brightness(1.07); }
.mini-pad:active, .btn:active, .topnav__toggle:active, .transport:active, .pager__btn:active, .filter-btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 var(--pad-side), 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 2px 5px rgba(0, 0, 0, 0.3);
  transition-duration: 0.05s;
}
.mini-pad__num { opacity: 0.55; font-size: 11px; }
.mini-pad[aria-current='page'] { color: var(--ink); filter: brightness(1.08); }
.btn--accent { --key: var(--accent); --key-2: color-mix(in srgb, var(--accent) 80%, #000); color: var(--accent-ink); box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 50%, #000), 0 5px 9px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn svg, .topnav__toggle svg, .pager__btn svg { width: 16px; height: 16px; flex: none; }
.btn--lg { font-size: 14px; padding: 13px 18px 13px 16px; border-radius: 11px; }

.topnav .topnav__toggle { display: none; }
@media (max-width: 1400px) and (min-width: 1121px) {
  .topnav__list { gap: 6px; }
  .topnav__list .mini-pad { padding: 8px 10px 8px 9px; gap: 7px; }
  .mini-pad__num { display: none; }
}
.topbar__controls { display: flex; align-items: center; gap: 12px; flex: none; }
.transport { padding: 9px 12px; gap: 9px; }
.transport__icon { width: 16px; height: 16px; display: block; color: var(--accent); }
.transport__icon svg { width: 100%; height: 100%; }
.transport .i-pause, .transport[aria-pressed='true'] .i-play { display: none; }
.transport[aria-pressed='true'] .i-pause { display: block; }
.transport[aria-pressed='true'] > .led {
  background: var(--led-green);
  box-shadow: 0 0 6px var(--led-green), 0 0 14px color-mix(in srgb, var(--led-green) 60%, transparent);
}

.theme-switch {
  position: relative; display: inline-flex; align-items: center;
  width: 62px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 999px;
}
.theme-switch__track {
  position: absolute; inset: 0; border-radius: 999px; background: var(--pad-bezel);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.55), 0 1px 0 var(--panel-hi);
}
.theme-switch__thumb {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 38% 30%, var(--knob-cap-1), var(--knob-cap-2) 80%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.55, 1);
}
.theme-switch[aria-checked='true'] .theme-switch__thumb { transform: translateX(30px); }
.theme-switch__icons { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 9px; color: var(--engrave); z-index: 1; }
.theme-switch__icons svg { width: 13px; height: 13px; }

@media (max-width: 1120px) {
  .topnav { flex: 0 0 auto; margin-left: auto; }
  .topnav .topnav__toggle { display: inline-flex; }
  .topnav.is-open .topnav__toggle { filter: brightness(1.12); }
  /* Lista de secções abre como painel por baixo da barra */
  .topnav__list {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px;
    padding: 14px var(--gutter) 18px;
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    box-shadow: 0 1px 0 var(--panel-edge), 0 18px 30px -18px rgba(0, 0, 0, 0.7);
  }
  .topnav.is-open .topnav__list { display: grid; }
  .topnav__list .mini-pad { width: 100%; padding: 13px 12px; }
}
@media (max-width: 560px) {
  .topbar__inner { gap: 8px; padding: 8px 12px; }
  .topbar__home { flex: 1 1 auto; max-width: none; }
  .topnav { margin-left: 0; }
  .mini-lcd { max-width: none; padding: 5px 8px; }
  .mini-lcd__name { font-size: 18px; letter-spacing: 0.02em; }
  .transport { padding: 9px 10px; gap: 7px; }
  .topnav__toggle span { display: none; }
  .topnav__toggle { padding: 9px 10px; }
  .topbar__controls { gap: 8px; }
  .theme-switch { width: 56px; height: 30px; }
  .theme-switch__thumb { width: 24px; height: 24px; }
  .theme-switch[aria-checked='true'] .theme-switch__thumb { transform: translateX(26px); }
  .topnav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Estrutura da página ---------- */
.page {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) var(--gutter) 32px;
}
.page__head { margin-bottom: clamp(20px, 3.5vw, 36px); }
.page__index {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 8px;
  font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--engrave);
}
.page__title {
  margin: 0; font-family: var(--font-lcd); font-weight: 400; text-transform: uppercase;
  font-size: clamp(48px, 9vw, 96px); line-height: 0.9; letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.page__title:focus { outline: none; }
.page__lead { max-width: 62ch; margin: 14px 0 0; color: var(--ink-dim); font-size: 18px; }

.panel {
  position: relative; isolation: isolate;
  padding: clamp(16px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: inset 0 1px 0 var(--panel-hi), 0 0 0 1px var(--panel-edge), var(--shadow);
}
.panel + .panel { margin-top: 24px; }

.eyebrow {
  font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--engrave);
}
.lcd-badge {
  display: inline-block; padding: 3px 8px 2px; border-radius: 5px;
  background: var(--lcd-bg); color: var(--lcd-ink); text-shadow: var(--lcd-glow);
  font-family: var(--font-lcd); font-size: 20px; line-height: 1; letter-spacing: 0.06em;
  box-shadow: 0 0 0 3px var(--lcd-bezel);
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim);
}
.chip .led { width: 7px; height: 7px; background: var(--chip, var(--accent)); box-shadow: 0 0 6px var(--chip, var(--accent)); }
.chip--musica { --chip: var(--type-musica); }
.chip--video { --chip: var(--type-video); }
.chip--fotografia { --chip: var(--type-fotografia); }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  overflow: hidden;
  min-width: 0;
}
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 650; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.card__text { margin: 0; color: var(--ink-dim); font-size: 16px; }
.card__media { position: relative; background: var(--card-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px;
  font-family: var(--font-label); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
}
.text-link svg { width: 14px; height: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.empty {
  padding: 40px 20px; text-align: center; color: var(--ink-dim);
  font-family: var(--font-label); letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px;
}

/* ---------- Sobre mim ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 52px); align-items: start; }
.about__photo { margin: 0; position: sticky; top: 100px; }
.about__frame {
  padding: 10px; border-radius: var(--radius); background: var(--lcd-bezel);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7), var(--shadow-sm);
}
.about__frame img { width: 100%; height: auto; border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; }
.about__role { margin: 0 0 18px; }
.about__bio { font-size: 18px; line-height: 1.7; max-width: 64ch; }
.about__bio p { margin: 0 0 1.1em; }
.about__bio p:first-child::first-letter { font-family: var(--font-lcd); font-size: 3.1em; float: left; line-height: 0.8; margin: 0.08em 0.1em 0 0; color: var(--accent); }

/* ---------- Música ---------- */
.releases { display: grid; gap: 22px; }
.release { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 0; }
.release .card__media { aspect-ratio: 1; }
.release__player { margin-top: 6px; }
.embed { width: 100%; border: 0; border-radius: 12px; background: var(--card-2); }
.embed--video { aspect-ratio: 16 / 9; height: auto; }
.embed-ph {
  display: grid; place-items: center; gap: 6px; text-align: center;
  min-height: 92px; padding: 16px; border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, var(--line) 10px 11px),
    var(--card-2);
  border: 1px dashed color-mix(in srgb, var(--ink-dim) 45%, transparent);
  color: var(--ink-dim);
  font-family: var(--font-label); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.embed-ph strong { color: var(--ink); font-weight: 600; }
.embed-ph__wave { display: flex; gap: 3px; align-items: center; height: 20px; }
.embed-ph__wave i { width: 3px; border-radius: 2px; background: var(--accent); opacity: 0.7; }

/* ---------- Vídeos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.lite {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  background: var(--card-2) center / cover no-repeat; cursor: pointer; overflow: hidden;
}
.lite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lite::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45)); }
.lite__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, var(--accent-2), var(--accent) 70%);
  color: var(--accent-ink);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 50%, #000), 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s cubic-bezier(0.34, 1.6, 0.55, 1);
}
.lite__play svg { width: 30px; height: 30px; margin-left: 4px; }
.lite:hover .lite__play { transform: scale(1.06); }
.lite:active .lite__play { transform: translateY(3px); }
.lite__badge { position: absolute; left: 12px; top: 12px; z-index: 2; }
.lite--ph { cursor: default; display: grid; place-items: center; }
.lite--ph::after { display: none; }
.lite--ph .embed-ph { position: absolute; inset: 0; border-radius: 0; align-content: center; }
.lite--ph .lite__play { position: static; margin: 0 0 6px; width: 54px; height: 54px; opacity: 0.85; }
.lite--ph .lite__play svg { width: 24px; height: 24px; }

/* ---------- Portefólio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-btn[aria-pressed='true'] { color: var(--ink); filter: brightness(1.1); }
.filter-btn .led { width: 7px; height: 7px; }
.filter-btn[aria-pressed='true'] .led { background: var(--chip, var(--led-on)); box-shadow: 0 0 6px var(--chip, var(--led-on)); }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.work .card__media { aspect-ratio: 3 / 2; }
.work[hidden] { display: none; }

/* ---------- Prémios ---------- */
.awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.award {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius); background: var(--card);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
}
.award__year { justify-self: start; }
.award__name { margin: 0; font-size: 19px; font-weight: 650; line-height: 1.3; }
.award__info { margin: 4px 0 0; color: var(--ink-dim); font-size: 15.5px; }
.award__info em { font-style: normal; color: var(--ink); }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 12px; }
.gallery__item { margin: 0; }
.gallery__btn {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in;
  background: var(--card-2); box-shadow: 0 0 0 1px var(--line);
  aspect-ratio: 1;
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease, filter 0.35s; }
.gallery__btn:hover img { transform: scale(1.04); filter: brightness(1.05); }
.gallery__caption { margin-top: 6px; font-size: 14px; color: var(--ink-dim); line-height: 1.4; }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 8, 10, 0.94); color: #eee;
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.lightbox__count { --lcd-bg: radial-gradient(120% 140% at 30% 0%, #2a1d08 0%, #170f04 60%, #120c03 100%); --lcd-ink: #ffb84d; --lcd-glow: 0 0 6px rgba(255, 160, 50, 0.65); --lcd-bezel: #000; }
.lightbox__stage { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; user-select: none; }
.lightbox__img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: calc(100% - 128px); max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); transition: transform 0.2s ease, opacity 0.2s ease; }
.lightbox__caption { margin: 0; padding: 12px 16px 20px; text-align: center; font-size: 15px; color: #cfcac0; min-height: 1.6em; }
.lightbox__nav, .lightbox__close {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }
.lightbox__nav { position: absolute; top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
@media (max-width: 640px) {
  .lightbox__img { max-width: calc(100% - 16px); }
  .lightbox__nav { top: auto; bottom: 8px; margin: 0; background: rgba(0, 0, 0, 0.55); }
}

/* ---------- Contactos ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.contact__intro { margin: 0 0 22px; font-size: 18px; color: var(--ink-dim); max-width: 52ch; }
.contact__email {
  display: block; margin: 0 0 18px; padding: 16px 18px; border-radius: 12px;
  background: var(--lcd-bg); color: var(--lcd-ink); text-shadow: var(--lcd-glow);
  box-shadow: 0 0 0 6px var(--lcd-bezel);
  font-family: var(--font-lcd); font-size: clamp(26px, 4.4vw, 42px); line-height: 1; letter-spacing: 0.02em;
  overflow-wrap: anywhere; text-decoration: none;
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.socials .btn { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 13px; }
.socials .btn > span { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Navegação entre secções ---------- */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.pager__btn { padding: 12px 16px; gap: 12px; min-width: 0; }
.pager__btn span { display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pager__btn small { font-size: 10px; opacity: 0.6; letter-spacing: 0.14em; }
.pager__btn--prev { justify-self: start; }
.pager__btn--next { justify-self: end; text-align: right; }
.pager__btn--next span { align-items: flex-end; }
.pager__btn--home { justify-self: center; }

.site-foot {
  max-width: 1240px; width: 100%; margin: 0 auto; padding: 22px var(--gutter) 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px;
  font-family: var(--font-label); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--engrave);
  border-top: 1px solid var(--line);
}
.site-foot__links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--accent); }

/* ---------- Responsivo das páginas ---------- */
@media (max-width: 860px) {
  .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .about__photo { position: static; max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .release { grid-template-columns: minmax(0, 1fr); }
  .release .card__media { aspect-ratio: 16 / 10; }
  .award { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__btn--home { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: center; }
  .pager__btn--prev, .pager__btn--next { justify-self: stretch; }
  .pager__btn--next { justify-content: flex-end; }
}

/* =========================================================
   Movimento reduzido: os LEDs continuam a acender,
   mas sem ciclo de cores nem deslocação dos pads.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #app.is-entering { animation: none; }
  .lcd__blink { animation: none; }
  .lcd__meter { visibility: hidden; }
  .pad__leds { animation: none !important; }
  .pad__leds i::after { background: var(--accent); box-shadow: 0 0 5px 1px var(--accent), 0 0 12px 2px color-mix(in srgb, var(--accent) 50%, transparent); transition-duration: 0.25s; }
  .pad__rubber, .pad.is-pressed .pad__rubber { transform: translateY(-5px); transition: filter 0.1s; }
  .pad.is-pressed .pad__rubber { box-shadow: 0 5px 0 var(--pad-side), 0 9px 14px rgba(0, 0, 0, 0.45), inset 0 0 0 2px var(--accent); }
  .mini-pad, .btn, .topnav__toggle, .transport, .pager__btn, .filter-btn,
  .mini-pad:active, .btn:active, .topnav__toggle:active, .transport:active, .pager__btn:active, .filter-btn:active { transform: none; transition: none; }
  .theme-switch__thumb, .lite__play, .gallery__btn img, .lightbox__img { transition: none; }
  .gallery__btn:hover img, .lite:hover .lite__play { transform: none; }
}
