/* === Dad Joke Studio Public — Retro Sunday Comics === */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:wght@400;700&display=swap');

:root {
  --paper: #fdf6e3;
  --paper-dark: #f5e6c8;
  --ink: #2c2c2c;
  --red: #d94f4f;
  --blue: #4a7fb5;
  --yellow: #f2c94c;
  --green: #5ba55b;
  --orange: #e8913a;
  --purple: #8b5fbf;
  --panel-border: 3px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
}

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

body {
  font-family: 'Comic Neue', cursive, sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  /* subtle halftone texture */
  background-image: radial-gradient(circle, #e0d5c0 1px, transparent 1px);
  background-size: 16px 16px;
}

/* --- Header / Masthead --- */
.masthead {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-bottom: 4px solid var(--ink);
  background: var(--yellow);
  background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 8px 8px;
}

.masthead .site-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.masthead .masthead-text {
  display: flex;
  flex-direction: column;
}

.masthead h1 {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 3px;
  color: var(--red);
  text-shadow: 3px 3px 0 var(--ink), -1px -1px 0 var(--ink);
  -webkit-text-stroke: 1px var(--ink);
}

.masthead .tagline {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.25rem;
  color: var(--ink);
  font-style: italic;
}

/* --- Navigation --- */
nav {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 3px solid var(--ink);
  background: var(--paper-dark);
  flex-wrap: wrap;
}

nav a {
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  letter-spacing: 1px;
  padding: 0.75rem 1.5rem;
  color: var(--ink);
  text-decoration: none;
  border-right: 2px solid var(--ink);
  transition: background 0.15s;
}

nav a:last-child { border-right: none; }
nav a:hover, nav a.active {
  background: var(--yellow);
}

/* --- Main Content --- */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* --- Section Headers --- */
.section-header {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  color: var(--blue);
  text-shadow: 2px 2px 0 var(--paper-dark);
  border-bottom: 3px dashed var(--ink);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* --- Comic Panel --- */
.comic-feature {
  border: var(--panel-border);
  box-shadow: var(--shadow);
  background: #fff;
  margin-bottom: 2rem;
  overflow: hidden;
}

.comic-feature img {
  width: 100%;
  display: block;
}

.comic-feature .comic-info {
  padding: 1rem 1.25rem;
  border-top: 3px solid var(--ink);
  background: var(--paper);
}

.comic-feature .comic-info h2 {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  color: var(--red);
}

.comic-feature .comic-info .issue-meta {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

/* --- Archive Grid --- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.archive-card {
  border: var(--panel-border);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
  transition: transform 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.archive-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.archive-card img {
  width: 100%;
  display: block;
  border-bottom: 2px solid var(--ink);
}

.archive-card .card-info {
  padding: 0.75rem 1rem;
}

.archive-card .card-info h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.1rem;
  color: var(--blue);
}

.archive-card .card-info p {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.2rem;
}

/* --- Pipeline Board --- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.pipeline-col {
  border: var(--panel-border);
  background: #fff;
  box-shadow: var(--shadow);
}

.pipeline-col h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.1rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--ink);
  text-align: center;
}

.pipeline-col h3.scouting { background: var(--blue); color: #fff; }
.pipeline-col h3.writing { background: var(--green); color: #fff; }
.pipeline-col h3.casting { background: var(--purple); color: #fff; }
.pipeline-col h3.visual { background: var(--orange); color: #fff; }
.pipeline-col h3.production { background: var(--red); color: #fff; }

.pipeline-item {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px dashed #ccc;
  font-size: 0.85rem;
}

.pipeline-item:last-child { border-bottom: none; }

.pipeline-item .joke-id {
  font-weight: 700;
  color: var(--blue);
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  border: var(--panel-border);
  box-shadow: var(--shadow);
  background: #fff;
  text-align: center;
  padding: 1.25rem 1rem;
}

.team-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ink);
  margin-bottom: 0.75rem;
}

.team-card h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  color: var(--red);
}

.team-card .role {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* --- Shorts / Video Grid --- */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .shorts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .shorts-grid { grid-template-columns: 1fr; }
}

.short-card {
  border: var(--panel-border);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
}

.short-card .video-wrap {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 vertical shorts */
  height: 0;
  overflow: hidden;
}

.short-card .video-wrap iframe,
.short-card .video-wrap .video-fallback {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.short-card .video-wrap .video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.short-card .video-wrap .fallback-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.72);
  color: #fff;
  font-weight: 700;
  padding: .45rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
}

.short-card .short-info {
  padding: 0.75rem 1rem;
  border-top: 2px solid var(--ink);
}

.short-card .short-info h3 {
  font-family: 'Bangers', cursive;
  font-size: 1rem;
  color: var(--ink);
}

/* --- Placeholder / Empty State --- */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border: 3px dashed #ccc;
  background: #fff;
  margin: 1rem 0;
}

.empty-state h2 {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  color: var(--blue);
}

.empty-state p {
  margin-top: 0.5rem;
  color: #888;
  font-size: 1rem;
}

/* --- Pager --- */
.pager {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 2rem 0 1rem;
  flex-wrap: wrap;
}

.pager-btn {
  font-family: 'Bangers', cursive;
  font-size: 1rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.pager-btn:hover { background: var(--paper-dark); }
.pager-btn.active { background: var(--yellow); }

/* --- Short Date --- */
.short-date {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.2rem;
}

/* --- Speech Bubble (for fun accents) --- */
.speech-bubble {
  position: relative;
  background: #fff;
  border: var(--panel-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-style: italic;
  max-width: 500px;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 40px;
  border-width: 16px 12px 0;
  border-style: solid;
  border-color: var(--ink) transparent transparent transparent;
}

.speech-bubble-wrap {
  max-width: 500px;
  margin: 1rem 0;
}

.speech-bubble-speaker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-left: 0.25rem;
}

.speech-bubble-speaker img {
  width: 144px;
  min-width: 144px;
  height: 144px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--ink);
  flex-shrink: 0;
}

.speech-bubble-speaker span {
  font-family: 'Bangers', cursive;
  font-size: 1.1rem;
  color: var(--ink);
}

.speech-bubble-speaker span small {
  font-family: 'Comic Neue', cursive;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 3px solid var(--ink);
  background: var(--paper-dark);
  font-size: 0.85rem;
  color: #666;
}

/* --- Team Smack (Slack-like UI) --- */
.smack-disclaimer {
  font-style: italic;
  color: #888;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Window chrome */
.smack-window {
  border: var(--panel-border);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.smack-titlebar {
  display: flex;
  align-items: center;
  background: #1a1a2e;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
}

.smack-titlebar-left {
  display: flex;
  gap: 6px;
  min-width: 54px;
}

.smack-window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.smack-window-dot.red { background: #ff5f57; }
.smack-window-dot.yellow { background: #febc2e; }
.smack-window-dot.green { background: #28c840; }

.smack-titlebar-center {
  flex: 1;
  text-align: center;
}

.smack-titlebar-logo {
  height: 22px;
  width: auto;
  vertical-align: middle;
}

.smack-titlebar-right {
  min-width: 54px;
}

.smack-container {
  display: flex;
  background: #fff;
  min-height: 520px;
  overflow: hidden;
}

/* Sidebar */
.smack-sidebar {
  width: 220px;
  min-width: 220px;
  background: #3F0E40;
  color: #e8d5e8;
  display: flex;
  flex-direction: column;
}

.smack-workspace {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.smack-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.smack-workspace-name {
  font-family: 'Comic Neue', cursive;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
}

.smack-channels {
  padding: 0.75rem 0;
}

.smack-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 1rem 0.4rem;
  color: rgba(255,255,255,0.5);
}

.smack-channel {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #c9b4ca;
  font-family: 'Comic Neue', cursive;
  font-size: 0.95rem;
  padding: 0.3rem 1rem;
  cursor: pointer;
  transition: background 0.1s;
}

.smack-channel:hover {
  background: rgba(255,255,255,0.08);
}

.smack-channel.active {
  background: #1264A3;
  color: #fff;
  font-weight: 700;
}

.smack-hash {
  opacity: 0.7;
  margin-right: 0.15rem;
}

/* Chat area */
.smack-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.smack-chat-header {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.smack-chat-channel {
  font-family: 'Comic Neue', cursive;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.smack-chat-topic {
  font-size: 0.85rem;
  color: #888;
}

/* Messages */
.smack-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.smack-msg {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  transition: background 0.1s;
}

.smack-msg:hover {
  background: #f8f8f8;
}

.smack-msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.smack-msg-body {
  flex: 1;
  min-width: 0;
}

.smack-msg-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.smack-msg-user {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.smack-msg-time {
  font-size: 0.75rem;
  color: #999;
}

.smack-msg-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  word-wrap: break-word;
}

/* Responsive */
@media (max-width: 700px) {
  .smack-container {
    flex-direction: column;
    min-height: auto;
  }
  .smack-sidebar {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .smack-workspace {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.12);
    padding: 0.6rem 1rem;
  }
  .smack-channels {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
  }
  .smack-section-label { display: none; }
  .smack-channel {
    padding: 0.6rem 1rem;
    white-space: nowrap;
  }
  .smack-messages {
    max-height: 500px;
  }
}

/* --- Studio Article System --- */
.article-banner {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  letter-spacing: 2px;
  border-bottom: 3px solid var(--ink);
}

.article-section {
  max-width: 860px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.article-header {
  font-family: 'Bangers', cursive;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 2px;
  color: var(--red);
  text-shadow: 3px 3px 0 var(--ink);
  -webkit-text-stroke: 1px var(--ink);
  text-align: center;
  margin-bottom: 0.25rem;
}

.article-subheader {
  text-align: center;
  font-weight: 700;
  font-style: italic;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.article-subhead {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--blue);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px dashed #ccc;
}

.article-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.yt-embed-wrap {
  margin: 0 auto 2.5rem;
  max-width: 360px;
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.yt-embed-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9/16;
  border: none;
}

.yt-caption {
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: #888;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.roast-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .roast-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.roast-card {
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.roast-card.villain {
  border-color: var(--red);
  box-shadow: 5px 5px 0 var(--red);
}

.roast-card .blame-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--red);
  color: #fff;
  font-family: 'Bangers', cursive;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  transform: rotate(3deg);
  z-index: 2;
}

.roast-card .card-photo-wrap {
  background: var(--paper-dark);
  border-bottom: 3px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.roast-card .card-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ink);
  flex-shrink: 0;
  box-shadow: 3px 3px 0 var(--ink);
}

.roast-card .card-name {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1.1;
}

.roast-card .card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.roast-card .card-body {
  padding: 1.1rem 1.25rem;
}

.roast-card .offense-label {
  font-family: 'Bangers', cursive;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.roast-card .roast-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
}

.roast-card .verdict {
  margin-top: 0.85rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  font-style: italic;
}

.jerry-special {
  border: 4px solid var(--red);
  box-shadow: 8px 8px 0 var(--red);
  grid-column: 1 / -1;
}

.jerry-special .card-photo-wrap {
  background: #ffe5e5;
  border-bottom: 3px solid var(--red);
}

.jerry-special .card-name {
  font-size: 2rem;
}

.jerry-special .card-body {
  padding: 1.25rem 1.5rem;
}

.jerry-verdict-box {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 1rem;
  font-style: italic;
}

.article-footer {
  border-top: 3px solid var(--ink);
  margin-top: 1rem;
  padding-top: 1.5rem;
  text-align: center;
}

.article-footer p {
  font-style: italic;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Article flavor: Roast (red — post-mortems, blame) --- */
.article-banner.flavor-roast { background: var(--red); }
.flavor-roast .article-header { color: var(--red); }

/* --- Article flavor: Dispatch (blue — production recaps) --- */
.article-banner.flavor-dispatch { background: var(--blue); }
.flavor-dispatch .article-header { color: var(--blue); text-shadow: 2px 2px 0 var(--ink); }

/* --- Article flavor: Drama (purple — interpersonal tensions, deep dives) --- */
.article-banner.flavor-drama { background: var(--purple); }
.flavor-drama .article-header { color: var(--purple); text-shadow: 2px 2px 0 var(--ink); }

/* --- Article flavor: Bulletin (orange — breaking news, short incidents, oddities) --- */
.article-banner.flavor-bulletin { background: var(--orange); }
.flavor-bulletin .article-header { color: var(--orange); text-shadow: 2px 2px 0 var(--ink); }

/* Blockquote styling for Smack quotes in articles */
.article-section blockquote {
  border-left: 4px solid var(--blue);
  margin: 1rem 0;
  padding: 0.6rem 1rem;
  background: #fff;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-section blockquote .quote-attr {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.3rem;
}

/* Pipeline section (studio page) */
.pipeline-section {
  max-width: 860px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

/* Studio archive list */
.studio-archive-section {
  max-width: 860px;
  margin: 0 auto 2rem;
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--ink);
}

.studio-archive-list-item {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #ccc;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  transition: background 0.1s;
}

.studio-archive-list-item:hover {
  background: var(--paper-dark);
  padding-left: 0.5rem;
}

.studio-archive-list-item .archive-date {
  color: #888;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

.studio-archive-list-item .archive-title {
  font-weight: 700;
  color: var(--blue);
}

/* Article viewer (standalone minimal page) */
.article-viewer {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.article-back-link {
  display: inline-block;
  font-family: 'Bangers', cursive;
  font-size: 1.1rem;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.8rem;
  border: 2px solid var(--blue);
  border-radius: 3px;
  transition: background 0.15s;
}

.article-back-link:hover {
  background: var(--paper-dark);
}

/* Smack "Show Previous Messages" */
.smack-show-previous {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.6rem 1rem;
  background: var(--paper-dark);
  border: none;
  border-bottom: 1px solid #ddd;
  font-family: 'Comic Neue', cursive;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
  cursor: pointer;
  transition: background 0.15s;
}

.smack-show-previous:hover {
  background: var(--yellow);
}

.smack-run-divider {
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #999;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  margin: 0.25rem 0;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  nav a { font-size: 1rem; padding: 0.6rem 1rem; }
  .pipeline { grid-template-columns: 1fr; }
}
