/* ============================================================
   LuddyTeach Retrospective — infographic-poster design system
   Flat bands · hard black borders · no radius · no shadows
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: #9BBFCC; }
body {
  font-family: 'Archivo', sans-serif;
  color: #111111;
  -webkit-font-smoothing: antialiased;
}

a { color: #111111; text-decoration: none; }
a:hover { color: #F58220; }

.display { font-family: 'Archivo Black', sans-serif; }

/* ---- Page shell ---- */
.page { min-height: 100vh; background: #FFFFFF; color: #111111; }

/* ---- Bands ---- */
.band { padding: 56px 24px; border-top: 2px solid #111111; }
.band--first { border-top: 6px solid #111111; }   /* first band below a hero */
.band--white { background: #FFFFFF; }
.band--black { background: #111111; color: #FFFFFF; }
.band--orange { background: #F58220; }
.band--blue { background: #9BBFCC; }
.wrap { max-width: 960px; margin: 0 auto; }
.wrap--narrow { max-width: 760px; }
.wrap--wide { max-width: 1040px; }

/* ---- Hero ---- */
.hero {
  background: #9BBFCC;
  padding: 64px 24px 56px;
  text-align: center;
}
.hero--chapter { padding: 48px 24px 44px; }
.eyebrow {
  font-weight: 700; font-size: 14px; letter-spacing: 0.32em; color: #111111;
}
.hero-title {
  margin: 18px 0 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(56px, 9vw, 110px);
  line-height: 0.95; letter-spacing: 0.01em;
  text-transform: uppercase; color: #111111;
}
.hero-tag {
  display: inline-block; margin-top: 20px;
  background: #111111; color: #FFFFFF;
  font-weight: 700; font-size: 16px; letter-spacing: 0.08em;
  padding: 8px 20px;
}
.chapter-num {
  margin-top: 26px;
  font-family: 'Archivo Black', sans-serif; font-size: 20px;
  color: #F58220; -webkit-text-stroke: 1px #111111;
}
.chapter-title {
  margin: 10px 0 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98; text-transform: uppercase; color: #111111;
}
.chapter-intro {
  max-width: 640px; margin: 20px auto 0;
  font-size: 17px; line-height: 1.7; font-weight: 500;
}

/* ---- Type helpers ---- */
.section-head {
  font-family: 'Archivo Black', sans-serif; font-size: 26px; line-height: 1.5;
}
.hl { box-shadow: inset 0 -10px 0 #F58220; }        /* highlighter underline */
.hl--blue { box-shadow: inset 0 -10px 0 #9BBFCC; }
.hl--white { box-shadow: inset 0 -12px 0 #FFFFFF; }
.prose {
  max-width: 680px; margin: 0 auto;
  font-size: 17px; line-height: 1.75; font-weight: 600;
}
.note {
  max-width: 640px; margin: 44px auto 0; text-align: center;
  font-size: 16px; line-height: 1.75; font-weight: 500;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-family: 'Archivo Black', sans-serif;
  font-size: 18px; background: #111111; color: #FFFFFF;
  padding: 14px 28px; transition: background .15s, color .15s;
}
.btn:hover { background: #F58220; color: #111111; }
.back-btn {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.2em;
  background: #111111; color: #FFFFFF; padding: 6px 14px;
  transition: background .15s, color .15s;
}
.back-btn:hover { background: #F58220; color: #111111; }
.next-band { background: #FFFFFF; padding: 36px 24px; text-align: center; border-top: 2px solid #111111; }

/* ---- Legends ---- */
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.legend-swatch { width: 14px; height: 14px; border: 2px solid #111111; }
.legend-swatch--round { border-radius: 50%; }

/* ---- Footer ---- */
.footer { background: #111111; color: #FFFFFF; padding: 32px 24px; }
.footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer--ruled .wrap {
  border-top: 1px solid rgba(255,255,255,0.25); padding-top: 24px;
}
.footer-name { font-size: 15px; font-weight: 600; }
.footer-name a { color: #F58220; }
.footer-name span { color: #FFFFFF; }
.footer-credit { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.6); }

/* ============================================================
   Chart hover primitives (inline styles can't do :hover)
   ============================================================ */
.chapter-band { display: block; padding: 48px 24px; border-top: 2px solid #111111; transition: filter .2s; }
.chapter-band:hover { filter: brightness(1.05); }

.waffle-cell { aspect-ratio: 1; border: 2px solid #111111; transition: transform .15s; }
.waffle-cell:hover { transform: scale(1.25); }

.col-seg:hover { filter: brightness(1.15); }

.dot { transition: transform .15s; }
.dot:hover { transform: translate(-50%, -50%) scale(1.7); z-index: 5; }

.heat-cell { aspect-ratio: 1; }
.heat-cell:hover { outline: 2px solid #FFFFFF; }

.dl-link { display: block; border: 2px solid #F58220; padding: 16px 20px; width: 260px; color: #FFFFFF; transition: background .15s, color .15s; }
.dl-link:hover { background: #F58220; color: #111111; }
.dl-link:hover .dl-desc { opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .band { padding: 44px 18px; }
  .footer .wrap { justify-content: center; text-align: center; }
}
