:root {
  --ink: #1c2430;
  --muted: #5b6775;
  --board: #f7f4ec;
  --board-line: rgba(28, 36, 48, 0.08);
  --frame: #14181f;
  --aqua: #00b5b8;
  --marker-blue: #1d4f91;
  --marker-green: #1f7a4c;
  --marker-orange: #c45c12;
  --marker-purple: #6b3fa0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top,
      rgba(0, 181, 184, 0.14),
      transparent 40%
    ),
    linear-gradient(180deg, #222831 0%, #12151a 100%);
}

.back-link {
  display: inline-block;
  margin: 1.1rem 1.25rem 0;
  color: #9fe7e9;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.back-link:hover {
  color: #ffffff;
}

.workshop {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0.5rem 1.1rem 3.5rem;
}

.workshop-header {
  text-align: center;
  margin-bottom: 1.25rem;
  color: #e8eef5;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #9aa7b5;
}

.workshop-header h1 {
  margin: 0.35rem 0 0.15rem;
  font-family: "Caveat", cursive;
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  font-weight: 700;
  color: #f4f7fb;
  line-height: 0.95;
}

.board-month-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 0.2rem;
}

.board-month {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  color: #9fe7e9;
}

.edition-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #9aa7b5;
  font-size: 0.82rem;
}

.edition-picker select {
  appearance: none;
  border: 1px solid rgba(159, 231, 233, 0.45);
  background: rgba(18, 21, 26, 0.75);
  color: #e8eef5;
  border-radius: 0.4rem;
  padding: 0.3rem 0.65rem;
  font: inherit;
}

.archive-badge {
  border: 1px solid rgba(196, 92, 18, 0.55);
  color: #ffd2a8;
  background: rgba(196, 92, 18, 0.12);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tagline {
  max-width: 42rem;
  margin: 0.55rem auto 0;
  color: #c2ccd8;
  font-size: 1.02rem;
  line-height: 1.45;
}

.board-frame {
  position: relative;
  padding: 0.85rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #1a1f27, #0e1116);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.board-pinstripe {
  position: absolute;
  inset: 0.42rem;
  border: 1px solid rgba(0, 181, 184, 0.55);
  border-radius: 0.9rem;
  pointer-events: none;
}

.board-surface {
  position: relative;
  padding: 1.35rem 1.25rem 1.1rem;
  border-radius: 0.75rem;
  min-height: 42rem;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(0, 0, 0, 0.035),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 70%,
      rgba(196, 92, 18, 0.05),
      transparent 30%
    ),
    linear-gradient(180deg, #fbf8f0 0%, var(--board) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.board-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--board-line) 1px, transparent 1px);
  background-size: 100% 2rem;
  opacity: 0.35;
  pointer-events: none;
}

.mission-line {
  position: relative;
  margin: 0 0 1.25rem;
  font-family: "Caveat", cursive;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.25;
  max-width: 46rem;
}

.board-grid,
.board-columns,
.coverage-metrics,
.sticky-row {
  position: relative;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.board-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.board-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.board-columns {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.lab-board {
  /* Horizontal science-lab wall board proportions on wide screens. */
  aspect-ratio: auto;
}

.board-panel {
  padding: 0.85rem 0.95rem;
  border: 1px dashed rgba(28, 36, 48, 0.18);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.28);
}

.board-panel h2,
.coverage-panel h2,
.sticky h2 {
  margin: 0 0 0.55rem;
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.marker-blue { color: var(--marker-blue); }
.marker-green { color: var(--marker-green); }
.marker-orange { color: var(--marker-orange); }
.marker-purple { color: var(--marker-purple); }

.big {
  margin: 0.15rem 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.meta,
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.meta {
  margin: 0.2rem 0;
}

.bar {
  height: 0.7rem;
  margin: 0.55rem 0;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.1);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--aqua), #1d4f91);
}

.metric,
.cost {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
  font-size: 0.92rem;
}

.metric:last-child,
.cost:last-child {
  border-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li {
  margin: 0.4rem 0;
  line-height: 1.35;
}

.coverage-panel {
  position: relative;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 2px solid rgba(196, 92, 18, 0.28);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.4);
}

.coverage-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.coverage-intro {
  margin: 0 0 0.75rem;
}

.coverage-updated {
  margin: 0;
  font-size: 0.78rem;
}

.coverage-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 0.65rem;
}

.coverage-chip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.4rem;
  background: rgba(247, 244, 236, 0.9);
  border: 1px solid rgba(28, 36, 48, 0.1);
}

.coverage-chip-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--marker-orange);
}

.coverage-chip-value {
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.coverage-bar {
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.12);
  overflow: hidden;
}

.coverage-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #c45c12, var(--aqua));
}

.coverage-notes {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.sticky-row {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sticky {
  position: relative;
  padding: 1rem 1rem 1.15rem;
  border-radius: 0.15rem;
  box-shadow:
    0 10px 18px rgba(28, 36, 48, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: rotate(-1.1deg);
}

.sticky:nth-child(2) {
  transform: rotate(1.4deg);
}

.sticky h2 {
  color: inherit;
}

.sticky p {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  line-height: 1.25;
}

.sticky-yellow {
  background: #ffe56a;
  color: #4a3b00;
}

.sticky-pink {
  background: #ffb4c8;
  color: #5a1730;
}

.why-panel {
  margin-bottom: 0.25rem;
}

.why-panel p {
  margin: 0 0 0.7rem;
  line-height: 1.5;
}

.studley-scene {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  margin-top: 0.35rem;
  margin-left: auto;
  max-width: 17rem;
  opacity: 0.95;
}

.studley-lab-art {
  width: min(100%, 15.5rem);
  height: auto;
  border-radius: 0.55rem;
  border: 2px solid rgba(0, 181, 184, 0.35);
  box-shadow: 0 10px 22px rgba(28, 36, 48, 0.18);
  background: #111;
}

.studley-caption {
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  color: var(--muted);
  text-align: right;
}

.marker-tray {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  margin-top: 0.65rem;
  padding: 0.45rem 0.7rem 0.35rem;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, #2a313c, #171b22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.marker {
  width: 0.55rem;
  height: 2rem;
  border-radius: 0.2rem 0.2rem 0.1rem 0.1rem;
}

.marker-blue-cap { background: var(--marker-blue); }
.marker-green-cap { background: var(--marker-green); }
.marker-orange-cap { background: var(--marker-orange); }
.marker-purple-cap { background: var(--marker-purple); }

.eraser {
  width: 2.4rem;
  height: 0.85rem;
  margin-left: auto;
  border-radius: 0.2rem;
  background: #d7dde5;
}

@media (max-width: 1100px) {
  .board-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .workshop {
    padding: 0.25rem 0.75rem 2.5rem;
  }

  .board-frame {
    padding: 0.55rem;
  }

  .board-surface {
    padding: 1rem 0.85rem;
    min-height: 0;
  }

  .board-grid,
  .board-grid-wide,
  .board-columns {
    grid-template-columns: 1fr;
  }

  .studley-scene {
    align-items: center;
    max-width: none;
  }

  .studley-caption {
    text-align: center;
  }

  .sticky,
  .sticky:nth-child(2) {
    transform: none;
  }
}
