.ppt-section {
  color: #241f2b;
  color-scheme: light;
  background: linear-gradient(152deg, #f2eff3 10%, #e8e4ee 60%, #e6e0e9);
  overflow: clip;
}
.ppt-wrap { padding-block: var(--section-space); }
.ppt-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3.1rem, 7vw, 7.5rem);
}
.ppt-header h2 {
  color: #26202c;
  font: 550 clamp(2.85rem, 5.2vw, 5.7rem)/1.04 "Avenir Next", var(--sans);
  letter-spacing: -.079em;
  white-space: nowrap;
}
.ppt-header h2 em { font: italic 400 1.03em/1 var(--serif); letter-spacing: -.072em; }
.ppt-header p { max-width: 33ch; color: #514956; font-size: clamp(.94rem, 1.3vw, 1.12rem); line-height: 1.55; }
.ppt-show {
  position: relative;
  aspect-ratio: 2.22;
  isolation: isolate;
  container-type: inline-size;
  overflow: visible;
  margin: 0;
}
.ppt-show::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  inset: -7% -6% -2%;
  background: radial-gradient(ellipse at 69% 50%, #b6acc547, transparent 58%),
              radial-gradient(ellipse at 31% 74%, #b8aabe55, transparent 43%);
}
.ppt-projection {
  position: absolute;
  isolation: isolate;
  left: 48%;
  right: 1.8%;
  top: 3%;
  aspect-ratio: 16/9;
  background: #b4aebc;
  box-shadow: 0 1.1rem 1.8rem -.66rem #54436042, 0 2px 6px #584d6266;
}
.ppt-projection::before, .ppt-projection::after {
  content: "";
  position: absolute;
  z-index: 3;
  border-radius: 2px;
}
.ppt-projection::before {
  inset: -.72cqw -.5cqw auto;
  height: .78cqw;
  background: linear-gradient(#ecebec 2%, #857f8b 12%, #d3d0d5 26%, #e2dfe3 43%, #a5a1ac 69%, #716e78 94%);
  box-shadow: 0 2px 3px #1d152535;
}
.ppt-projection::after {
  inset: auto -.12cqw -.23cqw;
  height: .31cqw;
  background: linear-gradient(#928b99, #39343e 75%, #ada7b0);
}
.ppt-picture { position: absolute; inset: 0; overflow: hidden; }
.ppt-slide {
  position: absolute;
  inset: 0;
  padding: 5.4% 6.4%;
  overflow: hidden;
  transition: opacity .4s ease;
}
.ppt-opening {
  color: #fff;
  background: linear-gradient(90deg, #17111996, #19121d06 75%), url("powerpoint-workshop.webp") center/cover, #322d35;
}
.ppt-masthead { font-size: clamp(.63rem, 1.02cqw, 1rem); font-weight: 580; letter-spacing: -.027em; }
.ppt-cover-title, .ppt-pilot-title { position: absolute; left: 6.3%; top: 39%; }
.ppt-slide strong { display: block; font: 400 4.7cqw/.96 var(--serif); letter-spacing: -.072em; }
.ppt-cover-title > span, .ppt-pilot-title > span { display: block; font-size: max(.66rem, 1.15cqw); margin-top: .7cqw; letter-spacing: -.027em; }
.ppt-page { position: absolute; right: 5.7%; bottom: 6.5%; font: 500 max(.53rem, .72cqw)/1 ui-monospace, monospace; letter-spacing: .04em; }
.ppt-pilot {
  color: #2b2231;
  background: #e2d9e4;
  background-image: linear-gradient(110deg,#f3eff2 2%,#e2d9e5 80%);
}
.ppt-pilot::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 27%;
  background: url("powerpoint-workshop.webp") 88% 40% / auto 130%;
}
.ppt-pilot-title { top: 29%; }
.ppt-pilot .ppt-page { color: white; }
.ppt-weeks {
  position:absolute; left:6.4%; right:33%; bottom:14%;
  border-top: 1px solid #96899d;
  display: grid; grid-template-columns:repeat(4, 1fr);
}
.ppt-weeks span { position: relative; padding-top: .65cqw; font-size: max(.55rem, .8cqw); font-weight: 540; }
.ppt-weeks span::before { position: absolute; left: 0; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: #5b4867; content:""; }
[data-slide="1"] .ppt-pilot { opacity: 0; }
[data-slide="2"] .ppt-pilot { opacity: 1; }
/* Device image: Mobile FIRST, MacBook Pro M1 16-inch (2021).
   https://www.webmobilefirst.com/mockups/apple-macbook-pro-16-2021/
   Composed with Wingman under https://www.webmobilefirst.com/license-agreement/ §9. */
.ppt-mac {
  position: absolute;
  z-index: 1;
  width: 54.7%;
  left: 0;
  bottom: 0;
  aspect-ratio: 800 / 489;
}
.ppt-mac img { position: absolute; width: 100%; height: 100%; inset: 0; z-index: 1; }
.ppt-mac::before {
  content: "";
  position: absolute;
  left: 2%; right: 2%; bottom: -.9%; height: 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #44394d59 0%, #58485f3d 39%, #58485f05 69%, transparent 76%);
}
.ppt-lcd {
  position: absolute;
  /* The native 1160 × 720 capture fits inside the measured display opening
     of the 1600 × 978 poster at (148, 53), without cropping or stretching. */
  left: 9.25%;
  width: 81.5%;
  top: 5.419223%;
  aspect-ratio: 1160 / 720;
  z-index: 2;
  background-image: url("powerpoint-ui-macbook-pro.webp");
  background-size: 400% 300%;
  background-repeat: no-repeat;
  background-position: 66.6666667% 100%;
  background-color: #151615;
}
.ppt-lcd:lang(en) {
  background-image: url("en/powerpoint-ui-macbook-pro.webp");
  background-position: 33.3333333% 100%;
}
.ppt-bubble-position {
  position: absolute;
  z-index: 2;
  top: -2.3%;
  left: 3.6%;
  width: 39%;
}
.ppt-bubble {
  position: relative;
  width: fit-content;
  min-width: 2.75rem;
  padding: .64em .96em .72em;
  margin: 0;
  border-radius: 1.22em 1.22em 1.22em .22em;
  background: #fff;
  color: #32293c;
  box-shadow: 0 .34rem .95rem -.32rem #513c632d, inset 0 0 0 1px #ffffff;
  font: 490 clamp(1.06rem, 1.63cqw, 1.52rem)/1.32 var(--sans);
  letter-spacing: -.035em;
}
.ppt-bubble::after {
  content: "";
  position: absolute;
  width: .65em;
  height: .63em;
  bottom: -.4em;
  left: 0;
  background: white;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.ppt-bubble [data-ppt-speech] { overflow-wrap: break-word; }
.ppt-bubble .ppt-word { display: inline; }
.ppt-bubble .ppt-word:last-child { animation: ppt-new-word .19s ease both; }
.ppt-bubble [data-ppt-speech]:empty::after { content: '···'; color: #766783; letter-spacing: .065em; }
@keyframes ppt-new-word { from { opacity: .1; } to { opacity: 1; } }
.ppt-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .ppt-header { align-items: start; flex-direction: column; gap: .75rem; }
  .ppt-header p { max-width: 55ch; }
  .ppt-mac { width: 56%; }
  .ppt-show { aspect-ratio: 2; }
}
@media (max-width: 600px) {
  .ppt-header h2 { white-space: normal; font-size: clamp(2.5rem, 10.6vw, 3.65rem); }
  .ppt-header p { font-size: .98rem; }
  .ppt-show {
    display: flex; flex-direction: column; align-items: center; gap: .8rem;
    aspect-ratio: auto;
  }
  .ppt-projection { position: relative; left: auto; right: auto; top: auto; width: 87%; align-self: flex-end; margin-right: 1.6%; }
  .ppt-projection::before { top: -1.25cqw; height: 1.3cqw; }
  .ppt-slide { padding: 4.5% 6%; }
  .ppt-slide strong { font-size: 8cqw; }
  .ppt-cover-title > span, .ppt-pilot-title > span { font-size: clamp(.7rem, 3.1cqw, .87rem); }
  .ppt-masthead { font-size: clamp(.6rem, 2.65cqw, .83rem); }
  .ppt-page { font-size: clamp(.48rem, 2cqw, .7rem); }
  .ppt-weeks span { font-size: max(.5rem, 2.05cqw); padding-top: 1cqw; }
  .ppt-mac { position: relative; left: auto; bottom: auto; width: 103%; margin-inline: -1.5%; order: 3; }
  .ppt-bubble-position { position: relative; left: auto; top: auto; width: 88%; min-height: 4.05rem; align-self: flex-start; margin: .23rem 0 -.45rem 2.3%; z-index: 3; }
  .ppt-bubble { font-size: clamp(.95rem, 4.1cqw, 1.1rem); line-height: 1.35; }
}
