.reveal .callout {
  backdrop-filter: blur(6px);        /* frosts the image behind it */
  -webkit-backdrop-filter: blur(6px);
  border-left: 4px solid #e0b400;    /* accent bar */
  padding: 1em;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.callout footer {
  margin-top: 0.5em;
  font-size: 1em;
}

/* --- live poll results --- */
.poll-row {
  display: flex; align-items: center; gap: 0.6em;
  font-size: 0.6em; margin: 0.35em 0;
}
.poll-label { flex: 0 0 38%; text-align: right; }
.poll-bar {
  flex: 1; height: 1.1em; background: rgba(255,255,255,0.12);
  border-radius: 0.3em; overflow: hidden;
}
.poll-bar-fill {
  display: block; height: 100%; width: 0;
  background: #e0b400; transition: width 0.4s ease;
}
.poll-count { flex: 0 0 18%; opacity: 0.85; }
.poll-total { font-size: 0.5em; opacity: 0.6; margin-top: 0.4em; text-align: center; }

#poll-heartbeat {
  position: fixed; bottom: 0.6em; right: 0.8em; z-index: 40;
  font-size: 12px; font-family: system-ui, sans-serif;
  padding: 2px 8px; border-radius: 10px;
}
#poll-heartbeat.ok { color: #9ae6b4; }
#poll-heartbeat.down { color: #fc8181; }

/* Confirms a Shift+Y/N/B branch override. Sits above the heartbeat, fades after
   a couple of seconds. Presenter-facing — dim enough not to draw the room's eye. */
#branch-badge {
  position: fixed; bottom: 2em; right: 0.8em; z-index: 40;
  font-size: 12px; font-family: system-ui, sans-serif;
  padding: 2px 8px; border-radius: 10px;
  background: rgba(0,0,0,0.55); color: #e0b400;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
#branch-badge.show { opacity: 1; }

/* Both are position:fixed, so Chrome lifts them out of flow and gives them a
   page of their own in the PDF export — a blank page containing just "● live".
   Hide them for both the on-screen ?print-pdf view and the actual print. */
html.print-pdf #poll-heartbeat,
html.reveal-print #poll-heartbeat,
html.print-pdf #branch-badge,
html.reveal-print #branch-badge {
  display: none !important;
}

@media print {
  #poll-heartbeat, #branch-badge { display: none !important; }
}

.reveal .fragment.strike.visible {
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: #e74c3c;
  opacity: 0.55;
}

.reveal .done {
  opacity: 0.4
}

img#learning-js {
  max-width: 68%;
  padding: 14px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(-1.5deg);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.55),
    0 22px 60px rgba(0, 0, 0, 0.8);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;

}

/* --- slide 12: YWeb + Maydm, rotated outward, overlapping at the middle.
   The fragment lives on the wrapper (reveal's fade-down owns `transform` there);
   the rotate lives on the img so the two don't fight. --- */
.reveal .door-orgs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal .door-orgs img {
  width: 100%;
  height: auto;
  padding: 10px;
  background: #fff;
  border-radius: 2px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.55),
    0 22px 60px rgba(0, 0, 0, 0.8);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.reveal .door-orgs .org-left,
.reveal .door-orgs .org-right {
  flex: 0 0 52%;
}

.reveal .door-orgs .org-left {
  margin-right: -4%;
}

.reveal .door-orgs .org-left img {
  transform: rotate(-3deg);
}

.reveal .door-orgs .org-right {
  margin-left: -4%;
  z-index: 2;          /* the one that drops in second sits on top */
}

.reveal .door-orgs .org-right img {
  transform: rotate(3deg);
}

.reveal h5 {
  font-size: 0.8em; 
  text-transform: none;
}

.reveal h4.subtitle {
  margin-bottom: 5em
}

.reveal .lowercase {
  text-transform: none;
}

.reveal .skill-transfer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5em 0.8em;
  align-items: start;
  font-size: 0.7em;
}

.reveal .skill-transfer > *:nth-child(3n + 1) { text-align: right; }
.reveal .skill-transfer > *:nth-child(3n + 3) { text-align: left; }
.reveal .skill-transfer .arrow { opacity: 0.5; }

div#hilary-poll {
  align-items: center;
  display: flex;
  justify-content: space-around;
  width: 100%;
}

div#hilary-poll img {
  height: auto;
  max-width: 30%;
}

div#hilary-poll div.poll-results {
  width: 100%
}