/* WEENIE MUSEUMS — blinkenlights.com campus theme (amber) */
:root {
  --bg: #0b0f0c;
  --panel: #101511;
  --panel2: #141a13;
  --amber: #ffb000;
  --amber-dim: #8a5f00;
  --text: #e8dcb9;
  --muted: #8a7d5a;
  --green: #33ff66;
  --ice: #7fd4ff;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
}

/* CRT scanline overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.20) 0 1px,
    transparent 1px 3px
  );
  z-index: 9999;
}

::selection { background: var(--amber); color: #0b0f0c; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 1.25rem 3rem; }

a { color: var(--amber); }
a:hover { color: #ffd066; }

/* ---------- campus nav ---------- */
.campus-nav {
  border-bottom: 2px solid var(--amber);
  background: #0d120d;
  padding: 0.6rem 1.25rem;
}
.campus-nav .brand {
  color: var(--amber);
  font-weight: bold;
  letter-spacing: 0.15em;
  margin-right: 1.5rem;
  text-decoration: none;
  white-space: nowrap;
}
.campus-nav .links { display: inline; }
.campus-nav .links a {
  color: var(--text);
  text-decoration: none;
  margin-right: 1.1rem;
  white-space: nowrap;
}
.campus-nav .links a:hover { color: var(--amber); text-decoration: underline; }
.campus-nav .links a.here { color: var(--amber); }
.campus-nav .links a.here::before { content: "[ "; }
.campus-nav .links a.here::after { content: " ]"; }

.local-nav {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.local-nav a { margin-right: 1rem; text-decoration: none; }
.local-nav a.here { color: var(--amber); text-decoration: underline; }
.local-nav .prompt { color: var(--amber); }

/* ---------- hero ---------- */
.hero { margin: 2.5rem 0 1rem; text-align: center; }
.hero-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  letter-spacing: 0.12em;
  margin: 0.5rem 0;
}
.ascii-frame {
  color: var(--amber);
  font-size: clamp(8px, 2.2vw, 14px);
  line-height: 1.35;
  margin: 0;
  white-space: pre;
  display: inline-block;
  text-align: left;
}
.tagline {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  color: var(--amber);
}
.subtag { color: var(--muted); margin-top: 0.4rem; }

/* blinking block cursor */
.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.05em;
  background: var(--amber);
  vertical-align: -0.12em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

h1, h2, h3 { color: var(--amber); font-weight: bold; }
h2.section-head { margin-top: 3rem; }
h2.section-head::before { content: "== "; color: var(--amber-dim); }
h2.section-head::after { content: " =="; color: var(--amber-dim); }

.rule {
  border: 0;
  border-top: 1px dashed var(--amber-dim);
  margin: 2.5rem 0;
}

.lede { font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- wing chooser cards ---------- */
.wings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.wing-card {
  display: block;
  border: 1px solid var(--amber);
  background: var(--panel);
  padding: 1.1rem;
  text-decoration: none;
  color: var(--text);
}
.wing-card:hover { background: var(--panel2); }
.wing-card h3 { margin: 0 0 0.5rem; }
.wing-card p { margin: 0.4rem 0; font-size: 0.92rem; }
.wing-card .youarehere {
  display: inline-block;
  background: var(--amber);
  color: #0b0f0c;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.wing-card.unix { border-color: var(--green); }
.wing-card.unix h3 { color: var(--green); }
.wing-card.linux { border-color: var(--ice); }
.wing-card.linux h3 { color: var(--ice); }

/* ---------- bulletin / teaser ---------- */
.bulletin {
  border: 1px solid var(--amber-dim);
  background: var(--panel);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.bulletin h3 { margin-top: 0; }
.bulletin .kicker {
  color: var(--amber);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

/* ---------- exhibits ---------- */
.exhibit {
  border: 1px solid var(--amber-dim);
  background: var(--panel);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.exhibit h3 { margin-top: 0; }
.exhibit h3 .num { color: var(--amber-dim); margin-right: 0.6rem; }
.exhibit figure { margin: 1rem 0; }
.exhibit img.photo {
  display: block;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--amber);
}
.exhibit figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.exhibit figcaption a { color: var(--muted); }

/* blinkenlight LED simulation */
.led-panel {
  background: #050705;
  border: 2px solid var(--amber);
  padding: 1.5rem 1rem;
  margin: 1rem 0;
  text-align: center;
}
.led {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 6px;
  background: #3a2c00;
  animation: ledblink 1.6s infinite;
}
.led.on { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.led.red.on { background: #ff3b30; box-shadow: 0 0 8px #ff3b30; }
.led.grn.on { background: #33ff66; box-shadow: 0 0 8px #33ff66; }
@keyframes ledblink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .led, .cursor { animation: none; }
}

/* ---------- editor war ---------- */
.vote-booth {
  border: 2px solid var(--amber);
  background: var(--panel);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}
.vote-btn {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: bold;
  background: #0b0f0c;
  color: var(--amber);
  border: 2px solid var(--amber);
  padding: 1rem 2.5rem;
  margin: 0.5rem;
  cursor: pointer;
}
.vote-btn:hover { background: var(--amber); color: #0b0f0c; position: relative; z-index: 10000; }
.vote-btn:active { transform: translateY(2px); }
.verdict {
  border: 1px dashed var(--amber);
  background: #0d120d;
  padding: 1.25rem;
  margin-top: 1.25rem;
  text-align: left;
}
.verdict h3 { margin-top: 0; }
.tribute {
  border-left: 3px solid var(--amber-dim);
  padding-left: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-style: italic;
}
.tally {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.tally strong { color: var(--amber); }
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--amber);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- shop ---------- */
.honest-note {
  border: 2px solid var(--amber);
  background: #171106;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.honest-note strong { color: var(--amber); }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.product {
  border: 1px solid var(--amber-dim);
  background: var(--panel);
  padding: 1rem;
  text-align: center;
}
.product h3 { margin: 0.75rem 0 0.25rem; font-size: 1rem; }
.product p { font-size: 0.85rem; color: var(--muted); margin: 0.25rem 0 0.75rem; }
.product .mock {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080b08;
  border: 1px solid #2a332a;
  padding: 1rem;
  position: relative;
}
.product .mock-label {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 0.65rem;
  color: #55604f;
  letter-spacing: 0.08em;
}
.soon-btn {
  font-family: var(--mono);
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--muted);
  padding: 0.5rem 1rem;
  cursor: not-allowed;
  font-size: 0.85rem;
}

/* CSS-drawn product mockups */
.mock-tee {
  width: 104px; height: 118px;
  background: #1d3b2a;
  border: 2px solid #0b0f0c;
  outline: 1px solid var(--muted);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.mock-tee::before, .mock-tee::after {
  content: ""; position: absolute; top: 10px;
  width: 30px; height: 40px;
  background: #1d3b2a;
  outline: 1px solid var(--muted);
}
.mock-tee::before { left: -28px; transform: rotate(20deg); }
.mock-tee::after { right: -28px; transform: rotate(-20deg); }
.mock-tee.blue { background: #17324a; }
.mock-tee.blue::before, .mock-tee.blue::after { background: #17324a; }
.mock-tee .tee-text {
  color: var(--green);
  font-weight: bold;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.3;
  z-index: 1;
}
.mock-tee.blue .tee-text { color: var(--ice); }
.mock-tee .tee-text.amber { color: var(--amber); }

.mock-sticker {
  background: #e8dcb9;
  color: #0b0f0c;
  font-weight: bold;
  font-size: 1.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}

.mock-mug {
  width: 90px; height: 100px;
  background: #e8dcb9;
  border-radius: 0 0 12px 12px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.mock-mug::after {
  content: ""; position: absolute;
  right: -26px; top: 18px;
  width: 34px; height: 52px;
  border: 12px solid #e8dcb9;
  border-left: 0;
  border-radius: 0 20px 20px 0;
}
.mock-mug .mug-text {
  color: #0b0f0c; font-size: 0.6rem; font-weight: bold;
  text-align: center; line-height: 1.4; padding: 0 6px;
}

.mock-poster {
  width: 110px; height: 150px;
  background: #101511;
  border: 6px solid #5a4a20;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.mock-poster .poster-text {
  color: var(--amber); font-size: 0.62rem; font-weight: bold;
  text-align: center; line-height: 1.5;
}
.mock-poster.tall { height: 165px; }

.mock-panel-poster {
  width: 150px; height: 110px;
  background: #0a0d0a;
  border: 4px solid #3a3a3a;
  position: relative;
}
.mock-panel-poster .leds {
  position: absolute; inset: 10px 10px 40px 10px;
  background-image: radial-gradient(circle, var(--amber) 3px, transparent 4px);
  background-size: 16px 16px;
  opacity: 0.9;
}
.mock-panel-poster .switches {
  position: absolute; left: 10px; right: 10px; bottom: 12px; height: 16px;
  background-image: repeating-linear-gradient(90deg, #888 0 4px, transparent 4px 14px);
}

/* plush penguin (Tux, concept) */
.mock-plush { position: relative; width: 110px; height: 140px; }
.plush-body {
  position: absolute; inset: 0;
  background: #1a1a1a;
  border-radius: 50% 50% 48% 48%;
  border: 2px solid #000;
}
.plush-belly {
  position: absolute; left: 22px; right: 22px; top: 52px; bottom: 12px;
  background: #e8e2d2;
  border-radius: 50%;
}
.plush-eye {
  position: absolute; top: 30px;
  width: 14px; height: 18px; background: #fff; border-radius: 50%;
}
.plush-eye::after {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 6px; height: 8px; background: #000; border-radius: 50%;
}
.plush-eye.left { left: 32px; } .plush-eye.right { right: 32px; }
.plush-beak {
  position: absolute; left: 47px; top: 52px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #f5a623;
}
.plush-foot {
  position: absolute; bottom: -6px;
  width: 26px; height: 12px; background: #f5a623; border-radius: 50%;
}
.plush-foot.left { left: 22px; } .plush-foot.right { right: 22px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--amber-dim);
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
footer .parody { color: var(--amber); margin-top: 0.5rem; }

/* ---------- about plaque ---------- */
.plaque {
  border: 3px double var(--amber);
  background: #0d120d;
  padding: 1.5rem 2rem;
  margin: 2rem auto;
  max-width: 36rem;
  text-align: center;
  color: var(--amber);
}
.plaque p { margin: 0.9rem 0; }
.plaque-title {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.3em;
  margin-top: 0;
}
