/* ============================================================
   HARDWARE STUDIO RACK — musicaelettronica.net launchpad
   Pure CSS hardware: walnut cheeks, brushed metal console,
   rack screws, status LEDs. No external assets, no frameworks.
   ============================================================ */

/* ---------- 01 · Design tokens ---------- */
:root {
  --rack-bg: #0b0d10;
  --rack-bg-alt: #12151a;
  --wood-dark: #2a1810;
  --wood-mid: #5a3520;
  --wood-light: #7a4a2a;
  --amber: #ff9f38;
  --red: #ff5a26;
  --gold: #ffb347;
  --cyan: #4dd0e1;
  --tech-grey: #8a8f98;
  --led-green: #3dff8a;

  --print: #e9edf2;
  --print-dim: #b3bac3;
  --line: rgba(255, 255, 255, 0.08);
  --font-title: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 5px;
}

/* ---------- 02 · Base / reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #050607;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--print);
  font-family: var(--font-body);
  background:
    radial-gradient(120% 70% at 50% -10%, #1a2028 0%, #0c0f13 48%, #050607 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  max-width: 100%;
}

/* ---------- 03 · Rack frame + walnut cheeks ---------- */
.rack {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1480px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  isolation: isolate;
  box-shadow:
    0 0 0 1px #000,
    0 40px 120px rgba(0, 0, 0, 0.78);
}

.rack__cheek {
  position: relative;
  z-index: 3;
  flex: 0 0 clamp(14px, 3.1vw, 44px);
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 16%, rgba(255, 196, 140, 0.16) 46%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.82) 100%),
    repeating-linear-gradient(3deg, rgba(16, 7, 3, 0.55) 0 2px, rgba(122, 74, 42, 0.16) 2px 4px, rgba(0, 0, 0, 0) 4px 7px, rgba(16, 7, 3, 0.42) 7px 9px, rgba(0, 0, 0, 0) 9px 14px),
    repeating-linear-gradient(88deg, var(--wood-dark) 0px, #382112 7px, var(--wood-mid) 13px, #432817 18px, var(--wood-dark) 24px),
    var(--wood-dark);
  box-shadow:
    inset 0 0 38px rgba(0, 0, 0, 0.92),
    inset 2px 0 2px rgba(255, 186, 124, 0.14),
    inset -2px 0 3px rgba(0, 0, 0, 0.85);
}

.rack__cheek--left {
  border-radius: 12px 0 0 12px;
  border-right: 2px solid #040506;
}

.rack__cheek--right {
  border-radius: 0 12px 12px 0;
  border-left: 2px solid #040506;
}

.rack__cheek::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(ellipse 120% 8% at 50% 12%, rgba(255, 208, 152, 0.16), transparent 70%),
    radial-gradient(ellipse 130% 10% at 42% 42%, rgba(10, 4, 1, 0.55), transparent 72%),
    radial-gradient(ellipse 120% 7% at 58% 71%, rgba(255, 208, 152, 0.12), transparent 70%),
    radial-gradient(ellipse 130% 9% at 50% 91%, rgba(10, 4, 1, 0.5), transparent 70%);
}

.rack__cheek::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    repeating-linear-gradient(179deg, transparent 0 8px, rgba(0, 0, 0, 0.24) 8px 9px, transparent 9px 16px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.25));
}

/* ---------- 04 · Brushed metal console ---------- */
.rack__console {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  background:
    radial-gradient(120% 55% at 50% -8%, rgba(120, 150, 190, 0.16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, rgba(0, 0, 0, 0.035) 1px 2px, transparent 2px 4px),
    linear-gradient(180deg, #15181e 0%, #0f1216 42%, var(--rack-bg) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    inset 0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 -30px 70px rgba(0, 0, 0, 0.45);
}

.rack__console::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(80% 50% at 50% 0%, rgba(170, 200, 240, 0.055), transparent 60%);
}

.rack__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(14px, 2.6vw, 32px) clamp(12px, 2.6vw, 30px) clamp(18px, 3vw, 34px);
}

/* ---------- 05 · Rack screws ---------- */
.screw {
  position: absolute;
  z-index: 4;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 36% 30%, #f2f4f7 0 7%, #aab0b8 22%, #666d76 50%, #2d3238 76%, #12151a 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 0 8px rgba(0, 0, 0, 0.5);
}

.screw::before,
.screw::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  background: #16191d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.screw::before {
  width: 9px;
  height: 1.6px;
  transform: translate(-50%, -50%);
}

.screw::after {
  width: 1.6px;
  height: 9px;
  transform: translate(-50%, -50%);
}

.screw--tl { top: 9px; left: 9px; }
.screw--tr { top: 9px; right: 9px; }
.screw--bl { bottom: 9px; left: 9px; }
.screw--br { bottom: 9px; right: 9px; }

/* ---------- 06 · Master top rack unit ---------- */
.rack-unit {
  position: relative;
  border: 1px solid var(--line);
  border-top-color: rgba(255, 255, 255, 0.16);
  border-bottom-color: #000;
  border-radius: 4px;
}

.rack-unit--header {
  padding: clamp(30px, 4.4vw, 52px) clamp(20px, 4vw, 44px) clamp(24px, 3.4vw, 38px);
  margin-bottom: clamp(16px, 2.6vw, 26px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #161a20 0%, #0d1014 65%, #090b0e 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.8);
}

.header__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto clamp(14px, 2vw, 20px);
  padding: 7px 14px;
  border: 1px solid rgba(255, 179, 71, 0.5);
  border-radius: 3px;
  color: #ffd08a;
  font-family: var(--font-title);
  font-size: clamp(0.56rem, 2.4vw, 0.7rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 159, 56, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 159, 56, 0.16), rgba(255, 159, 56, 0.03) 70%),
    #080a0c;
  box-shadow:
    0 0 16px rgba(255, 159, 56, 0.16),
    0 0 34px rgba(255, 159, 56, 0.06),
    inset 0 0 14px rgba(255, 159, 56, 0.08),
    inset 0 1px 0 rgba(255, 210, 150, 0.22);
}

.header__title {
  margin: 0;
  overflow-wrap: anywhere;
  color: #f2f5f9;
  font-family: var(--font-title);
  font-size: clamp(1.08rem, 4.7vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: clamp(0.06em, 0.55vw, 0.17em);
  text-shadow:
    0 0 26px rgba(150, 190, 255, 0.18),
    0 1px 0 #000,
    0 0 2px rgba(255, 255, 255, 0.25);
}

.header__subtitle {
  margin: clamp(10px, 1.6vw, 14px) 0 0;
  color: var(--print-dim);
  font-size: clamp(0.72rem, 2.8vw, 0.95rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.header__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  margin: clamp(16px, 2.4vw, 24px) auto 0;
  padding: 8px 16px;
  border: 1px solid rgba(61, 255, 138, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(61, 255, 138, 0.05);
}

.header__status-text {
  color: #b7c2cc;
  font-family: var(--font-title);
  font-size: clamp(0.58rem, 2.3vw, 0.72rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-align: center;
}

.led {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--led-green);
  box-shadow:
    0 0 6px var(--led-green),
    0 0 14px rgba(61, 255, 138, 0.6),
    inset 0 0 2px rgba(255, 255, 255, 0.9);
  animation: led-pulse 2.6s ease-in-out infinite;
}

.led--green {
  background: var(--led-green);
}

@keyframes led-pulse {
  0%,
  100% {
    opacity: 0.55;
    box-shadow:
      0 0 4px rgba(61, 255, 138, 0.7),
      0 0 8px rgba(61, 255, 138, 0.35),
      inset 0 0 2px rgba(255, 255, 255, 0.8);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 7px var(--led-green),
      0 0 18px rgba(61, 255, 138, 0.75),
      inset 0 0 2px rgba(255, 255, 255, 0.95);
  }
}

/* ---------- 07 · Vent strip + instrument grid ---------- */
.instruments {
  min-width: 0;
}

.rack-vent {
  width: min(190px, 46%);
  height: 12px;
  margin: 0 auto clamp(16px, 2.4vw, 24px);
  border-radius: 6px;
  opacity: 0.85;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0 5px, rgba(255, 255, 255, 0.035) 5px 6px, transparent 6px 11px);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.04);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(14px, 2vw, 22px);
}



/* ---------- 08 · Rack modules ---------- */
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top-color: rgba(255, 255, 255, 0.18);
  border-bottom-color: #000;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, rgba(0, 0, 0, 0.028) 1px 2px, transparent 2px 4px),
    linear-gradient(180deg, #15191f 0%, #0e1115 58%, #0a0c0f 100%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(0, 0, 0, 0.9);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 2px;
  pointer-events: none;
  opacity: 0.75;
  background: linear-gradient(90deg, transparent, var(--accent) 18%, var(--accent-2) 82%, transparent);
}

.module-card--minid {
  --accent: var(--amber);
  --accent-2: #ffc36e;
  --accent-rgb: 255, 159, 56;
}

.module-card--rlnd09 {
  --accent: var(--red);
  --accent-2: var(--gold);
  --accent-rgb: 255, 90, 38;
}

.module-card--wave24 {
  --accent: var(--gold);
  --accent-2: var(--cyan);
  --accent-rgb: 255, 179, 71;
}

.module-card__hit {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  padding: clamp(24px, 2.4vw, 30px) clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 22px);
  border-radius: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.module-card__hit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.module-card__hit:focus-visible .module-card__launch {
  box-shadow:
    0 4px 0 #050607,
    0 0 0 2px rgba(var(--accent-rgb), 0.35),
    0 0 22px rgba(var(--accent-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 12px rgba(var(--accent-rgb), 0.16);
}

@media (hover: hover) {
  .module-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--accent-rgb), 0.5);
    box-shadow:
      0 22px 42px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(var(--accent-rgb), 0.12),
      0 0 26px rgba(var(--accent-rgb), 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  .module-card:hover .module-card__title {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(var(--accent-rgb), 0.35);
  }

  .module-card:hover .module-card__launch {
    box-shadow:
      0 4px 0 #050607,
      0 6px 10px rgba(0, 0, 0, 0.55),
      0 0 24px rgba(var(--accent-rgb), 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 0 12px rgba(var(--accent-rgb), 0.16);
  }
}

/* Metallic identification plate + status LED */
.module-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  margin-bottom: clamp(14px, 1.8vw, 18px);
}

.module-card__badge {
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  color: #171a1e;
  font-family: var(--font-title);
  font-size: clamp(0.48rem, 0.58vw, 0.56rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, #e3e6ea 0%, #b7bdc4 22%, #8f969f 55%, #c3c8ce 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 1px 2px rgba(0, 0, 0, 0.55);
}

.module-card__led {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 6px var(--accent),
    0 0 14px rgba(var(--accent-rgb), 0.6),
    inset 0 0 2px rgba(255, 255, 255, 0.85);
}
.module-card--wave24 .module-card__led {
  box-shadow:
    0 0 6px var(--gold),
    0 0 14px rgba(77, 208, 225, 0.55),
    inset 0 0 2px rgba(255, 255, 255, 0.9);
}



/* Preview window: recessed black screen, dedicated SVG inside */
.module-card__preview {
  display: block;
  margin: 0 0 clamp(16px, 2vw, 20px);
  padding: clamp(5px, 0.7vw, 8px);
  border-radius: 8px;
  background: #060809;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 10px 28px rgba(0, 0, 0, 0.8),
    0 1px 0 rgba(255, 255, 255, 0.05);
}

.preview-svg {
  display: block;
  width: 100%;
  height: auto;
}

.module-card__title {
  margin: 0;
  color: var(--print);
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.module-card__subtitle {
  margin: 6px 0 0;
  color: var(--tech-grey);
  font-family: var(--font-title);
  font-size: clamp(0.56rem, 0.68vw, 0.65rem);
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.module-card__desc {
  margin: clamp(10px, 1.4vw, 14px) 0 0;
  color: #b9c0c9;
  font-size: clamp(0.8rem, 0.9vw, 0.87rem);
  line-height: 1.55;
}

.module-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: clamp(14px, 1.8vw, 18px) 0 clamp(18px, 2vw, 22px);
  padding: 0;
  list-style: none;
}

.module-card__specs li {
  padding: 4px 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 2px;
  color: var(--accent);
  font-family: var(--font-title);
  font-size: clamp(0.5rem, 0.6vw, 0.58rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(var(--accent-rgb), 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Physical backlit launch button */
.module-card__launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 10px 15px;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 3px;
  color: var(--accent);
  font-family: var(--font-title);
  font-size: clamp(0.54rem, 0.66vw, 0.62rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(var(--accent-rgb), 0.6);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.28), rgba(var(--accent-rgb), 0.1) 55%, rgba(0, 0, 0, 0.35)),
    #101317;
  box-shadow:
    0 4px 0 #050607,
    0 6px 10px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(var(--accent-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 12px rgba(var(--accent-rgb), 0.12);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.module-card__hit:active .module-card__launch {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 #050607,
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 0 10px rgba(var(--accent-rgb), 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 16px rgba(var(--accent-rgb), 0.18);
}

/* ---------- 09 · Inline SVG serigraphy ---------- */
.preview-svg text {
  font-family: var(--font-title);
}

.svg-label {
  fill: #949ba4;
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.svg-label--cyan {
  fill: var(--cyan);
}

.svg-value {
  fill: var(--accent, #ff9f38);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.svg-dim {
  fill: #626a73;
  font-size: 5.5px;
  letter-spacing: 0.08em;
}

/* RLND 09 step pads and VU meter */
.pad {
  stroke-width: 1;
}

.pad--on {
  fill: var(--red);
  stroke: #ffb08f;
}

.pad--dim {
  fill: rgba(255, 90, 38, 0.34);
  stroke: rgba(255, 90, 38, 0.62);
}

.pad--off {
  fill: #171214;
  stroke: #372a2d;
}

.step-led { fill: #3a2e31; }
.step-led--on { fill: #ffe1d2; }
.step-led--dim { fill: #ff9a78; }
.step-led--off { fill: #3a2e31; }

.vu { fill: #241a1c; }
.vu--hot { fill: var(--red); }
.vu--warm { fill: #ff8a3d; opacity: 0.8; }
.vu--lit { fill: var(--gold); opacity: 0.65; }
.vu--off { fill: #241a1c; }

/* ---------- 10 · Bottom rack bar / official credit ---------- */
.rack-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.4vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid #000;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #111419, #080a0c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -14px 28px rgba(0, 0, 0, 0.45);
}

.credit {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
}

.credit__label {
  color: #666d76;
  font-family: var(--font-title);
  font-size: clamp(0.56rem, 0.7vw, 0.64rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credit__name {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.credit__name:link,
.credit__name:visited,
.credit__name:hover,
.credit__name:active {
  color: #ffb347;
  text-decoration: none;
}

.credit__name:hover {
  text-shadow: 0 0 10px rgba(255, 179, 71, 0.55);
}

.credit__name:focus-visible {
  color: #ffb347;
  outline: 2px solid #ffb347;
  outline-offset: 3px;
  text-decoration: none;
}

.rack-footer__meta {
  margin: 0;
  color: #59616a;
  font-family: var(--font-title);
  font-size: clamp(0.5rem, 0.62vw, 0.58rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- 11 · Responsive ---------- */
@media (max-width: 1080px) {
  .module-card__hit {
    padding: 22px 16px 18px;
  }

  .module-card__title {
    font-size: 1.45rem;
  }

  .module-card__desc {
    font-size: 0.82rem;
  }

  .module-card__specs li {
    padding: 3px 6px;
    font-size: 0.54rem;
  }

  .module-card__launch {
    padding: 9px 12px;
    font-size: 0.56rem;
  }
}

@media (max-width: 900px) {
  .module-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .module-card__hit {
    padding: 26px 20px 20px;
  }

  .module-card__preview {
    width: 100%;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 18px;
  }

  .module-card__title {
    font-size: 1.6rem;
  }

  .module-card__desc {
    font-size: 0.92rem;
  }

  .module-card__specs li {
    font-size: 0.58rem;
  }

  .module-card__launch {
    padding: 11px 16px;
    font-size: 0.64rem;
  }

  .module-card__badge {
    font-size: 0.58rem;
  }
}

@media (max-width: 600px) {
  .rack__inner {
    padding: 12px 10px 16px;
  }

  .rack-unit--header {
    padding: 26px 16px 22px;
  }

  .header__title {
    font-size: clamp(1.06rem, 4.9vw, 1.6rem);
  }

  .header__badge {
    padding: 6px 10px;
    letter-spacing: 0.1em;
  }

  .header__status {
    gap: 8px;
    padding: 8px 12px;
  }

  .rack-footer {
    justify-content: center;
    text-align: center;
  }

  .module-card__hit {
    padding: 24px 15px 18px;
  }

  .module-card__title {
    font-size: 1.5rem;
  }

  .module-card__desc {
    font-size: 0.89rem;
  }
}

@media (max-width: 480px) {
  .screw {
    width: 12px;
    height: 12px;
  }

  .screw::before {
    width: 8px;
    height: 1.4px;
  }

  .screw::after {
    width: 1.4px;
    height: 8px;
  }

  .screw--tl { top: 7px; left: 7px; }
  .screw--tr { top: 7px; right: 7px; }
  .screw--bl { bottom: 7px; left: 7px; }
  .screw--br { bottom: 7px; right: 7px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .rack__inner {
    padding: 10px 16px 14px;
  }

  .rack-unit--header {
    padding: 18px 16px 16px;
  }

  .header__badge {
    margin-bottom: 10px;
    padding: 5px 10px;
  }

  .header__title {
    font-size: clamp(1.1rem, 3.4vw, 1.7rem);
  }

  .header__subtitle {
    margin-top: 6px;
    font-size: 0.78rem;
  }

  .header__status {
    margin-top: 10px;
    padding: 6px 12px;
  }

  .rack-vent {
    margin-bottom: 12px;
  }

  .module-card__preview {
    max-width: 420px;
  }

  .module-card__hit {
    padding: 22px 18px 18px;
  }

  .module-card__desc {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .led {
    animation: none;
  }

  .module-card,
  .module-card__title,
  .module-card__launch {
    transition: none;
  }
}


